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