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