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