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