1 Release: version 0.17 - 2009/11/??
2 ------------------------------------------------------------------------------
4 - gettextize by Nicolas VIVIEN
6 - doc: added list of reasons why to submit patches, and notes
7 on how to create a forked tree on repo.or.cz
9 - removed redundant library dependencies from autoconf build
14 - gui/src/BackupWindow.cc
18 - opensync-plugin/src/barry_sync.cc
19 - opensync-plugin-0.4x/src/barry_sync.cc
21 Release: version 0.16 - 2009/10/01
22 ------------------------------------------------------------------------------
24 - added PNG generated icon based on SVG source files
25 - added barry logo to barrybackup-gui Debian and RPM packages
26 - applied new barry logo and icon from Martin Owens
27 - gui: use short barry URL in About box
28 - gui: fixed bug where actual finished records were overwritten
29 with the starting total... don't overwrite the actual
31 - gui: added thread state, to determine what operation finished
32 Also improved status message, specifying exact operation
33 - gui: added code to check that actual # of backed up records
34 matches the total number reported by the device, and
35 display a warning to the user if they don't match
36 - www: added known issue about international chars and protocol change
38 - os4x plugin: updated for the pkgconfig libopensync -> libopensync1
40 - added bjdwp.1 manpage
41 - added bjdwp and manpage to rpm and debian packages
42 - added bash and zsh completion scripts to debian & rpm packages
44 - gui: fixed status text during restore (said "Backup" instead
47 - updated various URLs to point to netdirect.ca
48 - lib: moved vSmartPtr<> from opensync plugin code to main library
49 - lib: fixed memory leaks in vSmartPtr (doh!)
50 - lib: added vLateSmartPtr<> for setting of FreeFunc after construction
52 - updated opensync 0.4x plugin to compile against latest SVN
53 - removed unneeded osync_error_unref() from get_sync_info()
54 - updated plugin to support the new OSyncError** arguments
55 scattered all over the code
57 - added IRC info to contact www doc page
59 - changed all the ancient SYSFS{} keynames into ATTRS{} keynames
60 in all udev rules files
61 - added udev rule for BB Tour Product ID 8007
62 Thanks to Theodore Charles III for testing and suggested
64 - removed obsolete duplicate SUBSYSTEM keynames from udev rules
65 - created new cross-distro udev rules set, with documentation
67 - updated deb and rpm package rules with new udev rules set
68 note: opensuse needs work
70 - merged Josh Kropf's brimtrans fix: 59abfa6959eb350221fa56a03ba5816
71 - applied bash-completion scripts by Ryan Li
73 - merged Josh Kropf's compile fixes
74 - applied zsh missing bracket patch from Ryan Li
76 - merged Nicolas Vivien's debug parser lib updates
78 - fixed API spelling typo and capitalization
79 - added firmware upgrade to TODO list
80 - added checks for pthread function errors in Thread class
81 - moved #defines out of public dp_codinfo.h into dp_codinfo.cc
82 Applications probably don't care about these.
83 - changed string arguments to const references
84 - added STL-style typedefs to list classes to make looping easier
85 and easier to change types if needed
86 - added libbarrydp as dependency for libbarryjdwp
87 - replaced direct cout usage with dout() in dp_codinfo.cc
88 - added Barry::Init to bdptest.cc, defaulting to verbose
89 mode, to keep the same behaviour as expected
90 - use more generic std::istream in dp_codinfo, instead of ifstream
91 - use references with iterator looping to avoid copies, and
92 use const where appropriate
93 - added typedef for j_server.cc's ConsoleCallbackType
94 - tightened up member variable init and cleanup in JDWServer class
95 - added exceptions in JDWServer class where marked TODO
96 - made setup sequence dependent on previous steps, in acceptThread,
97 so that the logic doesn't assume success where it could
100 - added copyright notices to all source files in bjdwp/
101 This is based on the initial README included in
102 the patches from Nicolas Vivien stating that bjdwp
104 - added GPL license as file bjdwp/COPYING, since bjdwp is
105 somewhat standalone, like the plugins and the gui
106 - bjdwp: removed jdwplog() in favour of identical barryverbose()
107 - bjdwp: moved into main tree from bjdwp/ and created two new
108 libraries: libbarrydp and libbarryjdwp
110 - fixed potential loss of serial data during PPP init
111 when seding the AT test, usually the OK response is
112 sent to the callback, but if the expected non-serial
113 response doesn't appear, the OK is lost... this fix
114 passes the OK to the callback, which fixes some chatscript
116 - gui: updated web documentation and screenshots
118 - changed wording on GUI reload button to clarify what it does
119 - added documentation on how to change the theme for GTK+ apps
120 when not using the Gnome desktop environment
121 - fixed broken links in web doc generation
123 - applied backup GUI patches from Ryan Li:
124 - resolved crash while disconnecting from no devices
125 - added confirmation dialog before quitting
126 - gui: handled case where the user exits via window manager Close
128 - also refactored 'working' confirmation logic
130 - fixed socket RawReceive verbose log message
131 when reading from the default queue, the queue knows the
132 endpoint, not the socket object
134 - added version output when -v is used in pppob
136 - fixed syncing of 8 contact phone numbers. Reported by
137 Ian B. MacDonald, 2009/08/22
138 - ported above syncing fix to opensync 0.4x plugin
139 - applied Martin Owens' Barry logos 'patch'
141 - applied chatscript patch from Andrew Nording
142 Sourceforge tracker #2848549
143 - added KPN chatscripts to DEB and RPM binary packages
144 - added KPN to script list in doc/www/modem.php
145 - pulled from Nicolas Vivien: a909925ef6bf3d75b1597a9ddd16f52201690cbb
146 Fixes for library and bjdwp documentation
147 - moved bjdwp/doc/* to doc/bjdwp/ to keep docs in one spot
149 - pulled from Nicolas Vivien's repo.or.cz repo: bjvmdebug support
150 With rebase changes and fixes to library.
152 - fixed buffer size checks in m_jvmdebug.cc
153 - used #defines instead of hard coded numbers where possible
154 - added FIXME to tidy up the Unknowns in the API
155 - commented out Mode::Close(): not convinced that applications
156 should have to worry about socket-level details
157 - added #define for JVM STOP command
158 - removed unused Socket::PacketJVM() functions
159 - made sizeof check in JVMPacket::Size() more specific
161 - removed executable chmod bits from BarryDemo java samples
162 - removed copyrighted Sun documentation from bjdwp/doc/
163 - fixed longstanding buffer size check bug in CheckSize()
165 - applied Ryan Li's latest threaded GUI patch (2009/08/25 email)
166 - gui: added a wrapper around pStatusbar->push() to avoid
167 the never ending push syndrome
168 - gui: added PIN to the "please name new device" dialog
169 - gui: added statusbar workaround: normally the statusbar shows
170 Ready after initialization, but since the initial Scan()
171 happens right away, and the statusbar doesn't seem to
172 update the screen until the handler is finished,
173 we update the status bar during init instead
175 - applied Martin Owens' ppa_build.sh patch
176 - added version output when -v is used in btool
177 - changed USB verbose bus tree dump (i.e. btool -v) so the
178 hex/decimal values look more like lsusb -v output,
179 for ease of debugging
185 - gui/src/BackupWindow.cc
189 - opensync-plugin/src/barry_sync.cc
190 - opensync-plugin-0.4x/src/barry_sync.cc
192 Release: version 0.15 - 2009/08/28
193 ------------------------------------------------------------------------------
195 - added binary build for Ubuntu 9.04 to maintainer scripts
197 - added binary build for Fedora 11 to maintainer scripts
199 - updated www documentation for upcoming release
200 - applied Nicolas Vivien's phone duplication patch (opensync 0.4x)
201 - fixed missing conflict check in vcard code in opensync 0.4x plugin
202 - backported new TYPE parsing code from opensync-0.4x plugin to
203 old opensync 0.22 plugin
204 - added X-EVOLUTION-UI-SLOT support in both sync plugins to retain
207 - added pin and password command line support to bfuse
208 - updated bfuse man page
210 - added border to barrybackup doc images
212 - updated license and URL in barry.spec
213 - updated barrybackup Credits dialog to reference AUTHORS file
214 - updated barrybackup.1 man page
215 - updated doc/www scripts to generate more dynamic pages,
216 so subheaders are not hard coded... this helps support
217 updating the new NetDirect website
218 - commented out out-of-date docs in hacking.php
219 - marked milestone 4 complete (javaloader)
220 - linked device compatibility list from index.php
222 - changed pppob to report if Serial was fallback or command line
223 - started device compatibility list in web docs
225 - applied Ryan Li's GUI enhancement patches, which let the user
226 switch devices without restarting, with fixes:
227 - reorganized BackupWindow.glade for better spacing
228 - fixed width issue (main window was set to 275
229 width, which made things too narrow on Debian
231 - moved buttons beside the drop down box, to
232 mimic old GUI behaviour
233 - added space around the middle controls, but
234 not around the menu bar or status bar, which
235 should be right against the outer window.
236 - renamed m_device_num to m_device_count for clarity
237 - changed m_device_count to unsigned int to fix compiler
239 - removed gtkmm call to unset_model()
240 The function unset_model() is only available in gtkmm
241 2.16, and Debian Lenny only has 2.12, and won't compile.
242 Since set_model() automatically does the unset for us,
243 just reorganize the calls so Lenny is supported.
245 - applied Ryan Li's SMS clarification patch
247 - added Martin Owens' new Ubuntu PPA link to docs
248 - added DEPUTY documentation and updated AUTHORS
250 - documentation updates
251 - added SMS to list of parsers in documentation
252 - updated sync notes for Fedora 9 and 10 in documentation
253 - removed Martin Owens' PPA binary package link, since
254 I can't find the binaries anymore
255 - reverted commit 2d0e60d1: put hal fdi files back
256 - updated HAL FDI files for Fedora 11
257 - duplicated directory hierarchy under hal
258 - added 19-blackberry-acl.fdi to add the access_control
259 capability to blackberry devices when they are
260 plugged in. As long as this file is under
261 the 10osvendor directory, then
262 20-acl-management.fdi runs after it, adding
263 the hal-acl-tool callout, which does the low
264 level getfacl/setfacl work on the /dev/bus/usb/*/*
267 http://lists.freedesktop.org/archives/devkit-devel/2009-June/000247.html
268 - changed hal fdi policy to use "pda" instead of "scanner"
269 - applied Ryan Li's 7-bit GSM conversion patch for SMS records
270 - applied Ryan Li's barrybackup patch: can now select backup path
272 - fixed install location of hal fdi files in debian and rpm
273 HAL reserves /usr/share/hal/fdi/information/10freedesktop
274 for files that the project itself distributes, so
275 we get to use 20thirdparty.
277 - cleaning up autoconf warnings on Fedora 11
278 - changed buildgen.sh to run libtoolize first for all subprojects,
279 otherwise, a later project's run may copy files into ../m4
280 after having created configure for a previous project.
281 This would cause a makefile discrepency during the build
282 on some systems (Fedora 11), and cause configure to be
283 incorrectly regenerated mid-build, due to timestamps.
285 - updated dependencies documentation page
287 - added BadPacket exception, for socket errors that need to meddle
288 with the response code
289 - added special case for JavaLoader's Goodbye packet
290 On older devices, such as the 7750 and 7130, they respond
291 with a NOT_SUPPORTED error instead of an ACK, for Goodbye
292 packet commands. This is seen in Windows traffic as well,
293 so should not be considered an error. Thanks to Josh Kropf
294 for confirming this protocol behaviour.
295 - updated socket.cc to use new BadPacket exception where appropriate
296 - pulled from Josh Kropf: 0f1cca2fa69d0810d439ade4fb3dd0dfa15c89a6
297 - fixed size issue with deviceinfo command on 7130 devices
299 - reworked autoconf rules to handle every kind of Boost dependency:
300 - let user enable/disable from configure, default to
301 disable, but error if enabled and not available
302 - let user specify separate include and lib paths, since
303 some Boost installations have an additional
304 boost-1.34.1 style directory in them
305 - default to no path overrides, using system defaults
306 - let user specify name of serialization library, since
307 the name of the library can change whether you're
308 building from source or not
309 - default to searching for boost_serialization or
310 boost_serialization-mt, and error if not found
311 - New configure switches are:
312 --enable-boost Handles enable/disable
313 --with-boost-include=path Override the include path
314 --with-boost-lib=path Override the lib path
315 --with-boost-serialization=name Override the name of
316 serialization library
318 - updated documentation, build test, and binary packages to use
321 - added non-backward-compatibility note to man/btool.1
322 - applied Nicolas Vivien's LDIF patches, clarifying split
323 between work and home addresses, and adding support
324 for the homePostalAddress LDAP field
325 - fixed missing #includes for Fedora 11. Thanks to
326 Nathanael Noblet for reporting this.
327 - applied Ryan Li's PPP chat script for China Mobile
328 - added barry-chinamobile chat script to RPM and Debian packages
329 - renamed blacklist-berry_charge to blacklist-berry_charge.conf
330 for Debian sid and Fedora 11. Thanks to Rodrigo Linfati
332 - applied Nicolas Vivien's autoconf patch to automatically
333 search for boost_serialization or boost_serialization-mt
335 - applied Dr. J A Gow's category patches (task + memo)
336 - fixed compile error when using Boost
337 - cleaned up Categories handling:
339 - Dump() should be consistent across Calendar, Memo, Task
340 - fixed i18n support to category names
341 - cleaned up code formatting to match surrounding code
342 - moved CategoryList to its own class, and removed duplicated
343 string conversion code
344 - removed protocol-specific MemoType and TaskType fields from
345 their corresponding record classes
347 - applied Nicolas Vivien's Task builder patch for the Storm
348 and Bookmark documentation patch
350 - applied most of Dr. J A Gow's recurring iCal sync patch
351 - did not include the pure upper case changes, since
352 it is an RFC bug in SynCE
353 see http://www.mail-archive.com/barry-devel@lists.sourceforge.net/msg01109.html
354 - added starttime to RecurToBarryCal() args, to make the
355 prerequisites clear (StartTime must be determined before
356 recurrence is parsed)
357 - added check that COUNT is not zero (RFC requirement)
358 - fixed timezone drift: using gmtime() + mktime() uses two
359 different timezones... use localtime() + mktime() instead
361 - reformatted if/else FREQ tests into a more readable
362 sequence, and fixed a logic error in the yearly count
363 advance, which should only happen when FREQ == YEARLY
366 - going through www documentation, updating for 0.15
367 - updated man/btool.1 with new -a option
368 - updated TODO list with new reality
369 - applied Nicolas Vivien's phone call log parser patches
370 - added CallLog to s11n-boost.h
371 - added size checks to parser
372 - removed CallLogType, since it is protocol specific
373 - added and tidied comments
374 - made CallLog::Clear() match the class declaration order,
375 fixed missing member, and used enum names to set
378 - applied Nicolas Vivien's task sync patches, with btool updates
380 - now that there's a Desktop::ClearDatabase() call,
381 use it in SaveDatabase() to reduce code duplication
382 - use separate vector<> clearDbNames in btool
383 to eliminate chance of mixing -d and -a argument
384 types and losing data
385 - reverted VNOTE change in vformat.c
386 - added VFORMAT_JOURNAL support to vformat.c based on
387 r2795 of the opensync vformat plugin
388 - fixed some TimeZoneValid flag mistakes in Task and Calendar
389 - display DueDateFlag in src/r_task.cc
390 - changed vtodo.cc so DTSTART is only set if available in BB data
392 - applied Nicolas Vivien's zsh patch
393 - applied Nicolas Vivien's memo sync patch
394 - added MEMO_TYPE 'm' to built memo record
395 - updated btool to include new Memo builder
396 - updated config.rpath to latest from Debian stable
398 - removed free() in tarfile.cc, since some distros have bugs in
399 th_get_pathname() that doesn't return a freeable string
401 - fixed some missing headers as reported by Christopher Stover
402 - applied Ryan Li's SMS body null terminator strip patch
403 - fixed code formatting issues
404 - added comment on why we're stripping out nulls
405 - fixed potential single byte buffer overflow
406 - pulled from Josh Kropf: 8266c95a94
407 added "reset to factory" command to bjavaloader
408 - split creation of deb src tarballs into separate script
409 instead of tar-create.sh
410 - added more statements for the m4/ directory in configure.ac
411 and Makefile.am, attempting to eliminate build warnings
412 on FC10, as reported by Christopher Stover
414 - applied Nicolas Vivien's sscanf patch (opensync-0.4x)
415 - wrapped OSyncList in vSmartPtr<> to automatically handle
416 all calls to new osync_list_free() API
417 - applied Ryan Li's updated SMS parser patch
418 - moved SMS metadata structure into its own struct
420 - fixed some endian conversion errors
421 - added strnlen() call to avoid null terminators in
422 the Addresses strings
424 - added brimtrans to rpm spec file and debian install
426 - fixed OSyncList* leak in 0.4x plugin from call to
427 osync_plugin_info_get_objtype_sinks()
429 - added IConvHandle, making it possible to support more than one
430 charset in Blackberry data
431 - removed patches from opensync-plugin-0.4x 'make dist' target
432 - updated buildtest.sh for opensync 0.4x
434 - updated man/bjavaloader.1
436 - added Product ID 8001 for the Pearl Flip. Thanks to John Ladan
437 for reporting the new ID.
439 - removed 0.22 opensync patches from 0.4x tree
440 - applied opensync Photo support patches from Nicolas Vivien
441 - renamed SequencePacket() to HideSequencePacket() for clarity
442 This is a temporary measure... this sequence packet
443 code needs to be cleaned up.
444 - added Photo support to examples/addcontact.cc
445 - removed try/catch from vcard/vevent, pending feedback from Nicolas
446 - applied Ryan Li's SMS record parsing patch
447 - changed capitalization to match other code
448 - added Sms to s11n-boost.h and required operator
449 - added Sms to btool.cc, record.h, and Makefile.am
450 - added size checks to the parser code
451 - cleaned up brackets and casting
452 - made dump output prettier (at least to me) :-)
453 - added "unknown" state for MessageStatus, as default
454 - cleaned up whitespace
456 - added endpoint override to Probe class while testing the 7130
457 When using btool's -e option, the Probe class still
458 attempted to probe endpoints as it saw fit.
460 - fixed double-free bug in opensync 0.4x plugin
461 Can only report error or success once in a change.
462 - updated buildgen.sh to handle ctags for multiple opensyncs
463 - fixed inverted logic when doing a hashtable slowsync (opensync 0.4x)
464 - fixed uninitialized osync_trace args in both vformat.c files
466 - opensync 0.4x changes due to upstream API updates
467 - removed idmap and cache code, in favour of opensync's
468 uid mapping and hashtables respectively
470 - opensync 0.4x changes due to upstream API updates
471 - removed deprecated opensync header
472 - updated 0.4x plugin to use new slow-sync API
473 - updated 0.4x plugin to use new function registration and
475 - updated 0.4x plugin to use new sink list (API change)
477 - changed PIN format from decimal to hex in opensync-0.4x plugin
479 - added special case so photo data does not print raw in btool dumps
480 - fixed call to trace.logf() in plugin code... should never call
481 a printf-like function unless you use a constant "%s"
482 - made opensync-0.4x:vformat.c's base64 routines const-correct
483 - fixed free()-crash bug in both vformat.c files
484 When generating the resulting VCARD data, vformat.c assigned
485 static strings to a dynamic heap list pointer, and the
486 later free always failed.
487 - merged some changes from Jose Sogo's Debian package work
488 - menu changes to conform with policy
489 - renamed opensync plugin package name to match Debian
490 - added Nicolas Vivien and Josh Kropf to debian/copyright
491 - fixed uninitialized variable in SocketZero
492 - fixed memory leak in tarfile.cc
493 - fixed uninitialized time struct in bjavaloader.cc (valgrind error)
495 - fixed typo in zsh/_bjavaloader thanks to feedback from Nicolas V.
496 - pulled from Josh Kropf: 75b1a89e8b1eb9d89bcd8b5ecbed9a47af5a8930
497 added logstacktraces support to bjavaloader
498 - updated TODO list with "- All" database parsing
500 - added git tag signing to maintainer scripts
501 - added signed tagging to release checklist doc
503 - updated opensync-plugin-0.4x/README with build help
505 - pulled from Josh Kropf: d6c3173ccd87c6223647950963da79331a68d712
506 added deviceinfo support to bjavaloader
507 - pulled from Josh Kropf: 272f371e8bb95b6c41a8293de657da45a782736f
508 new tool: brimtrans for dealing with RIM USB logs
509 - pulled from Josh Kropf: 7ed1df560ea7cc6a2205d8f8627c00c7aaed2294
510 added wipe support to bjavaloader
511 - added confirmation step to bjavaloader wipe, so it is harder to
512 accidentally wipe your device
513 - applied zsh patch from Nicolas Vivien for bjavaloader wipe
515 - changes inspired from Rick Scott's XmBlackberry
516 - event log timestamp is a time_t in milliseconds
518 - added Mode base class for common mode class code
520 - reorganized external links by date and topic, and added link
521 to Nicolas Vivien's Blackberry on Linux documentation
523 - pulled from Josh Kropf: b3d3a6f48fe008e8842c057df4a653a04b9c56ce
524 - compile fix when using __DEBUG_MODE__
525 - fixed timeout when calling JavaLoader::GetDir on device
528 - fixed embarrassing incorrect exception messages in usbwrap.cc
529 Fortunately, these didn't affect my timeout testing.
530 - added Data::QuickZap(), so that usb read errors don't
532 - inlined Data::QuickZap()
533 - added usb_set_altinterface() call to Interface class
534 This should hopefully workaround the change in 2.6.28
535 kernels where set_interface is not called by the kernel
536 automatically anymore.
538 - applied Nicolas Vivien's opensync-0.4x API patch
540 - applied Nicolas Vivien's zsh patches
542 - added opensync-0.4x to tar-prepare.sh maintainer script
544 - added note about novj option issue in barry-att_cingular
545 - added gettext to documentation dependency list (for iconv.m4)
547 - clarified bjavaloader save behaviour
548 - updated bjavaloader man page
549 - added maintainer/build as exception for test/buildtest.sh
550 - merge opensync-0.4x branch into master:
552 - removed nested m4 in preparation for merge into
555 - applied Nicolas Vivien's opensync-0.4x
556 Calendar+Contact patch
558 - applied Nicolas Vivien's opensync-0.4x
560 - removed unneeded ChangeLog.osync
561 - added opensync-plugin-0.4x to top level configure, but not to
563 - added old emails from Ron Gage from 2006 regarding Autotext
564 and Service Book parsing
566 - pulled from Josh Kropf: 9b63a99867b3314b8d42212cac05a6f28860d37b
567 - saving large modules in pkzip format
568 - cleaned up StartStream function; use JLPacket instance
569 - refactored SendStream; use JLPacket instance and use simple
570 function for seeking to next cod file in input stream
571 - made following changes to Josh Kropf's patches
572 - Added CODFILE_TYPE_SIMPLE check back in
573 - Minor change of c_str() to data() where a null terminator
575 - Fixed unlikely buffer overflow in m_javaloader.cc
576 Goal: never trust outside sources of
577 information (including that from the device) when
578 managing our own buffers.
579 - Removed CodFile forward declaration, since class does not
581 - Fixed typo in configure.ac, and made missing zlib warning
583 - Added clarifying comment to CodFileBuilder
584 - Fixed potential reference bug in CodFileBuilder constructor
585 It is possible that the const std::string& passed
586 into the constructor is a temporary, so make a copy
587 of it instead of just holding a reference.
588 - Removed multi-unget call in cod.cc -- only one unget() is
589 guaranteed in C++. It appears that the unget is
590 unnecessary, since the following code seeks to end
591 and back to beginning anyway.
592 - Added copyright line for Josh Kropf in cod.cc and
594 - Fixed incorrect zlib check, since zlib doesn't support
595 pkg-config on most systems yet. Changed it to
596 use AC_CHECK_LIB, and added a --with-zlib configure
597 option which will cause configure to halt if
598 zlib is not available. Added --with-zlib to
599 binary package builds, and to build test script.
600 - added zlib to rpm and deb build requirements list
602 - updated USB capture logs archive page with new logs from Josh Kropf
603 - applied as patch Josh Kropf's annotated javaloader-reset.txt log
604 - added note about windows registry keys to USB-capture.txt
606 - applied Josh Kropf's patch adding support for forced erase and
607 load while module in use, properly handling when the
608 device requests a reset
610 - applied Nicolas Vivien's RecordId patch for Contact class...
611 this updates Barry to deal with the new record ID behaviour
614 - removed unneeded call to .c_str() in EmailAddress stream operator
615 - added support for Calendar fields: Organizer, Accepted, Invited
616 - reorganized the udev/ script directory, based on distro,
617 and added a specific rules file for openSUSE 11.1
618 - updated Debian and RPM binary scripts to point to correct udev files
620 - applied Nicolas Vivien's patch to fix the timeout issue on the
623 - applied Josh Kropf's save module patch
624 - minor whitespace fixes
625 - removed unneeded exception (fstream closes files
626 automatically on exit of scope, or exception)
627 - fixed compile error with variable sized array...
628 replaced with std::vector<> instead of memcpy,
629 in JavaLoader::SaveData()
630 - commented out an unused variable
632 - commented out AT+CREG? in barry-rogers.chat, since it causes some
633 Blackberry devices to reboot
634 - applied Josh Kropf's eventlog and clear eventlog patches
635 - capitalized JLEventlogEntry fields, to match other
637 - use constant when parsing entry
639 - sweeping cleanup of record classes and clarified all constant
640 conversions i.e. whenever converting between a protocol
641 constant and an API constant, do it through a function,
642 in case the constants change on the Blackberry side
644 - applied patch of binary VSM file from Robert Yaklin
646 - moved Nicolas Vivien's codfile code into library class API
647 - this change avoids having packed structs exposed in
648 installable header files, and gives the library
649 user an easy way to work with COD files
650 - added CodFile class
651 - added JavaLoader::LoadApp(CodFile&)
652 - cleaned up bjavaloader to use new API
653 - moved codfile_*_t structs to internal header
654 - also fixed command line status output when exceptions
655 are caught (unrelated fix)
656 - added / updated manpages: bfuse, bjavaloader, btool
657 - added fuse to build dependencies for rpm and deb packages
658 - updated web docs, adding libfuse to dependencies page
659 - added libiconv as well
661 - applied screenshot and zsh patch from Nicolas Vivien
662 His git log, as posted to the mailing list, was:
663 Remove bscreenshot binary
664 Add screenshot option to bjavaloader binary
665 Add comments in the code
666 Use defines beside of integer constant
667 Use b2hons to be compliant with evrywhat host
668 ZSH scripts completion
669 Use BMP structs beside of unreadable buffer !
671 - add command GetScreenShot to JLPacket class
672 - add JLScreenInfo to protocol structures
674 - minor tweaks to Nicolas's screenshot+zsh patch:
675 - renamed DIR_ENTRY and SS_ENTRY to DATA_ENTRY constant
676 as suggested by comments
677 - fixed some packet size checks
679 - removed unneeded packet.GetReceive(), since response
680 buffer is the same as what GetReceive() returns
681 - used AutoClose for fopen() calls in bjavaloader.cc
683 - removed manual buffer handling in favour of Data object
684 in JavaLoader::GetScreenshot()
685 - removed "unknown packet" exception from Socket::PacketData()
686 I think it is probably better to handle javaloader-level
687 errors and codes in the JavaLoader class, not the low-
689 - added erase and force erase support to bjavaloader, library, and zsh
690 - force erase is experimental
691 - applied documentation patch from Robert Yaklin on VSM file format
692 - did slight formatting changes before applying, for 80
693 columns, and set file to unix format instead of DOS
694 - added links to new USB capture logs from Robert Yaklin to
696 - cleaned up src/Makefile.am, regarding non-install headers
697 - moved Nicolas Vivien's bitmap conversion code into library API
698 - added bmp.h api, and moved internal structs to bmp-internal.h
699 - added size checks and endian conversion to bitmap
700 conversion code, so this code should run anywhere
702 - added link Josh Kropf's 'Blackberry development in linux' blog
703 post to doc/www/index.php
704 - added USB capture log archive page to www docs
705 - added config.rpath, needed by new AM_ICONV check
706 Thanks to Bill Paul for debugging this.
707 - applied Nicolas Vivien's opensync plugin 0.4x patch
709 - added template wrapper for iconv() due to casting differences on
710 various platforms... thanks to Bill Paul for FreeBSD testing
711 - added AM_ICONV automake/autoconf check to configure.ac
712 This should take care of checking for libc or library
713 iconv installs, and checking the iconv() prototype for whether
714 const is needed or not. This removes the need for the
715 template added earlier.
717 - applied patch from Josh Kropf making bjavaloader's syntax more
718 compatible with the windows version, to make cross
719 platform build scripts possible
720 - applied Josh Kropf's settime syntax patch
721 - clarified timezone behaviour in javaloader settime
722 - added flag to JavaLoader mode class, so StopStream() is called
723 automatically in the destructor if not called manually
725 - added another ctor to BadSize exception class
726 - fixed bug in SocketZero where it checked sequence on packets
727 from non-zero sockets
728 - javaloader list mode updates:
729 - added Dump() code to directory classes
730 - fixed size issue with JLDirEntry header size define
731 - fixed size checks in entry parser
732 - fixed copy before in JLDirectory, now uses vector
733 - moved bjavaloader's Start/StopStream calls to main()
735 - removed default argument to CheckSize() so all code specifies
736 the size it really needs
737 - fixed bug in ParseData() that didn't copy data to receive arg
738 - adding additional javaloader commands and refactoring
739 this is a work in progress:
740 - added JLPacket class, encapsulating javaloader protocol
741 - added new defines for more JL commands
742 - refactored socket class, using PacketData()
743 for JL, and Packet() for Desktop (still needs
744 some work to be really clean)
745 - began implementing new commands (SetTime())
746 - thanks to Rick Scott for his reverse engineering effort
747 in XmBlackBerry, which inspired this code
748 - refactored packet.cc to make JLPacket even tighter
749 - updated doc/USB-capture.txt with link to vusb-analyzer
750 Thanks to Martin Owens for the link.
751 - added a set of be_*() endian swap functions, for big endian data
752 JavaLoader code seems to use big endian a lot.
753 - simplified bjavaloader.cc's command line args to make room for more
754 - cleaned up big endian code to use new be_* swap macros
755 - added protocol and packet code for directory / subdir commands
756 - added preliminary directory support to JavaLoader class
758 - reverted experimental handshaking in IpModem, since the session_key
759 patch fixed Bill Paul's issue
760 - finished adding IConverter support to r_task and r_timezone
761 - removed r_message_base.h from doxygen RecordParserClasses group
762 - removed unused ClassType variable from Task record class
763 - refactored Calendar and Task record classes, creating new
764 RecurBase to handle recurrence data
765 - removed FIXME in Socket::Packet(), since socket is set in Send()
766 - cleaned up socket handling and comments in packet.cc
768 - applied Nicolas Vivien's javaloader patch, fixing constant defines
769 and other small fixes
770 - minor whitespace and spelling fixes to above patch
771 - changed m_ipmodem.cc to send the session key even without password
772 which should help reduce the "special packets" coming from
774 Thanks to Rick Scott and Andy Herkey.
776 - refactored pthread timeout creation into ThreadTimeout() function
777 - added experimental handshaking to IpModem. This is in response
778 to Bill Paul's email regarding what he was seeing in the
779 logs with the special code packets which we dropped
780 on the floor. This code is to test whether this handshaking
783 - made maintainer script make-deb-local.sh more robust
784 - added list of target binary packages in ReleaseChecklist.txt
785 - changed to more general Fedora link to Chris Stover's packages
787 - applied Andy Herkey's ipmodem password patch for the Bold
788 - minor fixes to above patch, and in addition to above patch:
789 - use sizeof(seed), instead of type, in case of future changes
790 - removed commented out code
791 - added the null password check back to SendPassword(),
792 for historical reasons
793 - removed the null and zero default arguments to
794 SendPassword(), since they make no sense
795 - added define for session key size, and added size check
796 - added missing string.h header to src/m_javaloader.cc
797 - updated Debian and RPM packages to include bjavaloader
799 - applied Nicolas Vivien's bjavaloader patch
800 - small fixups to above patch:
801 - moved cod.h from installable headers to internal headers
803 - copyright statement tweaks
804 - added blog URLs to copyright list in cod.h where parts
805 of the structs appear to come from
806 - removed unused variables to compile with strict settings
807 - changed char to unsigned char to fix strict compiler
809 - removed duplicated a/b from Socket messages, and moved
810 read/write text to front, in socket.cc
811 - added NetDirect copyright notice to bjavaloader.cc, since
812 it is based on btool.cc
813 - removed unused boost-specific code from bjavaloader.cc
814 - more fixes to above patch: (bjavaloader.cc specifically)
815 - moved cod.h back to installable headers, since tools/
816 programs depend on it... this should be fixed
817 or put in the library as a COD-reading API
818 so that applications don't need to worry about
820 - fixed potential buffer overflow: removed buffer read used
821 to skip ahead in file, and replaced with fseek()
822 - changed SendAppFile() to report errors by exception
823 instead of by return value, which wasn't checked
824 anyway... and C++'d the file handle closing
825 - removed unused StateTableCommand, leftover from btool
826 - added check for unlikely case of COD file being larger
827 than size_t, breaking the fread() assumption
828 for the type == 0xC0DE case
829 - added checks for fread() failures
830 - fixed compiler warnings when comparing signed/unsigned,
831 and changed file operation types from plain int
833 - changes to src/m_javaloader.cc:
834 - fixed comments to remove Desktop-oriented notes
835 - moved variables closer to their use point
836 - removed the duplicated response Data objects in favour
837 of just one (each default Data object uses 0x4000
839 - removed manual endian swap in favour of htobl()
840 - oops... this size field is actually big endian.
841 Since all Barry code assumes that Blackberry
842 protocol traffic is little endian, a special
843 case needs to be added in m_javaloader.cc for
844 this field. The special case uses autoconf's
846 - fixed long long problem in endian.h (ISO C++
847 compilers don't support long long) and made
848 the bswap() functions always available
849 - removed unused CommandType and m_commandTable members
850 - fixed exception error messages to indicate command #
851 instead of Desktop message
852 - changed Packet() call to PacketData() when sending
853 file size, since there is no command
854 - added eout() data dump to socket::Packet() unknown send error
855 - fixed my incorrect off_t/size_t check in bjavaloader.cc
856 - removed the '0' JL_UNKNOWN4 command from src/protocol.h,
857 since the PacketData() change above now handles that,
858 and I don't think that byte is actually a command, but
859 really part of the uint32_t size
860 - Also fixed one remaining 0 command, to use PacketData()
862 - added AT+CLAC note to contrib/modemtest.rb, recording tidbit
864 - updated copyright dates for 2009
866 - fixed missing slash in config sample in doc/www/sync.php
867 Thanks to sourceforge tracker #2413683 for reporting
869 - added more notes to doc/USB-capture.txt, documenting my kernel
870 setup for capturing USB traffic, and added size-limiting
872 - added TODO list item for the Blackberry Storm
874 - moved Product ID constants into a single place (src/common.h)
876 - added Product ID 8007 for the Blackberry Storm... needs testing
878 - applied ppp chat script patch for AT&T Cingular from
880 - added new chat scripts to debian and rpm packages
881 - added known sources of additional Barry binary packages to index.php
882 - turned on call/caller graph support in Doxygen output
884 - applied 'patch' of Martin Owens' Content Store documentation
887 - large refactoring of all message/email record classes, and more
888 There is now a MessageBase base class, which combines
889 common email record parsing code in one class. This base
890 class is reused by all the specific messages record classes.
891 This commit also includes support for multiple email
892 addresses per email, as well as giving IConverter support
893 to all message classes.
894 - deleted empty *.cc files from project
895 - updated TODO file, removing opensync i18n bug
896 - added TODO item for password support in Opensync... try to avoid
897 storing the password in the sync config in plain text
898 - fixed dll export bug on ErrnoError exception class
899 - added BadPackedFormat exception for internal use
900 - ServiceBook: added IConverter support, and general cleanup
901 Refactored ServiceBook class and added some experimental
902 template functions to generalize the FieldLink table
903 processing. If possible, this needs to be expanded
904 to the general record classes, to reduce the amount of
905 code duplication during processing of FieldLinks and
906 CommonField structures.
907 Also, ServiceBook deals with packed fields, which should
908 also be extrapolated for general use, and reused if
909 possible for the new "Calendar - All" Blackberry databases
910 that are coming out on the new devices and firmare.
912 - updated man/btool.1 with new -i option
913 - fixed bug where opensync plugin didn't pass IConverter to Desktop
914 - added IConverter support to r_calendar.cc
915 - renamed utf8Needed to iconvNeeded, for consistency
916 - added IConverter support to r_folder.cc
917 - added IConverter support to r_memo.cc
918 - added IConverter support to r_message.cc
919 - added EmailAddressList, in preparation for multi-address email
921 - changed Parser base class to pure abstract... this is so that
922 future API changes to the Parse base class will be
923 detected by the compiler as errors
924 - added NullParser class, which performs the old Parser function
925 - changed all FieldLink arrays to static
926 - added new IConverter class to support converting the Blackberry's
927 WINDOWS-1252 charset to/from UTF-8 and more
928 - fixed bug in IConverter that saved end of string instead of
930 - reorganized barry.h app header and record.h header, so that
931 internal builds have fewer dependencies
932 - large parser/builder API change, adding IConverter support
933 This change starts at the top (Mode::Desktop) which
934 takes an optional IConverter object for parsing and
935 building conversions. The Desktop class passes
936 this IConverter object to Packet, Parser, and Builder (and
937 thereby, the corresponding Record classes) as needed.
938 This adds an extra pointer to a fair number of calls
939 in the stack, but maintains flexibility without putting
940 too much of a burden on Parser writers, which could be
942 The primary use of this architecture is to pass in an
943 IConverter configured to convert to UTF-8... this is
944 basically the only useful conversion method, but others
945 are possible if you want to play.
946 - first record class to support string conversions: Contact
947 - reverted the barry.h and record.h reorganization, since
948 the gui depends on it
949 - reorganized barry.h and record.h again, making inclusion of
950 the record headers dependent on whether it is a library
952 - updated the gui with the parser/builder API change
953 - added IConverter to opensync plugin, set to UTF-8
955 - added comment to src/r_contact.h deprecating the Phone field
956 - updated Doxyfile to 1.5.1
957 - added Christopher D. Stover to AUTHORS file as Fedora contact
959 - forgot #include <string.h> for memcpy/memset in tools/bfuse.cc
960 - moved bfuse install point from /usr/sbin to /usr/bin
962 - added FUSE filesystem "driver"
964 - commented out the info.subsystem match level in HAL FDI file...
965 this should let the FDI work on old and new systems.
966 HAL version 0.5.8 (used by Debian Etch) has the deprecated
967 info.bus property, and doesn't have info.subsystem yet.
968 - added HAL FDI scripts to rpm/barry.spec
969 - fixed tools/Makefile.plain
971 - added support for multiple work/home phone numbers to the
973 - Thanks to Richard Esplin for his test data.
974 - This fix has a conflict when a cell phone number is
975 marked as the preferred contact as well.
976 See http://sourceforge.net/mailarchive/message.php?msg_name=20081030231045.GA28989%40foursquare.net
977 for the full details.
978 - This fix also changes the VCARD output... pager phone
979 numbers are given the TYPE code of "pager"
981 - Added OtherPhone field as well
983 - applied HAL FDI scripts and configuration from Martin Owens
984 - updated AUTHORS file
985 - added HAL FDI and python script to Debian package install
987 - updated copyright notice and help text in contrib/modemtest.rb
988 - changed barry-verizon.chat script according to Andy Herkey's
989 recommendation... this worked much better for Michael L.
990 Stokes, since his provider was getting stuck on the ATZ
992 - applied Andy Herkey's modemtest.rb ruby script to contrib/
993 from his Aug 9, 2008 email to the mailing list
994 - applied Andy Herkey's new modemtest.rb script to contrib/
995 from his Oct 8, 2008 email to the mailing list
996 - added password pass-through code for pppob -s mode
997 - clarified front page www doc, adding date of last release
999 - cherry-picked changes from Jose Carlos Garcia Sogo's debian git repo
1000 - debian/rules was stripping wrong library names
1001 - FSF address was incorrect (also updated other source
1002 files throughout the tree myself)
1003 - more complete debian/copyright file
1009 - gui/src/BackupWindow.cc
1013 - opensync-plugin/src/barry_sync.cc
1014 - added link to doxygen documentation to www index.php
1016 Release: version 0.14 - 2008/09/24
1017 ------------------------------------------------------------------------------
1019 - changed Debian changelog version to 0.14-0 to make room for
1020 official Debian packages which start at 0.14-1
1021 - moved Doxyfile from src/Makefile.am to Makefile.am
1022 - made RPM spec file match debian version number
1023 - www documentation updates for 0.14
1025 - fixed git-tagged-release.sh to not delete its own results... oops
1027 - fixed git command line in git-extract.sh for new 1.6.0.x behaviour
1029 - added notes in ReleaseChecklist.txt regarding the new tarball
1030 tags in the git repos
1032 - updated doc/ReleaseChecklist.txt
1033 - moving items from private todo list to TODO file
1034 - removed unused variable from maintainer/git-release-tar.sh
1035 - added new maintainer/git-tagged-tar.sh, which puts more data
1036 in the git repo, to make it easier for official Debian
1038 - moved src/Doxyfile to ./Doxyfile to avoid ".." in the config...
1039 the ".." paths confused doxygen and caused it to generate
1040 non-relative paths in the documentation.
1041 - added umask to maintainer/git-extract.sh, so it works even without
1042 a pre-configured git
1043 - updated maintainer/tar-prepare.sh to match the new Doxyfile
1044 - added maintainer/tagged-release.sh, as replacement for the
1045 release.sh top level script, when using git
1046 - removed CVS-style ID code from contrib/barry-unbind-storage.sh
1047 since it made it look like cdfrey wrote it
1048 - removed doc/CodingStyle.txt as it is now documented in html
1050 - added device name and backup label support to the GUI
1051 It is now possible to name devices, instead of just
1052 operating by PIN number, and it is possible to now
1053 add a text label to the backup tar filenames.
1054 - added the device names to the device selection dialog
1056 - updated TODO list with i18n opensync bug and general i18n support
1057 - added test suite to TODO list
1059 - renamed libbarry to libbarry0 in rpm/barry.spec
1060 - added %dump to rpm/barry.spec to match the OBS version
1061 Makes it easier to track variable changes across
1063 - added note to NEWS regarding binary package renaming
1065 - fixed logic error in breset that displayed error on success
1066 Thanks to Richard Esplin for reporting this bug.
1067 - applied commit's from Jose Carlos Garcia Sogo's debian git repo
1068 git://git.debian.org/git/users/jsogo/barry.git
1069 - Add binary dependency of libbarry-dev on libusb-dev
1070 - Rename libbarry to libbarry0, per debian policy
1071 - Add exact dependency on binary:Version for every
1072 -dbg and -dev package
1073 - Bump Standards-Version to 3.8.0
1075 - clarified barrybackup error message when no records available
1076 Added a check so that "no databases selected" and
1077 "no records available" are two distinct error messages.
1079 - applied ppp chat script patch from Mick Reed
1080 - updated RPM and Debian packages with new tmobileus ppp scripts
1081 - added T-Mobile US to web documentation
1083 - clarified sync docs regarding slow-sync... avoid it if possible
1084 - tuned doxygen config, and moved generated files to doc/www/doxygen
1085 - added git-release-tar.sh, replacing CVS's make-release-tar.sh
1086 Also added doxygen to the release tarball creation, so
1087 the source code's doxygen documentation is automatically
1088 generated upon release.
1089 - split git-release-tar.sh into reusable component scripts
1091 - added exception handler for invalid command line options in GUI
1092 - fixed barrybackup man page, removing bad -v option
1093 - added distro section to AUTHORS
1094 - fixed comment and whitespace problems in time.{h,cc}
1095 - Converted Birthday from string to Date, and added Anniversary
1096 support. Birthday and Anniversary fields now use a new
1097 Date struct, and Barry validates the data to some extent.
1098 - updated example code and opensync plugin to match
1099 - applied Lee Dixon's Location and Description plugin patch,
1100 with minor whitespace edits
1102 - added Birthday field to examples/addcontact.cc for testing
1104 - applied Lee Dixon's Birthday field and opensync patch
1105 - fixed coding format issues
1108 - fixed bug in m_ipmodem.cc that included a null terminator in
1110 - fixed RFC 2426 conformance bug... RFC 2426, 3.1.1 states that FN
1111 MUST be present in the vcard object. If there is no name
1112 available, then we use the Company name if available. It
1113 should be, since the Blackberry requires either name or Company
1114 in order to create a new address. If Company is blank too, then
1115 we insert "(Blank Name)".
1116 - On the flip side of this same bug, it is possible to receive
1117 non-conformant vcard data from evolution / opensync
1118 that does not include FN. Since the Blackberry
1119 doesn't require this information, remove the
1120 exception, and only throw an exception if FN
1121 or Company are both blank.
1122 - REVERT: removed the Company and "(Blank Name)" workarounds,
1123 and just produce an invalid vcard if no full name,
1124 since with multiple syncing, this will come back
1125 to bite us with duplicated Company name data
1126 - added sanity check to contact class for blank name and company
1127 - added BadData exception class, and documented it
1129 - fixed bug in vAttr::GetValue that ignored index for single valued
1130 attributes... this should fix the endless loop / memory
1131 exhaustion that some people have been seeing
1132 Thanks to Lee Dixon for reporting this bug in detail!
1133 - added TODO list item for implementing recurring calendar items
1139 - gui/src/BackupWindow.cc
1143 - opensync-plugin/src/barry_sync.cc
1144 - updated web docs showing how to set the password when using modem
1145 - added section to docs on how to test the modem connection
1147 Release: version 0.13 - 2008/07/28
1148 ------------------------------------------------------------------------------
1151 - removed extraneous "experimental" wording
1152 - added section for external links to main index page
1153 - fixed doc bug about how to install libtar
1154 - added O2 Ireland to list of modem scripts
1155 - removed ubuntu80464 and fc6 from binary package list
1159 - applied barry-unbind-storage.sh script from Niels de Vos...
1160 added to contrib for now, in the interests of getting
1161 version 0.13 released soon... we can work on integrating
1162 this better in 0.14, which hopefully won't take so long :-)
1164 - added g++ (>= 4.1) to Debian build dependency list
1165 - added support to base library and utilities for multiple email
1166 addresses in Contact records
1167 - added opensync support for multiple contact email addresses
1168 - applied ppp chat scripts for O2 Ireland from Simon Kenyon
1170 - integrated O2 Ireland scripts into binary package installs
1172 - applied David Mansfield's opensync module password patch (ported
1173 manually to latest upcoming 0.13)
1175 - added password documentation to sample barry-sync module config
1176 - updated web docs with new password sample config
1178 - removed old, unused spec file and scripts for bcharge-only release
1179 - fixed rpm build instructions in web docs
1180 - reduced minimum password retry level from 6 to 3... Reinhold Schoeb
1181 reports that his 8800 device only lets him set a password
1182 retry range between 3 and 5, instead of the usual 10 that
1185 - added "known issues" section to main www doc page
1186 - fixed virtual function mis-name bug in btool's null parser
1187 - added -i option to brecsum, to include record IDs in the sums
1188 - applied Ashley Willis's btool 0.12 null parser patch to CVS, which
1189 required some manual porting changes...
1190 - removed bool reference argument in GetParser()
1192 - applied Ashley Willis's perlbarry package, putting it in the
1193 new contrib/ directory
1195 - now that btool patch is applied, don't need it in contrib
1196 - removed openssl from dependencies documentation, as barry now
1197 has its own sha1 code
1198 - added libtool to dependencies documentation
1199 - rpm/barry.spec file now assumes gui and opensync, with conditional
1200 checks depending which system it is being built on...
1201 --with gui and --with opensync are no longer needed.
1202 - updated release scripts to build RPMs with the new spec file
1204 - updated udev rules to recognize devices with the 8004 Product ID
1205 - fixed bug in test/buildtest.sh when opensync is not pre-built
1206 - fixed more lintian warnings on Ubuntu
1207 - fixed tiny subheadings in modem web document
1208 - added syncing howto web document
1209 - updated TODO list, adding Troubleshooting item, and morphing
1210 the modem item into the RPC daemon item
1211 - moved old doc/TroubleShooting.txt document to web, and updated
1213 - added tip to sync web docs, for using DebugMode on hangs
1215 - changed test/buildtest.sh so it is safe to run from outside
1216 the directory that contains it
1217 - added note to patch webpage regarding testing patches to the
1219 - removed mis-configured 'make dist' check from buildtest.sh
1220 - added missing 'scoped_lock.h' to src/Makefile.am's non-installed
1221 headers, as it is an internal header only
1222 - improved buildtest.sh: speed, accuracy
1223 - added -j option to make to speed builds
1224 - moved cleanall check above 'make dist' as dist doesn't
1225 clean up after itself
1226 - commented out 'make distcheck' for now, as it doesn't work
1227 - added DISTCHECK_CONFIGURE_FLAGS to root Makefile.am, similar to
1228 David Everly's patch in tracker # 1973536
1229 Thanks David! 'make distcheck' now works, but only in
1230 an environment like buildtest.sh creates.
1231 Also, buildtest.sh passes all tests now, including distcheck.
1233 - removed unused src/controllertmpl.h
1234 - added ppp and test directories to Makefile.am EXTRA_DIST
1236 - added beginnings of a build system test script
1237 - fixed sha1.h so it is installed by src/Makefile.am
1238 - removed old Makefile.orig from src/Makefile.am
1240 - updated modem web documentation page with Sprint option, as
1241 well as listing some network security concerns
1243 - added modem reset workaround to web documentation page
1244 - applied Andy Herkey's ipmodem password patch, round 1
1245 - applied Andy Herkey's ipmodem password patch, round 2
1246 - cleaning up some rough edges to the ipmodem patches:
1247 - removed commented out code in pppob.cc
1248 - added BXLOCAL to private member SendPasword()
1249 - added try/catch in IpModem destructor
1250 - removed FIXME comment about endian issues
1251 - added data size checks to SendPassword()
1252 - removed catch(...)
1253 - renamed class variable session_key to match others
1254 - added check to skip password if "" is passed in
1255 - added the m_filter for ipmodem PPP 0x7e filtering
1256 back, since the 8320 w/ rogers seems to need it
1259 - added timeout argument to Device::BulkDrain()
1260 - added mozilla's sha1 code from git
1261 - removed openssl dependency due to license issues
1262 Debian and Ubuntu have checks in their lintian tool that
1263 check for GPL+OpenSSL linkage. In order to remove any
1264 potential obstacles to future inclusion in those distros,
1265 the dependency is removed here in favour of the small
1266 mozilla implementation which is GPL.
1268 - added notes to web documentation for OpenBSD
1269 - documentation updates:
1270 - changed git patch command to use format-patch
1271 - added instructions for building from tarball
1272 - added bugs.php and contact.php pages
1273 - fixed missing and mis-dated copyright notices in src/
1274 - added ppp options and chat script for Sprint, based on
1275 Andy Herkey's mailing list report
1277 - added Ubuntu 8.04 to release build scripts
1279 - fixed compile errors in gui when compiling with gcc 4.3.x
1280 - added ppp options and chatscript files to RPM build
1281 - updated docs with binary package default PPP scripts
1282 - added -P option to pppob to specify password
1283 - updated pppob manpage with -P option
1284 - fixed missing -P option in btool manpage
1285 - updated rpm spec file history
1286 - added pppob manpage to rpm spec file
1287 - added manpages for brecsum, breset, upldif, and barrybackup,
1288 and updated the build process to support them.
1289 Also updated date for pppob manpage.
1290 - updated rpm spec file with new manpages
1291 - added ProductID code 0x8004 to breset.cc
1292 - minor whitespace and usage text fix in upldif.cc
1293 - deleted old src/Makefile.orig
1294 - updated Debian binary package:
1295 - added manpages for brecsum, breset, pppob, upldif,
1297 - added ppp options and chat scripts, with postinit
1298 script to set permissions
1299 - fixed descriptions in control file to avoid lintian warnings
1301 - fixed missing #includes in src/data.cc
1302 - fixed compile errors in library, utils, and plugin when compiling
1303 with new gcc 4.3.x... gui not yet finished
1305 - added minimum g++ version to website dependency docs
1308 - reorganized sample ppp options files so they are easier to compare,
1309 enabled "usepeerdns" in both, and disabled the speed
1310 setting in barry-verizon
1311 - updates to website documentation
1312 - added FC9 to distro list
1313 - added page for BarryBackup
1314 - added page for USB modem / pppob
1316 - added sample ppp options files for Verizon Blackberries
1317 Sample files from Michael L. Stokes
1319 - renamed sample ppp peer files, in preparation for installing
1320 them automatically in binary packages
1321 - modified verizon options file to use pppob
1322 - split the sample rogers options file into options and chat files
1324 - put sequence packet check directly in the SocketZero::RawReceive()
1325 function, which now localizes all sequence packet
1326 handling and checking, as well as avoids packet
1327 order problems when multiple sockets are in use,
1328 such as with pppob...
1329 FIXME - this localized sequence checking may make all
1330 the calls to CheckSequence() obsolete which
1331 should probably be cleaned up someday, if so.
1332 - reorganized src/socket.cc to match class private/public
1333 order (no code change, only move)
1334 - added verbose log message to Controller constructors, so it is
1335 possible to determine whether a program is using
1336 threaded or non-threaded sockets
1337 - added -z and -Z command line options to btool to control
1338 the non-threaded/threaded behaviour, respectively;
1339 and updated the man page
1340 - removed debug sleep() calls from pppob
1341 - added SIGINT signal handler so pppob shutsdown gracefully when
1344 - mention CVS and git on main documentation "how to" list
1345 - moved PPP filter logic into its own class
1346 - enhanced PPP filter class to support prepending of
1347 empty bytes if needed, in order to reduce data
1348 copying, and clarified why there is no GetBuffer()
1349 - added ProbeResult::HasIpModem() to determine whether
1350 IpModem endpoints are available
1351 - added pure virtual Modem base class for common
1352 modem-oriented API (only Open and Write so far)
1353 - Mode::IpModem is now derived from Barry::Modem
1354 - experimental implementation for Mode::Serial,
1355 which is now derived from Barry::Modem,
1357 - pppob now supports IpModem and Serial modes, and logging
1358 to file instead of stderr
1359 - added man page for pppob
1361 - modified the planned version numbering scheme in doc/VersionNotes,
1362 so that a 1.0 is possible, with 1.50 as the devel series
1364 - continuing to update html documentation in preparation for
1367 - removed -fvisibility-inlines-hidden compile options since some
1368 distros have old or broken compilers or libraries where
1369 the build breaks looking for STL templates (Ubuntu 7.10,
1370 I'm looking at you...)
1371 - changed brecsum so usage information is displayed automatically
1372 if no command line arguments are specified
1373 - added opensync-plugin to maintainer test scripts, and added
1374 ubuntu710 to the test build sequence
1376 - updated doc/TroubleShooting.txt
1377 - removed usb_control message check from IpModem endpoint probing
1378 in src/probe.cc, since some devices, like the 8700
1379 have both RIM_UsbSerData mode and IpModem mode.
1380 - fixed serialization code for Calendar record class, in s11n-boost.h
1381 - made UnknownField's data member into its own type,
1382 so that when building records, it doesn't get processed
1383 like a null terminated string... also added more
1384 BuildField() helper functions for accuracy
1385 - fixed missing fields in the Calendar record build process
1386 - added Calendar to list of Builders in tools/btool...
1387 it is now possible to run: btool -s "Calendar" -f datafile
1388 - added tools/brecsum program, which calculates SHA1 checksums
1389 on database records, for testing
1390 - added brecsum to debian and rpm builds
1391 - added recurrence builder function to Calendar record builder code
1392 which completes builder support
1393 Checksums from the following commands now match:
1394 brecsum -d Calendar > sum1.txt
1395 btool -d Calendar -f calendar.dat
1396 btool -s Calendar -f calendar.dat
1397 brecsum -d Calendar > sum2.txt
1398 diff -u <(sort sum1.txt) <(sort sum2.txt)
1400 - applied Jason Thomas's ACLOCAL_FLAGS patch to make autoreconf
1401 work again... Thanks!
1402 - applied Jason Thomas's debian build dependency patch
1405 - started documentation overhaul in doc/www, putting the commonly
1406 asked questions right on the front page, and making it more
1407 goal-oriented, so it is hopefully easier to use
1410 - fixed error messages in m_desktop.cc that still referred
1413 - major merge of barry-b1-socket-arch-branch into MAIN.
1414 The following is the changelog from that branch, which is now MAIN.
1417 - added thread-safe logging mechanism
1418 - added preliminary IP modem support... requires a recent
1419 device... serial mode is not yet supported
1420 - merged HEAD changes
1422 - changed Barry::Init() so programmer can choose where
1423 debug and exception information goes, instead of
1426 - merged HEAD changes
1428 - fixed bug in probe class, which missed storing the PIN
1429 number in ProbeResult
1430 - also added ProbeResult constructor
1431 - merged changes from visibility branch:
1432 - GCC visibility support, limiting what symbols are
1433 visible in the shared library, libbarry... this makes
1434 a drastic reduction in the symbol table, and should
1435 avoid future name clashes with other libraries such
1437 See: http://gcc.gnu.org/wiki/Visibility
1438 - vformat_() function name changes
1440 - merged HEAD changes
1441 - added threads library to new bs11nread build
1443 - fixed variable size issues in btranslate.cc, evident with
1444 some compilers on 64 bit systems
1445 - merged HEAD changes
1446 - added comments for threaded usage in usbwrap.h
1447 - changed router to use SocketId typedef, for clarity
1449 - fixed const char warnings from newer gcc compilers
1450 - controller object now saves a copy of the probe result
1451 and provides an API to retrieve it
1452 - added sanity checks to m_serial.cc
1453 - fixed probe behaviour so that a USB probe on an endpoint
1454 that doesn't respond won't halt everything
1455 - refactored some of the probe code, and added checks for
1457 - added Probe::DumpAll()
1458 - added Open() call to pppob.cc (not yet complete)
1460 - implemented dataqueue.{h,cc}... looks ready for testing,
1461 once things compile again
1462 - changed free list copy in router.cc to use
1463 DataQueue::append_from()
1464 - finished packet.{h,cc} implementation, ready for testing
1465 - finished controller.{h,cc}, ready for testing
1466 - finished m_desktop.{h,cc}, ready for testing
1467 - added skeleton m_serial.cc
1468 - the base library and utilities compile again!
1469 - added constructor for SocketZero(queue)
1470 - fixed ErrnoError::GetMsg()
1471 - updated GUI and opensync plugin to compile with new API
1472 - moved Raw Send/Receive socket functions to private
1473 - fixed packet header size bug in socket that caused
1474 socket ID override to be skipped
1475 - fixed incorrect use of gettimeofday()
1476 - fixed race condition where Controller could destroy
1477 the Usb::Device object before the SocketRoutingQueue
1479 - fixed segfault in SocketZero::RawSend() when a router
1481 - fixed Open() bugs in btool... Open() must be outside of loops
1482 - btool uses the router thread now, for testing
1483 - partially implemented m_serial.{h,cc}... needs testing
1484 - added automatic buffer allocation to SocketRoutingQueue
1486 - made AllocateBuffers() a little smarter, so it was not
1488 - added a context data pointer to the SocketRoutingQueue
1489 RegisterInterest callback
1490 - added RegisterInterest functionality to Socket class
1491 - added exceptions on router read errors in socketzero
1493 - implemented router.{h,cc}... looks ready for testing,
1494 once things compile again
1496 - merged HEAD changes
1497 - added router.cc and continued work on new arch
1498 - merged HEAD changes for 2008 copyright statements
1499 - added scoped_lock.h
1500 - added ErrnoError exception class
1501 - documented Controller / SocketRoutingQueue behaviour
1502 - more router implementation
1504 - audit and cleanup of socket.{h,cc} code... looks ready
1505 for testing now, once things compile again
1506 - removed FIXME in router.*
1507 - removed pthread header from pppob as it is not needed
1509 - merged HEAD changes
1511 - merged HEAD changes
1513 - branch started, to track development of the new socket
1514 architecture, and new mode architecture, needed
1515 to support GPRS modem support, and threaded
1517 - committed work-in-progress... does not compile
1520 - added Tasks and Memos to TODO list
1522 - added support for Blackberry 8120, which has a unique Product ID
1523 Sourceforge tracker ID: 1829537
1525 - removed TimeZones from TODO list, as it is done
1531 - gui/src/BackupWindow.cc
1535 - opensync-plugin/src/barry_sync.cc
1536 - added GCC visibility support, limiting what symbols are visible
1537 in the shared library, libbarry... this makes a drastic
1538 reduction in the symbol table, and should avoid future
1539 name clashes with other libraries such as opensync
1540 See: http://gcc.gnu.org/wiki/Visibility
1542 Release: version 0.12 - 2008/03/21
1543 ------------------------------------------------------------------------------
1545 - changed maintainer script to use CVS export instead of checkout,
1546 to avoid the CVS directories
1547 - added support for building Debian source packages with proper
1548 diff.gz and dsc files
1549 - fixed find warning in maintainer/make-rpm.sh
1550 - added support for Ubuntu binary packages to the maintainer build
1553 - renamed all vformat_ and VFormat symbols in opensync plugin's
1554 copy of vformat code, so they don't conflict with the
1555 real opensync libraries
1557 - updated the install.php web page with Paul Dugas's notes on
1558 building RPM's from CVS
1559 - fixed problem in tools/Makefile.am where bs11nread was included
1560 in build, even if --with-boost was not specified
1561 on ./configure command line
1563 - changed format of Boost serialization file output from btool,
1564 so that the database name is stored as the first line
1566 - added tools/bs11nread.cc to read Boost serialization file data
1568 - minor adjustments to r_message.h and r_timezone.h
1569 - updated s11n-boost.h header to match record classes
1571 - applied Time Zone parsing patches from Brian Edginton
1572 - added Time Zones to list of supported parsers in btool.cc
1574 - changed configure.ac to use bzip2 for "make dist".. thanks to
1575 Paul Dugas for the tip
1577 - committed Chris Burgess's update to the roadmap document
1578 - applied Paul Dugas's x86-64 build patch, except the
1579 tar.bz2/tar.gz change
1580 - updated AUTHORS file
1582 - fixed configure.ac's --with-boost option, so that without args,
1583 it defaults to using --includedir and --libdir settings,
1584 instead of hardcoding /usr/include and /usr/lib... this
1585 should allow smarter compiling on 64 bit systems
1586 - updated RPM spec file to use new --with-boost behaviour
1587 - ahem, fixed configure.ac again... don't use --includedir and
1588 --libdir, as those are install targets... oops.
1589 Don't add path overrides at all if not specified.
1591 - fixed locale issues in src/data.cc
1592 - updated copyright statments for 2008
1594 - applied wording correction patch to btool from Matt LaPlante
1596 - changed hard coded databases names in btool to calls to
1597 <recordclass>::GetDBName()
1602 - gui/src/BackupWindow.cc
1606 - opensync-plugin/src/barry_sync.cc
1609 Release: version 0.11 - 2007/12/01
1610 ------------------------------------------------------------------------------
1612 - fixed null pointer bug in Probe class (bug #1842407)
1613 - added pause to maintainer release script
1619 - gui/src/BackupWindow.cc
1623 - opensync-plugin/src/barry_sync.cc
1625 Release: version 0.10 - 2007/11/30
1626 ------------------------------------------------------------------------------
1628 - added support to the usbwrap Match class to limit its
1629 search by busname / devname
1630 - added support to the Probe class to limit its search for
1631 Blackberry devices to a given bus or device name
1632 - added command line options to btool for the above Probe
1633 bus/device names, and updated the man page
1634 - updated the www docs with regard to the new usb_storage
1635 behaviour and the new blacklist files... less
1636 concern about berry_charge and usb_storage conflicts
1637 - added bidentify tool and accompanying man page
1638 - fixed bug in rpm maintenance script that used the wrong
1639 spec file for opensuse
1641 - added better error checking to breset
1642 - commented the sleep() for the 8830
1643 - added code to handle the race condition where usb_storage
1644 claims the device before bcharge arrives on the scene,
1645 by asking the kernel to detach the driver from
1646 the Mass Storage interface... this change makes it
1647 possible to run bcharge, moving from 0006 to 0004
1648 to 0001 and back to 0004, all *while* usb_storage
1650 - changed Probe class behaviour so that it will not throw an
1651 exception on Device Busy (-EBUSY) but instead
1652 log the error in an internal array and keep going.
1653 This makes it possible to use btool and barrybackup
1654 with two devices plugged in at the same time.
1655 BACKWARD COMPATIBILITY NOTE: this changes initializaion
1656 behaviour, but in practice, it should only
1657 make applications look more capable, not less.
1658 - updated btool to show errors logged by Probe
1659 - added message to specify which PIN device is being used by btool
1660 - added explanatory comments to udev rules files, about why
1663 - added ClearHalt() calls to probe and controller classes, just
1664 before any communication happens... the 8830 seems
1667 - added usbwrap.cc:GetConfiguration()
1668 - added code to check whether the configuration is the one
1669 we require, before calling SetConfiguration()... and not
1670 to call it if unnecessary. This allows us to run
1671 at the same time as usb_storage.
1672 Thanks to Martin Owens for not letting this issue go. :-)
1673 - added sleep to bcharge, before calling usb_reset()... the
1674 Blackberry 8830 behaves like a Pearl device in that
1675 it has mass storage support, but behaves like a Classic
1676 in that it resets itself... the usb_reset() seems
1677 to reset it back to 0006. The sleep allows the device
1678 to disappear via its own reset, and let usb_reset()
1679 fail naturally on these devices.
1680 This is not an ideal solution... mainly for testing.
1682 - added modprobe/blacklist-berry_charge as per Simon Ruggier's
1683 suggestion. Thanks also to Niels de Vos for a similar
1685 - fixed udev rules to work on both old and new distros
1686 Thanks to Duncan Mak for the bug report.
1688 - fixed string comparison to use case insensitive compare in
1690 - updated Debian package to include modprobe blacklist file
1691 - updated rpm spec file to include modprobe blacklist file
1692 - split the maintenance scripts into release and test, so
1693 that release package builds can be done faster
1695 - opensync plugin fixes:
1696 - fixed memory leak in vBase::GetAttr()
1697 - added support in vformat parser to parse "blocks"
1698 and keep track of the hierarchy when
1699 parsing an iCalendar, etc.
1700 - added support for searching for attributes only
1701 inside certain blocks (i.e. find first
1702 DTSTART in VEVENT block, not VTIMEZONE block)
1704 - fixed bug in Calendar::Clear, missing the Free / Class
1705 member variables, leaving them uninitialized
1706 - added examples/addcalendar.cc
1707 - added more logging to the opensync plugin, logging the
1708 ToBarry conversion results
1709 - added code to force struct tm.tm_isdst to -1 before calling
1710 mktime, in vformat.c
1711 - fixed typo in previous fix
1713 - renamed ktrans and translate to bktrans and btranslate to avoid
1714 file name clashes with libtranslate of Gnome
1715 Closes bug #1812410 reported by Troy Engel.
1720 - gui/src/BackupWindow.cc
1724 - opensync-plugin/src/barry_sync.cc
1725 - fixed missing default config file in the debian package for
1727 Closes bug #1812224 reported by Ariel (adonatti).
1728 - added debian dbg packages for tracing segfaults
1729 - modified maintainer scripts so debug packages would reference
1730 source code located in /usr/src/barry-0.9, etc.
1732 Release: version 0.9 - 2007/10/12
1733 ------------------------------------------------------------------------------
1735 - adjusted autosuspend disabling code in bcharge, based on new
1736 information on how kernels 2.6.21 / 2.6.22 work.
1737 See bcharge.cc for comments. If device/power/level or
1738 device/power/autosuspend exist, charging should now work
1739 without recompiling the kernel.
1740 - updated website docs with autosuspend info
1742 - large update to the doc/www web pages, moving some of the
1743 information in README files to html format, so that it
1744 is commonly available on the web
1745 - added step in maintenance scripts to automatically build the
1746 .html files in doc/www when making a tarball release
1748 - added libopensync 0.22 version requirement to barry.spec file,
1749 but it doesn't seem to work on OpenSuSE 10.2, where it's
1752 - updated README to mention new tree build configure options
1753 - fixed the configure scripts and makefiles so that when building
1754 with custom CXXFLAGS and LDFLAGS environment variables,
1755 it doesn't break the full-tree build mode, when
1756 using --enable-gui and/or --enable-opensync-plugin
1757 - added config.h.in~ to buildgen.sh clean target
1758 - converted Debian build scripts to use cdbs
1759 - added opensync plugin binary package for Debian
1760 - added "Getting Started" section to web pages, as well as an
1761 explanatory document for various system requirements
1762 - turned on opensync build in RPM maintainer scripts
1764 - added filename to power/state error message in bcharge.cc
1765 - adjusted maintainer scripts to automatically adjust barry.spec
1766 for opensuse rpm builds
1768 - fixed some of the release build scripts and added support for
1769 automated opensuse 10.2 builds
1770 - fixed build target to i386
1771 - changed scripts to add to PKG_CONFIG_PATH variable instead
1774 - added website docs to doc/www... these are out of date at the
1775 moment, and hopefully by including them here, they
1776 will be updated more frequently
1778 - applied Simon Ruggier's build system patch that allowed a build
1779 of all 3 components from the root directory and fixed the
1780 configure scripts to support external build directories
1781 - reordered clean commands in the buildgen.sh scripts, and removed
1782 the INSTALL files, since they are auto-generated by autoconf
1783 - removed extraneous buildgen.sh calls in maintainer scripts
1784 - added Simon Ruggier to AUTHORS
1785 - added explanatory note to 3 stage test build process in
1788 - fixed Category handling in the Contact record class, to
1789 parse the comma separated string into an array,
1791 Note: this involves a change to the boost serialization
1792 and will affect backward compatibility with
1793 old serialization datafiles
1794 - added Category to examples/addcontact.cc
1795 - added Category support to the opensync plugin
1797 - fixed wrong read/write in btool output (oops)
1798 - added BadSize exception, and changed CheckSize() function
1799 to throw it on error
1800 - changed backup GUI to catch BadSize exceptions on initial
1801 connect, and try a reset if that error occurs, since
1802 that likely means the device didn't shutdown properly
1803 - fixed in opensync plugin:
1804 - some vcard data contains types codes in capital letters,
1805 so added lower case conversion routine
1806 - changed the order of address lines, so that address1
1807 is the street, address2 is the extended address,
1808 and address3 is the PO Box. The Blackberry
1809 doesn't seem to have any PO Box field.
1811 - added -e endpoint override option to btool
1812 - added status message to endpoint override
1814 - added configure check for strnlen, and implementation for
1815 systems that don't have it, or that have it implemented
1816 incorrectly. Went a little paranoid here, since
1817 AC_FUNC_STRNLEN doesn't set a define in config.h,
1818 so I had to do it manually, and check in case autoconf
1819 changes in the future... ugh. See src/strnlen.h for
1821 - added code in probe.cc to fetch the device's description.
1822 The description is now part of the probe results
1823 along with the PIN. Updates to protocol.h, adding
1824 a new attribute definition.
1825 Thanks to Rick Scott for pointing out the code in
1826 XmBlackberry where he implemented this first.
1827 - fixed header dependency in record-internal.h
1828 - updated the "required autoconf" version to 2.61 for root build
1829 - moved nested structs out of the record classes that contain them,
1830 in order to better support SWIG and Python
1832 - changed bcharge to use getopt() for its argument processing
1833 - added options -p and -s to bcharge, to adjust usb suspend
1834 settings automatically where possible
1835 - updated the udev rules to use the new bcharge settings
1836 - updated the bcharge man page with the new arguments
1838 - cleaned up Usb exception handling, moving libusb error code
1839 processing into the Usb::Error exception class.
1840 error.cc is now an empty shell
1841 - added return codes to the Usb::Error exceptions
1842 - removed aboutdialog.{h,cc} from the backup GUI since even
1843 Debian stable now has up-to-date gtkmm libraries
1844 - added more user friendly error message for the "device busy"
1845 case, recommending 'rmmod usb_storage'.
1847 - added better error checking to bcharge.cc
1852 - gui/src/BackupWindow.cc
1856 - opensync-plugin/src/barry_sync.cc
1857 - removed usb_set_configuration() check from bcharge.cc, since
1858 that may fail under normal operation, in this case
1860 Release: version 0.8 - 2007/08/03
1861 ------------------------------------------------------------------------------
1863 - moved Interface implementation to usbwrap.cc file
1864 - added dout debugging messages to usbwrap.cc
1865 - clarified unhandled packet error message in socket.cc
1866 - added temporary workaround in opensync-plugin environment's
1867 Reconnect(), for odd message seen on newer Blackberry
1869 - fixing issues with Brian Edginton's MessageRecord patch (2007/06/29)
1870 - fixed missing size check in message oriented ParseHeader()
1871 - fixed endian conversion issues (also found one pre-existing
1872 endian bug in the process)
1873 - moved message timestamp converter code to time.cc
1874 - added Barry version number to opensync plugin name
1875 - changed maintainer scripts and rpm.spec to use bzip2 instead of gzip
1876 - added opensync-plugin to configure script build
1877 - added -S option to btool, to list supported parsers and builders
1878 - slight change to opensync-plugin/buildgen.sh to cleanup config.h.in~
1879 - opensync-plugin/README update
1880 - added opensync-plugin/patches for others who may be building and
1881 testing the plugin with OpenSync 0.22
1882 - added debian package build scripts to maintainer/
1884 - added entry to doc/TroubleShooting.txt
1886 - added doc/TroubleShooting.txt
1889 - fixed bug in vcard.cc that was using the FN field
1890 for the broken-down name instead of N
1891 - added dbId and dbName to DatabaseSyncState
1892 - added Reconnect() functionality to BarryEnvironment class
1893 and moved connect logic out of barry_sync.cc
1894 - changed the batch commit functionality in barry_sync.cc
1895 to single-change-commit. Why? Because opensync
1896 0.22 groups all batch changes into one group
1897 and calls one batch commit function, even if you
1898 registered two. Moving to single change commit
1899 mode removes a chunk of unneccessary code
1900 from the plugin as well, and can in theory
1901 ease memory pressure in the library.
1902 - added FinishSync() to perform actions needed on successful
1904 - disconnect on successful sync completion, and reconnect,
1905 since the device's dirty flags don't seem to
1906 be updated until a disconnect occurs.
1908 - added ReadDataArray() to data.h, using an istream instead of
1910 - added raw data version of BuildField() to record-internal.h
1911 This is so that btool doesn't add extra null terminators
1912 to unknown data, when restoring with option -s
1913 - fixed bugs in r_contact.cc:
1914 - fixed bug that caused a LastName/FirstName swap
1915 if FirstName was empty and you wrote a contact
1916 record into the device.... First/Last Name
1917 fields are position sensitive, and the code
1918 was missing the empty FirstName case on writing
1919 - fixed bug in BuildFields() and Dump() where they
1920 were not updated to handle the new field
1921 table added for the postal address changes
1924 - changed the plugin config file, so it is possible to
1925 turn debug output on/off without recompiling
1926 - moved the standalone Map2Uid() function into
1927 the DatabaseSyncState class, and changed the
1928 code to produce "contact-#" and "calendar-#"
1929 UID strings, instead of just numbers
1930 - changed default PIN to -1, so that if the user doesn't
1931 configure properly, it will fail... this is a
1932 safety measure to avoid syncing with different
1933 devices and corrupting the cache/idmap...
1934 this should be fixed someday, to handle this
1936 On second thought... is this right? Perhaps
1937 it is better to fail if the PIN is not what
1938 is expected, so a user doesn't accidentally
1939 sync the wrong device and lose data.
1940 Actions to take on new PIN:
1941 - force slow_sync, or
1943 - incorporated the new VCardConverter code into the
1944 main barry_sync.cc plugin code
1945 - fixed bug that did not clear the devices dirty flags
1946 in the case where a sync only read data from it,
1948 - changed PIN error message number to hex
1950 - minor wording change in backup GUI prompt: "Backup working..." to
1951 "Backup in progress..."
1952 - renamed Contact class's Title field to JobTitle for clarity
1953 - added record function ParseFieldString(), which properly handles
1954 strings from the device that have multiple null terminators,
1955 and changed the record parsing code to use this new function
1956 - moved FullName() function from ldif.cc to r_contact.cc since it
1957 is generally useful in areas outside of LDIF processing
1958 - refactored postal addresses in the Contact record class into
1959 a new class called PostalAddress
1960 - renamed Address class in record.h to EmailAddress
1961 - moved Contact::GetPostalAddress() to record.cc as part of the
1962 new PostalAddress class and renamed it
1963 PostalAddress::GetLabel()
1965 - refactored vformat helpers into separate base class
1967 - added vCard converter class
1968 - commented out the code that skipped over the adding
1969 of empty attribute values and parameters,
1970 since VCARD depends on some of this behaviour
1971 - movified vformat.c:vformat_find_attribute() to take
1972 an extra nth argument, in order to search
1973 for multiple attributes with the same name...
1974 the way this is coded is a bit inefficient...
1975 but we're moving away from vformat when we move
1976 to OpenSync 0.3x / 0.40, so this is just temporary
1979 - added SUBSYSTEM=="usb_device" to example udev rules, in order
1980 to avoid running bcharge for each endpoint that is
1981 added by udev, when first plugged in. Running bcharge
1982 back-to-back multiple times can crash some
1986 - fixed ID mapping bug in the case of a non-numeric UID
1987 from syncing external -> Barry, and then the
1988 new Barry ID would look like a new change
1989 when syncing back from Barry -> external.
1990 - added support for slow sync
1991 - added clear() to idmap class
1992 - added vformat attr parameter extraction class
1993 - added more trace logging during vformat/Barry conversions
1994 - added Notification time support
1995 - handled "all day" vformat special case, when DTEND
1996 does not exist in a vformat data block
1997 - changed the min1900_t time conversion functions to handle
1998 the 0xffffffff special case, when notifications
1999 are turned off on a calendar event (src/time.cc)
2000 - also made the calendar data dump output clearer for
2001 disabled timestamps, and added debug output
2002 for the raw min1900 value, in case there are more
2003 special cases in the future
2005 - fixed null pointer access in opensync's HasMultipleVEvents()
2007 - upper management directive: revert all OpenSync 0.3x changes
2008 and proceed with OpenSync 0.22. Reverting the
2009 opensync-plugin/src tree to Barry 0.7 status.
2011 - reorganized exception and trace code in opensync plugin
2012 - added XmlToCalendar() function, based on unfinished opensync
2013 library API that is not yet finished... will be
2014 committed to opensync svn tree when complete
2015 - added OSyncXMLField logger to plugin trace class
2017 - applied email MessageRecord patch from Brian Edginton (thanks!)
2018 - updated Message::Dump() to output more valid mbox data...
2019 the goal is to be able to do:
2020 btool -d "Messages" > email.mbox
2022 - changed some TODO's to FIXME's to keep it grep-consistent
2023 - applied Folder support patch from Brian Edginton
2024 - fixed pedantic compile warnings, and changed order in src/Makefile.am
2025 - removed unneeded cast in src/r_folder.cc
2027 - minor adjustment to ctags building in buildgen.sh
2028 - applied patch from Brian Edginton for better boost detection
2030 - added boost usage message to btool -h output
2032 - more porting of OpenSync module to 0.30
2033 - added ctags build for opensync source tree to buildgen.sh
2035 - changed PKG_CONFIG_PATH setting in rpm script, so that systems
2036 like SuSE that have an extensive PKG_CONFIG_PATH
2037 in general use will not break on build
2038 - added PKG_CONFIG_PATH to debian script too, just in case :-)
2039 - added debian/changelog to doc/ReleaseChecklist.txt
2040 - added comment to rpm/barry.spec regarding SuSE RPM builds
2042 - applied patch from Niels de Vos fixing debian package build
2044 - applied Brian Edginton's Saved Email Messages patch
2045 - updated r_saved_messages.cc comment to match header
2046 - added GetRecType()/GetUniqueId() to r_saved_messages.h, since
2047 SetIds() is already there
2048 - removed Address version of operator<<() from message related headers
2049 and moved into record.h
2050 - added std::hex to message related dumps, and changed output to
2052 - updated doc/CodingStyle.txt to cover switch() statements
2053 - opensync compiles again, with 0.30! (not functional yet)
2054 - moving closer to more modular and reusable plugin functions
2055 - updated release checklist for opensync version number
2057 - added doc/CodingStyle.txt... preliminary version
2059 - applied Brian Edginton's PIN message patch
2060 - changes to PIN message patch:
2061 - fixed missing backslash in src/Makefile.am
2062 - fixed tab alignment throughout
2063 - removed typedef from Address struct
2064 - added clear() to Address... might as well, if it it is
2065 going to be a standalone type
2066 - fixed missing comma in PINMessageFieldLinks table
2067 - changed MessageRecordId in PINMessage to load from a new
2068 uint32_t field in CommonField, instead of piggy
2069 backing on a field for other use
2070 - did some testing and found that PINMessage's MessageRecordId
2071 is the same as the RecordId given through the SetIds()
2072 API... but these Id's are duplicated in the protocol...
2073 RecordId is stored in the protocol header, while
2074 MessageRecordId is stored in the record it self as
2075 a common field... added RecType and RecordId to
2076 PIN Message so that we store both of these
2079 - added item to gui/TODO
2080 - applied Brian Edginton's s11n-boost.h patch
2082 - renamed template values to more consistent naming scheme
2083 - applied memos and tasks patch from Brian Edginton, slightly
2084 modified to split into the new separate files system
2085 - changes to memos and tasks classes:
2086 - reformatted the code to match coding style
2088 - added copyright notice
2089 - changed class to singular (Memo, not Memos)
2090 - placed in Barry namespace
2091 - added #ifdef header protectors
2092 - added new files to Makefile.am
2093 - added new r_*.h headers to record.h
2094 - added support for Memos and Tasks to tools/btool.cc, based on
2095 Brian Edginton's patch
2096 (currently commented out, for Boost library reasons):
2097 - added doc/CommitPolicy.txt
2100 - added ctags generation to buildgen.sh
2101 - applied record.{h,cc} fix patch from Brian Edginton
2105 - fixed broken formatting in above patch
2106 - refactored record parser classes into separate files for each
2107 - changed the ConvertHtoB<> template to inline, as it caused
2108 linker errors with the new file layout
2110 - fixed bug in Debian packaging that put util commands in
2111 /bin and /sbin instead of /usr/bin and /usr/sbin
2112 - commited byteswap.h replacement code from gm2net
2114 - removed unneeded debug messages on stdout
2115 - changed the default for debug output to "off"
2116 and added a command line option to turn
2117 it on if necessary (--debug-output)
2118 - command line option --help now also works
2119 - fixed bug in Calendar class where it didn't initialize
2120 RecType properly... and cleaned up other RecType
2121 code to use the GetDefaultRecType() functions,
2122 localizing the constants in one place
2124 - applied patches from Brian Edginton, parsing more
2125 fields in Contact and Calendar records
2126 - added Brian Edginton to AUTHORS
2127 - reformatted record.{h,cc} to match the rest of the code,
2128 removed commented out code, and removed mention of
2129 Outlook from the comments.
2130 - updated udev/10-blackberry.rules.Debian for Debian Etch
2131 - updated debian/rules to use new udev rules file
2132 - removed debian/postinst, as stable versions of Debian now
2133 have a recent udev, and don't need the special handling
2134 - updated Debian build scripts to build separate packages:
2139 - added menu support to Debian barrybackup-gui package
2140 - made the buttons bigger in the backup GUI, as they were too
2141 small on Debian Etch
2143 - more progress in porting to opensync 0.30, heavily
2144 based on the example plugin in the opensync
2145 svn tree... this is a work in progress, and so far
2149 - partial porting to opensync 0.30 (in progress!)
2150 - fixed bug in sync_done where it reported context error
2151 and then success afterward
2152 - checking in new INSTALL files based on Etch's autoconf run
2153 - added item to gui's todo list
2154 - bumped version numbers to 0.8 in:
2158 - gui/src/BackupWindow.cc (about dialog)
2162 Release: version 0.7 - 2007/05/02
2163 ------------------------------------------------------------------------------
2165 - added rpm building to maintainer/release scripts
2166 - added "HEAD" feature to tarball creation script, for easier testing
2167 - updated maintainer/README
2168 - updated maintainer/release.sh to use new HEAD feature too
2170 - added pppob to rpm barry.spec
2171 - bumped release number in barry.spec
2174 - fixed size check bugs (strlen() == 0 when empty)
2175 - finished refactoring calendar conversion routines
2176 - started timezone parsing, but this may go away
2177 if we use opensync 0.30's time functions and
2179 - added development note to README
2181 - updated README and opensync-plugin/README with more current
2184 - refactored some calendar conversion routines
2185 - added Barry->vCalendar conversion for recurring appointments
2188 - removed some unneeded trace logs
2189 - fixed VEventConverter constructor bug, with uninitialized
2191 - eased up the requirement that every calendar event
2192 must have a summary... defaults to "<blank subject>"
2194 - added more VCALENDAR fields to match Barry::Calendar record
2195 - fixed case sensitive compares in vformat.c
2197 - opensync module work:
2198 - added id map class to map string uid's from OpenSync to
2199 numeric ID's from the Blackberry
2200 - fixed bug in CommitChange() where it was still using
2201 a hard coded calendar record state table
2202 - added lots of logging throughout
2203 - fixed bug where newly added records didn't use the
2204 change object's uid, but created a new ID,
2205 causing another sync on the next run
2206 i.e. (CommitData_t was missing an argument)
2207 - fixed bug where uninitialized notification time was
2208 written to the Blackberry
2209 - more opensync module work:
2210 - refactored the environment class into another subclass
2211 called DatabaseSyncState, and moved some stand-
2212 alone functions from barry_sync.cc into
2213 the environment classes
2214 - added a tagged constructor to the trace class
2215 - fixed idmap::Load() to clear map before loading
2217 - renamed barry-config to barry-sync, the default configuration
2218 file for the opensync module... and filled it with
2219 a sample configuration
2220 - added code to update the calendar cache, and write it to disk
2221 on success (opensync module)
2222 - added code to clear dirty flags in the device (opensync module)
2223 - allowed comments in the config file
2224 - added vformat.c from libopensync 0.22, since the vformat
2225 routines are not available from the plugin side
2228 - added -d switch to bcharge to switch back from 0001 to 0004 mode,
2229 changed the auto-detection logic to ignore iProduct and
2230 only use idProduct, and updated man page
2231 - updated breset to recognize the Pearl in 00004 mode as well
2232 - changed src/probe.cc logic to assume that the second endpoint
2233 pair is the one needed for database communication, instead
2234 of doing a reverse search from the end... newer Pearls
2235 in Dual mode seem to have at least 3 or 4 endpoint pairs,
2236 and the old search didn't always work
2237 - applied sourceforge patch #1696884 from Peter Silva, updating
2238 the Debian build for Etch, and including all files in one deb
2239 - added Peter Silva to AUTHORS file
2240 - uncommented the "make distclean" in debian/rules, and removed
2241 the reliance on /tmp when installing 99-barry-perms.rules
2242 - applied bb_task_format.txt patch from Peter Silva
2243 - fixed each misspelling of "recurrance" to "recurrence"
2244 - tweaked src/probe.cc again for paranoia's sake... start at
2245 offset 1 if more than 1 endpoint pair, otherwise start
2247 - split up opensync module into multiple source files, and started
2248 using the opensync vformat routines for parsing and building
2249 the vevent20 data (experimental)
2251 - more incremental work on the opensync plugin, adding ADDED
2252 and MODIFIED functionality... (experimental!)
2254 - added code to dump extra descriptors during device discovery,
2256 - bumped opensync version number in configure.ac, and made
2257 the configure scripts more consistent with the rest
2259 - fixed printf-format size bug in opensync module
2261 - applied patch from Niels de Vos, fixing deb udev rules for Pearl
2263 - fixed extra space bug in LDIF output (added space when creating
2264 FullName, even if there was no last name)
2265 - fixed Address Book record parsing in Contact class... the
2266 Blackberry database uses field id 0x20 for both the
2267 first and last names, and if only a last name exists,
2268 the first name will be empty. Fixed parser to handle
2269 this special case, without relying on string length.
2270 Thanks to Troy Engel for reporting above two LDIF bugs.
2271 - added a few more constants to bcharge.cc
2272 - renamed opensync's configure.in to configure.ac
2274 - fixed bcharge to avoid endless reset loop... oops
2276 - reorganized bcharge.cc to make it possible to switch between
2277 Pearl modes 0004 and 0001
2278 - added flag to BadPassword exception class, to signal whether
2279 the library considers the device "out of retries" or not
2280 - updated socket.cc for new BadPassword exception
2281 - added special case to Controller class destructor to reset the
2282 device if being destroyed in a half-open state... this is
2283 a temporary fix until we understand how to handle
2284 the "already open" message we get when opening the Desktop
2286 - added password prompt dialog to the backup GUI
2287 - fixed possible memory leak in GUI's DeviceInterface::Connect()
2289 - committed Troy Engel's bbrules_mass_symlinks.patch, fixing
2290 udev rules for the Pearl
2291 - updated 10-blackberry.rules.Debian to match 10-blackberry.rules's
2293 - applied Troy Engel's barry.spec patch to generate all required
2294 RPM's... Thank you! Notes in the README taken from
2295 the sourceforge tracker entry containing the patch.
2296 - added libusb lib flags to tools/ and examples/ makefiles,
2297 and tweaked configure.ac with a better default,
2298 to build cleanly on RHEL 4
2299 - modified rpm/barry.spec:
2300 - does not create doc-only barry base package anymore
2301 - fixed "barry-backup" typo
2302 - removed the patch step, as version 0.7 shouldn't need it
2303 - added license file to each package
2304 - commented out console perms scripts, pending mailing list
2307 - applied Troy Engel's barry.spec patch to fix RHEL4 compile issues
2308 - fixed 80 column wrapping error in barry.spec, thanks to Troy Engel
2310 - applied Troy Engel's udev permissions patch for Redhat/Fedora
2311 systems, which automatically set the ownership of a
2312 newly plugged in device to the currently logged in console
2314 - added udev/README to document what all those files are for...
2315 part of the text comes from the sourceforge comment
2316 on the above udev permissions patch from Troy Engel
2317 - uncommented the console perms scripts for rpm/barry.spec
2318 - added libglademm-2.4 to gui/README's dependency list
2319 - made usbwrap.* calls more threadsafe
2320 - added Usb::Timeout exception for timeout errors
2321 - added preliminary UsbSerData support to library for GPRS modem
2322 functionality, using Rick Scott's XmBlackBerry's serdata.c
2324 - added overloaded Socket::Send() for sending without receiving
2325 - added preliminary pppob command line tool
2331 - gui/src/BackupWindow.cc (about dialog)
2334 - build system tweaks for opensync-plugin, and added a buildgen.sh
2336 - added better debug messages in probe.cc and usbwrap.cc's
2337 device discovery code
2338 - changed error handling for null interface->altsetting pointers
2339 when doing device discovery in usbwrap.cc. Seems that
2340 some devices report a higher number in bNumInterfaces
2341 than are really available... in this case, let's
2342 just ignore the missing data and assume success
2343 - applied udev script patch #1663986 from Troy Engel
2344 - applied barry-bcharge.spec patch #1672178 from Troy Engel
2345 - ReleaseChecklist update
2346 - added rpm/README based on Troy Engel's patch notes
2347 - updated new barry-bcharge.spec for version 0.7, removing patch
2350 Release: version 0.6 - 2007/02/28
2351 ------------------------------------------------------------------------------
2353 - fixed size checks for device database records larger than 64K
2354 Thanks to Michael Brown for the bug report.
2355 - added initial release maintainer scripts
2356 - fixed odd backup success message in GUI when doing a backup with
2357 no databases selected in configuration
2358 Thanks to Michael Brown for the bug report.
2359 - added udev permissions file patch from Michael Brown
2360 - added Michael Brown to AUTHORS
2361 - updated README, gui/README, and doc/USB-capture.txt
2362 - added -o command line switch to bcharge.cc, and updated man page
2364 - changed library behaviour so it only turns on libusb debug output
2365 if in data dump mode. In btool, -v controls this output.
2366 - minor stream formatting fix in btool
2367 - added OpenSSL dependency to build for password hash support
2368 - made debug dout() output conditional on Init() flag... In btool,
2369 -v now controls this as well
2370 - reverse engineered more of the initial probe packets, and
2371 implemented probing in struct based code... changes include:
2372 - added support for "attribute fetch" packets, used at
2373 the beginning of USB conversations
2374 - defined object/attribute id codes for the PIN number
2375 - made Protocol::SocketCommand more robust, and implemented
2376 its sequence number behaviour
2377 - moved ModeSelectCommand into SocketCommand, as it is a
2378 socket 0 level command
2379 - added initial protocol struct: PasswordChallenge
2380 - renamed Barry::Packet to DBPacket
2381 - added ZeroPacket for socket 0 packet creation and analysis
2382 - Barry::Packet is now the base class for the above
2383 - implemented socket 0 behaviour in socket.cc
2384 - changed return values for Send/Receive/Packet/NextRecord
2385 members in the Socket class from bool to void, as they
2386 don't generate errors themselves, but only can
2387 have an error if Usb::Device throws an exception.
2388 Cleaned up all code that called these members as well.
2389 - removed "last status" from Socket class as it was unused
2390 - updated probe.cc to use new socket 0 implementation
2391 - removed two of the hard coded packet handshakes in favour
2393 - updated controller.cc:
2394 - uses new socket 0 implementation
2395 - removed "flag" hack when opening sockets and
2396 selecting modes, as it should use the
2397 socket 0 sequence number
2398 - added initial, incomplete prototype header for the C API
2399 - updated some .cvsignore files
2401 - updated ReleaseChecklist.txt, adding rpm spec file
2402 - added the following to ZeroPacket:
2407 - moved Command() to base Packet class
2408 - added comments to protostructs.h and size constants for the
2409 new PasswordChallenge struct
2410 - added password support to Socket and Controller classes
2411 Thanks to Rick Scott's XmBlackBerry for the openssl
2412 password hashing logic.
2413 - updated btool to use new password support, and updated its man page
2415 - updated Doxygen input files and version, and added to ReleaseChecklist
2416 - fixed btool PIN output for LDIF mode, now commented in output
2417 - major LDIF overhaul:
2418 - split LDIF specific code out of the record class and
2420 - fixed "full name" behaviour that added an extra space
2421 in dn attributes, as reported by Troy Engel
2422 - added support for mapping of LDIF attributes to Barry
2424 - fixed base64 handling, so attributes are only so encoded
2426 - fixed base64 attribute reading inconsistency... some
2427 notes fields were missed in old version if not
2429 - added support for specifying alternate attribute for
2430 constructing a FQDN, instead of just "cn"
2431 - updated btool and upldif to use new features
2432 - large update to btool manpage
2433 - fixed initialization bug in Contact constructor (missed RecType)
2435 - added ktrans.cc to make reading of kernel usbfs_snoop logs easier
2436 - removed commented code from translate.cc
2437 - added Pearl handshake support to bcharge.cc, which resets the
2438 Pearl so that the vendor specific 0xFF class exists.
2439 This should allow use of btool on the Pearl.
2440 - added Data::AppendHexString to data.cc
2441 - added better probing support for the Pearl, so it detects the
2442 Product ID 0x0004 mode, and does a search for class 0xFF
2443 instead of hardcoding it.
2445 - applied README patch from Ian Darwin
2446 - minor tweaks to README
2447 - added missing errno.h header in src/usbwrap.cc for AMD64
2448 Thanks to Jonathan Hudson for reporting the bug.
2449 - tightened up size checks in Data::ReleaseBuffer()
2450 - stable libusb *does* return the actual length of the USB packet...
2451 fixed this in usbwrap.cc to set the actual size of read data,
2452 and removed the size hacks elsewhere in the code:
2453 probe.cc, protocol.cc, socket.cc, usbwrap.cc
2455 - added proper return codes for error conditions in btool.cc
2456 - clarified some stream output code in the library, for hex/dec numbers
2457 - removed old, non-working connect.cc test program
2458 - added iomanip to debug.h
2459 - changed usbwrap to call libusb again if EINTR and EAGAIN
2460 This should fix one of the OpenBSD issues
2463 - fixed bug in barrybackup GUI that didn't create the target path
2464 if the user didn't do Edit | Config first.
2465 Thanks to Ian Darwin for reporting the bug.
2466 - applied gui/src/ConfigFile.cc header fix patch for OpenBSD
2469 - added initial btool.1 man page from Ian Darwin
2470 - updated man/Makefile.am for new btool.1
2472 - applied btool -h help clarification patch from Ian Darwin
2474 - reworked exception hierarchy, so applications can handle all
2475 Barry related exceptions, including Usb errors, with
2476 one base class: Barry::Error
2477 - fixed all the ripple changes this caused throughout the codebase
2478 - added BadPassword exception
2484 - gui/src/BackupWindow.cc (about dialog)
2485 - updated doc/ReleaseChecklist.txt
2486 - added usb-level breset.cc command line tool
2487 - fixed bug in gui/src/tarfile.* for systems where
2488 sizeof(int) != sizeof(void*)
2489 - TarFile class now uses a plugin style for the compression
2490 operations, to allow for threadsafe versions if needed
2492 - also fixed leaked file handle bug in open_compressed()
2493 - Thanks to Jonathan Hudson for reporting this for 64bit systems
2494 - minor signed comparison fixes in the library
2495 - added better protocol data dumping code in probe.cc
2496 - added Usb::Device::BulkDrain(), to prevent Barry from hanging
2497 due to pending reads
2499 Release: version 0.5 - 2007/01/26
2500 ------------------------------------------------------------------------------
2502 - added missing errno.h header to gui/src/util.cc
2503 - lots more endian fixes after testing on iMac
2504 - iostream output size fixes
2505 - added option to btool to reset the device via software
2506 - beefed up exception handling in barrybackup
2507 - checked in opensync work-in-progress: trace logging, pointer bugfix
2508 this is still experimental
2509 - added aboutdialog.* files from gtkmm24 2.10.6, so we have a dialog
2510 class for systems running older versions of gtkmm, like
2512 - uncommented the about box menu handler
2513 - added "cleanall" option to root buildgen.sh script
2514 - update ReleaseChecklist.txt
2515 - removed CVS auto-history strings from aboutdialog.*
2517 - found a link between the unknown field in tagged protocol headers
2518 and the unknown field in RecordStateTable entries. This
2519 field matters when uploading certain databases, such as
2520 Browser Options. It is unknown what this field really
2521 means, but we're calling it RecType. Updated the API
2522 to use this in all parser objects and builder objects
2523 and record objects that use it.
2524 - changed some uses of uint64_t to uint32_t, in Contact and
2525 Calendar record objects... unique IDs only seem to be
2527 - added new static function to record classes: GetDefaultRecType()
2528 This returns the default rectype that should work
2529 for that record. Ideally this should be retrieved from
2530 the device, but in the case where a database has no
2531 records, this info would be good to know.
2532 - updated convenience template function Controller::AddRecordByType()
2533 to use GetDefaultRecType()
2534 - documented the recurrence data and how to use it in Calendar objects
2535 - added data debug output for incoming USB packets in the
2536 socket class... when we ported to the stable libusb
2537 we lost some of the verbose output... this should get it
2538 back. (In the official release, you need to uncomment
2539 ddout() in debug.h for the full blast of debug output).
2540 - backup GUI updates:
2541 - changed error_done signal into a pure error signal,
2542 and changed the logic so the restore continues
2543 even if there was a protocol error on one database
2544 - changed status bar messages to show what's happening
2545 i.e. Backup or Restore
2546 - default to not restore the "Handheld Agent" database as
2547 it appears to be read-only on the device
2548 - added temporary Restore & Backup mode for debugging
2549 - added extra hyphen to backup files to show date/time better
2550 - updated GUI to save and restore the new RecType field
2551 supported now by the library
2553 - added future considerations to doc/ReleaseChecklist.txt
2554 - applied big endian patch from Jonathan Hudson
2556 - removed endian.h include from barry.h, since applications
2557 using the library should not care about endianness
2558 - hard coded the path to config.h in endian.h
2559 so that endian.h never makes it into the final
2561 - removed DEFAULT_INCLUDES setting from src/Makefile.am
2563 - removed config.h dependency in btool.cc and used library
2564 Version call instead
2565 - added big/little endian text to the Barry::Version call
2567 - fixed install location of bcharge when building with ./configure;
2568 now goes to sbin/ for both source compile and binary packages
2569 Thanks to Jonathan Hudson for reporting this bug.
2571 - added smarter timeout values to controller, and allowed
2572 timeout overrides in the packet, socket, and usbwrap code...
2573 extra timeouts are needed for erasing databases for
2575 - added an explicit DataDumpParser class to btool.cc, as the
2576 library doesn't always have extreme verbose debugging on...
2577 this makes sure anyone can always get raw database packets
2578 through btool, for development
2579 - added thread callback signals for error finishes and erase_db
2580 operations, so the GUI is updated properly
2581 - more GUI cleanups (status bar updates, etc)
2582 - finished implementation of GUI restore
2583 - fixed gtkmm/glibmm exception handling when the exceptions
2584 occur in sigc signal handlers... in that case,
2585 exceptions need to be handled with
2586 Glib::add_exception_handler()
2587 - added filename-only reading support to TarFile class
2588 - added pending gui/TODO items
2590 - backup GUI now properly shows progress
2591 - the buttons become insensitive when backup is busy
2592 - refactored directory check code, and added mkdir check
2593 when to the backup setup (so the directory exists
2594 when we try to write to it)
2595 - updated code to use Barry::Data in new namespace
2597 - moved Data class into Barry namespace
2599 - updated copyright dates for the new year
2600 - clarified exception message in controller.cc
2601 - fixed pointer initialization bug in controller.cc
2602 - added documentation comments to parser.h and builder.h
2603 - updated ReleaseChecklist.txt
2605 - changed Barry library configure scripts to make better
2606 use of pkg-config for autodetecting dependencies
2607 - added initial Barry Backup GUI (gui/ directory), capable of making
2608 backups only at this point
2610 - added doc/ReleaseChecklist.txt
2611 - added version API, returning version number and string
2612 - added Troy Engel to AUTHORS
2613 - added special case to bcharge.cc for the Blackberry Pearl,
2614 which doesn't reset itself after the charge handshake
2615 Thanks to Troy Engel for testing.
2617 - added pkg-config support for the library (libbarry-0.pc.in)
2618 - fixed compile error on g++ 3.3 systems (missing stdint.h
2620 - fixed protocol hang at end of Controller operation... in
2621 controller destructor, it was deleting the USB interface
2622 before closing the socket at the BlackBerry level, thereby
2623 leaving the device in Desktop mode
2625 - support the newer udev packages on Ubuntu, which need slightly
2627 - modified bcharge.cc to search for Pearl devices too.
2629 - added Pearl product ID to probe code, but likely not functional
2630 yet until we find someone able to get a USB capture for us
2632 - version bump in configure.ac and src/Makefile.am
2634 Release: version 0.4 - 2006/12/29
2635 ------------------------------------------------------------------------------
2637 - added bcharge.cc to the tools/ directory (whoohoo!)
2638 - added initial release version of rpm/barry.spec (aka bcharge.spec)
2639 This begins the barry binary release, currently only
2640 including the bcharge utility, but possibly more in
2641 the future. Future binary packages will likely include
2642 libbarry, libbarry-devel, etc, which barry will then
2644 - added udev rule script for BlackBerry devices
2645 - added man/ directory and bcharge.1 manpage
2646 - added debian/ directory for building deb packages, with initial
2648 - added rpm/make-rpm-tarball.sh for building RPMs
2649 - split out technical docs into separate libbarry.docs file for
2650 a future Debian install
2651 - added more cleaning to buildgen.sh
2652 - added new udev rule file for Debian stable
2653 - hardcoded g++ to 3.3 in debian/rules as I have multiple versions
2654 on my system and need to compile releases with stable
2656 - ported Barry to use the stable branch of libusb
2657 NOTE: no longer depends on the devel libusb tarball!
2658 Just use your distro's libusb packages.
2659 - fixed more endian issues
2660 - minor update to TODO
2662 - moved Exceptions, Hacking, and VersionNotes to doc/
2663 - added doc/USB-capture.txt
2665 - added Controller::AddRecord() and template helper
2666 - added beginning version of generic RecordFetch<> template
2667 - set default of Barry::Init() to false (no data dump mode)
2668 - added examples/ directory, with first addcontact.cc example
2670 - added autoconf support based on Peter McAlpine's patch
2671 - renamed Makefiles to Makefile.orig and added script to turn
2672 on old build system if wanted
2673 - fixed boost-specific error path in btool
2674 - moved platform specific code out of time.h and into time.cc
2675 - moved btool.cc, translate.cc, and upldif.cc out of src/ and
2676 into their own tools/ subdirectory
2677 - added NEWS file to make autotools happy
2678 - added a "clean" option to the buildgen.sh script... maintainer's
2680 - reworked autoconf and automake files, to support
2681 barry as a library, to move the programs into their
2682 own tools directory, and support a proper installation
2683 - fixed headers in parser.h, btool.cc, and upldif.cc to work
2684 properly when installed standalone
2685 - added tools/Makefile.plain for testing compiling against
2686 installed barry library
2687 - added commentary on version number system
2688 - removed Makefile.conf and Makefile.orig, as new autoconf
2689 system supercedes it
2690 - added support for boost serialization library in autoconf build
2691 - added library version number to autoconf build
2692 - changed boost flag to __BARRY_BOOST_MODE__ to avoid collisions
2693 - removed debug.h dependency from btool.cc
2694 - removed libusb check in favour of specific --with-libusb
2695 option... may need to revisit this later
2696 - quick installation update in README
2698 - fixed some missed endian conversions in record.cc and added
2700 - fixed endian issues in time.h
2701 - added 2 more functions to the time zone API, and adjusted
2702 the time zone table for better defaults in North America
2703 - added btool and upldif to the make install sequence
2704 - added support for Calendar recurrence data
2705 - small doc/TimeZones.txt update
2707 - added BlackBerry time zone code list, reverse engineered from a 7750
2708 - added GetTimeZone() to convert device time zone codes to useful data
2710 Release: version 0.0.3 - 2006/11/24
2711 ------------------------------------------------------------------------------
2713 - added return code check to Controller::SaveDatabase()
2714 - fixed Data() class constructor, so it doesn't auto-convert
2716 - fixed size checking bug in Packet::ReturnCode() that caused
2717 uploading to device to fail
2719 - added Exceptions doc file, documenting the C++ exceptions used,
2721 - fixed small bug in 'make install' which didn't build first
2722 - minor documentation and cleanup in upldif.cc
2723 - added utility functions to the RecordStateTable class,
2724 GetIndex() and MakeNewRecordId()
2725 - changed btool so that the -d command modifiers can be
2726 specified multiple times to work with multiple records
2728 - added Calendar sync code to the opensync module (not complete)
2729 - cleaned up exception handling in the opensync module, making
2730 more use of the base exception to make sure no
2731 exceptions leak into the C library code
2733 Release: version 0.0.2 - 2006/10/12
2734 ------------------------------------------------------------------------------
2736 - fixed casting error in opensync module
2737 - minor updates to documentation to prepare for release
2739 - added stdint.h to parser.h for uint32_t. Thanks Ron Gage for
2742 - large refactoring of the packet parsing and building code,
2743 splitting the code into 3 groups:
2744 - record: handles record specific parsing and building...
2745 this is mostly subfields with CommonField structs
2746 as their headers, but sometimes has a specific
2747 header of its own, in the case of email
2748 Note: email's header is as yet undecoded.
2749 Record does not know the details of the packet
2750 formats, only the formats of its own record data.
2751 - packet: handles building of complete command packets
2752 and handles parsing of commonly used header values,
2753 providing an API for it... packet does not know
2754 the record format details, but does know the
2755 details of each Database Operation (protocol.h)
2757 So far, it seems that there is a real separation
2758 of operation formats and record formats, with the
2759 record formats being the same even with different
2760 database operation codes (GET_RECORDS /
2761 OLD_GET_RECORDS), which was not confirmed before.
2762 See the header size of the email record after
2764 - controller: handles device state, and the management of
2765 sockets, commands, and checking for response values.
2766 The Controller object does not know the format
2767 of either the record or the packet it is sending,
2768 but does know the protocol handshake logic used
2769 to talk to the device.
2770 - implemented SetRecord (SET_RECORD_BY_INDEX)... syncing, here
2772 - spelling correction in opensync-plugin/AUTHORS
2774 - added sample hotplug scripts
2775 - added .cvsignore files for doxygen and opensync directories
2776 - added src/endian.h... still need to add configure support to
2777 handle non-little-endian machines
2778 - added exception handler in opensync plugin commit_change()
2779 - removed the device reset code in probe.cc, as resetting a device
2780 can renumber the devices in /proc on kernel 2.4.x,
2781 and cause a failure to reach the device...
2782 FIXME - this should be changed someday to reset if probing
2783 fails, and restart the probe on reset, as sometimes
2784 the blackberry devices respond differently when not reset
2785 Ideally, the probe protocol should be properly reverse
2787 - added support for retrieving record state table, which is needed
2789 - added support for retrieving, deleting, and clearing the dirty
2790 flags of individual blackberry device records
2791 - added endian macros throughout the code
2793 - added opensync-plugin to root Makefile's clean
2794 - updated time conversion calls to match opensync's latest SVN
2795 - added opensync_change_set_changetype() (only add for now,
2797 - removed slow sync functions for now
2799 - added quick "install" makefile target, to src/install by default
2800 - added static library target... this is temporary until autoconf
2801 stuff is added properly... needed for the opensync plugin
2802 - documented in comments that Barry::BError is intended to be
2803 the base classes for all exceptions
2804 - added first round of implementation of an opensync plugin, based
2805 on the example plugin code from the opensync sources
2807 - added to Contact record class:
2809 - ReadLdif() to load and parse LDAP data
2810 - added fragmented send support to Socket class
2811 - added Probe::FindActive() to make client programs more streamlined
2812 - fixed hex/decimal printing of record counts in btool
2813 - added upldif.cc, a utility to take ldapsearch output on stdin
2814 and upload it to a blackberry
2815 - updated src/.cvsignore
2817 - added parsing of service book fields:
2819 - old and new unique ID (UID)
2821 - old and new description
2823 - bes domain / domain
2824 - date change in legal.txt
2825 - added initial parsing of ServiceBook field 0x09, and calling it
2826 ServiceBookConfig for now, for lack of a better name
2827 - added parsing for ServiceBook field 0x02 on 72xx Blackberries...
2828 seems to be a name or description, but doesn't appear
2829 in the device's own GUI... called "Hidden Name" for now
2831 - added ServiceBook record class and parser code, based on some
2832 of Ron Gage's reverse engineering... code is by Chris Frey
2833 - added AUTHORS file
2834 - fixed the libusb set_configuration/claim_interface order
2835 bug in controller.{h,cc}... already fixed in probe,
2836 but not controller. Thanks Ron Gage for finding this.
2838 - renamed Changelog to ChangeLog in preparation for autoconf
2839 - renamed Todo to TODO in preparation for autoconf
2841 - make clean cleans up tests properly now
2843 - turned source code browsing on in Doxyfile
2844 - added LoadDatabaseByName() and LoadDatabaseByType() template members
2845 to the Controller class
2846 - new file: controllertmpl.h
2847 - documentation fixes in builder.h
2848 - added static GetDBName() functions to all record classes, in
2849 support of the template Controller functions
2850 - fleshed out DatabaseDatabase::GetDBNumber() and GetDBName(),
2851 returning errors properly
2852 - documented sample btool.cc code better, and added example
2853 of Controller template member usage
2855 - copyright dates updated for 2006
2857 - backed out update to latest libusb DEVEL tree, since it is buggy.
2858 Stick with libusb 2005/11/26
2860 - added clean target to convenience Makefile
2861 - added Boost to list of dependencies in README
2862 - fixed minor compile warnings in base64.cc
2863 - fixed new USB discovery code, and changed endpoint usage to use
2864 it, instead of the READ_ENDPOINT and WRITE_ENDPOINT
2865 constants... constants are now removed
2866 common.h, controller.cc, probe.cc, probe.h, usbwrap.cc
2867 - added ClearHalt() to Usb::Device (usbwrap.cc)
2868 - updated usbwrap.h to match latest libusb CVS devel tree
2869 - updated README to refer to 2005/12/30 libusb CVS devel tree
2870 - added roadmap to Todo list
2872 - added convenience Makefile in root directory
2873 - added Hacking document
2874 - minor touchups to README
2875 - added caution warning to README, since this release will support
2876 delete / overwrite / upload functionality
2877 - minor compile order change in Makefile (speed reasons)
2878 - added dynamic endpoint discovery to probe.cc
2879 - changed claim_interface/set_configuration() function call order in
2880 probe.cc based on feedback on the libusb mailing list
2881 - added USB discovery code to usbwrap.{h,cc}
2883 - fixed packing bug in new upload header struct
2884 - renamed CommonField union from data to u to be consistent
2885 - added return_code field to DBAccess struct, for error checking
2886 - added response checking during upload: if response is non-zero
2887 throw exception in controller.cc
2888 - added sorting operators to record parser classes... when writing
2889 contact data to the device, it may be important to write
2890 group link items last, since they reference other contacts...
2891 This needs to be tested, and if not required, removed.
2892 - added GROUP_FLAG field code to Contact parser class
2893 - fixed offset bug in Contact and Calendar Build() functions
2894 - fixed name bug in Contact::Build(), now output only with data
2895 - added appointment type flag support to Calendar record parser
2896 class, and "all day event" flag support
2898 - added autoconf to Todo list
2899 - refactored the protocol structures so that record structs can
2900 be reused for upload and download
2901 - with new protostructs, more header control is handled by
2902 controller.cc instead of record.cc parsers and builders
2903 - parser code now accepts an offset, to govern start of record data
2904 - changed Data sizes from int to size_t and removed casts
2905 - removed unneeded Parser::GetHeaderSize() (new protostructs make
2907 - added Calendar::Build() for calendar uploads
2909 - added s11n-boost.h serialization templates for boost::serialization
2910 - added boost::serialization to build
2911 - minor change in usbwrap.cc to display error codes in decimal
2912 - added SizePacket special case code to Socket::Send()... this is
2913 required when uploaded packet size is a multiple of 0x40,
2914 a special 3 byte size packet is sent
2915 - moved some record class variables to public: so they can be
2917 - fixed variable name but in RecordBuilder template
2918 - added -f switch to btool, for saving and loading of record data
2919 - added -s switch to btool, for uploading saved data back to handheld
2920 - added Controller::SaveDatabase()
2922 - fixed potential casting / pointer bug in controller.cc
2923 - added builder.h, to support uploading
2924 - minor comment fixes in parser.h
2925 - added preliminary Contact protocol record building support
2926 - fixed field order bug in ContactRecord protocol struct
2927 - Contact record.h class now saves unknown Group Link field,
2930 - added -fno-strict-aliasing to compiler flags so gcc-4.0.x won't
2931 optimize away protocol struct casts
2933 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25235
2934 http://mail-index.netbsd.org/tech-kern/2003/08/11/0001.html
2935 http://groups.google.ca/group/comp.lang.c++.moderated/ \
2936 browse_thread/thread/e7bf096832526f8e/5714701b \
2937 02a2a3cc?hl=en#5714701b02a2a3cc
2938 - changed headers so that any low level protocol-specific sizes and
2939 structs are completely hidden in the library...
2940 this adds library-only header: protostructs.h
2942 Release: version 0.0.1 - 2005/11/25
2943 ------------------------------------------------------------------------------
2945 - added barry.h for documentation purposes and application usage
2946 - updated README for release
2947 - renamed SBError exception class to BError
2948 - updated Doxyfile to version 1.4.5
2949 - added more doxygen comments
2951 - added conversion routines (and tests) between time_t and min1900_t
2952 - added -v option to btool to dynamically control protocol dumping
2953 - removed duplicated database database table display in controller.cc
2954 - minor spelling corrections
2955 - added copyright to usbwrap.{h,cc} as per earlier meeting
2956 - added support for Old protocol Calendar entries
2958 - added legal.txt, to save typing when adding new source files
2959 - ignore test-base64 file (cvsignore)
2960 - added contact-to-ldif generation, and updated supporting code
2961 - added argument to btool to support contact-to-ldif operation
2962 - added Contact::GetPostalAddress()
2963 - added README documentation in preparation for future release
2965 - added parser.{h,cc} virtual wrapper to generalize LoadDatabase()
2966 - added code to socket.cc's Packet() command to re-receive on
2967 reception of empty packets... this seems to be a signal
2968 from the device that it needs more time for long transfers
2969 Current limit: 10 blank packets before exception is thrown
2970 Observed maximum blank count: 1
2971 - added MessageRecord and OldMessageRecord to protocol.h
2972 - changed common record field structs to one CommonField struct
2973 - increased default USB timeout to 10 seconds (some loaded devices
2974 seem to need more time...)
2975 - reorganized record.{h,cc} to try to reduce the code duplication
2976 - record.h classes now "know" the sizes of their corresponding
2977 protocol structs... this may cause trouble down the line
2978 with Python, if used(?)
2979 - added Message class for Email records
2980 - removed the "Get*" database functions and replaced with
2981 general LoadDatabase() call, which loads any database
2982 available, and parses it with a Parser object
2983 - added GetDBID() for searching for database numbers via name
2984 - added test code to retrieve and display all email
2985 - cleaned up comments
2986 - renamed blackberry.{h,cc} to controller.{h,cc}
2987 - renamed bbtool.cc to btool.cc
2988 - added Makefile.conf
2989 - added copyright notices to source files
2990 - added COPYING file with GPL
2991 - put parser in Barry namespace, and added auto_ptr-like mode for
2992 store object pointers
2993 - added doxygen docs
2994 - added header comments to convo.awk script
2995 - removed Test() function in Controller object, and made class
2996 better suited to its general API purpose
2997 - changed OpenMode() so it loads command table and DBDB... it is now
2998 a public API function
2999 - moved Controller test code to btool.cc and made tool more
3000 generically useful... can now download any DB by name on
3002 - added mode checks to Controller
3003 - added -t and -d command line options to btool
3004 - added base64 routines from John Walker / Fourmilab and Citadel/UX
3005 - converted base64 routines into an API, instead of hardcoded
3008 - changed project name to Barry, including namespaces
3009 - renamed sbcommon.* to common.*
3010 - increased USB default timeout to 2 seconds
3011 - fixed formatting bug in Data operator<< output
3012 - cleaned up the protocol packet structs, getting rid of the
3013 confusing param/simple split... param is now the tableCmd
3014 from the Command Table
3015 - moved protocol structs from record.h to protocol.h
3016 - added support for older version of the USB protocol, which matches
3017 the Cassis spec more closely
3018 - fixed the hardcoded offsets in blackberry.cc's protocol parsing
3019 - fixed Socket::Close() so on error, socket flags are reset.
3020 This stops Close() from being called twice on exception
3023 - added Doxyfile to the project
3025 - added mode selection support to Blackberry class (RIM Desktop,
3026 RIM Bypass, and RIM_JavaLoader)
3027 Mode selection governs which socket is used in subsequent
3029 - added Command Table parsing and protocol support
3030 Blackberry class, and CommandTable record class
3031 - added Database database parsing and protocol support
3032 Blackberry class and DatabaseDatabase record class
3033 - added Address book retrieval support - dumps data to stdout for now
3034 - fixed bug in CopyOnWrite mode in Data class, where could allocate
3035 less buffer than data copied
3036 - added "easy exception" debug output macro
3037 - fixed minor spelling error in protocol.cc
3038 - fixed ModeSelectCommand protocol structure - it is not a parameter
3039 command, but uses the unknown slots for socket and flag
3041 - removed hardcoded socket numbers from protocol.h
3042 - fixed bug in socket.cc:Open() where packet size was not properly
3044 - implemented socket::Close()
3045 - fixed sequence number checks, so it is reset properly on socket 0
3046 - added Socket::NextRecord() for multiple record data transfers
3047 - fixed input handling bug in translate.cc
3049 - added .cvsignore files to project
3050 - added README notes to document the source architecture
3051 - added dbsetup data script, which shows how to get into database
3052 mode, using the RIM Desktop mode, and open a socket
3053 - added blackberry.{h,cc} class
3054 - added command line parameters to bbtool.cc
3056 -p = specify pin of blackberry device
3057 - added blackberry test code in bbtool.cc - debugging the initial
3058 opening protocol: sockets, modes, etc... see dbsetup for
3060 - added copy-on-write functionality to Data class, so it can be used
3061 with plain data buffers with little performance impact
3062 - added eout() and ddout() debugging - to separate:
3063 - regular debug output
3064 - exception debug output (should probably be logged to
3065 syslog someday, and never turned off)
3066 - raw data dump output
3067 - changed errno SBError exception handler to try to decode the error
3068 numbers into english (limited success)
3069 - fixed probe and socket USB Bulk message handling, so they don't
3070 use PollCompletions(), but use IO::Wait() (libusb_io_wait())
3071 - added common packet size checker in protocol.cc
3072 - fixed unpacked protocol packet structs... using gcc's
3073 __attribute__ ((packed)) ... see protocol.h
3074 - added ModeSelectCommand structure (protocol.h)
3075 - finished Socket::Open() call (Close() not yet implemented)
3076 - moved Socket::Send/Receive() out of private, as they can be used
3077 for socket 0 operations.
3078 - cleaned up pointer management with macros:
3082 - added IO::Wait() and IO::Cancel() to correspond with libusb API
3083 - added datadumping in usbwrap for easy protocol capture
3084 - added preliminary record.{h,cc} classes
3085 - added Contact record parsing, and test code
3087 - syncberry tree started