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