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