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