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