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