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