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