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