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