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