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