Added missing string.h header to src/m_javaloader.cc
[barry.git] / ChangeLog
blob56ac2c1fa10be26559787c530b8b7bd58bbbed09
1 Release: version 0.15 - 2009/01/??
2 ------------------------------------------------------------------------------
3 2009/01/15
4         - applied Andy Herkey's ipmodem password patch for the Bold
5         - minor fixes to above patch, and in addition to above patch:
6                 - use sizeof(seed), instead of type, in case of future changes
7                 - removed commented out code
8                 - added the null password check back to SendPassword(),
9                   for historical reasons
10                 - removed the null and zero default arguments to
11                   SendPassword(), since they make no sense
12                 - added define for session key size, and added size check
13         - added missing string.h header to src/m_javaloader.cc
14 2009/01/14
15         - applied Nicolas Vivien's bjavaloader patch
16         - small fixups to above patch:
17                 - moved cod.h from installable headers to internal headers
18                 - whitespace edits
19                 - copyright statement tweaks
20                 - added blog URLs to copyright list in cod.h where parts
21                         of the structs appear to come from
22                 - removed unused variables to compile with strict settings
23                 - changed char to unsigned char to fix strict compiler
24                         warnings
25                 - removed duplicated a/b from Socket messages, and moved
26                         read/write text to front, in socket.cc
27                 - added NetDirect copyright notice to bjavaloader.cc, since
28                         it is based on btool.cc
29                 - removed unused boost-specific code from bjavaloader.cc
30         - more fixes to above patch: (bjavaloader.cc specifically)
31                 - moved cod.h back to installable headers, since tools/
32                         programs depend on it... this should be fixed
33                         or put in the library as a COD-reading API
34                         so that applications don't need to worry about
35                         packed files, etc.
36                 - fixed potential buffer overflow: removed buffer read used
37                         to skip ahead in file, and replaced with fseek()
38                 - changed SendAppFile() to report errors by exception
39                         instead of by return value, which wasn't checked
40                         anyway... and C++'d the file handle closing
41                 - removed unused StateTableCommand, leftover from btool
42                 - added check for unlikely case of COD file being larger
43                         than size_t, breaking the fread() assumption
44                         for the type == 0xC0DE case
45                 - added checks for fread() failures
46                 - fixed compiler warnings when comparing signed/unsigned,
47                         and changed file operation types from plain int
48                         to size_t/off_t
49         - changes to src/m_javaloader.cc:
50                 - fixed comments to remove Desktop-oriented notes
51                 - moved variables closer to their use point
52                 - removed the duplicated response Data objects in favour
53                         of just one (each default Data object uses 0x4000
54                         bytes of heap)
55                 - removed manual endian swap in favour of htobl()
56                         - oops... this size field is actually big endian.
57                           Since all Barry code assumes that Blackberry
58                           protocol traffic is little endian, a special
59                           case needs to be added in m_javaloader.cc for
60                           this field.  The special case uses autoconf's
61                           endian define.
62                         - fixed long long problem in endian.h (ISO C++
63                           compilers don't support long long) and made
64                           the bswap() functions always available
65                 - removed unused CommandType and m_commandTable members
66                 - fixed exception error messages to indicate command #
67                         instead of Desktop message
68                 - changed Packet() call to PacketData() when sending
69                         file size, since there is no command
70         - added eout() data dump to socket::Packet() unknown send error
71         - fixed my incorrect off_t/size_t check in bjavaloader.cc
72         - removed the '0' JL_UNKNOWN4 command from src/protocol.h,
73                 since the PacketData() change above now handles that,
74                 and I don't think that byte is actually a command, but
75                 really part of the uint32_t size
76                 - Also fixed one remaining 0 command, to use PacketData()
77 2009/01/09
78         - added AT+CLAC note to contrib/modemtest.rb, recording tidbit
79                 from mailing list
80         - updated copyright dates for 2009
81 2008/12/11
82         - fixed missing slash in config sample in doc/www/sync.php
83                 Thanks to sourceforge tracker #2413683 for reporting
84 2008/12/01
85         - added more notes to doc/USB-capture.txt, documenting my kernel
86                 setup for capturing USB traffic, and added size-limiting
87                 kernel patch
88         - added TODO list item for the Blackberry Storm
89 2008/11/30
90         - moved Product ID constants into a single place (src/common.h)
91                 and updated bcharge
92         - added Product ID 8007 for the Blackberry Storm... needs testing
93 2008/11/27
94         - applied ppp chat script patch for AT&T Cingular from
95                 Richard Esplin
96         - added new chat scripts to debian and rpm packages
97         - added known sources of additional Barry binary packages to index.php
98         - turned on call/caller graph support in Doxygen output
99 2008/11/23
100         - applied 'patch' of Martin Owens' Content Store documentation
101         - updated AUTHORS
102 2008/11/22
103         - large refactoring of all message/email record classes, and more
104                 There is now a MessageBase base class, which combines
105                 common email record parsing code in one class.  This base
106                 class is reused by all the specific messages record classes.
107                 This commit also includes support for multiple email
108                 addresses per email, as well as giving IConverter support
109                 to all message classes.
110         - deleted empty *.cc files from project
111         - updated TODO file, removing opensync i18n bug
112         - added TODO item for password support in Opensync... try to avoid
113                 storing the password in the sync config in plain text
114         - fixed dll export bug on ErrnoError exception class
115         - added BadPackedFormat exception for internal use
116         - ServiceBook: added IConverter support, and general cleanup
117                 Refactored ServiceBook class and added some experimental
118                 template functions to generalize the FieldLink table
119                 processing.  If possible, this needs to be expanded
120                 to the general record classes, to reduce the amount of
121                 code duplication during processing of FieldLinks and
122                 CommonField structures.
123                 Also, ServiceBook deals with packed fields, which should
124                 also be extrapolated for general use, and reused if
125                 possible for the new "Calendar - All" Blackberry databases
126                 that are coming out on the new devices and firmare.
127 2008/11/21
128         - updated man/btool.1 with new -i option
129         - fixed bug where opensync plugin didn't pass IConverter to Desktop
130         - added IConverter support to r_calendar.cc
131         - renamed utf8Needed to iconvNeeded, for consistency
132         - added IConverter support to r_folder.cc
133         - added IConverter support to r_memo.cc
134         - added IConverter support to r_message.cc
135         - added EmailAddressList, in preparation for multi-address email
136 2008/11/20
137         - changed Parser base class to pure abstract... this is so that
138                 future API changes to the Parse base class will be
139                 detected by the compiler as errors
140         - added NullParser class, which performs the old Parser function
141         - changed all FieldLink arrays to static
142         - added new IConverter class to support converting the Blackberry's
143                 WINDOWS-1252 charset to/from UTF-8 and more
144         - fixed bug in IConverter that saved end of string instead of
145                 beginning
146         - reorganized barry.h app header and record.h header, so that
147                 internal builds have fewer dependencies
148         - large parser/builder API change, adding IConverter support
149                 This change starts at the top (Mode::Desktop) which
150                 takes an optional IConverter object for parsing and
151                 building conversions.  The Desktop class passes
152                 this IConverter object to Packet, Parser, and Builder (and
153                 thereby, the corresponding Record classes) as needed.
154                 This adds an extra pointer to a fair number of calls
155                 in the stack, but maintains flexibility without putting
156                 too much of a burden on Parser writers, which could be
157                 application writers.
158                 The primary use of this architecture is to pass in an
159                 IConverter configured to convert to UTF-8... this is
160                 basically the only useful conversion method, but others
161                 are possible if you want to play.
162         - first record class to support string conversions: Contact
163         - reverted the barry.h and record.h reorganization, since
164                 the gui depends on it
165         - reorganized barry.h and record.h again, making inclusion of
166                 the record headers dependent on whether it is a library
167                 build or not
168         - updated the gui with the parser/builder API change
169         - added IConverter to opensync plugin, set to UTF-8
170 2008/11/13
171         - added comment to src/r_contact.h deprecating the Phone field
172         - updated Doxyfile to 1.5.1
173         - added Christopher D. Stover to AUTHORS file as Fedora contact
174 2008/11/03
175         - forgot #include <string.h> for memcpy/memset in tools/bfuse.cc
176         - moved bfuse install point from /usr/sbin to /usr/bin
177 2008/11/01
178         - added FUSE filesystem "driver"
179 2008/10/31
180         - commented out the info.subsystem match level in HAL FDI file...
181                 this should let the FDI work on old and new systems.
182                 HAL version 0.5.8 (used by Debian Etch) has the deprecated
183                 info.bus property, and doesn't have info.subsystem yet.
184         - added HAL FDI scripts to rpm/barry.spec
185         - fixed tools/Makefile.plain
186 2008/10/30
187         - added support for multiple work/home phone numbers to the
188                 opensync plugin.
189                 - Thanks to Richard Esplin for his test data.
190                 - This fix has a conflict when a cell phone number is
191                         marked as the preferred contact as well.
192                         See http://sourceforge.net/mailarchive/message.php?msg_name=20081030231045.GA28989%40foursquare.net
193                         for the full details.
194                 - This fix also changes the VCARD output... pager phone
195                         numbers are given the TYPE code of "pager"
196                         instead of "msg".
197                 - Added OtherPhone field as well
198 2008/10/22
199         - applied HAL FDI scripts and configuration from Martin Owens
200         - updated AUTHORS file
201         - added HAL FDI and python script to Debian package install
202 2008/10/18
203         - updated copyright notice and help text in contrib/modemtest.rb
204         - changed barry-verizon.chat script according to Andy Herkey's
205                 recommendation... this worked much better for Michael L.
206                 Stokes, since his provider was getting stuck on the ATZ
207 2008/10/16
208         - applied Andy Herkey's modemtest.rb ruby script to contrib/
209                 from his Aug 9, 2008 email to the mailing list
210         - applied Andy Herkey's new modemtest.rb script to contrib/
211                 from his Oct 8, 2008 email to the mailing list
212         - added password pass-through code for pppob -s mode
213         - clarified front page www doc, adding date of last release
214                 and license
215         - cherry-picked changes from Jose Carlos Garcia Sogo's debian git repo
216                 - debian/rules was stripping wrong library names
217                 - FSF address was incorrect (also updated other source
218                         files throughout the tree myself)
219                 - more complete debian/copyright file
220 2008/09/24
221         - version bump:
222                 - configure.ac
223                 - src/Makefile.am
224                 - src/version.cc
225                 - gui/src/BackupWindow.cc
226                 - Doxyfile
227                 - rpm/barry.spec
228                 - debian/changelog
229                 - opensync-plugin/src/barry_sync.cc
230         - added link to doxygen documentation to www index.php
232 Release: version 0.14 - 2008/09/24
233 ------------------------------------------------------------------------------
234 2008/09/24
235         - changed Debian changelog version to 0.14-0 to make room for
236                 official Debian packages which start at 0.14-1
237         - moved Doxyfile from src/Makefile.am to Makefile.am
238         - made RPM spec file match debian version number
239         - www documentation updates for 0.14
240 2008/09/19
241         - fixed git-tagged-release.sh to not delete its own results... oops
242 2008/09/18
243         - fixed git command line in git-extract.sh for new 1.6.0.x behaviour
244 2008/09/13
245         - added notes in ReleaseChecklist.txt regarding the new tarball
246                 tags in the git repos
247 2008/09/12
248         - updated doc/ReleaseChecklist.txt
249         - moving items from private todo list to TODO file
250         - removed unused variable from maintainer/git-release-tar.sh
251         - added new maintainer/git-tagged-tar.sh, which puts more data
252                 in the git repo, to make it easier for official Debian
253                 package creation
254         - moved src/Doxyfile to ./Doxyfile to avoid ".." in the config...
255                 the ".." paths confused doxygen and caused it to generate
256                 non-relative paths in the documentation.
257         - added umask to maintainer/git-extract.sh, so it works even without
258                 a pre-configured git
259         - updated maintainer/tar-prepare.sh to match the new Doxyfile
260         - added maintainer/tagged-release.sh, as replacement for the
261                 release.sh top level script, when using git
262         - removed CVS-style ID code from contrib/barry-unbind-storage.sh
263                 since it made it look like cdfrey wrote it
264         - removed doc/CodingStyle.txt as it is now documented in html
265 2008/08/29
266         - added device name and backup label support to the GUI
267                 It is now possible to name devices, instead of just
268                 operating by PIN number, and it is possible to now
269                 add a text label to the backup tar filenames.
270         - added the device names to the device selection dialog
271 2008/08/26
272         - updated TODO list with i18n opensync bug and general i18n support
273         - added test suite to TODO list
274 2008/08/23
275         - renamed libbarry to libbarry0 in rpm/barry.spec
276         - added %dump to rpm/barry.spec to match the OBS version
277                 Makes it easier to track variable changes across
278                 various distros.
279         - added note to NEWS regarding binary package renaming
280 2008/08/22
281         - fixed logic error in breset that displayed error on success
282                 Thanks to Richard Esplin for reporting this bug.
283         - applied commit's from Jose Carlos Garcia Sogo's debian git repo
284                 git://git.debian.org/git/users/jsogo/barry.git
285                 - Add binary dependency of libbarry-dev on libusb-dev
286                 - Rename libbarry to libbarry0, per debian policy
287                 - Add exact dependency on binary:Version for every
288                         -dbg and -dev package
289                 - Bump Standards-Version to 3.8.0
290         - updated AUTHORS
291         - clarified barrybackup error message when no records available
292                 Added a check so that "no databases selected" and
293                 "no records available" are two distinct error messages.
294 2008/08/21
295         - applied ppp chat script patch from Mick Reed
296         - updated RPM and Debian packages with new tmobileus ppp scripts
297         - added T-Mobile US to web documentation
298         - updated AUTHORS
299         - clarified sync docs regarding slow-sync... avoid it if possible
300         - tuned doxygen config, and moved generated files to doc/www/doxygen
301         - added git-release-tar.sh, replacing CVS's make-release-tar.sh
302                 Also added doxygen to the release tarball creation, so
303                 the source code's doxygen documentation is automatically
304                 generated upon release.
305         - split git-release-tar.sh into reusable component scripts
306 2008/08/14
307         - added exception handler for invalid command line options in GUI
308         - fixed barrybackup man page, removing bad -v option
309         - added distro section to AUTHORS
310         - fixed comment and whitespace problems in time.{h,cc}
311         - Converted Birthday from string to Date, and added Anniversary
312                 support.  Birthday and Anniversary fields now use a new
313                 Date struct, and Barry validates the data to some extent.
314                 - updated example code and opensync plugin to match
315         - applied Lee Dixon's Location and Description plugin patch,
316                 with minor whitespace edits
317 2008/08/12
318         - added Birthday field to examples/addcontact.cc for testing
319 2008/08/11
320         - applied Lee Dixon's Birthday field and opensync patch
321                 - fixed coding format issues
322         - updated AUTHORS
323 2008/08/07
324         - fixed bug in m_ipmodem.cc that included a null terminator in
325                 first AT command
326         - fixed RFC 2426 conformance bug...  RFC 2426, 3.1.1 states that FN
327                 MUST be present in the vcard object.  If there is no name
328                 available, then we use the Company name if available.  It
329                 should be, since the Blackberry requires either name or Company
330                 in order to create a new address.  If Company is blank too, then
331                 we insert "(Blank Name)".
332                 - On the flip side of this same bug, it is possible to receive
333                         non-conformant vcard data from evolution / opensync
334                         that does not include FN.  Since the Blackberry
335                         doesn't require this information, remove the
336                         exception, and only throw an exception if FN
337                         or Company are both blank.
338                 - REVERT: removed the Company and "(Blank Name)" workarounds,
339                         and just produce an invalid vcard if no full name,
340                         since with multiple syncing, this will come back
341                         to bite us with duplicated Company name data
342         - added sanity check to contact class for blank name and company
343         - added BadData exception class, and documented it
344 2008/08/06
345         - fixed bug in vAttr::GetValue that ignored index for single valued
346                 attributes... this should fix the endless loop / memory
347                 exhaustion that some people have been seeing
348                 Thanks to Lee Dixon for reporting this bug in detail!
349         - added TODO list item for implementing recurring calendar items
350 2008/08/01
351         - version bump:
352                 - configure.ac
353                 - src/Makefile.am
354                 - src/version.cc
355                 - gui/src/BackupWindow.cc
356                 - src/Doxyfile
357                 - rpm/barry.spec
358                 - debian/changelog
359                 - opensync-plugin/src/barry_sync.cc
360         - updated web docs showing how to set the password when using modem
361         - added section to docs on how to test the modem connection
363 Release: version 0.13 - 2008/07/28
364 ------------------------------------------------------------------------------
365 2008/07/28
366         - web doc updates:
367                 - removed extraneous "experimental" wording
368                 - added section for external links to main index page
369                 - fixed doc bug about how to install libtar
370                 - added O2 Ireland to list of modem scripts
371                 - removed ubuntu80464 and fc6 from binary package list
372 2008/07/26
373         - updated AUTHORS
374 2008/07/25
375         - applied barry-unbind-storage.sh script from Niels de Vos...
376                 added to contrib for now, in the interests of getting
377                 version 0.13 released soon... we can work on integrating
378                 this better in 0.14, which hopefully won't take so long :-)
379 2008/07/24
380         - added g++ (>= 4.1) to Debian build dependency list
381         - added support to base library and utilities for multiple email
382                 addresses in Contact records
383         - added opensync support for multiple contact email addresses
384         - applied ppp chat scripts for O2 Ireland from Simon Kenyon
385         - updated AUTHORS
386         - integrated O2 Ireland scripts into binary package installs
387 2008/07/16
388         - applied David Mansfield's opensync module password patch (ported
389                 manually to latest upcoming 0.13)
390         - updated AUTHORS
391         - added password documentation to sample barry-sync module config
392         - updated web docs with new password sample config
393 2008/07/05
394         - removed old, unused spec file and scripts for bcharge-only release
395         - fixed rpm build instructions in web docs
396         - reduced minimum password retry level from 6 to 3... Reinhold Schoeb
397                 reports that his 8800 device only lets him set a password
398                 retry range between 3 and 5, instead of the usual 10 that
399                 most devices have.
400 2008/07/04
401         - added "known issues" section to main www doc page
402         - fixed virtual function mis-name bug in btool's null parser
403         - added -i option to brecsum, to include record IDs in the sums
404         - applied Ashley Willis's btool 0.12 null parser patch to CVS, which 
405                 required some manual porting changes...
406                 - removed bool reference argument in GetParser()
407         - updated AUTHORS
408         - applied Ashley Willis's perlbarry package, putting it in the
409                 new contrib/ directory
410                 - updated AUTHORS
411                 - now that btool patch is applied, don't need it in contrib
412         - removed openssl from dependencies documentation, as barry now
413                 has its own sha1 code
414         - added libtool to dependencies documentation
415         - rpm/barry.spec file now assumes gui and opensync, with conditional
416                 checks depending which system it is being built on...
417                 --with gui and --with opensync are no longer needed.
418         - updated release scripts to build RPMs with the new spec file
419 2008/06/26
420         - updated udev rules to recognize devices with the 8004 Product ID
421         - fixed bug in test/buildtest.sh when opensync is not pre-built
422         - fixed more lintian warnings on Ubuntu
423         - fixed tiny subheadings in modem web document
424         - added syncing howto web document
425         - updated TODO list, adding Troubleshooting item, and morphing
426                 the modem item into the RPC daemon item
427         - moved old doc/TroubleShooting.txt document to web, and updated
428                 it in the process
429         - added tip to sync web docs, for using DebugMode on hangs
430 2008/06/23
431         - changed test/buildtest.sh so it is safe to run from outside
432                 the directory that contains it
433         - added note to patch webpage regarding testing patches to the
434                 build system
435         - removed mis-configured 'make dist' check from buildtest.sh
436         - added missing 'scoped_lock.h' to src/Makefile.am's non-installed
437                 headers, as it is an internal header only
438         - improved buildtest.sh: speed, accuracy
439                 - added -j option to make to speed builds
440                 - moved cleanall check above 'make dist' as dist doesn't
441                         clean up after itself
442                 - commented out 'make distcheck' for now, as it doesn't work
443         - added DISTCHECK_CONFIGURE_FLAGS to root Makefile.am, similar to
444                 David Everly's patch in tracker # 1973536
445                 Thanks David!  'make distcheck' now works, but only in
446                 an environment like buildtest.sh creates.
447                 Also, buildtest.sh passes all tests now, including distcheck.
448         - updated AUTHORS
449         - removed unused src/controllertmpl.h
450         - added ppp and test directories to Makefile.am EXTRA_DIST
451 2008/06/21
452         - added beginnings of a build system test script
453         - fixed sha1.h so it is installed by src/Makefile.am
454         - removed old Makefile.orig from src/Makefile.am
455 2008/06/20
456         - updated modem web documentation page with Sprint option, as
457                 well as listing some network security concerns
458 2008/06/19
459         - added modem reset workaround to web documentation page
460         - applied Andy Herkey's ipmodem password patch, round 1
461         - applied Andy Herkey's ipmodem password patch, round 2
462         - cleaning up some rough edges to the ipmodem patches:
463                 - removed commented out code in pppob.cc
464                 - added BXLOCAL to private member SendPasword()
465                 - added try/catch in IpModem destructor
466                 - removed FIXME comment about endian issues
467                 - added data size checks to SendPassword()
468                 - removed catch(...)
469                 - renamed class variable session_key to match others
470                 - added check to skip password if "" is passed in
471                 - added the m_filter for ipmodem PPP 0x7e filtering
472                   back, since the 8320 w/ rogers seems to need it
473         - updated AUTHORS
474 2008/06/06
475         - added timeout argument to Device::BulkDrain()
476         - added mozilla's sha1 code from git
477         - removed openssl dependency due to license issues
478                 Debian and Ubuntu have checks in their lintian tool that
479                 check for GPL+OpenSSL linkage.  In order to remove any
480                 potential obstacles to future inclusion in those distros,
481                 the dependency is removed here in favour of the small
482                 mozilla implementation which is GPL.
483 2008/06/04
484         - added notes to web documentation for OpenBSD
485         - documentation updates:
486                 - changed git patch command to use format-patch
487                 - added instructions for building from tarball
488                 - added bugs.php and contact.php pages
489         - fixed missing and mis-dated copyright notices in src/
490         - added ppp options and chat script for Sprint, based on
491                 Andy Herkey's mailing list report
492 2008/05/30
493         - added Ubuntu 8.04 to release build scripts
494 2008/05/29
495         - fixed compile errors in gui when compiling with gcc 4.3.x
496         - added ppp options and chatscript files to RPM build
497         - updated docs with binary package default PPP scripts
498         - added -P option to pppob to specify password
499         - updated pppob manpage with -P option
500         - fixed missing -P option in btool manpage
501         - updated rpm spec file history
502         - added pppob manpage to rpm spec file
503         - added manpages for brecsum, breset, upldif, and barrybackup,
504                 and updated the build process to support them.
505                 Also updated date for pppob manpage.
506         - updated rpm spec file with new manpages
507         - added ProductID code 0x8004 to breset.cc
508         - minor whitespace and usage text fix in upldif.cc
509         - deleted old src/Makefile.orig
510         - updated Debian binary package:
511                 - added manpages for brecsum, breset, pppob, upldif,
512                         and barrybackup
513                 - added ppp options and chat scripts, with postinit
514                         script to set permissions
515                 - fixed descriptions in control file to avoid lintian warnings
516 2008/05/27
517         - fixed missing #includes in src/data.cc
518         - fixed compile errors in library, utils, and plugin when compiling
519                 with new gcc 4.3.x... gui not yet finished
520 2008/05/24
521         - added minimum g++ version to website dependency docs
522 2008/05/23
523         - added ppp/README
524         - reorganized sample ppp options files so they are easier to compare,
525                 enabled "usepeerdns" in both, and disabled the speed
526                 setting in barry-verizon
527         - updates to website documentation
528                 - added FC9 to distro list
529                 - added page for BarryBackup
530                 - added page for USB modem / pppob
531 2008/05/22
532         - added sample ppp options files for Verizon Blackberries
533                 Sample files from Michael L. Stokes
534         - updated AUTHORS
535         - renamed sample ppp peer files, in preparation for installing
536                 them automatically in binary packages
537         - modified verizon options file to use pppob
538         - split the sample rogers options file into options and chat files
539 2008/05/16
540         - put sequence packet check directly in the SocketZero::RawReceive()
541                 function, which now localizes all sequence packet
542                 handling and checking, as well as avoids packet
543                 order problems when multiple sockets are in use,
544                 such as with pppob...
545                 FIXME - this localized sequence checking may make all
546                 the calls to CheckSequence() obsolete which
547                 should probably be cleaned up someday, if so.
548         - reorganized src/socket.cc to match class private/public
549                 order (no code change, only move)
550         - added verbose log message to Controller constructors, so it is
551                 possible to determine whether a program is using
552                 threaded or non-threaded sockets
553         - added -z and -Z command line options to btool to control
554                 the non-threaded/threaded behaviour, respectively;
555                 and updated the man page
556         - removed debug sleep() calls from pppob
557         - added SIGINT signal handler so pppob shutsdown gracefully when
558                 pppd is killed
559 2008/05/15
560         - mention CVS and git on main documentation "how to" list
561         - moved PPP filter logic into its own class
562         - enhanced PPP filter class to support prepending of
563                 empty bytes if needed, in order to reduce data
564                 copying, and clarified why there is no GetBuffer()
565         - added ProbeResult::HasIpModem() to determine whether
566                 IpModem endpoints are available
567         - added pure virtual Modem base class for common
568                 modem-oriented API (only Open and Write so far)
569         - Mode::IpModem is now derived from Barry::Modem
570         - experimental implementation for Mode::Serial,
571                 which is now derived from Barry::Modem,
572                 and uses PppFilter
573         - pppob now supports IpModem and Serial modes, and logging
574                 to file instead of stderr
575         - added man page for pppob
576 2008/05/10
577         - modified the planned version numbering scheme in doc/VersionNotes,
578                 so that a 1.0 is possible, with 1.50 as the devel series
579 2008/05/09
580         - continuing to update html documentation in preparation for
581                 0.13 release
582 2008/05/02
583         - removed -fvisibility-inlines-hidden compile options since some
584                 distros have old or broken compilers or libraries where
585                 the build breaks looking for STL templates (Ubuntu 7.10,
586                 I'm looking at you...)
587         - changed brecsum so usage information is displayed automatically
588                 if no command line arguments are specified
589         - added opensync-plugin to maintainer test scripts, and added
590                 ubuntu710 to the test build sequence
591 2008/05/01
592         - updated doc/TroubleShooting.txt
593         - removed usb_control message check from IpModem endpoint probing
594                 in src/probe.cc, since some devices, like the 8700
595                 have both RIM_UsbSerData mode and IpModem mode.
596         - fixed serialization code for Calendar record class, in s11n-boost.h
597         - made UnknownField's data member into its own type,
598                 so that when building records, it doesn't get processed
599                 like a null terminated string... also added more
600                 BuildField() helper functions for accuracy
601         - fixed missing fields in the Calendar record build process
602         - added Calendar to list of Builders in tools/btool...
603                 it is now possible to run: btool -s "Calendar" -f datafile
604         - added tools/brecsum program, which calculates SHA1 checksums
605                 on database records, for testing
606         - added brecsum to debian and rpm builds
607         - added recurrence builder function to Calendar record builder code
608                 which completes builder support
609                 Checksums from the following commands now match:
610                         brecsum -d Calendar > sum1.txt
611                         btool -d Calendar -f calendar.dat
612                         btool -s Calendar -f calendar.dat
613                         brecsum -d Calendar > sum2.txt
614                         diff -u <(sort sum1.txt) <(sort sum2.txt)
615 2008/04/29
616         - applied Jason Thomas's ACLOCAL_FLAGS patch to make autoreconf
617                 work again... Thanks!
618         - applied Jason Thomas's debian build dependency patch
619         - updated AUTHORS
620 2008/04/26
621         - started documentation overhaul in doc/www, putting the commonly
622                 asked questions right on the front page, and making it more
623                 goal-oriented, so it is hopefully easier to use
624 2008/04/25
625         - updated NEWS file
626         - fixed error messages in m_desktop.cc that still referred
627                 to Controller
628 2008/04/25
629         - major merge of barry-b1-socket-arch-branch into MAIN.
630           The following is the changelog from that branch, which is now MAIN.
632         2008/04/25
633                 - added thread-safe logging mechanism
634                 - added preliminary IP modem support... requires a recent
635                         device... serial mode is not yet supported
636                 - merged HEAD changes
637         2008/03/27
638                 - changed Barry::Init() so programmer can choose where
639                         debug and exception information goes, instead of
640                         always to stdout
641         2008/03/22
642                 - merged HEAD changes
643         2008/03/20
644                 - fixed bug in probe class, which missed storing the PIN
645                         number in ProbeResult
646                 - also added ProbeResult constructor
647                 - merged changes from visibility branch:
648                         - GCC visibility support, limiting what symbols are
649                           visible in the shared library, libbarry... this makes
650                           a drastic reduction in the symbol table, and should
651                           avoid future name clashes with other libraries such
652                           as opensync
653                           See: http://gcc.gnu.org/wiki/Visibility
654                         - vformat_() function name changes
655         2008/03/07
656                 - merged HEAD changes
657                 - added threads library to new bs11nread build
658         2008/02/28
659                 - fixed variable size issues in btranslate.cc, evident with
660                         some compilers on 64 bit systems
661                 - merged HEAD changes
662                 - added comments for threaded usage in usbwrap.h
663                 - changed router to use SocketId typedef, for clarity
664         2008/02/22
665                 - fixed const char warnings from newer gcc compilers
666                 - controller object now saves a copy of the probe result
667                         and provides an API to retrieve it
668                 - added sanity checks to m_serial.cc
669                 - fixed probe behaviour so that a USB probe on an endpoint
670                         that doesn't respond won't halt everything
671                 - refactored some of the probe code, and added checks for
672                         IP modem endpoints
673                 - added Probe::DumpAll()
674                 - added Open() call to pppob.cc (not yet complete)
675         2008/01/30
676                 - implemented dataqueue.{h,cc}... looks ready for testing,
677                         once things compile again
678                 - changed free list copy in router.cc to use
679                         DataQueue::append_from()
680                 - finished packet.{h,cc} implementation, ready for testing
681                 - finished controller.{h,cc}, ready for testing
682                 - finished m_desktop.{h,cc}, ready for testing
683                 - added skeleton m_serial.cc
684                 - the base library and utilities compile again!
685                 - added constructor for SocketZero(queue)
686                 - fixed ErrnoError::GetMsg()
687                 - updated GUI and opensync plugin to compile with new API
688                 - moved Raw Send/Receive socket functions to private
689                 - fixed packet header size bug in socket that caused
690                         socket ID override to be skipped
691                 - fixed incorrect use of gettimeofday()
692                 - fixed race condition where Controller could destroy
693                         the Usb::Device object before the SocketRoutingQueue
694                         was done with it
695                 - fixed segfault in SocketZero::RawSend() when a router
696                         was in use
697                 - fixed Open() bugs in btool... Open() must be outside of loops
698                 - btool uses the router thread now, for testing
699                 - partially implemented m_serial.{h,cc}... needs testing
700                 - added automatic buffer allocation to SocketRoutingQueue
701                         constructor
702                 - made AllocateBuffers() a little smarter, so it was not
703                         pure appending
704                 - added a context data pointer to the SocketRoutingQueue
705                         RegisterInterest callback
706                 - added RegisterInterest functionality to Socket class
707                 - added exceptions on router read errors in socketzero
708         2008/01/26
709                 - implemented router.{h,cc}... looks ready for testing,
710                         once things compile again
711         2008/01/25
712                 - merged HEAD changes
713                 - added router.cc and continued work on new arch
714                 - merged HEAD changes for 2008 copyright statements
715                 - added scoped_lock.h
716                 - added ErrnoError exception class
717                 - documented Controller / SocketRoutingQueue behaviour
718                 - more router implementation
719                 - simplified pppob
720                 - audit and cleanup of socket.{h,cc} code... looks ready
721                         for testing now, once things compile again
722                 - removed FIXME in router.*
723                 - removed pthread header from pppob as it is not needed
724         2007/11/22
725                 - merged HEAD changes
726         2007/10/25
727                 - merged HEAD changes
728         2007/10/19
729                 - branch started, to track development of the new socket
730                         architecture, and new mode architecture, needed
731                         to support GPRS modem support, and threaded
732                         USB access
733                 - committed work-in-progress... does not compile
735 2008/04/10
736         - added Tasks and Memos to TODO list
737 2008/03/27
738         - added support for Blackberry 8120, which has a unique Product ID
739                 Sourceforge tracker ID: 1829537
740 2008/03/22
741         - removed TimeZones from TODO list, as it is done
742 2008/03/21
743         - version bump:
744                 - configure.ac
745                 - src/Makefile.am
746                 - src/version.cc
747                 - gui/src/BackupWindow.cc
748                 - src/Doxyfile
749                 - rpm/barry.spec
750                 - debian/changelog
751                 - opensync-plugin/src/barry_sync.cc
752         - added GCC visibility support, limiting what symbols are visible
753                 in the shared library, libbarry... this makes a drastic
754                 reduction in the symbol table, and should avoid future
755                 name clashes with other libraries such as opensync
756                 See: http://gcc.gnu.org/wiki/Visibility
758 Release: version 0.12 - 2008/03/21
759 ------------------------------------------------------------------------------
760 2008/03/21
761         - changed maintainer script to use CVS export instead of checkout,
762                 to avoid the CVS directories
763         - added support for building Debian source packages with proper
764                 diff.gz and dsc files
765         - fixed find warning in maintainer/make-rpm.sh
766         - added support for Ubuntu binary packages to the maintainer build
767                 scripts
768 2008/03/13
769         - renamed all vformat_ and VFormat symbols in opensync plugin's
770                 copy of vformat code, so they don't conflict with the
771                 real opensync libraries
772 2008/03/07
773         - updated the install.php web page with Paul Dugas's notes on
774                 building RPM's from CVS
775         - fixed problem in tools/Makefile.am where bs11nread was included
776                 in build, even if --with-boost was not specified
777                 on ./configure command line
778 2008/03/06
779         - changed format of Boost serialization file output from btool,
780                 so that the database name is stored as the first line
781                 of the file
782         - added tools/bs11nread.cc to read Boost serialization file data
783                 written by btool
784         - minor adjustments to r_message.h and r_timezone.h
785         - updated s11n-boost.h header to match record classes
786 2008/03/01
787         - applied Time Zone parsing patches from Brian Edginton
788         - added Time Zones to list of supported parsers in btool.cc
789 2008/02/29
790         - changed configure.ac to use bzip2 for "make dist".. thanks to
791                 Paul Dugas for the tip
792 2008/02/28
793         - committed Chris Burgess's update to the roadmap document
794         - applied Paul Dugas's x86-64 build patch, except the
795                 tar.bz2/tar.gz change
796         - updated AUTHORS file
797 2008/02/22
798         - fixed configure.ac's --with-boost option, so that without args,
799                 it defaults to using --includedir and --libdir settings,
800                 instead of hardcoding /usr/include and /usr/lib... this
801                 should allow smarter compiling on 64 bit systems
802         - updated RPM spec file to use new --with-boost behaviour
803         - ahem, fixed configure.ac again... don't use --includedir and
804                 --libdir, as those are install targets... oops.
805                 Don't add path overrides at all if not specified.
806 2008/01/25
807         - fixed locale issues in src/data.cc
808         - updated copyright statments for 2008
809 2007/12/21
810         - applied wording correction patch to btool from Matt LaPlante
811 2007/12/07
812         - changed hard coded databases names in btool to calls to
813                 <recordclass>::GetDBName()
814         - version bump:
815                 - configure.ac
816                 - src/Makefile.am
817                 - src/version.cc
818                 - gui/src/BackupWindow.cc
819                 - src/Doxygen
820                 - rpm/barry.spec
821                 - debian/changelog
822                 - opensync-plugin/src/barry_sync.cc
823         - updated TODO
825 Release: version 0.11 - 2007/12/01
826 ------------------------------------------------------------------------------
827 2007/12/01
828         - fixed null pointer bug in Probe class (bug #1842407)
829         - added pause to maintainer release script
830 2007/11/30
831         - version bump:
832                 - configure.ac
833                 - src/Makefile.am
834                 - src/version.cc
835                 - gui/src/BackupWindow.cc
836                 - src/Doxygen
837                 - rpm/barry.spec
838                 - debian/changelog
839                 - opensync-plugin/src/barry_sync.cc
841 Release: version 0.10 - 2007/11/30
842 ------------------------------------------------------------------------------
843 2007/11/30
844         - added support to the usbwrap Match class to limit its
845                 search by busname / devname
846         - added support to the Probe class to limit its search for
847                 Blackberry devices to a given bus or device name
848         - added command line options to btool for the above Probe
849                 bus/device names, and updated the man page
850         - updated the www docs with regard to the new usb_storage
851                 behaviour and the new blacklist files... less
852                 concern about berry_charge and usb_storage conflicts
853         - added bidentify tool and accompanying man page
854         - fixed bug in rpm maintenance script that used the wrong
855                 spec file for opensuse
856 2007/11/29
857         - added better error checking to breset
858         - commented the sleep() for the 8830
859         - added code to handle the race condition where usb_storage
860                 claims the device before bcharge arrives on the scene,
861                 by asking the kernel to detach the driver from
862                 the Mass Storage interface... this change makes it
863                 possible to run bcharge, moving from 0006 to 0004
864                 to 0001 and back to 0004, all *while* usb_storage
865                 is loaded!
866         - changed Probe class behaviour so that it will not throw an
867                 exception on Device Busy (-EBUSY) but instead
868                 log the error in an internal array and keep going.
869                 This makes it possible to use btool and barrybackup
870                 with two devices plugged in at the same time.
871                 BACKWARD COMPATIBILITY NOTE: this changes initializaion
872                         behaviour, but in practice, it should only
873                         make applications look more capable, not less.
874         - updated btool to show errors logged by Probe
875         - added message to specify which PIN device is being used by btool
876         - added explanatory comments to udev rules files, about why
877                 they are so verbose
878 2007/11/27
879         - added ClearHalt() calls to probe and controller classes, just
880                 before any communication happens... the 8830 seems
881                 to need this
882 2007/11/23
883         - added usbwrap.cc:GetConfiguration()
884         - added code to check whether the configuration is the one
885                 we require, before calling SetConfiguration()... and not
886                 to call it if unnecessary.  This allows us to run
887                 at the same time as usb_storage.
888                 Thanks to Martin Owens for not letting this issue go. :-)
889         - added sleep to bcharge, before calling usb_reset()... the
890                 Blackberry 8830 behaves like a Pearl device in that
891                 it has mass storage support, but behaves like a Classic
892                 in that it resets itself... the usb_reset() seems
893                 to reset it back to 0006.  The sleep allows the device
894                 to disappear via its own reset, and let usb_reset()
895                 fail naturally on these devices.
896                 This is not an ideal solution... mainly for testing.
897 2007/11/09
898         - added modprobe/blacklist-berry_charge as per Simon Ruggier's
899                 suggestion.  Thanks also to Niels de Vos for a similar
900                 suggestion.
901         - fixed udev rules to work on both old and new distros
902                 Thanks to Duncan Mak for the bug report.
903         - AUTHORS update
904         - fixed string comparison to use case insensitive compare in
905                 opensync plugin
906         - updated Debian package to include modprobe blacklist file
907         - updated rpm spec file to include modprobe blacklist file
908         - split the maintenance scripts into release and test, so
909                 that release package builds can be done faster
910 2007/10/26
911         - opensync plugin fixes:
912                 - fixed memory leak in vBase::GetAttr()
913                 - added support in vformat parser to parse "blocks"
914                         and keep track of the hierarchy when
915                         parsing an iCalendar, etc.
916                 - added support for searching for attributes only
917                         inside certain blocks (i.e. find first
918                         DTSTART in VEVENT block, not VTIMEZONE block)
919 2007/10/25
920         - fixed bug in Calendar::Clear, missing the Free / Class
921                 member variables, leaving them uninitialized
922         - added examples/addcalendar.cc
923         - added more logging to the opensync plugin, logging the
924                 ToBarry conversion results
925         - added code to force struct tm.tm_isdst to -1 before calling
926                 mktime, in vformat.c
927                 - fixed typo in previous fix
928 2007/10/12
929         - renamed ktrans and translate to bktrans and btranslate to avoid
930                 file name clashes with libtranslate of Gnome
931                 Closes bug #1812410 reported by Troy Engel.
932         - version bump:
933                 - configure.ac
934                 - src/Makefile.am
935                 - src/version.cc
936                 - gui/src/BackupWindow.cc
937                 - src/Doxygen
938                 - rpm/barry.spec
939                 - debian/changelog
940                 - opensync-plugin/src/barry_sync.cc
941         - fixed missing default config file in the debian package for
942                 the opensync plugin
943                 Closes bug #1812224 reported by Ariel (adonatti).
944         - added debian dbg packages for tracing segfaults
945         - modified maintainer scripts so debug packages would reference
946                 source code located in /usr/src/barry-0.9, etc.
948 Release: version 0.9 - 2007/10/12
949 ------------------------------------------------------------------------------
950 2007/09/29
951         - adjusted autosuspend disabling code in bcharge, based on new
952                 information on how kernels 2.6.21 / 2.6.22 work.
953                 See bcharge.cc for comments.  If device/power/level or
954                 device/power/autosuspend exist, charging should now work
955                 without recompiling the kernel.
956         - updated website docs with autosuspend info
957 2007/09/27
958         - large update to the doc/www web pages, moving some of the
959                 information in README files to html format, so that it
960                 is commonly available on the web
961         - added step in maintenance scripts to automatically build the
962                 .html files in doc/www when making a tarball release
963 2007/09/22
964         - added libopensync 0.22 version requirement to barry.spec file,
965                 but it doesn't seem to work on OpenSuSE 10.2, where it's
966                 needed.... hmmmm
967 2007/09/21
968         - updated README to mention new tree build configure options
969         - fixed the configure scripts and makefiles so that when building
970                 with custom CXXFLAGS and LDFLAGS environment variables,
971                 it doesn't break the full-tree build mode, when
972                 using --enable-gui and/or --enable-opensync-plugin
973         - added config.h.in~ to buildgen.sh clean target
974         - converted Debian build scripts to use cdbs
975         - added opensync plugin binary package for Debian
976         - added "Getting Started" section to web pages, as well as an
977                 explanatory document for various system requirements
978         - turned on opensync build in RPM maintainer scripts
979 2007/09/20
980         - added filename to power/state error message in bcharge.cc
981         - adjusted maintainer scripts to automatically adjust barry.spec
982                 for opensuse rpm builds
983 2007/09/13
984         - fixed some of the release build scripts and added support for
985                 automated opensuse 10.2 builds
986                 - fixed build target to i386
987                 - changed scripts to add to PKG_CONFIG_PATH variable instead
988                         of overwriting it
989 2007/09/07
990         - added website docs to doc/www... these are out of date at the
991                 moment, and hopefully by including them here, they
992                 will be updated more frequently
993 2007/09/05
994         - applied Simon Ruggier's build system patch that allowed a build
995                 of all 3 components from the root directory and fixed the
996                 configure scripts to support external build directories
997         - reordered clean commands in the buildgen.sh scripts, and removed
998                 the INSTALL files, since they are auto-generated by autoconf
999         - removed extraneous buildgen.sh calls in maintainer scripts
1000         - added Simon Ruggier to AUTHORS
1001         - added explanatory note to 3 stage test build process in
1002                 maintainer script
1003 2007/08/24
1004         - fixed Category handling in the Contact record class, to
1005                 parse the comma separated string into an array,
1006                 and back
1007                 Note: this involves a change to the boost serialization
1008                         and will affect backward compatibility with
1009                         old serialization datafiles
1010         - added Category to examples/addcontact.cc
1011         - added Category support to the opensync plugin
1012 2007/08/23
1013         - fixed wrong read/write in btool output (oops)
1014         - added BadSize exception, and changed CheckSize() function
1015                 to throw it on error
1016         - changed backup GUI to catch BadSize exceptions on initial
1017                 connect, and try a reset if that error occurs, since
1018                 that likely means the device didn't shutdown properly
1019         - fixed in opensync plugin:
1020                 - some vcard data contains types codes in capital letters,
1021                         so added lower case conversion routine
1022                 - changed the order of address lines, so that address1
1023                         is the street, address2 is the extended address,
1024                         and address3 is the PO Box.  The Blackberry
1025                         doesn't seem to have any PO Box field.
1026 2007/08/20
1027         - added -e endpoint override option to btool
1028         - added status message to endpoint override
1029 2007/08/18
1030         - added configure check for strnlen, and implementation for
1031                 systems that don't have it, or that have it implemented
1032                 incorrectly.  Went a little paranoid here, since
1033                 AC_FUNC_STRNLEN doesn't set a define in config.h,
1034                 so I had to do it manually, and check in case autoconf
1035                 changes in the future... ugh.  See src/strnlen.h for
1036                 the gory details.
1037         - added code in probe.cc to fetch the device's description.
1038                 The description is now part of the probe results
1039                 along with the PIN.  Updates to protocol.h, adding
1040                 a new attribute definition.
1041                 Thanks to Rick Scott for pointing out the code in
1042                 XmBlackberry where he implemented this first.
1043         - fixed header dependency in record-internal.h
1044         - updated the "required autoconf" version to 2.61 for root build
1045         - moved nested structs out of the record classes that contain them,
1046                 in order to better support SWIG and Python
1047 2007/08/17
1048         - changed bcharge to use getopt() for its argument processing
1049         - added options -p and -s to bcharge, to adjust usb suspend
1050                 settings automatically where possible
1051         - updated the udev rules to use the new bcharge settings
1052         - updated the bcharge man page with the new arguments
1053 2007/08/16
1054         - cleaned up Usb exception handling, moving libusb error code
1055                 processing into the Usb::Error exception class.
1056                 error.cc is now an empty shell
1057         - added return codes to the Usb::Error exceptions
1058         - removed aboutdialog.{h,cc} from the backup GUI since even
1059                 Debian stable now has up-to-date gtkmm libraries
1060         - added more user friendly error message for the "device busy"
1061                 case, recommending 'rmmod usb_storage'.
1062 2007/08/09
1063         - added better error checking to bcharge.cc
1064         - version bump:
1065                 - configure.ac
1066                 - src/Makefile.am
1067                 - src/version.cc
1068                 - gui/src/BackupWindow.cc
1069                 - src/Doxygen
1070                 - rpm/barry.spec
1071                 - debian/changelog
1072                 - opensync-plugin/src/barry_sync.cc
1073         - removed usb_set_configuration() check from bcharge.cc, since
1074                 that may fail under normal operation, in this case
1076 Release: version 0.8 - 2007/08/03
1077 ------------------------------------------------------------------------------
1078 2007/08/03
1079         - moved Interface implementation to usbwrap.cc file
1080         - added dout debugging messages to usbwrap.cc
1081         - clarified unhandled packet error message in socket.cc
1082         - added temporary workaround in opensync-plugin environment's
1083                 Reconnect(), for odd message seen on newer Blackberry
1084                 devices
1085         - fixing issues with Brian Edginton's MessageRecord patch (2007/06/29)
1086                 - fixed missing size check in message oriented ParseHeader()
1087                 - fixed endian conversion issues (also found one pre-existing
1088                         endian bug in the process)
1089                 - moved message timestamp converter code to time.cc
1090         - added Barry version number to opensync plugin name
1091         - changed maintainer scripts and rpm.spec to use bzip2 instead of gzip
1092         - added opensync-plugin to configure script build
1093         - added -S option to btool, to list supported parsers and builders
1094         - slight change to opensync-plugin/buildgen.sh to cleanup config.h.in~
1095         - opensync-plugin/README update
1096         - added opensync-plugin/patches for others who may be building and
1097                 testing the plugin with OpenSync 0.22
1098         - added debian package build scripts to maintainer/
1099 2007/08/01
1100         - added entry to doc/TroubleShooting.txt
1101 2007/07/28
1102         - added doc/TroubleShooting.txt
1103 2007/07/27
1104         - opensync plugin:
1105                 - fixed bug in vcard.cc that was using the FN field
1106                         for the broken-down name instead of N
1107                 - added dbId and dbName to DatabaseSyncState
1108                 - added Reconnect() functionality to BarryEnvironment class
1109                         and moved connect logic out of barry_sync.cc
1110                 - changed the batch commit functionality in barry_sync.cc
1111                         to single-change-commit.  Why?  Because opensync
1112                         0.22 groups all batch changes into one group
1113                         and calls one batch commit function, even if you
1114                         registered two.  Moving to single change commit
1115                         mode removes a chunk of unneccessary code
1116                         from the plugin as well, and can in theory
1117                         ease memory pressure in the library.
1118                 - added FinishSync() to perform actions needed on successful
1119                         syncing completion
1120                 - disconnect on successful sync completion, and reconnect,
1121                         since the device's dirty flags don't seem to
1122                         be updated until a disconnect occurs.
1123 2007/07/26
1124         - added ReadDataArray() to data.h, using an istream instead of
1125                 requiring a file
1126         - added raw data version of BuildField() to record-internal.h
1127                 This is so that btool doesn't add extra null terminators
1128                 to unknown data, when restoring with option -s
1129         - fixed bugs in r_contact.cc:
1130                 - fixed bug that caused a LastName/FirstName swap
1131                         if FirstName was empty and you wrote a contact
1132                         record into the device.... First/Last Name
1133                         fields are position sensitive, and the code
1134                         was missing the empty FirstName case on writing
1135                 - fixed bug in BuildFields() and Dump() where they
1136                         were not updated to handle the new field
1137                         table added for the postal address changes
1138                         on 2007/07/20, oops
1139         - opensync plugin:
1140                 - changed the plugin config file, so it is possible to
1141                         turn debug output on/off without recompiling
1142                 - moved the standalone Map2Uid() function into
1143                         the DatabaseSyncState class, and changed the
1144                         code to produce "contact-#" and "calendar-#"
1145                         UID strings, instead of just numbers
1146                 - changed default PIN to -1, so that if the user doesn't
1147                         configure properly, it will fail... this is a
1148                         safety measure to avoid syncing with different
1149                         devices and corrupting the cache/idmap...
1150                         this should be fixed someday, to handle this
1151                         automatically
1152                         On second thought... is this right?  Perhaps
1153                         it is better to fail if the PIN is not what
1154                         is expected, so a user doesn't accidentally
1155                         sync the wrong device and lose data.
1156                         Actions to take on new PIN:
1157                                 - force slow_sync, or
1158                                 - fail
1159                 - incorporated the new VCardConverter code into the
1160                         main barry_sync.cc plugin code
1161                 - fixed bug that did not clear the devices dirty flags
1162                         in the case where a sync only read data from it,
1163                         and didn't write
1164                 - changed PIN error message number to hex
1165 2007/07/20
1166         - minor wording change in backup GUI prompt: "Backup working..." to
1167                 "Backup in progress..."
1168         - renamed Contact class's Title field to JobTitle for clarity
1169         - added record function ParseFieldString(), which properly handles
1170                 strings from the device that have multiple null terminators,
1171                 and changed the record parsing code to use this new function
1172         - moved FullName() function from ldif.cc to r_contact.cc since it
1173                 is generally useful in areas outside of LDIF processing
1174         - refactored postal addresses in the Contact record class into
1175                 a new class called PostalAddress
1176         - renamed Address class in record.h to EmailAddress
1177         - moved Contact::GetPostalAddress() to record.cc as part of the
1178                 new PostalAddress class and renamed it
1179                 PostalAddress::GetLabel()
1180         - opensync plugin:
1181                 - refactored vformat helpers into separate base class
1182                         called vBase
1183                 - added vCard converter class
1184                 - commented out the code that skipped over the adding
1185                         of empty attribute values and parameters,
1186                         since VCARD depends on some of this behaviour
1187                 - movified vformat.c:vformat_find_attribute() to take
1188                         an extra nth argument, in order to search
1189                         for multiple attributes with the same name...
1190                         the way this is coded is a bit inefficient...
1191                         but we're moving away from vformat when we move
1192                         to OpenSync 0.3x / 0.40, so this is just temporary
1193                         pain
1194 2007/07/19
1195         - added SUBSYSTEM=="usb_device" to example udev rules, in order
1196                 to avoid running bcharge for each endpoint that is
1197                 added by udev, when first plugged in.  Running bcharge
1198                 back-to-back multiple times can crash some
1199                 Blackberries.
1200 2007/07/14
1201         - opensync plugin:
1202                 - fixed ID mapping bug in the case of a non-numeric UID
1203                         from syncing external -> Barry, and then the
1204                         new Barry ID would look like a new change
1205                         when syncing back from Barry -> external.
1206                 - added support for slow sync
1207                 - added clear() to idmap class
1208                 - added vformat attr parameter extraction class
1209                 - added more trace logging during vformat/Barry conversions
1210                 - added Notification time support
1211                 - handled "all day" vformat special case, when DTEND
1212                         does not exist in a vformat data block
1213         - changed the min1900_t time conversion functions to handle
1214                 the 0xffffffff special case, when notifications
1215                 are turned off on a calendar event (src/time.cc)
1216         - also made the calendar data dump output clearer for
1217                 disabled timestamps, and added debug output
1218                 for the raw min1900 value, in case there are more
1219                 special cases in the future
1220 2007/07/13
1221         - fixed null pointer access in opensync's HasMultipleVEvents()
1222 2007/07/12
1223         - upper management directive: revert all OpenSync 0.3x changes
1224                 and proceed with OpenSync 0.22.  Reverting the
1225                 opensync-plugin/src tree to Barry 0.7 status.
1226 2007/07/06
1227         - reorganized exception and trace code in opensync plugin
1228         - added XmlToCalendar() function, based on unfinished opensync
1229                 library API that is not yet finished... will be
1230                 committed to opensync svn tree when complete
1231         - added OSyncXMLField logger to plugin trace class
1232 2007/06/29
1233         - applied email MessageRecord patch from Brian Edginton (thanks!)
1234         - updated Message::Dump() to output more valid mbox data...
1235                 the goal is to be able to do:
1236                         btool -d "Messages" > email.mbox
1237                         mutt -f email.mbox
1238         - changed some TODO's to FIXME's to keep it grep-consistent
1239         - applied Folder support patch from Brian Edginton
1240         - fixed pedantic compile warnings, and changed order in src/Makefile.am
1241         - removed unneeded cast in src/r_folder.cc
1242 2007/06/28
1243         - minor adjustment to ctags building in buildgen.sh
1244         - applied patch from Brian Edginton for better boost detection
1245                 in configure.ac
1246         - added boost usage message to btool -h output
1247 2007/06/21
1248         - more porting of OpenSync module to 0.30
1249         - added ctags build for opensync source tree to buildgen.sh
1250 2007/06/14
1251         - changed PKG_CONFIG_PATH setting in rpm script, so that systems
1252                 like SuSE that have an extensive PKG_CONFIG_PATH
1253                 in general use will not break on build
1254         - added PKG_CONFIG_PATH to debian script too, just in case :-)
1255         - added debian/changelog to doc/ReleaseChecklist.txt
1256         - added comment to rpm/barry.spec regarding SuSE RPM builds
1257 2007/06/08
1258         - applied patch from Niels de Vos fixing debian package build
1259                 dependency
1260         - applied Brian Edginton's Saved Email Messages patch
1261         - updated r_saved_messages.cc comment to match header
1262         - added GetRecType()/GetUniqueId() to r_saved_messages.h, since
1263                 SetIds() is already there
1264         - removed Address version of operator<<() from message related headers
1265                 and moved into record.h
1266         - added std::hex to message related dumps, and changed output to
1267                 be more mbox-like
1268         - updated doc/CodingStyle.txt to cover switch() statements
1269         - opensync compiles again, with 0.30!  (not functional yet)
1270                 - moving closer to more modular and reusable plugin functions
1271         - updated release checklist for opensync version number
1272 2007/06/07
1273         - added doc/CodingStyle.txt... preliminary version
1274 2007/06/06
1275         - applied Brian Edginton's PIN message patch
1276         - changes to PIN message patch:
1277                 - fixed missing backslash in src/Makefile.am
1278                 - fixed tab alignment throughout
1279                 - removed typedef from Address struct
1280                 - added clear() to Address... might as well, if it it is
1281                         going to be a standalone type
1282                 - fixed missing comma in PINMessageFieldLinks table
1283                 - changed MessageRecordId in PINMessage to load from a new
1284                         uint32_t field in CommonField, instead of piggy
1285                         backing on a field for other use
1286         - did some testing and found that PINMessage's MessageRecordId
1287                 is the same as the RecordId given through the SetIds()
1288                 API... but these Id's are duplicated in the protocol...
1289                 RecordId is stored in the protocol header, while
1290                 MessageRecordId is stored in the record it self as
1291                 a common field... added RecType and RecordId to
1292                 PIN Message so that we store both of these
1293         - updated AUTHORS
1294 2007/05/27
1295         - added item to gui/TODO
1296         - applied Brian Edginton's s11n-boost.h patch
1297 2007/05/25
1298         - renamed template values to more consistent naming scheme
1299         - applied memos and tasks patch from Brian Edginton, slightly
1300                 modified to split into the new separate files system
1301         - changes to memos and tasks classes:
1302                 - reformatted the code to match coding style
1303                         (come on Brian) :-)
1304                 - added copyright notice
1305                 - changed class to singular (Memo, not Memos)
1306                 - placed in Barry namespace
1307                 - added #ifdef header protectors
1308                 - added new files to Makefile.am
1309                 - added new r_*.h headers to record.h
1310         - added support for Memos and Tasks to tools/btool.cc, based on
1311                 Brian Edginton's patch
1312                 (currently commented out, for Boost library reasons):
1313         - added doc/CommitPolicy.txt
1314         - updated AUTHORS
1315 2007/05/24
1316         - added ctags generation to buildgen.sh
1317         - applied record.{h,cc} fix patch from Brian Edginton
1318                 - ClassFlag
1319                 - FreeBusyFlag
1320                 - Clear() fixes
1321         - fixed broken formatting in above patch
1322         - refactored record parser classes into separate files for each
1323         - changed the ConvertHtoB<> template to inline, as it caused
1324                 linker errors with the new file layout
1325 2007/05/17
1326         - fixed bug in Debian packaging that put util commands in
1327                 /bin and /sbin instead of /usr/bin and /usr/sbin
1328         - commited byteswap.h replacement code from gm2net
1329         - backup gui:
1330                 - removed unneeded debug messages on stdout
1331                 - changed the default for debug output to "off"
1332                         and added a command line option to turn
1333                         it on if necessary  (--debug-output)
1334                 - command line option --help now also works
1335         - fixed bug in Calendar class where it didn't initialize
1336                 RecType properly... and cleaned up other RecType
1337                 code to use the GetDefaultRecType() functions,
1338                 localizing the constants in one place
1339 2007/05/11
1340         - applied patches from Brian Edginton, parsing more
1341                 fields in Contact and Calendar records
1342         - added Brian Edginton to AUTHORS
1343         - reformatted record.{h,cc} to match the rest of the code,
1344                 removed commented out code, and removed mention of
1345                 Outlook from the comments.
1346         - updated udev/10-blackberry.rules.Debian for Debian Etch
1347         - updated debian/rules to use new udev rules file
1348         - removed debian/postinst, as stable versions of Debian now
1349                 have a recent udev, and don't need the special handling
1350         - updated Debian build scripts to build separate packages:
1351                 libbarry
1352                 libbarry-dev
1353                 barry-util
1354                 barrybackup-gui
1355         - added menu support to Debian barrybackup-gui package
1356         - made the buttons bigger in the backup GUI, as they were too
1357                 small on Debian Etch
1358         - opensync plugin:
1359                 - more progress in porting to opensync 0.30, heavily
1360                         based on the example plugin in the opensync
1361                         svn tree...  this is a work in progress, and so far
1362                         is incomplete
1363 2007/05/04
1364         - opensync plugin:
1365                 - partial porting to opensync 0.30 (in progress!)
1366                 - fixed bug in sync_done where it reported context error
1367                         and then success afterward
1368         - checking in new INSTALL files based on Etch's autoconf run
1369         - added item to gui's todo list
1370         - bumped version numbers to 0.8 in:
1371                 - configure.ac
1372                 - src/Makefile.am
1373                 - src/version.cc
1374                 - gui/src/BackupWindow.cc (about dialog)
1375                 - src/Doxygen
1376                 - rpm/barry*.spec
1378 Release: version 0.7 - 2007/05/02
1379 ------------------------------------------------------------------------------
1380 2007/05/02
1381         - added rpm building to maintainer/release scripts
1382         - added "HEAD" feature to tarball creation script, for easier testing
1383         - updated maintainer/README
1384         - updated maintainer/release.sh to use new HEAD feature too
1385 2007/05/01
1386         - added pppob to rpm barry.spec
1387         - bumped release number in barry.spec
1388 2007/04/30
1389         - opensync plugin:
1390                 - fixed size check bugs (strlen() == 0 when empty)
1391                 - finished refactoring calendar conversion routines
1392                 - started timezone parsing, but this may go away
1393                         if we use opensync 0.30's time functions and
1394                         xml data format...
1395                 - added development note to README
1396 2007/04/29
1397         - updated README and opensync-plugin/README with more current
1398                 build instructions
1399         - opensync plugin:
1400                 - refactored some calendar conversion routines
1401                 - added Barry->vCalendar conversion for recurring appointments
1402 2007/04/27
1403         - opensync module:
1404                 - removed some unneeded trace logs
1405                 - fixed VEventConverter constructor bug, with uninitialized
1406                         m_Data pointer
1407                 - eased up the requirement that every calendar event
1408                         must have a summary... defaults to "<blank subject>"
1409                         if empty
1410                 - added more VCALENDAR fields to match Barry::Calendar record
1411                 - fixed case sensitive compares in vformat.c
1412 2007/04/26
1413         - opensync module work:
1414                 - added id map class to map string uid's from OpenSync to
1415                         numeric ID's from the Blackberry
1416                 - fixed bug in CommitChange() where it was still using
1417                         a hard coded calendar record state table
1418                 - added lots of logging throughout
1419                 - fixed bug where newly added records didn't use the
1420                         change object's uid, but created a new ID,
1421                         causing another sync on the next run
1422                         i.e. (CommitData_t was missing an argument)
1423                 - fixed bug where uninitialized notification time was
1424                         written to the Blackberry
1425         - more opensync module work:
1426                 - refactored the environment class into another subclass
1427                         called DatabaseSyncState, and moved some stand-
1428                         alone functions from barry_sync.cc into
1429                         the environment classes
1430                 - added a tagged constructor to the trace class
1431                 - fixed idmap::Load() to clear map before loading
1432 2007/04/20
1433         - renamed barry-config to barry-sync, the default configuration
1434                 file for the opensync module... and filled it with
1435                 a sample configuration
1436         - added code to update the calendar cache, and write it to disk
1437                 on success (opensync module)
1438         - added code to clear dirty flags in the device (opensync module)
1439         - allowed comments in the config file
1440         - added vformat.c from libopensync 0.22, since the vformat
1441                 routines are not available from the plugin side
1442 2007/04/19
1443         - updated gui/TODO
1444         - added -d switch to bcharge to switch back from 0001 to 0004 mode,
1445                 changed the auto-detection logic to ignore iProduct and
1446                 only use idProduct, and updated man page
1447         - updated breset to recognize the Pearl in 00004 mode as well
1448         - changed src/probe.cc logic to assume that the second endpoint
1449                 pair is the one needed for database communication, instead
1450                 of doing a reverse search from the end... newer Pearls
1451                 in Dual mode seem to have at least 3 or 4 endpoint pairs,
1452                 and the old search didn't always work
1453         - applied sourceforge patch #1696884 from Peter Silva, updating
1454                 the Debian build for Etch, and including all files in one deb
1455         - added Peter Silva to AUTHORS file
1456         - uncommented the "make distclean" in debian/rules, and removed
1457                 the reliance on /tmp when installing 99-barry-perms.rules
1458         - applied bb_task_format.txt patch from Peter Silva
1459         - fixed each misspelling of "recurrance" to "recurrence"
1460         - tweaked src/probe.cc again for paranoia's sake... start at
1461                 offset 1 if more than 1 endpoint pair, otherwise start
1462                 search at 0
1463         - split up opensync module into multiple source files, and started
1464                 using the opensync vformat routines for parsing and building
1465                 the vevent20 data (experimental)
1466 2007/04/04
1467         - more incremental work on the opensync plugin, adding ADDED
1468                 and MODIFIED functionality... (experimental!)
1469 2007/03/30
1470         - added code to dump extra descriptors during device discovery,
1471                 if found
1472         - bumped opensync version number in configure.ac, and made
1473                 the configure scripts more consistent with the rest
1474                 of the project
1475         - fixed printf-format size bug in opensync module
1476 2007/03/29
1477         - applied patch from Niels de Vos, fixing deb udev rules for Pearl
1478         - updated AUTHORS
1479         - fixed extra space bug in LDIF output (added space when creating
1480                 FullName, even if there was no last name)
1481         - fixed Address Book record parsing in Contact class... the
1482                 Blackberry database uses field id 0x20 for both the
1483                 first and last names, and if only a last name exists,
1484                 the first name will be empty.  Fixed parser to handle
1485                 this special case, without relying on string length.
1486                 Thanks to Troy Engel for reporting above two LDIF bugs.
1487         - added a few more constants to bcharge.cc
1488         - renamed opensync's configure.in to configure.ac
1489 2007/03/17
1490         - fixed bcharge to avoid endless reset loop... oops
1491 2007/03/16
1492         - reorganized bcharge.cc to make it possible to switch between
1493                 Pearl modes 0004 and 0001
1494         - added flag to BadPassword exception class, to signal whether
1495                 the library considers the device "out of retries" or not
1496         - updated socket.cc for new BadPassword exception
1497         - added special case to Controller class destructor to reset the
1498                 device if being destroyed in a half-open state... this is
1499                 a temporary fix until we understand how to handle
1500                 the "already open" message we get when opening the Desktop
1501                 in some cases
1502         - added password prompt dialog to the backup GUI
1503         - fixed possible memory leak in GUI's DeviceInterface::Connect()
1504 2007/03/08
1505         - committed Troy Engel's bbrules_mass_symlinks.patch, fixing
1506                 udev rules for the Pearl
1507         - updated 10-blackberry.rules.Debian to match 10-blackberry.rules's
1508                 functionality
1509         - applied Troy Engel's barry.spec patch to generate all required
1510                 RPM's... Thank you!  Notes in the README taken from
1511                 the sourceforge tracker entry containing the patch.
1512         - added libusb lib flags to tools/ and examples/ makefiles,
1513                 and tweaked configure.ac with a better default,
1514                 to build cleanly on RHEL 4
1515         - modified rpm/barry.spec:
1516                 - does not create doc-only barry base package anymore
1517                 - fixed "barry-backup" typo
1518                 - removed the patch step, as version 0.7 shouldn't need it
1519                 - added license file to each package
1520                 - commented out console perms scripts, pending mailing list
1521                         discussion
1522         - updated AUTHORS
1523         - applied Troy Engel's barry.spec patch to fix RHEL4 compile issues
1524         - fixed 80 column wrapping error in barry.spec, thanks to Troy Engel
1525                 for the bug report
1526         - applied Troy Engel's udev permissions patch for Redhat/Fedora
1527                 systems, which automatically set the ownership of a
1528                 newly plugged in device to the currently logged in console
1529                 user.
1530         - added udev/README to document what all those files are for...
1531                 part of the text comes from the sourceforge comment
1532                 on the above udev permissions patch from Troy Engel
1533         - uncommented the console perms scripts for rpm/barry.spec
1534         - added libglademm-2.4 to gui/README's dependency list
1535         - made usbwrap.* calls more threadsafe
1536         - added Usb::Timeout exception for timeout errors
1537         - added preliminary UsbSerData support to library for GPRS modem
1538                 functionality, using Rick Scott's XmBlackBerry's serdata.c
1539                 as a guide
1540         - added overloaded Socket::Send() for sending without receiving
1541         - added preliminary pppob command line tool
1542 2007/03/02
1543         - version bump in:
1544                 - configure.ac
1545                 - src/Makefile.am
1546                 - src/version.cc
1547                 - gui/src/BackupWindow.cc (about dialog)
1548                 - src/Doxyfile
1549                 - rpm/barry.spec
1550         - build system tweaks for opensync-plugin, and added a buildgen.sh
1551                 for it
1552         - added better debug messages in probe.cc and usbwrap.cc's
1553                 device discovery code
1554         - changed error handling for null interface->altsetting pointers
1555                 when doing device discovery in usbwrap.cc.  Seems that
1556                 some devices report a higher number in bNumInterfaces
1557                 than are really available... in this case, let's
1558                 just ignore the missing data and assume success
1559         - applied udev script patch #1663986 from Troy Engel
1560         - applied barry-bcharge.spec patch #1672178 from Troy Engel
1561         - ReleaseChecklist update
1562         - added rpm/README based on Troy Engel's patch notes
1563         - updated new barry-bcharge.spec for version 0.7, removing patch
1564                 dependency
1566 Release: version 0.6 - 2007/02/28
1567 ------------------------------------------------------------------------------
1568 2007/02/28
1569         - fixed size checks for device database records larger than 64K
1570                 Thanks to Michael Brown for the bug report.
1571         - added initial release maintainer scripts
1572         - fixed odd backup success message in GUI when doing a backup with
1573                 no databases selected in configuration
1574                 Thanks to Michael Brown for the bug report.
1575         - added udev permissions file patch from Michael Brown
1576         - added Michael Brown to AUTHORS
1577         - updated README, gui/README, and doc/USB-capture.txt
1578         - added -o command line switch to bcharge.cc, and updated man page
1579 2007/02/23
1580         - changed library behaviour so it only turns on libusb debug output
1581                 if in data dump mode.  In btool, -v controls this output.
1582         - minor stream formatting fix in btool
1583         - added OpenSSL dependency to build for password hash support
1584         - made debug dout() output conditional on Init() flag... In btool,
1585                 -v now controls this as well
1586         - reverse engineered more of the initial probe packets, and
1587                 implemented probing in struct based code... changes include:
1588                 - added support for "attribute fetch" packets, used at
1589                         the beginning of USB conversations
1590                 - defined object/attribute id codes for the PIN number
1591                 - made Protocol::SocketCommand more robust, and implemented
1592                         its sequence number behaviour
1593                 - moved ModeSelectCommand into SocketCommand, as it is a
1594                         socket 0 level command
1595                 - added initial protocol struct: PasswordChallenge
1596                 - renamed Barry::Packet to DBPacket
1597                 - added ZeroPacket for socket 0 packet creation and analysis
1598                 - Barry::Packet is now the base class for the above
1599                 - implemented socket 0 behaviour in socket.cc
1600                 - changed return values for Send/Receive/Packet/NextRecord
1601                         members in the Socket class from bool to void, as they
1602                         don't generate errors themselves, but only can
1603                         have an error if Usb::Device throws an exception.
1604                         Cleaned up all code that called these members as well.
1605                 - removed "last status" from Socket class as it was unused
1606                 - updated probe.cc to use new socket 0 implementation
1607                 - removed two of the hard coded packet handshakes in favour
1608                         of socket 0 packets
1609                 - updated controller.cc:
1610                         - uses new socket 0 implementation
1611                         - removed "flag" hack when opening sockets and
1612                                 selecting modes, as it should use the
1613                                 socket 0 sequence number
1614         - added initial, incomplete prototype header for the C API
1615         - updated some .cvsignore files
1616         - updated TODO
1617         - updated ReleaseChecklist.txt, adding rpm spec file
1618         - added the following to ZeroPacket:
1619                 - ChallengeSeed()
1620                 - RemainingTries()
1621                 - SocketResponse()
1622                 - SocketSqeuence()
1623         - moved Command() to base Packet class
1624         - added comments to protostructs.h and size constants for the
1625                 new PasswordChallenge struct
1626         - added password support to Socket and Controller classes
1627                 Thanks to Rick Scott's XmBlackBerry for the openssl
1628                 password hashing logic.
1629         - updated btool to use new password support, and updated its man page
1630 2007/02/22
1631         - updated Doxygen input files and version, and added to ReleaseChecklist
1632         - fixed btool PIN output for LDIF mode, now commented in output
1633         - major LDIF overhaul:
1634                 - split LDIF specific code out of the record class and
1635                         into its own
1636                 - fixed "full name" behaviour that added an extra space
1637                         in dn attributes, as reported by Troy Engel
1638                 - added support for mapping of LDIF attributes to Barry
1639                         contact field names
1640                 - fixed base64 handling, so attributes are only so encoded
1641                         if necessary
1642                 - fixed base64 attribute reading inconsistency... some
1643                         notes fields were missed in old version if not
1644                         encoded
1645                 - added support for specifying alternate attribute for
1646                         constructing a FQDN, instead of just "cn"
1647                 - updated btool and upldif to use new features
1648         - large update to btool manpage
1649         - fixed initialization bug in Contact constructor (missed RecType)
1650 2007/02/15
1651         - added ktrans.cc to make reading of kernel usbfs_snoop logs easier
1652         - removed commented code from translate.cc
1653         - added Pearl handshake support to bcharge.cc, which resets the
1654                 Pearl so that the vendor specific 0xFF class exists.
1655                 This should allow use of btool on the Pearl.
1656         - added Data::AppendHexString to data.cc
1657         - added better probing support for the Pearl, so it detects the
1658                 Product ID 0x0004 mode, and does a search for class 0xFF
1659                 instead of hardcoding it.
1660 2007/02/10
1661         - applied README patch from Ian Darwin
1662         - minor tweaks to README
1663         - added missing errno.h header in src/usbwrap.cc for AMD64
1664                 Thanks to Jonathan Hudson for reporting the bug.
1665         - tightened up size checks in Data::ReleaseBuffer()
1666         - stable libusb *does* return the actual length of the USB packet...
1667                 fixed this in usbwrap.cc to set the actual size of read data,
1668                 and removed the size hacks elsewhere in the code:
1669                 probe.cc, protocol.cc, socket.cc, usbwrap.cc
1670 2007/02/09
1671         - added proper return codes for error conditions in btool.cc
1672         - clarified some stream output code in the library, for hex/dec numbers
1673         - removed old, non-working connect.cc test program
1674         - added iomanip to debug.h
1675         - changed usbwrap to call libusb again if EINTR and EAGAIN
1676                 This should fix one of the OpenBSD issues
1677 2007/02/04
1678         - updated AUTHORS
1679         - fixed bug in barrybackup GUI that didn't create the target path
1680                 if the user didn't do Edit | Config first.
1681                 Thanks to Ian Darwin for reporting the bug.
1682         - applied gui/src/ConfigFile.cc header fix patch for OpenBSD
1683                 from Ian Darwin
1684 2007/02/03
1685         - added initial btool.1 man page from Ian Darwin
1686         - updated man/Makefile.am for new btool.1
1687         - updated AUTHORS
1688         - applied btool -h help clarification patch from Ian Darwin
1689 2007/02/02
1690         - reworked exception hierarchy, so applications can handle all
1691                 Barry related exceptions, including Usb errors, with
1692                 one base class: Barry::Error
1693         - fixed all the ripple changes this caused throughout the codebase
1694         - added BadPassword exception
1695 2007/02/01
1696         - version bump in:
1697                 - configure.ac
1698                 - src/Makefile.am
1699                 - src/version.cc
1700                 - gui/src/BackupWindow.cc (about dialog)
1701         - updated doc/ReleaseChecklist.txt
1702         - added usb-level breset.cc command line tool
1703         - fixed bug in gui/src/tarfile.* for systems where
1704                 sizeof(int) != sizeof(void*)
1705                 - TarFile class now uses a plugin style for the compression
1706                         operations, to allow for threadsafe versions if needed
1707                         in the future.
1708                 - also fixed leaked file handle bug in open_compressed()
1709                 - Thanks to Jonathan Hudson for reporting this for 64bit systems
1710         - minor signed comparison fixes in the library
1711         - added better protocol data dumping code in probe.cc
1712         - added Usb::Device::BulkDrain(), to prevent Barry from hanging
1713                 due to pending reads
1715 Release: version 0.5 - 2007/01/26
1716 ------------------------------------------------------------------------------
1717 2007/01/26
1718         - added missing errno.h header to gui/src/util.cc
1719         - lots more endian fixes after testing on iMac  
1720         - iostream output size fixes
1721         - added option to btool to reset the device via software
1722         - beefed up exception handling in barrybackup
1723         - checked in opensync work-in-progress: trace logging, pointer bugfix
1724                 this is still experimental
1725         - added aboutdialog.* files from gtkmm24 2.10.6, so we have a dialog
1726                 class for systems running older versions of gtkmm, like
1727                 Debian stable
1728         - uncommented the about box menu handler
1729         - added "cleanall" option to root buildgen.sh script
1730         - update ReleaseChecklist.txt
1731         - removed CVS auto-history strings from aboutdialog.*
1732 2007/01/25
1733         - found a link between the unknown field in tagged protocol headers
1734                 and the unknown field in RecordStateTable entries.  This
1735                 field matters when uploading certain databases, such as
1736                 Browser Options.  It is unknown what this field really
1737                 means, but we're calling it RecType.  Updated the API
1738                 to use this in all parser objects and builder objects
1739                 and record objects that use it.
1740         - changed some uses of uint64_t to uint32_t, in Contact and
1741                 Calendar record objects... unique IDs only seem to be
1742                 32 bits
1743         - added new static function to record classes: GetDefaultRecType()
1744                 This returns the default rectype that should work
1745                 for that record.  Ideally this should be retrieved from
1746                 the device, but in the case where a database has no
1747                 records, this info would be good to know.
1748         - updated convenience template function Controller::AddRecordByType()
1749                 to use GetDefaultRecType()
1750         - documented the recurrence data and how to use it in Calendar objects
1751         - added data debug output for incoming USB packets in the
1752                 socket class... when we ported to the stable libusb
1753                 we lost some of the verbose output... this should get it
1754                 back.  (In the official release, you need to uncomment
1755                 ddout() in debug.h for the full blast of debug output).
1756         - backup GUI updates:
1757                 - changed error_done signal into a pure error signal,
1758                         and changed the logic so the restore continues
1759                         even if there was a protocol error on one database
1760                 - changed status bar messages to show what's happening
1761                         i.e. Backup or Restore
1762                 - default to not restore the "Handheld Agent" database as
1763                         it appears to be read-only on the device
1764                 - added temporary Restore & Backup mode for debugging
1765                 - added extra hyphen to backup files to show date/time better
1766                 - updated GUI to save and restore the new RecType field
1767                         supported now by the library
1768 2007/01/21
1769         - added future considerations to doc/ReleaseChecklist.txt
1770         - applied big endian patch from Jonathan Hudson
1771         - changes to patch:
1772                 - removed endian.h include from barry.h, since applications
1773                         using the library should not care about endianness
1774                 - hard coded the path to config.h in endian.h
1775                         so that endian.h never makes it into the final
1776                         install
1777                 - removed DEFAULT_INCLUDES setting from src/Makefile.am
1778                         for the same reason
1779                 - removed config.h dependency in btool.cc and used library
1780                         Version call instead
1781         - added big/little endian text to the Barry::Version call
1782         - updated AUTHORS
1783         - fixed install location of bcharge when building with ./configure;
1784                 now goes to sbin/ for both source compile and binary packages
1785                 Thanks to Jonathan Hudson for reporting this bug.
1786 2007/01/20
1787         - added smarter timeout values to controller, and allowed
1788                 timeout overrides in the packet, socket, and usbwrap code...
1789                 extra timeouts are needed for erasing databases for
1790                 some older devices
1791         - added an explicit DataDumpParser class to btool.cc, as the
1792                 library doesn't always have extreme verbose debugging on...
1793                 this makes sure anyone can always get raw database packets
1794                 through btool, for development
1795         - added thread callback signals for error finishes and erase_db
1796                 operations, so the GUI is updated properly
1797         - more GUI cleanups (status bar updates, etc)
1798         - finished implementation of GUI restore
1799         - fixed gtkmm/glibmm exception handling when the exceptions
1800                 occur in sigc signal handlers... in that case,
1801                 exceptions need to be handled with
1802                 Glib::add_exception_handler()
1803         - added filename-only reading support to TarFile class
1804         - added pending gui/TODO items
1805 2007/01/19
1806         - backup GUI now properly shows progress
1807         - the buttons become insensitive when backup is busy
1808         - refactored directory check code, and added mkdir check
1809                 when to the backup setup (so the directory exists
1810                 when we try to write to it)
1811         - updated code to use Barry::Data in new namespace
1812 2007/01/18
1813         - moved Data class into Barry namespace
1814 2007/01/13
1815         - updated copyright dates for the new year
1816         - clarified exception message in controller.cc
1817         - fixed pointer initialization bug in controller.cc
1818         - added documentation comments to parser.h and builder.h
1819         - updated ReleaseChecklist.txt
1820         - updated README
1821         - changed Barry library configure scripts to make better
1822                 use of pkg-config for autodetecting dependencies
1823         - added initial Barry Backup GUI (gui/ directory), capable of making
1824                 backups only at this point
1825 2007/01/11
1826         - added doc/ReleaseChecklist.txt
1827         - added version API, returning version number and string
1828         - added Troy Engel to AUTHORS
1829         - added special case to bcharge.cc for the Blackberry Pearl,
1830                 which doesn't reset itself after the charge handshake
1831                 Thanks to Troy Engel for testing.
1832 2007/01/05
1833         - added pkg-config support for the library (libbarry-0.pc.in)
1834         - fixed compile error on g++ 3.3 systems (missing stdint.h
1835                 in probe.h)
1836         - fixed protocol hang at end of Controller operation... in
1837                 controller destructor, it was deleting the USB interface
1838                 before closing the socket at the BlackBerry level, thereby
1839                 leaving the device in Desktop mode
1840 2007/01/04
1841         - support the newer udev packages on Ubuntu, which need slightly
1842                 different rules
1843         - modified bcharge.cc to search for Pearl devices too.
1844                 USB product ID 6
1845         - added Pearl product ID to probe code, but likely not functional
1846                 yet until we find someone able to get a USB capture for us
1847 2006/12/29
1848         - version bump in configure.ac and src/Makefile.am
1850 Release: version 0.4 - 2006/12/29
1851 ------------------------------------------------------------------------------
1852 2006/12/29
1853         - added bcharge.cc to the tools/ directory (whoohoo!)
1854         - added initial release version of rpm/barry.spec (aka bcharge.spec)
1855                 This begins the barry binary release, currently only
1856                 including the bcharge utility, but possibly more in
1857                 the future.  Future binary packages will likely include
1858                 libbarry, libbarry-devel, etc, which barry will then
1859                 depend on.
1860         - added udev rule script for BlackBerry devices
1861         - added man/ directory and bcharge.1 manpage
1862         - added debian/ directory for building deb packages, with initial
1863                 package scripts
1864         - added rpm/make-rpm-tarball.sh for building RPMs
1865         - split out technical docs into separate libbarry.docs file for
1866                 a future Debian install
1867         - added more cleaning to buildgen.sh
1868         - added new udev rule file for Debian stable
1869         - hardcoded g++ to 3.3 in debian/rules as I have multiple versions
1870                 on my system and need to compile releases with stable
1871 2006/12/21
1872         - ported Barry to use the stable branch of libusb
1873                 NOTE: no longer depends on the devel libusb tarball!
1874                         Just use your distro's libusb packages.
1875         - fixed more endian issues
1876         - minor update to TODO
1877 2006/12/15
1878         - moved Exceptions, Hacking, and VersionNotes to doc/
1879         - added doc/USB-capture.txt
1880 2006/12/08
1881         - added Controller::AddRecord() and template helper
1882         - added beginning version of generic RecordFetch<> template
1883         - set default of Barry::Init() to false (no data dump mode)
1884         - added examples/ directory, with first addcontact.cc example
1885 2006/12/07
1886         - added autoconf support based on Peter McAlpine's patch
1887         - renamed Makefiles to Makefile.orig and added script to turn
1888                 on old build system if wanted
1889         - fixed boost-specific error path in btool
1890         - moved platform specific code out of time.h and into time.cc
1891         - moved btool.cc, translate.cc, and upldif.cc out of src/ and
1892                 into their own tools/ subdirectory
1893         - added NEWS file to make autotools happy
1894         - added a "clean" option to the buildgen.sh script... maintainer's
1895                 use only
1896         - reworked autoconf and automake files, to support
1897                 barry as a library, to move the programs into their
1898                 own tools directory, and support a proper installation
1899         - fixed headers in parser.h, btool.cc, and upldif.cc to work
1900                 properly when installed standalone
1901         - added tools/Makefile.plain for testing compiling against
1902                 installed barry library
1903         - added commentary on version number system
1904         - removed Makefile.conf and Makefile.orig, as new autoconf
1905                 system supercedes it
1906         - added support for boost serialization library in autoconf build
1907         - added library version number to autoconf build
1908         - changed boost flag to __BARRY_BOOST_MODE__ to avoid collisions
1909         - removed debug.h dependency from btool.cc
1910         - removed libusb check in favour of specific --with-libusb
1911                 option... may need to revisit this later
1912         - quick installation update in README
1913 2006/12/01
1914         - fixed some missed endian conversions in record.cc and added
1915                 some size checks
1916         - fixed endian issues in time.h
1917         - added 2 more functions to the time zone API, and adjusted
1918                 the time zone table for better defaults in North America
1919         - added btool and upldif to the make install sequence
1920         - added support for Calendar recurrence data
1921         - small doc/TimeZones.txt update
1922 2006/11/24
1923         - added BlackBerry time zone code list, reverse engineered from a 7750
1924         - added GetTimeZone() to convert device time zone codes to useful data
1926 Release: version 0.0.3 - 2006/11/24
1927 ------------------------------------------------------------------------------
1928 2006/11/23
1929         - added return code check to Controller::SaveDatabase()
1930         - fixed Data() class constructor, so it doesn't auto-convert
1931                 from any int
1932         - fixed size checking bug in Packet::ReturnCode() that caused
1933                 uploading to device to fail
1934 2006/11/10
1935         - added Exceptions doc file, documenting the C++ exceptions used,
1936                 and their hierarchy
1937         - fixed small bug in 'make install' which didn't build first
1938         - minor documentation and cleanup in upldif.cc
1939         - added utility functions to the RecordStateTable class,
1940                 GetIndex() and MakeNewRecordId()
1941         - changed btool so that the -d command modifiers can be
1942                 specified multiple times to work with multiple records
1943                 at once
1944         - added Calendar sync code to the opensync module (not complete)
1945         - cleaned up exception handling in the opensync module, making
1946                 more use of the base exception to make sure no
1947                 exceptions leak into the C library code
1949 Release: version 0.0.2 - 2006/10/12
1950 ------------------------------------------------------------------------------
1951 2006/10/12
1952         - fixed casting error in opensync module
1953         - minor updates to documentation to prepare for release
1954 2006/09/29
1955         - added stdint.h to parser.h for uint32_t.  Thanks Ron Gage for
1956                 the bug report
1957 2006/09/08
1958         - large refactoring of the packet parsing and building code,
1959                 splitting the code into 3 groups:
1960                 - record: handles record specific parsing and building...
1961                         this is mostly subfields with CommonField structs
1962                         as their headers, but sometimes has a specific
1963                         header of its own, in the case of email
1964                         Note: email's header is as yet undecoded.
1965                         Record does not know the details of the packet
1966                         formats, only the formats of its own record data.
1967                 - packet: handles building of complete command packets
1968                         and handles parsing of commonly used header values,
1969                         providing an API for it... packet does not know
1970                         the record format details, but does know the
1971                         details of each Database Operation (protocol.h)
1972                         packet format.
1973                         So far, it seems that there is a real separation
1974                         of operation formats and record formats, with the
1975                         record formats being the same even with different
1976                         database operation codes (GET_RECORDS /
1977                         OLD_GET_RECORDS), which was not confirmed before.
1978                         See the header size of the email record after
1979                         refactoring.
1980                 - controller: handles device state, and the management of
1981                         sockets, commands, and checking for response values.
1982                         The Controller object does not know the format
1983                         of either the record or the packet it is sending,
1984                         but does know the protocol handshake logic used
1985                         to talk to the device.
1986         - implemented SetRecord (SET_RECORD_BY_INDEX)... syncing, here
1987                 we come!
1988         - spelling correction in opensync-plugin/AUTHORS
1989 2006/09/01
1990         - added sample hotplug scripts
1991         - added .cvsignore files for doxygen and opensync directories
1992         - added src/endian.h... still need to add configure support to
1993                 handle non-little-endian machines
1994         - added exception handler in opensync plugin commit_change()
1995         - removed the device reset code in probe.cc, as resetting a device
1996                 can renumber the devices in /proc on kernel 2.4.x,
1997                 and cause a failure to reach the device...
1998                 FIXME - this should be changed someday to reset if probing
1999                 fails, and restart the probe on reset, as sometimes
2000                 the blackberry devices respond differently when not reset
2001                 Ideally, the probe protocol should be properly reverse
2002                 engineered.
2003         - added support for retrieving record state table, which is needed
2004                 for smarter syncing
2005         - added support for retrieving, deleting, and clearing the dirty
2006                 flags of individual blackberry device records
2007         - added endian macros throughout the code
2008 2006/07/13
2009         - added opensync-plugin to root Makefile's clean
2010         - updated time conversion calls to match opensync's latest SVN
2011         - added opensync_change_set_changetype() (only add for now,
2012                 for development)
2013         - removed slow sync functions for now
2014 2006/07/07
2015         - added quick "install" makefile target, to src/install by default
2016         - added static library target... this is temporary until autoconf
2017                 stuff is added properly... needed for the opensync plugin
2018         - documented in comments that Barry::BError is intended to be
2019                 the base classes for all exceptions
2020         - added first round of implementation of an opensync plugin, based
2021                 on the example plugin code from the opensync sources
2022 2006/06/22
2023         - added to Contact record class:
2024                 - Clear()
2025                 - ReadLdif() to load and parse LDAP data
2026         - added fragmented send support to Socket class
2027         - added Probe::FindActive() to make client programs more streamlined
2028         - fixed hex/decimal printing of record counts in btool
2029         - added upldif.cc, a utility to take ldapsearch output on stdin
2030                 and upload it to a blackberry
2031         - updated src/.cvsignore
2032 2006/06/16
2033         - added parsing of service book fields:
2034                 - old and new name
2035                 - old and new unique ID (UID)
2036                 - content ID (CID)
2037                 - old and new description
2038                 - DSID
2039                 - bes domain / domain
2040         - date change in legal.txt
2041         - added initial parsing of ServiceBook field 0x09, and calling it
2042                 ServiceBookConfig for now, for lack of a better name
2043         - added parsing for ServiceBook field 0x02 on 72xx Blackberries...
2044                 seems to be a name or description, but doesn't appear
2045                 in the device's own GUI... called "Hidden Name" for now
2046 2006/06/09
2047         - added ServiceBook record class and parser code, based on some
2048                 of Ron Gage's reverse engineering... code is by Chris Frey
2049         - added AUTHORS file
2050         - fixed the libusb set_configuration/claim_interface order
2051                 bug in controller.{h,cc}... already fixed in probe,
2052                 but not controller.  Thanks Ron Gage for finding this.
2053 2006/05/25
2054         - renamed Changelog to ChangeLog in preparation for autoconf
2055         - renamed Todo to TODO in preparation for autoconf
2056 2006/05/18
2057         - make clean cleans up tests properly now
2058 2006/03/31
2059         - turned source code browsing on in Doxyfile
2060         - added LoadDatabaseByName() and LoadDatabaseByType() template members
2061                 to the Controller class
2062                 - new file: controllertmpl.h
2063         - documentation fixes in builder.h
2064         - added static GetDBName() functions to all record classes, in
2065                 support of the template Controller functions
2066         - fleshed out DatabaseDatabase::GetDBNumber() and GetDBName(),
2067                 returning errors properly
2068         - documented sample btool.cc code better, and added example
2069                 of Controller template member usage
2070 2006/03/29
2071         - copyright dates updated for 2006
2072 2006/01/05
2073         - backed out update to latest libusb DEVEL tree, since it is buggy.
2074                 Stick with libusb 2005/11/26
2075 2005/12/30
2076         - added clean target to convenience Makefile
2077         - added Boost to list of dependencies in README
2078         - fixed minor compile warnings in base64.cc
2079         - fixed new USB discovery code, and changed endpoint usage to use
2080                 it, instead of the READ_ENDPOINT and WRITE_ENDPOINT
2081                 constants... constants are now removed
2082                 common.h, controller.cc, probe.cc, probe.h, usbwrap.cc
2083         - added ClearHalt() to Usb::Device (usbwrap.cc)
2084         - updated usbwrap.h to match latest libusb CVS devel tree
2085         - updated README to refer to 2005/12/30 libusb CVS devel tree
2086         - added roadmap to Todo list
2087 2005/12/29
2088         - added convenience Makefile in root directory
2089         - added Hacking document
2090         - minor touchups to README
2091         - added caution warning to README, since this release will support
2092                 delete / overwrite / upload functionality
2093         - minor compile order change in Makefile (speed reasons)
2094         - added dynamic endpoint discovery to probe.cc
2095         - changed claim_interface/set_configuration() function call order in
2096                 probe.cc based on feedback on the libusb mailing list
2097         - added USB discovery code to usbwrap.{h,cc}
2098 2005/12/23
2099         - fixed packing bug in new upload header struct
2100         - renamed CommonField union from data to u to be consistent
2101         - added return_code field to DBAccess struct, for error checking
2102         - added response checking during upload: if response is non-zero
2103                 throw exception in controller.cc
2104         - added sorting operators to record parser classes... when writing
2105                 contact data to the device, it may be important to write
2106                 group link items last, since they reference other contacts...
2107                 This needs to be tested, and if not required, removed.
2108         - added GROUP_FLAG field code to Contact parser class
2109         - fixed offset bug in Contact and Calendar Build() functions
2110         - fixed name bug in Contact::Build(), now output only with data
2111         - added appointment type flag support to Calendar record parser
2112                 class, and "all day event" flag support
2113 2005/12/22
2114         - added autoconf to Todo list
2115         - refactored the protocol structures so that record structs can
2116                 be reused for upload and download
2117         - with new protostructs, more header control is handled by
2118                 controller.cc instead of record.cc parsers and builders
2119         - parser code now accepts an offset, to govern start of record data
2120         - changed Data sizes from int to size_t and removed casts
2121         - removed unneeded Parser::GetHeaderSize() (new protostructs make
2122                 this obsolete)
2123         - added Calendar::Build() for calendar uploads
2124 2005/12/10
2125         - added s11n-boost.h serialization templates for boost::serialization
2126         - added boost::serialization to build
2127         - minor change in usbwrap.cc to display error codes in decimal
2128         - added SizePacket special case code to Socket::Send()... this is
2129                 required when uploaded packet size is a multiple of 0x40,
2130                 a special 3 byte size packet is sent
2131         - moved some record class variables to public: so they can be
2132                 properly serialized
2133         - fixed variable name but in RecordBuilder template
2134         - added -f switch to btool, for saving and loading of record data
2135         - added -s switch to btool, for uploading saved data back to handheld
2136         - added Controller::SaveDatabase()
2137 2005/12/08
2138         - fixed potential casting / pointer bug in controller.cc
2139         - added builder.h, to support uploading
2140         - minor comment fixes in parser.h
2141         - added preliminary Contact protocol record building support
2142         - fixed field order bug in ContactRecord protocol struct
2143         - Contact record.h class now saves unknown Group Link field,
2144                 for later saving
2145 2005/12/07
2146         - added -fno-strict-aliasing to compiler flags so gcc-4.0.x won't
2147                 optimize away protocol struct casts
2148                 see: 
2149                 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25235
2150                 http://mail-index.netbsd.org/tech-kern/2003/08/11/0001.html
2151                 http://groups.google.ca/group/comp.lang.c++.moderated/ \
2152                         browse_thread/thread/e7bf096832526f8e/5714701b \
2153                         02a2a3cc?hl=en#5714701b02a2a3cc
2154         - changed headers so that any low level protocol-specific sizes and
2155                 structs are completely hidden in the library...
2156                 this adds library-only header: protostructs.h
2158 Release: version 0.0.1 - 2005/11/25
2159 ------------------------------------------------------------------------------
2160 2005/11/25
2161         - added barry.h for documentation purposes and application usage
2162         - updated README for release
2163         - renamed SBError exception class to BError
2164         - updated Doxyfile to version 1.4.5
2165         - added more doxygen comments
2166 2005/11/24
2167         - added conversion routines (and tests) between time_t and min1900_t
2168         - added -v option to btool to dynamically control protocol dumping
2169         - removed duplicated database database table display in controller.cc
2170         - minor spelling corrections
2171         - added copyright to usbwrap.{h,cc} as per earlier meeting
2172         - added support for Old protocol Calendar entries
2173 2005/11/20
2174         - added legal.txt, to save typing when adding new source files
2175         - ignore test-base64 file (cvsignore)
2176         - added contact-to-ldif generation, and updated supporting code
2177         - added argument to btool to support contact-to-ldif operation
2178         - added Contact::GetPostalAddress()
2179         - added README documentation in preparation for future release
2180 2005/11/19
2181         - added parser.{h,cc} virtual wrapper to generalize LoadDatabase()
2182         - added code to socket.cc's Packet() command to re-receive on
2183                 reception of empty packets... this seems to be a signal
2184                 from the device that it needs more time for long transfers
2185                 Current limit: 10 blank packets before exception is thrown
2186                 Observed maximum blank count: 1
2187         - added MessageRecord and OldMessageRecord to protocol.h
2188         - changed common record field structs to one CommonField struct
2189         - increased default USB timeout to 10 seconds (some loaded devices
2190                 seem to need more time...)
2191         - reorganized record.{h,cc} to try to reduce the code duplication
2192         - record.h classes now "know" the sizes of their corresponding
2193                 protocol structs... this may cause trouble down the line
2194                 with Python, if used(?)
2195         - added Message class for Email records
2196         - removed the "Get*" database functions and replaced with
2197                 general LoadDatabase() call, which loads any database
2198                 available, and parses it with a Parser object
2199         - added GetDBID() for searching for database numbers via name
2200         - added test code to retrieve and display all email
2201         - cleaned up comments
2202         - renamed blackberry.{h,cc} to controller.{h,cc}
2203         - renamed bbtool.cc to btool.cc
2204         - added Makefile.conf
2205         - added copyright notices to source files
2206         - added COPYING file with GPL
2207         - put parser in Barry namespace, and added auto_ptr-like mode for
2208                 store object pointers
2209         - added doxygen docs
2210         - added header comments to convo.awk script
2211         - removed Test() function in Controller object, and made class
2212                 better suited to its general API purpose
2213         - changed OpenMode() so it loads command table and DBDB... it is now
2214                 a public API function
2215         - moved Controller test code to btool.cc and made tool more
2216                 generically useful... can now download any DB by name on
2217                 the command line
2218         - added mode checks to Controller
2219         - added -t and -d command line options to btool
2220         - added base64 routines from John Walker / Fourmilab and Citadel/UX
2221         - converted base64 routines into an API, instead of hardcoded
2222                 file based
2223 2005/11/18
2224         - changed project name to Barry, including namespaces
2225         - renamed sbcommon.* to common.*
2226         - increased USB default timeout to 2 seconds
2227         - fixed formatting bug in Data operator<< output
2228         - cleaned up the protocol packet structs, getting rid of the
2229                 confusing param/simple split... param is now the tableCmd
2230                 from the Command Table
2231         - moved protocol structs from record.h to protocol.h
2232         - added support for older version of the USB protocol, which matches
2233                 the Cassis spec more closely
2234         - fixed the hardcoded offsets in blackberry.cc's protocol parsing
2235         - fixed Socket::Close() so on error, socket flags are reset.
2236                 This stops Close() from being called twice on exception
2237                 destructors
2238 2005/11/17
2239         - added Doxyfile to the project
2240         - tuned Makefile
2241         - added mode selection support to Blackberry class (RIM Desktop,
2242                 RIM Bypass, and RIM_JavaLoader)
2243                 Mode selection governs which socket is used in subsequent
2244                 data transfers.
2245         - added Command Table parsing and protocol support
2246                 Blackberry class, and CommandTable record class
2247         - added Database database parsing and protocol support
2248                 Blackberry class and DatabaseDatabase record class
2249         - added Address book retrieval support - dumps data to stdout for now
2250         - fixed bug in CopyOnWrite mode in Data class, where could allocate
2251                 less buffer than data copied
2252         - added "easy exception" debug output macro
2253         - fixed minor spelling error in protocol.cc
2254         - fixed ModeSelectCommand protocol structure - it is not a parameter
2255                 command, but uses the unknown slots for socket and flag
2256                 data
2257         - removed hardcoded socket numbers from protocol.h
2258         - fixed bug in socket.cc:Open() where packet size was not properly
2259                 saved
2260         - implemented socket::Close()
2261         - fixed sequence number checks, so it is reset properly on socket 0
2262         - added Socket::NextRecord() for multiple record data transfers
2263         - fixed input handling bug in translate.cc
2264 2005/11/11
2265         - added .cvsignore files to project
2266         - added README notes to document the source architecture
2267         - added dbsetup data script, which shows how to get into database
2268                 mode, using the RIM Desktop mode, and open a socket
2269         - added blackberry.{h,cc} class
2270         - added command line parameters to bbtool.cc
2271                 -l = list only
2272                 -p = specify pin of blackberry device
2273         - added blackberry test code in bbtool.cc - debugging the initial
2274                 opening protocol: sockets, modes, etc... see dbsetup for
2275                 results
2276         - added copy-on-write functionality to Data class, so it can be used
2277                 with plain data buffers with little performance impact
2278         - added eout() and ddout() debugging - to separate:
2279                 - regular debug output
2280                 - exception debug output (should probably be logged to
2281                         syslog someday, and never turned off)
2282                 - raw data dump output
2283         - changed errno SBError exception handler to try to decode the error
2284                 numbers into english (limited success)
2285         - fixed probe and socket USB Bulk message handling, so they don't
2286                 use PollCompletions(), but use IO::Wait() (libusb_io_wait())
2287         - added common packet size checker in protocol.cc
2288         - fixed unpacked protocol packet structs... using gcc's
2289                 __attribute__ ((packed)) ... see protocol.h
2290         - added ModeSelectCommand structure (protocol.h)
2291         - finished Socket::Open() call  (Close() not yet implemented)
2292         - moved Socket::Send/Receive() out of private, as they can be used
2293                 for socket 0 operations.
2294         - cleaned up pointer management with macros:
2295                 MAKE_PACKET()
2296                 COMMAND()
2297                 IS_COMMAND()
2298         - added IO::Wait() and IO::Cancel() to correspond with libusb API
2299         - added datadumping in usbwrap for easy protocol capture
2300         - added preliminary record.{h,cc} classes
2301         - added Contact record parsing, and test code
2302 2005/10/20
2303         - syncberry tree started