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