1 Release: version 0.15 - 2009/01/??
2 ------------------------------------------------------------------------------
4 - removed free() in tarfile.cc, since some distros have bugs in
5 th_get_pathname() that doesn't return a freeable string
7 - fixed some missing headers as reported by Christopher Stover
8 - applied Ryan Li's SMS body null terminator strip patch
9 - fixed code formatting issues
10 - added comment on why we're stripping out nulls
11 - fixed potential single byte buffer overflow
12 - pulled from Josh Kropf: 8266c95a94
13 added "reset to factory" command to bjavaloader
14 - split creation of deb src tarballs into separate script
15 instead of tar-create.sh
16 - added more statements for the m4/ directory in configure.ac
17 and Makefile.am, attempting to eliminate build warnings
18 on FC10, as reported by Christopher Stover
20 - applied Nicolas Vivien's sscanf patch (opensync-0.4x)
21 - wrapped OSyncList in vSmartPtr<> to automatically handle
22 all calls to new osync_list_free() API
23 - applied Ryan Li's updated SMS parser patch
24 - moved SMS metadata structure into its own struct
26 - fixed some endian conversion errors
27 - added strnlen() call to avoid null terminators in
30 - added brimtrans to rpm spec file and debian install
32 - fixed OSyncList* leak in 0.4x plugin from call to
33 osync_plugin_info_get_objtype_sinks()
35 - added IConvHandle, making it possible to support more than one
36 charset in Blackberry data
37 - removed patches from opensync-plugin-0.4x 'make dist' target
38 - updated buildtest.sh for opensync 0.4x
40 - updated man/bjavaloader.1
42 - added Product ID 8001 for the Pearl Flip. Thanks to John Ladan
43 for reporting the new ID.
45 - removed 0.22 opensync patches from 0.4x tree
46 - applied opensync Photo support patches from Nicolas Vivien
47 - renamed SequencePacket() to HideSequencePacket() for clarity
48 This is a temporary measure... this sequence packet
49 code needs to be cleaned up.
50 - added Photo support to examples/addcontact.cc
51 - removed try/catch from vcard/vevent, pending feedback from Nicolas
52 - applied Ryan Li's SMS record parsing patch
53 - changed capitalization to match other code
54 - added Sms to s11n-boost.h and required operator
55 - added Sms to btool.cc, record.h, and Makefile.am
56 - added size checks to the parser code
57 - cleaned up brackets and casting
58 - made dump output prettier (at least to me) :-)
59 - added "unknown" state for MessageStatus, as default
60 - cleaned up whitespace
62 - added endpoint override to Probe class while testing the 7130
63 When using btool's -e option, the Probe class still
64 attempted to probe endpoints as it saw fit.
66 - fixed double-free bug in opensync 0.4x plugin
67 Can only report error or success once in a change.
68 - updated buildgen.sh to handle ctags for multiple opensyncs
69 - fixed inverted logic when doing a hashtable slowsync (opensync 0.4x)
70 - fixed uninitialized osync_trace args in both vformat.c files
72 - opensync 0.4x changes due to upstream API updates
73 - removed idmap and cache code, in favour of opensync's
74 uid mapping and hashtables respectively
76 - opensync 0.4x changes due to upstream API updates
77 - removed deprecated opensync header
78 - updated 0.4x plugin to use new slow-sync API
79 - updated 0.4x plugin to use new function registration and
81 - updated 0.4x plugin to use new sink list (API change)
83 - changed PIN format from decimal to hex in opensync-0.4x plugin
85 - added special case so photo data does not print raw in btool dumps
86 - fixed call to trace.logf() in plugin code... should never call
87 a printf-like function unless you use a constant "%s"
88 - made opensync-0.4x:vformat.c's base64 routines const-correct
89 - fixed free()-crash bug in both vformat.c files
90 When generating the resulting VCARD data, vformat.c assigned
91 static strings to a dynamic heap list pointer, and the
92 later free always failed.
93 - merged some changes from Jose Sogo's Debian package work
94 - menu changes to conform with policy
95 - renamed opensync plugin package name to match Debian
96 - added Nicolas Vivien and Josh Kropf to debian/copyright
97 - fixed uninitialized variable in SocketZero
98 - fixed memory leak in tarfile.cc
99 - fixed uninitialized time struct in bjavaloader.cc (valgrind error)
101 - fixed typo in zsh/_bjavaloader thanks to feedback from Nicolas V.
102 - pulled from Josh Kropf: 75b1a89e8b1eb9d89bcd8b5ecbed9a47af5a8930
103 added logstacktraces support to bjavaloader
104 - updated TODO list with "- All" database parsing
106 - added git tag signing to maintainer scripts
107 - added signed tagging to release checklist doc
109 - updated opensync-plugin-0.4x/README with build help
111 - pulled from Josh Kropf: d6c3173ccd87c6223647950963da79331a68d712
112 added deviceinfo support to bjavaloader
113 - pulled from Josh Kropf: 272f371e8bb95b6c41a8293de657da45a782736f
114 new tool: brimtrans for dealing with RIM USB logs
115 - pulled from Josh Kropf: 7ed1df560ea7cc6a2205d8f8627c00c7aaed2294
116 added wipe support to bjavaloader
117 - added confirmation step to bjavaloader wipe, so it is harder to
118 accidentally wipe your device
119 - applied zsh patch from Nicolas Vivien for bjavaloader wipe
121 - changes inspired from Rick Scott's XmBlackberry
122 - event log timestamp is a time_t in milliseconds
124 - added Mode base class for common mode class code
126 - reorganized external links by date and topic, and added link
127 to Nicolas Vivien's Blackberry on Linux documentation
129 - pulled from Josh Kropf: b3d3a6f48fe008e8842c057df4a653a04b9c56ce
130 - compile fix when using __DEBUG_MODE__
131 - fixed timeout when calling JavaLoader::GetDir on device
134 - fixed embarrassing incorrect exception messages in usbwrap.cc
135 Fortunately, these didn't affect my timeout testing.
136 - added Data::QuickZap(), so that usb read errors don't
138 - inlined Data::QuickZap()
139 - added usb_set_altinterface() call to Interface class
140 This should hopefully workaround the change in 2.6.28
141 kernels where set_interface is not called by the kernel
142 automatically anymore.
144 - applied Nicolas Vivien's opensync-0.4x API patch
146 - applied Nicolas Vivien's zsh patches
148 - added opensync-0.4x to tar-prepare.sh maintainer script
150 - added note about novj option issue in barry-att_cingular
151 - added gettext to documentation dependency list (for iconv.m4)
153 - clarified bjavaloader save behaviour
154 - updated bjavaloader man page
155 - added maintainer/build as exception for test/buildtest.sh
156 - merge opensync-0.4x branch into master:
158 - removed nested m4 in preparation for merge into
161 - applied Nicolas Vivien's opensync-0.4x
162 Calendar+Contact patch
164 - applied Nicolas Vivien's opensync-0.4x
166 - removed unneeded ChangeLog.osync
167 - added opensync-plugin-0.4x to top level configure, but not to
169 - added old emails from Ron Gage from 2006 regarding Autotext
170 and Service Book parsing
172 - pulled from Josh Kropf: 9b63a99867b3314b8d42212cac05a6f28860d37b
173 - saving large modules in pkzip format
174 - cleaned up StartStream function; use JLPacket instance
175 - refactored SendStream; use JLPacket instance and use simple
176 function for seeking to next cod file in input stream
177 - made following changes to Josh Kropf's patches
178 - Added CODFILE_TYPE_SIMPLE check back in
179 - Minor change of c_str() to data() where a null terminator
181 - Fixed unlikely buffer overflow in m_javaloader.cc
182 Goal: never trust outside sources of
183 information (including that from the device) when
184 managing our own buffers.
185 - Removed CodFile forward declaration, since class does not
187 - Fixed typo in configure.ac, and made missing zlib warning
189 - Added clarifying comment to CodFileBuilder
190 - Fixed potential reference bug in CodFileBuilder constructor
191 It is possible that the const std::string& passed
192 into the constructor is a temporary, so make a copy
193 of it instead of just holding a reference.
194 - Removed multi-unget call in cod.cc -- only one unget() is
195 guaranteed in C++. It appears that the unget is
196 unnecessary, since the following code seeks to end
197 and back to beginning anyway.
198 - Added copyright line for Josh Kropf in cod.cc and
200 - Fixed incorrect zlib check, since zlib doesn't support
201 pkg-config on most systems yet. Changed it to
202 use AC_CHECK_LIB, and added a --with-zlib configure
203 option which will cause configure to halt if
204 zlib is not available. Added --with-zlib to
205 binary package builds, and to build test script.
206 - added zlib to rpm and deb build requirements list
208 - updated USB capture logs archive page with new logs from Josh Kropf
209 - applied as patch Josh Kropf's annotated javaloader-reset.txt log
210 - added note about windows registry keys to USB-capture.txt
212 - applied Josh Kropf's patch adding support for forced erase and
213 load while module in use, properly handling when the
214 device requests a reset
216 - applied Nicolas Vivien's RecordId patch for Contact class...
217 this updates Barry to deal with the new record ID behaviour
220 - removed unneeded call to .c_str() in EmailAddress stream operator
221 - added support for Calendar fields: Organizer, Accepted, Invited
222 - reorganized the udev/ script directory, based on distro,
223 and added a specific rules file for openSUSE 11.1
224 - updated Debian and RPM binary scripts to point to correct udev files
226 - applied Nicolas Vivien's patch to fix the timeout issue on the
229 - applied Josh Kropf's save module patch
230 - minor whitespace fixes
231 - removed unneeded exception (fstream closes files
232 automatically on exit of scope, or exception)
233 - fixed compile error with variable sized array...
234 replaced with std::vector<> instead of memcpy,
235 in JavaLoader::SaveData()
236 - commented out an unused variable
238 - commented out AT+CREG? in barry-rogers.chat, since it causes some
239 Blackberry devices to reboot
240 - applied Josh Kropf's eventlog and clear eventlog patches
241 - capitalized JLEventlogEntry fields, to match other
243 - use constant when parsing entry
245 - sweeping cleanup of record classes and clarified all constant
246 conversions i.e. whenever converting between a protocol
247 constant and an API constant, do it through a function,
248 in case the constants change on the Blackberry side
250 - applied patch of binary VSM file from Robert Yaklin
252 - moved Nicolas Vivien's codfile code into library class API
253 - this change avoids having packed structs exposed in
254 installable header files, and gives the library
255 user an easy way to work with COD files
256 - added CodFile class
257 - added JavaLoader::LoadApp(CodFile&)
258 - cleaned up bjavaloader to use new API
259 - moved codfile_*_t structs to internal header
260 - also fixed command line status output when exceptions
261 are caught (unrelated fix)
262 - added / updated manpages: bfuse, bjavaloader, btool
263 - added fuse to build dependencies for rpm and deb packages
264 - updated web docs, adding libfuse to dependencies page
265 - added libiconv as well
267 - applied screenshot and zsh patch from Nicolas Vivien
268 His git log, as posted to the mailing list, was:
269 Remove bscreenshot binary
270 Add screenshot option to bjavaloader binary
271 Add comments in the code
272 Use defines beside of integer constant
273 Use b2hons to be compliant with evrywhat host
274 ZSH scripts completion
275 Use BMP structs beside of unreadable buffer !
277 - add command GetScreenShot to JLPacket class
278 - add JLScreenInfo to protocol structures
280 - minor tweaks to Nicolas's screenshot+zsh patch:
281 - renamed DIR_ENTRY and SS_ENTRY to DATA_ENTRY constant
282 as suggested by comments
283 - fixed some packet size checks
285 - removed unneeded packet.GetReceive(), since response
286 buffer is the same as what GetReceive() returns
287 - used AutoClose for fopen() calls in bjavaloader.cc
289 - removed manual buffer handling in favour of Data object
290 in JavaLoader::GetScreenshot()
291 - removed "unknown packet" exception from Socket::PacketData()
292 I think it is probably better to handle javaloader-level
293 errors and codes in the JavaLoader class, not the low-
295 - added erase and force erase support to bjavaloader, library, and zsh
296 - force erase is experimental
297 - applied documentation patch from Robert Yaklin on VSM file format
298 - did slight formatting changes before applying, for 80
299 columns, and set file to unix format instead of DOS
300 - added links to new USB capture logs from Robert Yaklin to
302 - cleaned up src/Makefile.am, regarding non-install headers
303 - moved Nicolas Vivien's bitmap conversion code into library API
304 - added bmp.h api, and moved internal structs to bmp-internal.h
305 - added size checks and endian conversion to bitmap
306 conversion code, so this code should run anywhere
308 - added link Josh Kropf's 'Blackberry development in linux' blog
309 post to doc/www/index.php
310 - added USB capture log archive page to www docs
311 - added config.rpath, needed by new AM_ICONV check
312 Thanks to Bill Paul for debugging this.
313 - applied Nicolas Vivien's opensync plugin 0.4x patch
315 - added template wrapper for iconv() due to casting differences on
316 various platforms... thanks to Bill Paul for FreeBSD testing
317 - added AM_ICONV automake/autoconf check to configure.ac
318 This should take care of checking for libc or library
319 iconv installs, and checking the iconv() prototype for whether
320 const is needed or not. This removes the need for the
321 template added earlier.
323 - applied patch from Josh Kropf making bjavaloader's syntax more
324 compatible with the windows version, to make cross
325 platform build scripts possible
326 - applied Josh Kropf's settime syntax patch
327 - clarified timezone behaviour in javaloader settime
328 - added flag to JavaLoader mode class, so StopStream() is called
329 automatically in the destructor if not called manually
331 - added another ctor to BadSize exception class
332 - fixed bug in SocketZero where it checked sequence on packets
333 from non-zero sockets
334 - javaloader list mode updates:
335 - added Dump() code to directory classes
336 - fixed size issue with JLDirEntry header size define
337 - fixed size checks in entry parser
338 - fixed copy before in JLDirectory, now uses vector
339 - moved bjavaloader's Start/StopStream calls to main()
341 - removed default argument to CheckSize() so all code specifies
342 the size it really needs
343 - fixed bug in ParseData() that didn't copy data to receive arg
344 - adding additional javaloader commands and refactoring
345 this is a work in progress:
346 - added JLPacket class, encapsulating javaloader protocol
347 - added new defines for more JL commands
348 - refactored socket class, using PacketData()
349 for JL, and Packet() for Desktop (still needs
350 some work to be really clean)
351 - began implementing new commands (SetTime())
352 - thanks to Rick Scott for his reverse engineering effort
353 in XmBlackBerry, which inspired this code
354 - refactored packet.cc to make JLPacket even tighter
355 - updated doc/USB-capture.txt with link to vusb-analyzer
356 Thanks to Martin Owens for the link.
357 - added a set of be_*() endian swap functions, for big endian data
358 JavaLoader code seems to use big endian a lot.
359 - simplified bjavaloader.cc's command line args to make room for more
360 - cleaned up big endian code to use new be_* swap macros
361 - added protocol and packet code for directory / subdir commands
362 - added preliminary directory support to JavaLoader class
364 - reverted experimental handshaking in IpModem, since the session_key
365 patch fixed Bill Paul's issue
366 - finished adding IConverter support to r_task and r_timezone
367 - removed r_message_base.h from doxygen RecordParserClasses group
368 - removed unused ClassType variable from Task record class
369 - refactored Calendar and Task record classes, creating new
370 RecurBase to handle recurrence data
371 - removed FIXME in Socket::Packet(), since socket is set in Send()
372 - cleaned up socket handling and comments in packet.cc
374 - applied Nicolas Vivien's javaloader patch, fixing constant defines
375 and other small fixes
376 - minor whitespace and spelling fixes to above patch
377 - changed m_ipmodem.cc to send the session key even without password
378 which should help reduce the "special packets" coming from
380 Thanks to Rick Scott and Andy Herkey.
382 - refactored pthread timeout creation into ThreadTimeout() function
383 - added experimental handshaking to IpModem. This is in response
384 to Bill Paul's email regarding what he was seeing in the
385 logs with the special code packets which we dropped
386 on the floor. This code is to test whether this handshaking
389 - made maintainer script make-deb-local.sh more robust
390 - added list of target binary packages in ReleaseChecklist.txt
391 - changed to more general Fedora link to Chris Stover's packages
393 - applied Andy Herkey's ipmodem password patch for the Bold
394 - minor fixes to above patch, and in addition to above patch:
395 - use sizeof(seed), instead of type, in case of future changes
396 - removed commented out code
397 - added the null password check back to SendPassword(),
398 for historical reasons
399 - removed the null and zero default arguments to
400 SendPassword(), since they make no sense
401 - added define for session key size, and added size check
402 - added missing string.h header to src/m_javaloader.cc
403 - updated Debian and RPM packages to include bjavaloader
405 - applied Nicolas Vivien's bjavaloader patch
406 - small fixups to above patch:
407 - moved cod.h from installable headers to internal headers
409 - copyright statement tweaks
410 - added blog URLs to copyright list in cod.h where parts
411 of the structs appear to come from
412 - removed unused variables to compile with strict settings
413 - changed char to unsigned char to fix strict compiler
415 - removed duplicated a/b from Socket messages, and moved
416 read/write text to front, in socket.cc
417 - added NetDirect copyright notice to bjavaloader.cc, since
418 it is based on btool.cc
419 - removed unused boost-specific code from bjavaloader.cc
420 - more fixes to above patch: (bjavaloader.cc specifically)
421 - moved cod.h back to installable headers, since tools/
422 programs depend on it... this should be fixed
423 or put in the library as a COD-reading API
424 so that applications don't need to worry about
426 - fixed potential buffer overflow: removed buffer read used
427 to skip ahead in file, and replaced with fseek()
428 - changed SendAppFile() to report errors by exception
429 instead of by return value, which wasn't checked
430 anyway... and C++'d the file handle closing
431 - removed unused StateTableCommand, leftover from btool
432 - added check for unlikely case of COD file being larger
433 than size_t, breaking the fread() assumption
434 for the type == 0xC0DE case
435 - added checks for fread() failures
436 - fixed compiler warnings when comparing signed/unsigned,
437 and changed file operation types from plain int
439 - changes to src/m_javaloader.cc:
440 - fixed comments to remove Desktop-oriented notes
441 - moved variables closer to their use point
442 - removed the duplicated response Data objects in favour
443 of just one (each default Data object uses 0x4000
445 - removed manual endian swap in favour of htobl()
446 - oops... this size field is actually big endian.
447 Since all Barry code assumes that Blackberry
448 protocol traffic is little endian, a special
449 case needs to be added in m_javaloader.cc for
450 this field. The special case uses autoconf's
452 - fixed long long problem in endian.h (ISO C++
453 compilers don't support long long) and made
454 the bswap() functions always available
455 - removed unused CommandType and m_commandTable members
456 - fixed exception error messages to indicate command #
457 instead of Desktop message
458 - changed Packet() call to PacketData() when sending
459 file size, since there is no command
460 - added eout() data dump to socket::Packet() unknown send error
461 - fixed my incorrect off_t/size_t check in bjavaloader.cc
462 - removed the '0' JL_UNKNOWN4 command from src/protocol.h,
463 since the PacketData() change above now handles that,
464 and I don't think that byte is actually a command, but
465 really part of the uint32_t size
466 - Also fixed one remaining 0 command, to use PacketData()
468 - added AT+CLAC note to contrib/modemtest.rb, recording tidbit
470 - updated copyright dates for 2009
472 - fixed missing slash in config sample in doc/www/sync.php
473 Thanks to sourceforge tracker #2413683 for reporting
475 - added more notes to doc/USB-capture.txt, documenting my kernel
476 setup for capturing USB traffic, and added size-limiting
478 - added TODO list item for the Blackberry Storm
480 - moved Product ID constants into a single place (src/common.h)
482 - added Product ID 8007 for the Blackberry Storm... needs testing
484 - applied ppp chat script patch for AT&T Cingular from
486 - added new chat scripts to debian and rpm packages
487 - added known sources of additional Barry binary packages to index.php
488 - turned on call/caller graph support in Doxygen output
490 - applied 'patch' of Martin Owens' Content Store documentation
493 - large refactoring of all message/email record classes, and more
494 There is now a MessageBase base class, which combines
495 common email record parsing code in one class. This base
496 class is reused by all the specific messages record classes.
497 This commit also includes support for multiple email
498 addresses per email, as well as giving IConverter support
499 to all message classes.
500 - deleted empty *.cc files from project
501 - updated TODO file, removing opensync i18n bug
502 - added TODO item for password support in Opensync... try to avoid
503 storing the password in the sync config in plain text
504 - fixed dll export bug on ErrnoError exception class
505 - added BadPackedFormat exception for internal use
506 - ServiceBook: added IConverter support, and general cleanup
507 Refactored ServiceBook class and added some experimental
508 template functions to generalize the FieldLink table
509 processing. If possible, this needs to be expanded
510 to the general record classes, to reduce the amount of
511 code duplication during processing of FieldLinks and
512 CommonField structures.
513 Also, ServiceBook deals with packed fields, which should
514 also be extrapolated for general use, and reused if
515 possible for the new "Calendar - All" Blackberry databases
516 that are coming out on the new devices and firmare.
518 - updated man/btool.1 with new -i option
519 - fixed bug where opensync plugin didn't pass IConverter to Desktop
520 - added IConverter support to r_calendar.cc
521 - renamed utf8Needed to iconvNeeded, for consistency
522 - added IConverter support to r_folder.cc
523 - added IConverter support to r_memo.cc
524 - added IConverter support to r_message.cc
525 - added EmailAddressList, in preparation for multi-address email
527 - changed Parser base class to pure abstract... this is so that
528 future API changes to the Parse base class will be
529 detected by the compiler as errors
530 - added NullParser class, which performs the old Parser function
531 - changed all FieldLink arrays to static
532 - added new IConverter class to support converting the Blackberry's
533 WINDOWS-1252 charset to/from UTF-8 and more
534 - fixed bug in IConverter that saved end of string instead of
536 - reorganized barry.h app header and record.h header, so that
537 internal builds have fewer dependencies
538 - large parser/builder API change, adding IConverter support
539 This change starts at the top (Mode::Desktop) which
540 takes an optional IConverter object for parsing and
541 building conversions. The Desktop class passes
542 this IConverter object to Packet, Parser, and Builder (and
543 thereby, the corresponding Record classes) as needed.
544 This adds an extra pointer to a fair number of calls
545 in the stack, but maintains flexibility without putting
546 too much of a burden on Parser writers, which could be
548 The primary use of this architecture is to pass in an
549 IConverter configured to convert to UTF-8... this is
550 basically the only useful conversion method, but others
551 are possible if you want to play.
552 - first record class to support string conversions: Contact
553 - reverted the barry.h and record.h reorganization, since
554 the gui depends on it
555 - reorganized barry.h and record.h again, making inclusion of
556 the record headers dependent on whether it is a library
558 - updated the gui with the parser/builder API change
559 - added IConverter to opensync plugin, set to UTF-8
561 - added comment to src/r_contact.h deprecating the Phone field
562 - updated Doxyfile to 1.5.1
563 - added Christopher D. Stover to AUTHORS file as Fedora contact
565 - forgot #include <string.h> for memcpy/memset in tools/bfuse.cc
566 - moved bfuse install point from /usr/sbin to /usr/bin
568 - added FUSE filesystem "driver"
570 - commented out the info.subsystem match level in HAL FDI file...
571 this should let the FDI work on old and new systems.
572 HAL version 0.5.8 (used by Debian Etch) has the deprecated
573 info.bus property, and doesn't have info.subsystem yet.
574 - added HAL FDI scripts to rpm/barry.spec
575 - fixed tools/Makefile.plain
577 - added support for multiple work/home phone numbers to the
579 - Thanks to Richard Esplin for his test data.
580 - This fix has a conflict when a cell phone number is
581 marked as the preferred contact as well.
582 See http://sourceforge.net/mailarchive/message.php?msg_name=20081030231045.GA28989%40foursquare.net
583 for the full details.
584 - This fix also changes the VCARD output... pager phone
585 numbers are given the TYPE code of "pager"
587 - Added OtherPhone field as well
589 - applied HAL FDI scripts and configuration from Martin Owens
590 - updated AUTHORS file
591 - added HAL FDI and python script to Debian package install
593 - updated copyright notice and help text in contrib/modemtest.rb
594 - changed barry-verizon.chat script according to Andy Herkey's
595 recommendation... this worked much better for Michael L.
596 Stokes, since his provider was getting stuck on the ATZ
598 - applied Andy Herkey's modemtest.rb ruby script to contrib/
599 from his Aug 9, 2008 email to the mailing list
600 - applied Andy Herkey's new modemtest.rb script to contrib/
601 from his Oct 8, 2008 email to the mailing list
602 - added password pass-through code for pppob -s mode
603 - clarified front page www doc, adding date of last release
605 - cherry-picked changes from Jose Carlos Garcia Sogo's debian git repo
606 - debian/rules was stripping wrong library names
607 - FSF address was incorrect (also updated other source
608 files throughout the tree myself)
609 - more complete debian/copyright file
615 - gui/src/BackupWindow.cc
619 - opensync-plugin/src/barry_sync.cc
620 - added link to doxygen documentation to www index.php
622 Release: version 0.14 - 2008/09/24
623 ------------------------------------------------------------------------------
625 - changed Debian changelog version to 0.14-0 to make room for
626 official Debian packages which start at 0.14-1
627 - moved Doxyfile from src/Makefile.am to Makefile.am
628 - made RPM spec file match debian version number
629 - www documentation updates for 0.14
631 - fixed git-tagged-release.sh to not delete its own results... oops
633 - fixed git command line in git-extract.sh for new 1.6.0.x behaviour
635 - added notes in ReleaseChecklist.txt regarding the new tarball
636 tags in the git repos
638 - updated doc/ReleaseChecklist.txt
639 - moving items from private todo list to TODO file
640 - removed unused variable from maintainer/git-release-tar.sh
641 - added new maintainer/git-tagged-tar.sh, which puts more data
642 in the git repo, to make it easier for official Debian
644 - moved src/Doxyfile to ./Doxyfile to avoid ".." in the config...
645 the ".." paths confused doxygen and caused it to generate
646 non-relative paths in the documentation.
647 - added umask to maintainer/git-extract.sh, so it works even without
649 - updated maintainer/tar-prepare.sh to match the new Doxyfile
650 - added maintainer/tagged-release.sh, as replacement for the
651 release.sh top level script, when using git
652 - removed CVS-style ID code from contrib/barry-unbind-storage.sh
653 since it made it look like cdfrey wrote it
654 - removed doc/CodingStyle.txt as it is now documented in html
656 - added device name and backup label support to the GUI
657 It is now possible to name devices, instead of just
658 operating by PIN number, and it is possible to now
659 add a text label to the backup tar filenames.
660 - added the device names to the device selection dialog
662 - updated TODO list with i18n opensync bug and general i18n support
663 - added test suite to TODO list
665 - renamed libbarry to libbarry0 in rpm/barry.spec
666 - added %dump to rpm/barry.spec to match the OBS version
667 Makes it easier to track variable changes across
669 - added note to NEWS regarding binary package renaming
671 - fixed logic error in breset that displayed error on success
672 Thanks to Richard Esplin for reporting this bug.
673 - applied commit's from Jose Carlos Garcia Sogo's debian git repo
674 git://git.debian.org/git/users/jsogo/barry.git
675 - Add binary dependency of libbarry-dev on libusb-dev
676 - Rename libbarry to libbarry0, per debian policy
677 - Add exact dependency on binary:Version for every
678 -dbg and -dev package
679 - Bump Standards-Version to 3.8.0
681 - clarified barrybackup error message when no records available
682 Added a check so that "no databases selected" and
683 "no records available" are two distinct error messages.
685 - applied ppp chat script patch from Mick Reed
686 - updated RPM and Debian packages with new tmobileus ppp scripts
687 - added T-Mobile US to web documentation
689 - clarified sync docs regarding slow-sync... avoid it if possible
690 - tuned doxygen config, and moved generated files to doc/www/doxygen
691 - added git-release-tar.sh, replacing CVS's make-release-tar.sh
692 Also added doxygen to the release tarball creation, so
693 the source code's doxygen documentation is automatically
694 generated upon release.
695 - split git-release-tar.sh into reusable component scripts
697 - added exception handler for invalid command line options in GUI
698 - fixed barrybackup man page, removing bad -v option
699 - added distro section to AUTHORS
700 - fixed comment and whitespace problems in time.{h,cc}
701 - Converted Birthday from string to Date, and added Anniversary
702 support. Birthday and Anniversary fields now use a new
703 Date struct, and Barry validates the data to some extent.
704 - updated example code and opensync plugin to match
705 - applied Lee Dixon's Location and Description plugin patch,
706 with minor whitespace edits
708 - added Birthday field to examples/addcontact.cc for testing
710 - applied Lee Dixon's Birthday field and opensync patch
711 - fixed coding format issues
714 - fixed bug in m_ipmodem.cc that included a null terminator in
716 - fixed RFC 2426 conformance bug... RFC 2426, 3.1.1 states that FN
717 MUST be present in the vcard object. If there is no name
718 available, then we use the Company name if available. It
719 should be, since the Blackberry requires either name or Company
720 in order to create a new address. If Company is blank too, then
721 we insert "(Blank Name)".
722 - On the flip side of this same bug, it is possible to receive
723 non-conformant vcard data from evolution / opensync
724 that does not include FN. Since the Blackberry
725 doesn't require this information, remove the
726 exception, and only throw an exception if FN
727 or Company are both blank.
728 - REVERT: removed the Company and "(Blank Name)" workarounds,
729 and just produce an invalid vcard if no full name,
730 since with multiple syncing, this will come back
731 to bite us with duplicated Company name data
732 - added sanity check to contact class for blank name and company
733 - added BadData exception class, and documented it
735 - fixed bug in vAttr::GetValue that ignored index for single valued
736 attributes... this should fix the endless loop / memory
737 exhaustion that some people have been seeing
738 Thanks to Lee Dixon for reporting this bug in detail!
739 - added TODO list item for implementing recurring calendar items
745 - gui/src/BackupWindow.cc
749 - opensync-plugin/src/barry_sync.cc
750 - updated web docs showing how to set the password when using modem
751 - added section to docs on how to test the modem connection
753 Release: version 0.13 - 2008/07/28
754 ------------------------------------------------------------------------------
757 - removed extraneous "experimental" wording
758 - added section for external links to main index page
759 - fixed doc bug about how to install libtar
760 - added O2 Ireland to list of modem scripts
761 - removed ubuntu80464 and fc6 from binary package list
765 - applied barry-unbind-storage.sh script from Niels de Vos...
766 added to contrib for now, in the interests of getting
767 version 0.13 released soon... we can work on integrating
768 this better in 0.14, which hopefully won't take so long :-)
770 - added g++ (>= 4.1) to Debian build dependency list
771 - added support to base library and utilities for multiple email
772 addresses in Contact records
773 - added opensync support for multiple contact email addresses
774 - applied ppp chat scripts for O2 Ireland from Simon Kenyon
776 - integrated O2 Ireland scripts into binary package installs
778 - applied David Mansfield's opensync module password patch (ported
779 manually to latest upcoming 0.13)
781 - added password documentation to sample barry-sync module config
782 - updated web docs with new password sample config
784 - removed old, unused spec file and scripts for bcharge-only release
785 - fixed rpm build instructions in web docs
786 - reduced minimum password retry level from 6 to 3... Reinhold Schoeb
787 reports that his 8800 device only lets him set a password
788 retry range between 3 and 5, instead of the usual 10 that
791 - added "known issues" section to main www doc page
792 - fixed virtual function mis-name bug in btool's null parser
793 - added -i option to brecsum, to include record IDs in the sums
794 - applied Ashley Willis's btool 0.12 null parser patch to CVS, which
795 required some manual porting changes...
796 - removed bool reference argument in GetParser()
798 - applied Ashley Willis's perlbarry package, putting it in the
799 new contrib/ directory
801 - now that btool patch is applied, don't need it in contrib
802 - removed openssl from dependencies documentation, as barry now
803 has its own sha1 code
804 - added libtool to dependencies documentation
805 - rpm/barry.spec file now assumes gui and opensync, with conditional
806 checks depending which system it is being built on...
807 --with gui and --with opensync are no longer needed.
808 - updated release scripts to build RPMs with the new spec file
810 - updated udev rules to recognize devices with the 8004 Product ID
811 - fixed bug in test/buildtest.sh when opensync is not pre-built
812 - fixed more lintian warnings on Ubuntu
813 - fixed tiny subheadings in modem web document
814 - added syncing howto web document
815 - updated TODO list, adding Troubleshooting item, and morphing
816 the modem item into the RPC daemon item
817 - moved old doc/TroubleShooting.txt document to web, and updated
819 - added tip to sync web docs, for using DebugMode on hangs
821 - changed test/buildtest.sh so it is safe to run from outside
822 the directory that contains it
823 - added note to patch webpage regarding testing patches to the
825 - removed mis-configured 'make dist' check from buildtest.sh
826 - added missing 'scoped_lock.h' to src/Makefile.am's non-installed
827 headers, as it is an internal header only
828 - improved buildtest.sh: speed, accuracy
829 - added -j option to make to speed builds
830 - moved cleanall check above 'make dist' as dist doesn't
831 clean up after itself
832 - commented out 'make distcheck' for now, as it doesn't work
833 - added DISTCHECK_CONFIGURE_FLAGS to root Makefile.am, similar to
834 David Everly's patch in tracker # 1973536
835 Thanks David! 'make distcheck' now works, but only in
836 an environment like buildtest.sh creates.
837 Also, buildtest.sh passes all tests now, including distcheck.
839 - removed unused src/controllertmpl.h
840 - added ppp and test directories to Makefile.am EXTRA_DIST
842 - added beginnings of a build system test script
843 - fixed sha1.h so it is installed by src/Makefile.am
844 - removed old Makefile.orig from src/Makefile.am
846 - updated modem web documentation page with Sprint option, as
847 well as listing some network security concerns
849 - added modem reset workaround to web documentation page
850 - applied Andy Herkey's ipmodem password patch, round 1
851 - applied Andy Herkey's ipmodem password patch, round 2
852 - cleaning up some rough edges to the ipmodem patches:
853 - removed commented out code in pppob.cc
854 - added BXLOCAL to private member SendPasword()
855 - added try/catch in IpModem destructor
856 - removed FIXME comment about endian issues
857 - added data size checks to SendPassword()
859 - renamed class variable session_key to match others
860 - added check to skip password if "" is passed in
861 - added the m_filter for ipmodem PPP 0x7e filtering
862 back, since the 8320 w/ rogers seems to need it
865 - added timeout argument to Device::BulkDrain()
866 - added mozilla's sha1 code from git
867 - removed openssl dependency due to license issues
868 Debian and Ubuntu have checks in their lintian tool that
869 check for GPL+OpenSSL linkage. In order to remove any
870 potential obstacles to future inclusion in those distros,
871 the dependency is removed here in favour of the small
872 mozilla implementation which is GPL.
874 - added notes to web documentation for OpenBSD
875 - documentation updates:
876 - changed git patch command to use format-patch
877 - added instructions for building from tarball
878 - added bugs.php and contact.php pages
879 - fixed missing and mis-dated copyright notices in src/
880 - added ppp options and chat script for Sprint, based on
881 Andy Herkey's mailing list report
883 - added Ubuntu 8.04 to release build scripts
885 - fixed compile errors in gui when compiling with gcc 4.3.x
886 - added ppp options and chatscript files to RPM build
887 - updated docs with binary package default PPP scripts
888 - added -P option to pppob to specify password
889 - updated pppob manpage with -P option
890 - fixed missing -P option in btool manpage
891 - updated rpm spec file history
892 - added pppob manpage to rpm spec file
893 - added manpages for brecsum, breset, upldif, and barrybackup,
894 and updated the build process to support them.
895 Also updated date for pppob manpage.
896 - updated rpm spec file with new manpages
897 - added ProductID code 0x8004 to breset.cc
898 - minor whitespace and usage text fix in upldif.cc
899 - deleted old src/Makefile.orig
900 - updated Debian binary package:
901 - added manpages for brecsum, breset, pppob, upldif,
903 - added ppp options and chat scripts, with postinit
904 script to set permissions
905 - fixed descriptions in control file to avoid lintian warnings
907 - fixed missing #includes in src/data.cc
908 - fixed compile errors in library, utils, and plugin when compiling
909 with new gcc 4.3.x... gui not yet finished
911 - added minimum g++ version to website dependency docs
914 - reorganized sample ppp options files so they are easier to compare,
915 enabled "usepeerdns" in both, and disabled the speed
916 setting in barry-verizon
917 - updates to website documentation
918 - added FC9 to distro list
919 - added page for BarryBackup
920 - added page for USB modem / pppob
922 - added sample ppp options files for Verizon Blackberries
923 Sample files from Michael L. Stokes
925 - renamed sample ppp peer files, in preparation for installing
926 them automatically in binary packages
927 - modified verizon options file to use pppob
928 - split the sample rogers options file into options and chat files
930 - put sequence packet check directly in the SocketZero::RawReceive()
931 function, which now localizes all sequence packet
932 handling and checking, as well as avoids packet
933 order problems when multiple sockets are in use,
934 such as with pppob...
935 FIXME - this localized sequence checking may make all
936 the calls to CheckSequence() obsolete which
937 should probably be cleaned up someday, if so.
938 - reorganized src/socket.cc to match class private/public
939 order (no code change, only move)
940 - added verbose log message to Controller constructors, so it is
941 possible to determine whether a program is using
942 threaded or non-threaded sockets
943 - added -z and -Z command line options to btool to control
944 the non-threaded/threaded behaviour, respectively;
945 and updated the man page
946 - removed debug sleep() calls from pppob
947 - added SIGINT signal handler so pppob shutsdown gracefully when
950 - mention CVS and git on main documentation "how to" list
951 - moved PPP filter logic into its own class
952 - enhanced PPP filter class to support prepending of
953 empty bytes if needed, in order to reduce data
954 copying, and clarified why there is no GetBuffer()
955 - added ProbeResult::HasIpModem() to determine whether
956 IpModem endpoints are available
957 - added pure virtual Modem base class for common
958 modem-oriented API (only Open and Write so far)
959 - Mode::IpModem is now derived from Barry::Modem
960 - experimental implementation for Mode::Serial,
961 which is now derived from Barry::Modem,
963 - pppob now supports IpModem and Serial modes, and logging
964 to file instead of stderr
965 - added man page for pppob
967 - modified the planned version numbering scheme in doc/VersionNotes,
968 so that a 1.0 is possible, with 1.50 as the devel series
970 - continuing to update html documentation in preparation for
973 - removed -fvisibility-inlines-hidden compile options since some
974 distros have old or broken compilers or libraries where
975 the build breaks looking for STL templates (Ubuntu 7.10,
976 I'm looking at you...)
977 - changed brecsum so usage information is displayed automatically
978 if no command line arguments are specified
979 - added opensync-plugin to maintainer test scripts, and added
980 ubuntu710 to the test build sequence
982 - updated doc/TroubleShooting.txt
983 - removed usb_control message check from IpModem endpoint probing
984 in src/probe.cc, since some devices, like the 8700
985 have both RIM_UsbSerData mode and IpModem mode.
986 - fixed serialization code for Calendar record class, in s11n-boost.h
987 - made UnknownField's data member into its own type,
988 so that when building records, it doesn't get processed
989 like a null terminated string... also added more
990 BuildField() helper functions for accuracy
991 - fixed missing fields in the Calendar record build process
992 - added Calendar to list of Builders in tools/btool...
993 it is now possible to run: btool -s "Calendar" -f datafile
994 - added tools/brecsum program, which calculates SHA1 checksums
995 on database records, for testing
996 - added brecsum to debian and rpm builds
997 - added recurrence builder function to Calendar record builder code
998 which completes builder support
999 Checksums from the following commands now match:
1000 brecsum -d Calendar > sum1.txt
1001 btool -d Calendar -f calendar.dat
1002 btool -s Calendar -f calendar.dat
1003 brecsum -d Calendar > sum2.txt
1004 diff -u <(sort sum1.txt) <(sort sum2.txt)
1006 - applied Jason Thomas's ACLOCAL_FLAGS patch to make autoreconf
1007 work again... Thanks!
1008 - applied Jason Thomas's debian build dependency patch
1011 - started documentation overhaul in doc/www, putting the commonly
1012 asked questions right on the front page, and making it more
1013 goal-oriented, so it is hopefully easier to use
1016 - fixed error messages in m_desktop.cc that still referred
1019 - major merge of barry-b1-socket-arch-branch into MAIN.
1020 The following is the changelog from that branch, which is now MAIN.
1023 - added thread-safe logging mechanism
1024 - added preliminary IP modem support... requires a recent
1025 device... serial mode is not yet supported
1026 - merged HEAD changes
1028 - changed Barry::Init() so programmer can choose where
1029 debug and exception information goes, instead of
1032 - merged HEAD changes
1034 - fixed bug in probe class, which missed storing the PIN
1035 number in ProbeResult
1036 - also added ProbeResult constructor
1037 - merged changes from visibility branch:
1038 - GCC visibility support, limiting what symbols are
1039 visible in the shared library, libbarry... this makes
1040 a drastic reduction in the symbol table, and should
1041 avoid future name clashes with other libraries such
1043 See: http://gcc.gnu.org/wiki/Visibility
1044 - vformat_() function name changes
1046 - merged HEAD changes
1047 - added threads library to new bs11nread build
1049 - fixed variable size issues in btranslate.cc, evident with
1050 some compilers on 64 bit systems
1051 - merged HEAD changes
1052 - added comments for threaded usage in usbwrap.h
1053 - changed router to use SocketId typedef, for clarity
1055 - fixed const char warnings from newer gcc compilers
1056 - controller object now saves a copy of the probe result
1057 and provides an API to retrieve it
1058 - added sanity checks to m_serial.cc
1059 - fixed probe behaviour so that a USB probe on an endpoint
1060 that doesn't respond won't halt everything
1061 - refactored some of the probe code, and added checks for
1063 - added Probe::DumpAll()
1064 - added Open() call to pppob.cc (not yet complete)
1066 - implemented dataqueue.{h,cc}... looks ready for testing,
1067 once things compile again
1068 - changed free list copy in router.cc to use
1069 DataQueue::append_from()
1070 - finished packet.{h,cc} implementation, ready for testing
1071 - finished controller.{h,cc}, ready for testing
1072 - finished m_desktop.{h,cc}, ready for testing
1073 - added skeleton m_serial.cc
1074 - the base library and utilities compile again!
1075 - added constructor for SocketZero(queue)
1076 - fixed ErrnoError::GetMsg()
1077 - updated GUI and opensync plugin to compile with new API
1078 - moved Raw Send/Receive socket functions to private
1079 - fixed packet header size bug in socket that caused
1080 socket ID override to be skipped
1081 - fixed incorrect use of gettimeofday()
1082 - fixed race condition where Controller could destroy
1083 the Usb::Device object before the SocketRoutingQueue
1085 - fixed segfault in SocketZero::RawSend() when a router
1087 - fixed Open() bugs in btool... Open() must be outside of loops
1088 - btool uses the router thread now, for testing
1089 - partially implemented m_serial.{h,cc}... needs testing
1090 - added automatic buffer allocation to SocketRoutingQueue
1092 - made AllocateBuffers() a little smarter, so it was not
1094 - added a context data pointer to the SocketRoutingQueue
1095 RegisterInterest callback
1096 - added RegisterInterest functionality to Socket class
1097 - added exceptions on router read errors in socketzero
1099 - implemented router.{h,cc}... looks ready for testing,
1100 once things compile again
1102 - merged HEAD changes
1103 - added router.cc and continued work on new arch
1104 - merged HEAD changes for 2008 copyright statements
1105 - added scoped_lock.h
1106 - added ErrnoError exception class
1107 - documented Controller / SocketRoutingQueue behaviour
1108 - more router implementation
1110 - audit and cleanup of socket.{h,cc} code... looks ready
1111 for testing now, once things compile again
1112 - removed FIXME in router.*
1113 - removed pthread header from pppob as it is not needed
1115 - merged HEAD changes
1117 - merged HEAD changes
1119 - branch started, to track development of the new socket
1120 architecture, and new mode architecture, needed
1121 to support GPRS modem support, and threaded
1123 - committed work-in-progress... does not compile
1126 - added Tasks and Memos to TODO list
1128 - added support for Blackberry 8120, which has a unique Product ID
1129 Sourceforge tracker ID: 1829537
1131 - removed TimeZones from TODO list, as it is done
1137 - gui/src/BackupWindow.cc
1141 - opensync-plugin/src/barry_sync.cc
1142 - added GCC visibility support, limiting what symbols are visible
1143 in the shared library, libbarry... this makes a drastic
1144 reduction in the symbol table, and should avoid future
1145 name clashes with other libraries such as opensync
1146 See: http://gcc.gnu.org/wiki/Visibility
1148 Release: version 0.12 - 2008/03/21
1149 ------------------------------------------------------------------------------
1151 - changed maintainer script to use CVS export instead of checkout,
1152 to avoid the CVS directories
1153 - added support for building Debian source packages with proper
1154 diff.gz and dsc files
1155 - fixed find warning in maintainer/make-rpm.sh
1156 - added support for Ubuntu binary packages to the maintainer build
1159 - renamed all vformat_ and VFormat symbols in opensync plugin's
1160 copy of vformat code, so they don't conflict with the
1161 real opensync libraries
1163 - updated the install.php web page with Paul Dugas's notes on
1164 building RPM's from CVS
1165 - fixed problem in tools/Makefile.am where bs11nread was included
1166 in build, even if --with-boost was not specified
1167 on ./configure command line
1169 - changed format of Boost serialization file output from btool,
1170 so that the database name is stored as the first line
1172 - added tools/bs11nread.cc to read Boost serialization file data
1174 - minor adjustments to r_message.h and r_timezone.h
1175 - updated s11n-boost.h header to match record classes
1177 - applied Time Zone parsing patches from Brian Edginton
1178 - added Time Zones to list of supported parsers in btool.cc
1180 - changed configure.ac to use bzip2 for "make dist".. thanks to
1181 Paul Dugas for the tip
1183 - committed Chris Burgess's update to the roadmap document
1184 - applied Paul Dugas's x86-64 build patch, except the
1185 tar.bz2/tar.gz change
1186 - updated AUTHORS file
1188 - fixed configure.ac's --with-boost option, so that without args,
1189 it defaults to using --includedir and --libdir settings,
1190 instead of hardcoding /usr/include and /usr/lib... this
1191 should allow smarter compiling on 64 bit systems
1192 - updated RPM spec file to use new --with-boost behaviour
1193 - ahem, fixed configure.ac again... don't use --includedir and
1194 --libdir, as those are install targets... oops.
1195 Don't add path overrides at all if not specified.
1197 - fixed locale issues in src/data.cc
1198 - updated copyright statments for 2008
1200 - applied wording correction patch to btool from Matt LaPlante
1202 - changed hard coded databases names in btool to calls to
1203 <recordclass>::GetDBName()
1208 - gui/src/BackupWindow.cc
1212 - opensync-plugin/src/barry_sync.cc
1215 Release: version 0.11 - 2007/12/01
1216 ------------------------------------------------------------------------------
1218 - fixed null pointer bug in Probe class (bug #1842407)
1219 - added pause to maintainer release script
1225 - gui/src/BackupWindow.cc
1229 - opensync-plugin/src/barry_sync.cc
1231 Release: version 0.10 - 2007/11/30
1232 ------------------------------------------------------------------------------
1234 - added support to the usbwrap Match class to limit its
1235 search by busname / devname
1236 - added support to the Probe class to limit its search for
1237 Blackberry devices to a given bus or device name
1238 - added command line options to btool for the above Probe
1239 bus/device names, and updated the man page
1240 - updated the www docs with regard to the new usb_storage
1241 behaviour and the new blacklist files... less
1242 concern about berry_charge and usb_storage conflicts
1243 - added bidentify tool and accompanying man page
1244 - fixed bug in rpm maintenance script that used the wrong
1245 spec file for opensuse
1247 - added better error checking to breset
1248 - commented the sleep() for the 8830
1249 - added code to handle the race condition where usb_storage
1250 claims the device before bcharge arrives on the scene,
1251 by asking the kernel to detach the driver from
1252 the Mass Storage interface... this change makes it
1253 possible to run bcharge, moving from 0006 to 0004
1254 to 0001 and back to 0004, all *while* usb_storage
1256 - changed Probe class behaviour so that it will not throw an
1257 exception on Device Busy (-EBUSY) but instead
1258 log the error in an internal array and keep going.
1259 This makes it possible to use btool and barrybackup
1260 with two devices plugged in at the same time.
1261 BACKWARD COMPATIBILITY NOTE: this changes initializaion
1262 behaviour, but in practice, it should only
1263 make applications look more capable, not less.
1264 - updated btool to show errors logged by Probe
1265 - added message to specify which PIN device is being used by btool
1266 - added explanatory comments to udev rules files, about why
1269 - added ClearHalt() calls to probe and controller classes, just
1270 before any communication happens... the 8830 seems
1273 - added usbwrap.cc:GetConfiguration()
1274 - added code to check whether the configuration is the one
1275 we require, before calling SetConfiguration()... and not
1276 to call it if unnecessary. This allows us to run
1277 at the same time as usb_storage.
1278 Thanks to Martin Owens for not letting this issue go. :-)
1279 - added sleep to bcharge, before calling usb_reset()... the
1280 Blackberry 8830 behaves like a Pearl device in that
1281 it has mass storage support, but behaves like a Classic
1282 in that it resets itself... the usb_reset() seems
1283 to reset it back to 0006. The sleep allows the device
1284 to disappear via its own reset, and let usb_reset()
1285 fail naturally on these devices.
1286 This is not an ideal solution... mainly for testing.
1288 - added modprobe/blacklist-berry_charge as per Simon Ruggier's
1289 suggestion. Thanks also to Niels de Vos for a similar
1291 - fixed udev rules to work on both old and new distros
1292 Thanks to Duncan Mak for the bug report.
1294 - fixed string comparison to use case insensitive compare in
1296 - updated Debian package to include modprobe blacklist file
1297 - updated rpm spec file to include modprobe blacklist file
1298 - split the maintenance scripts into release and test, so
1299 that release package builds can be done faster
1301 - opensync plugin fixes:
1302 - fixed memory leak in vBase::GetAttr()
1303 - added support in vformat parser to parse "blocks"
1304 and keep track of the hierarchy when
1305 parsing an iCalendar, etc.
1306 - added support for searching for attributes only
1307 inside certain blocks (i.e. find first
1308 DTSTART in VEVENT block, not VTIMEZONE block)
1310 - fixed bug in Calendar::Clear, missing the Free / Class
1311 member variables, leaving them uninitialized
1312 - added examples/addcalendar.cc
1313 - added more logging to the opensync plugin, logging the
1314 ToBarry conversion results
1315 - added code to force struct tm.tm_isdst to -1 before calling
1316 mktime, in vformat.c
1317 - fixed typo in previous fix
1319 - renamed ktrans and translate to bktrans and btranslate to avoid
1320 file name clashes with libtranslate of Gnome
1321 Closes bug #1812410 reported by Troy Engel.
1326 - gui/src/BackupWindow.cc
1330 - opensync-plugin/src/barry_sync.cc
1331 - fixed missing default config file in the debian package for
1333 Closes bug #1812224 reported by Ariel (adonatti).
1334 - added debian dbg packages for tracing segfaults
1335 - modified maintainer scripts so debug packages would reference
1336 source code located in /usr/src/barry-0.9, etc.
1338 Release: version 0.9 - 2007/10/12
1339 ------------------------------------------------------------------------------
1341 - adjusted autosuspend disabling code in bcharge, based on new
1342 information on how kernels 2.6.21 / 2.6.22 work.
1343 See bcharge.cc for comments. If device/power/level or
1344 device/power/autosuspend exist, charging should now work
1345 without recompiling the kernel.
1346 - updated website docs with autosuspend info
1348 - large update to the doc/www web pages, moving some of the
1349 information in README files to html format, so that it
1350 is commonly available on the web
1351 - added step in maintenance scripts to automatically build the
1352 .html files in doc/www when making a tarball release
1354 - added libopensync 0.22 version requirement to barry.spec file,
1355 but it doesn't seem to work on OpenSuSE 10.2, where it's
1358 - updated README to mention new tree build configure options
1359 - fixed the configure scripts and makefiles so that when building
1360 with custom CXXFLAGS and LDFLAGS environment variables,
1361 it doesn't break the full-tree build mode, when
1362 using --enable-gui and/or --enable-opensync-plugin
1363 - added config.h.in~ to buildgen.sh clean target
1364 - converted Debian build scripts to use cdbs
1365 - added opensync plugin binary package for Debian
1366 - added "Getting Started" section to web pages, as well as an
1367 explanatory document for various system requirements
1368 - turned on opensync build in RPM maintainer scripts
1370 - added filename to power/state error message in bcharge.cc
1371 - adjusted maintainer scripts to automatically adjust barry.spec
1372 for opensuse rpm builds
1374 - fixed some of the release build scripts and added support for
1375 automated opensuse 10.2 builds
1376 - fixed build target to i386
1377 - changed scripts to add to PKG_CONFIG_PATH variable instead
1380 - added website docs to doc/www... these are out of date at the
1381 moment, and hopefully by including them here, they
1382 will be updated more frequently
1384 - applied Simon Ruggier's build system patch that allowed a build
1385 of all 3 components from the root directory and fixed the
1386 configure scripts to support external build directories
1387 - reordered clean commands in the buildgen.sh scripts, and removed
1388 the INSTALL files, since they are auto-generated by autoconf
1389 - removed extraneous buildgen.sh calls in maintainer scripts
1390 - added Simon Ruggier to AUTHORS
1391 - added explanatory note to 3 stage test build process in
1394 - fixed Category handling in the Contact record class, to
1395 parse the comma separated string into an array,
1397 Note: this involves a change to the boost serialization
1398 and will affect backward compatibility with
1399 old serialization datafiles
1400 - added Category to examples/addcontact.cc
1401 - added Category support to the opensync plugin
1403 - fixed wrong read/write in btool output (oops)
1404 - added BadSize exception, and changed CheckSize() function
1405 to throw it on error
1406 - changed backup GUI to catch BadSize exceptions on initial
1407 connect, and try a reset if that error occurs, since
1408 that likely means the device didn't shutdown properly
1409 - fixed in opensync plugin:
1410 - some vcard data contains types codes in capital letters,
1411 so added lower case conversion routine
1412 - changed the order of address lines, so that address1
1413 is the street, address2 is the extended address,
1414 and address3 is the PO Box. The Blackberry
1415 doesn't seem to have any PO Box field.
1417 - added -e endpoint override option to btool
1418 - added status message to endpoint override
1420 - added configure check for strnlen, and implementation for
1421 systems that don't have it, or that have it implemented
1422 incorrectly. Went a little paranoid here, since
1423 AC_FUNC_STRNLEN doesn't set a define in config.h,
1424 so I had to do it manually, and check in case autoconf
1425 changes in the future... ugh. See src/strnlen.h for
1427 - added code in probe.cc to fetch the device's description.
1428 The description is now part of the probe results
1429 along with the PIN. Updates to protocol.h, adding
1430 a new attribute definition.
1431 Thanks to Rick Scott for pointing out the code in
1432 XmBlackberry where he implemented this first.
1433 - fixed header dependency in record-internal.h
1434 - updated the "required autoconf" version to 2.61 for root build
1435 - moved nested structs out of the record classes that contain them,
1436 in order to better support SWIG and Python
1438 - changed bcharge to use getopt() for its argument processing
1439 - added options -p and -s to bcharge, to adjust usb suspend
1440 settings automatically where possible
1441 - updated the udev rules to use the new bcharge settings
1442 - updated the bcharge man page with the new arguments
1444 - cleaned up Usb exception handling, moving libusb error code
1445 processing into the Usb::Error exception class.
1446 error.cc is now an empty shell
1447 - added return codes to the Usb::Error exceptions
1448 - removed aboutdialog.{h,cc} from the backup GUI since even
1449 Debian stable now has up-to-date gtkmm libraries
1450 - added more user friendly error message for the "device busy"
1451 case, recommending 'rmmod usb_storage'.
1453 - added better error checking to bcharge.cc
1458 - gui/src/BackupWindow.cc
1462 - opensync-plugin/src/barry_sync.cc
1463 - removed usb_set_configuration() check from bcharge.cc, since
1464 that may fail under normal operation, in this case
1466 Release: version 0.8 - 2007/08/03
1467 ------------------------------------------------------------------------------
1469 - moved Interface implementation to usbwrap.cc file
1470 - added dout debugging messages to usbwrap.cc
1471 - clarified unhandled packet error message in socket.cc
1472 - added temporary workaround in opensync-plugin environment's
1473 Reconnect(), for odd message seen on newer Blackberry
1475 - fixing issues with Brian Edginton's MessageRecord patch (2007/06/29)
1476 - fixed missing size check in message oriented ParseHeader()
1477 - fixed endian conversion issues (also found one pre-existing
1478 endian bug in the process)
1479 - moved message timestamp converter code to time.cc
1480 - added Barry version number to opensync plugin name
1481 - changed maintainer scripts and rpm.spec to use bzip2 instead of gzip
1482 - added opensync-plugin to configure script build
1483 - added -S option to btool, to list supported parsers and builders
1484 - slight change to opensync-plugin/buildgen.sh to cleanup config.h.in~
1485 - opensync-plugin/README update
1486 - added opensync-plugin/patches for others who may be building and
1487 testing the plugin with OpenSync 0.22
1488 - added debian package build scripts to maintainer/
1490 - added entry to doc/TroubleShooting.txt
1492 - added doc/TroubleShooting.txt
1495 - fixed bug in vcard.cc that was using the FN field
1496 for the broken-down name instead of N
1497 - added dbId and dbName to DatabaseSyncState
1498 - added Reconnect() functionality to BarryEnvironment class
1499 and moved connect logic out of barry_sync.cc
1500 - changed the batch commit functionality in barry_sync.cc
1501 to single-change-commit. Why? Because opensync
1502 0.22 groups all batch changes into one group
1503 and calls one batch commit function, even if you
1504 registered two. Moving to single change commit
1505 mode removes a chunk of unneccessary code
1506 from the plugin as well, and can in theory
1507 ease memory pressure in the library.
1508 - added FinishSync() to perform actions needed on successful
1510 - disconnect on successful sync completion, and reconnect,
1511 since the device's dirty flags don't seem to
1512 be updated until a disconnect occurs.
1514 - added ReadDataArray() to data.h, using an istream instead of
1516 - added raw data version of BuildField() to record-internal.h
1517 This is so that btool doesn't add extra null terminators
1518 to unknown data, when restoring with option -s
1519 - fixed bugs in r_contact.cc:
1520 - fixed bug that caused a LastName/FirstName swap
1521 if FirstName was empty and you wrote a contact
1522 record into the device.... First/Last Name
1523 fields are position sensitive, and the code
1524 was missing the empty FirstName case on writing
1525 - fixed bug in BuildFields() and Dump() where they
1526 were not updated to handle the new field
1527 table added for the postal address changes
1530 - changed the plugin config file, so it is possible to
1531 turn debug output on/off without recompiling
1532 - moved the standalone Map2Uid() function into
1533 the DatabaseSyncState class, and changed the
1534 code to produce "contact-#" and "calendar-#"
1535 UID strings, instead of just numbers
1536 - changed default PIN to -1, so that if the user doesn't
1537 configure properly, it will fail... this is a
1538 safety measure to avoid syncing with different
1539 devices and corrupting the cache/idmap...
1540 this should be fixed someday, to handle this
1542 On second thought... is this right? Perhaps
1543 it is better to fail if the PIN is not what
1544 is expected, so a user doesn't accidentally
1545 sync the wrong device and lose data.
1546 Actions to take on new PIN:
1547 - force slow_sync, or
1549 - incorporated the new VCardConverter code into the
1550 main barry_sync.cc plugin code
1551 - fixed bug that did not clear the devices dirty flags
1552 in the case where a sync only read data from it,
1554 - changed PIN error message number to hex
1556 - minor wording change in backup GUI prompt: "Backup working..." to
1557 "Backup in progress..."
1558 - renamed Contact class's Title field to JobTitle for clarity
1559 - added record function ParseFieldString(), which properly handles
1560 strings from the device that have multiple null terminators,
1561 and changed the record parsing code to use this new function
1562 - moved FullName() function from ldif.cc to r_contact.cc since it
1563 is generally useful in areas outside of LDIF processing
1564 - refactored postal addresses in the Contact record class into
1565 a new class called PostalAddress
1566 - renamed Address class in record.h to EmailAddress
1567 - moved Contact::GetPostalAddress() to record.cc as part of the
1568 new PostalAddress class and renamed it
1569 PostalAddress::GetLabel()
1571 - refactored vformat helpers into separate base class
1573 - added vCard converter class
1574 - commented out the code that skipped over the adding
1575 of empty attribute values and parameters,
1576 since VCARD depends on some of this behaviour
1577 - movified vformat.c:vformat_find_attribute() to take
1578 an extra nth argument, in order to search
1579 for multiple attributes with the same name...
1580 the way this is coded is a bit inefficient...
1581 but we're moving away from vformat when we move
1582 to OpenSync 0.3x / 0.40, so this is just temporary
1585 - added SUBSYSTEM=="usb_device" to example udev rules, in order
1586 to avoid running bcharge for each endpoint that is
1587 added by udev, when first plugged in. Running bcharge
1588 back-to-back multiple times can crash some
1592 - fixed ID mapping bug in the case of a non-numeric UID
1593 from syncing external -> Barry, and then the
1594 new Barry ID would look like a new change
1595 when syncing back from Barry -> external.
1596 - added support for slow sync
1597 - added clear() to idmap class
1598 - added vformat attr parameter extraction class
1599 - added more trace logging during vformat/Barry conversions
1600 - added Notification time support
1601 - handled "all day" vformat special case, when DTEND
1602 does not exist in a vformat data block
1603 - changed the min1900_t time conversion functions to handle
1604 the 0xffffffff special case, when notifications
1605 are turned off on a calendar event (src/time.cc)
1606 - also made the calendar data dump output clearer for
1607 disabled timestamps, and added debug output
1608 for the raw min1900 value, in case there are more
1609 special cases in the future
1611 - fixed null pointer access in opensync's HasMultipleVEvents()
1613 - upper management directive: revert all OpenSync 0.3x changes
1614 and proceed with OpenSync 0.22. Reverting the
1615 opensync-plugin/src tree to Barry 0.7 status.
1617 - reorganized exception and trace code in opensync plugin
1618 - added XmlToCalendar() function, based on unfinished opensync
1619 library API that is not yet finished... will be
1620 committed to opensync svn tree when complete
1621 - added OSyncXMLField logger to plugin trace class
1623 - applied email MessageRecord patch from Brian Edginton (thanks!)
1624 - updated Message::Dump() to output more valid mbox data...
1625 the goal is to be able to do:
1626 btool -d "Messages" > email.mbox
1628 - changed some TODO's to FIXME's to keep it grep-consistent
1629 - applied Folder support patch from Brian Edginton
1630 - fixed pedantic compile warnings, and changed order in src/Makefile.am
1631 - removed unneeded cast in src/r_folder.cc
1633 - minor adjustment to ctags building in buildgen.sh
1634 - applied patch from Brian Edginton for better boost detection
1636 - added boost usage message to btool -h output
1638 - more porting of OpenSync module to 0.30
1639 - added ctags build for opensync source tree to buildgen.sh
1641 - changed PKG_CONFIG_PATH setting in rpm script, so that systems
1642 like SuSE that have an extensive PKG_CONFIG_PATH
1643 in general use will not break on build
1644 - added PKG_CONFIG_PATH to debian script too, just in case :-)
1645 - added debian/changelog to doc/ReleaseChecklist.txt
1646 - added comment to rpm/barry.spec regarding SuSE RPM builds
1648 - applied patch from Niels de Vos fixing debian package build
1650 - applied Brian Edginton's Saved Email Messages patch
1651 - updated r_saved_messages.cc comment to match header
1652 - added GetRecType()/GetUniqueId() to r_saved_messages.h, since
1653 SetIds() is already there
1654 - removed Address version of operator<<() from message related headers
1655 and moved into record.h
1656 - added std::hex to message related dumps, and changed output to
1658 - updated doc/CodingStyle.txt to cover switch() statements
1659 - opensync compiles again, with 0.30! (not functional yet)
1660 - moving closer to more modular and reusable plugin functions
1661 - updated release checklist for opensync version number
1663 - added doc/CodingStyle.txt... preliminary version
1665 - applied Brian Edginton's PIN message patch
1666 - changes to PIN message patch:
1667 - fixed missing backslash in src/Makefile.am
1668 - fixed tab alignment throughout
1669 - removed typedef from Address struct
1670 - added clear() to Address... might as well, if it it is
1671 going to be a standalone type
1672 - fixed missing comma in PINMessageFieldLinks table
1673 - changed MessageRecordId in PINMessage to load from a new
1674 uint32_t field in CommonField, instead of piggy
1675 backing on a field for other use
1676 - did some testing and found that PINMessage's MessageRecordId
1677 is the same as the RecordId given through the SetIds()
1678 API... but these Id's are duplicated in the protocol...
1679 RecordId is stored in the protocol header, while
1680 MessageRecordId is stored in the record it self as
1681 a common field... added RecType and RecordId to
1682 PIN Message so that we store both of these
1685 - added item to gui/TODO
1686 - applied Brian Edginton's s11n-boost.h patch
1688 - renamed template values to more consistent naming scheme
1689 - applied memos and tasks patch from Brian Edginton, slightly
1690 modified to split into the new separate files system
1691 - changes to memos and tasks classes:
1692 - reformatted the code to match coding style
1694 - added copyright notice
1695 - changed class to singular (Memo, not Memos)
1696 - placed in Barry namespace
1697 - added #ifdef header protectors
1698 - added new files to Makefile.am
1699 - added new r_*.h headers to record.h
1700 - added support for Memos and Tasks to tools/btool.cc, based on
1701 Brian Edginton's patch
1702 (currently commented out, for Boost library reasons):
1703 - added doc/CommitPolicy.txt
1706 - added ctags generation to buildgen.sh
1707 - applied record.{h,cc} fix patch from Brian Edginton
1711 - fixed broken formatting in above patch
1712 - refactored record parser classes into separate files for each
1713 - changed the ConvertHtoB<> template to inline, as it caused
1714 linker errors with the new file layout
1716 - fixed bug in Debian packaging that put util commands in
1717 /bin and /sbin instead of /usr/bin and /usr/sbin
1718 - commited byteswap.h replacement code from gm2net
1720 - removed unneeded debug messages on stdout
1721 - changed the default for debug output to "off"
1722 and added a command line option to turn
1723 it on if necessary (--debug-output)
1724 - command line option --help now also works
1725 - fixed bug in Calendar class where it didn't initialize
1726 RecType properly... and cleaned up other RecType
1727 code to use the GetDefaultRecType() functions,
1728 localizing the constants in one place
1730 - applied patches from Brian Edginton, parsing more
1731 fields in Contact and Calendar records
1732 - added Brian Edginton to AUTHORS
1733 - reformatted record.{h,cc} to match the rest of the code,
1734 removed commented out code, and removed mention of
1735 Outlook from the comments.
1736 - updated udev/10-blackberry.rules.Debian for Debian Etch
1737 - updated debian/rules to use new udev rules file
1738 - removed debian/postinst, as stable versions of Debian now
1739 have a recent udev, and don't need the special handling
1740 - updated Debian build scripts to build separate packages:
1745 - added menu support to Debian barrybackup-gui package
1746 - made the buttons bigger in the backup GUI, as they were too
1747 small on Debian Etch
1749 - more progress in porting to opensync 0.30, heavily
1750 based on the example plugin in the opensync
1751 svn tree... this is a work in progress, and so far
1755 - partial porting to opensync 0.30 (in progress!)
1756 - fixed bug in sync_done where it reported context error
1757 and then success afterward
1758 - checking in new INSTALL files based on Etch's autoconf run
1759 - added item to gui's todo list
1760 - bumped version numbers to 0.8 in:
1764 - gui/src/BackupWindow.cc (about dialog)
1768 Release: version 0.7 - 2007/05/02
1769 ------------------------------------------------------------------------------
1771 - added rpm building to maintainer/release scripts
1772 - added "HEAD" feature to tarball creation script, for easier testing
1773 - updated maintainer/README
1774 - updated maintainer/release.sh to use new HEAD feature too
1776 - added pppob to rpm barry.spec
1777 - bumped release number in barry.spec
1780 - fixed size check bugs (strlen() == 0 when empty)
1781 - finished refactoring calendar conversion routines
1782 - started timezone parsing, but this may go away
1783 if we use opensync 0.30's time functions and
1785 - added development note to README
1787 - updated README and opensync-plugin/README with more current
1790 - refactored some calendar conversion routines
1791 - added Barry->vCalendar conversion for recurring appointments
1794 - removed some unneeded trace logs
1795 - fixed VEventConverter constructor bug, with uninitialized
1797 - eased up the requirement that every calendar event
1798 must have a summary... defaults to "<blank subject>"
1800 - added more VCALENDAR fields to match Barry::Calendar record
1801 - fixed case sensitive compares in vformat.c
1803 - opensync module work:
1804 - added id map class to map string uid's from OpenSync to
1805 numeric ID's from the Blackberry
1806 - fixed bug in CommitChange() where it was still using
1807 a hard coded calendar record state table
1808 - added lots of logging throughout
1809 - fixed bug where newly added records didn't use the
1810 change object's uid, but created a new ID,
1811 causing another sync on the next run
1812 i.e. (CommitData_t was missing an argument)
1813 - fixed bug where uninitialized notification time was
1814 written to the Blackberry
1815 - more opensync module work:
1816 - refactored the environment class into another subclass
1817 called DatabaseSyncState, and moved some stand-
1818 alone functions from barry_sync.cc into
1819 the environment classes
1820 - added a tagged constructor to the trace class
1821 - fixed idmap::Load() to clear map before loading
1823 - renamed barry-config to barry-sync, the default configuration
1824 file for the opensync module... and filled it with
1825 a sample configuration
1826 - added code to update the calendar cache, and write it to disk
1827 on success (opensync module)
1828 - added code to clear dirty flags in the device (opensync module)
1829 - allowed comments in the config file
1830 - added vformat.c from libopensync 0.22, since the vformat
1831 routines are not available from the plugin side
1834 - added -d switch to bcharge to switch back from 0001 to 0004 mode,
1835 changed the auto-detection logic to ignore iProduct and
1836 only use idProduct, and updated man page
1837 - updated breset to recognize the Pearl in 00004 mode as well
1838 - changed src/probe.cc logic to assume that the second endpoint
1839 pair is the one needed for database communication, instead
1840 of doing a reverse search from the end... newer Pearls
1841 in Dual mode seem to have at least 3 or 4 endpoint pairs,
1842 and the old search didn't always work
1843 - applied sourceforge patch #1696884 from Peter Silva, updating
1844 the Debian build for Etch, and including all files in one deb
1845 - added Peter Silva to AUTHORS file
1846 - uncommented the "make distclean" in debian/rules, and removed
1847 the reliance on /tmp when installing 99-barry-perms.rules
1848 - applied bb_task_format.txt patch from Peter Silva
1849 - fixed each misspelling of "recurrance" to "recurrence"
1850 - tweaked src/probe.cc again for paranoia's sake... start at
1851 offset 1 if more than 1 endpoint pair, otherwise start
1853 - split up opensync module into multiple source files, and started
1854 using the opensync vformat routines for parsing and building
1855 the vevent20 data (experimental)
1857 - more incremental work on the opensync plugin, adding ADDED
1858 and MODIFIED functionality... (experimental!)
1860 - added code to dump extra descriptors during device discovery,
1862 - bumped opensync version number in configure.ac, and made
1863 the configure scripts more consistent with the rest
1865 - fixed printf-format size bug in opensync module
1867 - applied patch from Niels de Vos, fixing deb udev rules for Pearl
1869 - fixed extra space bug in LDIF output (added space when creating
1870 FullName, even if there was no last name)
1871 - fixed Address Book record parsing in Contact class... the
1872 Blackberry database uses field id 0x20 for both the
1873 first and last names, and if only a last name exists,
1874 the first name will be empty. Fixed parser to handle
1875 this special case, without relying on string length.
1876 Thanks to Troy Engel for reporting above two LDIF bugs.
1877 - added a few more constants to bcharge.cc
1878 - renamed opensync's configure.in to configure.ac
1880 - fixed bcharge to avoid endless reset loop... oops
1882 - reorganized bcharge.cc to make it possible to switch between
1883 Pearl modes 0004 and 0001
1884 - added flag to BadPassword exception class, to signal whether
1885 the library considers the device "out of retries" or not
1886 - updated socket.cc for new BadPassword exception
1887 - added special case to Controller class destructor to reset the
1888 device if being destroyed in a half-open state... this is
1889 a temporary fix until we understand how to handle
1890 the "already open" message we get when opening the Desktop
1892 - added password prompt dialog to the backup GUI
1893 - fixed possible memory leak in GUI's DeviceInterface::Connect()
1895 - committed Troy Engel's bbrules_mass_symlinks.patch, fixing
1896 udev rules for the Pearl
1897 - updated 10-blackberry.rules.Debian to match 10-blackberry.rules's
1899 - applied Troy Engel's barry.spec patch to generate all required
1900 RPM's... Thank you! Notes in the README taken from
1901 the sourceforge tracker entry containing the patch.
1902 - added libusb lib flags to tools/ and examples/ makefiles,
1903 and tweaked configure.ac with a better default,
1904 to build cleanly on RHEL 4
1905 - modified rpm/barry.spec:
1906 - does not create doc-only barry base package anymore
1907 - fixed "barry-backup" typo
1908 - removed the patch step, as version 0.7 shouldn't need it
1909 - added license file to each package
1910 - commented out console perms scripts, pending mailing list
1913 - applied Troy Engel's barry.spec patch to fix RHEL4 compile issues
1914 - fixed 80 column wrapping error in barry.spec, thanks to Troy Engel
1916 - applied Troy Engel's udev permissions patch for Redhat/Fedora
1917 systems, which automatically set the ownership of a
1918 newly plugged in device to the currently logged in console
1920 - added udev/README to document what all those files are for...
1921 part of the text comes from the sourceforge comment
1922 on the above udev permissions patch from Troy Engel
1923 - uncommented the console perms scripts for rpm/barry.spec
1924 - added libglademm-2.4 to gui/README's dependency list
1925 - made usbwrap.* calls more threadsafe
1926 - added Usb::Timeout exception for timeout errors
1927 - added preliminary UsbSerData support to library for GPRS modem
1928 functionality, using Rick Scott's XmBlackBerry's serdata.c
1930 - added overloaded Socket::Send() for sending without receiving
1931 - added preliminary pppob command line tool
1937 - gui/src/BackupWindow.cc (about dialog)
1940 - build system tweaks for opensync-plugin, and added a buildgen.sh
1942 - added better debug messages in probe.cc and usbwrap.cc's
1943 device discovery code
1944 - changed error handling for null interface->altsetting pointers
1945 when doing device discovery in usbwrap.cc. Seems that
1946 some devices report a higher number in bNumInterfaces
1947 than are really available... in this case, let's
1948 just ignore the missing data and assume success
1949 - applied udev script patch #1663986 from Troy Engel
1950 - applied barry-bcharge.spec patch #1672178 from Troy Engel
1951 - ReleaseChecklist update
1952 - added rpm/README based on Troy Engel's patch notes
1953 - updated new barry-bcharge.spec for version 0.7, removing patch
1956 Release: version 0.6 - 2007/02/28
1957 ------------------------------------------------------------------------------
1959 - fixed size checks for device database records larger than 64K
1960 Thanks to Michael Brown for the bug report.
1961 - added initial release maintainer scripts
1962 - fixed odd backup success message in GUI when doing a backup with
1963 no databases selected in configuration
1964 Thanks to Michael Brown for the bug report.
1965 - added udev permissions file patch from Michael Brown
1966 - added Michael Brown to AUTHORS
1967 - updated README, gui/README, and doc/USB-capture.txt
1968 - added -o command line switch to bcharge.cc, and updated man page
1970 - changed library behaviour so it only turns on libusb debug output
1971 if in data dump mode. In btool, -v controls this output.
1972 - minor stream formatting fix in btool
1973 - added OpenSSL dependency to build for password hash support
1974 - made debug dout() output conditional on Init() flag... In btool,
1975 -v now controls this as well
1976 - reverse engineered more of the initial probe packets, and
1977 implemented probing in struct based code... changes include:
1978 - added support for "attribute fetch" packets, used at
1979 the beginning of USB conversations
1980 - defined object/attribute id codes for the PIN number
1981 - made Protocol::SocketCommand more robust, and implemented
1982 its sequence number behaviour
1983 - moved ModeSelectCommand into SocketCommand, as it is a
1984 socket 0 level command
1985 - added initial protocol struct: PasswordChallenge
1986 - renamed Barry::Packet to DBPacket
1987 - added ZeroPacket for socket 0 packet creation and analysis
1988 - Barry::Packet is now the base class for the above
1989 - implemented socket 0 behaviour in socket.cc
1990 - changed return values for Send/Receive/Packet/NextRecord
1991 members in the Socket class from bool to void, as they
1992 don't generate errors themselves, but only can
1993 have an error if Usb::Device throws an exception.
1994 Cleaned up all code that called these members as well.
1995 - removed "last status" from Socket class as it was unused
1996 - updated probe.cc to use new socket 0 implementation
1997 - removed two of the hard coded packet handshakes in favour
1999 - updated controller.cc:
2000 - uses new socket 0 implementation
2001 - removed "flag" hack when opening sockets and
2002 selecting modes, as it should use the
2003 socket 0 sequence number
2004 - added initial, incomplete prototype header for the C API
2005 - updated some .cvsignore files
2007 - updated ReleaseChecklist.txt, adding rpm spec file
2008 - added the following to ZeroPacket:
2013 - moved Command() to base Packet class
2014 - added comments to protostructs.h and size constants for the
2015 new PasswordChallenge struct
2016 - added password support to Socket and Controller classes
2017 Thanks to Rick Scott's XmBlackBerry for the openssl
2018 password hashing logic.
2019 - updated btool to use new password support, and updated its man page
2021 - updated Doxygen input files and version, and added to ReleaseChecklist
2022 - fixed btool PIN output for LDIF mode, now commented in output
2023 - major LDIF overhaul:
2024 - split LDIF specific code out of the record class and
2026 - fixed "full name" behaviour that added an extra space
2027 in dn attributes, as reported by Troy Engel
2028 - added support for mapping of LDIF attributes to Barry
2030 - fixed base64 handling, so attributes are only so encoded
2032 - fixed base64 attribute reading inconsistency... some
2033 notes fields were missed in old version if not
2035 - added support for specifying alternate attribute for
2036 constructing a FQDN, instead of just "cn"
2037 - updated btool and upldif to use new features
2038 - large update to btool manpage
2039 - fixed initialization bug in Contact constructor (missed RecType)
2041 - added ktrans.cc to make reading of kernel usbfs_snoop logs easier
2042 - removed commented code from translate.cc
2043 - added Pearl handshake support to bcharge.cc, which resets the
2044 Pearl so that the vendor specific 0xFF class exists.
2045 This should allow use of btool on the Pearl.
2046 - added Data::AppendHexString to data.cc
2047 - added better probing support for the Pearl, so it detects the
2048 Product ID 0x0004 mode, and does a search for class 0xFF
2049 instead of hardcoding it.
2051 - applied README patch from Ian Darwin
2052 - minor tweaks to README
2053 - added missing errno.h header in src/usbwrap.cc for AMD64
2054 Thanks to Jonathan Hudson for reporting the bug.
2055 - tightened up size checks in Data::ReleaseBuffer()
2056 - stable libusb *does* return the actual length of the USB packet...
2057 fixed this in usbwrap.cc to set the actual size of read data,
2058 and removed the size hacks elsewhere in the code:
2059 probe.cc, protocol.cc, socket.cc, usbwrap.cc
2061 - added proper return codes for error conditions in btool.cc
2062 - clarified some stream output code in the library, for hex/dec numbers
2063 - removed old, non-working connect.cc test program
2064 - added iomanip to debug.h
2065 - changed usbwrap to call libusb again if EINTR and EAGAIN
2066 This should fix one of the OpenBSD issues
2069 - fixed bug in barrybackup GUI that didn't create the target path
2070 if the user didn't do Edit | Config first.
2071 Thanks to Ian Darwin for reporting the bug.
2072 - applied gui/src/ConfigFile.cc header fix patch for OpenBSD
2075 - added initial btool.1 man page from Ian Darwin
2076 - updated man/Makefile.am for new btool.1
2078 - applied btool -h help clarification patch from Ian Darwin
2080 - reworked exception hierarchy, so applications can handle all
2081 Barry related exceptions, including Usb errors, with
2082 one base class: Barry::Error
2083 - fixed all the ripple changes this caused throughout the codebase
2084 - added BadPassword exception
2090 - gui/src/BackupWindow.cc (about dialog)
2091 - updated doc/ReleaseChecklist.txt
2092 - added usb-level breset.cc command line tool
2093 - fixed bug in gui/src/tarfile.* for systems where
2094 sizeof(int) != sizeof(void*)
2095 - TarFile class now uses a plugin style for the compression
2096 operations, to allow for threadsafe versions if needed
2098 - also fixed leaked file handle bug in open_compressed()
2099 - Thanks to Jonathan Hudson for reporting this for 64bit systems
2100 - minor signed comparison fixes in the library
2101 - added better protocol data dumping code in probe.cc
2102 - added Usb::Device::BulkDrain(), to prevent Barry from hanging
2103 due to pending reads
2105 Release: version 0.5 - 2007/01/26
2106 ------------------------------------------------------------------------------
2108 - added missing errno.h header to gui/src/util.cc
2109 - lots more endian fixes after testing on iMac
2110 - iostream output size fixes
2111 - added option to btool to reset the device via software
2112 - beefed up exception handling in barrybackup
2113 - checked in opensync work-in-progress: trace logging, pointer bugfix
2114 this is still experimental
2115 - added aboutdialog.* files from gtkmm24 2.10.6, so we have a dialog
2116 class for systems running older versions of gtkmm, like
2118 - uncommented the about box menu handler
2119 - added "cleanall" option to root buildgen.sh script
2120 - update ReleaseChecklist.txt
2121 - removed CVS auto-history strings from aboutdialog.*
2123 - found a link between the unknown field in tagged protocol headers
2124 and the unknown field in RecordStateTable entries. This
2125 field matters when uploading certain databases, such as
2126 Browser Options. It is unknown what this field really
2127 means, but we're calling it RecType. Updated the API
2128 to use this in all parser objects and builder objects
2129 and record objects that use it.
2130 - changed some uses of uint64_t to uint32_t, in Contact and
2131 Calendar record objects... unique IDs only seem to be
2133 - added new static function to record classes: GetDefaultRecType()
2134 This returns the default rectype that should work
2135 for that record. Ideally this should be retrieved from
2136 the device, but in the case where a database has no
2137 records, this info would be good to know.
2138 - updated convenience template function Controller::AddRecordByType()
2139 to use GetDefaultRecType()
2140 - documented the recurrence data and how to use it in Calendar objects
2141 - added data debug output for incoming USB packets in the
2142 socket class... when we ported to the stable libusb
2143 we lost some of the verbose output... this should get it
2144 back. (In the official release, you need to uncomment
2145 ddout() in debug.h for the full blast of debug output).
2146 - backup GUI updates:
2147 - changed error_done signal into a pure error signal,
2148 and changed the logic so the restore continues
2149 even if there was a protocol error on one database
2150 - changed status bar messages to show what's happening
2151 i.e. Backup or Restore
2152 - default to not restore the "Handheld Agent" database as
2153 it appears to be read-only on the device
2154 - added temporary Restore & Backup mode for debugging
2155 - added extra hyphen to backup files to show date/time better
2156 - updated GUI to save and restore the new RecType field
2157 supported now by the library
2159 - added future considerations to doc/ReleaseChecklist.txt
2160 - applied big endian patch from Jonathan Hudson
2162 - removed endian.h include from barry.h, since applications
2163 using the library should not care about endianness
2164 - hard coded the path to config.h in endian.h
2165 so that endian.h never makes it into the final
2167 - removed DEFAULT_INCLUDES setting from src/Makefile.am
2169 - removed config.h dependency in btool.cc and used library
2170 Version call instead
2171 - added big/little endian text to the Barry::Version call
2173 - fixed install location of bcharge when building with ./configure;
2174 now goes to sbin/ for both source compile and binary packages
2175 Thanks to Jonathan Hudson for reporting this bug.
2177 - added smarter timeout values to controller, and allowed
2178 timeout overrides in the packet, socket, and usbwrap code...
2179 extra timeouts are needed for erasing databases for
2181 - added an explicit DataDumpParser class to btool.cc, as the
2182 library doesn't always have extreme verbose debugging on...
2183 this makes sure anyone can always get raw database packets
2184 through btool, for development
2185 - added thread callback signals for error finishes and erase_db
2186 operations, so the GUI is updated properly
2187 - more GUI cleanups (status bar updates, etc)
2188 - finished implementation of GUI restore
2189 - fixed gtkmm/glibmm exception handling when the exceptions
2190 occur in sigc signal handlers... in that case,
2191 exceptions need to be handled with
2192 Glib::add_exception_handler()
2193 - added filename-only reading support to TarFile class
2194 - added pending gui/TODO items
2196 - backup GUI now properly shows progress
2197 - the buttons become insensitive when backup is busy
2198 - refactored directory check code, and added mkdir check
2199 when to the backup setup (so the directory exists
2200 when we try to write to it)
2201 - updated code to use Barry::Data in new namespace
2203 - moved Data class into Barry namespace
2205 - updated copyright dates for the new year
2206 - clarified exception message in controller.cc
2207 - fixed pointer initialization bug in controller.cc
2208 - added documentation comments to parser.h and builder.h
2209 - updated ReleaseChecklist.txt
2211 - changed Barry library configure scripts to make better
2212 use of pkg-config for autodetecting dependencies
2213 - added initial Barry Backup GUI (gui/ directory), capable of making
2214 backups only at this point
2216 - added doc/ReleaseChecklist.txt
2217 - added version API, returning version number and string
2218 - added Troy Engel to AUTHORS
2219 - added special case to bcharge.cc for the Blackberry Pearl,
2220 which doesn't reset itself after the charge handshake
2221 Thanks to Troy Engel for testing.
2223 - added pkg-config support for the library (libbarry-0.pc.in)
2224 - fixed compile error on g++ 3.3 systems (missing stdint.h
2226 - fixed protocol hang at end of Controller operation... in
2227 controller destructor, it was deleting the USB interface
2228 before closing the socket at the BlackBerry level, thereby
2229 leaving the device in Desktop mode
2231 - support the newer udev packages on Ubuntu, which need slightly
2233 - modified bcharge.cc to search for Pearl devices too.
2235 - added Pearl product ID to probe code, but likely not functional
2236 yet until we find someone able to get a USB capture for us
2238 - version bump in configure.ac and src/Makefile.am
2240 Release: version 0.4 - 2006/12/29
2241 ------------------------------------------------------------------------------
2243 - added bcharge.cc to the tools/ directory (whoohoo!)
2244 - added initial release version of rpm/barry.spec (aka bcharge.spec)
2245 This begins the barry binary release, currently only
2246 including the bcharge utility, but possibly more in
2247 the future. Future binary packages will likely include
2248 libbarry, libbarry-devel, etc, which barry will then
2250 - added udev rule script for BlackBerry devices
2251 - added man/ directory and bcharge.1 manpage
2252 - added debian/ directory for building deb packages, with initial
2254 - added rpm/make-rpm-tarball.sh for building RPMs
2255 - split out technical docs into separate libbarry.docs file for
2256 a future Debian install
2257 - added more cleaning to buildgen.sh
2258 - added new udev rule file for Debian stable
2259 - hardcoded g++ to 3.3 in debian/rules as I have multiple versions
2260 on my system and need to compile releases with stable
2262 - ported Barry to use the stable branch of libusb
2263 NOTE: no longer depends on the devel libusb tarball!
2264 Just use your distro's libusb packages.
2265 - fixed more endian issues
2266 - minor update to TODO
2268 - moved Exceptions, Hacking, and VersionNotes to doc/
2269 - added doc/USB-capture.txt
2271 - added Controller::AddRecord() and template helper
2272 - added beginning version of generic RecordFetch<> template
2273 - set default of Barry::Init() to false (no data dump mode)
2274 - added examples/ directory, with first addcontact.cc example
2276 - added autoconf support based on Peter McAlpine's patch
2277 - renamed Makefiles to Makefile.orig and added script to turn
2278 on old build system if wanted
2279 - fixed boost-specific error path in btool
2280 - moved platform specific code out of time.h and into time.cc
2281 - moved btool.cc, translate.cc, and upldif.cc out of src/ and
2282 into their own tools/ subdirectory
2283 - added NEWS file to make autotools happy
2284 - added a "clean" option to the buildgen.sh script... maintainer's
2286 - reworked autoconf and automake files, to support
2287 barry as a library, to move the programs into their
2288 own tools directory, and support a proper installation
2289 - fixed headers in parser.h, btool.cc, and upldif.cc to work
2290 properly when installed standalone
2291 - added tools/Makefile.plain for testing compiling against
2292 installed barry library
2293 - added commentary on version number system
2294 - removed Makefile.conf and Makefile.orig, as new autoconf
2295 system supercedes it
2296 - added support for boost serialization library in autoconf build
2297 - added library version number to autoconf build
2298 - changed boost flag to __BARRY_BOOST_MODE__ to avoid collisions
2299 - removed debug.h dependency from btool.cc
2300 - removed libusb check in favour of specific --with-libusb
2301 option... may need to revisit this later
2302 - quick installation update in README
2304 - fixed some missed endian conversions in record.cc and added
2306 - fixed endian issues in time.h
2307 - added 2 more functions to the time zone API, and adjusted
2308 the time zone table for better defaults in North America
2309 - added btool and upldif to the make install sequence
2310 - added support for Calendar recurrence data
2311 - small doc/TimeZones.txt update
2313 - added BlackBerry time zone code list, reverse engineered from a 7750
2314 - added GetTimeZone() to convert device time zone codes to useful data
2316 Release: version 0.0.3 - 2006/11/24
2317 ------------------------------------------------------------------------------
2319 - added return code check to Controller::SaveDatabase()
2320 - fixed Data() class constructor, so it doesn't auto-convert
2322 - fixed size checking bug in Packet::ReturnCode() that caused
2323 uploading to device to fail
2325 - added Exceptions doc file, documenting the C++ exceptions used,
2327 - fixed small bug in 'make install' which didn't build first
2328 - minor documentation and cleanup in upldif.cc
2329 - added utility functions to the RecordStateTable class,
2330 GetIndex() and MakeNewRecordId()
2331 - changed btool so that the -d command modifiers can be
2332 specified multiple times to work with multiple records
2334 - added Calendar sync code to the opensync module (not complete)
2335 - cleaned up exception handling in the opensync module, making
2336 more use of the base exception to make sure no
2337 exceptions leak into the C library code
2339 Release: version 0.0.2 - 2006/10/12
2340 ------------------------------------------------------------------------------
2342 - fixed casting error in opensync module
2343 - minor updates to documentation to prepare for release
2345 - added stdint.h to parser.h for uint32_t. Thanks Ron Gage for
2348 - large refactoring of the packet parsing and building code,
2349 splitting the code into 3 groups:
2350 - record: handles record specific parsing and building...
2351 this is mostly subfields with CommonField structs
2352 as their headers, but sometimes has a specific
2353 header of its own, in the case of email
2354 Note: email's header is as yet undecoded.
2355 Record does not know the details of the packet
2356 formats, only the formats of its own record data.
2357 - packet: handles building of complete command packets
2358 and handles parsing of commonly used header values,
2359 providing an API for it... packet does not know
2360 the record format details, but does know the
2361 details of each Database Operation (protocol.h)
2363 So far, it seems that there is a real separation
2364 of operation formats and record formats, with the
2365 record formats being the same even with different
2366 database operation codes (GET_RECORDS /
2367 OLD_GET_RECORDS), which was not confirmed before.
2368 See the header size of the email record after
2370 - controller: handles device state, and the management of
2371 sockets, commands, and checking for response values.
2372 The Controller object does not know the format
2373 of either the record or the packet it is sending,
2374 but does know the protocol handshake logic used
2375 to talk to the device.
2376 - implemented SetRecord (SET_RECORD_BY_INDEX)... syncing, here
2378 - spelling correction in opensync-plugin/AUTHORS
2380 - added sample hotplug scripts
2381 - added .cvsignore files for doxygen and opensync directories
2382 - added src/endian.h... still need to add configure support to
2383 handle non-little-endian machines
2384 - added exception handler in opensync plugin commit_change()
2385 - removed the device reset code in probe.cc, as resetting a device
2386 can renumber the devices in /proc on kernel 2.4.x,
2387 and cause a failure to reach the device...
2388 FIXME - this should be changed someday to reset if probing
2389 fails, and restart the probe on reset, as sometimes
2390 the blackberry devices respond differently when not reset
2391 Ideally, the probe protocol should be properly reverse
2393 - added support for retrieving record state table, which is needed
2395 - added support for retrieving, deleting, and clearing the dirty
2396 flags of individual blackberry device records
2397 - added endian macros throughout the code
2399 - added opensync-plugin to root Makefile's clean
2400 - updated time conversion calls to match opensync's latest SVN
2401 - added opensync_change_set_changetype() (only add for now,
2403 - removed slow sync functions for now
2405 - added quick "install" makefile target, to src/install by default
2406 - added static library target... this is temporary until autoconf
2407 stuff is added properly... needed for the opensync plugin
2408 - documented in comments that Barry::BError is intended to be
2409 the base classes for all exceptions
2410 - added first round of implementation of an opensync plugin, based
2411 on the example plugin code from the opensync sources
2413 - added to Contact record class:
2415 - ReadLdif() to load and parse LDAP data
2416 - added fragmented send support to Socket class
2417 - added Probe::FindActive() to make client programs more streamlined
2418 - fixed hex/decimal printing of record counts in btool
2419 - added upldif.cc, a utility to take ldapsearch output on stdin
2420 and upload it to a blackberry
2421 - updated src/.cvsignore
2423 - added parsing of service book fields:
2425 - old and new unique ID (UID)
2427 - old and new description
2429 - bes domain / domain
2430 - date change in legal.txt
2431 - added initial parsing of ServiceBook field 0x09, and calling it
2432 ServiceBookConfig for now, for lack of a better name
2433 - added parsing for ServiceBook field 0x02 on 72xx Blackberries...
2434 seems to be a name or description, but doesn't appear
2435 in the device's own GUI... called "Hidden Name" for now
2437 - added ServiceBook record class and parser code, based on some
2438 of Ron Gage's reverse engineering... code is by Chris Frey
2439 - added AUTHORS file
2440 - fixed the libusb set_configuration/claim_interface order
2441 bug in controller.{h,cc}... already fixed in probe,
2442 but not controller. Thanks Ron Gage for finding this.
2444 - renamed Changelog to ChangeLog in preparation for autoconf
2445 - renamed Todo to TODO in preparation for autoconf
2447 - make clean cleans up tests properly now
2449 - turned source code browsing on in Doxyfile
2450 - added LoadDatabaseByName() and LoadDatabaseByType() template members
2451 to the Controller class
2452 - new file: controllertmpl.h
2453 - documentation fixes in builder.h
2454 - added static GetDBName() functions to all record classes, in
2455 support of the template Controller functions
2456 - fleshed out DatabaseDatabase::GetDBNumber() and GetDBName(),
2457 returning errors properly
2458 - documented sample btool.cc code better, and added example
2459 of Controller template member usage
2461 - copyright dates updated for 2006
2463 - backed out update to latest libusb DEVEL tree, since it is buggy.
2464 Stick with libusb 2005/11/26
2466 - added clean target to convenience Makefile
2467 - added Boost to list of dependencies in README
2468 - fixed minor compile warnings in base64.cc
2469 - fixed new USB discovery code, and changed endpoint usage to use
2470 it, instead of the READ_ENDPOINT and WRITE_ENDPOINT
2471 constants... constants are now removed
2472 common.h, controller.cc, probe.cc, probe.h, usbwrap.cc
2473 - added ClearHalt() to Usb::Device (usbwrap.cc)
2474 - updated usbwrap.h to match latest libusb CVS devel tree
2475 - updated README to refer to 2005/12/30 libusb CVS devel tree
2476 - added roadmap to Todo list
2478 - added convenience Makefile in root directory
2479 - added Hacking document
2480 - minor touchups to README
2481 - added caution warning to README, since this release will support
2482 delete / overwrite / upload functionality
2483 - minor compile order change in Makefile (speed reasons)
2484 - added dynamic endpoint discovery to probe.cc
2485 - changed claim_interface/set_configuration() function call order in
2486 probe.cc based on feedback on the libusb mailing list
2487 - added USB discovery code to usbwrap.{h,cc}
2489 - fixed packing bug in new upload header struct
2490 - renamed CommonField union from data to u to be consistent
2491 - added return_code field to DBAccess struct, for error checking
2492 - added response checking during upload: if response is non-zero
2493 throw exception in controller.cc
2494 - added sorting operators to record parser classes... when writing
2495 contact data to the device, it may be important to write
2496 group link items last, since they reference other contacts...
2497 This needs to be tested, and if not required, removed.
2498 - added GROUP_FLAG field code to Contact parser class
2499 - fixed offset bug in Contact and Calendar Build() functions
2500 - fixed name bug in Contact::Build(), now output only with data
2501 - added appointment type flag support to Calendar record parser
2502 class, and "all day event" flag support
2504 - added autoconf to Todo list
2505 - refactored the protocol structures so that record structs can
2506 be reused for upload and download
2507 - with new protostructs, more header control is handled by
2508 controller.cc instead of record.cc parsers and builders
2509 - parser code now accepts an offset, to govern start of record data
2510 - changed Data sizes from int to size_t and removed casts
2511 - removed unneeded Parser::GetHeaderSize() (new protostructs make
2513 - added Calendar::Build() for calendar uploads
2515 - added s11n-boost.h serialization templates for boost::serialization
2516 - added boost::serialization to build
2517 - minor change in usbwrap.cc to display error codes in decimal
2518 - added SizePacket special case code to Socket::Send()... this is
2519 required when uploaded packet size is a multiple of 0x40,
2520 a special 3 byte size packet is sent
2521 - moved some record class variables to public: so they can be
2523 - fixed variable name but in RecordBuilder template
2524 - added -f switch to btool, for saving and loading of record data
2525 - added -s switch to btool, for uploading saved data back to handheld
2526 - added Controller::SaveDatabase()
2528 - fixed potential casting / pointer bug in controller.cc
2529 - added builder.h, to support uploading
2530 - minor comment fixes in parser.h
2531 - added preliminary Contact protocol record building support
2532 - fixed field order bug in ContactRecord protocol struct
2533 - Contact record.h class now saves unknown Group Link field,
2536 - added -fno-strict-aliasing to compiler flags so gcc-4.0.x won't
2537 optimize away protocol struct casts
2539 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25235
2540 http://mail-index.netbsd.org/tech-kern/2003/08/11/0001.html
2541 http://groups.google.ca/group/comp.lang.c++.moderated/ \
2542 browse_thread/thread/e7bf096832526f8e/5714701b \
2543 02a2a3cc?hl=en#5714701b02a2a3cc
2544 - changed headers so that any low level protocol-specific sizes and
2545 structs are completely hidden in the library...
2546 this adds library-only header: protostructs.h
2548 Release: version 0.0.1 - 2005/11/25
2549 ------------------------------------------------------------------------------
2551 - added barry.h for documentation purposes and application usage
2552 - updated README for release
2553 - renamed SBError exception class to BError
2554 - updated Doxyfile to version 1.4.5
2555 - added more doxygen comments
2557 - added conversion routines (and tests) between time_t and min1900_t
2558 - added -v option to btool to dynamically control protocol dumping
2559 - removed duplicated database database table display in controller.cc
2560 - minor spelling corrections
2561 - added copyright to usbwrap.{h,cc} as per earlier meeting
2562 - added support for Old protocol Calendar entries
2564 - added legal.txt, to save typing when adding new source files
2565 - ignore test-base64 file (cvsignore)
2566 - added contact-to-ldif generation, and updated supporting code
2567 - added argument to btool to support contact-to-ldif operation
2568 - added Contact::GetPostalAddress()
2569 - added README documentation in preparation for future release
2571 - added parser.{h,cc} virtual wrapper to generalize LoadDatabase()
2572 - added code to socket.cc's Packet() command to re-receive on
2573 reception of empty packets... this seems to be a signal
2574 from the device that it needs more time for long transfers
2575 Current limit: 10 blank packets before exception is thrown
2576 Observed maximum blank count: 1
2577 - added MessageRecord and OldMessageRecord to protocol.h
2578 - changed common record field structs to one CommonField struct
2579 - increased default USB timeout to 10 seconds (some loaded devices
2580 seem to need more time...)
2581 - reorganized record.{h,cc} to try to reduce the code duplication
2582 - record.h classes now "know" the sizes of their corresponding
2583 protocol structs... this may cause trouble down the line
2584 with Python, if used(?)
2585 - added Message class for Email records
2586 - removed the "Get*" database functions and replaced with
2587 general LoadDatabase() call, which loads any database
2588 available, and parses it with a Parser object
2589 - added GetDBID() for searching for database numbers via name
2590 - added test code to retrieve and display all email
2591 - cleaned up comments
2592 - renamed blackberry.{h,cc} to controller.{h,cc}
2593 - renamed bbtool.cc to btool.cc
2594 - added Makefile.conf
2595 - added copyright notices to source files
2596 - added COPYING file with GPL
2597 - put parser in Barry namespace, and added auto_ptr-like mode for
2598 store object pointers
2599 - added doxygen docs
2600 - added header comments to convo.awk script
2601 - removed Test() function in Controller object, and made class
2602 better suited to its general API purpose
2603 - changed OpenMode() so it loads command table and DBDB... it is now
2604 a public API function
2605 - moved Controller test code to btool.cc and made tool more
2606 generically useful... can now download any DB by name on
2608 - added mode checks to Controller
2609 - added -t and -d command line options to btool
2610 - added base64 routines from John Walker / Fourmilab and Citadel/UX
2611 - converted base64 routines into an API, instead of hardcoded
2614 - changed project name to Barry, including namespaces
2615 - renamed sbcommon.* to common.*
2616 - increased USB default timeout to 2 seconds
2617 - fixed formatting bug in Data operator<< output
2618 - cleaned up the protocol packet structs, getting rid of the
2619 confusing param/simple split... param is now the tableCmd
2620 from the Command Table
2621 - moved protocol structs from record.h to protocol.h
2622 - added support for older version of the USB protocol, which matches
2623 the Cassis spec more closely
2624 - fixed the hardcoded offsets in blackberry.cc's protocol parsing
2625 - fixed Socket::Close() so on error, socket flags are reset.
2626 This stops Close() from being called twice on exception
2629 - added Doxyfile to the project
2631 - added mode selection support to Blackberry class (RIM Desktop,
2632 RIM Bypass, and RIM_JavaLoader)
2633 Mode selection governs which socket is used in subsequent
2635 - added Command Table parsing and protocol support
2636 Blackberry class, and CommandTable record class
2637 - added Database database parsing and protocol support
2638 Blackberry class and DatabaseDatabase record class
2639 - added Address book retrieval support - dumps data to stdout for now
2640 - fixed bug in CopyOnWrite mode in Data class, where could allocate
2641 less buffer than data copied
2642 - added "easy exception" debug output macro
2643 - fixed minor spelling error in protocol.cc
2644 - fixed ModeSelectCommand protocol structure - it is not a parameter
2645 command, but uses the unknown slots for socket and flag
2647 - removed hardcoded socket numbers from protocol.h
2648 - fixed bug in socket.cc:Open() where packet size was not properly
2650 - implemented socket::Close()
2651 - fixed sequence number checks, so it is reset properly on socket 0
2652 - added Socket::NextRecord() for multiple record data transfers
2653 - fixed input handling bug in translate.cc
2655 - added .cvsignore files to project
2656 - added README notes to document the source architecture
2657 - added dbsetup data script, which shows how to get into database
2658 mode, using the RIM Desktop mode, and open a socket
2659 - added blackberry.{h,cc} class
2660 - added command line parameters to bbtool.cc
2662 -p = specify pin of blackberry device
2663 - added blackberry test code in bbtool.cc - debugging the initial
2664 opening protocol: sockets, modes, etc... see dbsetup for
2666 - added copy-on-write functionality to Data class, so it can be used
2667 with plain data buffers with little performance impact
2668 - added eout() and ddout() debugging - to separate:
2669 - regular debug output
2670 - exception debug output (should probably be logged to
2671 syslog someday, and never turned off)
2672 - raw data dump output
2673 - changed errno SBError exception handler to try to decode the error
2674 numbers into english (limited success)
2675 - fixed probe and socket USB Bulk message handling, so they don't
2676 use PollCompletions(), but use IO::Wait() (libusb_io_wait())
2677 - added common packet size checker in protocol.cc
2678 - fixed unpacked protocol packet structs... using gcc's
2679 __attribute__ ((packed)) ... see protocol.h
2680 - added ModeSelectCommand structure (protocol.h)
2681 - finished Socket::Open() call (Close() not yet implemented)
2682 - moved Socket::Send/Receive() out of private, as they can be used
2683 for socket 0 operations.
2684 - cleaned up pointer management with macros:
2688 - added IO::Wait() and IO::Cancel() to correspond with libusb API
2689 - added datadumping in usbwrap for easy protocol capture
2690 - added preliminary record.{h,cc} classes
2691 - added Contact record parsing, and test code
2693 - syncberry tree started