- fixed bugs in r_contact.cc:
[barry.git] / ChangeLog
blobafad686bb28ac65d5174c6ec688f27f5bc0c4175
1 Release: version 0.8 - 2007/05/??
2 ------------------------------------------------------------------------------
3 2007/07/20
4         - minor wording change in backup GUI prompt: "Backup working..." to
5                 "Backup in progress..."
6         - renamed Contact class's Title field to JobTitle for clarity
7         - added record function ParseFieldString(), which properly handles
8                 strings from the device that have multiple null terminators,
9                 and changed the record parsing code to use this new function
10         - moved FullName() function from ldif.cc to r_contact.cc since it
11                 is generally useful in areas outside of LDIF processing
12         - refactored postal addresses in the Contact record class into
13                 a new class called PostalAddress
14         - renamed Address class in record.h to EmailAddress
15         - moved Contact::GetPostalAddress() to record.cc as part of the
16                 new PostalAddress class and renamed it
17                 PostalAddress::GetLabel()
18         - opensync plugin:
19                 - refactored vformat helpers into separate base class
20                         called vBase
21                 - added vCard converter class
22                 - commented out the code that skipped over the adding
23                         of empty attribute values and parameters,
24                         since VCARD depends on some of this behaviour
25                 - movified vformat.c:vformat_find_attribute() to take
26                         an extra nth argument, in order to search
27                         for multiple attributes with the same name...
28                         the way this is coded is a bit inefficient...
29                         but we're moving away from vformat when we move
30                         to OpenSync 0.3x / 0.40, so this is just temporary
31                         pain
32 2007/07/19
33         - added SUBSYSTEM=="usb_device" to example udev rules, in order
34                 to avoid running bcharge for each endpoint that is
35                 added by udev, when first plugged in.  Running bcharge
36                 back-to-back multiple times can crash some
37                 Blackberries.
38 2007/07/14
39         - opensync plugin:
40                 - fixed ID mapping bug in the case of a non-numeric UID
41                         from syncing external -> Barry, and then the
42                         new Barry ID would look like a new change
43                         when syncing back from Barry -> external.
44                 - added support for slow sync
45                 - added clear() to idmap class
46                 - added vformat attr parameter extraction class
47                 - added more trace logging during vformat/Barry conversions
48                 - added Notification time support
49                 - handled "all day" vformat special case, when DTEND
50                         does not exist in a vformat data block
51         - changed the min1900_t time conversion functions to handle
52                 the 0xffffffff special case, when notifications
53                 are turned off on a calendar event (src/time.cc)
54         - also made the calendar data dump output clearer for
55                 disabled timestamps, and added debug output
56                 for the raw min1900 value, in case there are more
57                 special cases in the future
58 2007/07/13
59         - fixed null pointer access in opensync's HasMultipleVEvents()
60 2007/07/12
61         - upper management directive: revert all OpenSync 0.3x changes
62                 and proceed with OpenSync 0.22.  Reverting the
63                 opensync-plugin/src tree to Barry 0.7 status.
64 2007/07/06
65         - reorganized exception and trace code in opensync plugin
66         - added XmlToCalendar() function, based on unfinished opensync
67                 library API that is not yet finished... will be
68                 committed to opensync svn tree when complete
69         - added OSyncXMLField logger to plugin trace class
70 2007/06/29
71         - applied email MessageRecord patch from Brian Edginton (thanks!)
72         - updated Message::Dump() to output more valid mbox data...
73                 the goal is to be able to do:
74                         btool -d "Messages" > email.mbox
75                         mutt -f email.mbox
76         - changed some TODO's to FIXME's to keep it grep-consistent
77         - applied Folder support patch from Brian Edginton
78         - fixed pedantic compile warnings, and changed order in src/Makefile.am
79         - removed unneeded cast in src/r_folder.cc
80 2007/06/28
81         - minor adjustment to ctags building in buildgen.sh
82         - applied patch from Brian Edginton for better boost detection
83                 in configure.ac
84         - added boost usage message to btool -h output
85 2007/06/21
86         - more porting of OpenSync module to 0.30
87         - added ctags build for opensync source tree to buildgen.sh
88 2007/06/14
89         - changed PKG_CONFIG_PATH setting in rpm script, so that systems
90                 like SuSE that have an extensive PKG_CONFIG_PATH
91                 in general use will not break on build
92         - added PKG_CONFIG_PATH to debian script too, just in case :-)
93         - added debian/changelog to doc/ReleaseChecklist.txt
94         - added comment to rpm/barry.spec regarding SuSE RPM builds
95 2007/06/08
96         - applied patch from Niels de Vos fixing debian package build
97                 dependency
98         - applied Brian Edginton's Saved Email Messages patch
99         - updated r_saved_messages.cc comment to match header
100         - added GetRecType()/GetUniqueId() to r_saved_messages.h, since
101                 SetIds() is already there
102         - removed Address version of operator<<() from message related headers
103                 and moved into record.h
104         - added std::hex to message related dumps, and changed output to
105                 be more mbox-like
106         - updated doc/CodingStyle.txt to cover switch() statements
107         - opensync compiles again, with 0.30!  (not functional yet)
108                 - moving closer to more modular and reusable plugin functions
109         - updated release checklist for opensync version number
110 2007/06/07
111         - added doc/CodingStyle.txt... preliminary version
112 2007/06/06
113         - applied Brian Edginton's PIN message patch
114         - changes to PIN message patch:
115                 - fixed missing backslash in src/Makefile.am
116                 - fixed tab alignment throughout
117                 - removed typedef from Address struct
118                 - added clear() to Address... might as well, if it it is
119                         going to be a standalone type
120                 - fixed missing comma in PINMessageFieldLinks table
121                 - changed MessageRecordId in PINMessage to load from a new
122                         uint32_t field in CommonField, instead of piggy
123                         backing on a field for other use
124         - did some testing and found that PINMessage's MessageRecordId
125                 is the same as the RecordId given through the SetIds()
126                 API... but these Id's are duplicated in the protocol...
127                 RecordId is stored in the protocol header, while
128                 MessageRecordId is stored in the record it self as
129                 a common field... added RecType and RecordId to
130                 PIN Message so that we store both of these
131         - updated AUTHORS
132 2007/05/27
133         - added item to gui/TODO
134         - applied Brian Edginton's s11n-boost.h patch
135 2007/05/25
136         - renamed template values to more consistent naming scheme
137         - applied memos and tasks patch from Brian Edginton, slightly
138                 modified to split into the new separate files system
139         - changes to memos and tasks classes:
140                 - reformatted the code to match coding style
141                         (come on Brian) :-)
142                 - added copyright notice
143                 - changed class to singular (Memo, not Memos)
144                 - placed in Barry namespace
145                 - added #ifdef header protectors
146                 - added new files to Makefile.am
147                 - added new r_*.h headers to record.h
148         - added support for Memos and Tasks to tools/btool.cc, based on
149                 Brian Edginton's patch
150                 (currently commented out, for Boost library reasons):
151         - added doc/CommitPolicy.txt
152         - updated AUTHORS
153 2007/05/24
154         - added ctags generation to buildgen.sh
155         - applied record.{h,cc} fix patch from Brian Edginton
156                 - ClassFlag
157                 - FreeBusyFlag
158                 - Clear() fixes
159         - fixed broken formatting in above patch
160         - refactored record parser classes into separate files for each
161         - changed the ConvertHtoB<> template to inline, as it caused
162                 linker errors with the new file layout
163 2007/05/17
164         - fixed bug in Debian packaging that put util commands in
165                 /bin and /sbin instead of /usr/bin and /usr/sbin
166         - commited byteswap.h replacement code from gm2net
167         - backup gui:
168                 - removed unneeded debug messages on stdout
169                 - changed the default for debug output to "off"
170                         and added a command line option to turn
171                         it on if necessary  (--debug-output)
172                 - command line option --help now also works
173         - fixed bug in Calendar class where it didn't initialize
174                 RecType properly... and cleaned up other RecType
175                 code to use the GetDefaultRecType() functions,
176                 localizing the constants in one place
177 2007/05/11
178         - applied patches from Brian Edginton, parsing more
179                 fields in Contact and Calendar records
180         - added Brian Edginton to AUTHORS
181         - reformatted record.{h,cc} to match the rest of the code,
182                 removed commented out code, and removed mention of
183                 Outlook from the comments.
184         - updated udev/10-blackberry.rules.Debian for Debian Etch
185         - updated debian/rules to use new udev rules file
186         - removed debian/postinst, as stable versions of Debian now
187                 have a recent udev, and don't need the special handling
188         - updated Debian build scripts to build separate packages:
189                 libbarry
190                 libbarry-dev
191                 barry-util
192                 barrybackup-gui
193         - added menu support to Debian barrybackup-gui package
194         - made the buttons bigger in the backup GUI, as they were too
195                 small on Debian Etch
196         - opensync plugin:
197                 - more progress in porting to opensync 0.30, heavily
198                         based on the example plugin in the opensync
199                         svn tree...  this is a work in progress, and so far
200                         is incomplete
201 2007/05/04
202         - opensync plugin:
203                 - partial porting to opensync 0.30 (in progress!)
204                 - fixed bug in sync_done where it reported context error
205                         and then success afterward
206         - checking in new INSTALL files based on Etch's autoconf run
207         - added item to gui's todo list
208         - bumped version numbers to 0.8 in:
209                 - configure.ac
210                 - src/Makefile.am
211                 - src/version.cc
212                 - gui/src/BackupWindow.cc (about dialog)
213                 - src/Doxygen
214                 - rpm/barry*.spec
216 Release: version 0.7 - 2007/05/02
217 ------------------------------------------------------------------------------
218 2007/05/02
219         - added rpm building to maintainer/release scripts
220         - added "HEAD" feature to tarball creation script, for easier testing
221         - updated maintainer/README
222         - updated maintainer/release.sh to use new HEAD feature too
223 2007/05/01
224         - added pppob to rpm barry.spec
225         - bumped release number in barry.spec
226 2007/04/30
227         - opensync plugin:
228                 - fixed size check bugs (strlen() == 0 when empty)
229                 - finished refactoring calendar conversion routines
230                 - started timezone parsing, but this may go away
231                         if we use opensync 0.30's time functions and
232                         xml data format...
233                 - added development note to README
234 2007/04/29
235         - updated README and opensync-plugin/README with more current
236                 build instructions
237         - opensync plugin:
238                 - refactored some calendar conversion routines
239                 - added Barry->vCalendar conversion for recurring appointments
240 2007/04/27
241         - opensync module:
242                 - removed some unneeded trace logs
243                 - fixed VEventConverter constructor bug, with uninitialized
244                         m_Data pointer
245                 - eased up the requirement that every calendar event
246                         must have a summary... defaults to "<blank subject>"
247                         if empty
248                 - added more VCALENDAR fields to match Barry::Calendar record
249                 - fixed case sensitive compares in vformat.c
250 2007/04/26
251         - opensync module work:
252                 - added id map class to map string uid's from OpenSync to
253                         numeric ID's from the Blackberry
254                 - fixed bug in CommitChange() where it was still using
255                         a hard coded calendar record state table
256                 - added lots of logging throughout
257                 - fixed bug where newly added records didn't use the
258                         change object's uid, but created a new ID,
259                         causing another sync on the next run
260                         i.e. (CommitData_t was missing an argument)
261                 - fixed bug where uninitialized notification time was
262                         written to the Blackberry
263         - more opensync module work:
264                 - refactored the environment class into another subclass
265                         called DatabaseSyncState, and moved some stand-
266                         alone functions from barry_sync.cc into
267                         the environment classes
268                 - added a tagged constructor to the trace class
269                 - fixed idmap::Load() to clear map before loading
270 2007/04/20
271         - renamed barry-config to barry-sync, the default configuration
272                 file for the opensync module... and filled it with
273                 a sample configuration
274         - added code to update the calendar cache, and write it to disk
275                 on success (opensync module)
276         - added code to clear dirty flags in the device (opensync module)
277         - allowed comments in the config file
278         - added vformat.c from libopensync 0.22, since the vformat
279                 routines are not available from the plugin side
280 2007/04/19
281         - updated gui/TODO
282         - added -d switch to bcharge to switch back from 0001 to 0004 mode,
283                 changed the auto-detection logic to ignore iProduct and
284                 only use idProduct, and updated man page
285         - updated breset to recognize the Pearl in 00004 mode as well
286         - changed src/probe.cc logic to assume that the second endpoint
287                 pair is the one needed for database communication, instead
288                 of doing a reverse search from the end... newer Pearls
289                 in Dual mode seem to have at least 3 or 4 endpoint pairs,
290                 and the old search didn't always work
291         - applied sourceforge patch #1696884 from Peter Silva, updating
292                 the Debian build for Etch, and including all files in one deb
293         - added Peter Silva to AUTHORS file
294         - uncommented the "make distclean" in debian/rules, and removed
295                 the reliance on /tmp when installing 99-barry-perms.rules
296         - applied bb_task_format.txt patch from Peter Silva
297         - fixed each misspelling of "recurrance" to "recurrence"
298         - tweaked src/probe.cc again for paranoia's sake... start at
299                 offset 1 if more than 1 endpoint pair, otherwise start
300                 search at 0
301         - split up opensync module into multiple source files, and started
302                 using the opensync vformat routines for parsing and building
303                 the vevent20 data (experimental)
304 2007/04/04
305         - more incremental work on the opensync plugin, adding ADDED
306                 and MODIFIED functionality... (experimental!)
307 2007/03/30
308         - added code to dump extra descriptors during device discovery,
309                 if found
310         - bumped opensync version number in configure.ac, and made
311                 the configure scripts more consistent with the rest
312                 of the project
313         - fixed printf-format size bug in opensync module
314 2007/03/29
315         - applied patch from Niels de Vos, fixing deb udev rules for Pearl
316         - updated AUTHORS
317         - fixed extra space bug in LDIF output (added space when creating
318                 FullName, even if there was no last name)
319         - fixed Address Book record parsing in Contact class... the
320                 Blackberry database uses field id 0x20 for both the
321                 first and last names, and if only a last name exists,
322                 the first name will be empty.  Fixed parser to handle
323                 this special case, without relying on string length.
324                 Thanks to Troy Engel for reporting above two LDIF bugs.
325         - added a few more constants to bcharge.cc
326         - renamed opensync's configure.in to configure.ac
327 2007/03/17
328         - fixed bcharge to avoid endless reset loop... oops
329 2007/03/16
330         - reorganized bcharge.cc to make it possible to switch between
331                 Pearl modes 0004 and 0001
332         - added flag to BadPassword exception class, to signal whether
333                 the library considers the device "out of retries" or not
334         - updated socket.cc for new BadPassword exception
335         - added special case to Controller class destructor to reset the
336                 device if being destroyed in a half-open state... this is
337                 a temporary fix until we understand how to handle
338                 the "already open" message we get when opening the Desktop
339                 in some cases
340         - added password prompt dialog to the backup GUI
341         - fixed possible memory leak in GUI's DeviceInterface::Connect()
342 2007/03/08
343         - committed Troy Engel's bbrules_mass_symlinks.patch, fixing
344                 udev rules for the Pearl
345         - updated 10-blackberry.rules.Debian to match 10-blackberry.rules's
346                 functionality
347         - applied Troy Engel's barry.spec patch to generate all required
348                 RPM's... Thank you!  Notes in the README taken from
349                 the sourceforge tracker entry containing the patch.
350         - added libusb lib flags to tools/ and examples/ makefiles,
351                 and tweaked configure.ac with a better default,
352                 to build cleanly on RHEL 4
353         - modified rpm/barry.spec:
354                 - does not create doc-only barry base package anymore
355                 - fixed "barry-backup" typo
356                 - removed the patch step, as version 0.7 shouldn't need it
357                 - added license file to each package
358                 - commented out console perms scripts, pending mailing list
359                         discussion
360         - updated AUTHORS
361         - applied Troy Engel's barry.spec patch to fix RHEL4 compile issues
362         - fixed 80 column wrapping error in barry.spec, thanks to Troy Engel
363                 for the bug report
364         - applied Troy Engel's udev permissions patch for Redhat/Fedora
365                 systems, which automatically set the ownership of a
366                 newly plugged in device to the currently logged in console
367                 user.
368         - added udev/README to document what all those files are for...
369                 part of the text comes from the sourceforge comment
370                 on the above udev permissions patch from Troy Engel
371         - uncommented the console perms scripts for rpm/barry.spec
372         - added libglademm-2.4 to gui/README's dependency list
373         - made usbwrap.* calls more threadsafe
374         - added Usb::Timeout exception for timeout errors
375         - added preliminary UsbSerData support to library for GPRS modem
376                 functionality, using Rick Scott's XmBlackBerry's serdata.c
377                 as a guide
378         - added overloaded Socket::Send() for sending without receiving
379         - added preliminary pppob command line tool
380 2007/03/02
381         - version bump in:
382                 - configure.ac
383                 - src/Makefile.am
384                 - src/version.cc
385                 - gui/src/BackupWindow.cc (about dialog)
386                 - src/Doxyfile
387                 - rpm/barry.spec
388         - build system tweaks for opensync-plugin, and added a buildgen.sh
389                 for it
390         - added better debug messages in probe.cc and usbwrap.cc's
391                 device discovery code
392         - changed error handling for null interface->altsetting pointers
393                 when doing device discovery in usbwrap.cc.  Seems that
394                 some devices report a higher number in bNumInterfaces
395                 than are really available... in this case, let's
396                 just ignore the missing data and assume success
397         - applied udev script patch #1663986 from Troy Engel
398         - applied barry-bcharge.spec patch #1672178 from Troy Engel
399         - ReleaseChecklist update
400         - added rpm/README based on Troy Engel's patch notes
401         - updated new barry-bcharge.spec for version 0.7, removing patch
402                 dependency
404 Release: version 0.6 - 2007/02/28
405 ------------------------------------------------------------------------------
406 2007/02/28
407         - fixed size checks for device database records larger than 64K
408                 Thanks to Michael Brown for the bug report.
409         - added initial release maintainer scripts
410         - fixed odd backup success message in GUI when doing a backup with
411                 no databases selected in configuration
412                 Thanks to Michael Brown for the bug report.
413         - added udev permissions file patch from Michael Brown
414         - added Michael Brown to AUTHORS
415         - updated README, gui/README, and doc/USB-capture.txt
416         - added -o command line switch to bcharge.cc, and updated man page
417 2007/02/23
418         - changed library behaviour so it only turns on libusb debug output
419                 if in data dump mode.  In btool, -v controls this output.
420         - minor stream formatting fix in btool
421         - added OpenSSL dependency to build for password hash support
422         - made debug dout() output conditional on Init() flag... In btool,
423                 -v now controls this as well
424         - reverse engineered more of the initial probe packets, and
425                 implemented probing in struct based code... changes include:
426                 - added support for "attribute fetch" packets, used at
427                         the beginning of USB conversations
428                 - defined object/attribute id codes for the PIN number
429                 - made Protocol::SocketCommand more robust, and implemented
430                         its sequence number behaviour
431                 - moved ModeSelectCommand into SocketCommand, as it is a
432                         socket 0 level command
433                 - added initial protocol struct: PasswordChallenge
434                 - renamed Barry::Packet to DBPacket
435                 - added ZeroPacket for socket 0 packet creation and analysis
436                 - Barry::Packet is now the base class for the above
437                 - implemented socket 0 behaviour in socket.cc
438                 - changed return values for Send/Receive/Packet/NextRecord
439                         members in the Socket class from bool to void, as they
440                         don't generate errors themselves, but only can
441                         have an error if Usb::Device throws an exception.
442                         Cleaned up all code that called these members as well.
443                 - removed "last status" from Socket class as it was unused
444                 - updated probe.cc to use new socket 0 implementation
445                 - removed two of the hard coded packet handshakes in favour
446                         of socket 0 packets
447                 - updated controller.cc:
448                         - uses new socket 0 implementation
449                         - removed "flag" hack when opening sockets and
450                                 selecting modes, as it should use the
451                                 socket 0 sequence number
452         - added initial, incomplete prototype header for the C API
453         - updated some .cvsignore files
454         - updated TODO
455         - updated ReleaseChecklist.txt, adding rpm spec file
456         - added the following to ZeroPacket:
457                 - ChallengeSeed()
458                 - RemainingTries()
459                 - SocketResponse()
460                 - SocketSqeuence()
461         - moved Command() to base Packet class
462         - added comments to protostructs.h and size constants for the
463                 new PasswordChallenge struct
464         - added password support to Socket and Controller classes
465                 Thanks to Rick Scott's XmBlackBerry for the openssl
466                 password hashing logic.
467         - updated btool to use new password support, and updated its man page
468 2007/02/22
469         - updated Doxygen input files and version, and added to ReleaseChecklist
470         - fixed btool PIN output for LDIF mode, now commented in output
471         - major LDIF overhaul:
472                 - split LDIF specific code out of the record class and
473                         into its own
474                 - fixed "full name" behaviour that added an extra space
475                         in dn attributes, as reported by Troy Engel
476                 - added support for mapping of LDIF attributes to Barry
477                         contact field names
478                 - fixed base64 handling, so attributes are only so encoded
479                         if necessary
480                 - fixed base64 attribute reading inconsistency... some
481                         notes fields were missed in old version if not
482                         encoded
483                 - added support for specifying alternate attribute for
484                         constructing a FQDN, instead of just "cn"
485                 - updated btool and upldif to use new features
486         - large update to btool manpage
487         - fixed initialization bug in Contact constructor (missed RecType)
488 2007/02/15
489         - added ktrans.cc to make reading of kernel usbfs_snoop logs easier
490         - removed commented code from translate.cc
491         - added Pearl handshake support to bcharge.cc, which resets the
492                 Pearl so that the vendor specific 0xFF class exists.
493                 This should allow use of btool on the Pearl.
494         - added Data::AppendHexString to data.cc
495         - added better probing support for the Pearl, so it detects the
496                 Product ID 0x0004 mode, and does a search for class 0xFF
497                 instead of hardcoding it.
498 2007/02/10
499         - applied README patch from Ian Darwin
500         - minor tweaks to README
501         - added missing errno.h header in src/usbwrap.cc for AMD64
502                 Thanks to Jonathan Hudson for reporting the bug.
503         - tightened up size checks in Data::ReleaseBuffer()
504         - stable libusb *does* return the actual length of the USB packet...
505                 fixed this in usbwrap.cc to set the actual size of read data,
506                 and removed the size hacks elsewhere in the code:
507                 probe.cc, protocol.cc, socket.cc, usbwrap.cc
508 2007/02/09
509         - added proper return codes for error conditions in btool.cc
510         - clarified some stream output code in the library, for hex/dec numbers
511         - removed old, non-working connect.cc test program
512         - added iomanip to debug.h
513         - changed usbwrap to call libusb again if EINTR and EAGAIN
514                 This should fix one of the OpenBSD issues
515 2007/02/04
516         - updated AUTHORS
517         - fixed bug in barrybackup GUI that didn't create the target path
518                 if the user didn't do Edit | Config first.
519                 Thanks to Ian Darwin for reporting the bug.
520         - applied gui/src/ConfigFile.cc header fix patch for OpenBSD
521                 from Ian Darwin
522 2007/02/03
523         - added initial btool.1 man page from Ian Darwin
524         - updated man/Makefile.am for new btool.1
525         - updated AUTHORS
526         - applied btool -h help clarification patch from Ian Darwin
527 2007/02/02
528         - reworked exception hierarchy, so applications can handle all
529                 Barry related exceptions, including Usb errors, with
530                 one base class: Barry::Error
531         - fixed all the ripple changes this caused throughout the codebase
532         - added BadPassword exception
533 2007/02/01
534         - version bump in:
535                 - configure.ac
536                 - src/Makefile.am
537                 - src/version.cc
538                 - gui/src/BackupWindow.cc (about dialog)
539         - updated doc/ReleaseChecklist.txt
540         - added usb-level breset.cc command line tool
541         - fixed bug in gui/src/tarfile.* for systems where
542                 sizeof(int) != sizeof(void*)
543                 - TarFile class now uses a plugin style for the compression
544                         operations, to allow for threadsafe versions if needed
545                         in the future.
546                 - also fixed leaked file handle bug in open_compressed()
547                 - Thanks to Jonathan Hudson for reporting this for 64bit systems
548         - minor signed comparison fixes in the library
549         - added better protocol data dumping code in probe.cc
550         - added Usb::Device::BulkDrain(), to prevent Barry from hanging
551                 due to pending reads
553 Release: version 0.5 - 2007/01/26
554 ------------------------------------------------------------------------------
555 2007/01/26
556         - added missing errno.h header to gui/src/util.cc
557         - lots more endian fixes after testing on iMac  
558         - iostream output size fixes
559         - added option to btool to reset the device via software
560         - beefed up exception handling in barrybackup
561         - checked in opensync work-in-progress: trace logging, pointer bugfix
562                 this is still experimental
563         - added aboutdialog.* files from gtkmm24 2.10.6, so we have a dialog
564                 class for systems running older versions of gtkmm, like
565                 Debian stable
566         - uncommented the about box menu handler
567         - added "cleanall" option to root buildgen.sh script
568         - update ReleaseChecklist.txt
569         - removed CVS auto-history strings from aboutdialog.*
570 2007/01/25
571         - found a link between the unknown field in tagged protocol headers
572                 and the unknown field in RecordStateTable entries.  This
573                 field matters when uploading certain databases, such as
574                 Browser Options.  It is unknown what this field really
575                 means, but we're calling it RecType.  Updated the API
576                 to use this in all parser objects and builder objects
577                 and record objects that use it.
578         - changed some uses of uint64_t to uint32_t, in Contact and
579                 Calendar record objects... unique IDs only seem to be
580                 32 bits
581         - added new static function to record classes: GetDefaultRecType()
582                 This returns the default rectype that should work
583                 for that record.  Ideally this should be retrieved from
584                 the device, but in the case where a database has no
585                 records, this info would be good to know.
586         - updated convenience template function Controller::AddRecordByType()
587                 to use GetDefaultRecType()
588         - documented the recurrence data and how to use it in Calendar objects
589         - added data debug output for incoming USB packets in the
590                 socket class... when we ported to the stable libusb
591                 we lost some of the verbose output... this should get it
592                 back.  (In the official release, you need to uncomment
593                 ddout() in debug.h for the full blast of debug output).
594         - backup GUI updates:
595                 - changed error_done signal into a pure error signal,
596                         and changed the logic so the restore continues
597                         even if there was a protocol error on one database
598                 - changed status bar messages to show what's happening
599                         i.e. Backup or Restore
600                 - default to not restore the "Handheld Agent" database as
601                         it appears to be read-only on the device
602                 - added temporary Restore & Backup mode for debugging
603                 - added extra hyphen to backup files to show date/time better
604                 - updated GUI to save and restore the new RecType field
605                         supported now by the library
606 2007/01/21
607         - added future considerations to doc/ReleaseChecklist.txt
608         - applied big endian patch from Jonathan Hudson
609         - changes to patch:
610                 - removed endian.h include from barry.h, since applications
611                         using the library should not care about endianness
612                 - hard coded the path to config.h in endian.h
613                         so that endian.h never makes it into the final
614                         install
615                 - removed DEFAULT_INCLUDES setting from src/Makefile.am
616                         for the same reason
617                 - removed config.h dependency in btool.cc and used library
618                         Version call instead
619         - added big/little endian text to the Barry::Version call
620         - updated AUTHORS
621         - fixed install location of bcharge when building with ./configure;
622                 now goes to sbin/ for both source compile and binary packages
623                 Thanks to Jonathan Hudson for reporting this bug.
624 2007/01/20
625         - added smarter timeout values to controller, and allowed
626                 timeout overrides in the packet, socket, and usbwrap code...
627                 extra timeouts are needed for erasing databases for
628                 some older devices
629         - added an explicit DataDumpParser class to btool.cc, as the
630                 library doesn't always have extreme verbose debugging on...
631                 this makes sure anyone can always get raw database packets
632                 through btool, for development
633         - added thread callback signals for error finishes and erase_db
634                 operations, so the GUI is updated properly
635         - more GUI cleanups (status bar updates, etc)
636         - finished implementation of GUI restore
637         - fixed gtkmm/glibmm exception handling when the exceptions
638                 occur in sigc signal handlers... in that case,
639                 exceptions need to be handled with
640                 Glib::add_exception_handler()
641         - added filename-only reading support to TarFile class
642         - added pending gui/TODO items
643 2007/01/19
644         - backup GUI now properly shows progress
645         - the buttons become insensitive when backup is busy
646         - refactored directory check code, and added mkdir check
647                 when to the backup setup (so the directory exists
648                 when we try to write to it)
649         - updated code to use Barry::Data in new namespace
650 2007/01/18
651         - moved Data class into Barry namespace
652 2007/01/13
653         - updated copyright dates for the new year
654         - clarified exception message in controller.cc
655         - fixed pointer initialization bug in controller.cc
656         - added documentation comments to parser.h and builder.h
657         - updated ReleaseChecklist.txt
658         - updated README
659         - changed Barry library configure scripts to make better
660                 use of pkg-config for autodetecting dependencies
661         - added initial Barry Backup GUI (gui/ directory), capable of making
662                 backups only at this point
663 2007/01/11
664         - added doc/ReleaseChecklist.txt
665         - added version API, returning version number and string
666         - added Troy Engel to AUTHORS
667         - added special case to bcharge.cc for the Blackberry Pearl,
668                 which doesn't reset itself after the charge handshake
669                 Thanks to Troy Engel for testing.
670 2007/01/05
671         - added pkg-config support for the library (libbarry-0.pc.in)
672         - fixed compile error on g++ 3.3 systems (missing stdint.h
673                 in probe.h)
674         - fixed protocol hang at end of Controller operation... in
675                 controller destructor, it was deleting the USB interface
676                 before closing the socket at the BlackBerry level, thereby
677                 leaving the device in Desktop mode
678 2007/01/04
679         - support the newer udev packages on Ubuntu, which need slightly
680                 different rules
681         - modified bcharge.cc to search for Pearl devices too.
682                 USB product ID 6
683         - added Pearl product ID to probe code, but likely not functional
684                 yet until we find someone able to get a USB capture for us
685 2006/12/29
686         - version bump in configure.ac and src/Makefile.am
688 Release: version 0.4 - 2006/12/29
689 ------------------------------------------------------------------------------
690 2006/12/29
691         - added bcharge.cc to the tools/ directory (whoohoo!)
692         - added initial release version of rpm/barry.spec (aka bcharge.spec)
693                 This begins the barry binary release, currently only
694                 including the bcharge utility, but possibly more in
695                 the future.  Future binary packages will likely include
696                 libbarry, libbarry-devel, etc, which barry will then
697                 depend on.
698         - added udev rule script for BlackBerry devices
699         - added man/ directory and bcharge.1 manpage
700         - added debian/ directory for building deb packages, with initial
701                 package scripts
702         - added rpm/make-rpm-tarball.sh for building RPMs
703         - split out technical docs into separate libbarry.docs file for
704                 a future Debian install
705         - added more cleaning to buildgen.sh
706         - added new udev rule file for Debian stable
707         - hardcoded g++ to 3.3 in debian/rules as I have multiple versions
708                 on my system and need to compile releases with stable
709 2006/12/21
710         - ported Barry to use the stable branch of libusb
711                 NOTE: no longer depends on the devel libusb tarball!
712                         Just use your distro's libusb packages.
713         - fixed more endian issues
714         - minor update to TODO
715 2006/12/15
716         - moved Exceptions, Hacking, and VersionNotes to doc/
717         - added doc/USB-capture.txt
718 2006/12/08
719         - added Controller::AddRecord() and template helper
720         - added beginning version of generic RecordFetch<> template
721         - set default of Barry::Init() to false (no data dump mode)
722         - added examples/ directory, with first addcontact.cc example
723 2006/12/07
724         - added autoconf support based on Peter McAlpine's patch
725         - renamed Makefiles to Makefile.orig and added script to turn
726                 on old build system if wanted
727         - fixed boost-specific error path in btool
728         - moved platform specific code out of time.h and into time.cc
729         - moved btool.cc, translate.cc, and upldif.cc out of src/ and
730                 into their own tools/ subdirectory
731         - added NEWS file to make autotools happy
732         - added a "clean" option to the buildgen.sh script... maintainer's
733                 use only
734         - reworked autoconf and automake files, to support
735                 barry as a library, to move the programs into their
736                 own tools directory, and support a proper installation
737         - fixed headers in parser.h, btool.cc, and upldif.cc to work
738                 properly when installed standalone
739         - added tools/Makefile.plain for testing compiling against
740                 installed barry library
741         - added commentary on version number system
742         - removed Makefile.conf and Makefile.orig, as new autoconf
743                 system supercedes it
744         - added support for boost serialization library in autoconf build
745         - added library version number to autoconf build
746         - changed boost flag to __BARRY_BOOST_MODE__ to avoid collisions
747         - removed debug.h dependency from btool.cc
748         - removed libusb check in favour of specific --with-libusb
749                 option... may need to revisit this later
750         - quick installation update in README
751 2006/12/01
752         - fixed some missed endian conversions in record.cc and added
753                 some size checks
754         - fixed endian issues in time.h
755         - added 2 more functions to the time zone API, and adjusted
756                 the time zone table for better defaults in North America
757         - added btool and upldif to the make install sequence
758         - added support for Calendar recurrence data
759         - small doc/TimeZones.txt update
760 2006/11/24
761         - added BlackBerry time zone code list, reverse engineered from a 7750
762         - added GetTimeZone() to convert device time zone codes to useful data
764 Release: version 0.0.3 - 2006/11/24
765 ------------------------------------------------------------------------------
766 2006/11/23
767         - added return code check to Controller::SaveDatabase()
768         - fixed Data() class constructor, so it doesn't auto-convert
769                 from any int
770         - fixed size checking bug in Packet::ReturnCode() that caused
771                 uploading to device to fail
772 2006/11/10
773         - added Exceptions doc file, documenting the C++ exceptions used,
774                 and their hierarchy
775         - fixed small bug in 'make install' which didn't build first
776         - minor documentation and cleanup in upldif.cc
777         - added utility functions to the RecordStateTable class,
778                 GetIndex() and MakeNewRecordId()
779         - changed btool so that the -d command modifiers can be
780                 specified multiple times to work with multiple records
781                 at once
782         - added Calendar sync code to the opensync module (not complete)
783         - cleaned up exception handling in the opensync module, making
784                 more use of the base exception to make sure no
785                 exceptions leak into the C library code
787 Release: version 0.0.2 - 2006/10/12
788 ------------------------------------------------------------------------------
789 2006/10/12
790         - fixed casting error in opensync module
791         - minor updates to documentation to prepare for release
792 2006/09/29
793         - added stdint.h to parser.h for uint32_t.  Thanks Ron Gage for
794                 the bug report
795 2006/09/08
796         - large refactoring of the packet parsing and building code,
797                 splitting the code into 3 groups:
798                 - record: handles record specific parsing and building...
799                         this is mostly subfields with CommonField structs
800                         as their headers, but sometimes has a specific
801                         header of its own, in the case of email
802                         Note: email's header is as yet undecoded.
803                         Record does not know the details of the packet
804                         formats, only the formats of its own record data.
805                 - packet: handles building of complete command packets
806                         and handles parsing of commonly used header values,
807                         providing an API for it... packet does not know
808                         the record format details, but does know the
809                         details of each Database Operation (protocol.h)
810                         packet format.
811                         So far, it seems that there is a real separation
812                         of operation formats and record formats, with the
813                         record formats being the same even with different
814                         database operation codes (GET_RECORDS /
815                         OLD_GET_RECORDS), which was not confirmed before.
816                         See the header size of the email record after
817                         refactoring.
818                 - controller: handles device state, and the management of
819                         sockets, commands, and checking for response values.
820                         The Controller object does not know the format
821                         of either the record or the packet it is sending,
822                         but does know the protocol handshake logic used
823                         to talk to the device.
824         - implemented SetRecord (SET_RECORD_BY_INDEX)... syncing, here
825                 we come!
826         - spelling correction in opensync-plugin/AUTHORS
827 2006/09/01
828         - added sample hotplug scripts
829         - added .cvsignore files for doxygen and opensync directories
830         - added src/endian.h... still need to add configure support to
831                 handle non-little-endian machines
832         - added exception handler in opensync plugin commit_change()
833         - removed the device reset code in probe.cc, as resetting a device
834                 can renumber the devices in /proc on kernel 2.4.x,
835                 and cause a failure to reach the device...
836                 FIXME - this should be changed someday to reset if probing
837                 fails, and restart the probe on reset, as sometimes
838                 the blackberry devices respond differently when not reset
839                 Ideally, the probe protocol should be properly reverse
840                 engineered.
841         - added support for retrieving record state table, which is needed
842                 for smarter syncing
843         - added support for retrieving, deleting, and clearing the dirty
844                 flags of individual blackberry device records
845         - added endian macros throughout the code
846 2006/07/13
847         - added opensync-plugin to root Makefile's clean
848         - updated time conversion calls to match opensync's latest SVN
849         - added opensync_change_set_changetype() (only add for now,
850                 for development)
851         - removed slow sync functions for now
852 2006/07/07
853         - added quick "install" makefile target, to src/install by default
854         - added static library target... this is temporary until autoconf
855                 stuff is added properly... needed for the opensync plugin
856         - documented in comments that Barry::BError is intended to be
857                 the base classes for all exceptions
858         - added first round of implementation of an opensync plugin, based
859                 on the example plugin code from the opensync sources
860 2006/06/22
861         - added to Contact record class:
862                 - Clear()
863                 - ReadLdif() to load and parse LDAP data
864         - added fragmented send support to Socket class
865         - added Probe::FindActive() to make client programs more streamlined
866         - fixed hex/decimal printing of record counts in btool
867         - added upldif.cc, a utility to take ldapsearch output on stdin
868                 and upload it to a blackberry
869         - updated src/.cvsignore
870 2006/06/16
871         - added parsing of service book fields:
872                 - old and new name
873                 - old and new unique ID (UID)
874                 - content ID (CID)
875                 - old and new description
876                 - DSID
877                 - bes domain / domain
878         - date change in legal.txt
879         - added initial parsing of ServiceBook field 0x09, and calling it
880                 ServiceBookConfig for now, for lack of a better name
881         - added parsing for ServiceBook field 0x02 on 72xx Blackberries...
882                 seems to be a name or description, but doesn't appear
883                 in the device's own GUI... called "Hidden Name" for now
884 2006/06/09
885         - added ServiceBook record class and parser code, based on some
886                 of Ron Gage's reverse engineering... code is by Chris Frey
887         - added AUTHORS file
888         - fixed the libusb set_configuration/claim_interface order
889                 bug in controller.{h,cc}... already fixed in probe,
890                 but not controller.  Thanks Ron Gage for finding this.
891 2006/05/25
892         - renamed Changelog to ChangeLog in preparation for autoconf
893         - renamed Todo to TODO in preparation for autoconf
894 2006/05/18
895         - make clean cleans up tests properly now
896 2006/03/31
897         - turned source code browsing on in Doxyfile
898         - added LoadDatabaseByName() and LoadDatabaseByType() template members
899                 to the Controller class
900                 - new file: controllertmpl.h
901         - documentation fixes in builder.h
902         - added static GetDBName() functions to all record classes, in
903                 support of the template Controller functions
904         - fleshed out DatabaseDatabase::GetDBNumber() and GetDBName(),
905                 returning errors properly
906         - documented sample btool.cc code better, and added example
907                 of Controller template member usage
908 2006/03/29
909         - copyright dates updated for 2006
910 2006/01/05
911         - backed out update to latest libusb DEVEL tree, since it is buggy.
912                 Stick with libusb 2005/11/26
913 2005/12/30
914         - added clean target to convenience Makefile
915         - added Boost to list of dependencies in README
916         - fixed minor compile warnings in base64.cc
917         - fixed new USB discovery code, and changed endpoint usage to use
918                 it, instead of the READ_ENDPOINT and WRITE_ENDPOINT
919                 constants... constants are now removed
920                 common.h, controller.cc, probe.cc, probe.h, usbwrap.cc
921         - added ClearHalt() to Usb::Device (usbwrap.cc)
922         - updated usbwrap.h to match latest libusb CVS devel tree
923         - updated README to refer to 2005/12/30 libusb CVS devel tree
924         - added roadmap to Todo list
925 2005/12/29
926         - added convenience Makefile in root directory
927         - added Hacking document
928         - minor touchups to README
929         - added caution warning to README, since this release will support
930                 delete / overwrite / upload functionality
931         - minor compile order change in Makefile (speed reasons)
932         - added dynamic endpoint discovery to probe.cc
933         - changed claim_interface/set_configuration() function call order in
934                 probe.cc based on feedback on the libusb mailing list
935         - added USB discovery code to usbwrap.{h,cc}
936 2005/12/23
937         - fixed packing bug in new upload header struct
938         - renamed CommonField union from data to u to be consistent
939         - added return_code field to DBAccess struct, for error checking
940         - added response checking during upload: if response is non-zero
941                 throw exception in controller.cc
942         - added sorting operators to record parser classes... when writing
943                 contact data to the device, it may be important to write
944                 group link items last, since they reference other contacts...
945                 This needs to be tested, and if not required, removed.
946         - added GROUP_FLAG field code to Contact parser class
947         - fixed offset bug in Contact and Calendar Build() functions
948         - fixed name bug in Contact::Build(), now output only with data
949         - added appointment type flag support to Calendar record parser
950                 class, and "all day event" flag support
951 2005/12/22
952         - added autoconf to Todo list
953         - refactored the protocol structures so that record structs can
954                 be reused for upload and download
955         - with new protostructs, more header control is handled by
956                 controller.cc instead of record.cc parsers and builders
957         - parser code now accepts an offset, to govern start of record data
958         - changed Data sizes from int to size_t and removed casts
959         - removed unneeded Parser::GetHeaderSize() (new protostructs make
960                 this obsolete)
961         - added Calendar::Build() for calendar uploads
962 2005/12/10
963         - added s11n-boost.h serialization templates for boost::serialization
964         - added boost::serialization to build
965         - minor change in usbwrap.cc to display error codes in decimal
966         - added SizePacket special case code to Socket::Send()... this is
967                 required when uploaded packet size is a multiple of 0x40,
968                 a special 3 byte size packet is sent
969         - moved some record class variables to public: so they can be
970                 properly serialized
971         - fixed variable name but in RecordBuilder template
972         - added -f switch to btool, for saving and loading of record data
973         - added -s switch to btool, for uploading saved data back to handheld
974         - added Controller::SaveDatabase()
975 2005/12/08
976         - fixed potential casting / pointer bug in controller.cc
977         - added builder.h, to support uploading
978         - minor comment fixes in parser.h
979         - added preliminary Contact protocol record building support
980         - fixed field order bug in ContactRecord protocol struct
981         - Contact record.h class now saves unknown Group Link field,
982                 for later saving
983 2005/12/07
984         - added -fno-strict-aliasing to compiler flags so gcc-4.0.x won't
985                 optimize away protocol struct casts
986                 see: 
987                 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25235
988                 http://mail-index.netbsd.org/tech-kern/2003/08/11/0001.html
989                 http://groups.google.ca/group/comp.lang.c++.moderated/ \
990                         browse_thread/thread/e7bf096832526f8e/5714701b \
991                         02a2a3cc?hl=en#5714701b02a2a3cc
992         - changed headers so that any low level protocol-specific sizes and
993                 structs are completely hidden in the library...
994                 this adds library-only header: protostructs.h
996 Release: version 0.0.1 - 2005/11/25
997 ------------------------------------------------------------------------------
998 2005/11/25
999         - added barry.h for documentation purposes and application usage
1000         - updated README for release
1001         - renamed SBError exception class to BError
1002         - updated Doxyfile to version 1.4.5
1003         - added more doxygen comments
1004 2005/11/24
1005         - added conversion routines (and tests) between time_t and min1900_t
1006         - added -v option to btool to dynamically control protocol dumping
1007         - removed duplicated database database table display in controller.cc
1008         - minor spelling corrections
1009         - added copyright to usbwrap.{h,cc} as per earlier meeting
1010         - added support for Old protocol Calendar entries
1011 2005/11/20
1012         - added legal.txt, to save typing when adding new source files
1013         - ignore test-base64 file (cvsignore)
1014         - added contact-to-ldif generation, and updated supporting code
1015         - added argument to btool to support contact-to-ldif operation
1016         - added Contact::GetPostalAddress()
1017         - added README documentation in preparation for future release
1018 2005/11/19
1019         - added parser.{h,cc} virtual wrapper to generalize LoadDatabase()
1020         - added code to socket.cc's Packet() command to re-receive on
1021                 reception of empty packets... this seems to be a signal
1022                 from the device that it needs more time for long transfers
1023                 Current limit: 10 blank packets before exception is thrown
1024                 Observed maximum blank count: 1
1025         - added MessageRecord and OldMessageRecord to protocol.h
1026         - changed common record field structs to one CommonField struct
1027         - increased default USB timeout to 10 seconds (some loaded devices
1028                 seem to need more time...)
1029         - reorganized record.{h,cc} to try to reduce the code duplication
1030         - record.h classes now "know" the sizes of their corresponding
1031                 protocol structs... this may cause trouble down the line
1032                 with Python, if used(?)
1033         - added Message class for Email records
1034         - removed the "Get*" database functions and replaced with
1035                 general LoadDatabase() call, which loads any database
1036                 available, and parses it with a Parser object
1037         - added GetDBID() for searching for database numbers via name
1038         - added test code to retrieve and display all email
1039         - cleaned up comments
1040         - renamed blackberry.{h,cc} to controller.{h,cc}
1041         - renamed bbtool.cc to btool.cc
1042         - added Makefile.conf
1043         - added copyright notices to source files
1044         - added COPYING file with GPL
1045         - put parser in Barry namespace, and added auto_ptr-like mode for
1046                 store object pointers
1047         - added doxygen docs
1048         - added header comments to convo.awk script
1049         - removed Test() function in Controller object, and made class
1050                 better suited to its general API purpose
1051         - changed OpenMode() so it loads command table and DBDB... it is now
1052                 a public API function
1053         - moved Controller test code to btool.cc and made tool more
1054                 generically useful... can now download any DB by name on
1055                 the command line
1056         - added mode checks to Controller
1057         - added -t and -d command line options to btool
1058         - added base64 routines from John Walker / Fourmilab and Citadel/UX
1059         - converted base64 routines into an API, instead of hardcoded
1060                 file based
1061 2005/11/18
1062         - changed project name to Barry, including namespaces
1063         - renamed sbcommon.* to common.*
1064         - increased USB default timeout to 2 seconds
1065         - fixed formatting bug in Data operator<< output
1066         - cleaned up the protocol packet structs, getting rid of the
1067                 confusing param/simple split... param is now the tableCmd
1068                 from the Command Table
1069         - moved protocol structs from record.h to protocol.h
1070         - added support for older version of the USB protocol, which matches
1071                 the Cassis spec more closely
1072         - fixed the hardcoded offsets in blackberry.cc's protocol parsing
1073         - fixed Socket::Close() so on error, socket flags are reset.
1074                 This stops Close() from being called twice on exception
1075                 destructors
1076 2005/11/17
1077         - added Doxyfile to the project
1078         - tuned Makefile
1079         - added mode selection support to Blackberry class (RIM Desktop,
1080                 RIM Bypass, and RIM_JavaLoader)
1081                 Mode selection governs which socket is used in subsequent
1082                 data transfers.
1083         - added Command Table parsing and protocol support
1084                 Blackberry class, and CommandTable record class
1085         - added Database database parsing and protocol support
1086                 Blackberry class and DatabaseDatabase record class
1087         - added Address book retrieval support - dumps data to stdout for now
1088         - fixed bug in CopyOnWrite mode in Data class, where could allocate
1089                 less buffer than data copied
1090         - added "easy exception" debug output macro
1091         - fixed minor spelling error in protocol.cc
1092         - fixed ModeSelectCommand protocol structure - it is not a parameter
1093                 command, but uses the unknown slots for socket and flag
1094                 data
1095         - removed hardcoded socket numbers from protocol.h
1096         - fixed bug in socket.cc:Open() where packet size was not properly
1097                 saved
1098         - implemented socket::Close()
1099         - fixed sequence number checks, so it is reset properly on socket 0
1100         - added Socket::NextRecord() for multiple record data transfers
1101         - fixed input handling bug in translate.cc
1102 2005/11/11
1103         - added .cvsignore files to project
1104         - added README notes to document the source architecture
1105         - added dbsetup data script, which shows how to get into database
1106                 mode, using the RIM Desktop mode, and open a socket
1107         - added blackberry.{h,cc} class
1108         - added command line parameters to bbtool.cc
1109                 -l = list only
1110                 -p = specify pin of blackberry device
1111         - added blackberry test code in bbtool.cc - debugging the initial
1112                 opening protocol: sockets, modes, etc... see dbsetup for
1113                 results
1114         - added copy-on-write functionality to Data class, so it can be used
1115                 with plain data buffers with little performance impact
1116         - added eout() and ddout() debugging - to separate:
1117                 - regular debug output
1118                 - exception debug output (should probably be logged to
1119                         syslog someday, and never turned off)
1120                 - raw data dump output
1121         - changed errno SBError exception handler to try to decode the error
1122                 numbers into english (limited success)
1123         - fixed probe and socket USB Bulk message handling, so they don't
1124                 use PollCompletions(), but use IO::Wait() (libusb_io_wait())
1125         - added common packet size checker in protocol.cc
1126         - fixed unpacked protocol packet structs... using gcc's
1127                 __attribute__ ((packed)) ... see protocol.h
1128         - added ModeSelectCommand structure (protocol.h)
1129         - finished Socket::Open() call  (Close() not yet implemented)
1130         - moved Socket::Send/Receive() out of private, as they can be used
1131                 for socket 0 operations.
1132         - cleaned up pointer management with macros:
1133                 MAKE_PACKET()
1134                 COMMAND()
1135                 IS_COMMAND()
1136         - added IO::Wait() and IO::Cancel() to correspond with libusb API
1137         - added datadumping in usbwrap for easy protocol capture
1138         - added preliminary record.{h,cc} classes
1139         - added Contact record parsing, and test code
1140 2005/10/20
1141         - syncberry tree started