1 Release: version 0.15 - 2009/01/??
2 ------------------------------------------------------------------------------
4 - applied Nicolas Vivien's bjavaloader patch
6 - added AT+CLAC note to contrib/modemtest.rb, recording tidbit
8 - updated copyright dates for 2009
10 - fixed missing slash in config sample in doc/www/sync.php
11 Thanks to sourceforge tracker #2413683 for reporting
13 - added more notes to doc/USB-capture.txt, documenting my kernel
14 setup for capturing USB traffic, and added size-limiting
16 - added TODO list item for the Blackberry Storm
18 - moved Product ID constants into a single place (src/common.h)
20 - added Product ID 8007 for the Blackberry Storm... needs testing
22 - applied ppp chat script patch for AT&T Cingular from
24 - added new chat scripts to debian and rpm packages
25 - added known sources of additional Barry binary packages to index.php
26 - turned on call/caller graph support in Doxygen output
28 - applied 'patch' of Martin Owens' Content Store documentation
31 - large refactoring of all message/email record classes, and more
32 There is now a MessageBase base class, which combines
33 common email record parsing code in one class. This base
34 class is reused by all the specific messages record classes.
35 This commit also includes support for multiple email
36 addresses per email, as well as giving IConverter support
37 to all message classes.
38 - deleted empty *.cc files from project
39 - updated TODO file, removing opensync i18n bug
40 - added TODO item for password support in Opensync... try to avoid
41 storing the password in the sync config in plain text
42 - fixed dll export bug on ErrnoError exception class
43 - added BadPackedFormat exception for internal use
44 - ServiceBook: added IConverter support, and general cleanup
45 Refactored ServiceBook class and added some experimental
46 template functions to generalize the FieldLink table
47 processing. If possible, this needs to be expanded
48 to the general record classes, to reduce the amount of
49 code duplication during processing of FieldLinks and
50 CommonField structures.
51 Also, ServiceBook deals with packed fields, which should
52 also be extrapolated for general use, and reused if
53 possible for the new "Calendar - All" Blackberry databases
54 that are coming out on the new devices and firmare.
56 - updated man/btool.1 with new -i option
57 - fixed bug where opensync plugin didn't pass IConverter to Desktop
58 - added IConverter support to r_calendar.cc
59 - renamed utf8Needed to iconvNeeded, for consistency
60 - added IConverter support to r_folder.cc
61 - added IConverter support to r_memo.cc
62 - added IConverter support to r_message.cc
63 - added EmailAddressList, in preparation for multi-address email
65 - changed Parser base class to pure abstract... this is so that
66 future API changes to the Parse base class will be
67 detected by the compiler as errors
68 - added NullParser class, which performs the old Parser function
69 - changed all FieldLink arrays to static
70 - added new IConverter class to support converting the Blackberry's
71 WINDOWS-1252 charset to/from UTF-8 and more
72 - fixed bug in IConverter that saved end of string instead of
74 - reorganized barry.h app header and record.h header, so that
75 internal builds have fewer dependencies
76 - large parser/builder API change, adding IConverter support
77 This change starts at the top (Mode::Desktop) which
78 takes an optional IConverter object for parsing and
79 building conversions. The Desktop class passes
80 this IConverter object to Packet, Parser, and Builder (and
81 thereby, the corresponding Record classes) as needed.
82 This adds an extra pointer to a fair number of calls
83 in the stack, but maintains flexibility without putting
84 too much of a burden on Parser writers, which could be
86 The primary use of this architecture is to pass in an
87 IConverter configured to convert to UTF-8... this is
88 basically the only useful conversion method, but others
89 are possible if you want to play.
90 - first record class to support string conversions: Contact
91 - reverted the barry.h and record.h reorganization, since
93 - reorganized barry.h and record.h again, making inclusion of
94 the record headers dependent on whether it is a library
96 - updated the gui with the parser/builder API change
97 - added IConverter to opensync plugin, set to UTF-8
99 - added comment to src/r_contact.h deprecating the Phone field
100 - updated Doxyfile to 1.5.1
101 - added Christopher D. Stover to AUTHORS file as Fedora contact
103 - forgot #include <string.h> for memcpy/memset in tools/bfuse.cc
104 - moved bfuse install point from /usr/sbin to /usr/bin
106 - added FUSE filesystem "driver"
108 - commented out the info.subsystem match level in HAL FDI file...
109 this should let the FDI work on old and new systems.
110 HAL version 0.5.8 (used by Debian Etch) has the deprecated
111 info.bus property, and doesn't have info.subsystem yet.
112 - added HAL FDI scripts to rpm/barry.spec
113 - fixed tools/Makefile.plain
115 - added support for multiple work/home phone numbers to the
117 - Thanks to Richard Esplin for his test data.
118 - This fix has a conflict when a cell phone number is
119 marked as the preferred contact as well.
120 See http://sourceforge.net/mailarchive/message.php?msg_name=20081030231045.GA28989%40foursquare.net
121 for the full details.
122 - This fix also changes the VCARD output... pager phone
123 numbers are given the TYPE code of "pager"
125 - Added OtherPhone field as well
127 - applied HAL FDI scripts and configuration from Martin Owens
128 - updated AUTHORS file
129 - added HAL FDI and python script to Debian package install
131 - updated copyright notice and help text in contrib/modemtest.rb
132 - changed barry-verizon.chat script according to Andy Herkey's
133 recommendation... this worked much better for Michael L.
134 Stokes, since his provider was getting stuck on the ATZ
136 - applied Andy Herkey's modemtest.rb ruby script to contrib/
137 from his Aug 9, 2008 email to the mailing list
138 - applied Andy Herkey's new modemtest.rb script to contrib/
139 from his Oct 8, 2008 email to the mailing list
140 - added password pass-through code for pppob -s mode
141 - clarified front page www doc, adding date of last release
143 - cherry-picked changes from Jose Carlos Garcia Sogo's debian git repo
144 - debian/rules was stripping wrong library names
145 - FSF address was incorrect (also updated other source
146 files throughout the tree myself)
147 - more complete debian/copyright file
153 - gui/src/BackupWindow.cc
157 - opensync-plugin/src/barry_sync.cc
158 - added link to doxygen documentation to www index.php
160 Release: version 0.14 - 2008/09/24
161 ------------------------------------------------------------------------------
163 - changed Debian changelog version to 0.14-0 to make room for
164 official Debian packages which start at 0.14-1
165 - moved Doxyfile from src/Makefile.am to Makefile.am
166 - made RPM spec file match debian version number
167 - www documentation updates for 0.14
169 - fixed git-tagged-release.sh to not delete its own results... oops
171 - fixed git command line in git-extract.sh for new 1.6.0.x behaviour
173 - added notes in ReleaseChecklist.txt regarding the new tarball
174 tags in the git repos
176 - updated doc/ReleaseChecklist.txt
177 - moving items from private todo list to TODO file
178 - removed unused variable from maintainer/git-release-tar.sh
179 - added new maintainer/git-tagged-tar.sh, which puts more data
180 in the git repo, to make it easier for official Debian
182 - moved src/Doxyfile to ./Doxyfile to avoid ".." in the config...
183 the ".." paths confused doxygen and caused it to generate
184 non-relative paths in the documentation.
185 - added umask to maintainer/git-extract.sh, so it works even without
187 - updated maintainer/tar-prepare.sh to match the new Doxyfile
188 - added maintainer/tagged-release.sh, as replacement for the
189 release.sh top level script, when using git
190 - removed CVS-style ID code from contrib/barry-unbind-storage.sh
191 since it made it look like cdfrey wrote it
192 - removed doc/CodingStyle.txt as it is now documented in html
194 - added device name and backup label support to the GUI
195 It is now possible to name devices, instead of just
196 operating by PIN number, and it is possible to now
197 add a text label to the backup tar filenames.
198 - added the device names to the device selection dialog
200 - updated TODO list with i18n opensync bug and general i18n support
201 - added test suite to TODO list
203 - renamed libbarry to libbarry0 in rpm/barry.spec
204 - added %dump to rpm/barry.spec to match the OBS version
205 Makes it easier to track variable changes across
207 - added note to NEWS regarding binary package renaming
209 - fixed logic error in breset that displayed error on success
210 Thanks to Richard Esplin for reporting this bug.
211 - applied commit's from Jose Carlos Garcia Sogo's debian git repo
212 git://git.debian.org/git/users/jsogo/barry.git
213 - Add binary dependency of libbarry-dev on libusb-dev
214 - Rename libbarry to libbarry0, per debian policy
215 - Add exact dependency on binary:Version for every
216 -dbg and -dev package
217 - Bump Standards-Version to 3.8.0
219 - clarified barrybackup error message when no records available
220 Added a check so that "no databases selected" and
221 "no records available" are two distinct error messages.
223 - applied ppp chat script patch from Mick Reed
224 - updated RPM and Debian packages with new tmobileus ppp scripts
225 - added T-Mobile US to web documentation
227 - clarified sync docs regarding slow-sync... avoid it if possible
228 - tuned doxygen config, and moved generated files to doc/www/doxygen
229 - added git-release-tar.sh, replacing CVS's make-release-tar.sh
230 Also added doxygen to the release tarball creation, so
231 the source code's doxygen documentation is automatically
232 generated upon release.
233 - split git-release-tar.sh into reusable component scripts
235 - added exception handler for invalid command line options in GUI
236 - fixed barrybackup man page, removing bad -v option
237 - added distro section to AUTHORS
238 - fixed comment and whitespace problems in time.{h,cc}
239 - Converted Birthday from string to Date, and added Anniversary
240 support. Birthday and Anniversary fields now use a new
241 Date struct, and Barry validates the data to some extent.
242 - updated example code and opensync plugin to match
243 - applied Lee Dixon's Location and Description plugin patch,
244 with minor whitespace edits
246 - added Birthday field to examples/addcontact.cc for testing
248 - applied Lee Dixon's Birthday field and opensync patch
249 - fixed coding format issues
252 - fixed bug in m_ipmodem.cc that included a null terminator in
254 - fixed RFC 2426 conformance bug... RFC 2426, 3.1.1 states that FN
255 MUST be present in the vcard object. If there is no name
256 available, then we use the Company name if available. It
257 should be, since the Blackberry requires either name or Company
258 in order to create a new address. If Company is blank too, then
259 we insert "(Blank Name)".
260 - On the flip side of this same bug, it is possible to receive
261 non-conformant vcard data from evolution / opensync
262 that does not include FN. Since the Blackberry
263 doesn't require this information, remove the
264 exception, and only throw an exception if FN
265 or Company are both blank.
266 - REVERT: removed the Company and "(Blank Name)" workarounds,
267 and just produce an invalid vcard if no full name,
268 since with multiple syncing, this will come back
269 to bite us with duplicated Company name data
270 - added sanity check to contact class for blank name and company
271 - added BadData exception class, and documented it
273 - fixed bug in vAttr::GetValue that ignored index for single valued
274 attributes... this should fix the endless loop / memory
275 exhaustion that some people have been seeing
276 Thanks to Lee Dixon for reporting this bug in detail!
277 - added TODO list item for implementing recurring calendar items
283 - gui/src/BackupWindow.cc
287 - opensync-plugin/src/barry_sync.cc
288 - updated web docs showing how to set the password when using modem
289 - added section to docs on how to test the modem connection
291 Release: version 0.13 - 2008/07/28
292 ------------------------------------------------------------------------------
295 - removed extraneous "experimental" wording
296 - added section for external links to main index page
297 - fixed doc bug about how to install libtar
298 - added O2 Ireland to list of modem scripts
299 - removed ubuntu80464 and fc6 from binary package list
303 - applied barry-unbind-storage.sh script from Niels de Vos...
304 added to contrib for now, in the interests of getting
305 version 0.13 released soon... we can work on integrating
306 this better in 0.14, which hopefully won't take so long :-)
308 - added g++ (>= 4.1) to Debian build dependency list
309 - added support to base library and utilities for multiple email
310 addresses in Contact records
311 - added opensync support for multiple contact email addresses
312 - applied ppp chat scripts for O2 Ireland from Simon Kenyon
314 - integrated O2 Ireland scripts into binary package installs
316 - applied David Mansfield's opensync module password patch (ported
317 manually to latest upcoming 0.13)
319 - added password documentation to sample barry-sync module config
320 - updated web docs with new password sample config
322 - removed old, unused spec file and scripts for bcharge-only release
323 - fixed rpm build instructions in web docs
324 - reduced minimum password retry level from 6 to 3... Reinhold Schoeb
325 reports that his 8800 device only lets him set a password
326 retry range between 3 and 5, instead of the usual 10 that
329 - added "known issues" section to main www doc page
330 - fixed virtual function mis-name bug in btool's null parser
331 - added -i option to brecsum, to include record IDs in the sums
332 - applied Ashley Willis's btool 0.12 null parser patch to CVS, which
333 required some manual porting changes...
334 - removed bool reference argument in GetParser()
336 - applied Ashley Willis's perlbarry package, putting it in the
337 new contrib/ directory
339 - now that btool patch is applied, don't need it in contrib
340 - removed openssl from dependencies documentation, as barry now
341 has its own sha1 code
342 - added libtool to dependencies documentation
343 - rpm/barry.spec file now assumes gui and opensync, with conditional
344 checks depending which system it is being built on...
345 --with gui and --with opensync are no longer needed.
346 - updated release scripts to build RPMs with the new spec file
348 - updated udev rules to recognize devices with the 8004 Product ID
349 - fixed bug in test/buildtest.sh when opensync is not pre-built
350 - fixed more lintian warnings on Ubuntu
351 - fixed tiny subheadings in modem web document
352 - added syncing howto web document
353 - updated TODO list, adding Troubleshooting item, and morphing
354 the modem item into the RPC daemon item
355 - moved old doc/TroubleShooting.txt document to web, and updated
357 - added tip to sync web docs, for using DebugMode on hangs
359 - changed test/buildtest.sh so it is safe to run from outside
360 the directory that contains it
361 - added note to patch webpage regarding testing patches to the
363 - removed mis-configured 'make dist' check from buildtest.sh
364 - added missing 'scoped_lock.h' to src/Makefile.am's non-installed
365 headers, as it is an internal header only
366 - improved buildtest.sh: speed, accuracy
367 - added -j option to make to speed builds
368 - moved cleanall check above 'make dist' as dist doesn't
369 clean up after itself
370 - commented out 'make distcheck' for now, as it doesn't work
371 - added DISTCHECK_CONFIGURE_FLAGS to root Makefile.am, similar to
372 David Everly's patch in tracker # 1973536
373 Thanks David! 'make distcheck' now works, but only in
374 an environment like buildtest.sh creates.
375 Also, buildtest.sh passes all tests now, including distcheck.
377 - removed unused src/controllertmpl.h
378 - added ppp and test directories to Makefile.am EXTRA_DIST
380 - added beginnings of a build system test script
381 - fixed sha1.h so it is installed by src/Makefile.am
382 - removed old Makefile.orig from src/Makefile.am
384 - updated modem web documentation page with Sprint option, as
385 well as listing some network security concerns
387 - added modem reset workaround to web documentation page
388 - applied Andy Herkey's ipmodem password patch, round 1
389 - applied Andy Herkey's ipmodem password patch, round 2
390 - cleaning up some rough edges to the ipmodem patches:
391 - removed commented out code in pppob.cc
392 - added BXLOCAL to private member SendPasword()
393 - added try/catch in IpModem destructor
394 - removed FIXME comment about endian issues
395 - added data size checks to SendPassword()
397 - renamed class variable session_key to match others
398 - added check to skip password if "" is passed in
399 - added the m_filter for ipmodem PPP 0x7e filtering
400 back, since the 8320 w/ rogers seems to need it
403 - added timeout argument to Device::BulkDrain()
404 - added mozilla's sha1 code from git
405 - removed openssl dependency due to license issues
406 Debian and Ubuntu have checks in their lintian tool that
407 check for GPL+OpenSSL linkage. In order to remove any
408 potential obstacles to future inclusion in those distros,
409 the dependency is removed here in favour of the small
410 mozilla implementation which is GPL.
412 - added notes to web documentation for OpenBSD
413 - documentation updates:
414 - changed git patch command to use format-patch
415 - added instructions for building from tarball
416 - added bugs.php and contact.php pages
417 - fixed missing and mis-dated copyright notices in src/
418 - added ppp options and chat script for Sprint, based on
419 Andy Herkey's mailing list report
421 - added Ubuntu 8.04 to release build scripts
423 - fixed compile errors in gui when compiling with gcc 4.3.x
424 - added ppp options and chatscript files to RPM build
425 - updated docs with binary package default PPP scripts
426 - added -P option to pppob to specify password
427 - updated pppob manpage with -P option
428 - fixed missing -P option in btool manpage
429 - updated rpm spec file history
430 - added pppob manpage to rpm spec file
431 - added manpages for brecsum, breset, upldif, and barrybackup,
432 and updated the build process to support them.
433 Also updated date for pppob manpage.
434 - updated rpm spec file with new manpages
435 - added ProductID code 0x8004 to breset.cc
436 - minor whitespace and usage text fix in upldif.cc
437 - deleted old src/Makefile.orig
438 - updated Debian binary package:
439 - added manpages for brecsum, breset, pppob, upldif,
441 - added ppp options and chat scripts, with postinit
442 script to set permissions
443 - fixed descriptions in control file to avoid lintian warnings
445 - fixed missing #includes in src/data.cc
446 - fixed compile errors in library, utils, and plugin when compiling
447 with new gcc 4.3.x... gui not yet finished
449 - added minimum g++ version to website dependency docs
452 - reorganized sample ppp options files so they are easier to compare,
453 enabled "usepeerdns" in both, and disabled the speed
454 setting in barry-verizon
455 - updates to website documentation
456 - added FC9 to distro list
457 - added page for BarryBackup
458 - added page for USB modem / pppob
460 - added sample ppp options files for Verizon Blackberries
461 Sample files from Michael L. Stokes
463 - renamed sample ppp peer files, in preparation for installing
464 them automatically in binary packages
465 - modified verizon options file to use pppob
466 - split the sample rogers options file into options and chat files
468 - put sequence packet check directly in the SocketZero::RawReceive()
469 function, which now localizes all sequence packet
470 handling and checking, as well as avoids packet
471 order problems when multiple sockets are in use,
472 such as with pppob...
473 FIXME - this localized sequence checking may make all
474 the calls to CheckSequence() obsolete which
475 should probably be cleaned up someday, if so.
476 - reorganized src/socket.cc to match class private/public
477 order (no code change, only move)
478 - added verbose log message to Controller constructors, so it is
479 possible to determine whether a program is using
480 threaded or non-threaded sockets
481 - added -z and -Z command line options to btool to control
482 the non-threaded/threaded behaviour, respectively;
483 and updated the man page
484 - removed debug sleep() calls from pppob
485 - added SIGINT signal handler so pppob shutsdown gracefully when
488 - mention CVS and git on main documentation "how to" list
489 - moved PPP filter logic into its own class
490 - enhanced PPP filter class to support prepending of
491 empty bytes if needed, in order to reduce data
492 copying, and clarified why there is no GetBuffer()
493 - added ProbeResult::HasIpModem() to determine whether
494 IpModem endpoints are available
495 - added pure virtual Modem base class for common
496 modem-oriented API (only Open and Write so far)
497 - Mode::IpModem is now derived from Barry::Modem
498 - experimental implementation for Mode::Serial,
499 which is now derived from Barry::Modem,
501 - pppob now supports IpModem and Serial modes, and logging
502 to file instead of stderr
503 - added man page for pppob
505 - modified the planned version numbering scheme in doc/VersionNotes,
506 so that a 1.0 is possible, with 1.50 as the devel series
508 - continuing to update html documentation in preparation for
511 - removed -fvisibility-inlines-hidden compile options since some
512 distros have old or broken compilers or libraries where
513 the build breaks looking for STL templates (Ubuntu 7.10,
514 I'm looking at you...)
515 - changed brecsum so usage information is displayed automatically
516 if no command line arguments are specified
517 - added opensync-plugin to maintainer test scripts, and added
518 ubuntu710 to the test build sequence
520 - updated doc/TroubleShooting.txt
521 - removed usb_control message check from IpModem endpoint probing
522 in src/probe.cc, since some devices, like the 8700
523 have both RIM_UsbSerData mode and IpModem mode.
524 - fixed serialization code for Calendar record class, in s11n-boost.h
525 - made UnknownField's data member into its own type,
526 so that when building records, it doesn't get processed
527 like a null terminated string... also added more
528 BuildField() helper functions for accuracy
529 - fixed missing fields in the Calendar record build process
530 - added Calendar to list of Builders in tools/btool...
531 it is now possible to run: btool -s "Calendar" -f datafile
532 - added tools/brecsum program, which calculates SHA1 checksums
533 on database records, for testing
534 - added brecsum to debian and rpm builds
535 - added recurrence builder function to Calendar record builder code
536 which completes builder support
537 Checksums from the following commands now match:
538 brecsum -d Calendar > sum1.txt
539 btool -d Calendar -f calendar.dat
540 btool -s Calendar -f calendar.dat
541 brecsum -d Calendar > sum2.txt
542 diff -u <(sort sum1.txt) <(sort sum2.txt)
544 - applied Jason Thomas's ACLOCAL_FLAGS patch to make autoreconf
545 work again... Thanks!
546 - applied Jason Thomas's debian build dependency patch
549 - started documentation overhaul in doc/www, putting the commonly
550 asked questions right on the front page, and making it more
551 goal-oriented, so it is hopefully easier to use
554 - fixed error messages in m_desktop.cc that still referred
557 - major merge of barry-b1-socket-arch-branch into MAIN.
558 The following is the changelog from that branch, which is now MAIN.
561 - added thread-safe logging mechanism
562 - added preliminary IP modem support... requires a recent
563 device... serial mode is not yet supported
564 - merged HEAD changes
566 - changed Barry::Init() so programmer can choose where
567 debug and exception information goes, instead of
570 - merged HEAD changes
572 - fixed bug in probe class, which missed storing the PIN
573 number in ProbeResult
574 - also added ProbeResult constructor
575 - merged changes from visibility branch:
576 - GCC visibility support, limiting what symbols are
577 visible in the shared library, libbarry... this makes
578 a drastic reduction in the symbol table, and should
579 avoid future name clashes with other libraries such
581 See: http://gcc.gnu.org/wiki/Visibility
582 - vformat_() function name changes
584 - merged HEAD changes
585 - added threads library to new bs11nread build
587 - fixed variable size issues in btranslate.cc, evident with
588 some compilers on 64 bit systems
589 - merged HEAD changes
590 - added comments for threaded usage in usbwrap.h
591 - changed router to use SocketId typedef, for clarity
593 - fixed const char warnings from newer gcc compilers
594 - controller object now saves a copy of the probe result
595 and provides an API to retrieve it
596 - added sanity checks to m_serial.cc
597 - fixed probe behaviour so that a USB probe on an endpoint
598 that doesn't respond won't halt everything
599 - refactored some of the probe code, and added checks for
601 - added Probe::DumpAll()
602 - added Open() call to pppob.cc (not yet complete)
604 - implemented dataqueue.{h,cc}... looks ready for testing,
605 once things compile again
606 - changed free list copy in router.cc to use
607 DataQueue::append_from()
608 - finished packet.{h,cc} implementation, ready for testing
609 - finished controller.{h,cc}, ready for testing
610 - finished m_desktop.{h,cc}, ready for testing
611 - added skeleton m_serial.cc
612 - the base library and utilities compile again!
613 - added constructor for SocketZero(queue)
614 - fixed ErrnoError::GetMsg()
615 - updated GUI and opensync plugin to compile with new API
616 - moved Raw Send/Receive socket functions to private
617 - fixed packet header size bug in socket that caused
618 socket ID override to be skipped
619 - fixed incorrect use of gettimeofday()
620 - fixed race condition where Controller could destroy
621 the Usb::Device object before the SocketRoutingQueue
623 - fixed segfault in SocketZero::RawSend() when a router
625 - fixed Open() bugs in btool... Open() must be outside of loops
626 - btool uses the router thread now, for testing
627 - partially implemented m_serial.{h,cc}... needs testing
628 - added automatic buffer allocation to SocketRoutingQueue
630 - made AllocateBuffers() a little smarter, so it was not
632 - added a context data pointer to the SocketRoutingQueue
633 RegisterInterest callback
634 - added RegisterInterest functionality to Socket class
635 - added exceptions on router read errors in socketzero
637 - implemented router.{h,cc}... looks ready for testing,
638 once things compile again
640 - merged HEAD changes
641 - added router.cc and continued work on new arch
642 - merged HEAD changes for 2008 copyright statements
643 - added scoped_lock.h
644 - added ErrnoError exception class
645 - documented Controller / SocketRoutingQueue behaviour
646 - more router implementation
648 - audit and cleanup of socket.{h,cc} code... looks ready
649 for testing now, once things compile again
650 - removed FIXME in router.*
651 - removed pthread header from pppob as it is not needed
653 - merged HEAD changes
655 - merged HEAD changes
657 - branch started, to track development of the new socket
658 architecture, and new mode architecture, needed
659 to support GPRS modem support, and threaded
661 - committed work-in-progress... does not compile
664 - added Tasks and Memos to TODO list
666 - added support for Blackberry 8120, which has a unique Product ID
667 Sourceforge tracker ID: 1829537
669 - removed TimeZones from TODO list, as it is done
675 - gui/src/BackupWindow.cc
679 - opensync-plugin/src/barry_sync.cc
680 - added GCC visibility support, limiting what symbols are visible
681 in the shared library, libbarry... this makes a drastic
682 reduction in the symbol table, and should avoid future
683 name clashes with other libraries such as opensync
684 See: http://gcc.gnu.org/wiki/Visibility
686 Release: version 0.12 - 2008/03/21
687 ------------------------------------------------------------------------------
689 - changed maintainer script to use CVS export instead of checkout,
690 to avoid the CVS directories
691 - added support for building Debian source packages with proper
692 diff.gz and dsc files
693 - fixed find warning in maintainer/make-rpm.sh
694 - added support for Ubuntu binary packages to the maintainer build
697 - renamed all vformat_ and VFormat symbols in opensync plugin's
698 copy of vformat code, so they don't conflict with the
699 real opensync libraries
701 - updated the install.php web page with Paul Dugas's notes on
702 building RPM's from CVS
703 - fixed problem in tools/Makefile.am where bs11nread was included
704 in build, even if --with-boost was not specified
705 on ./configure command line
707 - changed format of Boost serialization file output from btool,
708 so that the database name is stored as the first line
710 - added tools/bs11nread.cc to read Boost serialization file data
712 - minor adjustments to r_message.h and r_timezone.h
713 - updated s11n-boost.h header to match record classes
715 - applied Time Zone parsing patches from Brian Edginton
716 - added Time Zones to list of supported parsers in btool.cc
718 - changed configure.ac to use bzip2 for "make dist".. thanks to
719 Paul Dugas for the tip
721 - committed Chris Burgess's update to the roadmap document
722 - applied Paul Dugas's x86-64 build patch, except the
723 tar.bz2/tar.gz change
724 - updated AUTHORS file
726 - fixed configure.ac's --with-boost option, so that without args,
727 it defaults to using --includedir and --libdir settings,
728 instead of hardcoding /usr/include and /usr/lib... this
729 should allow smarter compiling on 64 bit systems
730 - updated RPM spec file to use new --with-boost behaviour
731 - ahem, fixed configure.ac again... don't use --includedir and
732 --libdir, as those are install targets... oops.
733 Don't add path overrides at all if not specified.
735 - fixed locale issues in src/data.cc
736 - updated copyright statments for 2008
738 - applied wording correction patch to btool from Matt LaPlante
740 - changed hard coded databases names in btool to calls to
741 <recordclass>::GetDBName()
746 - gui/src/BackupWindow.cc
750 - opensync-plugin/src/barry_sync.cc
753 Release: version 0.11 - 2007/12/01
754 ------------------------------------------------------------------------------
756 - fixed null pointer bug in Probe class (bug #1842407)
757 - added pause to maintainer release script
763 - gui/src/BackupWindow.cc
767 - opensync-plugin/src/barry_sync.cc
769 Release: version 0.10 - 2007/11/30
770 ------------------------------------------------------------------------------
772 - added support to the usbwrap Match class to limit its
773 search by busname / devname
774 - added support to the Probe class to limit its search for
775 Blackberry devices to a given bus or device name
776 - added command line options to btool for the above Probe
777 bus/device names, and updated the man page
778 - updated the www docs with regard to the new usb_storage
779 behaviour and the new blacklist files... less
780 concern about berry_charge and usb_storage conflicts
781 - added bidentify tool and accompanying man page
782 - fixed bug in rpm maintenance script that used the wrong
783 spec file for opensuse
785 - added better error checking to breset
786 - commented the sleep() for the 8830
787 - added code to handle the race condition where usb_storage
788 claims the device before bcharge arrives on the scene,
789 by asking the kernel to detach the driver from
790 the Mass Storage interface... this change makes it
791 possible to run bcharge, moving from 0006 to 0004
792 to 0001 and back to 0004, all *while* usb_storage
794 - changed Probe class behaviour so that it will not throw an
795 exception on Device Busy (-EBUSY) but instead
796 log the error in an internal array and keep going.
797 This makes it possible to use btool and barrybackup
798 with two devices plugged in at the same time.
799 BACKWARD COMPATIBILITY NOTE: this changes initializaion
800 behaviour, but in practice, it should only
801 make applications look more capable, not less.
802 - updated btool to show errors logged by Probe
803 - added message to specify which PIN device is being used by btool
804 - added explanatory comments to udev rules files, about why
807 - added ClearHalt() calls to probe and controller classes, just
808 before any communication happens... the 8830 seems
811 - added usbwrap.cc:GetConfiguration()
812 - added code to check whether the configuration is the one
813 we require, before calling SetConfiguration()... and not
814 to call it if unnecessary. This allows us to run
815 at the same time as usb_storage.
816 Thanks to Martin Owens for not letting this issue go. :-)
817 - added sleep to bcharge, before calling usb_reset()... the
818 Blackberry 8830 behaves like a Pearl device in that
819 it has mass storage support, but behaves like a Classic
820 in that it resets itself... the usb_reset() seems
821 to reset it back to 0006. The sleep allows the device
822 to disappear via its own reset, and let usb_reset()
823 fail naturally on these devices.
824 This is not an ideal solution... mainly for testing.
826 - added modprobe/blacklist-berry_charge as per Simon Ruggier's
827 suggestion. Thanks also to Niels de Vos for a similar
829 - fixed udev rules to work on both old and new distros
830 Thanks to Duncan Mak for the bug report.
832 - fixed string comparison to use case insensitive compare in
834 - updated Debian package to include modprobe blacklist file
835 - updated rpm spec file to include modprobe blacklist file
836 - split the maintenance scripts into release and test, so
837 that release package builds can be done faster
839 - opensync plugin fixes:
840 - fixed memory leak in vBase::GetAttr()
841 - added support in vformat parser to parse "blocks"
842 and keep track of the hierarchy when
843 parsing an iCalendar, etc.
844 - added support for searching for attributes only
845 inside certain blocks (i.e. find first
846 DTSTART in VEVENT block, not VTIMEZONE block)
848 - fixed bug in Calendar::Clear, missing the Free / Class
849 member variables, leaving them uninitialized
850 - added examples/addcalendar.cc
851 - added more logging to the opensync plugin, logging the
852 ToBarry conversion results
853 - added code to force struct tm.tm_isdst to -1 before calling
855 - fixed typo in previous fix
857 - renamed ktrans and translate to bktrans and btranslate to avoid
858 file name clashes with libtranslate of Gnome
859 Closes bug #1812410 reported by Troy Engel.
864 - gui/src/BackupWindow.cc
868 - opensync-plugin/src/barry_sync.cc
869 - fixed missing default config file in the debian package for
871 Closes bug #1812224 reported by Ariel (adonatti).
872 - added debian dbg packages for tracing segfaults
873 - modified maintainer scripts so debug packages would reference
874 source code located in /usr/src/barry-0.9, etc.
876 Release: version 0.9 - 2007/10/12
877 ------------------------------------------------------------------------------
879 - adjusted autosuspend disabling code in bcharge, based on new
880 information on how kernels 2.6.21 / 2.6.22 work.
881 See bcharge.cc for comments. If device/power/level or
882 device/power/autosuspend exist, charging should now work
883 without recompiling the kernel.
884 - updated website docs with autosuspend info
886 - large update to the doc/www web pages, moving some of the
887 information in README files to html format, so that it
888 is commonly available on the web
889 - added step in maintenance scripts to automatically build the
890 .html files in doc/www when making a tarball release
892 - added libopensync 0.22 version requirement to barry.spec file,
893 but it doesn't seem to work on OpenSuSE 10.2, where it's
896 - updated README to mention new tree build configure options
897 - fixed the configure scripts and makefiles so that when building
898 with custom CXXFLAGS and LDFLAGS environment variables,
899 it doesn't break the full-tree build mode, when
900 using --enable-gui and/or --enable-opensync-plugin
901 - added config.h.in~ to buildgen.sh clean target
902 - converted Debian build scripts to use cdbs
903 - added opensync plugin binary package for Debian
904 - added "Getting Started" section to web pages, as well as an
905 explanatory document for various system requirements
906 - turned on opensync build in RPM maintainer scripts
908 - added filename to power/state error message in bcharge.cc
909 - adjusted maintainer scripts to automatically adjust barry.spec
910 for opensuse rpm builds
912 - fixed some of the release build scripts and added support for
913 automated opensuse 10.2 builds
914 - fixed build target to i386
915 - changed scripts to add to PKG_CONFIG_PATH variable instead
918 - added website docs to doc/www... these are out of date at the
919 moment, and hopefully by including them here, they
920 will be updated more frequently
922 - applied Simon Ruggier's build system patch that allowed a build
923 of all 3 components from the root directory and fixed the
924 configure scripts to support external build directories
925 - reordered clean commands in the buildgen.sh scripts, and removed
926 the INSTALL files, since they are auto-generated by autoconf
927 - removed extraneous buildgen.sh calls in maintainer scripts
928 - added Simon Ruggier to AUTHORS
929 - added explanatory note to 3 stage test build process in
932 - fixed Category handling in the Contact record class, to
933 parse the comma separated string into an array,
935 Note: this involves a change to the boost serialization
936 and will affect backward compatibility with
937 old serialization datafiles
938 - added Category to examples/addcontact.cc
939 - added Category support to the opensync plugin
941 - fixed wrong read/write in btool output (oops)
942 - added BadSize exception, and changed CheckSize() function
944 - changed backup GUI to catch BadSize exceptions on initial
945 connect, and try a reset if that error occurs, since
946 that likely means the device didn't shutdown properly
947 - fixed in opensync plugin:
948 - some vcard data contains types codes in capital letters,
949 so added lower case conversion routine
950 - changed the order of address lines, so that address1
951 is the street, address2 is the extended address,
952 and address3 is the PO Box. The Blackberry
953 doesn't seem to have any PO Box field.
955 - added -e endpoint override option to btool
956 - added status message to endpoint override
958 - added configure check for strnlen, and implementation for
959 systems that don't have it, or that have it implemented
960 incorrectly. Went a little paranoid here, since
961 AC_FUNC_STRNLEN doesn't set a define in config.h,
962 so I had to do it manually, and check in case autoconf
963 changes in the future... ugh. See src/strnlen.h for
965 - added code in probe.cc to fetch the device's description.
966 The description is now part of the probe results
967 along with the PIN. Updates to protocol.h, adding
968 a new attribute definition.
969 Thanks to Rick Scott for pointing out the code in
970 XmBlackberry where he implemented this first.
971 - fixed header dependency in record-internal.h
972 - updated the "required autoconf" version to 2.61 for root build
973 - moved nested structs out of the record classes that contain them,
974 in order to better support SWIG and Python
976 - changed bcharge to use getopt() for its argument processing
977 - added options -p and -s to bcharge, to adjust usb suspend
978 settings automatically where possible
979 - updated the udev rules to use the new bcharge settings
980 - updated the bcharge man page with the new arguments
982 - cleaned up Usb exception handling, moving libusb error code
983 processing into the Usb::Error exception class.
984 error.cc is now an empty shell
985 - added return codes to the Usb::Error exceptions
986 - removed aboutdialog.{h,cc} from the backup GUI since even
987 Debian stable now has up-to-date gtkmm libraries
988 - added more user friendly error message for the "device busy"
989 case, recommending 'rmmod usb_storage'.
991 - added better error checking to bcharge.cc
996 - gui/src/BackupWindow.cc
1000 - opensync-plugin/src/barry_sync.cc
1001 - removed usb_set_configuration() check from bcharge.cc, since
1002 that may fail under normal operation, in this case
1004 Release: version 0.8 - 2007/08/03
1005 ------------------------------------------------------------------------------
1007 - moved Interface implementation to usbwrap.cc file
1008 - added dout debugging messages to usbwrap.cc
1009 - clarified unhandled packet error message in socket.cc
1010 - added temporary workaround in opensync-plugin environment's
1011 Reconnect(), for odd message seen on newer Blackberry
1013 - fixing issues with Brian Edginton's MessageRecord patch (2007/06/29)
1014 - fixed missing size check in message oriented ParseHeader()
1015 - fixed endian conversion issues (also found one pre-existing
1016 endian bug in the process)
1017 - moved message timestamp converter code to time.cc
1018 - added Barry version number to opensync plugin name
1019 - changed maintainer scripts and rpm.spec to use bzip2 instead of gzip
1020 - added opensync-plugin to configure script build
1021 - added -S option to btool, to list supported parsers and builders
1022 - slight change to opensync-plugin/buildgen.sh to cleanup config.h.in~
1023 - opensync-plugin/README update
1024 - added opensync-plugin/patches for others who may be building and
1025 testing the plugin with OpenSync 0.22
1026 - added debian package build scripts to maintainer/
1028 - added entry to doc/TroubleShooting.txt
1030 - added doc/TroubleShooting.txt
1033 - fixed bug in vcard.cc that was using the FN field
1034 for the broken-down name instead of N
1035 - added dbId and dbName to DatabaseSyncState
1036 - added Reconnect() functionality to BarryEnvironment class
1037 and moved connect logic out of barry_sync.cc
1038 - changed the batch commit functionality in barry_sync.cc
1039 to single-change-commit. Why? Because opensync
1040 0.22 groups all batch changes into one group
1041 and calls one batch commit function, even if you
1042 registered two. Moving to single change commit
1043 mode removes a chunk of unneccessary code
1044 from the plugin as well, and can in theory
1045 ease memory pressure in the library.
1046 - added FinishSync() to perform actions needed on successful
1048 - disconnect on successful sync completion, and reconnect,
1049 since the device's dirty flags don't seem to
1050 be updated until a disconnect occurs.
1052 - added ReadDataArray() to data.h, using an istream instead of
1054 - added raw data version of BuildField() to record-internal.h
1055 This is so that btool doesn't add extra null terminators
1056 to unknown data, when restoring with option -s
1057 - fixed bugs in r_contact.cc:
1058 - fixed bug that caused a LastName/FirstName swap
1059 if FirstName was empty and you wrote a contact
1060 record into the device.... First/Last Name
1061 fields are position sensitive, and the code
1062 was missing the empty FirstName case on writing
1063 - fixed bug in BuildFields() and Dump() where they
1064 were not updated to handle the new field
1065 table added for the postal address changes
1068 - changed the plugin config file, so it is possible to
1069 turn debug output on/off without recompiling
1070 - moved the standalone Map2Uid() function into
1071 the DatabaseSyncState class, and changed the
1072 code to produce "contact-#" and "calendar-#"
1073 UID strings, instead of just numbers
1074 - changed default PIN to -1, so that if the user doesn't
1075 configure properly, it will fail... this is a
1076 safety measure to avoid syncing with different
1077 devices and corrupting the cache/idmap...
1078 this should be fixed someday, to handle this
1080 On second thought... is this right? Perhaps
1081 it is better to fail if the PIN is not what
1082 is expected, so a user doesn't accidentally
1083 sync the wrong device and lose data.
1084 Actions to take on new PIN:
1085 - force slow_sync, or
1087 - incorporated the new VCardConverter code into the
1088 main barry_sync.cc plugin code
1089 - fixed bug that did not clear the devices dirty flags
1090 in the case where a sync only read data from it,
1092 - changed PIN error message number to hex
1094 - minor wording change in backup GUI prompt: "Backup working..." to
1095 "Backup in progress..."
1096 - renamed Contact class's Title field to JobTitle for clarity
1097 - added record function ParseFieldString(), which properly handles
1098 strings from the device that have multiple null terminators,
1099 and changed the record parsing code to use this new function
1100 - moved FullName() function from ldif.cc to r_contact.cc since it
1101 is generally useful in areas outside of LDIF processing
1102 - refactored postal addresses in the Contact record class into
1103 a new class called PostalAddress
1104 - renamed Address class in record.h to EmailAddress
1105 - moved Contact::GetPostalAddress() to record.cc as part of the
1106 new PostalAddress class and renamed it
1107 PostalAddress::GetLabel()
1109 - refactored vformat helpers into separate base class
1111 - added vCard converter class
1112 - commented out the code that skipped over the adding
1113 of empty attribute values and parameters,
1114 since VCARD depends on some of this behaviour
1115 - movified vformat.c:vformat_find_attribute() to take
1116 an extra nth argument, in order to search
1117 for multiple attributes with the same name...
1118 the way this is coded is a bit inefficient...
1119 but we're moving away from vformat when we move
1120 to OpenSync 0.3x / 0.40, so this is just temporary
1123 - added SUBSYSTEM=="usb_device" to example udev rules, in order
1124 to avoid running bcharge for each endpoint that is
1125 added by udev, when first plugged in. Running bcharge
1126 back-to-back multiple times can crash some
1130 - fixed ID mapping bug in the case of a non-numeric UID
1131 from syncing external -> Barry, and then the
1132 new Barry ID would look like a new change
1133 when syncing back from Barry -> external.
1134 - added support for slow sync
1135 - added clear() to idmap class
1136 - added vformat attr parameter extraction class
1137 - added more trace logging during vformat/Barry conversions
1138 - added Notification time support
1139 - handled "all day" vformat special case, when DTEND
1140 does not exist in a vformat data block
1141 - changed the min1900_t time conversion functions to handle
1142 the 0xffffffff special case, when notifications
1143 are turned off on a calendar event (src/time.cc)
1144 - also made the calendar data dump output clearer for
1145 disabled timestamps, and added debug output
1146 for the raw min1900 value, in case there are more
1147 special cases in the future
1149 - fixed null pointer access in opensync's HasMultipleVEvents()
1151 - upper management directive: revert all OpenSync 0.3x changes
1152 and proceed with OpenSync 0.22. Reverting the
1153 opensync-plugin/src tree to Barry 0.7 status.
1155 - reorganized exception and trace code in opensync plugin
1156 - added XmlToCalendar() function, based on unfinished opensync
1157 library API that is not yet finished... will be
1158 committed to opensync svn tree when complete
1159 - added OSyncXMLField logger to plugin trace class
1161 - applied email MessageRecord patch from Brian Edginton (thanks!)
1162 - updated Message::Dump() to output more valid mbox data...
1163 the goal is to be able to do:
1164 btool -d "Messages" > email.mbox
1166 - changed some TODO's to FIXME's to keep it grep-consistent
1167 - applied Folder support patch from Brian Edginton
1168 - fixed pedantic compile warnings, and changed order in src/Makefile.am
1169 - removed unneeded cast in src/r_folder.cc
1171 - minor adjustment to ctags building in buildgen.sh
1172 - applied patch from Brian Edginton for better boost detection
1174 - added boost usage message to btool -h output
1176 - more porting of OpenSync module to 0.30
1177 - added ctags build for opensync source tree to buildgen.sh
1179 - changed PKG_CONFIG_PATH setting in rpm script, so that systems
1180 like SuSE that have an extensive PKG_CONFIG_PATH
1181 in general use will not break on build
1182 - added PKG_CONFIG_PATH to debian script too, just in case :-)
1183 - added debian/changelog to doc/ReleaseChecklist.txt
1184 - added comment to rpm/barry.spec regarding SuSE RPM builds
1186 - applied patch from Niels de Vos fixing debian package build
1188 - applied Brian Edginton's Saved Email Messages patch
1189 - updated r_saved_messages.cc comment to match header
1190 - added GetRecType()/GetUniqueId() to r_saved_messages.h, since
1191 SetIds() is already there
1192 - removed Address version of operator<<() from message related headers
1193 and moved into record.h
1194 - added std::hex to message related dumps, and changed output to
1196 - updated doc/CodingStyle.txt to cover switch() statements
1197 - opensync compiles again, with 0.30! (not functional yet)
1198 - moving closer to more modular and reusable plugin functions
1199 - updated release checklist for opensync version number
1201 - added doc/CodingStyle.txt... preliminary version
1203 - applied Brian Edginton's PIN message patch
1204 - changes to PIN message patch:
1205 - fixed missing backslash in src/Makefile.am
1206 - fixed tab alignment throughout
1207 - removed typedef from Address struct
1208 - added clear() to Address... might as well, if it it is
1209 going to be a standalone type
1210 - fixed missing comma in PINMessageFieldLinks table
1211 - changed MessageRecordId in PINMessage to load from a new
1212 uint32_t field in CommonField, instead of piggy
1213 backing on a field for other use
1214 - did some testing and found that PINMessage's MessageRecordId
1215 is the same as the RecordId given through the SetIds()
1216 API... but these Id's are duplicated in the protocol...
1217 RecordId is stored in the protocol header, while
1218 MessageRecordId is stored in the record it self as
1219 a common field... added RecType and RecordId to
1220 PIN Message so that we store both of these
1223 - added item to gui/TODO
1224 - applied Brian Edginton's s11n-boost.h patch
1226 - renamed template values to more consistent naming scheme
1227 - applied memos and tasks patch from Brian Edginton, slightly
1228 modified to split into the new separate files system
1229 - changes to memos and tasks classes:
1230 - reformatted the code to match coding style
1232 - added copyright notice
1233 - changed class to singular (Memo, not Memos)
1234 - placed in Barry namespace
1235 - added #ifdef header protectors
1236 - added new files to Makefile.am
1237 - added new r_*.h headers to record.h
1238 - added support for Memos and Tasks to tools/btool.cc, based on
1239 Brian Edginton's patch
1240 (currently commented out, for Boost library reasons):
1241 - added doc/CommitPolicy.txt
1244 - added ctags generation to buildgen.sh
1245 - applied record.{h,cc} fix patch from Brian Edginton
1249 - fixed broken formatting in above patch
1250 - refactored record parser classes into separate files for each
1251 - changed the ConvertHtoB<> template to inline, as it caused
1252 linker errors with the new file layout
1254 - fixed bug in Debian packaging that put util commands in
1255 /bin and /sbin instead of /usr/bin and /usr/sbin
1256 - commited byteswap.h replacement code from gm2net
1258 - removed unneeded debug messages on stdout
1259 - changed the default for debug output to "off"
1260 and added a command line option to turn
1261 it on if necessary (--debug-output)
1262 - command line option --help now also works
1263 - fixed bug in Calendar class where it didn't initialize
1264 RecType properly... and cleaned up other RecType
1265 code to use the GetDefaultRecType() functions,
1266 localizing the constants in one place
1268 - applied patches from Brian Edginton, parsing more
1269 fields in Contact and Calendar records
1270 - added Brian Edginton to AUTHORS
1271 - reformatted record.{h,cc} to match the rest of the code,
1272 removed commented out code, and removed mention of
1273 Outlook from the comments.
1274 - updated udev/10-blackberry.rules.Debian for Debian Etch
1275 - updated debian/rules to use new udev rules file
1276 - removed debian/postinst, as stable versions of Debian now
1277 have a recent udev, and don't need the special handling
1278 - updated Debian build scripts to build separate packages:
1283 - added menu support to Debian barrybackup-gui package
1284 - made the buttons bigger in the backup GUI, as they were too
1285 small on Debian Etch
1287 - more progress in porting to opensync 0.30, heavily
1288 based on the example plugin in the opensync
1289 svn tree... this is a work in progress, and so far
1293 - partial porting to opensync 0.30 (in progress!)
1294 - fixed bug in sync_done where it reported context error
1295 and then success afterward
1296 - checking in new INSTALL files based on Etch's autoconf run
1297 - added item to gui's todo list
1298 - bumped version numbers to 0.8 in:
1302 - gui/src/BackupWindow.cc (about dialog)
1306 Release: version 0.7 - 2007/05/02
1307 ------------------------------------------------------------------------------
1309 - added rpm building to maintainer/release scripts
1310 - added "HEAD" feature to tarball creation script, for easier testing
1311 - updated maintainer/README
1312 - updated maintainer/release.sh to use new HEAD feature too
1314 - added pppob to rpm barry.spec
1315 - bumped release number in barry.spec
1318 - fixed size check bugs (strlen() == 0 when empty)
1319 - finished refactoring calendar conversion routines
1320 - started timezone parsing, but this may go away
1321 if we use opensync 0.30's time functions and
1323 - added development note to README
1325 - updated README and opensync-plugin/README with more current
1328 - refactored some calendar conversion routines
1329 - added Barry->vCalendar conversion for recurring appointments
1332 - removed some unneeded trace logs
1333 - fixed VEventConverter constructor bug, with uninitialized
1335 - eased up the requirement that every calendar event
1336 must have a summary... defaults to "<blank subject>"
1338 - added more VCALENDAR fields to match Barry::Calendar record
1339 - fixed case sensitive compares in vformat.c
1341 - opensync module work:
1342 - added id map class to map string uid's from OpenSync to
1343 numeric ID's from the Blackberry
1344 - fixed bug in CommitChange() where it was still using
1345 a hard coded calendar record state table
1346 - added lots of logging throughout
1347 - fixed bug where newly added records didn't use the
1348 change object's uid, but created a new ID,
1349 causing another sync on the next run
1350 i.e. (CommitData_t was missing an argument)
1351 - fixed bug where uninitialized notification time was
1352 written to the Blackberry
1353 - more opensync module work:
1354 - refactored the environment class into another subclass
1355 called DatabaseSyncState, and moved some stand-
1356 alone functions from barry_sync.cc into
1357 the environment classes
1358 - added a tagged constructor to the trace class
1359 - fixed idmap::Load() to clear map before loading
1361 - renamed barry-config to barry-sync, the default configuration
1362 file for the opensync module... and filled it with
1363 a sample configuration
1364 - added code to update the calendar cache, and write it to disk
1365 on success (opensync module)
1366 - added code to clear dirty flags in the device (opensync module)
1367 - allowed comments in the config file
1368 - added vformat.c from libopensync 0.22, since the vformat
1369 routines are not available from the plugin side
1372 - added -d switch to bcharge to switch back from 0001 to 0004 mode,
1373 changed the auto-detection logic to ignore iProduct and
1374 only use idProduct, and updated man page
1375 - updated breset to recognize the Pearl in 00004 mode as well
1376 - changed src/probe.cc logic to assume that the second endpoint
1377 pair is the one needed for database communication, instead
1378 of doing a reverse search from the end... newer Pearls
1379 in Dual mode seem to have at least 3 or 4 endpoint pairs,
1380 and the old search didn't always work
1381 - applied sourceforge patch #1696884 from Peter Silva, updating
1382 the Debian build for Etch, and including all files in one deb
1383 - added Peter Silva to AUTHORS file
1384 - uncommented the "make distclean" in debian/rules, and removed
1385 the reliance on /tmp when installing 99-barry-perms.rules
1386 - applied bb_task_format.txt patch from Peter Silva
1387 - fixed each misspelling of "recurrance" to "recurrence"
1388 - tweaked src/probe.cc again for paranoia's sake... start at
1389 offset 1 if more than 1 endpoint pair, otherwise start
1391 - split up opensync module into multiple source files, and started
1392 using the opensync vformat routines for parsing and building
1393 the vevent20 data (experimental)
1395 - more incremental work on the opensync plugin, adding ADDED
1396 and MODIFIED functionality... (experimental!)
1398 - added code to dump extra descriptors during device discovery,
1400 - bumped opensync version number in configure.ac, and made
1401 the configure scripts more consistent with the rest
1403 - fixed printf-format size bug in opensync module
1405 - applied patch from Niels de Vos, fixing deb udev rules for Pearl
1407 - fixed extra space bug in LDIF output (added space when creating
1408 FullName, even if there was no last name)
1409 - fixed Address Book record parsing in Contact class... the
1410 Blackberry database uses field id 0x20 for both the
1411 first and last names, and if only a last name exists,
1412 the first name will be empty. Fixed parser to handle
1413 this special case, without relying on string length.
1414 Thanks to Troy Engel for reporting above two LDIF bugs.
1415 - added a few more constants to bcharge.cc
1416 - renamed opensync's configure.in to configure.ac
1418 - fixed bcharge to avoid endless reset loop... oops
1420 - reorganized bcharge.cc to make it possible to switch between
1421 Pearl modes 0004 and 0001
1422 - added flag to BadPassword exception class, to signal whether
1423 the library considers the device "out of retries" or not
1424 - updated socket.cc for new BadPassword exception
1425 - added special case to Controller class destructor to reset the
1426 device if being destroyed in a half-open state... this is
1427 a temporary fix until we understand how to handle
1428 the "already open" message we get when opening the Desktop
1430 - added password prompt dialog to the backup GUI
1431 - fixed possible memory leak in GUI's DeviceInterface::Connect()
1433 - committed Troy Engel's bbrules_mass_symlinks.patch, fixing
1434 udev rules for the Pearl
1435 - updated 10-blackberry.rules.Debian to match 10-blackberry.rules's
1437 - applied Troy Engel's barry.spec patch to generate all required
1438 RPM's... Thank you! Notes in the README taken from
1439 the sourceforge tracker entry containing the patch.
1440 - added libusb lib flags to tools/ and examples/ makefiles,
1441 and tweaked configure.ac with a better default,
1442 to build cleanly on RHEL 4
1443 - modified rpm/barry.spec:
1444 - does not create doc-only barry base package anymore
1445 - fixed "barry-backup" typo
1446 - removed the patch step, as version 0.7 shouldn't need it
1447 - added license file to each package
1448 - commented out console perms scripts, pending mailing list
1451 - applied Troy Engel's barry.spec patch to fix RHEL4 compile issues
1452 - fixed 80 column wrapping error in barry.spec, thanks to Troy Engel
1454 - applied Troy Engel's udev permissions patch for Redhat/Fedora
1455 systems, which automatically set the ownership of a
1456 newly plugged in device to the currently logged in console
1458 - added udev/README to document what all those files are for...
1459 part of the text comes from the sourceforge comment
1460 on the above udev permissions patch from Troy Engel
1461 - uncommented the console perms scripts for rpm/barry.spec
1462 - added libglademm-2.4 to gui/README's dependency list
1463 - made usbwrap.* calls more threadsafe
1464 - added Usb::Timeout exception for timeout errors
1465 - added preliminary UsbSerData support to library for GPRS modem
1466 functionality, using Rick Scott's XmBlackBerry's serdata.c
1468 - added overloaded Socket::Send() for sending without receiving
1469 - added preliminary pppob command line tool
1475 - gui/src/BackupWindow.cc (about dialog)
1478 - build system tweaks for opensync-plugin, and added a buildgen.sh
1480 - added better debug messages in probe.cc and usbwrap.cc's
1481 device discovery code
1482 - changed error handling for null interface->altsetting pointers
1483 when doing device discovery in usbwrap.cc. Seems that
1484 some devices report a higher number in bNumInterfaces
1485 than are really available... in this case, let's
1486 just ignore the missing data and assume success
1487 - applied udev script patch #1663986 from Troy Engel
1488 - applied barry-bcharge.spec patch #1672178 from Troy Engel
1489 - ReleaseChecklist update
1490 - added rpm/README based on Troy Engel's patch notes
1491 - updated new barry-bcharge.spec for version 0.7, removing patch
1494 Release: version 0.6 - 2007/02/28
1495 ------------------------------------------------------------------------------
1497 - fixed size checks for device database records larger than 64K
1498 Thanks to Michael Brown for the bug report.
1499 - added initial release maintainer scripts
1500 - fixed odd backup success message in GUI when doing a backup with
1501 no databases selected in configuration
1502 Thanks to Michael Brown for the bug report.
1503 - added udev permissions file patch from Michael Brown
1504 - added Michael Brown to AUTHORS
1505 - updated README, gui/README, and doc/USB-capture.txt
1506 - added -o command line switch to bcharge.cc, and updated man page
1508 - changed library behaviour so it only turns on libusb debug output
1509 if in data dump mode. In btool, -v controls this output.
1510 - minor stream formatting fix in btool
1511 - added OpenSSL dependency to build for password hash support
1512 - made debug dout() output conditional on Init() flag... In btool,
1513 -v now controls this as well
1514 - reverse engineered more of the initial probe packets, and
1515 implemented probing in struct based code... changes include:
1516 - added support for "attribute fetch" packets, used at
1517 the beginning of USB conversations
1518 - defined object/attribute id codes for the PIN number
1519 - made Protocol::SocketCommand more robust, and implemented
1520 its sequence number behaviour
1521 - moved ModeSelectCommand into SocketCommand, as it is a
1522 socket 0 level command
1523 - added initial protocol struct: PasswordChallenge
1524 - renamed Barry::Packet to DBPacket
1525 - added ZeroPacket for socket 0 packet creation and analysis
1526 - Barry::Packet is now the base class for the above
1527 - implemented socket 0 behaviour in socket.cc
1528 - changed return values for Send/Receive/Packet/NextRecord
1529 members in the Socket class from bool to void, as they
1530 don't generate errors themselves, but only can
1531 have an error if Usb::Device throws an exception.
1532 Cleaned up all code that called these members as well.
1533 - removed "last status" from Socket class as it was unused
1534 - updated probe.cc to use new socket 0 implementation
1535 - removed two of the hard coded packet handshakes in favour
1537 - updated controller.cc:
1538 - uses new socket 0 implementation
1539 - removed "flag" hack when opening sockets and
1540 selecting modes, as it should use the
1541 socket 0 sequence number
1542 - added initial, incomplete prototype header for the C API
1543 - updated some .cvsignore files
1545 - updated ReleaseChecklist.txt, adding rpm spec file
1546 - added the following to ZeroPacket:
1551 - moved Command() to base Packet class
1552 - added comments to protostructs.h and size constants for the
1553 new PasswordChallenge struct
1554 - added password support to Socket and Controller classes
1555 Thanks to Rick Scott's XmBlackBerry for the openssl
1556 password hashing logic.
1557 - updated btool to use new password support, and updated its man page
1559 - updated Doxygen input files and version, and added to ReleaseChecklist
1560 - fixed btool PIN output for LDIF mode, now commented in output
1561 - major LDIF overhaul:
1562 - split LDIF specific code out of the record class and
1564 - fixed "full name" behaviour that added an extra space
1565 in dn attributes, as reported by Troy Engel
1566 - added support for mapping of LDIF attributes to Barry
1568 - fixed base64 handling, so attributes are only so encoded
1570 - fixed base64 attribute reading inconsistency... some
1571 notes fields were missed in old version if not
1573 - added support for specifying alternate attribute for
1574 constructing a FQDN, instead of just "cn"
1575 - updated btool and upldif to use new features
1576 - large update to btool manpage
1577 - fixed initialization bug in Contact constructor (missed RecType)
1579 - added ktrans.cc to make reading of kernel usbfs_snoop logs easier
1580 - removed commented code from translate.cc
1581 - added Pearl handshake support to bcharge.cc, which resets the
1582 Pearl so that the vendor specific 0xFF class exists.
1583 This should allow use of btool on the Pearl.
1584 - added Data::AppendHexString to data.cc
1585 - added better probing support for the Pearl, so it detects the
1586 Product ID 0x0004 mode, and does a search for class 0xFF
1587 instead of hardcoding it.
1589 - applied README patch from Ian Darwin
1590 - minor tweaks to README
1591 - added missing errno.h header in src/usbwrap.cc for AMD64
1592 Thanks to Jonathan Hudson for reporting the bug.
1593 - tightened up size checks in Data::ReleaseBuffer()
1594 - stable libusb *does* return the actual length of the USB packet...
1595 fixed this in usbwrap.cc to set the actual size of read data,
1596 and removed the size hacks elsewhere in the code:
1597 probe.cc, protocol.cc, socket.cc, usbwrap.cc
1599 - added proper return codes for error conditions in btool.cc
1600 - clarified some stream output code in the library, for hex/dec numbers
1601 - removed old, non-working connect.cc test program
1602 - added iomanip to debug.h
1603 - changed usbwrap to call libusb again if EINTR and EAGAIN
1604 This should fix one of the OpenBSD issues
1607 - fixed bug in barrybackup GUI that didn't create the target path
1608 if the user didn't do Edit | Config first.
1609 Thanks to Ian Darwin for reporting the bug.
1610 - applied gui/src/ConfigFile.cc header fix patch for OpenBSD
1613 - added initial btool.1 man page from Ian Darwin
1614 - updated man/Makefile.am for new btool.1
1616 - applied btool -h help clarification patch from Ian Darwin
1618 - reworked exception hierarchy, so applications can handle all
1619 Barry related exceptions, including Usb errors, with
1620 one base class: Barry::Error
1621 - fixed all the ripple changes this caused throughout the codebase
1622 - added BadPassword exception
1628 - gui/src/BackupWindow.cc (about dialog)
1629 - updated doc/ReleaseChecklist.txt
1630 - added usb-level breset.cc command line tool
1631 - fixed bug in gui/src/tarfile.* for systems where
1632 sizeof(int) != sizeof(void*)
1633 - TarFile class now uses a plugin style for the compression
1634 operations, to allow for threadsafe versions if needed
1636 - also fixed leaked file handle bug in open_compressed()
1637 - Thanks to Jonathan Hudson for reporting this for 64bit systems
1638 - minor signed comparison fixes in the library
1639 - added better protocol data dumping code in probe.cc
1640 - added Usb::Device::BulkDrain(), to prevent Barry from hanging
1641 due to pending reads
1643 Release: version 0.5 - 2007/01/26
1644 ------------------------------------------------------------------------------
1646 - added missing errno.h header to gui/src/util.cc
1647 - lots more endian fixes after testing on iMac
1648 - iostream output size fixes
1649 - added option to btool to reset the device via software
1650 - beefed up exception handling in barrybackup
1651 - checked in opensync work-in-progress: trace logging, pointer bugfix
1652 this is still experimental
1653 - added aboutdialog.* files from gtkmm24 2.10.6, so we have a dialog
1654 class for systems running older versions of gtkmm, like
1656 - uncommented the about box menu handler
1657 - added "cleanall" option to root buildgen.sh script
1658 - update ReleaseChecklist.txt
1659 - removed CVS auto-history strings from aboutdialog.*
1661 - found a link between the unknown field in tagged protocol headers
1662 and the unknown field in RecordStateTable entries. This
1663 field matters when uploading certain databases, such as
1664 Browser Options. It is unknown what this field really
1665 means, but we're calling it RecType. Updated the API
1666 to use this in all parser objects and builder objects
1667 and record objects that use it.
1668 - changed some uses of uint64_t to uint32_t, in Contact and
1669 Calendar record objects... unique IDs only seem to be
1671 - added new static function to record classes: GetDefaultRecType()
1672 This returns the default rectype that should work
1673 for that record. Ideally this should be retrieved from
1674 the device, but in the case where a database has no
1675 records, this info would be good to know.
1676 - updated convenience template function Controller::AddRecordByType()
1677 to use GetDefaultRecType()
1678 - documented the recurrence data and how to use it in Calendar objects
1679 - added data debug output for incoming USB packets in the
1680 socket class... when we ported to the stable libusb
1681 we lost some of the verbose output... this should get it
1682 back. (In the official release, you need to uncomment
1683 ddout() in debug.h for the full blast of debug output).
1684 - backup GUI updates:
1685 - changed error_done signal into a pure error signal,
1686 and changed the logic so the restore continues
1687 even if there was a protocol error on one database
1688 - changed status bar messages to show what's happening
1689 i.e. Backup or Restore
1690 - default to not restore the "Handheld Agent" database as
1691 it appears to be read-only on the device
1692 - added temporary Restore & Backup mode for debugging
1693 - added extra hyphen to backup files to show date/time better
1694 - updated GUI to save and restore the new RecType field
1695 supported now by the library
1697 - added future considerations to doc/ReleaseChecklist.txt
1698 - applied big endian patch from Jonathan Hudson
1700 - removed endian.h include from barry.h, since applications
1701 using the library should not care about endianness
1702 - hard coded the path to config.h in endian.h
1703 so that endian.h never makes it into the final
1705 - removed DEFAULT_INCLUDES setting from src/Makefile.am
1707 - removed config.h dependency in btool.cc and used library
1708 Version call instead
1709 - added big/little endian text to the Barry::Version call
1711 - fixed install location of bcharge when building with ./configure;
1712 now goes to sbin/ for both source compile and binary packages
1713 Thanks to Jonathan Hudson for reporting this bug.
1715 - added smarter timeout values to controller, and allowed
1716 timeout overrides in the packet, socket, and usbwrap code...
1717 extra timeouts are needed for erasing databases for
1719 - added an explicit DataDumpParser class to btool.cc, as the
1720 library doesn't always have extreme verbose debugging on...
1721 this makes sure anyone can always get raw database packets
1722 through btool, for development
1723 - added thread callback signals for error finishes and erase_db
1724 operations, so the GUI is updated properly
1725 - more GUI cleanups (status bar updates, etc)
1726 - finished implementation of GUI restore
1727 - fixed gtkmm/glibmm exception handling when the exceptions
1728 occur in sigc signal handlers... in that case,
1729 exceptions need to be handled with
1730 Glib::add_exception_handler()
1731 - added filename-only reading support to TarFile class
1732 - added pending gui/TODO items
1734 - backup GUI now properly shows progress
1735 - the buttons become insensitive when backup is busy
1736 - refactored directory check code, and added mkdir check
1737 when to the backup setup (so the directory exists
1738 when we try to write to it)
1739 - updated code to use Barry::Data in new namespace
1741 - moved Data class into Barry namespace
1743 - updated copyright dates for the new year
1744 - clarified exception message in controller.cc
1745 - fixed pointer initialization bug in controller.cc
1746 - added documentation comments to parser.h and builder.h
1747 - updated ReleaseChecklist.txt
1749 - changed Barry library configure scripts to make better
1750 use of pkg-config for autodetecting dependencies
1751 - added initial Barry Backup GUI (gui/ directory), capable of making
1752 backups only at this point
1754 - added doc/ReleaseChecklist.txt
1755 - added version API, returning version number and string
1756 - added Troy Engel to AUTHORS
1757 - added special case to bcharge.cc for the Blackberry Pearl,
1758 which doesn't reset itself after the charge handshake
1759 Thanks to Troy Engel for testing.
1761 - added pkg-config support for the library (libbarry-0.pc.in)
1762 - fixed compile error on g++ 3.3 systems (missing stdint.h
1764 - fixed protocol hang at end of Controller operation... in
1765 controller destructor, it was deleting the USB interface
1766 before closing the socket at the BlackBerry level, thereby
1767 leaving the device in Desktop mode
1769 - support the newer udev packages on Ubuntu, which need slightly
1771 - modified bcharge.cc to search for Pearl devices too.
1773 - added Pearl product ID to probe code, but likely not functional
1774 yet until we find someone able to get a USB capture for us
1776 - version bump in configure.ac and src/Makefile.am
1778 Release: version 0.4 - 2006/12/29
1779 ------------------------------------------------------------------------------
1781 - added bcharge.cc to the tools/ directory (whoohoo!)
1782 - added initial release version of rpm/barry.spec (aka bcharge.spec)
1783 This begins the barry binary release, currently only
1784 including the bcharge utility, but possibly more in
1785 the future. Future binary packages will likely include
1786 libbarry, libbarry-devel, etc, which barry will then
1788 - added udev rule script for BlackBerry devices
1789 - added man/ directory and bcharge.1 manpage
1790 - added debian/ directory for building deb packages, with initial
1792 - added rpm/make-rpm-tarball.sh for building RPMs
1793 - split out technical docs into separate libbarry.docs file for
1794 a future Debian install
1795 - added more cleaning to buildgen.sh
1796 - added new udev rule file for Debian stable
1797 - hardcoded g++ to 3.3 in debian/rules as I have multiple versions
1798 on my system and need to compile releases with stable
1800 - ported Barry to use the stable branch of libusb
1801 NOTE: no longer depends on the devel libusb tarball!
1802 Just use your distro's libusb packages.
1803 - fixed more endian issues
1804 - minor update to TODO
1806 - moved Exceptions, Hacking, and VersionNotes to doc/
1807 - added doc/USB-capture.txt
1809 - added Controller::AddRecord() and template helper
1810 - added beginning version of generic RecordFetch<> template
1811 - set default of Barry::Init() to false (no data dump mode)
1812 - added examples/ directory, with first addcontact.cc example
1814 - added autoconf support based on Peter McAlpine's patch
1815 - renamed Makefiles to Makefile.orig and added script to turn
1816 on old build system if wanted
1817 - fixed boost-specific error path in btool
1818 - moved platform specific code out of time.h and into time.cc
1819 - moved btool.cc, translate.cc, and upldif.cc out of src/ and
1820 into their own tools/ subdirectory
1821 - added NEWS file to make autotools happy
1822 - added a "clean" option to the buildgen.sh script... maintainer's
1824 - reworked autoconf and automake files, to support
1825 barry as a library, to move the programs into their
1826 own tools directory, and support a proper installation
1827 - fixed headers in parser.h, btool.cc, and upldif.cc to work
1828 properly when installed standalone
1829 - added tools/Makefile.plain for testing compiling against
1830 installed barry library
1831 - added commentary on version number system
1832 - removed Makefile.conf and Makefile.orig, as new autoconf
1833 system supercedes it
1834 - added support for boost serialization library in autoconf build
1835 - added library version number to autoconf build
1836 - changed boost flag to __BARRY_BOOST_MODE__ to avoid collisions
1837 - removed debug.h dependency from btool.cc
1838 - removed libusb check in favour of specific --with-libusb
1839 option... may need to revisit this later
1840 - quick installation update in README
1842 - fixed some missed endian conversions in record.cc and added
1844 - fixed endian issues in time.h
1845 - added 2 more functions to the time zone API, and adjusted
1846 the time zone table for better defaults in North America
1847 - added btool and upldif to the make install sequence
1848 - added support for Calendar recurrence data
1849 - small doc/TimeZones.txt update
1851 - added BlackBerry time zone code list, reverse engineered from a 7750
1852 - added GetTimeZone() to convert device time zone codes to useful data
1854 Release: version 0.0.3 - 2006/11/24
1855 ------------------------------------------------------------------------------
1857 - added return code check to Controller::SaveDatabase()
1858 - fixed Data() class constructor, so it doesn't auto-convert
1860 - fixed size checking bug in Packet::ReturnCode() that caused
1861 uploading to device to fail
1863 - added Exceptions doc file, documenting the C++ exceptions used,
1865 - fixed small bug in 'make install' which didn't build first
1866 - minor documentation and cleanup in upldif.cc
1867 - added utility functions to the RecordStateTable class,
1868 GetIndex() and MakeNewRecordId()
1869 - changed btool so that the -d command modifiers can be
1870 specified multiple times to work with multiple records
1872 - added Calendar sync code to the opensync module (not complete)
1873 - cleaned up exception handling in the opensync module, making
1874 more use of the base exception to make sure no
1875 exceptions leak into the C library code
1877 Release: version 0.0.2 - 2006/10/12
1878 ------------------------------------------------------------------------------
1880 - fixed casting error in opensync module
1881 - minor updates to documentation to prepare for release
1883 - added stdint.h to parser.h for uint32_t. Thanks Ron Gage for
1886 - large refactoring of the packet parsing and building code,
1887 splitting the code into 3 groups:
1888 - record: handles record specific parsing and building...
1889 this is mostly subfields with CommonField structs
1890 as their headers, but sometimes has a specific
1891 header of its own, in the case of email
1892 Note: email's header is as yet undecoded.
1893 Record does not know the details of the packet
1894 formats, only the formats of its own record data.
1895 - packet: handles building of complete command packets
1896 and handles parsing of commonly used header values,
1897 providing an API for it... packet does not know
1898 the record format details, but does know the
1899 details of each Database Operation (protocol.h)
1901 So far, it seems that there is a real separation
1902 of operation formats and record formats, with the
1903 record formats being the same even with different
1904 database operation codes (GET_RECORDS /
1905 OLD_GET_RECORDS), which was not confirmed before.
1906 See the header size of the email record after
1908 - controller: handles device state, and the management of
1909 sockets, commands, and checking for response values.
1910 The Controller object does not know the format
1911 of either the record or the packet it is sending,
1912 but does know the protocol handshake logic used
1913 to talk to the device.
1914 - implemented SetRecord (SET_RECORD_BY_INDEX)... syncing, here
1916 - spelling correction in opensync-plugin/AUTHORS
1918 - added sample hotplug scripts
1919 - added .cvsignore files for doxygen and opensync directories
1920 - added src/endian.h... still need to add configure support to
1921 handle non-little-endian machines
1922 - added exception handler in opensync plugin commit_change()
1923 - removed the device reset code in probe.cc, as resetting a device
1924 can renumber the devices in /proc on kernel 2.4.x,
1925 and cause a failure to reach the device...
1926 FIXME - this should be changed someday to reset if probing
1927 fails, and restart the probe on reset, as sometimes
1928 the blackberry devices respond differently when not reset
1929 Ideally, the probe protocol should be properly reverse
1931 - added support for retrieving record state table, which is needed
1933 - added support for retrieving, deleting, and clearing the dirty
1934 flags of individual blackberry device records
1935 - added endian macros throughout the code
1937 - added opensync-plugin to root Makefile's clean
1938 - updated time conversion calls to match opensync's latest SVN
1939 - added opensync_change_set_changetype() (only add for now,
1941 - removed slow sync functions for now
1943 - added quick "install" makefile target, to src/install by default
1944 - added static library target... this is temporary until autoconf
1945 stuff is added properly... needed for the opensync plugin
1946 - documented in comments that Barry::BError is intended to be
1947 the base classes for all exceptions
1948 - added first round of implementation of an opensync plugin, based
1949 on the example plugin code from the opensync sources
1951 - added to Contact record class:
1953 - ReadLdif() to load and parse LDAP data
1954 - added fragmented send support to Socket class
1955 - added Probe::FindActive() to make client programs more streamlined
1956 - fixed hex/decimal printing of record counts in btool
1957 - added upldif.cc, a utility to take ldapsearch output on stdin
1958 and upload it to a blackberry
1959 - updated src/.cvsignore
1961 - added parsing of service book fields:
1963 - old and new unique ID (UID)
1965 - old and new description
1967 - bes domain / domain
1968 - date change in legal.txt
1969 - added initial parsing of ServiceBook field 0x09, and calling it
1970 ServiceBookConfig for now, for lack of a better name
1971 - added parsing for ServiceBook field 0x02 on 72xx Blackberries...
1972 seems to be a name or description, but doesn't appear
1973 in the device's own GUI... called "Hidden Name" for now
1975 - added ServiceBook record class and parser code, based on some
1976 of Ron Gage's reverse engineering... code is by Chris Frey
1977 - added AUTHORS file
1978 - fixed the libusb set_configuration/claim_interface order
1979 bug in controller.{h,cc}... already fixed in probe,
1980 but not controller. Thanks Ron Gage for finding this.
1982 - renamed Changelog to ChangeLog in preparation for autoconf
1983 - renamed Todo to TODO in preparation for autoconf
1985 - make clean cleans up tests properly now
1987 - turned source code browsing on in Doxyfile
1988 - added LoadDatabaseByName() and LoadDatabaseByType() template members
1989 to the Controller class
1990 - new file: controllertmpl.h
1991 - documentation fixes in builder.h
1992 - added static GetDBName() functions to all record classes, in
1993 support of the template Controller functions
1994 - fleshed out DatabaseDatabase::GetDBNumber() and GetDBName(),
1995 returning errors properly
1996 - documented sample btool.cc code better, and added example
1997 of Controller template member usage
1999 - copyright dates updated for 2006
2001 - backed out update to latest libusb DEVEL tree, since it is buggy.
2002 Stick with libusb 2005/11/26
2004 - added clean target to convenience Makefile
2005 - added Boost to list of dependencies in README
2006 - fixed minor compile warnings in base64.cc
2007 - fixed new USB discovery code, and changed endpoint usage to use
2008 it, instead of the READ_ENDPOINT and WRITE_ENDPOINT
2009 constants... constants are now removed
2010 common.h, controller.cc, probe.cc, probe.h, usbwrap.cc
2011 - added ClearHalt() to Usb::Device (usbwrap.cc)
2012 - updated usbwrap.h to match latest libusb CVS devel tree
2013 - updated README to refer to 2005/12/30 libusb CVS devel tree
2014 - added roadmap to Todo list
2016 - added convenience Makefile in root directory
2017 - added Hacking document
2018 - minor touchups to README
2019 - added caution warning to README, since this release will support
2020 delete / overwrite / upload functionality
2021 - minor compile order change in Makefile (speed reasons)
2022 - added dynamic endpoint discovery to probe.cc
2023 - changed claim_interface/set_configuration() function call order in
2024 probe.cc based on feedback on the libusb mailing list
2025 - added USB discovery code to usbwrap.{h,cc}
2027 - fixed packing bug in new upload header struct
2028 - renamed CommonField union from data to u to be consistent
2029 - added return_code field to DBAccess struct, for error checking
2030 - added response checking during upload: if response is non-zero
2031 throw exception in controller.cc
2032 - added sorting operators to record parser classes... when writing
2033 contact data to the device, it may be important to write
2034 group link items last, since they reference other contacts...
2035 This needs to be tested, and if not required, removed.
2036 - added GROUP_FLAG field code to Contact parser class
2037 - fixed offset bug in Contact and Calendar Build() functions
2038 - fixed name bug in Contact::Build(), now output only with data
2039 - added appointment type flag support to Calendar record parser
2040 class, and "all day event" flag support
2042 - added autoconf to Todo list
2043 - refactored the protocol structures so that record structs can
2044 be reused for upload and download
2045 - with new protostructs, more header control is handled by
2046 controller.cc instead of record.cc parsers and builders
2047 - parser code now accepts an offset, to govern start of record data
2048 - changed Data sizes from int to size_t and removed casts
2049 - removed unneeded Parser::GetHeaderSize() (new protostructs make
2051 - added Calendar::Build() for calendar uploads
2053 - added s11n-boost.h serialization templates for boost::serialization
2054 - added boost::serialization to build
2055 - minor change in usbwrap.cc to display error codes in decimal
2056 - added SizePacket special case code to Socket::Send()... this is
2057 required when uploaded packet size is a multiple of 0x40,
2058 a special 3 byte size packet is sent
2059 - moved some record class variables to public: so they can be
2061 - fixed variable name but in RecordBuilder template
2062 - added -f switch to btool, for saving and loading of record data
2063 - added -s switch to btool, for uploading saved data back to handheld
2064 - added Controller::SaveDatabase()
2066 - fixed potential casting / pointer bug in controller.cc
2067 - added builder.h, to support uploading
2068 - minor comment fixes in parser.h
2069 - added preliminary Contact protocol record building support
2070 - fixed field order bug in ContactRecord protocol struct
2071 - Contact record.h class now saves unknown Group Link field,
2074 - added -fno-strict-aliasing to compiler flags so gcc-4.0.x won't
2075 optimize away protocol struct casts
2077 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25235
2078 http://mail-index.netbsd.org/tech-kern/2003/08/11/0001.html
2079 http://groups.google.ca/group/comp.lang.c++.moderated/ \
2080 browse_thread/thread/e7bf096832526f8e/5714701b \
2081 02a2a3cc?hl=en#5714701b02a2a3cc
2082 - changed headers so that any low level protocol-specific sizes and
2083 structs are completely hidden in the library...
2084 this adds library-only header: protostructs.h
2086 Release: version 0.0.1 - 2005/11/25
2087 ------------------------------------------------------------------------------
2089 - added barry.h for documentation purposes and application usage
2090 - updated README for release
2091 - renamed SBError exception class to BError
2092 - updated Doxyfile to version 1.4.5
2093 - added more doxygen comments
2095 - added conversion routines (and tests) between time_t and min1900_t
2096 - added -v option to btool to dynamically control protocol dumping
2097 - removed duplicated database database table display in controller.cc
2098 - minor spelling corrections
2099 - added copyright to usbwrap.{h,cc} as per earlier meeting
2100 - added support for Old protocol Calendar entries
2102 - added legal.txt, to save typing when adding new source files
2103 - ignore test-base64 file (cvsignore)
2104 - added contact-to-ldif generation, and updated supporting code
2105 - added argument to btool to support contact-to-ldif operation
2106 - added Contact::GetPostalAddress()
2107 - added README documentation in preparation for future release
2109 - added parser.{h,cc} virtual wrapper to generalize LoadDatabase()
2110 - added code to socket.cc's Packet() command to re-receive on
2111 reception of empty packets... this seems to be a signal
2112 from the device that it needs more time for long transfers
2113 Current limit: 10 blank packets before exception is thrown
2114 Observed maximum blank count: 1
2115 - added MessageRecord and OldMessageRecord to protocol.h
2116 - changed common record field structs to one CommonField struct
2117 - increased default USB timeout to 10 seconds (some loaded devices
2118 seem to need more time...)
2119 - reorganized record.{h,cc} to try to reduce the code duplication
2120 - record.h classes now "know" the sizes of their corresponding
2121 protocol structs... this may cause trouble down the line
2122 with Python, if used(?)
2123 - added Message class for Email records
2124 - removed the "Get*" database functions and replaced with
2125 general LoadDatabase() call, which loads any database
2126 available, and parses it with a Parser object
2127 - added GetDBID() for searching for database numbers via name
2128 - added test code to retrieve and display all email
2129 - cleaned up comments
2130 - renamed blackberry.{h,cc} to controller.{h,cc}
2131 - renamed bbtool.cc to btool.cc
2132 - added Makefile.conf
2133 - added copyright notices to source files
2134 - added COPYING file with GPL
2135 - put parser in Barry namespace, and added auto_ptr-like mode for
2136 store object pointers
2137 - added doxygen docs
2138 - added header comments to convo.awk script
2139 - removed Test() function in Controller object, and made class
2140 better suited to its general API purpose
2141 - changed OpenMode() so it loads command table and DBDB... it is now
2142 a public API function
2143 - moved Controller test code to btool.cc and made tool more
2144 generically useful... can now download any DB by name on
2146 - added mode checks to Controller
2147 - added -t and -d command line options to btool
2148 - added base64 routines from John Walker / Fourmilab and Citadel/UX
2149 - converted base64 routines into an API, instead of hardcoded
2152 - changed project name to Barry, including namespaces
2153 - renamed sbcommon.* to common.*
2154 - increased USB default timeout to 2 seconds
2155 - fixed formatting bug in Data operator<< output
2156 - cleaned up the protocol packet structs, getting rid of the
2157 confusing param/simple split... param is now the tableCmd
2158 from the Command Table
2159 - moved protocol structs from record.h to protocol.h
2160 - added support for older version of the USB protocol, which matches
2161 the Cassis spec more closely
2162 - fixed the hardcoded offsets in blackberry.cc's protocol parsing
2163 - fixed Socket::Close() so on error, socket flags are reset.
2164 This stops Close() from being called twice on exception
2167 - added Doxyfile to the project
2169 - added mode selection support to Blackberry class (RIM Desktop,
2170 RIM Bypass, and RIM_JavaLoader)
2171 Mode selection governs which socket is used in subsequent
2173 - added Command Table parsing and protocol support
2174 Blackberry class, and CommandTable record class
2175 - added Database database parsing and protocol support
2176 Blackberry class and DatabaseDatabase record class
2177 - added Address book retrieval support - dumps data to stdout for now
2178 - fixed bug in CopyOnWrite mode in Data class, where could allocate
2179 less buffer than data copied
2180 - added "easy exception" debug output macro
2181 - fixed minor spelling error in protocol.cc
2182 - fixed ModeSelectCommand protocol structure - it is not a parameter
2183 command, but uses the unknown slots for socket and flag
2185 - removed hardcoded socket numbers from protocol.h
2186 - fixed bug in socket.cc:Open() where packet size was not properly
2188 - implemented socket::Close()
2189 - fixed sequence number checks, so it is reset properly on socket 0
2190 - added Socket::NextRecord() for multiple record data transfers
2191 - fixed input handling bug in translate.cc
2193 - added .cvsignore files to project
2194 - added README notes to document the source architecture
2195 - added dbsetup data script, which shows how to get into database
2196 mode, using the RIM Desktop mode, and open a socket
2197 - added blackberry.{h,cc} class
2198 - added command line parameters to bbtool.cc
2200 -p = specify pin of blackberry device
2201 - added blackberry test code in bbtool.cc - debugging the initial
2202 opening protocol: sockets, modes, etc... see dbsetup for
2204 - added copy-on-write functionality to Data class, so it can be used
2205 with plain data buffers with little performance impact
2206 - added eout() and ddout() debugging - to separate:
2207 - regular debug output
2208 - exception debug output (should probably be logged to
2209 syslog someday, and never turned off)
2210 - raw data dump output
2211 - changed errno SBError exception handler to try to decode the error
2212 numbers into english (limited success)
2213 - fixed probe and socket USB Bulk message handling, so they don't
2214 use PollCompletions(), but use IO::Wait() (libusb_io_wait())
2215 - added common packet size checker in protocol.cc
2216 - fixed unpacked protocol packet structs... using gcc's
2217 __attribute__ ((packed)) ... see protocol.h
2218 - added ModeSelectCommand structure (protocol.h)
2219 - finished Socket::Open() call (Close() not yet implemented)
2220 - moved Socket::Send/Receive() out of private, as they can be used
2221 for socket 0 operations.
2222 - cleaned up pointer management with macros:
2226 - added IO::Wait() and IO::Cancel() to correspond with libusb API
2227 - added datadumping in usbwrap for easy protocol capture
2228 - added preliminary record.{h,cc} classes
2229 - added Contact record parsing, and test code
2231 - syncberry tree started