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