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