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