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