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