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