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