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