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