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