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