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