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