Removed ubuntu80464 and fc6 from binary package list
[barry.git] / ChangeLog
blob8a9e415374be914ca68086785ec08044f3e8328c
1 Release: version 0.13 - 2008/07/??
2 ------------------------------------------------------------------------------
3 2008/07/26
4         - updated AUTHORS
5 2008/07/25
6         - applied barry-unbind-storage.sh script from Niels de Vos...
7                 added to contrib for now, in the interests of getting
8                 version 0.13 released soon... we can work on integrating
9                 this better in 0.14, which hopefully won't take so long :-)
10 2008/07/24
11         - added g++ (>= 4.1) to Debian build dependency list
12         - added support to base library and utilities for multiple email
13                 addresses in Contact records
14         - added opensync support for multiple contact email addresses
15         - applied ppp chat scripts for O2 Ireland from Simon Kenyon
16         - updated AUTHORS
17         - integrated O2 Ireland scripts into binary package installs
18 2008/07/16
19         - applied David Mansfield's opensync module password patch (ported
20                 manually to latest upcoming 0.13)
21         - updated AUTHORS
22         - added password documentation to sample barry-sync module config
23         - updated web docs with new password sample config
24 2008/07/05
25         - removed old, unused spec file and scripts for bcharge-only release
26         - fixed rpm build instructions in web docs
27         - reduced minimum password retry level from 6 to 3... Reinhold Schoeb
28                 reports that his 8800 device only lets him set a password
29                 retry range between 3 and 5, instead of the usual 10 that
30                 most devices have.
31 2008/07/04
32         - added "known issues" section to main www doc page
33         - fixed virtual function mis-name bug in btool's null parser
34         - added -i option to brecsum, to include record IDs in the sums
35         - applied Ashley Willis's btool 0.12 null parser patch to CVS, which 
36                 required some manual porting changes...
37                 - removed bool reference argument in GetParser()
38         - updated AUTHORS
39         - applied Ashley Willis's perlbarry package, putting it in the
40                 new contrib/ directory
41                 - updated AUTHORS
42                 - now that btool patch is applied, don't need it in contrib
43         - removed openssl from dependencies documentation, as barry now
44                 has its own sha1 code
45         - added libtool to dependencies documentation
46         - rpm/barry.spec file now assumes gui and opensync, with conditional
47                 checks depending which system it is being built on...
48                 --with gui and --with opensync are no longer needed.
49         - updated release scripts to build RPMs with the new spec file
50 2008/06/26
51         - updated udev rules to recognize devices with the 8004 Product ID
52         - fixed bug in test/buildtest.sh when opensync is not pre-built
53         - fixed more lintian warnings on Ubuntu
54         - fixed tiny subheadings in modem web document
55         - added syncing howto web document
56         - updated TODO list, adding Troubleshooting item, and morphing
57                 the modem item into the RPC daemon item
58         - moved old doc/TroubleShooting.txt document to web, and updated
59                 it in the process
60         - added tip to sync web docs, for using DebugMode on hangs
61 2008/06/23
62         - changed test/buildtest.sh so it is safe to run from outside
63                 the directory that contains it
64         - added note to patch webpage regarding testing patches to the
65                 build system
66         - removed mis-configured 'make dist' check from buildtest.sh
67         - added missing 'scoped_lock.h' to src/Makefile.am's non-installed
68                 headers, as it is an internal header only
69         - improved buildtest.sh: speed, accuracy
70                 - added -j option to make to speed builds
71                 - moved cleanall check above 'make dist' as dist doesn't
72                         clean up after itself
73                 - commented out 'make distcheck' for now, as it doesn't work
74         - added DISTCHECK_CONFIGURE_FLAGS to root Makefile.am, similar to
75                 David Everly's patch in tracker # 1973536
76                 Thanks David!  'make distcheck' now works, but only in
77                 an environment like buildtest.sh creates.
78                 Also, buildtest.sh passes all tests now, including distcheck.
79         - updated AUTHORS
80         - removed unused src/controllertmpl.h
81         - added ppp and test directories to Makefile.am EXTRA_DIST
82 2008/06/21
83         - added beginnings of a build system test script
84         - fixed sha1.h so it is installed by src/Makefile.am
85         - removed old Makefile.orig from src/Makefile.am
86 2008/06/20
87         - updated modem web documentation page with Sprint option, as
88                 well as listing some network security concerns
89 2008/06/19
90         - added modem reset workaround to web documentation page
91         - applied Andy Herkey's ipmodem password patch, round 1
92         - applied Andy Herkey's ipmodem password patch, round 2
93         - cleaning up some rough edges to the ipmodem patches:
94                 - removed commented out code in pppob.cc
95                 - added BXLOCAL to private member SendPasword()
96                 - added try/catch in IpModem destructor
97                 - removed FIXME comment about endian issues
98                 - added data size checks to SendPassword()
99                 - removed catch(...)
100                 - renamed class variable session_key to match others
101                 - added check to skip password if "" is passed in
102                 - added the m_filter for ipmodem PPP 0x7e filtering
103                   back, since the 8320 w/ rogers seems to need it
104         - updated AUTHORS
105 2008/06/06
106         - added timeout argument to Device::BulkDrain()
107         - added mozilla's sha1 code from git
108         - removed openssl dependency due to license issues
109                 Debian and Ubuntu have checks in their lintian tool that
110                 check for GPL+OpenSSL linkage.  In order to remove any
111                 potential obstacles to future inclusion in those distros,
112                 the dependency is removed here in favour of the small
113                 mozilla implementation which is GPL.
114 2008/06/04
115         - added notes to web documentation for OpenBSD
116         - documentation updates:
117                 - changed git patch command to use format-patch
118                 - added instructions for building from tarball
119                 - added bugs.php and contact.php pages
120         - fixed missing and mis-dated copyright notices in src/
121         - added ppp options and chat script for Sprint, based on
122                 Andy Herkey's mailing list report
123 2008/05/30
124         - added Ubuntu 8.04 to release build scripts
125 2008/05/29
126         - fixed compile errors in gui when compiling with gcc 4.3.x
127         - added ppp options and chatscript files to RPM build
128         - updated docs with binary package default PPP scripts
129         - added -P option to pppob to specify password
130         - updated pppob manpage with -P option
131         - fixed missing -P option in btool manpage
132         - updated rpm spec file history
133         - added pppob manpage to rpm spec file
134         - added manpages for brecsum, breset, upldif, and barrybackup,
135                 and updated the build process to support them.
136                 Also updated date for pppob manpage.
137         - updated rpm spec file with new manpages
138         - added ProductID code 0x8004 to breset.cc
139         - minor whitespace and usage text fix in upldif.cc
140         - deleted old src/Makefile.orig
141         - updated Debian binary package:
142                 - added manpages for brecsum, breset, pppob, upldif,
143                         and barrybackup
144                 - added ppp options and chat scripts, with postinit
145                         script to set permissions
146                 - fixed descriptions in control file to avoid lintian warnings
147 2008/05/27
148         - fixed missing #includes in src/data.cc
149         - fixed compile errors in library, utils, and plugin when compiling
150                 with new gcc 4.3.x... gui not yet finished
151 2008/05/24
152         - added minimum g++ version to website dependency docs
153 2008/05/23
154         - added ppp/README
155         - reorganized sample ppp options files so they are easier to compare,
156                 enabled "usepeerdns" in both, and disabled the speed
157                 setting in barry-verizon
158         - updates to website documentation
159                 - added FC9 to distro list
160                 - added page for BarryBackup
161                 - added page for USB modem / pppob
162 2008/05/22
163         - added sample ppp options files for Verizon Blackberries
164                 Sample files from Michael L. Stokes
165         - updated AUTHORS
166         - renamed sample ppp peer files, in preparation for installing
167                 them automatically in binary packages
168         - modified verizon options file to use pppob
169         - split the sample rogers options file into options and chat files
170 2008/05/16
171         - put sequence packet check directly in the SocketZero::RawReceive()
172                 function, which now localizes all sequence packet
173                 handling and checking, as well as avoids packet
174                 order problems when multiple sockets are in use,
175                 such as with pppob...
176                 FIXME - this localized sequence checking may make all
177                 the calls to CheckSequence() obsolete which
178                 should probably be cleaned up someday, if so.
179         - reorganized src/socket.cc to match class private/public
180                 order (no code change, only move)
181         - added verbose log message to Controller constructors, so it is
182                 possible to determine whether a program is using
183                 threaded or non-threaded sockets
184         - added -z and -Z command line options to btool to control
185                 the non-threaded/threaded behaviour, respectively;
186                 and updated the man page
187         - removed debug sleep() calls from pppob
188         - added SIGINT signal handler so pppob shutsdown gracefully when
189                 pppd is killed
190 2008/05/15
191         - mention CVS and git on main documentation "how to" list
192         - moved PPP filter logic into its own class
193         - enhanced PPP filter class to support prepending of
194                 empty bytes if needed, in order to reduce data
195                 copying, and clarified why there is no GetBuffer()
196         - added ProbeResult::HasIpModem() to determine whether
197                 IpModem endpoints are available
198         - added pure virtual Modem base class for common
199                 modem-oriented API (only Open and Write so far)
200         - Mode::IpModem is now derived from Barry::Modem
201         - experimental implementation for Mode::Serial,
202                 which is now derived from Barry::Modem,
203                 and uses PppFilter
204         - pppob now supports IpModem and Serial modes, and logging
205                 to file instead of stderr
206         - added man page for pppob
207 2008/05/10
208         - modified the planned version numbering scheme in doc/VersionNotes,
209                 so that a 1.0 is possible, with 1.50 as the devel series
210 2008/05/09
211         - continuing to update html documentation in preparation for
212                 0.13 release
213 2008/05/02
214         - removed -fvisibility-inlines-hidden compile options since some
215                 distros have old or broken compilers or libraries where
216                 the build breaks looking for STL templates (Ubuntu 7.10,
217                 I'm looking at you...)
218         - changed brecsum so usage information is displayed automatically
219                 if no command line arguments are specified
220         - added opensync-plugin to maintainer test scripts, and added
221                 ubuntu710 to the test build sequence
222 2008/05/01
223         - updated doc/TroubleShooting.txt
224         - removed usb_control message check from IpModem endpoint probing
225                 in src/probe.cc, since some devices, like the 8700
226                 have both RIM_UsbSerData mode and IpModem mode.
227         - fixed serialization code for Calendar record class, in s11n-boost.h
228         - made UnknownField's data member into its own type,
229                 so that when building records, it doesn't get processed
230                 like a null terminated string... also added more
231                 BuildField() helper functions for accuracy
232         - fixed missing fields in the Calendar record build process
233         - added Calendar to list of Builders in tools/btool...
234                 it is now possible to run: btool -s "Calendar" -f datafile
235         - added tools/brecsum program, which calculates SHA1 checksums
236                 on database records, for testing
237         - added brecsum to debian and rpm builds
238         - added recurrence builder function to Calendar record builder code
239                 which completes builder support
240                 Checksums from the following commands now match:
241                         brecsum -d Calendar > sum1.txt
242                         btool -d Calendar -f calendar.dat
243                         btool -s Calendar -f calendar.dat
244                         brecsum -d Calendar > sum2.txt
245                         diff -u <(sort sum1.txt) <(sort sum2.txt)
246 2008/04/29
247         - applied Jason Thomas's ACLOCAL_FLAGS patch to make autoreconf
248                 work again... Thanks!
249         - applied Jason Thomas's debian build dependency patch
250         - updated AUTHORS
251 2008/04/26
252         - started documentation overhaul in doc/www, putting the commonly
253                 asked questions right on the front page, and making it more
254                 goal-oriented, so it is hopefully easier to use
255 2008/04/25
256         - updated NEWS file
257         - fixed error messages in m_desktop.cc that still referred
258                 to Controller
259 2008/04/25
260         - major merge of barry-b1-socket-arch-branch into MAIN.
261           The following is the changelog from that branch, which is now MAIN.
263         2008/04/25
264                 - added thread-safe logging mechanism
265                 - added preliminary IP modem support... requires a recent
266                         device... serial mode is not yet supported
267                 - merged HEAD changes
268         2008/03/27
269                 - changed Barry::Init() so programmer can choose where
270                         debug and exception information goes, instead of
271                         always to stdout
272         2008/03/22
273                 - merged HEAD changes
274         2008/03/20
275                 - fixed bug in probe class, which missed storing the PIN
276                         number in ProbeResult
277                 - also added ProbeResult constructor
278                 - merged changes from visibility branch:
279                         - GCC visibility support, limiting what symbols are
280                           visible in the shared library, libbarry... this makes
281                           a drastic reduction in the symbol table, and should
282                           avoid future name clashes with other libraries such
283                           as opensync
284                           See: http://gcc.gnu.org/wiki/Visibility
285                         - vformat_() function name changes
286         2008/03/07
287                 - merged HEAD changes
288                 - added threads library to new bs11nread build
289         2008/02/28
290                 - fixed variable size issues in btranslate.cc, evident with
291                         some compilers on 64 bit systems
292                 - merged HEAD changes
293                 - added comments for threaded usage in usbwrap.h
294                 - changed router to use SocketId typedef, for clarity
295         2008/02/22
296                 - fixed const char warnings from newer gcc compilers
297                 - controller object now saves a copy of the probe result
298                         and provides an API to retrieve it
299                 - added sanity checks to m_serial.cc
300                 - fixed probe behaviour so that a USB probe on an endpoint
301                         that doesn't respond won't halt everything
302                 - refactored some of the probe code, and added checks for
303                         IP modem endpoints
304                 - added Probe::DumpAll()
305                 - added Open() call to pppob.cc (not yet complete)
306         2008/01/30
307                 - implemented dataqueue.{h,cc}... looks ready for testing,
308                         once things compile again
309                 - changed free list copy in router.cc to use
310                         DataQueue::append_from()
311                 - finished packet.{h,cc} implementation, ready for testing
312                 - finished controller.{h,cc}, ready for testing
313                 - finished m_desktop.{h,cc}, ready for testing
314                 - added skeleton m_serial.cc
315                 - the base library and utilities compile again!
316                 - added constructor for SocketZero(queue)
317                 - fixed ErrnoError::GetMsg()
318                 - updated GUI and opensync plugin to compile with new API
319                 - moved Raw Send/Receive socket functions to private
320                 - fixed packet header size bug in socket that caused
321                         socket ID override to be skipped
322                 - fixed incorrect use of gettimeofday()
323                 - fixed race condition where Controller could destroy
324                         the Usb::Device object before the SocketRoutingQueue
325                         was done with it
326                 - fixed segfault in SocketZero::RawSend() when a router
327                         was in use
328                 - fixed Open() bugs in btool... Open() must be outside of loops
329                 - btool uses the router thread now, for testing
330                 - partially implemented m_serial.{h,cc}... needs testing
331                 - added automatic buffer allocation to SocketRoutingQueue
332                         constructor
333                 - made AllocateBuffers() a little smarter, so it was not
334                         pure appending
335                 - added a context data pointer to the SocketRoutingQueue
336                         RegisterInterest callback
337                 - added RegisterInterest functionality to Socket class
338                 - added exceptions on router read errors in socketzero
339         2008/01/26
340                 - implemented router.{h,cc}... looks ready for testing,
341                         once things compile again
342         2008/01/25
343                 - merged HEAD changes
344                 - added router.cc and continued work on new arch
345                 - merged HEAD changes for 2008 copyright statements
346                 - added scoped_lock.h
347                 - added ErrnoError exception class
348                 - documented Controller / SocketRoutingQueue behaviour
349                 - more router implementation
350                 - simplified pppob
351                 - audit and cleanup of socket.{h,cc} code... looks ready
352                         for testing now, once things compile again
353                 - removed FIXME in router.*
354                 - removed pthread header from pppob as it is not needed
355         2007/11/22
356                 - merged HEAD changes
357         2007/10/25
358                 - merged HEAD changes
359         2007/10/19
360                 - branch started, to track development of the new socket
361                         architecture, and new mode architecture, needed
362                         to support GPRS modem support, and threaded
363                         USB access
364                 - committed work-in-progress... does not compile
366 2008/04/10
367         - added Tasks and Memos to TODO list
368 2008/03/27
369         - added support for Blackberry 8120, which has a unique Product ID
370                 Sourceforge tracker ID: 1829537
371 2008/03/22
372         - removed TimeZones from TODO list, as it is done
373 2008/03/21
374         - version bump:
375                 - configure.ac
376                 - src/Makefile.am
377                 - src/version.cc
378                 - gui/src/BackupWindow.cc
379                 - src/Doxyfile
380                 - rpm/barry.spec
381                 - debian/changelog
382                 - opensync-plugin/src/barry_sync.cc
383         - added GCC visibility support, limiting what symbols are visible
384                 in the shared library, libbarry... this makes a drastic
385                 reduction in the symbol table, and should avoid future
386                 name clashes with other libraries such as opensync
387                 See: http://gcc.gnu.org/wiki/Visibility
389 Release: version 0.12 - 2008/03/21
390 ------------------------------------------------------------------------------
391 2008/03/21
392         - changed maintainer script to use CVS export instead of checkout,
393                 to avoid the CVS directories
394         - added support for building Debian source packages with proper
395                 diff.gz and dsc files
396         - fixed find warning in maintainer/make-rpm.sh
397         - added support for Ubuntu binary packages to the maintainer build
398                 scripts
399 2008/03/13
400         - renamed all vformat_ and VFormat symbols in opensync plugin's
401                 copy of vformat code, so they don't conflict with the
402                 real opensync libraries
403 2008/03/07
404         - updated the install.php web page with Paul Dugas's notes on
405                 building RPM's from CVS
406         - fixed problem in tools/Makefile.am where bs11nread was included
407                 in build, even if --with-boost was not specified
408                 on ./configure command line
409 2008/03/06
410         - changed format of Boost serialization file output from btool,
411                 so that the database name is stored as the first line
412                 of the file
413         - added tools/bs11nread.cc to read Boost serialization file data
414                 written by btool
415         - minor adjustments to r_message.h and r_timezone.h
416         - updated s11n-boost.h header to match record classes
417 2008/03/01
418         - applied Time Zone parsing patches from Brian Edginton
419         - added Time Zones to list of supported parsers in btool.cc
420 2008/02/29
421         - changed configure.ac to use bzip2 for "make dist".. thanks to
422                 Paul Dugas for the tip
423 2008/02/28
424         - committed Chris Burgess's update to the roadmap document
425         - applied Paul Dugas's x86-64 build patch, except the
426                 tar.bz2/tar.gz change
427         - updated AUTHORS file
428 2008/02/22
429         - fixed configure.ac's --with-boost option, so that without args,
430                 it defaults to using --includedir and --libdir settings,
431                 instead of hardcoding /usr/include and /usr/lib... this
432                 should allow smarter compiling on 64 bit systems
433         - updated RPM spec file to use new --with-boost behaviour
434         - ahem, fixed configure.ac again... don't use --includedir and
435                 --libdir, as those are install targets... oops.
436                 Don't add path overrides at all if not specified.
437 2008/01/25
438         - fixed locale issues in src/data.cc
439         - updated copyright statments for 2008
440 2007/12/21
441         - applied wording correction patch to btool from Matt LaPlante
442 2007/12/07
443         - changed hard coded databases names in btool to calls to
444                 <recordclass>::GetDBName()
445         - version bump:
446                 - configure.ac
447                 - src/Makefile.am
448                 - src/version.cc
449                 - gui/src/BackupWindow.cc
450                 - src/Doxygen
451                 - rpm/barry.spec
452                 - debian/changelog
453                 - opensync-plugin/src/barry_sync.cc
454         - updated TODO
456 Release: version 0.11 - 2007/12/01
457 ------------------------------------------------------------------------------
458 2007/12/01
459         - fixed null pointer bug in Probe class (bug #1842407)
460         - added pause to maintainer release script
461 2007/11/30
462         - version bump:
463                 - configure.ac
464                 - src/Makefile.am
465                 - src/version.cc
466                 - gui/src/BackupWindow.cc
467                 - src/Doxygen
468                 - rpm/barry.spec
469                 - debian/changelog
470                 - opensync-plugin/src/barry_sync.cc
472 Release: version 0.10 - 2007/11/30
473 ------------------------------------------------------------------------------
474 2007/11/30
475         - added support to the usbwrap Match class to limit its
476                 search by busname / devname
477         - added support to the Probe class to limit its search for
478                 Blackberry devices to a given bus or device name
479         - added command line options to btool for the above Probe
480                 bus/device names, and updated the man page
481         - updated the www docs with regard to the new usb_storage
482                 behaviour and the new blacklist files... less
483                 concern about berry_charge and usb_storage conflicts
484         - added bidentify tool and accompanying man page
485         - fixed bug in rpm maintenance script that used the wrong
486                 spec file for opensuse
487 2007/11/29
488         - added better error checking to breset
489         - commented the sleep() for the 8830
490         - added code to handle the race condition where usb_storage
491                 claims the device before bcharge arrives on the scene,
492                 by asking the kernel to detach the driver from
493                 the Mass Storage interface... this change makes it
494                 possible to run bcharge, moving from 0006 to 0004
495                 to 0001 and back to 0004, all *while* usb_storage
496                 is loaded!
497         - changed Probe class behaviour so that it will not throw an
498                 exception on Device Busy (-EBUSY) but instead
499                 log the error in an internal array and keep going.
500                 This makes it possible to use btool and barrybackup
501                 with two devices plugged in at the same time.
502                 BACKWARD COMPATIBILITY NOTE: this changes initializaion
503                         behaviour, but in practice, it should only
504                         make applications look more capable, not less.
505         - updated btool to show errors logged by Probe
506         - added message to specify which PIN device is being used by btool
507         - added explanatory comments to udev rules files, about why
508                 they are so verbose
509 2007/11/27
510         - added ClearHalt() calls to probe and controller classes, just
511                 before any communication happens... the 8830 seems
512                 to need this
513 2007/11/23
514         - added usbwrap.cc:GetConfiguration()
515         - added code to check whether the configuration is the one
516                 we require, before calling SetConfiguration()... and not
517                 to call it if unnecessary.  This allows us to run
518                 at the same time as usb_storage.
519                 Thanks to Martin Owens for not letting this issue go. :-)
520         - added sleep to bcharge, before calling usb_reset()... the
521                 Blackberry 8830 behaves like a Pearl device in that
522                 it has mass storage support, but behaves like a Classic
523                 in that it resets itself... the usb_reset() seems
524                 to reset it back to 0006.  The sleep allows the device
525                 to disappear via its own reset, and let usb_reset()
526                 fail naturally on these devices.
527                 This is not an ideal solution... mainly for testing.
528 2007/11/09
529         - added modprobe/blacklist-berry_charge as per Simon Ruggier's
530                 suggestion.  Thanks also to Niels de Vos for a similar
531                 suggestion.
532         - fixed udev rules to work on both old and new distros
533                 Thanks to Duncan Mak for the bug report.
534         - AUTHORS update
535         - fixed string comparison to use case insensitive compare in
536                 opensync plugin
537         - updated Debian package to include modprobe blacklist file
538         - updated rpm spec file to include modprobe blacklist file
539         - split the maintenance scripts into release and test, so
540                 that release package builds can be done faster
541 2007/10/26
542         - opensync plugin fixes:
543                 - fixed memory leak in vBase::GetAttr()
544                 - added support in vformat parser to parse "blocks"
545                         and keep track of the hierarchy when
546                         parsing an iCalendar, etc.
547                 - added support for searching for attributes only
548                         inside certain blocks (i.e. find first
549                         DTSTART in VEVENT block, not VTIMEZONE block)
550 2007/10/25
551         - fixed bug in Calendar::Clear, missing the Free / Class
552                 member variables, leaving them uninitialized
553         - added examples/addcalendar.cc
554         - added more logging to the opensync plugin, logging the
555                 ToBarry conversion results
556         - added code to force struct tm.tm_isdst to -1 before calling
557                 mktime, in vformat.c
558                 - fixed typo in previous fix
559 2007/10/12
560         - renamed ktrans and translate to bktrans and btranslate to avoid
561                 file name clashes with libtranslate of Gnome
562                 Closes bug #1812410 reported by Troy Engel.
563         - version bump:
564                 - configure.ac
565                 - src/Makefile.am
566                 - src/version.cc
567                 - gui/src/BackupWindow.cc
568                 - src/Doxygen
569                 - rpm/barry.spec
570                 - debian/changelog
571                 - opensync-plugin/src/barry_sync.cc
572         - fixed missing default config file in the debian package for
573                 the opensync plugin
574                 Closes bug #1812224 reported by Ariel (adonatti).
575         - added debian dbg packages for tracing segfaults
576         - modified maintainer scripts so debug packages would reference
577                 source code located in /usr/src/barry-0.9, etc.
579 Release: version 0.9 - 2007/10/12
580 ------------------------------------------------------------------------------
581 2007/09/29
582         - adjusted autosuspend disabling code in bcharge, based on new
583                 information on how kernels 2.6.21 / 2.6.22 work.
584                 See bcharge.cc for comments.  If device/power/level or
585                 device/power/autosuspend exist, charging should now work
586                 without recompiling the kernel.
587         - updated website docs with autosuspend info
588 2007/09/27
589         - large update to the doc/www web pages, moving some of the
590                 information in README files to html format, so that it
591                 is commonly available on the web
592         - added step in maintenance scripts to automatically build the
593                 .html files in doc/www when making a tarball release
594 2007/09/22
595         - added libopensync 0.22 version requirement to barry.spec file,
596                 but it doesn't seem to work on OpenSuSE 10.2, where it's
597                 needed.... hmmmm
598 2007/09/21
599         - updated README to mention new tree build configure options
600         - fixed the configure scripts and makefiles so that when building
601                 with custom CXXFLAGS and LDFLAGS environment variables,
602                 it doesn't break the full-tree build mode, when
603                 using --enable-gui and/or --enable-opensync-plugin
604         - added config.h.in~ to buildgen.sh clean target
605         - converted Debian build scripts to use cdbs
606         - added opensync plugin binary package for Debian
607         - added "Getting Started" section to web pages, as well as an
608                 explanatory document for various system requirements
609         - turned on opensync build in RPM maintainer scripts
610 2007/09/20
611         - added filename to power/state error message in bcharge.cc
612         - adjusted maintainer scripts to automatically adjust barry.spec
613                 for opensuse rpm builds
614 2007/09/13
615         - fixed some of the release build scripts and added support for
616                 automated opensuse 10.2 builds
617                 - fixed build target to i386
618                 - changed scripts to add to PKG_CONFIG_PATH variable instead
619                         of overwriting it
620 2007/09/07
621         - added website docs to doc/www... these are out of date at the
622                 moment, and hopefully by including them here, they
623                 will be updated more frequently
624 2007/09/05
625         - applied Simon Ruggier's build system patch that allowed a build
626                 of all 3 components from the root directory and fixed the
627                 configure scripts to support external build directories
628         - reordered clean commands in the buildgen.sh scripts, and removed
629                 the INSTALL files, since they are auto-generated by autoconf
630         - removed extraneous buildgen.sh calls in maintainer scripts
631         - added Simon Ruggier to AUTHORS
632         - added explanatory note to 3 stage test build process in
633                 maintainer script
634 2007/08/24
635         - fixed Category handling in the Contact record class, to
636                 parse the comma separated string into an array,
637                 and back
638                 Note: this involves a change to the boost serialization
639                         and will affect backward compatibility with
640                         old serialization datafiles
641         - added Category to examples/addcontact.cc
642         - added Category support to the opensync plugin
643 2007/08/23
644         - fixed wrong read/write in btool output (oops)
645         - added BadSize exception, and changed CheckSize() function
646                 to throw it on error
647         - changed backup GUI to catch BadSize exceptions on initial
648                 connect, and try a reset if that error occurs, since
649                 that likely means the device didn't shutdown properly
650         - fixed in opensync plugin:
651                 - some vcard data contains types codes in capital letters,
652                         so added lower case conversion routine
653                 - changed the order of address lines, so that address1
654                         is the street, address2 is the extended address,
655                         and address3 is the PO Box.  The Blackberry
656                         doesn't seem to have any PO Box field.
657 2007/08/20
658         - added -e endpoint override option to btool
659         - added status message to endpoint override
660 2007/08/18
661         - added configure check for strnlen, and implementation for
662                 systems that don't have it, or that have it implemented
663                 incorrectly.  Went a little paranoid here, since
664                 AC_FUNC_STRNLEN doesn't set a define in config.h,
665                 so I had to do it manually, and check in case autoconf
666                 changes in the future... ugh.  See src/strnlen.h for
667                 the gory details.
668         - added code in probe.cc to fetch the device's description.
669                 The description is now part of the probe results
670                 along with the PIN.  Updates to protocol.h, adding
671                 a new attribute definition.
672                 Thanks to Rick Scott for pointing out the code in
673                 XmBlackberry where he implemented this first.
674         - fixed header dependency in record-internal.h
675         - updated the "required autoconf" version to 2.61 for root build
676         - moved nested structs out of the record classes that contain them,
677                 in order to better support SWIG and Python
678 2007/08/17
679         - changed bcharge to use getopt() for its argument processing
680         - added options -p and -s to bcharge, to adjust usb suspend
681                 settings automatically where possible
682         - updated the udev rules to use the new bcharge settings
683         - updated the bcharge man page with the new arguments
684 2007/08/16
685         - cleaned up Usb exception handling, moving libusb error code
686                 processing into the Usb::Error exception class.
687                 error.cc is now an empty shell
688         - added return codes to the Usb::Error exceptions
689         - removed aboutdialog.{h,cc} from the backup GUI since even
690                 Debian stable now has up-to-date gtkmm libraries
691         - added more user friendly error message for the "device busy"
692                 case, recommending 'rmmod usb_storage'.
693 2007/08/09
694         - added better error checking to bcharge.cc
695         - version bump:
696                 - configure.ac
697                 - src/Makefile.am
698                 - src/version.cc
699                 - gui/src/BackupWindow.cc
700                 - src/Doxygen
701                 - rpm/barry.spec
702                 - debian/changelog
703                 - opensync-plugin/src/barry_sync.cc
704         - removed usb_set_configuration() check from bcharge.cc, since
705                 that may fail under normal operation, in this case
707 Release: version 0.8 - 2007/08/03
708 ------------------------------------------------------------------------------
709 2007/08/03
710         - moved Interface implementation to usbwrap.cc file
711         - added dout debugging messages to usbwrap.cc
712         - clarified unhandled packet error message in socket.cc
713         - added temporary workaround in opensync-plugin environment's
714                 Reconnect(), for odd message seen on newer Blackberry
715                 devices
716         - fixing issues with Brian Edginton's MessageRecord patch (2007/06/29)
717                 - fixed missing size check in message oriented ParseHeader()
718                 - fixed endian conversion issues (also found one pre-existing
719                         endian bug in the process)
720                 - moved message timestamp converter code to time.cc
721         - added Barry version number to opensync plugin name
722         - changed maintainer scripts and rpm.spec to use bzip2 instead of gzip
723         - added opensync-plugin to configure script build
724         - added -S option to btool, to list supported parsers and builders
725         - slight change to opensync-plugin/buildgen.sh to cleanup config.h.in~
726         - opensync-plugin/README update
727         - added opensync-plugin/patches for others who may be building and
728                 testing the plugin with OpenSync 0.22
729         - added debian package build scripts to maintainer/
730 2007/08/01
731         - added entry to doc/TroubleShooting.txt
732 2007/07/28
733         - added doc/TroubleShooting.txt
734 2007/07/27
735         - opensync plugin:
736                 - fixed bug in vcard.cc that was using the FN field
737                         for the broken-down name instead of N
738                 - added dbId and dbName to DatabaseSyncState
739                 - added Reconnect() functionality to BarryEnvironment class
740                         and moved connect logic out of barry_sync.cc
741                 - changed the batch commit functionality in barry_sync.cc
742                         to single-change-commit.  Why?  Because opensync
743                         0.22 groups all batch changes into one group
744                         and calls one batch commit function, even if you
745                         registered two.  Moving to single change commit
746                         mode removes a chunk of unneccessary code
747                         from the plugin as well, and can in theory
748                         ease memory pressure in the library.
749                 - added FinishSync() to perform actions needed on successful
750                         syncing completion
751                 - disconnect on successful sync completion, and reconnect,
752                         since the device's dirty flags don't seem to
753                         be updated until a disconnect occurs.
754 2007/07/26
755         - added ReadDataArray() to data.h, using an istream instead of
756                 requiring a file
757         - added raw data version of BuildField() to record-internal.h
758                 This is so that btool doesn't add extra null terminators
759                 to unknown data, when restoring with option -s
760         - fixed bugs in r_contact.cc:
761                 - fixed bug that caused a LastName/FirstName swap
762                         if FirstName was empty and you wrote a contact
763                         record into the device.... First/Last Name
764                         fields are position sensitive, and the code
765                         was missing the empty FirstName case on writing
766                 - fixed bug in BuildFields() and Dump() where they
767                         were not updated to handle the new field
768                         table added for the postal address changes
769                         on 2007/07/20, oops
770         - opensync plugin:
771                 - changed the plugin config file, so it is possible to
772                         turn debug output on/off without recompiling
773                 - moved the standalone Map2Uid() function into
774                         the DatabaseSyncState class, and changed the
775                         code to produce "contact-#" and "calendar-#"
776                         UID strings, instead of just numbers
777                 - changed default PIN to -1, so that if the user doesn't
778                         configure properly, it will fail... this is a
779                         safety measure to avoid syncing with different
780                         devices and corrupting the cache/idmap...
781                         this should be fixed someday, to handle this
782                         automatically
783                         On second thought... is this right?  Perhaps
784                         it is better to fail if the PIN is not what
785                         is expected, so a user doesn't accidentally
786                         sync the wrong device and lose data.
787                         Actions to take on new PIN:
788                                 - force slow_sync, or
789                                 - fail
790                 - incorporated the new VCardConverter code into the
791                         main barry_sync.cc plugin code
792                 - fixed bug that did not clear the devices dirty flags
793                         in the case where a sync only read data from it,
794                         and didn't write
795                 - changed PIN error message number to hex
796 2007/07/20
797         - minor wording change in backup GUI prompt: "Backup working..." to
798                 "Backup in progress..."
799         - renamed Contact class's Title field to JobTitle for clarity
800         - added record function ParseFieldString(), which properly handles
801                 strings from the device that have multiple null terminators,
802                 and changed the record parsing code to use this new function
803         - moved FullName() function from ldif.cc to r_contact.cc since it
804                 is generally useful in areas outside of LDIF processing
805         - refactored postal addresses in the Contact record class into
806                 a new class called PostalAddress
807         - renamed Address class in record.h to EmailAddress
808         - moved Contact::GetPostalAddress() to record.cc as part of the
809                 new PostalAddress class and renamed it
810                 PostalAddress::GetLabel()
811         - opensync plugin:
812                 - refactored vformat helpers into separate base class
813                         called vBase
814                 - added vCard converter class
815                 - commented out the code that skipped over the adding
816                         of empty attribute values and parameters,
817                         since VCARD depends on some of this behaviour
818                 - movified vformat.c:vformat_find_attribute() to take
819                         an extra nth argument, in order to search
820                         for multiple attributes with the same name...
821                         the way this is coded is a bit inefficient...
822                         but we're moving away from vformat when we move
823                         to OpenSync 0.3x / 0.40, so this is just temporary
824                         pain
825 2007/07/19
826         - added SUBSYSTEM=="usb_device" to example udev rules, in order
827                 to avoid running bcharge for each endpoint that is
828                 added by udev, when first plugged in.  Running bcharge
829                 back-to-back multiple times can crash some
830                 Blackberries.
831 2007/07/14
832         - opensync plugin:
833                 - fixed ID mapping bug in the case of a non-numeric UID
834                         from syncing external -> Barry, and then the
835                         new Barry ID would look like a new change
836                         when syncing back from Barry -> external.
837                 - added support for slow sync
838                 - added clear() to idmap class
839                 - added vformat attr parameter extraction class
840                 - added more trace logging during vformat/Barry conversions
841                 - added Notification time support
842                 - handled "all day" vformat special case, when DTEND
843                         does not exist in a vformat data block
844         - changed the min1900_t time conversion functions to handle
845                 the 0xffffffff special case, when notifications
846                 are turned off on a calendar event (src/time.cc)
847         - also made the calendar data dump output clearer for
848                 disabled timestamps, and added debug output
849                 for the raw min1900 value, in case there are more
850                 special cases in the future
851 2007/07/13
852         - fixed null pointer access in opensync's HasMultipleVEvents()
853 2007/07/12
854         - upper management directive: revert all OpenSync 0.3x changes
855                 and proceed with OpenSync 0.22.  Reverting the
856                 opensync-plugin/src tree to Barry 0.7 status.
857 2007/07/06
858         - reorganized exception and trace code in opensync plugin
859         - added XmlToCalendar() function, based on unfinished opensync
860                 library API that is not yet finished... will be
861                 committed to opensync svn tree when complete
862         - added OSyncXMLField logger to plugin trace class
863 2007/06/29
864         - applied email MessageRecord patch from Brian Edginton (thanks!)
865         - updated Message::Dump() to output more valid mbox data...
866                 the goal is to be able to do:
867                         btool -d "Messages" > email.mbox
868                         mutt -f email.mbox
869         - changed some TODO's to FIXME's to keep it grep-consistent
870         - applied Folder support patch from Brian Edginton
871         - fixed pedantic compile warnings, and changed order in src/Makefile.am
872         - removed unneeded cast in src/r_folder.cc
873 2007/06/28
874         - minor adjustment to ctags building in buildgen.sh
875         - applied patch from Brian Edginton for better boost detection
876                 in configure.ac
877         - added boost usage message to btool -h output
878 2007/06/21
879         - more porting of OpenSync module to 0.30
880         - added ctags build for opensync source tree to buildgen.sh
881 2007/06/14
882         - changed PKG_CONFIG_PATH setting in rpm script, so that systems
883                 like SuSE that have an extensive PKG_CONFIG_PATH
884                 in general use will not break on build
885         - added PKG_CONFIG_PATH to debian script too, just in case :-)
886         - added debian/changelog to doc/ReleaseChecklist.txt
887         - added comment to rpm/barry.spec regarding SuSE RPM builds
888 2007/06/08
889         - applied patch from Niels de Vos fixing debian package build
890                 dependency
891         - applied Brian Edginton's Saved Email Messages patch
892         - updated r_saved_messages.cc comment to match header
893         - added GetRecType()/GetUniqueId() to r_saved_messages.h, since
894                 SetIds() is already there
895         - removed Address version of operator<<() from message related headers
896                 and moved into record.h
897         - added std::hex to message related dumps, and changed output to
898                 be more mbox-like
899         - updated doc/CodingStyle.txt to cover switch() statements
900         - opensync compiles again, with 0.30!  (not functional yet)
901                 - moving closer to more modular and reusable plugin functions
902         - updated release checklist for opensync version number
903 2007/06/07
904         - added doc/CodingStyle.txt... preliminary version
905 2007/06/06
906         - applied Brian Edginton's PIN message patch
907         - changes to PIN message patch:
908                 - fixed missing backslash in src/Makefile.am
909                 - fixed tab alignment throughout
910                 - removed typedef from Address struct
911                 - added clear() to Address... might as well, if it it is
912                         going to be a standalone type
913                 - fixed missing comma in PINMessageFieldLinks table
914                 - changed MessageRecordId in PINMessage to load from a new
915                         uint32_t field in CommonField, instead of piggy
916                         backing on a field for other use
917         - did some testing and found that PINMessage's MessageRecordId
918                 is the same as the RecordId given through the SetIds()
919                 API... but these Id's are duplicated in the protocol...
920                 RecordId is stored in the protocol header, while
921                 MessageRecordId is stored in the record it self as
922                 a common field... added RecType and RecordId to
923                 PIN Message so that we store both of these
924         - updated AUTHORS
925 2007/05/27
926         - added item to gui/TODO
927         - applied Brian Edginton's s11n-boost.h patch
928 2007/05/25
929         - renamed template values to more consistent naming scheme
930         - applied memos and tasks patch from Brian Edginton, slightly
931                 modified to split into the new separate files system
932         - changes to memos and tasks classes:
933                 - reformatted the code to match coding style
934                         (come on Brian) :-)
935                 - added copyright notice
936                 - changed class to singular (Memo, not Memos)
937                 - placed in Barry namespace
938                 - added #ifdef header protectors
939                 - added new files to Makefile.am
940                 - added new r_*.h headers to record.h
941         - added support for Memos and Tasks to tools/btool.cc, based on
942                 Brian Edginton's patch
943                 (currently commented out, for Boost library reasons):
944         - added doc/CommitPolicy.txt
945         - updated AUTHORS
946 2007/05/24
947         - added ctags generation to buildgen.sh
948         - applied record.{h,cc} fix patch from Brian Edginton
949                 - ClassFlag
950                 - FreeBusyFlag
951                 - Clear() fixes
952         - fixed broken formatting in above patch
953         - refactored record parser classes into separate files for each
954         - changed the ConvertHtoB<> template to inline, as it caused
955                 linker errors with the new file layout
956 2007/05/17
957         - fixed bug in Debian packaging that put util commands in
958                 /bin and /sbin instead of /usr/bin and /usr/sbin
959         - commited byteswap.h replacement code from gm2net
960         - backup gui:
961                 - removed unneeded debug messages on stdout
962                 - changed the default for debug output to "off"
963                         and added a command line option to turn
964                         it on if necessary  (--debug-output)
965                 - command line option --help now also works
966         - fixed bug in Calendar class where it didn't initialize
967                 RecType properly... and cleaned up other RecType
968                 code to use the GetDefaultRecType() functions,
969                 localizing the constants in one place
970 2007/05/11
971         - applied patches from Brian Edginton, parsing more
972                 fields in Contact and Calendar records
973         - added Brian Edginton to AUTHORS
974         - reformatted record.{h,cc} to match the rest of the code,
975                 removed commented out code, and removed mention of
976                 Outlook from the comments.
977         - updated udev/10-blackberry.rules.Debian for Debian Etch
978         - updated debian/rules to use new udev rules file
979         - removed debian/postinst, as stable versions of Debian now
980                 have a recent udev, and don't need the special handling
981         - updated Debian build scripts to build separate packages:
982                 libbarry
983                 libbarry-dev
984                 barry-util
985                 barrybackup-gui
986         - added menu support to Debian barrybackup-gui package
987         - made the buttons bigger in the backup GUI, as they were too
988                 small on Debian Etch
989         - opensync plugin:
990                 - more progress in porting to opensync 0.30, heavily
991                         based on the example plugin in the opensync
992                         svn tree...  this is a work in progress, and so far
993                         is incomplete
994 2007/05/04
995         - opensync plugin:
996                 - partial porting to opensync 0.30 (in progress!)
997                 - fixed bug in sync_done where it reported context error
998                         and then success afterward
999         - checking in new INSTALL files based on Etch's autoconf run
1000         - added item to gui's todo list
1001         - bumped version numbers to 0.8 in:
1002                 - configure.ac
1003                 - src/Makefile.am
1004                 - src/version.cc
1005                 - gui/src/BackupWindow.cc (about dialog)
1006                 - src/Doxygen
1007                 - rpm/barry*.spec
1009 Release: version 0.7 - 2007/05/02
1010 ------------------------------------------------------------------------------
1011 2007/05/02
1012         - added rpm building to maintainer/release scripts
1013         - added "HEAD" feature to tarball creation script, for easier testing
1014         - updated maintainer/README
1015         - updated maintainer/release.sh to use new HEAD feature too
1016 2007/05/01
1017         - added pppob to rpm barry.spec
1018         - bumped release number in barry.spec
1019 2007/04/30
1020         - opensync plugin:
1021                 - fixed size check bugs (strlen() == 0 when empty)
1022                 - finished refactoring calendar conversion routines
1023                 - started timezone parsing, but this may go away
1024                         if we use opensync 0.30's time functions and
1025                         xml data format...
1026                 - added development note to README
1027 2007/04/29
1028         - updated README and opensync-plugin/README with more current
1029                 build instructions
1030         - opensync plugin:
1031                 - refactored some calendar conversion routines
1032                 - added Barry->vCalendar conversion for recurring appointments
1033 2007/04/27
1034         - opensync module:
1035                 - removed some unneeded trace logs
1036                 - fixed VEventConverter constructor bug, with uninitialized
1037                         m_Data pointer
1038                 - eased up the requirement that every calendar event
1039                         must have a summary... defaults to "<blank subject>"
1040                         if empty
1041                 - added more VCALENDAR fields to match Barry::Calendar record
1042                 - fixed case sensitive compares in vformat.c
1043 2007/04/26
1044         - opensync module work:
1045                 - added id map class to map string uid's from OpenSync to
1046                         numeric ID's from the Blackberry
1047                 - fixed bug in CommitChange() where it was still using
1048                         a hard coded calendar record state table
1049                 - added lots of logging throughout
1050                 - fixed bug where newly added records didn't use the
1051                         change object's uid, but created a new ID,
1052                         causing another sync on the next run
1053                         i.e. (CommitData_t was missing an argument)
1054                 - fixed bug where uninitialized notification time was
1055                         written to the Blackberry
1056         - more opensync module work:
1057                 - refactored the environment class into another subclass
1058                         called DatabaseSyncState, and moved some stand-
1059                         alone functions from barry_sync.cc into
1060                         the environment classes
1061                 - added a tagged constructor to the trace class
1062                 - fixed idmap::Load() to clear map before loading
1063 2007/04/20
1064         - renamed barry-config to barry-sync, the default configuration
1065                 file for the opensync module... and filled it with
1066                 a sample configuration
1067         - added code to update the calendar cache, and write it to disk
1068                 on success (opensync module)
1069         - added code to clear dirty flags in the device (opensync module)
1070         - allowed comments in the config file
1071         - added vformat.c from libopensync 0.22, since the vformat
1072                 routines are not available from the plugin side
1073 2007/04/19
1074         - updated gui/TODO
1075         - added -d switch to bcharge to switch back from 0001 to 0004 mode,
1076                 changed the auto-detection logic to ignore iProduct and
1077                 only use idProduct, and updated man page
1078         - updated breset to recognize the Pearl in 00004 mode as well
1079         - changed src/probe.cc logic to assume that the second endpoint
1080                 pair is the one needed for database communication, instead
1081                 of doing a reverse search from the end... newer Pearls
1082                 in Dual mode seem to have at least 3 or 4 endpoint pairs,
1083                 and the old search didn't always work
1084         - applied sourceforge patch #1696884 from Peter Silva, updating
1085                 the Debian build for Etch, and including all files in one deb
1086         - added Peter Silva to AUTHORS file
1087         - uncommented the "make distclean" in debian/rules, and removed
1088                 the reliance on /tmp when installing 99-barry-perms.rules
1089         - applied bb_task_format.txt patch from Peter Silva
1090         - fixed each misspelling of "recurrance" to "recurrence"
1091         - tweaked src/probe.cc again for paranoia's sake... start at
1092                 offset 1 if more than 1 endpoint pair, otherwise start
1093                 search at 0
1094         - split up opensync module into multiple source files, and started
1095                 using the opensync vformat routines for parsing and building
1096                 the vevent20 data (experimental)
1097 2007/04/04
1098         - more incremental work on the opensync plugin, adding ADDED
1099                 and MODIFIED functionality... (experimental!)
1100 2007/03/30
1101         - added code to dump extra descriptors during device discovery,
1102                 if found
1103         - bumped opensync version number in configure.ac, and made
1104                 the configure scripts more consistent with the rest
1105                 of the project
1106         - fixed printf-format size bug in opensync module
1107 2007/03/29
1108         - applied patch from Niels de Vos, fixing deb udev rules for Pearl
1109         - updated AUTHORS
1110         - fixed extra space bug in LDIF output (added space when creating
1111                 FullName, even if there was no last name)
1112         - fixed Address Book record parsing in Contact class... the
1113                 Blackberry database uses field id 0x20 for both the
1114                 first and last names, and if only a last name exists,
1115                 the first name will be empty.  Fixed parser to handle
1116                 this special case, without relying on string length.
1117                 Thanks to Troy Engel for reporting above two LDIF bugs.
1118         - added a few more constants to bcharge.cc
1119         - renamed opensync's configure.in to configure.ac
1120 2007/03/17
1121         - fixed bcharge to avoid endless reset loop... oops
1122 2007/03/16
1123         - reorganized bcharge.cc to make it possible to switch between
1124                 Pearl modes 0004 and 0001
1125         - added flag to BadPassword exception class, to signal whether
1126                 the library considers the device "out of retries" or not
1127         - updated socket.cc for new BadPassword exception
1128         - added special case to Controller class destructor to reset the
1129                 device if being destroyed in a half-open state... this is
1130                 a temporary fix until we understand how to handle
1131                 the "already open" message we get when opening the Desktop
1132                 in some cases
1133         - added password prompt dialog to the backup GUI
1134         - fixed possible memory leak in GUI's DeviceInterface::Connect()
1135 2007/03/08
1136         - committed Troy Engel's bbrules_mass_symlinks.patch, fixing
1137                 udev rules for the Pearl
1138         - updated 10-blackberry.rules.Debian to match 10-blackberry.rules's
1139                 functionality
1140         - applied Troy Engel's barry.spec patch to generate all required
1141                 RPM's... Thank you!  Notes in the README taken from
1142                 the sourceforge tracker entry containing the patch.
1143         - added libusb lib flags to tools/ and examples/ makefiles,
1144                 and tweaked configure.ac with a better default,
1145                 to build cleanly on RHEL 4
1146         - modified rpm/barry.spec:
1147                 - does not create doc-only barry base package anymore
1148                 - fixed "barry-backup" typo
1149                 - removed the patch step, as version 0.7 shouldn't need it
1150                 - added license file to each package
1151                 - commented out console perms scripts, pending mailing list
1152                         discussion
1153         - updated AUTHORS
1154         - applied Troy Engel's barry.spec patch to fix RHEL4 compile issues
1155         - fixed 80 column wrapping error in barry.spec, thanks to Troy Engel
1156                 for the bug report
1157         - applied Troy Engel's udev permissions patch for Redhat/Fedora
1158                 systems, which automatically set the ownership of a
1159                 newly plugged in device to the currently logged in console
1160                 user.
1161         - added udev/README to document what all those files are for...
1162                 part of the text comes from the sourceforge comment
1163                 on the above udev permissions patch from Troy Engel
1164         - uncommented the console perms scripts for rpm/barry.spec
1165         - added libglademm-2.4 to gui/README's dependency list
1166         - made usbwrap.* calls more threadsafe
1167         - added Usb::Timeout exception for timeout errors
1168         - added preliminary UsbSerData support to library for GPRS modem
1169                 functionality, using Rick Scott's XmBlackBerry's serdata.c
1170                 as a guide
1171         - added overloaded Socket::Send() for sending without receiving
1172         - added preliminary pppob command line tool
1173 2007/03/02
1174         - version bump in:
1175                 - configure.ac
1176                 - src/Makefile.am
1177                 - src/version.cc
1178                 - gui/src/BackupWindow.cc (about dialog)
1179                 - src/Doxyfile
1180                 - rpm/barry.spec
1181         - build system tweaks for opensync-plugin, and added a buildgen.sh
1182                 for it
1183         - added better debug messages in probe.cc and usbwrap.cc's
1184                 device discovery code
1185         - changed error handling for null interface->altsetting pointers
1186                 when doing device discovery in usbwrap.cc.  Seems that
1187                 some devices report a higher number in bNumInterfaces
1188                 than are really available... in this case, let's
1189                 just ignore the missing data and assume success
1190         - applied udev script patch #1663986 from Troy Engel
1191         - applied barry-bcharge.spec patch #1672178 from Troy Engel
1192         - ReleaseChecklist update
1193         - added rpm/README based on Troy Engel's patch notes
1194         - updated new barry-bcharge.spec for version 0.7, removing patch
1195                 dependency
1197 Release: version 0.6 - 2007/02/28
1198 ------------------------------------------------------------------------------
1199 2007/02/28
1200         - fixed size checks for device database records larger than 64K
1201                 Thanks to Michael Brown for the bug report.
1202         - added initial release maintainer scripts
1203         - fixed odd backup success message in GUI when doing a backup with
1204                 no databases selected in configuration
1205                 Thanks to Michael Brown for the bug report.
1206         - added udev permissions file patch from Michael Brown
1207         - added Michael Brown to AUTHORS
1208         - updated README, gui/README, and doc/USB-capture.txt
1209         - added -o command line switch to bcharge.cc, and updated man page
1210 2007/02/23
1211         - changed library behaviour so it only turns on libusb debug output
1212                 if in data dump mode.  In btool, -v controls this output.
1213         - minor stream formatting fix in btool
1214         - added OpenSSL dependency to build for password hash support
1215         - made debug dout() output conditional on Init() flag... In btool,
1216                 -v now controls this as well
1217         - reverse engineered more of the initial probe packets, and
1218                 implemented probing in struct based code... changes include:
1219                 - added support for "attribute fetch" packets, used at
1220                         the beginning of USB conversations
1221                 - defined object/attribute id codes for the PIN number
1222                 - made Protocol::SocketCommand more robust, and implemented
1223                         its sequence number behaviour
1224                 - moved ModeSelectCommand into SocketCommand, as it is a
1225                         socket 0 level command
1226                 - added initial protocol struct: PasswordChallenge
1227                 - renamed Barry::Packet to DBPacket
1228                 - added ZeroPacket for socket 0 packet creation and analysis
1229                 - Barry::Packet is now the base class for the above
1230                 - implemented socket 0 behaviour in socket.cc
1231                 - changed return values for Send/Receive/Packet/NextRecord
1232                         members in the Socket class from bool to void, as they
1233                         don't generate errors themselves, but only can
1234                         have an error if Usb::Device throws an exception.
1235                         Cleaned up all code that called these members as well.
1236                 - removed "last status" from Socket class as it was unused
1237                 - updated probe.cc to use new socket 0 implementation
1238                 - removed two of the hard coded packet handshakes in favour
1239                         of socket 0 packets
1240                 - updated controller.cc:
1241                         - uses new socket 0 implementation
1242                         - removed "flag" hack when opening sockets and
1243                                 selecting modes, as it should use the
1244                                 socket 0 sequence number
1245         - added initial, incomplete prototype header for the C API
1246         - updated some .cvsignore files
1247         - updated TODO
1248         - updated ReleaseChecklist.txt, adding rpm spec file
1249         - added the following to ZeroPacket:
1250                 - ChallengeSeed()
1251                 - RemainingTries()
1252                 - SocketResponse()
1253                 - SocketSqeuence()
1254         - moved Command() to base Packet class
1255         - added comments to protostructs.h and size constants for the
1256                 new PasswordChallenge struct
1257         - added password support to Socket and Controller classes
1258                 Thanks to Rick Scott's XmBlackBerry for the openssl
1259                 password hashing logic.
1260         - updated btool to use new password support, and updated its man page
1261 2007/02/22
1262         - updated Doxygen input files and version, and added to ReleaseChecklist
1263         - fixed btool PIN output for LDIF mode, now commented in output
1264         - major LDIF overhaul:
1265                 - split LDIF specific code out of the record class and
1266                         into its own
1267                 - fixed "full name" behaviour that added an extra space
1268                         in dn attributes, as reported by Troy Engel
1269                 - added support for mapping of LDIF attributes to Barry
1270                         contact field names
1271                 - fixed base64 handling, so attributes are only so encoded
1272                         if necessary
1273                 - fixed base64 attribute reading inconsistency... some
1274                         notes fields were missed in old version if not
1275                         encoded
1276                 - added support for specifying alternate attribute for
1277                         constructing a FQDN, instead of just "cn"
1278                 - updated btool and upldif to use new features
1279         - large update to btool manpage
1280         - fixed initialization bug in Contact constructor (missed RecType)
1281 2007/02/15
1282         - added ktrans.cc to make reading of kernel usbfs_snoop logs easier
1283         - removed commented code from translate.cc
1284         - added Pearl handshake support to bcharge.cc, which resets the
1285                 Pearl so that the vendor specific 0xFF class exists.
1286                 This should allow use of btool on the Pearl.
1287         - added Data::AppendHexString to data.cc
1288         - added better probing support for the Pearl, so it detects the
1289                 Product ID 0x0004 mode, and does a search for class 0xFF
1290                 instead of hardcoding it.
1291 2007/02/10
1292         - applied README patch from Ian Darwin
1293         - minor tweaks to README
1294         - added missing errno.h header in src/usbwrap.cc for AMD64
1295                 Thanks to Jonathan Hudson for reporting the bug.
1296         - tightened up size checks in Data::ReleaseBuffer()
1297         - stable libusb *does* return the actual length of the USB packet...
1298                 fixed this in usbwrap.cc to set the actual size of read data,
1299                 and removed the size hacks elsewhere in the code:
1300                 probe.cc, protocol.cc, socket.cc, usbwrap.cc
1301 2007/02/09
1302         - added proper return codes for error conditions in btool.cc
1303         - clarified some stream output code in the library, for hex/dec numbers
1304         - removed old, non-working connect.cc test program
1305         - added iomanip to debug.h
1306         - changed usbwrap to call libusb again if EINTR and EAGAIN
1307                 This should fix one of the OpenBSD issues
1308 2007/02/04
1309         - updated AUTHORS
1310         - fixed bug in barrybackup GUI that didn't create the target path
1311                 if the user didn't do Edit | Config first.
1312                 Thanks to Ian Darwin for reporting the bug.
1313         - applied gui/src/ConfigFile.cc header fix patch for OpenBSD
1314                 from Ian Darwin
1315 2007/02/03
1316         - added initial btool.1 man page from Ian Darwin
1317         - updated man/Makefile.am for new btool.1
1318         - updated AUTHORS
1319         - applied btool -h help clarification patch from Ian Darwin
1320 2007/02/02
1321         - reworked exception hierarchy, so applications can handle all
1322                 Barry related exceptions, including Usb errors, with
1323                 one base class: Barry::Error
1324         - fixed all the ripple changes this caused throughout the codebase
1325         - added BadPassword exception
1326 2007/02/01
1327         - version bump in:
1328                 - configure.ac
1329                 - src/Makefile.am
1330                 - src/version.cc
1331                 - gui/src/BackupWindow.cc (about dialog)
1332         - updated doc/ReleaseChecklist.txt
1333         - added usb-level breset.cc command line tool
1334         - fixed bug in gui/src/tarfile.* for systems where
1335                 sizeof(int) != sizeof(void*)
1336                 - TarFile class now uses a plugin style for the compression
1337                         operations, to allow for threadsafe versions if needed
1338                         in the future.
1339                 - also fixed leaked file handle bug in open_compressed()
1340                 - Thanks to Jonathan Hudson for reporting this for 64bit systems
1341         - minor signed comparison fixes in the library
1342         - added better protocol data dumping code in probe.cc
1343         - added Usb::Device::BulkDrain(), to prevent Barry from hanging
1344                 due to pending reads
1346 Release: version 0.5 - 2007/01/26
1347 ------------------------------------------------------------------------------
1348 2007/01/26
1349         - added missing errno.h header to gui/src/util.cc
1350         - lots more endian fixes after testing on iMac  
1351         - iostream output size fixes
1352         - added option to btool to reset the device via software
1353         - beefed up exception handling in barrybackup
1354         - checked in opensync work-in-progress: trace logging, pointer bugfix
1355                 this is still experimental
1356         - added aboutdialog.* files from gtkmm24 2.10.6, so we have a dialog
1357                 class for systems running older versions of gtkmm, like
1358                 Debian stable
1359         - uncommented the about box menu handler
1360         - added "cleanall" option to root buildgen.sh script
1361         - update ReleaseChecklist.txt
1362         - removed CVS auto-history strings from aboutdialog.*
1363 2007/01/25
1364         - found a link between the unknown field in tagged protocol headers
1365                 and the unknown field in RecordStateTable entries.  This
1366                 field matters when uploading certain databases, such as
1367                 Browser Options.  It is unknown what this field really
1368                 means, but we're calling it RecType.  Updated the API
1369                 to use this in all parser objects and builder objects
1370                 and record objects that use it.
1371         - changed some uses of uint64_t to uint32_t, in Contact and
1372                 Calendar record objects... unique IDs only seem to be
1373                 32 bits
1374         - added new static function to record classes: GetDefaultRecType()
1375                 This returns the default rectype that should work
1376                 for that record.  Ideally this should be retrieved from
1377                 the device, but in the case where a database has no
1378                 records, this info would be good to know.
1379         - updated convenience template function Controller::AddRecordByType()
1380                 to use GetDefaultRecType()
1381         - documented the recurrence data and how to use it in Calendar objects
1382         - added data debug output for incoming USB packets in the
1383                 socket class... when we ported to the stable libusb
1384                 we lost some of the verbose output... this should get it
1385                 back.  (In the official release, you need to uncomment
1386                 ddout() in debug.h for the full blast of debug output).
1387         - backup GUI updates:
1388                 - changed error_done signal into a pure error signal,
1389                         and changed the logic so the restore continues
1390                         even if there was a protocol error on one database
1391                 - changed status bar messages to show what's happening
1392                         i.e. Backup or Restore
1393                 - default to not restore the "Handheld Agent" database as
1394                         it appears to be read-only on the device
1395                 - added temporary Restore & Backup mode for debugging
1396                 - added extra hyphen to backup files to show date/time better
1397                 - updated GUI to save and restore the new RecType field
1398                         supported now by the library
1399 2007/01/21
1400         - added future considerations to doc/ReleaseChecklist.txt
1401         - applied big endian patch from Jonathan Hudson
1402         - changes to patch:
1403                 - removed endian.h include from barry.h, since applications
1404                         using the library should not care about endianness
1405                 - hard coded the path to config.h in endian.h
1406                         so that endian.h never makes it into the final
1407                         install
1408                 - removed DEFAULT_INCLUDES setting from src/Makefile.am
1409                         for the same reason
1410                 - removed config.h dependency in btool.cc and used library
1411                         Version call instead
1412         - added big/little endian text to the Barry::Version call
1413         - updated AUTHORS
1414         - fixed install location of bcharge when building with ./configure;
1415                 now goes to sbin/ for both source compile and binary packages
1416                 Thanks to Jonathan Hudson for reporting this bug.
1417 2007/01/20
1418         - added smarter timeout values to controller, and allowed
1419                 timeout overrides in the packet, socket, and usbwrap code...
1420                 extra timeouts are needed for erasing databases for
1421                 some older devices
1422         - added an explicit DataDumpParser class to btool.cc, as the
1423                 library doesn't always have extreme verbose debugging on...
1424                 this makes sure anyone can always get raw database packets
1425                 through btool, for development
1426         - added thread callback signals for error finishes and erase_db
1427                 operations, so the GUI is updated properly
1428         - more GUI cleanups (status bar updates, etc)
1429         - finished implementation of GUI restore
1430         - fixed gtkmm/glibmm exception handling when the exceptions
1431                 occur in sigc signal handlers... in that case,
1432                 exceptions need to be handled with
1433                 Glib::add_exception_handler()
1434         - added filename-only reading support to TarFile class
1435         - added pending gui/TODO items
1436 2007/01/19
1437         - backup GUI now properly shows progress
1438         - the buttons become insensitive when backup is busy
1439         - refactored directory check code, and added mkdir check
1440                 when to the backup setup (so the directory exists
1441                 when we try to write to it)
1442         - updated code to use Barry::Data in new namespace
1443 2007/01/18
1444         - moved Data class into Barry namespace
1445 2007/01/13
1446         - updated copyright dates for the new year
1447         - clarified exception message in controller.cc
1448         - fixed pointer initialization bug in controller.cc
1449         - added documentation comments to parser.h and builder.h
1450         - updated ReleaseChecklist.txt
1451         - updated README
1452         - changed Barry library configure scripts to make better
1453                 use of pkg-config for autodetecting dependencies
1454         - added initial Barry Backup GUI (gui/ directory), capable of making
1455                 backups only at this point
1456 2007/01/11
1457         - added doc/ReleaseChecklist.txt
1458         - added version API, returning version number and string
1459         - added Troy Engel to AUTHORS
1460         - added special case to bcharge.cc for the Blackberry Pearl,
1461                 which doesn't reset itself after the charge handshake
1462                 Thanks to Troy Engel for testing.
1463 2007/01/05
1464         - added pkg-config support for the library (libbarry-0.pc.in)
1465         - fixed compile error on g++ 3.3 systems (missing stdint.h
1466                 in probe.h)
1467         - fixed protocol hang at end of Controller operation... in
1468                 controller destructor, it was deleting the USB interface
1469                 before closing the socket at the BlackBerry level, thereby
1470                 leaving the device in Desktop mode
1471 2007/01/04
1472         - support the newer udev packages on Ubuntu, which need slightly
1473                 different rules
1474         - modified bcharge.cc to search for Pearl devices too.
1475                 USB product ID 6
1476         - added Pearl product ID to probe code, but likely not functional
1477                 yet until we find someone able to get a USB capture for us
1478 2006/12/29
1479         - version bump in configure.ac and src/Makefile.am
1481 Release: version 0.4 - 2006/12/29
1482 ------------------------------------------------------------------------------
1483 2006/12/29
1484         - added bcharge.cc to the tools/ directory (whoohoo!)
1485         - added initial release version of rpm/barry.spec (aka bcharge.spec)
1486                 This begins the barry binary release, currently only
1487                 including the bcharge utility, but possibly more in
1488                 the future.  Future binary packages will likely include
1489                 libbarry, libbarry-devel, etc, which barry will then
1490                 depend on.
1491         - added udev rule script for BlackBerry devices
1492         - added man/ directory and bcharge.1 manpage
1493         - added debian/ directory for building deb packages, with initial
1494                 package scripts
1495         - added rpm/make-rpm-tarball.sh for building RPMs
1496         - split out technical docs into separate libbarry.docs file for
1497                 a future Debian install
1498         - added more cleaning to buildgen.sh
1499         - added new udev rule file for Debian stable
1500         - hardcoded g++ to 3.3 in debian/rules as I have multiple versions
1501                 on my system and need to compile releases with stable
1502 2006/12/21
1503         - ported Barry to use the stable branch of libusb
1504                 NOTE: no longer depends on the devel libusb tarball!
1505                         Just use your distro's libusb packages.
1506         - fixed more endian issues
1507         - minor update to TODO
1508 2006/12/15
1509         - moved Exceptions, Hacking, and VersionNotes to doc/
1510         - added doc/USB-capture.txt
1511 2006/12/08
1512         - added Controller::AddRecord() and template helper
1513         - added beginning version of generic RecordFetch<> template
1514         - set default of Barry::Init() to false (no data dump mode)
1515         - added examples/ directory, with first addcontact.cc example
1516 2006/12/07
1517         - added autoconf support based on Peter McAlpine's patch
1518         - renamed Makefiles to Makefile.orig and added script to turn
1519                 on old build system if wanted
1520         - fixed boost-specific error path in btool
1521         - moved platform specific code out of time.h and into time.cc
1522         - moved btool.cc, translate.cc, and upldif.cc out of src/ and
1523                 into their own tools/ subdirectory
1524         - added NEWS file to make autotools happy
1525         - added a "clean" option to the buildgen.sh script... maintainer's
1526                 use only
1527         - reworked autoconf and automake files, to support
1528                 barry as a library, to move the programs into their
1529                 own tools directory, and support a proper installation
1530         - fixed headers in parser.h, btool.cc, and upldif.cc to work
1531                 properly when installed standalone
1532         - added tools/Makefile.plain for testing compiling against
1533                 installed barry library
1534         - added commentary on version number system
1535         - removed Makefile.conf and Makefile.orig, as new autoconf
1536                 system supercedes it
1537         - added support for boost serialization library in autoconf build
1538         - added library version number to autoconf build
1539         - changed boost flag to __BARRY_BOOST_MODE__ to avoid collisions
1540         - removed debug.h dependency from btool.cc
1541         - removed libusb check in favour of specific --with-libusb
1542                 option... may need to revisit this later
1543         - quick installation update in README
1544 2006/12/01
1545         - fixed some missed endian conversions in record.cc and added
1546                 some size checks
1547         - fixed endian issues in time.h
1548         - added 2 more functions to the time zone API, and adjusted
1549                 the time zone table for better defaults in North America
1550         - added btool and upldif to the make install sequence
1551         - added support for Calendar recurrence data
1552         - small doc/TimeZones.txt update
1553 2006/11/24
1554         - added BlackBerry time zone code list, reverse engineered from a 7750
1555         - added GetTimeZone() to convert device time zone codes to useful data
1557 Release: version 0.0.3 - 2006/11/24
1558 ------------------------------------------------------------------------------
1559 2006/11/23
1560         - added return code check to Controller::SaveDatabase()
1561         - fixed Data() class constructor, so it doesn't auto-convert
1562                 from any int
1563         - fixed size checking bug in Packet::ReturnCode() that caused
1564                 uploading to device to fail
1565 2006/11/10
1566         - added Exceptions doc file, documenting the C++ exceptions used,
1567                 and their hierarchy
1568         - fixed small bug in 'make install' which didn't build first
1569         - minor documentation and cleanup in upldif.cc
1570         - added utility functions to the RecordStateTable class,
1571                 GetIndex() and MakeNewRecordId()
1572         - changed btool so that the -d command modifiers can be
1573                 specified multiple times to work with multiple records
1574                 at once
1575         - added Calendar sync code to the opensync module (not complete)
1576         - cleaned up exception handling in the opensync module, making
1577                 more use of the base exception to make sure no
1578                 exceptions leak into the C library code
1580 Release: version 0.0.2 - 2006/10/12
1581 ------------------------------------------------------------------------------
1582 2006/10/12
1583         - fixed casting error in opensync module
1584         - minor updates to documentation to prepare for release
1585 2006/09/29
1586         - added stdint.h to parser.h for uint32_t.  Thanks Ron Gage for
1587                 the bug report
1588 2006/09/08
1589         - large refactoring of the packet parsing and building code,
1590                 splitting the code into 3 groups:
1591                 - record: handles record specific parsing and building...
1592                         this is mostly subfields with CommonField structs
1593                         as their headers, but sometimes has a specific
1594                         header of its own, in the case of email
1595                         Note: email's header is as yet undecoded.
1596                         Record does not know the details of the packet
1597                         formats, only the formats of its own record data.
1598                 - packet: handles building of complete command packets
1599                         and handles parsing of commonly used header values,
1600                         providing an API for it... packet does not know
1601                         the record format details, but does know the
1602                         details of each Database Operation (protocol.h)
1603                         packet format.
1604                         So far, it seems that there is a real separation
1605                         of operation formats and record formats, with the
1606                         record formats being the same even with different
1607                         database operation codes (GET_RECORDS /
1608                         OLD_GET_RECORDS), which was not confirmed before.
1609                         See the header size of the email record after
1610                         refactoring.
1611                 - controller: handles device state, and the management of
1612                         sockets, commands, and checking for response values.
1613                         The Controller object does not know the format
1614                         of either the record or the packet it is sending,
1615                         but does know the protocol handshake logic used
1616                         to talk to the device.
1617         - implemented SetRecord (SET_RECORD_BY_INDEX)... syncing, here
1618                 we come!
1619         - spelling correction in opensync-plugin/AUTHORS
1620 2006/09/01
1621         - added sample hotplug scripts
1622         - added .cvsignore files for doxygen and opensync directories
1623         - added src/endian.h... still need to add configure support to
1624                 handle non-little-endian machines
1625         - added exception handler in opensync plugin commit_change()
1626         - removed the device reset code in probe.cc, as resetting a device
1627                 can renumber the devices in /proc on kernel 2.4.x,
1628                 and cause a failure to reach the device...
1629                 FIXME - this should be changed someday to reset if probing
1630                 fails, and restart the probe on reset, as sometimes
1631                 the blackberry devices respond differently when not reset
1632                 Ideally, the probe protocol should be properly reverse
1633                 engineered.
1634         - added support for retrieving record state table, which is needed
1635                 for smarter syncing
1636         - added support for retrieving, deleting, and clearing the dirty
1637                 flags of individual blackberry device records
1638         - added endian macros throughout the code
1639 2006/07/13
1640         - added opensync-plugin to root Makefile's clean
1641         - updated time conversion calls to match opensync's latest SVN
1642         - added opensync_change_set_changetype() (only add for now,
1643                 for development)
1644         - removed slow sync functions for now
1645 2006/07/07
1646         - added quick "install" makefile target, to src/install by default
1647         - added static library target... this is temporary until autoconf
1648                 stuff is added properly... needed for the opensync plugin
1649         - documented in comments that Barry::BError is intended to be
1650                 the base classes for all exceptions
1651         - added first round of implementation of an opensync plugin, based
1652                 on the example plugin code from the opensync sources
1653 2006/06/22
1654         - added to Contact record class:
1655                 - Clear()
1656                 - ReadLdif() to load and parse LDAP data
1657         - added fragmented send support to Socket class
1658         - added Probe::FindActive() to make client programs more streamlined
1659         - fixed hex/decimal printing of record counts in btool
1660         - added upldif.cc, a utility to take ldapsearch output on stdin
1661                 and upload it to a blackberry
1662         - updated src/.cvsignore
1663 2006/06/16
1664         - added parsing of service book fields:
1665                 - old and new name
1666                 - old and new unique ID (UID)
1667                 - content ID (CID)
1668                 - old and new description
1669                 - DSID
1670                 - bes domain / domain
1671         - date change in legal.txt
1672         - added initial parsing of ServiceBook field 0x09, and calling it
1673                 ServiceBookConfig for now, for lack of a better name
1674         - added parsing for ServiceBook field 0x02 on 72xx Blackberries...
1675                 seems to be a name or description, but doesn't appear
1676                 in the device's own GUI... called "Hidden Name" for now
1677 2006/06/09
1678         - added ServiceBook record class and parser code, based on some
1679                 of Ron Gage's reverse engineering... code is by Chris Frey
1680         - added AUTHORS file
1681         - fixed the libusb set_configuration/claim_interface order
1682                 bug in controller.{h,cc}... already fixed in probe,
1683                 but not controller.  Thanks Ron Gage for finding this.
1684 2006/05/25
1685         - renamed Changelog to ChangeLog in preparation for autoconf
1686         - renamed Todo to TODO in preparation for autoconf
1687 2006/05/18
1688         - make clean cleans up tests properly now
1689 2006/03/31
1690         - turned source code browsing on in Doxyfile
1691         - added LoadDatabaseByName() and LoadDatabaseByType() template members
1692                 to the Controller class
1693                 - new file: controllertmpl.h
1694         - documentation fixes in builder.h
1695         - added static GetDBName() functions to all record classes, in
1696                 support of the template Controller functions
1697         - fleshed out DatabaseDatabase::GetDBNumber() and GetDBName(),
1698                 returning errors properly
1699         - documented sample btool.cc code better, and added example
1700                 of Controller template member usage
1701 2006/03/29
1702         - copyright dates updated for 2006
1703 2006/01/05
1704         - backed out update to latest libusb DEVEL tree, since it is buggy.
1705                 Stick with libusb 2005/11/26
1706 2005/12/30
1707         - added clean target to convenience Makefile
1708         - added Boost to list of dependencies in README
1709         - fixed minor compile warnings in base64.cc
1710         - fixed new USB discovery code, and changed endpoint usage to use
1711                 it, instead of the READ_ENDPOINT and WRITE_ENDPOINT
1712                 constants... constants are now removed
1713                 common.h, controller.cc, probe.cc, probe.h, usbwrap.cc
1714         - added ClearHalt() to Usb::Device (usbwrap.cc)
1715         - updated usbwrap.h to match latest libusb CVS devel tree
1716         - updated README to refer to 2005/12/30 libusb CVS devel tree
1717         - added roadmap to Todo list
1718 2005/12/29
1719         - added convenience Makefile in root directory
1720         - added Hacking document
1721         - minor touchups to README
1722         - added caution warning to README, since this release will support
1723                 delete / overwrite / upload functionality
1724         - minor compile order change in Makefile (speed reasons)
1725         - added dynamic endpoint discovery to probe.cc
1726         - changed claim_interface/set_configuration() function call order in
1727                 probe.cc based on feedback on the libusb mailing list
1728         - added USB discovery code to usbwrap.{h,cc}
1729 2005/12/23
1730         - fixed packing bug in new upload header struct
1731         - renamed CommonField union from data to u to be consistent
1732         - added return_code field to DBAccess struct, for error checking
1733         - added response checking during upload: if response is non-zero
1734                 throw exception in controller.cc
1735         - added sorting operators to record parser classes... when writing
1736                 contact data to the device, it may be important to write
1737                 group link items last, since they reference other contacts...
1738                 This needs to be tested, and if not required, removed.
1739         - added GROUP_FLAG field code to Contact parser class
1740         - fixed offset bug in Contact and Calendar Build() functions
1741         - fixed name bug in Contact::Build(), now output only with data
1742         - added appointment type flag support to Calendar record parser
1743                 class, and "all day event" flag support
1744 2005/12/22
1745         - added autoconf to Todo list
1746         - refactored the protocol structures so that record structs can
1747                 be reused for upload and download
1748         - with new protostructs, more header control is handled by
1749                 controller.cc instead of record.cc parsers and builders
1750         - parser code now accepts an offset, to govern start of record data
1751         - changed Data sizes from int to size_t and removed casts
1752         - removed unneeded Parser::GetHeaderSize() (new protostructs make
1753                 this obsolete)
1754         - added Calendar::Build() for calendar uploads
1755 2005/12/10
1756         - added s11n-boost.h serialization templates for boost::serialization
1757         - added boost::serialization to build
1758         - minor change in usbwrap.cc to display error codes in decimal
1759         - added SizePacket special case code to Socket::Send()... this is
1760                 required when uploaded packet size is a multiple of 0x40,
1761                 a special 3 byte size packet is sent
1762         - moved some record class variables to public: so they can be
1763                 properly serialized
1764         - fixed variable name but in RecordBuilder template
1765         - added -f switch to btool, for saving and loading of record data
1766         - added -s switch to btool, for uploading saved data back to handheld
1767         - added Controller::SaveDatabase()
1768 2005/12/08
1769         - fixed potential casting / pointer bug in controller.cc
1770         - added builder.h, to support uploading
1771         - minor comment fixes in parser.h
1772         - added preliminary Contact protocol record building support
1773         - fixed field order bug in ContactRecord protocol struct
1774         - Contact record.h class now saves unknown Group Link field,
1775                 for later saving
1776 2005/12/07
1777         - added -fno-strict-aliasing to compiler flags so gcc-4.0.x won't
1778                 optimize away protocol struct casts
1779                 see: 
1780                 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25235
1781                 http://mail-index.netbsd.org/tech-kern/2003/08/11/0001.html
1782                 http://groups.google.ca/group/comp.lang.c++.moderated/ \
1783                         browse_thread/thread/e7bf096832526f8e/5714701b \
1784                         02a2a3cc?hl=en#5714701b02a2a3cc
1785         - changed headers so that any low level protocol-specific sizes and
1786                 structs are completely hidden in the library...
1787                 this adds library-only header: protostructs.h
1789 Release: version 0.0.1 - 2005/11/25
1790 ------------------------------------------------------------------------------
1791 2005/11/25
1792         - added barry.h for documentation purposes and application usage
1793         - updated README for release
1794         - renamed SBError exception class to BError
1795         - updated Doxyfile to version 1.4.5
1796         - added more doxygen comments
1797 2005/11/24
1798         - added conversion routines (and tests) between time_t and min1900_t
1799         - added -v option to btool to dynamically control protocol dumping
1800         - removed duplicated database database table display in controller.cc
1801         - minor spelling corrections
1802         - added copyright to usbwrap.{h,cc} as per earlier meeting
1803         - added support for Old protocol Calendar entries
1804 2005/11/20
1805         - added legal.txt, to save typing when adding new source files
1806         - ignore test-base64 file (cvsignore)
1807         - added contact-to-ldif generation, and updated supporting code
1808         - added argument to btool to support contact-to-ldif operation
1809         - added Contact::GetPostalAddress()
1810         - added README documentation in preparation for future release
1811 2005/11/19
1812         - added parser.{h,cc} virtual wrapper to generalize LoadDatabase()
1813         - added code to socket.cc's Packet() command to re-receive on
1814                 reception of empty packets... this seems to be a signal
1815                 from the device that it needs more time for long transfers
1816                 Current limit: 10 blank packets before exception is thrown
1817                 Observed maximum blank count: 1
1818         - added MessageRecord and OldMessageRecord to protocol.h
1819         - changed common record field structs to one CommonField struct
1820         - increased default USB timeout to 10 seconds (some loaded devices
1821                 seem to need more time...)
1822         - reorganized record.{h,cc} to try to reduce the code duplication
1823         - record.h classes now "know" the sizes of their corresponding
1824                 protocol structs... this may cause trouble down the line
1825                 with Python, if used(?)
1826         - added Message class for Email records
1827         - removed the "Get*" database functions and replaced with
1828                 general LoadDatabase() call, which loads any database
1829                 available, and parses it with a Parser object
1830         - added GetDBID() for searching for database numbers via name
1831         - added test code to retrieve and display all email
1832         - cleaned up comments
1833         - renamed blackberry.{h,cc} to controller.{h,cc}
1834         - renamed bbtool.cc to btool.cc
1835         - added Makefile.conf
1836         - added copyright notices to source files
1837         - added COPYING file with GPL
1838         - put parser in Barry namespace, and added auto_ptr-like mode for
1839                 store object pointers
1840         - added doxygen docs
1841         - added header comments to convo.awk script
1842         - removed Test() function in Controller object, and made class
1843                 better suited to its general API purpose
1844         - changed OpenMode() so it loads command table and DBDB... it is now
1845                 a public API function
1846         - moved Controller test code to btool.cc and made tool more
1847                 generically useful... can now download any DB by name on
1848                 the command line
1849         - added mode checks to Controller
1850         - added -t and -d command line options to btool
1851         - added base64 routines from John Walker / Fourmilab and Citadel/UX
1852         - converted base64 routines into an API, instead of hardcoded
1853                 file based
1854 2005/11/18
1855         - changed project name to Barry, including namespaces
1856         - renamed sbcommon.* to common.*
1857         - increased USB default timeout to 2 seconds
1858         - fixed formatting bug in Data operator<< output
1859         - cleaned up the protocol packet structs, getting rid of the
1860                 confusing param/simple split... param is now the tableCmd
1861                 from the Command Table
1862         - moved protocol structs from record.h to protocol.h
1863         - added support for older version of the USB protocol, which matches
1864                 the Cassis spec more closely
1865         - fixed the hardcoded offsets in blackberry.cc's protocol parsing
1866         - fixed Socket::Close() so on error, socket flags are reset.
1867                 This stops Close() from being called twice on exception
1868                 destructors
1869 2005/11/17
1870         - added Doxyfile to the project
1871         - tuned Makefile
1872         - added mode selection support to Blackberry class (RIM Desktop,
1873                 RIM Bypass, and RIM_JavaLoader)
1874                 Mode selection governs which socket is used in subsequent
1875                 data transfers.
1876         - added Command Table parsing and protocol support
1877                 Blackberry class, and CommandTable record class
1878         - added Database database parsing and protocol support
1879                 Blackberry class and DatabaseDatabase record class
1880         - added Address book retrieval support - dumps data to stdout for now
1881         - fixed bug in CopyOnWrite mode in Data class, where could allocate
1882                 less buffer than data copied
1883         - added "easy exception" debug output macro
1884         - fixed minor spelling error in protocol.cc
1885         - fixed ModeSelectCommand protocol structure - it is not a parameter
1886                 command, but uses the unknown slots for socket and flag
1887                 data
1888         - removed hardcoded socket numbers from protocol.h
1889         - fixed bug in socket.cc:Open() where packet size was not properly
1890                 saved
1891         - implemented socket::Close()
1892         - fixed sequence number checks, so it is reset properly on socket 0
1893         - added Socket::NextRecord() for multiple record data transfers
1894         - fixed input handling bug in translate.cc
1895 2005/11/11
1896         - added .cvsignore files to project
1897         - added README notes to document the source architecture
1898         - added dbsetup data script, which shows how to get into database
1899                 mode, using the RIM Desktop mode, and open a socket
1900         - added blackberry.{h,cc} class
1901         - added command line parameters to bbtool.cc
1902                 -l = list only
1903                 -p = specify pin of blackberry device
1904         - added blackberry test code in bbtool.cc - debugging the initial
1905                 opening protocol: sockets, modes, etc... see dbsetup for
1906                 results
1907         - added copy-on-write functionality to Data class, so it can be used
1908                 with plain data buffers with little performance impact
1909         - added eout() and ddout() debugging - to separate:
1910                 - regular debug output
1911                 - exception debug output (should probably be logged to
1912                         syslog someday, and never turned off)
1913                 - raw data dump output
1914         - changed errno SBError exception handler to try to decode the error
1915                 numbers into english (limited success)
1916         - fixed probe and socket USB Bulk message handling, so they don't
1917                 use PollCompletions(), but use IO::Wait() (libusb_io_wait())
1918         - added common packet size checker in protocol.cc
1919         - fixed unpacked protocol packet structs... using gcc's
1920                 __attribute__ ((packed)) ... see protocol.h
1921         - added ModeSelectCommand structure (protocol.h)
1922         - finished Socket::Open() call  (Close() not yet implemented)
1923         - moved Socket::Send/Receive() out of private, as they can be used
1924                 for socket 0 operations.
1925         - cleaned up pointer management with macros:
1926                 MAKE_PACKET()
1927                 COMMAND()
1928                 IS_COMMAND()
1929         - added IO::Wait() and IO::Cancel() to correspond with libusb API
1930         - added datadumping in usbwrap for easy protocol capture
1931         - added preliminary record.{h,cc} classes
1932         - added Contact record parsing, and test code
1933 2005/10/20
1934         - syncberry tree started