Revert "os4x: undo run-as-process setting, due to sync timeouts"
[barry.git] / ChangeLog
blob75b3998e8601022f15dfdded097625b21d72c939
1 Release: version 0.17 - 2010/01/??
2 ------------------------------------------------------------------------------
3 2010/07/20
4         - sync: added 1 second wait during Reconnect() to let firmware settle
5                 This seems to help prevent the firmware hang fixed yesterday,
6                 which ultimately speeds up the whole sync
7         - os4x: reverted run-as-process undo commit... now runs as process
8                 again... I believe the timeout was the firmware issue, not
9                 an opensync issue
10 2010/07/19
11         - lib: added ability to do a USB ClearHalt() from socket level
12         - lib: added ability to override USB default timeout from controller
13         - sync: added workarounds for firmware hang issue
14                 This workaround overrides the timeout due to a firmware
15                 issue: sometimes the firmware will hang during a plugin
16                 Reconnect(), during the shutdown stage when the plugin
17                 attempts to update the device's dirty flags.  When the
18                 device hangs like this, it fails to respond to a
19                 Desktop::Open().  To work around this, we set the default
20                 timeout to 15 seconds so that we find this failure early
21                 enough to fix it within opensync's 30 second timeout.
22                 Then if we get such a timeout, we do the Reconnect again and
23                 hope for the best... this often fixes it.
24 2010/07/17
25         - lib: added tm_to_iso() to tzwrapper functions
26         - lib: vbase now has default implementation of vTimeConverter (was
27                 vTimeZone) with a simpler API, based on TzWrapper underneath
28         - lib: pulled in os4x vbase code, so both plugins are using one
29                 set of vformat code
30         - lib: added vtodo and vjournal vformat support from os4x plugin
31         - deb: added new libbarrysync library to debian binary package
32         - tools: added -V option to btool, to output in the new MIME vformat
33                 mode for records that are supported
34 2010/07/16
35         - lib: added BARRY_GCC_FORMAT_CHECK() for printf() style arg checking
36         - lib: added C-style BarryLogf() function for internal use
37         - libsync: moved vformat-related code from os22 to library
38         - lib: included tzwrapper in Barry and Barrified the namespace
39 2010/07/13
40         - os4x: undo run-as-process setting, since some tests indicate that
41                 sync will timeout
42 2010/07/10
43         - ppp: copied barry-sprint to barry-telus, which also works
44                 Thanks to Matt McGirr who confirmed it works with Telus
45         - os4x: run plugin as process... other opensync plugins seem to run
46                 better with this, and it seems like a good idea to isolate
47                 plugins as much as possible
48 2010/07/08
49         - fixed bug in both opensync plugins where they would attempt to
50                 access a database, even if it was disabled in the config.
51                 Thanks to R. Brent Clements for reporting this bug.
52 2010/06/26
53         - added Pete Zaitcev's usbmon-6, with some minor changes to
54                 remove root requirements and pretty up the hex dump format
55 2010/06/12
56         - applied chat scripts for Orange Spain from Adrian Gibanel
57         - updated debian and rpm packages with new chatscripts
58 2010/06/04
59         - os22: ported Nicolas Vivien's multi-calendar patch to 0.22 plugin
60                 From commit: eb4d68df8d06f734e79e13ea05f7755aa5b0a5f3
61                 This patch is untested with multiple calendars as I don't
62                 have a device for such testing, but is identical to
63                 the 0.4x plugin code.
64 2010/06/03
65         - doc: added wireshark USB capture method to USB-capture.txt
66         - lib: added GetStore() access function to RecordParser template class
67         - lib: Improved the record class operator<() member functions, basing
68                 the sort order on multiple fields in many cases.  This should
69                 produce a fairly stable sort for a given data set, regardless
70                 of RecordId.  This should be useful for scripted tests.
71         - tools: Added -I command line option to make use of new sort order
72         - man: Updated btool manpage
73 2010/05/29
74         - applied 3 patches from Nicolas Vivien that add:
75                 - Calendar - All parser
76                 - special handling for syncing of multiple calendars
77                 - compiler fixes
78         - lib: updated src/s11n-boost.h with new CalendarID and CalendarAll
79         - lib: refactored Calendar*::Dump() functions
80                 note: this introduces a change in my earlier policy that
81                 avoided virtual functions in the record classes...
82                 the duplicate code overhead is just too heavy, and
83                 I think I was wrong to be afraid of virtual functions
84                 in containers anyway... vive la virtual! :-)
85 2010/05/28
86         - rpm: added Fedora 13 support, and cleaned up conditionals
87         - udev: fixed permissions issue, so device shows up in lsusb
88                 output even for users not in plugdev
89         - applied two patches from Nicolas Vivien, one fixing a precision
90                 bug in BuildField() and another adding a 64bit BuildField()
91 2010/05/13
92         - lib: fixed compile error in j_message.h
93                 Thanks to Raymond Blostein for the bug report and the
94                 link to the explanation of the C++ standard change:
95                 https://bugs.launchpad.net/inkscape/+bug/522327/comments/1
96 2010/05/11
97         - ppp: cleaned up ppp options files and put notes in README
98                 Thanks to feedback from Matt Machado for Rogers specific
99                 notes, and for recommendation to have one copy of
100                 comments for the PPP options.
101 2010/04/19
102         - lib: added LDIF mapping support for Contact::Image fields
103         - lib: fixed signed extension bug in base64 encoder
104         - sync: ported Photo support from 0.4x plugin to 0.22 plugin
105 2010/03/30
106         - updated Fedora and Mandriva maintainer info
107 2010/03/18
108         - added chat script for FIDO from Sujay D'Souza
109 2010/03/11
110         - added Probe::Find(), for simple searching of probe results
111 2010/02/09
112         - added message during restore, to let user know that the erased
113                 database was restored (requested by Pierre Pietri)
114 2010/01/29
115         - added product ID 8001 (Pearl Flip) to udev rules
116 2010/01/26
117         - examples: added dbdump.cc example for extracting database data
118         - bumped the copyright dates for 2010
119         - added F12 build target to maintainer scripts
120         - added missing BXEXPORT to src/configfile.h that shows up
121                 on ubuntu 7.10
122         - added headers to sources list in src/Makefile.am, since header
123                 changes didn't always cause a library rebuild
124 2010/01/15
125         - updated barry.spec to install 69-blackberry.rules on Fedora 12
126                 note that this further breaks the opensuse build, but
127                 that is not currently supported anyway, due to lack of time
128         - doc: added notes on tools to use for building RPMs in homedir
129 2010/01/04
130         - udev: added 69-blackberry.rules for Fedora 12 systems. Thanks
131                 to Nathanael Noblet (list email dated 2009/12/30)
132                 for hunting this down!
133 2009/12/15
134         - lib: added operator==() to ProbeResult, and operator!= to Pin
135         - os22: fixed bug while loading opensync config file (may not load
136                 the pin number correctly, or may rely on luck)
137         - added 'addmemo' example, to test newline behaviour
138         - lib: Memo::Dump() now translates \r chars into prettier output
139                 Requested by Michael Brown
140         - doc: added some notes on how to tether via Bluetooth
141 2009/12/04
142         - tools: added libbarry to bdptest build (needed on opensuse?)
143 2009/12/03
144         - lib: added GetKey/SetKey support in GlobalConfigFile
145 2009/12/02
146         - gettextize BarryBackup by Nicolas VIVIEN
147         - lib: added support for a global config file
148                 Barry::ConfigFile now supports a per-device configuration (as
149                 usual) as well as a global config file.  Both are loaded
150                 by default, but they can be saved and loaded separately.
151                 This new global config file is for global defaults,
152                 preferences, etc.
153         - lib: added IsVerbose() API call
154         - lib: added VerboseLogging setting to global config
155         - lib: made Probe results more storage friendly
156 2009/11/27
157         - made Barry::Init() safe to be called multiple times
158         - added Barry::Verbose() for controlling debug output on the fly
159 2009/11/26
160         - moved the Pin and ConfigFile classes from gui/ to the library
161         - Probe now loads ConfigFile's device name if available
162 2009/11/24
163         - added '-P' password option to upldif tool, and updated manpage
164                 including applying Nicolas Vivien's bugfix patch
165         - applied Nicolas Vivien's "NOT_ENOUGH_MEMORY" javaloader patch
166         - added gettext support to RPM and DEB packages
167 2009/11/19  
168         - gettextize by Nicolas VIVIEN
169 2009/10/02
170         - doc: added list of reasons why to submit patches, and notes
171                 on how to create a forked tree on repo.or.cz
172 2009/10/01
173         - removed redundant library dependencies from autoconf build
174         - version bump:
175                 - configure.ac
176                 - src/Makefile.am
177                 - src/version.cc
178                 - gui/src/BackupWindow.cc
179                 - Doxyfile
180                 - rpm/barry.spec
181                 - debian/changelog
182                 - opensync-plugin/src/barry_sync.cc
183                 - opensync-plugin-0.4x/src/barry_sync.cc
185 Release: version 0.16 - 2009/10/01
186 ------------------------------------------------------------------------------
187 2009/09/30
188         - added PNG generated icon based on SVG source files
189         - added barry logo to barrybackup-gui Debian and RPM packages
190         - applied new barry logo and icon from Martin Owens
191         - gui: use short barry URL in About box
192         - gui: fixed bug where actual finished records were overwritten
193                 with the starting total... don't overwrite the actual
194                 with the estimated
195         - gui: added thread state, to determine what operation finished
196                 Also improved status message, specifying exact operation
197         - gui: added code to check that actual # of backed up records
198                 matches the total number reported by the device, and
199                 display a warning to the user if they don't match
200         - www: added known issue about international chars and protocol change
201 2009/09/29
202         - os4x plugin: updated for the pkgconfig libopensync -> libopensync1
203                 rename
204         - added bjdwp.1 manpage
205         - added bjdwp and manpage to rpm and debian packages
206         - added bash and zsh completion scripts to debian & rpm packages
207 2009/09/26
208         - gui: fixed status text during restore (said "Backup" instead
209                 of "Restore")
210 2009/09/24
211         - updated various URLs to point to netdirect.ca
212         - lib: moved vSmartPtr<> from opensync plugin code to main library
213         - lib: fixed memory leaks in vSmartPtr (doh!)
214         - lib: added vLateSmartPtr<> for setting of FreeFunc after construction
215 2009/09/18
216         - updated opensync 0.4x plugin to compile against latest SVN
217                 - removed unneeded osync_error_unref() from get_sync_info()
218                 - updated plugin to support the new OSyncError** arguments
219                         scattered all over the code
220 2009/09/17
221         - added IRC info to contact www doc page
222 2009/09/16
223         - changed all the ancient SYSFS{} keynames into ATTRS{} keynames
224                 in all udev rules files
225         - added udev rule for BB Tour Product ID 8007
226                 Thanks to Theodore Charles III for testing and suggested
227                 rules.
228         - removed obsolete duplicate SUBSYSTEM keynames from udev rules
229         - created new cross-distro udev rules set, with documentation
230                 in udev/README
231         - updated deb and rpm package rules with new udev rules set
232                 note: opensuse needs work
233 2009/09/15
234         - merged Josh Kropf's brimtrans fix: 59abfa6959eb350221fa56a03ba5816
235         - applied bash-completion scripts by Ryan Li
236 2009/09/14
237         - merged Josh Kropf's compile fixes
238         - applied zsh missing bracket patch from Ryan Li
239 2009/09/11
240         - merged Nicolas Vivien's debug parser lib updates
241                 with change:
242                 - fixed API spelling typo and capitalization
243         - added firmware upgrade to TODO list
244         - added checks for pthread function errors in Thread class
245         - moved #defines out of public dp_codinfo.h into dp_codinfo.cc
246                 Applications probably don't care about these.
247         - changed string arguments to const references
248         - added STL-style typedefs to list classes to make looping easier
249                 and easier to change types if needed
250         - added libbarrydp as dependency for libbarryjdwp
251         - replaced direct cout usage with dout() in dp_codinfo.cc
252                 - added Barry::Init to bdptest.cc, defaulting to verbose
253                   mode, to keep the same behaviour as expected
254         - use more generic std::istream in dp_codinfo, instead of ifstream
255         - use references with iterator looping to avoid copies, and
256                 use const where appropriate
257         - added typedef for j_server.cc's ConsoleCallbackType
258         - tightened up member variable init and cleanup in JDWServer class
259         - added exceptions in JDWServer class where marked TODO
260         - made setup sequence dependent on previous steps, in acceptThread,
261                 so that the logic doesn't assume success where it could
262                 have failed
263 2009/09/10
264         - added copyright notices to all source files in bjdwp/
265                 This is based on the initial README included in
266                 the patches from Nicolas Vivien stating that bjdwp
267                 was under the GPL.
268         - added GPL license as file bjdwp/COPYING, since bjdwp is
269                 somewhat standalone, like the plugins and the gui
270         - bjdwp: removed jdwplog() in favour of identical barryverbose()
271         - bjdwp: moved into main tree from bjdwp/ and created two new
272                 libraries: libbarrydp and libbarryjdwp
273 2009/09/09
274         - fixed potential loss of serial data during PPP init
275                 when seding the AT test, usually the OK response is
276                 sent to the callback, but if the expected non-serial
277                 response doesn't appear, the OK is lost... this fix
278                 passes the OK to the callback, which fixes some chatscript
279                 behaviour
280         - gui: updated web documentation and screenshots
281 2009/09/08
282         - changed wording on GUI reload button to clarify what it does
283         - added documentation on how to change the theme for GTK+ apps
284                 when not using the Gnome desktop environment
285         - fixed broken links in web doc generation
286 2009/09/05
287         - applied backup GUI patches from Ryan Li:
288                 - resolved crash while disconnecting from no devices
289                 - added confirmation dialog before quitting
290         - gui: handled case where the user exits via window manager Close
291                 button
292                 - also refactored 'working' confirmation logic
293 2009/09/04
294         - fixed socket RawReceive verbose log message
295                 when reading from the default queue, the queue knows the
296                 endpoint, not the socket object
297 2009/09/03
298         - added version output when -v is used in pppob
299 2009/09/02
300         - fixed syncing of 8 contact phone numbers. Reported by
301                 Ian B. MacDonald, 2009/08/22
302         - ported above syncing fix to opensync 0.4x plugin
303         - applied Martin Owens' Barry logos 'patch'
304 2009/09/01
305         - applied chatscript patch from Andrew Nording
306                 Sourceforge tracker #2848549
307         - added KPN chatscripts to DEB and RPM binary packages
308         - added KPN to script list in doc/www/modem.php
309         - pulled from Nicolas Vivien: a909925ef6bf3d75b1597a9ddd16f52201690cbb
310                 Fixes for library and bjdwp documentation
311         - moved bjdwp/doc/* to doc/bjdwp/ to keep docs in one spot
312 2009/08/31
313         - pulled from Nicolas Vivien's repo.or.cz repo: bjvmdebug support
314                 With rebase changes and fixes to library.
315                 Fixes to library:
316                 - fixed buffer size checks in m_jvmdebug.cc
317                 - used #defines instead of hard coded numbers where possible
318                 - added FIXME to tidy up the Unknowns in the API
319                 - commented out Mode::Close(): not convinced that applications
320                         should have to worry about socket-level details
321                 - added #define for JVM STOP command
322                 - removed unused Socket::PacketJVM() functions
323                 - made sizeof check in JVMPacket::Size() more specific
324                 Rebase changes:
325                 - removed executable chmod bits from BarryDemo java samples
326                 - removed copyrighted Sun documentation from bjdwp/doc/
327         - fixed longstanding buffer size check bug in CheckSize()
328         - updated AUTHORS
329         - applied Ryan Li's latest threaded GUI patch (2009/08/25 email)
330                 - gui: added a wrapper around pStatusbar->push() to avoid
331                         the never ending push syndrome
332         - gui: added PIN to the "please name new device" dialog
333         - gui: added statusbar workaround: normally the statusbar shows
334                 Ready after initialization, but since the initial Scan()
335                 happens right away, and the statusbar doesn't seem to
336                 update the screen until the handler is finished,
337                 we update the status bar during init instead
338 2009/08/30
339         - applied Martin Owens' ppa_build.sh patch
340         - added version output when -v is used in btool
341         - changed USB verbose bus tree dump (i.e. btool -v) so the
342                 hex/decimal values look more like lsusb -v output,
343                 for ease of debugging
344 2009/08/29
345         - version bump:
346                 - configure.ac
347                 - src/Makefile.am
348                 - src/version.cc
349                 - gui/src/BackupWindow.cc
350                 - Doxyfile
351                 - rpm/barry.spec
352                 - debian/changelog
353                 - opensync-plugin/src/barry_sync.cc
354                 - opensync-plugin-0.4x/src/barry_sync.cc
356 Release: version 0.15 - 2009/08/28
357 ------------------------------------------------------------------------------
358 2009/08/28
359         - added binary build for Ubuntu 9.04 to maintainer scripts
360 2009/08/27
361         - added binary build for Fedora 11 to maintainer scripts
362 2009/08/21
363         - updated www documentation for upcoming release
364         - applied Nicolas Vivien's phone duplication patch (opensync 0.4x)
365         - fixed missing conflict check in vcard code in opensync 0.4x plugin
366         - backported new TYPE parsing code from opensync-0.4x plugin to
367                 old opensync 0.22 plugin
368         - added X-EVOLUTION-UI-SLOT support in both sync plugins to retain
369                 phone number order
370 2009/08/17
371         - added pin and password command line support to bfuse
372         - updated bfuse man page
373 2009/07/29
374         - added border to barrybackup doc images
375 2009/07/28
376         - updated license and URL in barry.spec
377         - updated barrybackup Credits dialog to reference AUTHORS file
378         - updated barrybackup.1 man page
379         - updated doc/www scripts to generate more dynamic pages,
380                 so subheaders are not hard coded... this helps support
381                 updating the new NetDirect website
382         - commented out out-of-date docs in hacking.php
383         - marked milestone 4 complete (javaloader)
384         - linked device compatibility list from index.php
385 2009/07/10
386         - changed pppob to report if Serial was fallback or command line
387         - started device compatibility list in web docs
388 2009/07/07
389         - applied Ryan Li's GUI enhancement patches, which let the user
390                 switch devices without restarting, with fixes:
391                 - reorganized BackupWindow.glade for better spacing
392                         - fixed width issue (main window was set to 275
393                           width, which made things too narrow on Debian
394                           Lenny
395                         - moved buttons beside the drop down box, to
396                           mimic old GUI behaviour
397                         - added space around the middle controls, but
398                           not around the menu bar or status bar, which
399                           should be right against the outer window.
400                 - renamed m_device_num to m_device_count for clarity
401                 - changed m_device_count to unsigned int to fix compiler
402                   warnings
403                 - removed gtkmm call to unset_model()
404                   The function unset_model() is only available in gtkmm
405                   2.16, and Debian Lenny only has 2.12, and won't compile.
406                   Since set_model() automatically does the unset for us,
407                   just reorganize the calls so Lenny is supported.
408 2009/07/06
409         - applied Ryan Li's SMS clarification patch
410 2009/07/02
411         - added Martin Owens' new Ubuntu PPA link to docs
412         - added DEPUTY documentation and updated AUTHORS
413 2009/06/30
414         - documentation updates
415                 - added SMS to list of parsers in documentation
416                 - updated sync notes for Fedora 9 and 10 in documentation
417                 - removed Martin Owens' PPA binary package link, since
418                         I can't find the binaries anymore
419         - reverted commit 2d0e60d1: put hal fdi files back
420         - updated HAL FDI files for Fedora 11
421                 - duplicated directory hierarchy under hal
422                 - added 19-blackberry-acl.fdi to add the access_control
423                         capability to blackberry devices when they are
424                         plugged in.  As long as this file is under
425                         the 10osvendor directory, then
426                         20-acl-management.fdi runs after it, adding
427                         the hal-acl-tool callout, which does the low
428                         level getfacl/setfacl work on the /dev/bus/usb/*/*
429                         device file.
430                 related thread:
431         http://lists.freedesktop.org/archives/devkit-devel/2009-June/000247.html
432         - changed hal fdi policy to use "pda" instead of "scanner"
433         - applied Ryan Li's 7-bit GSM conversion patch for SMS records
434         - applied Ryan Li's barrybackup patch: can now select backup path
435 2009/06/26
436         - fixed install location of hal fdi files in debian and rpm
437                 HAL reserves /usr/share/hal/fdi/information/10freedesktop
438                 for files that the project itself distributes, so
439                 we get to use 20thirdparty.
440 2009/06/24
441         - cleaning up autoconf warnings on Fedora 11
442         - changed buildgen.sh to run libtoolize first for all subprojects,
443                 otherwise, a later project's run may copy files into ../m4
444                 after having created configure for a previous project.
445                 This would cause a makefile discrepency during the build
446                 on some systems (Fedora 11), and cause configure to be
447                 incorrectly regenerated mid-build, due to timestamps.
448 2009/06/21
449         - updated dependencies documentation page
450 2009/06/20
451         - added BadPacket exception, for socket errors that need to meddle
452                 with the response code
453         - added special case for JavaLoader's Goodbye packet
454                 On older devices, such as the 7750 and 7130, they respond
455                 with a NOT_SUPPORTED error instead of an ACK, for Goodbye
456                 packet commands.  This is seen in Windows traffic as well,
457                 so should not be considered an error.  Thanks to Josh Kropf
458                 for confirming this protocol behaviour.
459         - updated socket.cc to use new BadPacket exception where appropriate
460         - pulled from Josh Kropf: 0f1cca2fa69d0810d439ade4fb3dd0dfa15c89a6
461                 - fixed size issue with deviceinfo command on 7130 devices
462 2009/06/19
463         - reworked autoconf rules to handle every kind of Boost dependency:
464                 - let user enable/disable from configure, default to
465                         disable, but error if enabled and not available
466                 - let user specify separate include and lib paths, since
467                         some Boost installations have an additional
468                         boost-1.34.1 style directory in them
469                         - default to no path overrides, using system defaults
470                 - let user specify name of serialization library, since
471                         the name of the library can change whether you're
472                         building from source or not
473                         - default to searching for boost_serialization or
474                                 boost_serialization-mt, and error if not found
475                 - New configure switches are:
476                   --enable-boost                   Handles enable/disable
477                   --with-boost-include=path        Override the include path
478                   --with-boost-lib=path            Override the lib path
479                   --with-boost-serialization=name  Override the name of
480                                                    serialization library
481                                                    to link with
482         - updated documentation, build test, and binary packages to use
483                 new switches
484 2009/06/18
485         - added non-backward-compatibility note to man/btool.1
486         - applied Nicolas Vivien's LDIF patches, clarifying split
487                 between work and home addresses, and adding support
488                 for the homePostalAddress LDAP field
489         - fixed missing #includes for Fedora 11.  Thanks to
490                 Nathanael Noblet for reporting this.
491         - applied Ryan Li's PPP chat script for China Mobile
492         - added barry-chinamobile chat script to RPM and Debian packages
493         - renamed blacklist-berry_charge to blacklist-berry_charge.conf
494                 for Debian sid and Fedora 11.  Thanks to Rodrigo Linfati
495                 for reporting.
496         - applied Nicolas Vivien's autoconf patch to automatically
497                 search for boost_serialization or boost_serialization-mt
498 2009/05/12
499         - applied Dr. J A Gow's category patches (task + memo)
500                 - fixed compile error when using Boost
501                 - cleaned up Categories handling:
502                         - s11n-boost.h
503                         - Dump() should be consistent across Calendar, Memo, Task
504                         - fixed i18n support to category names
505                 - cleaned up code formatting to match surrounding code
506         - moved CategoryList to its own class, and removed duplicated
507                 string conversion code
508         - removed protocol-specific MemoType and TaskType fields from
509                 their corresponding record classes
510 2009/05/09
511         - applied Nicolas Vivien's Task builder patch for the Storm
512                 and Bookmark documentation patch
513 2009/05/08
514         - applied most of Dr. J A Gow's recurring iCal sync patch
515                 - did not include the pure upper case changes, since
516                   it is an RFC bug in SynCE
517                   see http://www.mail-archive.com/barry-devel@lists.sourceforge.net/msg01109.html
518                 - added starttime to RecurToBarryCal() args, to make the
519                   prerequisites clear (StartTime must be determined before
520                   recurrence is parsed)
521                 - added check that COUNT is not zero (RFC requirement)
522                 - fixed timezone drift: using gmtime() + mktime() uses two
523                   different timezones... use localtime() + mktime()  instead
524                 - comment resizing
525                 - reformatted if/else FREQ tests into a more readable
526                   sequence, and fixed a logic error in the yearly count
527                   advance, which should only happen when FREQ == YEARLY
528         - updated AUTHORS
529 2009/05/06
530         - going through www documentation, updating for 0.15
531         - updated man/btool.1 with new -a option
532         - updated TODO list with new reality
533         - applied Nicolas Vivien's phone call log parser patches
534                 - added CallLog to s11n-boost.h
535                 - added size checks to parser
536                 - removed CallLogType, since it is protocol specific
537                 - added and tidied comments
538                 - made CallLog::Clear() match the class declaration order,
539                   fixed missing member, and used enum names to set
540                   enum defaults
541 2009/05/05
542         - applied Nicolas Vivien's task sync patches, with btool updates
543                 - fixed "VTOTO" typo
544                 - now that there's a Desktop::ClearDatabase() call,
545                   use it in SaveDatabase() to reduce code duplication
546                 - use separate vector<> clearDbNames in btool
547                   to eliminate chance of mixing -d and -a argument
548                   types and losing data
549                 - reverted VNOTE change in vformat.c
550                 - added VFORMAT_JOURNAL support to vformat.c based on
551                   r2795 of the opensync vformat plugin
552         - fixed some TimeZoneValid flag mistakes in Task and Calendar
553         - display DueDateFlag in src/r_task.cc
554         - changed vtodo.cc so DTSTART is only set if available in BB data
555 2009/05/01
556         - applied Nicolas Vivien's zsh patch
557         - applied Nicolas Vivien's memo sync patch
558                 - added MEMO_TYPE 'm' to built memo record
559         - updated btool to include new Memo builder
560         - updated config.rpath to latest from Debian stable
561 2009/04/27
562         - removed free() in tarfile.cc, since some distros have bugs in
563                 th_get_pathname() that doesn't return a freeable string
564 2009/04/22
565         - fixed some missing headers as reported by Christopher Stover
566         - applied Ryan Li's SMS body null terminator strip patch
567                 - fixed code formatting issues
568                 - added comment on why we're stripping out nulls
569                 - fixed potential single byte buffer overflow
570         - pulled from Josh Kropf: 8266c95a94
571                 added "reset to factory" command to bjavaloader
572         - split creation of deb src tarballs into separate script
573                 instead of tar-create.sh
574         - added more statements for the m4/ directory in configure.ac
575                 and Makefile.am, attempting to eliminate build warnings
576                 on FC10, as reported by Christopher Stover
577 2009/04/14
578         - applied Nicolas Vivien's sscanf patch (opensync-0.4x)
579         - wrapped OSyncList in vSmartPtr<> to automatically handle
580                 all calls to new osync_list_free() API
581         - applied Ryan Li's updated SMS parser patch
582                 - moved SMS metadata structure into its own struct
583                         in protostructs.h
584                 - fixed some endian conversion errors
585                 - added strnlen() call to avoid null terminators in
586                         the Addresses strings
587 2009/04/10
588         - added brimtrans to rpm spec file and debian install
589 2009/04/09
590         - fixed OSyncList* leak in 0.4x plugin from call to
591                 osync_plugin_info_get_objtype_sinks()
592 2009/04/08
593         - added IConvHandle, making it possible to support more than one
594                 charset in Blackberry data
595         - removed patches from opensync-plugin-0.4x 'make dist' target
596         - updated buildtest.sh for opensync 0.4x
597 2009/04/06
598         - updated man/bjavaloader.1
599 2009/04/04
600         - added Product ID 8001 for the Pearl Flip.  Thanks to John Ladan
601                 for reporting the new ID.
602 2009/04/03
603         - removed 0.22 opensync patches from 0.4x tree
604         - applied opensync Photo support patches from Nicolas Vivien
605         - renamed SequencePacket() to HideSequencePacket() for clarity
606                 This is a temporary measure... this sequence packet
607                 code needs to be cleaned up.
608         - added Photo support to examples/addcontact.cc
609         - removed try/catch from vcard/vevent, pending feedback from Nicolas
610         - applied Ryan Li's SMS record parsing patch
611                 - changed capitalization to match other code
612                 - added Sms to s11n-boost.h and required operator
613                 - added Sms to btool.cc, record.h, and Makefile.am
614                 - added size checks to the parser code
615                 - cleaned up brackets and casting
616                 - made dump output prettier (at least to me) :-)
617                 - added "unknown" state for MessageStatus, as default
618                 - cleaned up whitespace
619         - updated AUTHORS
620         - added endpoint override to Probe class while testing the 7130
621                 When using btool's -e option, the Probe class still
622                 attempted to probe endpoints as it saw fit.
623 2009/04/02
624         - fixed double-free bug in opensync 0.4x plugin
625                 Can only report error or success once in a change.
626         - updated buildgen.sh to handle ctags for multiple opensyncs
627         - fixed inverted logic when doing a hashtable slowsync (opensync 0.4x)
628         - fixed uninitialized osync_trace args in both vformat.c files
629 2009/04/01
630         - opensync 0.4x changes due to upstream API updates
631                 - removed idmap and cache code, in favour of opensync's
632                         uid mapping and hashtables respectively
633 2009/03/31
634         - opensync 0.4x changes due to upstream API updates
635                 - removed deprecated opensync header
636                 - updated 0.4x plugin to use new slow-sync API
637                 - updated 0.4x plugin to use new function registration and
638                         user data API
639                 - updated 0.4x plugin to use new sink list (API change)
640 2009/03/27
641         - changed PIN format from decimal to hex in opensync-0.4x plugin
642                 config
643         - added special case so photo data does not print raw in btool dumps
644         - fixed call to trace.logf() in plugin code... should never call
645                 a printf-like function unless you use a constant "%s"
646         - made opensync-0.4x:vformat.c's base64 routines const-correct
647         - fixed free()-crash bug in both vformat.c files
648                 When generating the resulting VCARD data, vformat.c assigned
649                 static strings to a dynamic heap list pointer, and the
650                 later free always failed.
651         - merged some changes from Jose Sogo's Debian package work
652                 - menu changes to conform with policy
653                 - renamed opensync plugin package name to match Debian
654         - added Nicolas Vivien and Josh Kropf to debian/copyright
655         - fixed uninitialized variable in SocketZero
656         - fixed memory leak in tarfile.cc
657         - fixed uninitialized time struct in bjavaloader.cc (valgrind error)
658 2009/03/24
659         - fixed typo in zsh/_bjavaloader thanks to feedback from Nicolas V.
660         - pulled from Josh Kropf: 75b1a89e8b1eb9d89bcd8b5ecbed9a47af5a8930
661                 added logstacktraces support to bjavaloader
662         - updated TODO list with "- All" database parsing
663 2009/03/13
664         - added git tag signing to maintainer scripts
665         - added signed tagging to release checklist doc
666 2009/03/11
667         - updated opensync-plugin-0.4x/README with build help
668 2009/03/10
669         - pulled from Josh Kropf: d6c3173ccd87c6223647950963da79331a68d712
670                 added deviceinfo support to bjavaloader
671         - pulled from Josh Kropf: 272f371e8bb95b6c41a8293de657da45a782736f
672                 new tool: brimtrans for dealing with RIM USB logs
673         - pulled from Josh Kropf: 7ed1df560ea7cc6a2205d8f8627c00c7aaed2294
674                 added wipe support to bjavaloader
675         - added confirmation step to bjavaloader wipe, so it is harder to
676                 accidentally wipe your device
677         - applied zsh patch from Nicolas Vivien for bjavaloader wipe
678 2009/03
679         - changes inspired from Rick Scott's XmBlackberry
680                 - event log timestamp is a time_t in milliseconds
681 2009/03/07
682         - added Mode base class for common mode class code
683 2009/03/06
684         - reorganized external links by date and topic, and added link
685                 to Nicolas Vivien's Blackberry on Linux documentation
686 2009/03/05
687         - pulled from Josh Kropf: b3d3a6f48fe008e8842c057df4a653a04b9c56ce
688                 - compile fix when using __DEBUG_MODE__
689                 - fixed timeout when calling JavaLoader::GetDir on device
690                         with zero modules
691 2009/03/04
692         - fixed embarrassing incorrect exception messages in usbwrap.cc
693                 Fortunately, these didn't affect my timeout testing.
694         - added Data::QuickZap(), so that usb read errors don't
695                 return old data
696         - inlined Data::QuickZap()
697         - added usb_set_altinterface() call to Interface class
698                 This should hopefully workaround the change in 2.6.28
699                 kernels where set_interface is not called by the kernel
700                 automatically anymore.
701 2009/03/03
702         - applied Nicolas Vivien's opensync-0.4x API patch
703 2009/02/28
704         - applied Nicolas Vivien's zsh patches
705 2009/02/26
706         - added opensync-0.4x to tar-prepare.sh maintainer script
707 2009/02/24
708         - added note about novj option issue in barry-att_cingular
709         - added gettext to documentation dependency list (for iconv.m4)
710 2009/02/20
711         - clarified bjavaloader save behaviour
712         - updated bjavaloader man page
713         - added maintainer/build as exception for test/buildtest.sh
714         - merge opensync-0.4x branch into master:
715                 2009/02/20
716                         - removed nested m4 in preparation for merge into
717                           main Barry tree
718                 2009/02/18
719                         - applied Nicolas Vivien's opensync-0.4x
720                           Calendar+Contact patch
721                 2009/02/01
722                         - applied Nicolas Vivien's opensync-0.4x
723                           porting update patch
724         - removed unneeded ChangeLog.osync
725         - added opensync-plugin-0.4x to top level configure, but not to
726                 binary packages
727         - added old emails from Ron Gage from 2006 regarding Autotext
728                 and Service Book parsing
729 2009/02/19
730         - pulled from Josh Kropf: 9b63a99867b3314b8d42212cac05a6f28860d37b
731                 - saving large modules in pkzip format
732                 - cleaned up StartStream function; use JLPacket instance
733                 - refactored SendStream; use JLPacket instance and use simple
734                         function for seeking to next cod file in input stream
735         - made following changes to Josh Kropf's patches
736                 - Added CODFILE_TYPE_SIMPLE check back in
737                 - Minor change of c_str() to data() where a null terminator
738                         is not needed
739                 - Fixed unlikely buffer overflow in m_javaloader.cc
740                         Goal: never trust outside sources of
741                         information (including that from the device) when
742                         managing our own buffers.
743                 - Removed CodFile forward declaration, since class does not
744                         exist anymore
745                 - Fixed typo in configure.ac, and made missing zlib warning
746                         more emphatic
747                 - Added clarifying comment to CodFileBuilder
748                 - Fixed potential reference bug in CodFileBuilder constructor
749                         It is possible that the const std::string& passed
750                         into the constructor is a temporary, so make a copy
751                         of it instead of just holding a reference.
752                 - Removed multi-unget call in cod.cc -- only one unget() is
753                         guaranteed in C++.  It appears that the unget is
754                         unnecessary, since the following code seeks to end
755                         and back to beginning anyway.
756                 - Added copyright line for Josh Kropf in cod.cc and
757                         cod-internal.h
758                 - Fixed incorrect zlib check, since zlib doesn't support
759                         pkg-config on most systems yet.  Changed it to
760                         use AC_CHECK_LIB, and added a --with-zlib configure
761                         option which will cause configure to halt if
762                         zlib is not available.  Added --with-zlib to
763                         binary package builds, and to build test script.
764         - added zlib to rpm and deb build requirements list
765 2009/02/18
766         - updated USB capture logs archive page with new logs from Josh Kropf
767         - applied as patch Josh Kropf's annotated javaloader-reset.txt log
768         - added note about windows registry keys to USB-capture.txt
769 2009/02/17
770         - applied Josh Kropf's patch adding support for forced erase and
771                 load while module in use, properly handling when the
772                 device requests a reset
773 2009/02/15
774         - applied Nicolas Vivien's RecordId patch for Contact class...
775                 this updates Barry to deal with the new record ID behaviour
776                 on the Storm
777 2009/02/13
778         - removed unneeded call to .c_str() in EmailAddress stream operator
779         - added support for Calendar fields: Organizer, Accepted, Invited
780         - reorganized the udev/ script directory, based on distro,
781                 and added a specific rules file for openSUSE 11.1
782         - updated Debian and RPM binary scripts to point to correct udev files
783 2009/02/07
784         - applied Nicolas Vivien's patch to fix the timeout issue on the
785                 Blackberry Storm
786 2009/02/04
787         - applied Josh Kropf's save module patch
788                 - minor whitespace fixes
789                 - removed unneeded exception (fstream closes files
790                   automatically on exit of scope, or exception)
791                 - fixed compile error with variable sized array...
792                   replaced with std::vector<> instead of memcpy,
793                   in JavaLoader::SaveData()
794                 - commented out an unused variable
795 2009/02/03
796         - commented out AT+CREG? in barry-rogers.chat, since it causes some
797                 Blackberry devices to reboot
798         - applied Josh Kropf's eventlog and clear eventlog patches
799                 - capitalized JLEventlogEntry fields, to match other
800                   record classes
801                 - use constant when parsing entry
802                 - renamed a define
803         - sweeping cleanup of record classes and clarified all constant
804                 conversions i.e. whenever converting between a protocol
805                 constant and an API constant, do it through a function,
806                 in case the constants change on the Blackberry side
807 2009/01/31
808         - applied patch of binary VSM file from Robert Yaklin
809 2009/01/30
810         - moved Nicolas Vivien's codfile code into library class API
811                 - this change avoids having packed structs exposed in
812                   installable header files, and gives the library
813                   user an easy way to work with COD files
814                 - added CodFile class
815                 - added JavaLoader::LoadApp(CodFile&)
816                 - cleaned up bjavaloader to use new API
817                 - moved codfile_*_t structs to internal header
818                 - also fixed command line status output when exceptions
819                   are caught (unrelated fix)
820         - added / updated manpages: bfuse, bjavaloader, btool
821         - added fuse to build dependencies for rpm and deb packages
822         - updated web docs, adding libfuse to dependencies page
823                 - added libiconv as well
824 2009/01/29
825         - applied screenshot and zsh patch from Nicolas Vivien
826           His git log, as posted to the mailing list, was:
827                 Remove bscreenshot binary
828                 Add screenshot option to bjavaloader binary
829                 Add comments in the code
830                 Use defines beside of integer constant
831                 Use b2hons to be compliant with evrywhat host
832                 ZSH scripts completion
833                 Use BMP structs beside of unreadable buffer !
834           His changelog notes:
835                 - add command GetScreenShot to JLPacket class
836                 - add JLScreenInfo to protocol structures
837         - updated AUTHORS
838         - minor tweaks to Nicolas's screenshot+zsh patch:
839                 - renamed DIR_ENTRY and SS_ENTRY to DATA_ENTRY constant
840                   as suggested by comments
841                 - fixed some packet size checks
842                 - whitespace fixes
843                 - removed unneeded packet.GetReceive(), since response
844                   buffer is the same as what GetReceive() returns
845                 - used AutoClose for fopen() calls in bjavaloader.cc
846                   for exception safety
847                 - removed manual buffer handling in favour of Data object
848                   in JavaLoader::GetScreenshot()
849         - removed "unknown packet" exception from Socket::PacketData()
850                 I think it is probably better to handle javaloader-level
851                 errors and codes in the JavaLoader class, not the low-
852                 level Socket class.
853         - added erase and force erase support to bjavaloader, library, and zsh
854                 - force erase is experimental
855         - applied documentation patch from Robert Yaklin on VSM file format
856                 - did slight formatting changes before applying, for 80
857                   columns, and set file to unix format instead of DOS
858         - added links to new USB capture logs from Robert Yaklin to
859                 logs.php doc page
860         - cleaned up src/Makefile.am, regarding non-install headers
861         - moved Nicolas Vivien's bitmap conversion code into library API
862                 - added bmp.h api, and moved internal structs to bmp-internal.h
863                 - added size checks and endian conversion to bitmap
864                   conversion code, so this code should run anywhere
865 2009/01/27
866         - added link Josh Kropf's 'Blackberry development in linux' blog
867                 post to doc/www/index.php
868         - added USB capture log archive page to www docs
869         - added config.rpath, needed by new AM_ICONV check
870                 Thanks to Bill Paul for debugging this.
871         - applied Nicolas Vivien's opensync plugin 0.4x patch
872 2009/01/26
873         - added template wrapper for iconv() due to casting differences on
874                 various platforms... thanks to Bill Paul for FreeBSD testing
875         - added AM_ICONV automake/autoconf check to configure.ac
876                 This should take care of checking for libc or library
877                 iconv installs, and checking the iconv() prototype for whether
878                 const is needed or not.  This removes the need for the
879                 template added earlier.
880 2009/01/25
881         - applied patch from Josh Kropf making bjavaloader's syntax more
882                 compatible with the windows version, to make cross
883                 platform build scripts possible
884         - applied Josh Kropf's settime syntax patch
885         - clarified timezone behaviour in javaloader settime
886         - added flag to JavaLoader mode class, so StopStream() is called
887                 automatically in the destructor if not called manually
888 2009/01/24
889         - added another ctor to BadSize exception class
890         - fixed bug in SocketZero where it checked sequence on packets
891                 from non-zero sockets
892         - javaloader list mode updates:
893                 - added Dump() code to directory classes
894                 - fixed size issue with JLDirEntry header size define
895                 - fixed size checks in entry parser
896                 - fixed copy before in JLDirectory, now uses vector
897                 - moved bjavaloader's Start/StopStream calls to main()
898 2009/01/23
899         - removed default argument to CheckSize() so all code specifies
900                 the size it really needs
901         - fixed bug in ParseData() that didn't copy data to receive arg
902         - adding additional javaloader commands and refactoring
903                 this is a work in progress:
904                 - added JLPacket class, encapsulating javaloader protocol
905                 - added new defines for more JL commands
906                 - refactored socket class, using PacketData()
907                         for JL, and Packet() for Desktop (still needs
908                         some work to be really clean)
909                 - began implementing new commands (SetTime())
910                 - thanks to Rick Scott for his reverse engineering effort
911                         in XmBlackBerry, which inspired this code
912         - refactored packet.cc to make JLPacket even tighter
913         - updated doc/USB-capture.txt with link to vusb-analyzer
914                 Thanks to Martin Owens for the link.
915         - added a set of be_*() endian swap functions, for big endian data
916                 JavaLoader code seems to use big endian a lot.
917         - simplified bjavaloader.cc's command line args to make room for more
918         - cleaned up big endian code to use new be_* swap macros
919         - added protocol and packet code for directory / subdir commands
920         - added preliminary directory support to JavaLoader class
921 2009/01/22
922         - reverted experimental handshaking in IpModem, since the session_key
923                 patch fixed Bill Paul's issue
924         - finished adding IConverter support to r_task and r_timezone
925         - removed r_message_base.h from doxygen RecordParserClasses group
926         - removed unused ClassType variable from Task record class
927         - refactored Calendar and Task record classes, creating new
928                 RecurBase to handle recurrence data
929         - removed FIXME in Socket::Packet(), since socket is set in Send()
930         - cleaned up socket handling and comments in packet.cc
931 2009/01/20
932         - applied Nicolas Vivien's javaloader patch, fixing constant defines
933                 and other small fixes
934         - minor whitespace and spelling fixes to above patch
935         - changed m_ipmodem.cc to send the session key even without password
936                 which should help reduce the "special packets" coming from
937                 the device.
938                 Thanks to Rick Scott and Andy Herkey.
939 2009/01/17
940         - refactored pthread timeout creation into ThreadTimeout() function
941         - added experimental handshaking to IpModem.  This is in response
942                 to Bill Paul's email regarding what he was seeing in the
943                 logs with the special code packets which we dropped
944                 on the floor.  This code is to test whether this handshaking
945                 theory is true.
946 2009/01/16
947         - made maintainer script make-deb-local.sh more robust
948         - added list of target binary packages in ReleaseChecklist.txt
949         - changed to more general Fedora link to Chris Stover's packages
950 2009/01/15
951         - applied Andy Herkey's ipmodem password patch for the Bold
952         - minor fixes to above patch, and in addition to above patch:
953                 - use sizeof(seed), instead of type, in case of future changes
954                 - removed commented out code
955                 - added the null password check back to SendPassword(),
956                   for historical reasons
957                 - removed the null and zero default arguments to
958                   SendPassword(), since they make no sense
959                 - added define for session key size, and added size check
960         - added missing string.h header to src/m_javaloader.cc
961         - updated Debian and RPM packages to include bjavaloader
962 2009/01/14
963         - applied Nicolas Vivien's bjavaloader patch
964         - small fixups to above patch:
965                 - moved cod.h from installable headers to internal headers
966                 - whitespace edits
967                 - copyright statement tweaks
968                 - added blog URLs to copyright list in cod.h where parts
969                         of the structs appear to come from
970                 - removed unused variables to compile with strict settings
971                 - changed char to unsigned char to fix strict compiler
972                         warnings
973                 - removed duplicated a/b from Socket messages, and moved
974                         read/write text to front, in socket.cc
975                 - added NetDirect copyright notice to bjavaloader.cc, since
976                         it is based on btool.cc
977                 - removed unused boost-specific code from bjavaloader.cc
978         - more fixes to above patch: (bjavaloader.cc specifically)
979                 - moved cod.h back to installable headers, since tools/
980                         programs depend on it... this should be fixed
981                         or put in the library as a COD-reading API
982                         so that applications don't need to worry about
983                         packed files, etc.
984                 - fixed potential buffer overflow: removed buffer read used
985                         to skip ahead in file, and replaced with fseek()
986                 - changed SendAppFile() to report errors by exception
987                         instead of by return value, which wasn't checked
988                         anyway... and C++'d the file handle closing
989                 - removed unused StateTableCommand, leftover from btool
990                 - added check for unlikely case of COD file being larger
991                         than size_t, breaking the fread() assumption
992                         for the type == 0xC0DE case
993                 - added checks for fread() failures
994                 - fixed compiler warnings when comparing signed/unsigned,
995                         and changed file operation types from plain int
996                         to size_t/off_t
997         - changes to src/m_javaloader.cc:
998                 - fixed comments to remove Desktop-oriented notes
999                 - moved variables closer to their use point
1000                 - removed the duplicated response Data objects in favour
1001                         of just one (each default Data object uses 0x4000
1002                         bytes of heap)
1003                 - removed manual endian swap in favour of htobl()
1004                         - oops... this size field is actually big endian.
1005                           Since all Barry code assumes that Blackberry
1006                           protocol traffic is little endian, a special
1007                           case needs to be added in m_javaloader.cc for
1008                           this field.  The special case uses autoconf's
1009                           endian define.
1010                         - fixed long long problem in endian.h (ISO C++
1011                           compilers don't support long long) and made
1012                           the bswap() functions always available
1013                 - removed unused CommandType and m_commandTable members
1014                 - fixed exception error messages to indicate command #
1015                         instead of Desktop message
1016                 - changed Packet() call to PacketData() when sending
1017                         file size, since there is no command
1018         - added eout() data dump to socket::Packet() unknown send error
1019         - fixed my incorrect off_t/size_t check in bjavaloader.cc
1020         - removed the '0' JL_UNKNOWN4 command from src/protocol.h,
1021                 since the PacketData() change above now handles that,
1022                 and I don't think that byte is actually a command, but
1023                 really part of the uint32_t size
1024                 - Also fixed one remaining 0 command, to use PacketData()
1025 2009/01/09
1026         - added AT+CLAC note to contrib/modemtest.rb, recording tidbit
1027                 from mailing list
1028         - updated copyright dates for 2009
1029 2008/12/11
1030         - fixed missing slash in config sample in doc/www/sync.php
1031                 Thanks to sourceforge tracker #2413683 for reporting
1032 2008/12/01
1033         - added more notes to doc/USB-capture.txt, documenting my kernel
1034                 setup for capturing USB traffic, and added size-limiting
1035                 kernel patch
1036         - added TODO list item for the Blackberry Storm
1037 2008/11/30
1038         - moved Product ID constants into a single place (src/common.h)
1039                 and updated bcharge
1040         - added Product ID 8007 for the Blackberry Storm... needs testing
1041 2008/11/27
1042         - applied ppp chat script patch for AT&T Cingular from
1043                 Richard Esplin
1044         - added new chat scripts to debian and rpm packages
1045         - added known sources of additional Barry binary packages to index.php
1046         - turned on call/caller graph support in Doxygen output
1047 2008/11/23
1048         - applied 'patch' of Martin Owens' Content Store documentation
1049         - updated AUTHORS
1050 2008/11/22
1051         - large refactoring of all message/email record classes, and more
1052                 There is now a MessageBase base class, which combines
1053                 common email record parsing code in one class.  This base
1054                 class is reused by all the specific messages record classes.
1055                 This commit also includes support for multiple email
1056                 addresses per email, as well as giving IConverter support
1057                 to all message classes.
1058         - deleted empty *.cc files from project
1059         - updated TODO file, removing opensync i18n bug
1060         - added TODO item for password support in Opensync... try to avoid
1061                 storing the password in the sync config in plain text
1062         - fixed dll export bug on ErrnoError exception class
1063         - added BadPackedFormat exception for internal use
1064         - ServiceBook: added IConverter support, and general cleanup
1065                 Refactored ServiceBook class and added some experimental
1066                 template functions to generalize the FieldLink table
1067                 processing.  If possible, this needs to be expanded
1068                 to the general record classes, to reduce the amount of
1069                 code duplication during processing of FieldLinks and
1070                 CommonField structures.
1071                 Also, ServiceBook deals with packed fields, which should
1072                 also be extrapolated for general use, and reused if
1073                 possible for the new "Calendar - All" Blackberry databases
1074                 that are coming out on the new devices and firmare.
1075 2008/11/21
1076         - updated man/btool.1 with new -i option
1077         - fixed bug where opensync plugin didn't pass IConverter to Desktop
1078         - added IConverter support to r_calendar.cc
1079         - renamed utf8Needed to iconvNeeded, for consistency
1080         - added IConverter support to r_folder.cc
1081         - added IConverter support to r_memo.cc
1082         - added IConverter support to r_message.cc
1083         - added EmailAddressList, in preparation for multi-address email
1084 2008/11/20
1085         - changed Parser base class to pure abstract... this is so that
1086                 future API changes to the Parse base class will be
1087                 detected by the compiler as errors
1088         - added NullParser class, which performs the old Parser function
1089         - changed all FieldLink arrays to static
1090         - added new IConverter class to support converting the Blackberry's
1091                 WINDOWS-1252 charset to/from UTF-8 and more
1092         - fixed bug in IConverter that saved end of string instead of
1093                 beginning
1094         - reorganized barry.h app header and record.h header, so that
1095                 internal builds have fewer dependencies
1096         - large parser/builder API change, adding IConverter support
1097                 This change starts at the top (Mode::Desktop) which
1098                 takes an optional IConverter object for parsing and
1099                 building conversions.  The Desktop class passes
1100                 this IConverter object to Packet, Parser, and Builder (and
1101                 thereby, the corresponding Record classes) as needed.
1102                 This adds an extra pointer to a fair number of calls
1103                 in the stack, but maintains flexibility without putting
1104                 too much of a burden on Parser writers, which could be
1105                 application writers.
1106                 The primary use of this architecture is to pass in an
1107                 IConverter configured to convert to UTF-8... this is
1108                 basically the only useful conversion method, but others
1109                 are possible if you want to play.
1110         - first record class to support string conversions: Contact
1111         - reverted the barry.h and record.h reorganization, since
1112                 the gui depends on it
1113         - reorganized barry.h and record.h again, making inclusion of
1114                 the record headers dependent on whether it is a library
1115                 build or not
1116         - updated the gui with the parser/builder API change
1117         - added IConverter to opensync plugin, set to UTF-8
1118 2008/11/13
1119         - added comment to src/r_contact.h deprecating the Phone field
1120         - updated Doxyfile to 1.5.1
1121         - added Christopher D. Stover to AUTHORS file as Fedora contact
1122 2008/11/03
1123         - forgot #include <string.h> for memcpy/memset in tools/bfuse.cc
1124         - moved bfuse install point from /usr/sbin to /usr/bin
1125 2008/11/01
1126         - added FUSE filesystem "driver"
1127 2008/10/31
1128         - commented out the info.subsystem match level in HAL FDI file...
1129                 this should let the FDI work on old and new systems.
1130                 HAL version 0.5.8 (used by Debian Etch) has the deprecated
1131                 info.bus property, and doesn't have info.subsystem yet.
1132         - added HAL FDI scripts to rpm/barry.spec
1133         - fixed tools/Makefile.plain
1134 2008/10/30
1135         - added support for multiple work/home phone numbers to the
1136                 opensync plugin.
1137                 - Thanks to Richard Esplin for his test data.
1138                 - This fix has a conflict when a cell phone number is
1139                         marked as the preferred contact as well.
1140                         See http://sourceforge.net/mailarchive/message.php?msg_name=20081030231045.GA28989%40foursquare.net
1141                         for the full details.
1142                 - This fix also changes the VCARD output... pager phone
1143                         numbers are given the TYPE code of "pager"
1144                         instead of "msg".
1145                 - Added OtherPhone field as well
1146 2008/10/22
1147         - applied HAL FDI scripts and configuration from Martin Owens
1148         - updated AUTHORS file
1149         - added HAL FDI and python script to Debian package install
1150 2008/10/18
1151         - updated copyright notice and help text in contrib/modemtest.rb
1152         - changed barry-verizon.chat script according to Andy Herkey's
1153                 recommendation... this worked much better for Michael L.
1154                 Stokes, since his provider was getting stuck on the ATZ
1155 2008/10/16
1156         - applied Andy Herkey's modemtest.rb ruby script to contrib/
1157                 from his Aug 9, 2008 email to the mailing list
1158         - applied Andy Herkey's new modemtest.rb script to contrib/
1159                 from his Oct 8, 2008 email to the mailing list
1160         - added password pass-through code for pppob -s mode
1161         - clarified front page www doc, adding date of last release
1162                 and license
1163         - cherry-picked changes from Jose Carlos Garcia Sogo's debian git repo
1164                 - debian/rules was stripping wrong library names
1165                 - FSF address was incorrect (also updated other source
1166                         files throughout the tree myself)
1167                 - more complete debian/copyright file
1168 2008/09/24
1169         - version bump:
1170                 - configure.ac
1171                 - src/Makefile.am
1172                 - src/version.cc
1173                 - gui/src/BackupWindow.cc
1174                 - Doxyfile
1175                 - rpm/barry.spec
1176                 - debian/changelog
1177                 - opensync-plugin/src/barry_sync.cc
1178         - added link to doxygen documentation to www index.php
1180 Release: version 0.14 - 2008/09/24
1181 ------------------------------------------------------------------------------
1182 2008/09/24
1183         - changed Debian changelog version to 0.14-0 to make room for
1184                 official Debian packages which start at 0.14-1
1185         - moved Doxyfile from src/Makefile.am to Makefile.am
1186         - made RPM spec file match debian version number
1187         - www documentation updates for 0.14
1188 2008/09/19
1189         - fixed git-tagged-release.sh to not delete its own results... oops
1190 2008/09/18
1191         - fixed git command line in git-extract.sh for new 1.6.0.x behaviour
1192 2008/09/13
1193         - added notes in ReleaseChecklist.txt regarding the new tarball
1194                 tags in the git repos
1195 2008/09/12
1196         - updated doc/ReleaseChecklist.txt
1197         - moving items from private todo list to TODO file
1198         - removed unused variable from maintainer/git-release-tar.sh
1199         - added new maintainer/git-tagged-tar.sh, which puts more data
1200                 in the git repo, to make it easier for official Debian
1201                 package creation
1202         - moved src/Doxyfile to ./Doxyfile to avoid ".." in the config...
1203                 the ".." paths confused doxygen and caused it to generate
1204                 non-relative paths in the documentation.
1205         - added umask to maintainer/git-extract.sh, so it works even without
1206                 a pre-configured git
1207         - updated maintainer/tar-prepare.sh to match the new Doxyfile
1208         - added maintainer/tagged-release.sh, as replacement for the
1209                 release.sh top level script, when using git
1210         - removed CVS-style ID code from contrib/barry-unbind-storage.sh
1211                 since it made it look like cdfrey wrote it
1212         - removed doc/CodingStyle.txt as it is now documented in html
1213 2008/08/29
1214         - added device name and backup label support to the GUI
1215                 It is now possible to name devices, instead of just
1216                 operating by PIN number, and it is possible to now
1217                 add a text label to the backup tar filenames.
1218         - added the device names to the device selection dialog
1219 2008/08/26
1220         - updated TODO list with i18n opensync bug and general i18n support
1221         - added test suite to TODO list
1222 2008/08/23
1223         - renamed libbarry to libbarry0 in rpm/barry.spec
1224         - added %dump to rpm/barry.spec to match the OBS version
1225                 Makes it easier to track variable changes across
1226                 various distros.
1227         - added note to NEWS regarding binary package renaming
1228 2008/08/22
1229         - fixed logic error in breset that displayed error on success
1230                 Thanks to Richard Esplin for reporting this bug.
1231         - applied commit's from Jose Carlos Garcia Sogo's debian git repo
1232                 git://git.debian.org/git/users/jsogo/barry.git
1233                 - Add binary dependency of libbarry-dev on libusb-dev
1234                 - Rename libbarry to libbarry0, per debian policy
1235                 - Add exact dependency on binary:Version for every
1236                         -dbg and -dev package
1237                 - Bump Standards-Version to 3.8.0
1238         - updated AUTHORS
1239         - clarified barrybackup error message when no records available
1240                 Added a check so that "no databases selected" and
1241                 "no records available" are two distinct error messages.
1242 2008/08/21
1243         - applied ppp chat script patch from Mick Reed
1244         - updated RPM and Debian packages with new tmobileus ppp scripts
1245         - added T-Mobile US to web documentation
1246         - updated AUTHORS
1247         - clarified sync docs regarding slow-sync... avoid it if possible
1248         - tuned doxygen config, and moved generated files to doc/www/doxygen
1249         - added git-release-tar.sh, replacing CVS's make-release-tar.sh
1250                 Also added doxygen to the release tarball creation, so
1251                 the source code's doxygen documentation is automatically
1252                 generated upon release.
1253         - split git-release-tar.sh into reusable component scripts
1254 2008/08/14
1255         - added exception handler for invalid command line options in GUI
1256         - fixed barrybackup man page, removing bad -v option
1257         - added distro section to AUTHORS
1258         - fixed comment and whitespace problems in time.{h,cc}
1259         - Converted Birthday from string to Date, and added Anniversary
1260                 support.  Birthday and Anniversary fields now use a new
1261                 Date struct, and Barry validates the data to some extent.
1262                 - updated example code and opensync plugin to match
1263         - applied Lee Dixon's Location and Description plugin patch,
1264                 with minor whitespace edits
1265 2008/08/12
1266         - added Birthday field to examples/addcontact.cc for testing
1267 2008/08/11
1268         - applied Lee Dixon's Birthday field and opensync patch
1269                 - fixed coding format issues
1270         - updated AUTHORS
1271 2008/08/07
1272         - fixed bug in m_ipmodem.cc that included a null terminator in
1273                 first AT command
1274         - fixed RFC 2426 conformance bug...  RFC 2426, 3.1.1 states that FN
1275                 MUST be present in the vcard object.  If there is no name
1276                 available, then we use the Company name if available.  It
1277                 should be, since the Blackberry requires either name or Company
1278                 in order to create a new address.  If Company is blank too, then
1279                 we insert "(Blank Name)".
1280                 - On the flip side of this same bug, it is possible to receive
1281                         non-conformant vcard data from evolution / opensync
1282                         that does not include FN.  Since the Blackberry
1283                         doesn't require this information, remove the
1284                         exception, and only throw an exception if FN
1285                         or Company are both blank.
1286                 - REVERT: removed the Company and "(Blank Name)" workarounds,
1287                         and just produce an invalid vcard if no full name,
1288                         since with multiple syncing, this will come back
1289                         to bite us with duplicated Company name data
1290         - added sanity check to contact class for blank name and company
1291         - added BadData exception class, and documented it
1292 2008/08/06
1293         - fixed bug in vAttr::GetValue that ignored index for single valued
1294                 attributes... this should fix the endless loop / memory
1295                 exhaustion that some people have been seeing
1296                 Thanks to Lee Dixon for reporting this bug in detail!
1297         - added TODO list item for implementing recurring calendar items
1298 2008/08/01
1299         - version bump:
1300                 - configure.ac
1301                 - src/Makefile.am
1302                 - src/version.cc
1303                 - gui/src/BackupWindow.cc
1304                 - src/Doxyfile
1305                 - rpm/barry.spec
1306                 - debian/changelog
1307                 - opensync-plugin/src/barry_sync.cc
1308         - updated web docs showing how to set the password when using modem
1309         - added section to docs on how to test the modem connection
1311 Release: version 0.13 - 2008/07/28
1312 ------------------------------------------------------------------------------
1313 2008/07/28
1314         - web doc updates:
1315                 - removed extraneous "experimental" wording
1316                 - added section for external links to main index page
1317                 - fixed doc bug about how to install libtar
1318                 - added O2 Ireland to list of modem scripts
1319                 - removed ubuntu80464 and fc6 from binary package list
1320 2008/07/26
1321         - updated AUTHORS
1322 2008/07/25
1323         - applied barry-unbind-storage.sh script from Niels de Vos...
1324                 added to contrib for now, in the interests of getting
1325                 version 0.13 released soon... we can work on integrating
1326                 this better in 0.14, which hopefully won't take so long :-)
1327 2008/07/24
1328         - added g++ (>= 4.1) to Debian build dependency list
1329         - added support to base library and utilities for multiple email
1330                 addresses in Contact records
1331         - added opensync support for multiple contact email addresses
1332         - applied ppp chat scripts for O2 Ireland from Simon Kenyon
1333         - updated AUTHORS
1334         - integrated O2 Ireland scripts into binary package installs
1335 2008/07/16
1336         - applied David Mansfield's opensync module password patch (ported
1337                 manually to latest upcoming 0.13)
1338         - updated AUTHORS
1339         - added password documentation to sample barry-sync module config
1340         - updated web docs with new password sample config
1341 2008/07/05
1342         - removed old, unused spec file and scripts for bcharge-only release
1343         - fixed rpm build instructions in web docs
1344         - reduced minimum password retry level from 6 to 3... Reinhold Schoeb
1345                 reports that his 8800 device only lets him set a password
1346                 retry range between 3 and 5, instead of the usual 10 that
1347                 most devices have.
1348 2008/07/04
1349         - added "known issues" section to main www doc page
1350         - fixed virtual function mis-name bug in btool's null parser
1351         - added -i option to brecsum, to include record IDs in the sums
1352         - applied Ashley Willis's btool 0.12 null parser patch to CVS, which
1353                 required some manual porting changes...
1354                 - removed bool reference argument in GetParser()
1355         - updated AUTHORS
1356         - applied Ashley Willis's perlbarry package, putting it in the
1357                 new contrib/ directory
1358                 - updated AUTHORS
1359                 - now that btool patch is applied, don't need it in contrib
1360         - removed openssl from dependencies documentation, as barry now
1361                 has its own sha1 code
1362         - added libtool to dependencies documentation
1363         - rpm/barry.spec file now assumes gui and opensync, with conditional
1364                 checks depending which system it is being built on...
1365                 --with gui and --with opensync are no longer needed.
1366         - updated release scripts to build RPMs with the new spec file
1367 2008/06/26
1368         - updated udev rules to recognize devices with the 8004 Product ID
1369         - fixed bug in test/buildtest.sh when opensync is not pre-built
1370         - fixed more lintian warnings on Ubuntu
1371         - fixed tiny subheadings in modem web document
1372         - added syncing howto web document
1373         - updated TODO list, adding Troubleshooting item, and morphing
1374                 the modem item into the RPC daemon item
1375         - moved old doc/TroubleShooting.txt document to web, and updated
1376                 it in the process
1377         - added tip to sync web docs, for using DebugMode on hangs
1378 2008/06/23
1379         - changed test/buildtest.sh so it is safe to run from outside
1380                 the directory that contains it
1381         - added note to patch webpage regarding testing patches to the
1382                 build system
1383         - removed mis-configured 'make dist' check from buildtest.sh
1384         - added missing 'scoped_lock.h' to src/Makefile.am's non-installed
1385                 headers, as it is an internal header only
1386         - improved buildtest.sh: speed, accuracy
1387                 - added -j option to make to speed builds
1388                 - moved cleanall check above 'make dist' as dist doesn't
1389                         clean up after itself
1390                 - commented out 'make distcheck' for now, as it doesn't work
1391         - added DISTCHECK_CONFIGURE_FLAGS to root Makefile.am, similar to
1392                 David Everly's patch in tracker # 1973536
1393                 Thanks David!  'make distcheck' now works, but only in
1394                 an environment like buildtest.sh creates.
1395                 Also, buildtest.sh passes all tests now, including distcheck.
1396         - updated AUTHORS
1397         - removed unused src/controllertmpl.h
1398         - added ppp and test directories to Makefile.am EXTRA_DIST
1399 2008/06/21
1400         - added beginnings of a build system test script
1401         - fixed sha1.h so it is installed by src/Makefile.am
1402         - removed old Makefile.orig from src/Makefile.am
1403 2008/06/20
1404         - updated modem web documentation page with Sprint option, as
1405                 well as listing some network security concerns
1406 2008/06/19
1407         - added modem reset workaround to web documentation page
1408         - applied Andy Herkey's ipmodem password patch, round 1
1409         - applied Andy Herkey's ipmodem password patch, round 2
1410         - cleaning up some rough edges to the ipmodem patches:
1411                 - removed commented out code in pppob.cc
1412                 - added BXLOCAL to private member SendPasword()
1413                 - added try/catch in IpModem destructor
1414                 - removed FIXME comment about endian issues
1415                 - added data size checks to SendPassword()
1416                 - removed catch(...)
1417                 - renamed class variable session_key to match others
1418                 - added check to skip password if "" is passed in
1419                 - added the m_filter for ipmodem PPP 0x7e filtering
1420                   back, since the 8320 w/ rogers seems to need it
1421         - updated AUTHORS
1422 2008/06/06
1423         - added timeout argument to Device::BulkDrain()
1424         - added mozilla's sha1 code from git
1425         - removed openssl dependency due to license issues
1426                 Debian and Ubuntu have checks in their lintian tool that
1427                 check for GPL+OpenSSL linkage.  In order to remove any
1428                 potential obstacles to future inclusion in those distros,
1429                 the dependency is removed here in favour of the small
1430                 mozilla implementation which is GPL.
1431 2008/06/04
1432         - added notes to web documentation for OpenBSD
1433         - documentation updates:
1434                 - changed git patch command to use format-patch
1435                 - added instructions for building from tarball
1436                 - added bugs.php and contact.php pages
1437         - fixed missing and mis-dated copyright notices in src/
1438         - added ppp options and chat script for Sprint, based on
1439                 Andy Herkey's mailing list report
1440 2008/05/30
1441         - added Ubuntu 8.04 to release build scripts
1442 2008/05/29
1443         - fixed compile errors in gui when compiling with gcc 4.3.x
1444         - added ppp options and chatscript files to RPM build
1445         - updated docs with binary package default PPP scripts
1446         - added -P option to pppob to specify password
1447         - updated pppob manpage with -P option
1448         - fixed missing -P option in btool manpage
1449         - updated rpm spec file history
1450         - added pppob manpage to rpm spec file
1451         - added manpages for brecsum, breset, upldif, and barrybackup,
1452                 and updated the build process to support them.
1453                 Also updated date for pppob manpage.
1454         - updated rpm spec file with new manpages
1455         - added ProductID code 0x8004 to breset.cc
1456         - minor whitespace and usage text fix in upldif.cc
1457         - deleted old src/Makefile.orig
1458         - updated Debian binary package:
1459                 - added manpages for brecsum, breset, pppob, upldif,
1460                         and barrybackup
1461                 - added ppp options and chat scripts, with postinit
1462                         script to set permissions
1463                 - fixed descriptions in control file to avoid lintian warnings
1464 2008/05/27
1465         - fixed missing #includes in src/data.cc
1466         - fixed compile errors in library, utils, and plugin when compiling
1467                 with new gcc 4.3.x... gui not yet finished
1468 2008/05/24
1469         - added minimum g++ version to website dependency docs
1470 2008/05/23
1471         - added ppp/README
1472         - reorganized sample ppp options files so they are easier to compare,
1473                 enabled "usepeerdns" in both, and disabled the speed
1474                 setting in barry-verizon
1475         - updates to website documentation
1476                 - added FC9 to distro list
1477                 - added page for BarryBackup
1478                 - added page for USB modem / pppob
1479 2008/05/22
1480         - added sample ppp options files for Verizon Blackberries
1481                 Sample files from Michael L. Stokes
1482         - updated AUTHORS
1483         - renamed sample ppp peer files, in preparation for installing
1484                 them automatically in binary packages
1485         - modified verizon options file to use pppob
1486         - split the sample rogers options file into options and chat files
1487 2008/05/16
1488         - put sequence packet check directly in the SocketZero::RawReceive()
1489                 function, which now localizes all sequence packet
1490                 handling and checking, as well as avoids packet
1491                 order problems when multiple sockets are in use,
1492                 such as with pppob...
1493                 FIXME - this localized sequence checking may make all
1494                 the calls to CheckSequence() obsolete which
1495                 should probably be cleaned up someday, if so.
1496         - reorganized src/socket.cc to match class private/public
1497                 order (no code change, only move)
1498         - added verbose log message to Controller constructors, so it is
1499                 possible to determine whether a program is using
1500                 threaded or non-threaded sockets
1501         - added -z and -Z command line options to btool to control
1502                 the non-threaded/threaded behaviour, respectively;
1503                 and updated the man page
1504         - removed debug sleep() calls from pppob
1505         - added SIGINT signal handler so pppob shutsdown gracefully when
1506                 pppd is killed
1507 2008/05/15
1508         - mention CVS and git on main documentation "how to" list
1509         - moved PPP filter logic into its own class
1510         - enhanced PPP filter class to support prepending of
1511                 empty bytes if needed, in order to reduce data
1512                 copying, and clarified why there is no GetBuffer()
1513         - added ProbeResult::HasIpModem() to determine whether
1514                 IpModem endpoints are available
1515         - added pure virtual Modem base class for common
1516                 modem-oriented API (only Open and Write so far)
1517         - Mode::IpModem is now derived from Barry::Modem
1518         - experimental implementation for Mode::Serial,
1519                 which is now derived from Barry::Modem,
1520                 and uses PppFilter
1521         - pppob now supports IpModem and Serial modes, and logging
1522                 to file instead of stderr
1523         - added man page for pppob
1524 2008/05/10
1525         - modified the planned version numbering scheme in doc/VersionNotes,
1526                 so that a 1.0 is possible, with 1.50 as the devel series
1527 2008/05/09
1528         - continuing to update html documentation in preparation for
1529                 0.13 release
1530 2008/05/02
1531         - removed -fvisibility-inlines-hidden compile options since some
1532                 distros have old or broken compilers or libraries where
1533                 the build breaks looking for STL templates (Ubuntu 7.10,
1534                 I'm looking at you...)
1535         - changed brecsum so usage information is displayed automatically
1536                 if no command line arguments are specified
1537         - added opensync-plugin to maintainer test scripts, and added
1538                 ubuntu710 to the test build sequence
1539 2008/05/01
1540         - updated doc/TroubleShooting.txt
1541         - removed usb_control message check from IpModem endpoint probing
1542                 in src/probe.cc, since some devices, like the 8700
1543                 have both RIM_UsbSerData mode and IpModem mode.
1544         - fixed serialization code for Calendar record class, in s11n-boost.h
1545         - made UnknownField's data member into its own type,
1546                 so that when building records, it doesn't get processed
1547                 like a null terminated string... also added more
1548                 BuildField() helper functions for accuracy
1549         - fixed missing fields in the Calendar record build process
1550         - added Calendar to list of Builders in tools/btool...
1551                 it is now possible to run: btool -s "Calendar" -f datafile
1552         - added tools/brecsum program, which calculates SHA1 checksums
1553                 on database records, for testing
1554         - added brecsum to debian and rpm builds
1555         - added recurrence builder function to Calendar record builder code
1556                 which completes builder support
1557                 Checksums from the following commands now match:
1558                         brecsum -d Calendar > sum1.txt
1559                         btool -d Calendar -f calendar.dat
1560                         btool -s Calendar -f calendar.dat
1561                         brecsum -d Calendar > sum2.txt
1562                         diff -u <(sort sum1.txt) <(sort sum2.txt)
1563 2008/04/29
1564         - applied Jason Thomas's ACLOCAL_FLAGS patch to make autoreconf
1565                 work again... Thanks!
1566         - applied Jason Thomas's debian build dependency patch
1567         - updated AUTHORS
1568 2008/04/26
1569         - started documentation overhaul in doc/www, putting the commonly
1570                 asked questions right on the front page, and making it more
1571                 goal-oriented, so it is hopefully easier to use
1572 2008/04/25
1573         - updated NEWS file
1574         - fixed error messages in m_desktop.cc that still referred
1575                 to Controller
1576 2008/04/25
1577         - major merge of barry-b1-socket-arch-branch into MAIN.
1578           The following is the changelog from that branch, which is now MAIN.
1580         2008/04/25
1581                 - added thread-safe logging mechanism
1582                 - added preliminary IP modem support... requires a recent
1583                         device... serial mode is not yet supported
1584                 - merged HEAD changes
1585         2008/03/27
1586                 - changed Barry::Init() so programmer can choose where
1587                         debug and exception information goes, instead of
1588                         always to stdout
1589         2008/03/22
1590                 - merged HEAD changes
1591         2008/03/20
1592                 - fixed bug in probe class, which missed storing the PIN
1593                         number in ProbeResult
1594                 - also added ProbeResult constructor
1595                 - merged changes from visibility branch:
1596                         - GCC visibility support, limiting what symbols are
1597                           visible in the shared library, libbarry... this makes
1598                           a drastic reduction in the symbol table, and should
1599                           avoid future name clashes with other libraries such
1600                           as opensync
1601                           See: http://gcc.gnu.org/wiki/Visibility
1602                         - vformat_() function name changes
1603         2008/03/07
1604                 - merged HEAD changes
1605                 - added threads library to new bs11nread build
1606         2008/02/28
1607                 - fixed variable size issues in btranslate.cc, evident with
1608                         some compilers on 64 bit systems
1609                 - merged HEAD changes
1610                 - added comments for threaded usage in usbwrap.h
1611                 - changed router to use SocketId typedef, for clarity
1612         2008/02/22
1613                 - fixed const char warnings from newer gcc compilers
1614                 - controller object now saves a copy of the probe result
1615                         and provides an API to retrieve it
1616                 - added sanity checks to m_serial.cc
1617                 - fixed probe behaviour so that a USB probe on an endpoint
1618                         that doesn't respond won't halt everything
1619                 - refactored some of the probe code, and added checks for
1620                         IP modem endpoints
1621                 - added Probe::DumpAll()
1622                 - added Open() call to pppob.cc (not yet complete)
1623         2008/01/30
1624                 - implemented dataqueue.{h,cc}... looks ready for testing,
1625                         once things compile again
1626                 - changed free list copy in router.cc to use
1627                         DataQueue::append_from()
1628                 - finished packet.{h,cc} implementation, ready for testing
1629                 - finished controller.{h,cc}, ready for testing
1630                 - finished m_desktop.{h,cc}, ready for testing
1631                 - added skeleton m_serial.cc
1632                 - the base library and utilities compile again!
1633                 - added constructor for SocketZero(queue)
1634                 - fixed ErrnoError::GetMsg()
1635                 - updated GUI and opensync plugin to compile with new API
1636                 - moved Raw Send/Receive socket functions to private
1637                 - fixed packet header size bug in socket that caused
1638                         socket ID override to be skipped
1639                 - fixed incorrect use of gettimeofday()
1640                 - fixed race condition where Controller could destroy
1641                         the Usb::Device object before the SocketRoutingQueue
1642                         was done with it
1643                 - fixed segfault in SocketZero::RawSend() when a router
1644                         was in use
1645                 - fixed Open() bugs in btool... Open() must be outside of loops
1646                 - btool uses the router thread now, for testing
1647                 - partially implemented m_serial.{h,cc}... needs testing
1648                 - added automatic buffer allocation to SocketRoutingQueue
1649                         constructor
1650                 - made AllocateBuffers() a little smarter, so it was not
1651                         pure appending
1652                 - added a context data pointer to the SocketRoutingQueue
1653                         RegisterInterest callback
1654                 - added RegisterInterest functionality to Socket class
1655                 - added exceptions on router read errors in socketzero
1656         2008/01/26
1657                 - implemented router.{h,cc}... looks ready for testing,
1658                         once things compile again
1659         2008/01/25
1660                 - merged HEAD changes
1661                 - added router.cc and continued work on new arch
1662                 - merged HEAD changes for 2008 copyright statements
1663                 - added scoped_lock.h
1664                 - added ErrnoError exception class
1665                 - documented Controller / SocketRoutingQueue behaviour
1666                 - more router implementation
1667                 - simplified pppob
1668                 - audit and cleanup of socket.{h,cc} code... looks ready
1669                         for testing now, once things compile again
1670                 - removed FIXME in router.*
1671                 - removed pthread header from pppob as it is not needed
1672         2007/11/22
1673                 - merged HEAD changes
1674         2007/10/25
1675                 - merged HEAD changes
1676         2007/10/19
1677                 - branch started, to track development of the new socket
1678                         architecture, and new mode architecture, needed
1679                         to support GPRS modem support, and threaded
1680                         USB access
1681                 - committed work-in-progress... does not compile
1683 2008/04/10
1684         - added Tasks and Memos to TODO list
1685 2008/03/27
1686         - added support for Blackberry 8120, which has a unique Product ID
1687                 Sourceforge tracker ID: 1829537
1688 2008/03/22
1689         - removed TimeZones from TODO list, as it is done
1690 2008/03/21
1691         - version bump:
1692                 - configure.ac
1693                 - src/Makefile.am
1694                 - src/version.cc
1695                 - gui/src/BackupWindow.cc
1696                 - src/Doxyfile
1697                 - rpm/barry.spec
1698                 - debian/changelog
1699                 - opensync-plugin/src/barry_sync.cc
1700         - added GCC visibility support, limiting what symbols are visible
1701                 in the shared library, libbarry... this makes a drastic
1702                 reduction in the symbol table, and should avoid future
1703                 name clashes with other libraries such as opensync
1704                 See: http://gcc.gnu.org/wiki/Visibility
1706 Release: version 0.12 - 2008/03/21
1707 ------------------------------------------------------------------------------
1708 2008/03/21
1709         - changed maintainer script to use CVS export instead of checkout,
1710                 to avoid the CVS directories
1711         - added support for building Debian source packages with proper
1712                 diff.gz and dsc files
1713         - fixed find warning in maintainer/make-rpm.sh
1714         - added support for Ubuntu binary packages to the maintainer build
1715                 scripts
1716 2008/03/13
1717         - renamed all vformat_ and VFormat symbols in opensync plugin's
1718                 copy of vformat code, so they don't conflict with the
1719                 real opensync libraries
1720 2008/03/07
1721         - updated the install.php web page with Paul Dugas's notes on
1722                 building RPM's from CVS
1723         - fixed problem in tools/Makefile.am where bs11nread was included
1724                 in build, even if --with-boost was not specified
1725                 on ./configure command line
1726 2008/03/06
1727         - changed format of Boost serialization file output from btool,
1728                 so that the database name is stored as the first line
1729                 of the file
1730         - added tools/bs11nread.cc to read Boost serialization file data
1731                 written by btool
1732         - minor adjustments to r_message.h and r_timezone.h
1733         - updated s11n-boost.h header to match record classes
1734 2008/03/01
1735         - applied Time Zone parsing patches from Brian Edginton
1736         - added Time Zones to list of supported parsers in btool.cc
1737 2008/02/29
1738         - changed configure.ac to use bzip2 for "make dist".. thanks to
1739                 Paul Dugas for the tip
1740 2008/02/28
1741         - committed Chris Burgess's update to the roadmap document
1742         - applied Paul Dugas's x86-64 build patch, except the
1743                 tar.bz2/tar.gz change
1744         - updated AUTHORS file
1745 2008/02/22
1746         - fixed configure.ac's --with-boost option, so that without args,
1747                 it defaults to using --includedir and --libdir settings,
1748                 instead of hardcoding /usr/include and /usr/lib... this
1749                 should allow smarter compiling on 64 bit systems
1750         - updated RPM spec file to use new --with-boost behaviour
1751         - ahem, fixed configure.ac again... don't use --includedir and
1752                 --libdir, as those are install targets... oops.
1753                 Don't add path overrides at all if not specified.
1754 2008/01/25
1755         - fixed locale issues in src/data.cc
1756         - updated copyright statments for 2008
1757 2007/12/21
1758         - applied wording correction patch to btool from Matt LaPlante
1759 2007/12/07
1760         - changed hard coded databases names in btool to calls to
1761                 <recordclass>::GetDBName()
1762         - version bump:
1763                 - configure.ac
1764                 - src/Makefile.am
1765                 - src/version.cc
1766                 - gui/src/BackupWindow.cc
1767                 - src/Doxygen
1768                 - rpm/barry.spec
1769                 - debian/changelog
1770                 - opensync-plugin/src/barry_sync.cc
1771         - updated TODO
1773 Release: version 0.11 - 2007/12/01
1774 ------------------------------------------------------------------------------
1775 2007/12/01
1776         - fixed null pointer bug in Probe class (bug #1842407)
1777         - added pause to maintainer release script
1778 2007/11/30
1779         - version bump:
1780                 - configure.ac
1781                 - src/Makefile.am
1782                 - src/version.cc
1783                 - gui/src/BackupWindow.cc
1784                 - src/Doxygen
1785                 - rpm/barry.spec
1786                 - debian/changelog
1787                 - opensync-plugin/src/barry_sync.cc
1789 Release: version 0.10 - 2007/11/30
1790 ------------------------------------------------------------------------------
1791 2007/11/30
1792         - added support to the usbwrap Match class to limit its
1793                 search by busname / devname
1794         - added support to the Probe class to limit its search for
1795                 Blackberry devices to a given bus or device name
1796         - added command line options to btool for the above Probe
1797                 bus/device names, and updated the man page
1798         - updated the www docs with regard to the new usb_storage
1799                 behaviour and the new blacklist files... less
1800                 concern about berry_charge and usb_storage conflicts
1801         - added bidentify tool and accompanying man page
1802         - fixed bug in rpm maintenance script that used the wrong
1803                 spec file for opensuse
1804 2007/11/29
1805         - added better error checking to breset
1806         - commented the sleep() for the 8830
1807         - added code to handle the race condition where usb_storage
1808                 claims the device before bcharge arrives on the scene,
1809                 by asking the kernel to detach the driver from
1810                 the Mass Storage interface... this change makes it
1811                 possible to run bcharge, moving from 0006 to 0004
1812                 to 0001 and back to 0004, all *while* usb_storage
1813                 is loaded!
1814         - changed Probe class behaviour so that it will not throw an
1815                 exception on Device Busy (-EBUSY) but instead
1816                 log the error in an internal array and keep going.
1817                 This makes it possible to use btool and barrybackup
1818                 with two devices plugged in at the same time.
1819                 BACKWARD COMPATIBILITY NOTE: this changes initializaion
1820                         behaviour, but in practice, it should only
1821                         make applications look more capable, not less.
1822         - updated btool to show errors logged by Probe
1823         - added message to specify which PIN device is being used by btool
1824         - added explanatory comments to udev rules files, about why
1825                 they are so verbose
1826 2007/11/27
1827         - added ClearHalt() calls to probe and controller classes, just
1828                 before any communication happens... the 8830 seems
1829                 to need this
1830 2007/11/23
1831         - added usbwrap.cc:GetConfiguration()
1832         - added code to check whether the configuration is the one
1833                 we require, before calling SetConfiguration()... and not
1834                 to call it if unnecessary.  This allows us to run
1835                 at the same time as usb_storage.
1836                 Thanks to Martin Owens for not letting this issue go. :-)
1837         - added sleep to bcharge, before calling usb_reset()... the
1838                 Blackberry 8830 behaves like a Pearl device in that
1839                 it has mass storage support, but behaves like a Classic
1840                 in that it resets itself... the usb_reset() seems
1841                 to reset it back to 0006.  The sleep allows the device
1842                 to disappear via its own reset, and let usb_reset()
1843                 fail naturally on these devices.
1844                 This is not an ideal solution... mainly for testing.
1845 2007/11/09
1846         - added modprobe/blacklist-berry_charge as per Simon Ruggier's
1847                 suggestion.  Thanks also to Niels de Vos for a similar
1848                 suggestion.
1849         - fixed udev rules to work on both old and new distros
1850                 Thanks to Duncan Mak for the bug report.
1851         - AUTHORS update
1852         - fixed string comparison to use case insensitive compare in
1853                 opensync plugin
1854         - updated Debian package to include modprobe blacklist file
1855         - updated rpm spec file to include modprobe blacklist file
1856         - split the maintenance scripts into release and test, so
1857                 that release package builds can be done faster
1858 2007/10/26
1859         - opensync plugin fixes:
1860                 - fixed memory leak in vBase::GetAttr()
1861                 - added support in vformat parser to parse "blocks"
1862                         and keep track of the hierarchy when
1863                         parsing an iCalendar, etc.
1864                 - added support for searching for attributes only
1865                         inside certain blocks (i.e. find first
1866                         DTSTART in VEVENT block, not VTIMEZONE block)
1867 2007/10/25
1868         - fixed bug in Calendar::Clear, missing the Free / Class
1869                 member variables, leaving them uninitialized
1870         - added examples/addcalendar.cc
1871         - added more logging to the opensync plugin, logging the
1872                 ToBarry conversion results
1873         - added code to force struct tm.tm_isdst to -1 before calling
1874                 mktime, in vformat.c
1875                 - fixed typo in previous fix
1876 2007/10/12
1877         - renamed ktrans and translate to bktrans and btranslate to avoid
1878                 file name clashes with libtranslate of Gnome
1879                 Closes bug #1812410 reported by Troy Engel.
1880         - version bump:
1881                 - configure.ac
1882                 - src/Makefile.am
1883                 - src/version.cc
1884                 - gui/src/BackupWindow.cc
1885                 - src/Doxygen
1886                 - rpm/barry.spec
1887                 - debian/changelog
1888                 - opensync-plugin/src/barry_sync.cc
1889         - fixed missing default config file in the debian package for
1890                 the opensync plugin
1891                 Closes bug #1812224 reported by Ariel (adonatti).
1892         - added debian dbg packages for tracing segfaults
1893         - modified maintainer scripts so debug packages would reference
1894                 source code located in /usr/src/barry-0.9, etc.
1896 Release: version 0.9 - 2007/10/12
1897 ------------------------------------------------------------------------------
1898 2007/09/29
1899         - adjusted autosuspend disabling code in bcharge, based on new
1900                 information on how kernels 2.6.21 / 2.6.22 work.
1901                 See bcharge.cc for comments.  If device/power/level or
1902                 device/power/autosuspend exist, charging should now work
1903                 without recompiling the kernel.
1904         - updated website docs with autosuspend info
1905 2007/09/27
1906         - large update to the doc/www web pages, moving some of the
1907                 information in README files to html format, so that it
1908                 is commonly available on the web
1909         - added step in maintenance scripts to automatically build the
1910                 .html files in doc/www when making a tarball release
1911 2007/09/22
1912         - added libopensync 0.22 version requirement to barry.spec file,
1913                 but it doesn't seem to work on OpenSuSE 10.2, where it's
1914                 needed.... hmmmm
1915 2007/09/21
1916         - updated README to mention new tree build configure options
1917         - fixed the configure scripts and makefiles so that when building
1918                 with custom CXXFLAGS and LDFLAGS environment variables,
1919                 it doesn't break the full-tree build mode, when
1920                 using --enable-gui and/or --enable-opensync-plugin
1921         - added config.h.in~ to buildgen.sh clean target
1922         - converted Debian build scripts to use cdbs
1923         - added opensync plugin binary package for Debian
1924         - added "Getting Started" section to web pages, as well as an
1925                 explanatory document for various system requirements
1926         - turned on opensync build in RPM maintainer scripts
1927 2007/09/20
1928         - added filename to power/state error message in bcharge.cc
1929         - adjusted maintainer scripts to automatically adjust barry.spec
1930                 for opensuse rpm builds
1931 2007/09/13
1932         - fixed some of the release build scripts and added support for
1933                 automated opensuse 10.2 builds
1934                 - fixed build target to i386
1935                 - changed scripts to add to PKG_CONFIG_PATH variable instead
1936                         of overwriting it
1937 2007/09/07
1938         - added website docs to doc/www... these are out of date at the
1939                 moment, and hopefully by including them here, they
1940                 will be updated more frequently
1941 2007/09/05
1942         - applied Simon Ruggier's build system patch that allowed a build
1943                 of all 3 components from the root directory and fixed the
1944                 configure scripts to support external build directories
1945         - reordered clean commands in the buildgen.sh scripts, and removed
1946                 the INSTALL files, since they are auto-generated by autoconf
1947         - removed extraneous buildgen.sh calls in maintainer scripts
1948         - added Simon Ruggier to AUTHORS
1949         - added explanatory note to 3 stage test build process in
1950                 maintainer script
1951 2007/08/24
1952         - fixed Category handling in the Contact record class, to
1953                 parse the comma separated string into an array,
1954                 and back
1955                 Note: this involves a change to the boost serialization
1956                         and will affect backward compatibility with
1957                         old serialization datafiles
1958         - added Category to examples/addcontact.cc
1959         - added Category support to the opensync plugin
1960 2007/08/23
1961         - fixed wrong read/write in btool output (oops)
1962         - added BadSize exception, and changed CheckSize() function
1963                 to throw it on error
1964         - changed backup GUI to catch BadSize exceptions on initial
1965                 connect, and try a reset if that error occurs, since
1966                 that likely means the device didn't shutdown properly
1967         - fixed in opensync plugin:
1968                 - some vcard data contains types codes in capital letters,
1969                         so added lower case conversion routine
1970                 - changed the order of address lines, so that address1
1971                         is the street, address2 is the extended address,
1972                         and address3 is the PO Box.  The Blackberry
1973                         doesn't seem to have any PO Box field.
1974 2007/08/20
1975         - added -e endpoint override option to btool
1976         - added status message to endpoint override
1977 2007/08/18
1978         - added configure check for strnlen, and implementation for
1979                 systems that don't have it, or that have it implemented
1980                 incorrectly.  Went a little paranoid here, since
1981                 AC_FUNC_STRNLEN doesn't set a define in config.h,
1982                 so I had to do it manually, and check in case autoconf
1983                 changes in the future... ugh.  See src/strnlen.h for
1984                 the gory details.
1985         - added code in probe.cc to fetch the device's description.
1986                 The description is now part of the probe results
1987                 along with the PIN.  Updates to protocol.h, adding
1988                 a new attribute definition.
1989                 Thanks to Rick Scott for pointing out the code in
1990                 XmBlackberry where he implemented this first.
1991         - fixed header dependency in record-internal.h
1992         - updated the "required autoconf" version to 2.61 for root build
1993         - moved nested structs out of the record classes that contain them,
1994                 in order to better support SWIG and Python
1995 2007/08/17
1996         - changed bcharge to use getopt() for its argument processing
1997         - added options -p and -s to bcharge, to adjust usb suspend
1998                 settings automatically where possible
1999         - updated the udev rules to use the new bcharge settings
2000         - updated the bcharge man page with the new arguments
2001 2007/08/16
2002         - cleaned up Usb exception handling, moving libusb error code
2003                 processing into the Usb::Error exception class.
2004                 error.cc is now an empty shell
2005         - added return codes to the Usb::Error exceptions
2006         - removed aboutdialog.{h,cc} from the backup GUI since even
2007                 Debian stable now has up-to-date gtkmm libraries
2008         - added more user friendly error message for the "device busy"
2009                 case, recommending 'rmmod usb_storage'.
2010 2007/08/09
2011         - added better error checking to bcharge.cc
2012         - version bump:
2013                 - configure.ac
2014                 - src/Makefile.am
2015                 - src/version.cc
2016                 - gui/src/BackupWindow.cc
2017                 - src/Doxygen
2018                 - rpm/barry.spec
2019                 - debian/changelog
2020                 - opensync-plugin/src/barry_sync.cc
2021         - removed usb_set_configuration() check from bcharge.cc, since
2022                 that may fail under normal operation, in this case
2024 Release: version 0.8 - 2007/08/03
2025 ------------------------------------------------------------------------------
2026 2007/08/03
2027         - moved Interface implementation to usbwrap.cc file
2028         - added dout debugging messages to usbwrap.cc
2029         - clarified unhandled packet error message in socket.cc
2030         - added temporary workaround in opensync-plugin environment's
2031                 Reconnect(), for odd message seen on newer Blackberry
2032                 devices
2033         - fixing issues with Brian Edginton's MessageRecord patch (2007/06/29)
2034                 - fixed missing size check in message oriented ParseHeader()
2035                 - fixed endian conversion issues (also found one pre-existing
2036                         endian bug in the process)
2037                 - moved message timestamp converter code to time.cc
2038         - added Barry version number to opensync plugin name
2039         - changed maintainer scripts and rpm.spec to use bzip2 instead of gzip
2040         - added opensync-plugin to configure script build
2041         - added -S option to btool, to list supported parsers and builders
2042         - slight change to opensync-plugin/buildgen.sh to cleanup config.h.in~
2043         - opensync-plugin/README update
2044         - added opensync-plugin/patches for others who may be building and
2045                 testing the plugin with OpenSync 0.22
2046         - added debian package build scripts to maintainer/
2047 2007/08/01
2048         - added entry to doc/TroubleShooting.txt
2049 2007/07/28
2050         - added doc/TroubleShooting.txt
2051 2007/07/27
2052         - opensync plugin:
2053                 - fixed bug in vcard.cc that was using the FN field
2054                         for the broken-down name instead of N
2055                 - added dbId and dbName to DatabaseSyncState
2056                 - added Reconnect() functionality to BarryEnvironment class
2057                         and moved connect logic out of barry_sync.cc
2058                 - changed the batch commit functionality in barry_sync.cc
2059                         to single-change-commit.  Why?  Because opensync
2060                         0.22 groups all batch changes into one group
2061                         and calls one batch commit function, even if you
2062                         registered two.  Moving to single change commit
2063                         mode removes a chunk of unneccessary code
2064                         from the plugin as well, and can in theory
2065                         ease memory pressure in the library.
2066                 - added FinishSync() to perform actions needed on successful
2067                         syncing completion
2068                 - disconnect on successful sync completion, and reconnect,
2069                         since the device's dirty flags don't seem to
2070                         be updated until a disconnect occurs.
2071 2007/07/26
2072         - added ReadDataArray() to data.h, using an istream instead of
2073                 requiring a file
2074         - added raw data version of BuildField() to record-internal.h
2075                 This is so that btool doesn't add extra null terminators
2076                 to unknown data, when restoring with option -s
2077         - fixed bugs in r_contact.cc:
2078                 - fixed bug that caused a LastName/FirstName swap
2079                         if FirstName was empty and you wrote a contact
2080                         record into the device.... First/Last Name
2081                         fields are position sensitive, and the code
2082                         was missing the empty FirstName case on writing
2083                 - fixed bug in BuildFields() and Dump() where they
2084                         were not updated to handle the new field
2085                         table added for the postal address changes
2086                         on 2007/07/20, oops
2087         - opensync plugin:
2088                 - changed the plugin config file, so it is possible to
2089                         turn debug output on/off without recompiling
2090                 - moved the standalone Map2Uid() function into
2091                         the DatabaseSyncState class, and changed the
2092                         code to produce "contact-#" and "calendar-#"
2093                         UID strings, instead of just numbers
2094                 - changed default PIN to -1, so that if the user doesn't
2095                         configure properly, it will fail... this is a
2096                         safety measure to avoid syncing with different
2097                         devices and corrupting the cache/idmap...
2098                         this should be fixed someday, to handle this
2099                         automatically
2100                         On second thought... is this right?  Perhaps
2101                         it is better to fail if the PIN is not what
2102                         is expected, so a user doesn't accidentally
2103                         sync the wrong device and lose data.
2104                         Actions to take on new PIN:
2105                                 - force slow_sync, or
2106                                 - fail
2107                 - incorporated the new VCardConverter code into the
2108                         main barry_sync.cc plugin code
2109                 - fixed bug that did not clear the devices dirty flags
2110                         in the case where a sync only read data from it,
2111                         and didn't write
2112                 - changed PIN error message number to hex
2113 2007/07/20
2114         - minor wording change in backup GUI prompt: "Backup working..." to
2115                 "Backup in progress..."
2116         - renamed Contact class's Title field to JobTitle for clarity
2117         - added record function ParseFieldString(), which properly handles
2118                 strings from the device that have multiple null terminators,
2119                 and changed the record parsing code to use this new function
2120         - moved FullName() function from ldif.cc to r_contact.cc since it
2121                 is generally useful in areas outside of LDIF processing
2122         - refactored postal addresses in the Contact record class into
2123                 a new class called PostalAddress
2124         - renamed Address class in record.h to EmailAddress
2125         - moved Contact::GetPostalAddress() to record.cc as part of the
2126                 new PostalAddress class and renamed it
2127                 PostalAddress::GetLabel()
2128         - opensync plugin:
2129                 - refactored vformat helpers into separate base class
2130                         called vBase
2131                 - added vCard converter class
2132                 - commented out the code that skipped over the adding
2133                         of empty attribute values and parameters,
2134                         since VCARD depends on some of this behaviour
2135                 - movified vformat.c:vformat_find_attribute() to take
2136                         an extra nth argument, in order to search
2137                         for multiple attributes with the same name...
2138                         the way this is coded is a bit inefficient...
2139                         but we're moving away from vformat when we move
2140                         to OpenSync 0.3x / 0.40, so this is just temporary
2141                         pain
2142 2007/07/19
2143         - added SUBSYSTEM=="usb_device" to example udev rules, in order
2144                 to avoid running bcharge for each endpoint that is
2145                 added by udev, when first plugged in.  Running bcharge
2146                 back-to-back multiple times can crash some
2147                 Blackberries.
2148 2007/07/14
2149         - opensync plugin:
2150                 - fixed ID mapping bug in the case of a non-numeric UID
2151                         from syncing external -> Barry, and then the
2152                         new Barry ID would look like a new change
2153                         when syncing back from Barry -> external.
2154                 - added support for slow sync
2155                 - added clear() to idmap class
2156                 - added vformat attr parameter extraction class
2157                 - added more trace logging during vformat/Barry conversions
2158                 - added Notification time support
2159                 - handled "all day" vformat special case, when DTEND
2160                         does not exist in a vformat data block
2161         - changed the min1900_t time conversion functions to handle
2162                 the 0xffffffff special case, when notifications
2163                 are turned off on a calendar event (src/time.cc)
2164         - also made the calendar data dump output clearer for
2165                 disabled timestamps, and added debug output
2166                 for the raw min1900 value, in case there are more
2167                 special cases in the future
2168 2007/07/13
2169         - fixed null pointer access in opensync's HasMultipleVEvents()
2170 2007/07/12
2171         - upper management directive: revert all OpenSync 0.3x changes
2172                 and proceed with OpenSync 0.22.  Reverting the
2173                 opensync-plugin/src tree to Barry 0.7 status.
2174 2007/07/06
2175         - reorganized exception and trace code in opensync plugin
2176         - added XmlToCalendar() function, based on unfinished opensync
2177                 library API that is not yet finished... will be
2178                 committed to opensync svn tree when complete
2179         - added OSyncXMLField logger to plugin trace class
2180 2007/06/29
2181         - applied email MessageRecord patch from Brian Edginton (thanks!)
2182         - updated Message::Dump() to output more valid mbox data...
2183                 the goal is to be able to do:
2184                         btool -d "Messages" > email.mbox
2185                         mutt -f email.mbox
2186         - changed some TODO's to FIXME's to keep it grep-consistent
2187         - applied Folder support patch from Brian Edginton
2188         - fixed pedantic compile warnings, and changed order in src/Makefile.am
2189         - removed unneeded cast in src/r_folder.cc
2190 2007/06/28
2191         - minor adjustment to ctags building in buildgen.sh
2192         - applied patch from Brian Edginton for better boost detection
2193                 in configure.ac
2194         - added boost usage message to btool -h output
2195 2007/06/21
2196         - more porting of OpenSync module to 0.30
2197         - added ctags build for opensync source tree to buildgen.sh
2198 2007/06/14
2199         - changed PKG_CONFIG_PATH setting in rpm script, so that systems
2200                 like SuSE that have an extensive PKG_CONFIG_PATH
2201                 in general use will not break on build
2202         - added PKG_CONFIG_PATH to debian script too, just in case :-)
2203         - added debian/changelog to doc/ReleaseChecklist.txt
2204         - added comment to rpm/barry.spec regarding SuSE RPM builds
2205 2007/06/08
2206         - applied patch from Niels de Vos fixing debian package build
2207                 dependency
2208         - applied Brian Edginton's Saved Email Messages patch
2209         - updated r_saved_messages.cc comment to match header
2210         - added GetRecType()/GetUniqueId() to r_saved_messages.h, since
2211                 SetIds() is already there
2212         - removed Address version of operator<<() from message related headers
2213                 and moved into record.h
2214         - added std::hex to message related dumps, and changed output to
2215                 be more mbox-like
2216         - updated doc/CodingStyle.txt to cover switch() statements
2217         - opensync compiles again, with 0.30!  (not functional yet)
2218                 - moving closer to more modular and reusable plugin functions
2219         - updated release checklist for opensync version number
2220 2007/06/07
2221         - added doc/CodingStyle.txt... preliminary version
2222 2007/06/06
2223         - applied Brian Edginton's PIN message patch
2224         - changes to PIN message patch:
2225                 - fixed missing backslash in src/Makefile.am
2226                 - fixed tab alignment throughout
2227                 - removed typedef from Address struct
2228                 - added clear() to Address... might as well, if it it is
2229                         going to be a standalone type
2230                 - fixed missing comma in PINMessageFieldLinks table
2231                 - changed MessageRecordId in PINMessage to load from a new
2232                         uint32_t field in CommonField, instead of piggy
2233                         backing on a field for other use
2234         - did some testing and found that PINMessage's MessageRecordId
2235                 is the same as the RecordId given through the SetIds()
2236                 API... but these Id's are duplicated in the protocol...
2237                 RecordId is stored in the protocol header, while
2238                 MessageRecordId is stored in the record it self as
2239                 a common field... added RecType and RecordId to
2240                 PIN Message so that we store both of these
2241         - updated AUTHORS
2242 2007/05/27
2243         - added item to gui/TODO
2244         - applied Brian Edginton's s11n-boost.h patch
2245 2007/05/25
2246         - renamed template values to more consistent naming scheme
2247         - applied memos and tasks patch from Brian Edginton, slightly
2248                 modified to split into the new separate files system
2249         - changes to memos and tasks classes:
2250                 - reformatted the code to match coding style
2251                         (come on Brian) :-)
2252                 - added copyright notice
2253                 - changed class to singular (Memo, not Memos)
2254                 - placed in Barry namespace
2255                 - added #ifdef header protectors
2256                 - added new files to Makefile.am
2257                 - added new r_*.h headers to record.h
2258         - added support for Memos and Tasks to tools/btool.cc, based on
2259                 Brian Edginton's patch
2260                 (currently commented out, for Boost library reasons):
2261         - added doc/CommitPolicy.txt
2262         - updated AUTHORS
2263 2007/05/24
2264         - added ctags generation to buildgen.sh
2265         - applied record.{h,cc} fix patch from Brian Edginton
2266                 - ClassFlag
2267                 - FreeBusyFlag
2268                 - Clear() fixes
2269         - fixed broken formatting in above patch
2270         - refactored record parser classes into separate files for each
2271         - changed the ConvertHtoB<> template to inline, as it caused
2272                 linker errors with the new file layout
2273 2007/05/17
2274         - fixed bug in Debian packaging that put util commands in
2275                 /bin and /sbin instead of /usr/bin and /usr/sbin
2276         - commited byteswap.h replacement code from gm2net
2277         - backup gui:
2278                 - removed unneeded debug messages on stdout
2279                 - changed the default for debug output to "off"
2280                         and added a command line option to turn
2281                         it on if necessary  (--debug-output)
2282                 - command line option --help now also works
2283         - fixed bug in Calendar class where it didn't initialize
2284                 RecType properly... and cleaned up other RecType
2285                 code to use the GetDefaultRecType() functions,
2286                 localizing the constants in one place
2287 2007/05/11
2288         - applied patches from Brian Edginton, parsing more
2289                 fields in Contact and Calendar records
2290         - added Brian Edginton to AUTHORS
2291         - reformatted record.{h,cc} to match the rest of the code,
2292                 removed commented out code, and removed mention of
2293                 Outlook from the comments.
2294         - updated udev/10-blackberry.rules.Debian for Debian Etch
2295         - updated debian/rules to use new udev rules file
2296         - removed debian/postinst, as stable versions of Debian now
2297                 have a recent udev, and don't need the special handling
2298         - updated Debian build scripts to build separate packages:
2299                 libbarry
2300                 libbarry-dev
2301                 barry-util
2302                 barrybackup-gui
2303         - added menu support to Debian barrybackup-gui package
2304         - made the buttons bigger in the backup GUI, as they were too
2305                 small on Debian Etch
2306         - opensync plugin:
2307                 - more progress in porting to opensync 0.30, heavily
2308                         based on the example plugin in the opensync
2309                         svn tree...  this is a work in progress, and so far
2310                         is incomplete
2311 2007/05/04
2312         - opensync plugin:
2313                 - partial porting to opensync 0.30 (in progress!)
2314                 - fixed bug in sync_done where it reported context error
2315                         and then success afterward
2316         - checking in new INSTALL files based on Etch's autoconf run
2317         - added item to gui's todo list
2318         - bumped version numbers to 0.8 in:
2319                 - configure.ac
2320                 - src/Makefile.am
2321                 - src/version.cc
2322                 - gui/src/BackupWindow.cc (about dialog)
2323                 - src/Doxygen
2324                 - rpm/barry*.spec
2326 Release: version 0.7 - 2007/05/02
2327 ------------------------------------------------------------------------------
2328 2007/05/02
2329         - added rpm building to maintainer/release scripts
2330         - added "HEAD" feature to tarball creation script, for easier testing
2331         - updated maintainer/README
2332         - updated maintainer/release.sh to use new HEAD feature too
2333 2007/05/01
2334         - added pppob to rpm barry.spec
2335         - bumped release number in barry.spec
2336 2007/04/30
2337         - opensync plugin:
2338                 - fixed size check bugs (strlen() == 0 when empty)
2339                 - finished refactoring calendar conversion routines
2340                 - started timezone parsing, but this may go away
2341                         if we use opensync 0.30's time functions and
2342                         xml data format...
2343                 - added development note to README
2344 2007/04/29
2345         - updated README and opensync-plugin/README with more current
2346                 build instructions
2347         - opensync plugin:
2348                 - refactored some calendar conversion routines
2349                 - added Barry->vCalendar conversion for recurring appointments
2350 2007/04/27
2351         - opensync module:
2352                 - removed some unneeded trace logs
2353                 - fixed VEventConverter constructor bug, with uninitialized
2354                         m_Data pointer
2355                 - eased up the requirement that every calendar event
2356                         must have a summary... defaults to "<blank subject>"
2357                         if empty
2358                 - added more VCALENDAR fields to match Barry::Calendar record
2359                 - fixed case sensitive compares in vformat.c
2360 2007/04/26
2361         - opensync module work:
2362                 - added id map class to map string uid's from OpenSync to
2363                         numeric ID's from the Blackberry
2364                 - fixed bug in CommitChange() where it was still using
2365                         a hard coded calendar record state table
2366                 - added lots of logging throughout
2367                 - fixed bug where newly added records didn't use the
2368                         change object's uid, but created a new ID,
2369                         causing another sync on the next run
2370                         i.e. (CommitData_t was missing an argument)
2371                 - fixed bug where uninitialized notification time was
2372                         written to the Blackberry
2373         - more opensync module work:
2374                 - refactored the environment class into another subclass
2375                         called DatabaseSyncState, and moved some stand-
2376                         alone functions from barry_sync.cc into
2377                         the environment classes
2378                 - added a tagged constructor to the trace class
2379                 - fixed idmap::Load() to clear map before loading
2380 2007/04/20
2381         - renamed barry-config to barry-sync, the default configuration
2382                 file for the opensync module... and filled it with
2383                 a sample configuration
2384         - added code to update the calendar cache, and write it to disk
2385                 on success (opensync module)
2386         - added code to clear dirty flags in the device (opensync module)
2387         - allowed comments in the config file
2388         - added vformat.c from libopensync 0.22, since the vformat
2389                 routines are not available from the plugin side
2390 2007/04/19
2391         - updated gui/TODO
2392         - added -d switch to bcharge to switch back from 0001 to 0004 mode,
2393                 changed the auto-detection logic to ignore iProduct and
2394                 only use idProduct, and updated man page
2395         - updated breset to recognize the Pearl in 00004 mode as well
2396         - changed src/probe.cc logic to assume that the second endpoint
2397                 pair is the one needed for database communication, instead
2398                 of doing a reverse search from the end... newer Pearls
2399                 in Dual mode seem to have at least 3 or 4 endpoint pairs,
2400                 and the old search didn't always work
2401         - applied sourceforge patch #1696884 from Peter Silva, updating
2402                 the Debian build for Etch, and including all files in one deb
2403         - added Peter Silva to AUTHORS file
2404         - uncommented the "make distclean" in debian/rules, and removed
2405                 the reliance on /tmp when installing 99-barry-perms.rules
2406         - applied bb_task_format.txt patch from Peter Silva
2407         - fixed each misspelling of "recurrance" to "recurrence"
2408         - tweaked src/probe.cc again for paranoia's sake... start at
2409                 offset 1 if more than 1 endpoint pair, otherwise start
2410                 search at 0
2411         - split up opensync module into multiple source files, and started
2412                 using the opensync vformat routines for parsing and building
2413                 the vevent20 data (experimental)
2414 2007/04/04
2415         - more incremental work on the opensync plugin, adding ADDED
2416                 and MODIFIED functionality... (experimental!)
2417 2007/03/30
2418         - added code to dump extra descriptors during device discovery,
2419                 if found
2420         - bumped opensync version number in configure.ac, and made
2421                 the configure scripts more consistent with the rest
2422                 of the project
2423         - fixed printf-format size bug in opensync module
2424 2007/03/29
2425         - applied patch from Niels de Vos, fixing deb udev rules for Pearl
2426         - updated AUTHORS
2427         - fixed extra space bug in LDIF output (added space when creating
2428                 FullName, even if there was no last name)
2429         - fixed Address Book record parsing in Contact class... the
2430                 Blackberry database uses field id 0x20 for both the
2431                 first and last names, and if only a last name exists,
2432                 the first name will be empty.  Fixed parser to handle
2433                 this special case, without relying on string length.
2434                 Thanks to Troy Engel for reporting above two LDIF bugs.
2435         - added a few more constants to bcharge.cc
2436         - renamed opensync's configure.in to configure.ac
2437 2007/03/17
2438         - fixed bcharge to avoid endless reset loop... oops
2439 2007/03/16
2440         - reorganized bcharge.cc to make it possible to switch between
2441                 Pearl modes 0004 and 0001
2442         - added flag to BadPassword exception class, to signal whether
2443                 the library considers the device "out of retries" or not
2444         - updated socket.cc for new BadPassword exception
2445         - added special case to Controller class destructor to reset the
2446                 device if being destroyed in a half-open state... this is
2447                 a temporary fix until we understand how to handle
2448                 the "already open" message we get when opening the Desktop
2449                 in some cases
2450         - added password prompt dialog to the backup GUI
2451         - fixed possible memory leak in GUI's DeviceInterface::Connect()
2452 2007/03/08
2453         - committed Troy Engel's bbrules_mass_symlinks.patch, fixing
2454                 udev rules for the Pearl
2455         - updated 10-blackberry.rules.Debian to match 10-blackberry.rules's
2456                 functionality
2457         - applied Troy Engel's barry.spec patch to generate all required
2458                 RPM's... Thank you!  Notes in the README taken from
2459                 the sourceforge tracker entry containing the patch.
2460         - added libusb lib flags to tools/ and examples/ makefiles,
2461                 and tweaked configure.ac with a better default,
2462                 to build cleanly on RHEL 4
2463         - modified rpm/barry.spec:
2464                 - does not create doc-only barry base package anymore
2465                 - fixed "barry-backup" typo
2466                 - removed the patch step, as version 0.7 shouldn't need it
2467                 - added license file to each package
2468                 - commented out console perms scripts, pending mailing list
2469                         discussion
2470         - updated AUTHORS
2471         - applied Troy Engel's barry.spec patch to fix RHEL4 compile issues
2472         - fixed 80 column wrapping error in barry.spec, thanks to Troy Engel
2473                 for the bug report
2474         - applied Troy Engel's udev permissions patch for Redhat/Fedora
2475                 systems, which automatically set the ownership of a
2476                 newly plugged in device to the currently logged in console
2477                 user.
2478         - added udev/README to document what all those files are for...
2479                 part of the text comes from the sourceforge comment
2480                 on the above udev permissions patch from Troy Engel
2481         - uncommented the console perms scripts for rpm/barry.spec
2482         - added libglademm-2.4 to gui/README's dependency list
2483         - made usbwrap.* calls more threadsafe
2484         - added Usb::Timeout exception for timeout errors
2485         - added preliminary UsbSerData support to library for GPRS modem
2486                 functionality, using Rick Scott's XmBlackBerry's serdata.c
2487                 as a guide
2488         - added overloaded Socket::Send() for sending without receiving
2489         - added preliminary pppob command line tool
2490 2007/03/02
2491         - version bump in:
2492                 - configure.ac
2493                 - src/Makefile.am
2494                 - src/version.cc
2495                 - gui/src/BackupWindow.cc (about dialog)
2496                 - src/Doxyfile
2497                 - rpm/barry.spec
2498         - build system tweaks for opensync-plugin, and added a buildgen.sh
2499                 for it
2500         - added better debug messages in probe.cc and usbwrap.cc's
2501                 device discovery code
2502         - changed error handling for null interface->altsetting pointers
2503                 when doing device discovery in usbwrap.cc.  Seems that
2504                 some devices report a higher number in bNumInterfaces
2505                 than are really available... in this case, let's
2506                 just ignore the missing data and assume success
2507         - applied udev script patch #1663986 from Troy Engel
2508         - applied barry-bcharge.spec patch #1672178 from Troy Engel
2509         - ReleaseChecklist update
2510         - added rpm/README based on Troy Engel's patch notes
2511         - updated new barry-bcharge.spec for version 0.7, removing patch
2512                 dependency
2514 Release: version 0.6 - 2007/02/28
2515 ------------------------------------------------------------------------------
2516 2007/02/28
2517         - fixed size checks for device database records larger than 64K
2518                 Thanks to Michael Brown for the bug report.
2519         - added initial release maintainer scripts
2520         - fixed odd backup success message in GUI when doing a backup with
2521                 no databases selected in configuration
2522                 Thanks to Michael Brown for the bug report.
2523         - added udev permissions file patch from Michael Brown
2524         - added Michael Brown to AUTHORS
2525         - updated README, gui/README, and doc/USB-capture.txt
2526         - added -o command line switch to bcharge.cc, and updated man page
2527 2007/02/23
2528         - changed library behaviour so it only turns on libusb debug output
2529                 if in data dump mode.  In btool, -v controls this output.
2530         - minor stream formatting fix in btool
2531         - added OpenSSL dependency to build for password hash support
2532         - made debug dout() output conditional on Init() flag... In btool,
2533                 -v now controls this as well
2534         - reverse engineered more of the initial probe packets, and
2535                 implemented probing in struct based code... changes include:
2536                 - added support for "attribute fetch" packets, used at
2537                         the beginning of USB conversations
2538                 - defined object/attribute id codes for the PIN number
2539                 - made Protocol::SocketCommand more robust, and implemented
2540                         its sequence number behaviour
2541                 - moved ModeSelectCommand into SocketCommand, as it is a
2542                         socket 0 level command
2543                 - added initial protocol struct: PasswordChallenge
2544                 - renamed Barry::Packet to DBPacket
2545                 - added ZeroPacket for socket 0 packet creation and analysis
2546                 - Barry::Packet is now the base class for the above
2547                 - implemented socket 0 behaviour in socket.cc
2548                 - changed return values for Send/Receive/Packet/NextRecord
2549                         members in the Socket class from bool to void, as they
2550                         don't generate errors themselves, but only can
2551                         have an error if Usb::Device throws an exception.
2552                         Cleaned up all code that called these members as well.
2553                 - removed "last status" from Socket class as it was unused
2554                 - updated probe.cc to use new socket 0 implementation
2555                 - removed two of the hard coded packet handshakes in favour
2556                         of socket 0 packets
2557                 - updated controller.cc:
2558                         - uses new socket 0 implementation
2559                         - removed "flag" hack when opening sockets and
2560                                 selecting modes, as it should use the
2561                                 socket 0 sequence number
2562         - added initial, incomplete prototype header for the C API
2563         - updated some .cvsignore files
2564         - updated TODO
2565         - updated ReleaseChecklist.txt, adding rpm spec file
2566         - added the following to ZeroPacket:
2567                 - ChallengeSeed()
2568                 - RemainingTries()
2569                 - SocketResponse()
2570                 - SocketSqeuence()
2571         - moved Command() to base Packet class
2572         - added comments to protostructs.h and size constants for the
2573                 new PasswordChallenge struct
2574         - added password support to Socket and Controller classes
2575                 Thanks to Rick Scott's XmBlackBerry for the openssl
2576                 password hashing logic.
2577         - updated btool to use new password support, and updated its man page
2578 2007/02/22
2579         - updated Doxygen input files and version, and added to ReleaseChecklist
2580         - fixed btool PIN output for LDIF mode, now commented in output
2581         - major LDIF overhaul:
2582                 - split LDIF specific code out of the record class and
2583                         into its own
2584                 - fixed "full name" behaviour that added an extra space
2585                         in dn attributes, as reported by Troy Engel
2586                 - added support for mapping of LDIF attributes to Barry
2587                         contact field names
2588                 - fixed base64 handling, so attributes are only so encoded
2589                         if necessary
2590                 - fixed base64 attribute reading inconsistency... some
2591                         notes fields were missed in old version if not
2592                         encoded
2593                 - added support for specifying alternate attribute for
2594                         constructing a FQDN, instead of just "cn"
2595                 - updated btool and upldif to use new features
2596         - large update to btool manpage
2597         - fixed initialization bug in Contact constructor (missed RecType)
2598 2007/02/15
2599         - added ktrans.cc to make reading of kernel usbfs_snoop logs easier
2600         - removed commented code from translate.cc
2601         - added Pearl handshake support to bcharge.cc, which resets the
2602                 Pearl so that the vendor specific 0xFF class exists.
2603                 This should allow use of btool on the Pearl.
2604         - added Data::AppendHexString to data.cc
2605         - added better probing support for the Pearl, so it detects the
2606                 Product ID 0x0004 mode, and does a search for class 0xFF
2607                 instead of hardcoding it.
2608 2007/02/10
2609         - applied README patch from Ian Darwin
2610         - minor tweaks to README
2611         - added missing errno.h header in src/usbwrap.cc for AMD64
2612                 Thanks to Jonathan Hudson for reporting the bug.
2613         - tightened up size checks in Data::ReleaseBuffer()
2614         - stable libusb *does* return the actual length of the USB packet...
2615                 fixed this in usbwrap.cc to set the actual size of read data,
2616                 and removed the size hacks elsewhere in the code:
2617                 probe.cc, protocol.cc, socket.cc, usbwrap.cc
2618 2007/02/09
2619         - added proper return codes for error conditions in btool.cc
2620         - clarified some stream output code in the library, for hex/dec numbers
2621         - removed old, non-working connect.cc test program
2622         - added iomanip to debug.h
2623         - changed usbwrap to call libusb again if EINTR and EAGAIN
2624                 This should fix one of the OpenBSD issues
2625 2007/02/04
2626         - updated AUTHORS
2627         - fixed bug in barrybackup GUI that didn't create the target path
2628                 if the user didn't do Edit | Config first.
2629                 Thanks to Ian Darwin for reporting the bug.
2630         - applied gui/src/ConfigFile.cc header fix patch for OpenBSD
2631                 from Ian Darwin
2632 2007/02/03
2633         - added initial btool.1 man page from Ian Darwin
2634         - updated man/Makefile.am for new btool.1
2635         - updated AUTHORS
2636         - applied btool -h help clarification patch from Ian Darwin
2637 2007/02/02
2638         - reworked exception hierarchy, so applications can handle all
2639                 Barry related exceptions, including Usb errors, with
2640                 one base class: Barry::Error
2641         - fixed all the ripple changes this caused throughout the codebase
2642         - added BadPassword exception
2643 2007/02/01
2644         - version bump in:
2645                 - configure.ac
2646                 - src/Makefile.am
2647                 - src/version.cc
2648                 - gui/src/BackupWindow.cc (about dialog)
2649         - updated doc/ReleaseChecklist.txt
2650         - added usb-level breset.cc command line tool
2651         - fixed bug in gui/src/tarfile.* for systems where
2652                 sizeof(int) != sizeof(void*)
2653                 - TarFile class now uses a plugin style for the compression
2654                         operations, to allow for threadsafe versions if needed
2655                         in the future.
2656                 - also fixed leaked file handle bug in open_compressed()
2657                 - Thanks to Jonathan Hudson for reporting this for 64bit systems
2658         - minor signed comparison fixes in the library
2659         - added better protocol data dumping code in probe.cc
2660         - added Usb::Device::BulkDrain(), to prevent Barry from hanging
2661                 due to pending reads
2663 Release: version 0.5 - 2007/01/26
2664 ------------------------------------------------------------------------------
2665 2007/01/26
2666         - added missing errno.h header to gui/src/util.cc
2667         - lots more endian fixes after testing on iMac
2668         - iostream output size fixes
2669         - added option to btool to reset the device via software
2670         - beefed up exception handling in barrybackup
2671         - checked in opensync work-in-progress: trace logging, pointer bugfix
2672                 this is still experimental
2673         - added aboutdialog.* files from gtkmm24 2.10.6, so we have a dialog
2674                 class for systems running older versions of gtkmm, like
2675                 Debian stable
2676         - uncommented the about box menu handler
2677         - added "cleanall" option to root buildgen.sh script
2678         - update ReleaseChecklist.txt
2679         - removed CVS auto-history strings from aboutdialog.*
2680 2007/01/25
2681         - found a link between the unknown field in tagged protocol headers
2682                 and the unknown field in RecordStateTable entries.  This
2683                 field matters when uploading certain databases, such as
2684                 Browser Options.  It is unknown what this field really
2685                 means, but we're calling it RecType.  Updated the API
2686                 to use this in all parser objects and builder objects
2687                 and record objects that use it.
2688         - changed some uses of uint64_t to uint32_t, in Contact and
2689                 Calendar record objects... unique IDs only seem to be
2690                 32 bits
2691         - added new static function to record classes: GetDefaultRecType()
2692                 This returns the default rectype that should work
2693                 for that record.  Ideally this should be retrieved from
2694                 the device, but in the case where a database has no
2695                 records, this info would be good to know.
2696         - updated convenience template function Controller::AddRecordByType()
2697                 to use GetDefaultRecType()
2698         - documented the recurrence data and how to use it in Calendar objects
2699         - added data debug output for incoming USB packets in the
2700                 socket class... when we ported to the stable libusb
2701                 we lost some of the verbose output... this should get it
2702                 back.  (In the official release, you need to uncomment
2703                 ddout() in debug.h for the full blast of debug output).
2704         - backup GUI updates:
2705                 - changed error_done signal into a pure error signal,
2706                         and changed the logic so the restore continues
2707                         even if there was a protocol error on one database
2708                 - changed status bar messages to show what's happening
2709                         i.e. Backup or Restore
2710                 - default to not restore the "Handheld Agent" database as
2711                         it appears to be read-only on the device
2712                 - added temporary Restore & Backup mode for debugging
2713                 - added extra hyphen to backup files to show date/time better
2714                 - updated GUI to save and restore the new RecType field
2715                         supported now by the library
2716 2007/01/21
2717         - added future considerations to doc/ReleaseChecklist.txt
2718         - applied big endian patch from Jonathan Hudson
2719         - changes to patch:
2720                 - removed endian.h include from barry.h, since applications
2721                         using the library should not care about endianness
2722                 - hard coded the path to config.h in endian.h
2723                         so that endian.h never makes it into the final
2724                         install
2725                 - removed DEFAULT_INCLUDES setting from src/Makefile.am
2726                         for the same reason
2727                 - removed config.h dependency in btool.cc and used library
2728                         Version call instead
2729         - added big/little endian text to the Barry::Version call
2730         - updated AUTHORS
2731         - fixed install location of bcharge when building with ./configure;
2732                 now goes to sbin/ for both source compile and binary packages
2733                 Thanks to Jonathan Hudson for reporting this bug.
2734 2007/01/20
2735         - added smarter timeout values to controller, and allowed
2736                 timeout overrides in the packet, socket, and usbwrap code...
2737                 extra timeouts are needed for erasing databases for
2738                 some older devices
2739         - added an explicit DataDumpParser class to btool.cc, as the
2740                 library doesn't always have extreme verbose debugging on...
2741                 this makes sure anyone can always get raw database packets
2742                 through btool, for development
2743         - added thread callback signals for error finishes and erase_db
2744                 operations, so the GUI is updated properly
2745         - more GUI cleanups (status bar updates, etc)
2746         - finished implementation of GUI restore
2747         - fixed gtkmm/glibmm exception handling when the exceptions
2748                 occur in sigc signal handlers... in that case,
2749                 exceptions need to be handled with
2750                 Glib::add_exception_handler()
2751         - added filename-only reading support to TarFile class
2752         - added pending gui/TODO items
2753 2007/01/19
2754         - backup GUI now properly shows progress
2755         - the buttons become insensitive when backup is busy
2756         - refactored directory check code, and added mkdir check
2757                 when to the backup setup (so the directory exists
2758                 when we try to write to it)
2759         - updated code to use Barry::Data in new namespace
2760 2007/01/18
2761         - moved Data class into Barry namespace
2762 2007/01/13
2763         - updated copyright dates for the new year
2764         - clarified exception message in controller.cc
2765         - fixed pointer initialization bug in controller.cc
2766         - added documentation comments to parser.h and builder.h
2767         - updated ReleaseChecklist.txt
2768         - updated README
2769         - changed Barry library configure scripts to make better
2770                 use of pkg-config for autodetecting dependencies
2771         - added initial Barry Backup GUI (gui/ directory), capable of making
2772                 backups only at this point
2773 2007/01/11
2774         - added doc/ReleaseChecklist.txt
2775         - added version API, returning version number and string
2776         - added Troy Engel to AUTHORS
2777         - added special case to bcharge.cc for the Blackberry Pearl,
2778                 which doesn't reset itself after the charge handshake
2779                 Thanks to Troy Engel for testing.
2780 2007/01/05
2781         - added pkg-config support for the library (libbarry-0.pc.in)
2782         - fixed compile error on g++ 3.3 systems (missing stdint.h
2783                 in probe.h)
2784         - fixed protocol hang at end of Controller operation... in
2785                 controller destructor, it was deleting the USB interface
2786                 before closing the socket at the BlackBerry level, thereby
2787                 leaving the device in Desktop mode
2788 2007/01/04
2789         - support the newer udev packages on Ubuntu, which need slightly
2790                 different rules
2791         - modified bcharge.cc to search for Pearl devices too.
2792                 USB product ID 6
2793         - added Pearl product ID to probe code, but likely not functional
2794                 yet until we find someone able to get a USB capture for us
2795 2006/12/29
2796         - version bump in configure.ac and src/Makefile.am
2798 Release: version 0.4 - 2006/12/29
2799 ------------------------------------------------------------------------------
2800 2006/12/29
2801         - added bcharge.cc to the tools/ directory (whoohoo!)
2802         - added initial release version of rpm/barry.spec (aka bcharge.spec)
2803                 This begins the barry binary release, currently only
2804                 including the bcharge utility, but possibly more in
2805                 the future.  Future binary packages will likely include
2806                 libbarry, libbarry-devel, etc, which barry will then
2807                 depend on.
2808         - added udev rule script for BlackBerry devices
2809         - added man/ directory and bcharge.1 manpage
2810         - added debian/ directory for building deb packages, with initial
2811                 package scripts
2812         - added rpm/make-rpm-tarball.sh for building RPMs
2813         - split out technical docs into separate libbarry.docs file for
2814                 a future Debian install
2815         - added more cleaning to buildgen.sh
2816         - added new udev rule file for Debian stable
2817         - hardcoded g++ to 3.3 in debian/rules as I have multiple versions
2818                 on my system and need to compile releases with stable
2819 2006/12/21
2820         - ported Barry to use the stable branch of libusb
2821                 NOTE: no longer depends on the devel libusb tarball!
2822                         Just use your distro's libusb packages.
2823         - fixed more endian issues
2824         - minor update to TODO
2825 2006/12/15
2826         - moved Exceptions, Hacking, and VersionNotes to doc/
2827         - added doc/USB-capture.txt
2828 2006/12/08
2829         - added Controller::AddRecord() and template helper
2830         - added beginning version of generic RecordFetch<> template
2831         - set default of Barry::Init() to false (no data dump mode)
2832         - added examples/ directory, with first addcontact.cc example
2833 2006/12/07
2834         - added autoconf support based on Peter McAlpine's patch
2835         - renamed Makefiles to Makefile.orig and added script to turn
2836                 on old build system if wanted
2837         - fixed boost-specific error path in btool
2838         - moved platform specific code out of time.h and into time.cc
2839         - moved btool.cc, translate.cc, and upldif.cc out of src/ and
2840                 into their own tools/ subdirectory
2841         - added NEWS file to make autotools happy
2842         - added a "clean" option to the buildgen.sh script... maintainer's
2843                 use only
2844         - reworked autoconf and automake files, to support
2845                 barry as a library, to move the programs into their
2846                 own tools directory, and support a proper installation
2847         - fixed headers in parser.h, btool.cc, and upldif.cc to work
2848                 properly when installed standalone
2849         - added tools/Makefile.plain for testing compiling against
2850                 installed barry library
2851         - added commentary on version number system
2852         - removed Makefile.conf and Makefile.orig, as new autoconf
2853                 system supercedes it
2854         - added support for boost serialization library in autoconf build
2855         - added library version number to autoconf build
2856         - changed boost flag to __BARRY_BOOST_MODE__ to avoid collisions
2857         - removed debug.h dependency from btool.cc
2858         - removed libusb check in favour of specific --with-libusb
2859                 option... may need to revisit this later
2860         - quick installation update in README
2861 2006/12/01
2862         - fixed some missed endian conversions in record.cc and added
2863                 some size checks
2864         - fixed endian issues in time.h
2865         - added 2 more functions to the time zone API, and adjusted
2866                 the time zone table for better defaults in North America
2867         - added btool and upldif to the make install sequence
2868         - added support for Calendar recurrence data
2869         - small doc/TimeZones.txt update
2870 2006/11/24
2871         - added BlackBerry time zone code list, reverse engineered from a 7750
2872         - added GetTimeZone() to convert device time zone codes to useful data
2874 Release: version 0.0.3 - 2006/11/24
2875 ------------------------------------------------------------------------------
2876 2006/11/23
2877         - added return code check to Controller::SaveDatabase()
2878         - fixed Data() class constructor, so it doesn't auto-convert
2879                 from any int
2880         - fixed size checking bug in Packet::ReturnCode() that caused
2881                 uploading to device to fail
2882 2006/11/10
2883         - added Exceptions doc file, documenting the C++ exceptions used,
2884                 and their hierarchy
2885         - fixed small bug in 'make install' which didn't build first
2886         - minor documentation and cleanup in upldif.cc
2887         - added utility functions to the RecordStateTable class,
2888                 GetIndex() and MakeNewRecordId()
2889         - changed btool so that the -d command modifiers can be
2890                 specified multiple times to work with multiple records
2891                 at once
2892         - added Calendar sync code to the opensync module (not complete)
2893         - cleaned up exception handling in the opensync module, making
2894                 more use of the base exception to make sure no
2895                 exceptions leak into the C library code
2897 Release: version 0.0.2 - 2006/10/12
2898 ------------------------------------------------------------------------------
2899 2006/10/12
2900         - fixed casting error in opensync module
2901         - minor updates to documentation to prepare for release
2902 2006/09/29
2903         - added stdint.h to parser.h for uint32_t.  Thanks Ron Gage for
2904                 the bug report
2905 2006/09/08
2906         - large refactoring of the packet parsing and building code,
2907                 splitting the code into 3 groups:
2908                 - record: handles record specific parsing and building...
2909                         this is mostly subfields with CommonField structs
2910                         as their headers, but sometimes has a specific
2911                         header of its own, in the case of email
2912                         Note: email's header is as yet undecoded.
2913                         Record does not know the details of the packet
2914                         formats, only the formats of its own record data.
2915                 - packet: handles building of complete command packets
2916                         and handles parsing of commonly used header values,
2917                         providing an API for it... packet does not know
2918                         the record format details, but does know the
2919                         details of each Database Operation (protocol.h)
2920                         packet format.
2921                         So far, it seems that there is a real separation
2922                         of operation formats and record formats, with the
2923                         record formats being the same even with different
2924                         database operation codes (GET_RECORDS /
2925                         OLD_GET_RECORDS), which was not confirmed before.
2926                         See the header size of the email record after
2927                         refactoring.
2928                 - controller: handles device state, and the management of
2929                         sockets, commands, and checking for response values.
2930                         The Controller object does not know the format
2931                         of either the record or the packet it is sending,
2932                         but does know the protocol handshake logic used
2933                         to talk to the device.
2934         - implemented SetRecord (SET_RECORD_BY_INDEX)... syncing, here
2935                 we come!
2936         - spelling correction in opensync-plugin/AUTHORS
2937 2006/09/01
2938         - added sample hotplug scripts
2939         - added .cvsignore files for doxygen and opensync directories
2940         - added src/endian.h... still need to add configure support to
2941                 handle non-little-endian machines
2942         - added exception handler in opensync plugin commit_change()
2943         - removed the device reset code in probe.cc, as resetting a device
2944                 can renumber the devices in /proc on kernel 2.4.x,
2945                 and cause a failure to reach the device...
2946                 FIXME - this should be changed someday to reset if probing
2947                 fails, and restart the probe on reset, as sometimes
2948                 the blackberry devices respond differently when not reset
2949                 Ideally, the probe protocol should be properly reverse
2950                 engineered.
2951         - added support for retrieving record state table, which is needed
2952                 for smarter syncing
2953         - added support for retrieving, deleting, and clearing the dirty
2954                 flags of individual blackberry device records
2955         - added endian macros throughout the code
2956 2006/07/13
2957         - added opensync-plugin to root Makefile's clean
2958         - updated time conversion calls to match opensync's latest SVN
2959         - added opensync_change_set_changetype() (only add for now,
2960                 for development)
2961         - removed slow sync functions for now
2962 2006/07/07
2963         - added quick "install" makefile target, to src/install by default
2964         - added static library target... this is temporary until autoconf
2965                 stuff is added properly... needed for the opensync plugin
2966         - documented in comments that Barry::BError is intended to be
2967                 the base classes for all exceptions
2968         - added first round of implementation of an opensync plugin, based
2969                 on the example plugin code from the opensync sources
2970 2006/06/22
2971         - added to Contact record class:
2972                 - Clear()
2973                 - ReadLdif() to load and parse LDAP data
2974         - added fragmented send support to Socket class
2975         - added Probe::FindActive() to make client programs more streamlined
2976         - fixed hex/decimal printing of record counts in btool
2977         - added upldif.cc, a utility to take ldapsearch output on stdin
2978                 and upload it to a blackberry
2979         - updated src/.cvsignore
2980 2006/06/16
2981         - added parsing of service book fields:
2982                 - old and new name
2983                 - old and new unique ID (UID)
2984                 - content ID (CID)
2985                 - old and new description
2986                 - DSID
2987                 - bes domain / domain
2988         - date change in legal.txt
2989         - added initial parsing of ServiceBook field 0x09, and calling it
2990                 ServiceBookConfig for now, for lack of a better name
2991         - added parsing for ServiceBook field 0x02 on 72xx Blackberries...
2992                 seems to be a name or description, but doesn't appear
2993                 in the device's own GUI... called "Hidden Name" for now
2994 2006/06/09
2995         - added ServiceBook record class and parser code, based on some
2996                 of Ron Gage's reverse engineering... code is by Chris Frey
2997         - added AUTHORS file
2998         - fixed the libusb set_configuration/claim_interface order
2999                 bug in controller.{h,cc}... already fixed in probe,
3000                 but not controller.  Thanks Ron Gage for finding this.
3001 2006/05/25
3002         - renamed Changelog to ChangeLog in preparation for autoconf
3003         - renamed Todo to TODO in preparation for autoconf
3004 2006/05/18
3005         - make clean cleans up tests properly now
3006 2006/03/31
3007         - turned source code browsing on in Doxyfile
3008         - added LoadDatabaseByName() and LoadDatabaseByType() template members
3009                 to the Controller class
3010                 - new file: controllertmpl.h
3011         - documentation fixes in builder.h
3012         - added static GetDBName() functions to all record classes, in
3013                 support of the template Controller functions
3014         - fleshed out DatabaseDatabase::GetDBNumber() and GetDBName(),
3015                 returning errors properly
3016         - documented sample btool.cc code better, and added example
3017                 of Controller template member usage
3018 2006/03/29
3019         - copyright dates updated for 2006
3020 2006/01/05
3021         - backed out update to latest libusb DEVEL tree, since it is buggy.
3022                 Stick with libusb 2005/11/26
3023 2005/12/30
3024         - added clean target to convenience Makefile
3025         - added Boost to list of dependencies in README
3026         - fixed minor compile warnings in base64.cc
3027         - fixed new USB discovery code, and changed endpoint usage to use
3028                 it, instead of the READ_ENDPOINT and WRITE_ENDPOINT
3029                 constants... constants are now removed
3030                 common.h, controller.cc, probe.cc, probe.h, usbwrap.cc
3031         - added ClearHalt() to Usb::Device (usbwrap.cc)
3032         - updated usbwrap.h to match latest libusb CVS devel tree
3033         - updated README to refer to 2005/12/30 libusb CVS devel tree
3034         - added roadmap to Todo list
3035 2005/12/29
3036         - added convenience Makefile in root directory
3037         - added Hacking document
3038         - minor touchups to README
3039         - added caution warning to README, since this release will support
3040                 delete / overwrite / upload functionality
3041         - minor compile order change in Makefile (speed reasons)
3042         - added dynamic endpoint discovery to probe.cc
3043         - changed claim_interface/set_configuration() function call order in
3044                 probe.cc based on feedback on the libusb mailing list
3045         - added USB discovery code to usbwrap.{h,cc}
3046 2005/12/23
3047         - fixed packing bug in new upload header struct
3048         - renamed CommonField union from data to u to be consistent
3049         - added return_code field to DBAccess struct, for error checking
3050         - added response checking during upload: if response is non-zero
3051                 throw exception in controller.cc
3052         - added sorting operators to record parser classes... when writing
3053                 contact data to the device, it may be important to write
3054                 group link items last, since they reference other contacts...
3055                 This needs to be tested, and if not required, removed.
3056         - added GROUP_FLAG field code to Contact parser class
3057         - fixed offset bug in Contact and Calendar Build() functions
3058         - fixed name bug in Contact::Build(), now output only with data
3059         - added appointment type flag support to Calendar record parser
3060                 class, and "all day event" flag support
3061 2005/12/22
3062         - added autoconf to Todo list
3063         - refactored the protocol structures so that record structs can
3064                 be reused for upload and download
3065         - with new protostructs, more header control is handled by
3066                 controller.cc instead of record.cc parsers and builders
3067         - parser code now accepts an offset, to govern start of record data
3068         - changed Data sizes from int to size_t and removed casts
3069         - removed unneeded Parser::GetHeaderSize() (new protostructs make
3070                 this obsolete)
3071         - added Calendar::Build() for calendar uploads
3072 2005/12/10
3073         - added s11n-boost.h serialization templates for boost::serialization
3074         - added boost::serialization to build
3075         - minor change in usbwrap.cc to display error codes in decimal
3076         - added SizePacket special case code to Socket::Send()... this is
3077                 required when uploaded packet size is a multiple of 0x40,
3078                 a special 3 byte size packet is sent
3079         - moved some record class variables to public: so they can be
3080                 properly serialized
3081         - fixed variable name but in RecordBuilder template
3082         - added -f switch to btool, for saving and loading of record data
3083         - added -s switch to btool, for uploading saved data back to handheld
3084         - added Controller::SaveDatabase()
3085 2005/12/08
3086         - fixed potential casting / pointer bug in controller.cc
3087         - added builder.h, to support uploading
3088         - minor comment fixes in parser.h
3089         - added preliminary Contact protocol record building support
3090         - fixed field order bug in ContactRecord protocol struct
3091         - Contact record.h class now saves unknown Group Link field,
3092                 for later saving
3093 2005/12/07
3094         - added -fno-strict-aliasing to compiler flags so gcc-4.0.x won't
3095                 optimize away protocol struct casts
3096                 see:
3097                 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25235
3098                 http://mail-index.netbsd.org/tech-kern/2003/08/11/0001.html
3099                 http://groups.google.ca/group/comp.lang.c++.moderated/ \
3100                         browse_thread/thread/e7bf096832526f8e/5714701b \
3101                         02a2a3cc?hl=en#5714701b02a2a3cc
3102         - changed headers so that any low level protocol-specific sizes and
3103                 structs are completely hidden in the library...
3104                 this adds library-only header: protostructs.h
3106 Release: version 0.0.1 - 2005/11/25
3107 ------------------------------------------------------------------------------
3108 2005/11/25
3109         - added barry.h for documentation purposes and application usage
3110         - updated README for release
3111         - renamed SBError exception class to BError
3112         - updated Doxyfile to version 1.4.5
3113         - added more doxygen comments
3114 2005/11/24
3115         - added conversion routines (and tests) between time_t and min1900_t
3116         - added -v option to btool to dynamically control protocol dumping
3117         - removed duplicated database database table display in controller.cc
3118         - minor spelling corrections
3119         - added copyright to usbwrap.{h,cc} as per earlier meeting
3120         - added support for Old protocol Calendar entries
3121 2005/11/20
3122         - added legal.txt, to save typing when adding new source files
3123         - ignore test-base64 file (cvsignore)
3124         - added contact-to-ldif generation, and updated supporting code
3125         - added argument to btool to support contact-to-ldif operation
3126         - added Contact::GetPostalAddress()
3127         - added README documentation in preparation for future release
3128 2005/11/19
3129         - added parser.{h,cc} virtual wrapper to generalize LoadDatabase()
3130         - added code to socket.cc's Packet() command to re-receive on
3131                 reception of empty packets... this seems to be a signal
3132                 from the device that it needs more time for long transfers
3133                 Current limit: 10 blank packets before exception is thrown
3134                 Observed maximum blank count: 1
3135         - added MessageRecord and OldMessageRecord to protocol.h
3136         - changed common record field structs to one CommonField struct
3137         - increased default USB timeout to 10 seconds (some loaded devices
3138                 seem to need more time...)
3139         - reorganized record.{h,cc} to try to reduce the code duplication
3140         - record.h classes now "know" the sizes of their corresponding
3141                 protocol structs... this may cause trouble down the line
3142                 with Python, if used(?)
3143         - added Message class for Email records
3144         - removed the "Get*" database functions and replaced with
3145                 general LoadDatabase() call, which loads any database
3146                 available, and parses it with a Parser object
3147         - added GetDBID() for searching for database numbers via name
3148         - added test code to retrieve and display all email
3149         - cleaned up comments
3150         - renamed blackberry.{h,cc} to controller.{h,cc}
3151         - renamed bbtool.cc to btool.cc
3152         - added Makefile.conf
3153         - added copyright notices to source files
3154         - added COPYING file with GPL
3155         - put parser in Barry namespace, and added auto_ptr-like mode for
3156                 store object pointers
3157         - added doxygen docs
3158         - added header comments to convo.awk script
3159         - removed Test() function in Controller object, and made class
3160                 better suited to its general API purpose
3161         - changed OpenMode() so it loads command table and DBDB... it is now
3162                 a public API function
3163         - moved Controller test code to btool.cc and made tool more
3164                 generically useful... can now download any DB by name on
3165                 the command line
3166         - added mode checks to Controller
3167         - added -t and -d command line options to btool
3168         - added base64 routines from John Walker / Fourmilab and Citadel/UX
3169         - converted base64 routines into an API, instead of hardcoded
3170                 file based
3171 2005/11/18
3172         - changed project name to Barry, including namespaces
3173         - renamed sbcommon.* to common.*
3174         - increased USB default timeout to 2 seconds
3175         - fixed formatting bug in Data operator<< output
3176         - cleaned up the protocol packet structs, getting rid of the
3177                 confusing param/simple split... param is now the tableCmd
3178                 from the Command Table
3179         - moved protocol structs from record.h to protocol.h
3180         - added support for older version of the USB protocol, which matches
3181                 the Cassis spec more closely
3182         - fixed the hardcoded offsets in blackberry.cc's protocol parsing
3183         - fixed Socket::Close() so on error, socket flags are reset.
3184                 This stops Close() from being called twice on exception
3185                 destructors
3186 2005/11/17
3187         - added Doxyfile to the project
3188         - tuned Makefile
3189         - added mode selection support to Blackberry class (RIM Desktop,
3190                 RIM Bypass, and RIM_JavaLoader)
3191                 Mode selection governs which socket is used in subsequent
3192                 data transfers.
3193         - added Command Table parsing and protocol support
3194                 Blackberry class, and CommandTable record class
3195         - added Database database parsing and protocol support
3196                 Blackberry class and DatabaseDatabase record class
3197         - added Address book retrieval support - dumps data to stdout for now
3198         - fixed bug in CopyOnWrite mode in Data class, where could allocate
3199                 less buffer than data copied
3200         - added "easy exception" debug output macro
3201         - fixed minor spelling error in protocol.cc
3202         - fixed ModeSelectCommand protocol structure - it is not a parameter
3203                 command, but uses the unknown slots for socket and flag
3204                 data
3205         - removed hardcoded socket numbers from protocol.h
3206         - fixed bug in socket.cc:Open() where packet size was not properly
3207                 saved
3208         - implemented socket::Close()
3209         - fixed sequence number checks, so it is reset properly on socket 0
3210         - added Socket::NextRecord() for multiple record data transfers
3211         - fixed input handling bug in translate.cc
3212 2005/11/11
3213         - added .cvsignore files to project
3214         - added README notes to document the source architecture
3215         - added dbsetup data script, which shows how to get into database
3216                 mode, using the RIM Desktop mode, and open a socket
3217         - added blackberry.{h,cc} class
3218         - added command line parameters to bbtool.cc
3219                 -l = list only
3220                 -p = specify pin of blackberry device
3221         - added blackberry test code in bbtool.cc - debugging the initial
3222                 opening protocol: sockets, modes, etc... see dbsetup for
3223                 results
3224         - added copy-on-write functionality to Data class, so it can be used
3225                 with plain data buffers with little performance impact
3226         - added eout() and ddout() debugging - to separate:
3227                 - regular debug output
3228                 - exception debug output (should probably be logged to
3229                         syslog someday, and never turned off)
3230                 - raw data dump output
3231         - changed errno SBError exception handler to try to decode the error
3232                 numbers into english (limited success)
3233         - fixed probe and socket USB Bulk message handling, so they don't
3234                 use PollCompletions(), but use IO::Wait() (libusb_io_wait())
3235         - added common packet size checker in protocol.cc
3236         - fixed unpacked protocol packet structs... using gcc's
3237                 __attribute__ ((packed)) ... see protocol.h
3238         - added ModeSelectCommand structure (protocol.h)
3239         - finished Socket::Open() call  (Close() not yet implemented)
3240         - moved Socket::Send/Receive() out of private, as they can be used
3241                 for socket 0 operations.
3242         - cleaned up pointer management with macros:
3243                 MAKE_PACKET()
3244                 COMMAND()
3245                 IS_COMMAND()
3246         - added IO::Wait() and IO::Cancel() to correspond with libusb API
3247         - added datadumping in usbwrap for easy protocol capture
3248         - added preliminary record.{h,cc} classes
3249         - added Contact record parsing, and test code
3250 2005/10/20
3251         - syncberry tree started