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