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