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