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