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