1 Release: version 0.15 - 2009/01/??
2 ------------------------------------------------------------------------------
4 - added link Josh Kropf's 'Blackberry development in linux' blog
5 post to doc/www/index.php
6 - added USB capture log archive page to www docs
7 - added config.rpath, needed by new AM_ICONV check
8 Thanks to Bill Paul for debugging this.
10 - added template wrapper for iconv() due to casting differences on
11 various platforms... thanks to Bill Paul for FreeBSD testing
12 - added AM_ICONV automake/autoconf check to configure.ac
13 This should take care of checking for libc or library
14 iconv installs, and checking the iconv() prototype for whether
15 const is needed or not. This removes the need for the
16 template added earlier.
18 - applied patch from Josh Kropf making bjavaloader's syntax more
19 compatible with the windows version, to make cross
20 platform build scripts possible
21 - applied Josh Kropf's settime syntax patch
22 - clarified timezone behaviour in javaloader settime
23 - added flag to JavaLoader mode class, so StopStream() is called
24 automatically in the destructor if not called manually
26 - added another ctor to BadSize exception class
27 - fixed bug in SocketZero where it checked sequence on packets
29 - javaloader list mode updates:
30 - added Dump() code to directory classes
31 - fixed size issue with JLDirEntry header size define
32 - fixed size checks in entry parser
33 - fixed copy before in JLDirectory, now uses vector
34 - moved bjavaloader's Start/StopStream calls to main()
36 - removed default argument to CheckSize() so all code specifies
37 the size it really needs
38 - fixed bug in ParseData() that didn't copy data to receive arg
39 - adding additional javaloader commands and refactoring
40 this is a work in progress:
41 - added JLPacket class, encapsulating javaloader protocol
42 - added new defines for more JL commands
43 - refactored socket class, using PacketData()
44 for JL, and Packet() for Desktop (still needs
45 some work to be really clean)
46 - began implementing new commands (SetTime())
47 - thanks to Rick Scott for his reverse engineering effort
48 in XmBlackBerry, which inspired this code
49 - refactored packet.cc to make JLPacket even tighter
50 - updated doc/USB-capture.txt with link to vusb-analyzer
51 Thanks to Martin Owens for the link.
52 - added a set of be_*() endian swap functions, for big endian data
53 JavaLoader code seems to use big endian a lot.
54 - simplified bjavaloader.cc's command line args to make room for more
55 - cleaned up big endian code to use new be_* swap macros
56 - added protocol and packet code for directory / subdir commands
57 - added preliminary directory support to JavaLoader class
59 - reverted experimental handshaking in IpModem, since the session_key
60 patch fixed Bill Paul's issue
61 - finished adding IConverter support to r_task and r_timezone
62 - removed r_message_base.h from doxygen RecordParserClasses group
63 - removed unused ClassType variable from Task record class
64 - refactored Calendar and Task record classes, creating new
65 RecurBase to handle recurrence data
66 - removed FIXME in Socket::Packet(), since socket is set in Send()
67 - cleaned up socket handling and comments in packet.cc
69 - applied Nicolas Vivien's javaloader patch, fixing constant defines
71 - minor whitespace and spelling fixes to above patch
72 - changed m_ipmodem.cc to send the session key even without password
73 which should help reduce the "special packets" coming from
75 Thanks to Rick Scott and Andy Herkey.
77 - refactored pthread timeout creation into ThreadTimeout() function
78 - added experimental handshaking to IpModem. This is in response
79 to Bill Paul's email regarding what he was seeing in the
80 logs with the special code packets which we dropped
81 on the floor. This code is to test whether this handshaking
84 - made maintainer script make-deb-local.sh more robust
85 - added list of target binary packages in ReleaseChecklist.txt
86 - changed to more general Fedora link to Chris Stover's packages
88 - applied Andy Herkey's ipmodem password patch for the Bold
89 - minor fixes to above patch, and in addition to above patch:
90 - use sizeof(seed), instead of type, in case of future changes
91 - removed commented out code
92 - added the null password check back to SendPassword(),
93 for historical reasons
94 - removed the null and zero default arguments to
95 SendPassword(), since they make no sense
96 - added define for session key size, and added size check
97 - added missing string.h header to src/m_javaloader.cc
98 - updated Debian and RPM packages to include bjavaloader
100 - applied Nicolas Vivien's bjavaloader patch
101 - small fixups to above patch:
102 - moved cod.h from installable headers to internal headers
104 - copyright statement tweaks
105 - added blog URLs to copyright list in cod.h where parts
106 of the structs appear to come from
107 - removed unused variables to compile with strict settings
108 - changed char to unsigned char to fix strict compiler
110 - removed duplicated a/b from Socket messages, and moved
111 read/write text to front, in socket.cc
112 - added NetDirect copyright notice to bjavaloader.cc, since
113 it is based on btool.cc
114 - removed unused boost-specific code from bjavaloader.cc
115 - more fixes to above patch: (bjavaloader.cc specifically)
116 - moved cod.h back to installable headers, since tools/
117 programs depend on it... this should be fixed
118 or put in the library as a COD-reading API
119 so that applications don't need to worry about
121 - fixed potential buffer overflow: removed buffer read used
122 to skip ahead in file, and replaced with fseek()
123 - changed SendAppFile() to report errors by exception
124 instead of by return value, which wasn't checked
125 anyway... and C++'d the file handle closing
126 - removed unused StateTableCommand, leftover from btool
127 - added check for unlikely case of COD file being larger
128 than size_t, breaking the fread() assumption
129 for the type == 0xC0DE case
130 - added checks for fread() failures
131 - fixed compiler warnings when comparing signed/unsigned,
132 and changed file operation types from plain int
134 - changes to src/m_javaloader.cc:
135 - fixed comments to remove Desktop-oriented notes
136 - moved variables closer to their use point
137 - removed the duplicated response Data objects in favour
138 of just one (each default Data object uses 0x4000
140 - removed manual endian swap in favour of htobl()
141 - oops... this size field is actually big endian.
142 Since all Barry code assumes that Blackberry
143 protocol traffic is little endian, a special
144 case needs to be added in m_javaloader.cc for
145 this field. The special case uses autoconf's
147 - fixed long long problem in endian.h (ISO C++
148 compilers don't support long long) and made
149 the bswap() functions always available
150 - removed unused CommandType and m_commandTable members
151 - fixed exception error messages to indicate command #
152 instead of Desktop message
153 - changed Packet() call to PacketData() when sending
154 file size, since there is no command
155 - added eout() data dump to socket::Packet() unknown send error
156 - fixed my incorrect off_t/size_t check in bjavaloader.cc
157 - removed the '0' JL_UNKNOWN4 command from src/protocol.h,
158 since the PacketData() change above now handles that,
159 and I don't think that byte is actually a command, but
160 really part of the uint32_t size
161 - Also fixed one remaining 0 command, to use PacketData()
163 - added AT+CLAC note to contrib/modemtest.rb, recording tidbit
165 - updated copyright dates for 2009
167 - fixed missing slash in config sample in doc/www/sync.php
168 Thanks to sourceforge tracker #2413683 for reporting
170 - added more notes to doc/USB-capture.txt, documenting my kernel
171 setup for capturing USB traffic, and added size-limiting
173 - added TODO list item for the Blackberry Storm
175 - moved Product ID constants into a single place (src/common.h)
177 - added Product ID 8007 for the Blackberry Storm... needs testing
179 - applied ppp chat script patch for AT&T Cingular from
181 - added new chat scripts to debian and rpm packages
182 - added known sources of additional Barry binary packages to index.php
183 - turned on call/caller graph support in Doxygen output
185 - applied 'patch' of Martin Owens' Content Store documentation
188 - large refactoring of all message/email record classes, and more
189 There is now a MessageBase base class, which combines
190 common email record parsing code in one class. This base
191 class is reused by all the specific messages record classes.
192 This commit also includes support for multiple email
193 addresses per email, as well as giving IConverter support
194 to all message classes.
195 - deleted empty *.cc files from project
196 - updated TODO file, removing opensync i18n bug
197 - added TODO item for password support in Opensync... try to avoid
198 storing the password in the sync config in plain text
199 - fixed dll export bug on ErrnoError exception class
200 - added BadPackedFormat exception for internal use
201 - ServiceBook: added IConverter support, and general cleanup
202 Refactored ServiceBook class and added some experimental
203 template functions to generalize the FieldLink table
204 processing. If possible, this needs to be expanded
205 to the general record classes, to reduce the amount of
206 code duplication during processing of FieldLinks and
207 CommonField structures.
208 Also, ServiceBook deals with packed fields, which should
209 also be extrapolated for general use, and reused if
210 possible for the new "Calendar - All" Blackberry databases
211 that are coming out on the new devices and firmare.
213 - updated man/btool.1 with new -i option
214 - fixed bug where opensync plugin didn't pass IConverter to Desktop
215 - added IConverter support to r_calendar.cc
216 - renamed utf8Needed to iconvNeeded, for consistency
217 - added IConverter support to r_folder.cc
218 - added IConverter support to r_memo.cc
219 - added IConverter support to r_message.cc
220 - added EmailAddressList, in preparation for multi-address email
222 - changed Parser base class to pure abstract... this is so that
223 future API changes to the Parse base class will be
224 detected by the compiler as errors
225 - added NullParser class, which performs the old Parser function
226 - changed all FieldLink arrays to static
227 - added new IConverter class to support converting the Blackberry's
228 WINDOWS-1252 charset to/from UTF-8 and more
229 - fixed bug in IConverter that saved end of string instead of
231 - reorganized barry.h app header and record.h header, so that
232 internal builds have fewer dependencies
233 - large parser/builder API change, adding IConverter support
234 This change starts at the top (Mode::Desktop) which
235 takes an optional IConverter object for parsing and
236 building conversions. The Desktop class passes
237 this IConverter object to Packet, Parser, and Builder (and
238 thereby, the corresponding Record classes) as needed.
239 This adds an extra pointer to a fair number of calls
240 in the stack, but maintains flexibility without putting
241 too much of a burden on Parser writers, which could be
243 The primary use of this architecture is to pass in an
244 IConverter configured to convert to UTF-8... this is
245 basically the only useful conversion method, but others
246 are possible if you want to play.
247 - first record class to support string conversions: Contact
248 - reverted the barry.h and record.h reorganization, since
249 the gui depends on it
250 - reorganized barry.h and record.h again, making inclusion of
251 the record headers dependent on whether it is a library
253 - updated the gui with the parser/builder API change
254 - added IConverter to opensync plugin, set to UTF-8
256 - added comment to src/r_contact.h deprecating the Phone field
257 - updated Doxyfile to 1.5.1
258 - added Christopher D. Stover to AUTHORS file as Fedora contact
260 - forgot #include <string.h> for memcpy/memset in tools/bfuse.cc
261 - moved bfuse install point from /usr/sbin to /usr/bin
263 - added FUSE filesystem "driver"
265 - commented out the info.subsystem match level in HAL FDI file...
266 this should let the FDI work on old and new systems.
267 HAL version 0.5.8 (used by Debian Etch) has the deprecated
268 info.bus property, and doesn't have info.subsystem yet.
269 - added HAL FDI scripts to rpm/barry.spec
270 - fixed tools/Makefile.plain
272 - added support for multiple work/home phone numbers to the
274 - Thanks to Richard Esplin for his test data.
275 - This fix has a conflict when a cell phone number is
276 marked as the preferred contact as well.
277 See http://sourceforge.net/mailarchive/message.php?msg_name=20081030231045.GA28989%40foursquare.net
278 for the full details.
279 - This fix also changes the VCARD output... pager phone
280 numbers are given the TYPE code of "pager"
282 - Added OtherPhone field as well
284 - applied HAL FDI scripts and configuration from Martin Owens
285 - updated AUTHORS file
286 - added HAL FDI and python script to Debian package install
288 - updated copyright notice and help text in contrib/modemtest.rb
289 - changed barry-verizon.chat script according to Andy Herkey's
290 recommendation... this worked much better for Michael L.
291 Stokes, since his provider was getting stuck on the ATZ
293 - applied Andy Herkey's modemtest.rb ruby script to contrib/
294 from his Aug 9, 2008 email to the mailing list
295 - applied Andy Herkey's new modemtest.rb script to contrib/
296 from his Oct 8, 2008 email to the mailing list
297 - added password pass-through code for pppob -s mode
298 - clarified front page www doc, adding date of last release
300 - cherry-picked changes from Jose Carlos Garcia Sogo's debian git repo
301 - debian/rules was stripping wrong library names
302 - FSF address was incorrect (also updated other source
303 files throughout the tree myself)
304 - more complete debian/copyright file
310 - gui/src/BackupWindow.cc
314 - opensync-plugin/src/barry_sync.cc
315 - added link to doxygen documentation to www index.php
317 Release: version 0.14 - 2008/09/24
318 ------------------------------------------------------------------------------
320 - changed Debian changelog version to 0.14-0 to make room for
321 official Debian packages which start at 0.14-1
322 - moved Doxyfile from src/Makefile.am to Makefile.am
323 - made RPM spec file match debian version number
324 - www documentation updates for 0.14
326 - fixed git-tagged-release.sh to not delete its own results... oops
328 - fixed git command line in git-extract.sh for new 1.6.0.x behaviour
330 - added notes in ReleaseChecklist.txt regarding the new tarball
331 tags in the git repos
333 - updated doc/ReleaseChecklist.txt
334 - moving items from private todo list to TODO file
335 - removed unused variable from maintainer/git-release-tar.sh
336 - added new maintainer/git-tagged-tar.sh, which puts more data
337 in the git repo, to make it easier for official Debian
339 - moved src/Doxyfile to ./Doxyfile to avoid ".." in the config...
340 the ".." paths confused doxygen and caused it to generate
341 non-relative paths in the documentation.
342 - added umask to maintainer/git-extract.sh, so it works even without
344 - updated maintainer/tar-prepare.sh to match the new Doxyfile
345 - added maintainer/tagged-release.sh, as replacement for the
346 release.sh top level script, when using git
347 - removed CVS-style ID code from contrib/barry-unbind-storage.sh
348 since it made it look like cdfrey wrote it
349 - removed doc/CodingStyle.txt as it is now documented in html
351 - added device name and backup label support to the GUI
352 It is now possible to name devices, instead of just
353 operating by PIN number, and it is possible to now
354 add a text label to the backup tar filenames.
355 - added the device names to the device selection dialog
357 - updated TODO list with i18n opensync bug and general i18n support
358 - added test suite to TODO list
360 - renamed libbarry to libbarry0 in rpm/barry.spec
361 - added %dump to rpm/barry.spec to match the OBS version
362 Makes it easier to track variable changes across
364 - added note to NEWS regarding binary package renaming
366 - fixed logic error in breset that displayed error on success
367 Thanks to Richard Esplin for reporting this bug.
368 - applied commit's from Jose Carlos Garcia Sogo's debian git repo
369 git://git.debian.org/git/users/jsogo/barry.git
370 - Add binary dependency of libbarry-dev on libusb-dev
371 - Rename libbarry to libbarry0, per debian policy
372 - Add exact dependency on binary:Version for every
373 -dbg and -dev package
374 - Bump Standards-Version to 3.8.0
376 - clarified barrybackup error message when no records available
377 Added a check so that "no databases selected" and
378 "no records available" are two distinct error messages.
380 - applied ppp chat script patch from Mick Reed
381 - updated RPM and Debian packages with new tmobileus ppp scripts
382 - added T-Mobile US to web documentation
384 - clarified sync docs regarding slow-sync... avoid it if possible
385 - tuned doxygen config, and moved generated files to doc/www/doxygen
386 - added git-release-tar.sh, replacing CVS's make-release-tar.sh
387 Also added doxygen to the release tarball creation, so
388 the source code's doxygen documentation is automatically
389 generated upon release.
390 - split git-release-tar.sh into reusable component scripts
392 - added exception handler for invalid command line options in GUI
393 - fixed barrybackup man page, removing bad -v option
394 - added distro section to AUTHORS
395 - fixed comment and whitespace problems in time.{h,cc}
396 - Converted Birthday from string to Date, and added Anniversary
397 support. Birthday and Anniversary fields now use a new
398 Date struct, and Barry validates the data to some extent.
399 - updated example code and opensync plugin to match
400 - applied Lee Dixon's Location and Description plugin patch,
401 with minor whitespace edits
403 - added Birthday field to examples/addcontact.cc for testing
405 - applied Lee Dixon's Birthday field and opensync patch
406 - fixed coding format issues
409 - fixed bug in m_ipmodem.cc that included a null terminator in
411 - fixed RFC 2426 conformance bug... RFC 2426, 3.1.1 states that FN
412 MUST be present in the vcard object. If there is no name
413 available, then we use the Company name if available. It
414 should be, since the Blackberry requires either name or Company
415 in order to create a new address. If Company is blank too, then
416 we insert "(Blank Name)".
417 - On the flip side of this same bug, it is possible to receive
418 non-conformant vcard data from evolution / opensync
419 that does not include FN. Since the Blackberry
420 doesn't require this information, remove the
421 exception, and only throw an exception if FN
422 or Company are both blank.
423 - REVERT: removed the Company and "(Blank Name)" workarounds,
424 and just produce an invalid vcard if no full name,
425 since with multiple syncing, this will come back
426 to bite us with duplicated Company name data
427 - added sanity check to contact class for blank name and company
428 - added BadData exception class, and documented it
430 - fixed bug in vAttr::GetValue that ignored index for single valued
431 attributes... this should fix the endless loop / memory
432 exhaustion that some people have been seeing
433 Thanks to Lee Dixon for reporting this bug in detail!
434 - added TODO list item for implementing recurring calendar items
440 - gui/src/BackupWindow.cc
444 - opensync-plugin/src/barry_sync.cc
445 - updated web docs showing how to set the password when using modem
446 - added section to docs on how to test the modem connection
448 Release: version 0.13 - 2008/07/28
449 ------------------------------------------------------------------------------
452 - removed extraneous "experimental" wording
453 - added section for external links to main index page
454 - fixed doc bug about how to install libtar
455 - added O2 Ireland to list of modem scripts
456 - removed ubuntu80464 and fc6 from binary package list
460 - applied barry-unbind-storage.sh script from Niels de Vos...
461 added to contrib for now, in the interests of getting
462 version 0.13 released soon... we can work on integrating
463 this better in 0.14, which hopefully won't take so long :-)
465 - added g++ (>= 4.1) to Debian build dependency list
466 - added support to base library and utilities for multiple email
467 addresses in Contact records
468 - added opensync support for multiple contact email addresses
469 - applied ppp chat scripts for O2 Ireland from Simon Kenyon
471 - integrated O2 Ireland scripts into binary package installs
473 - applied David Mansfield's opensync module password patch (ported
474 manually to latest upcoming 0.13)
476 - added password documentation to sample barry-sync module config
477 - updated web docs with new password sample config
479 - removed old, unused spec file and scripts for bcharge-only release
480 - fixed rpm build instructions in web docs
481 - reduced minimum password retry level from 6 to 3... Reinhold Schoeb
482 reports that his 8800 device only lets him set a password
483 retry range between 3 and 5, instead of the usual 10 that
486 - added "known issues" section to main www doc page
487 - fixed virtual function mis-name bug in btool's null parser
488 - added -i option to brecsum, to include record IDs in the sums
489 - applied Ashley Willis's btool 0.12 null parser patch to CVS, which
490 required some manual porting changes...
491 - removed bool reference argument in GetParser()
493 - applied Ashley Willis's perlbarry package, putting it in the
494 new contrib/ directory
496 - now that btool patch is applied, don't need it in contrib
497 - removed openssl from dependencies documentation, as barry now
498 has its own sha1 code
499 - added libtool to dependencies documentation
500 - rpm/barry.spec file now assumes gui and opensync, with conditional
501 checks depending which system it is being built on...
502 --with gui and --with opensync are no longer needed.
503 - updated release scripts to build RPMs with the new spec file
505 - updated udev rules to recognize devices with the 8004 Product ID
506 - fixed bug in test/buildtest.sh when opensync is not pre-built
507 - fixed more lintian warnings on Ubuntu
508 - fixed tiny subheadings in modem web document
509 - added syncing howto web document
510 - updated TODO list, adding Troubleshooting item, and morphing
511 the modem item into the RPC daemon item
512 - moved old doc/TroubleShooting.txt document to web, and updated
514 - added tip to sync web docs, for using DebugMode on hangs
516 - changed test/buildtest.sh so it is safe to run from outside
517 the directory that contains it
518 - added note to patch webpage regarding testing patches to the
520 - removed mis-configured 'make dist' check from buildtest.sh
521 - added missing 'scoped_lock.h' to src/Makefile.am's non-installed
522 headers, as it is an internal header only
523 - improved buildtest.sh: speed, accuracy
524 - added -j option to make to speed builds
525 - moved cleanall check above 'make dist' as dist doesn't
526 clean up after itself
527 - commented out 'make distcheck' for now, as it doesn't work
528 - added DISTCHECK_CONFIGURE_FLAGS to root Makefile.am, similar to
529 David Everly's patch in tracker # 1973536
530 Thanks David! 'make distcheck' now works, but only in
531 an environment like buildtest.sh creates.
532 Also, buildtest.sh passes all tests now, including distcheck.
534 - removed unused src/controllertmpl.h
535 - added ppp and test directories to Makefile.am EXTRA_DIST
537 - added beginnings of a build system test script
538 - fixed sha1.h so it is installed by src/Makefile.am
539 - removed old Makefile.orig from src/Makefile.am
541 - updated modem web documentation page with Sprint option, as
542 well as listing some network security concerns
544 - added modem reset workaround to web documentation page
545 - applied Andy Herkey's ipmodem password patch, round 1
546 - applied Andy Herkey's ipmodem password patch, round 2
547 - cleaning up some rough edges to the ipmodem patches:
548 - removed commented out code in pppob.cc
549 - added BXLOCAL to private member SendPasword()
550 - added try/catch in IpModem destructor
551 - removed FIXME comment about endian issues
552 - added data size checks to SendPassword()
554 - renamed class variable session_key to match others
555 - added check to skip password if "" is passed in
556 - added the m_filter for ipmodem PPP 0x7e filtering
557 back, since the 8320 w/ rogers seems to need it
560 - added timeout argument to Device::BulkDrain()
561 - added mozilla's sha1 code from git
562 - removed openssl dependency due to license issues
563 Debian and Ubuntu have checks in their lintian tool that
564 check for GPL+OpenSSL linkage. In order to remove any
565 potential obstacles to future inclusion in those distros,
566 the dependency is removed here in favour of the small
567 mozilla implementation which is GPL.
569 - added notes to web documentation for OpenBSD
570 - documentation updates:
571 - changed git patch command to use format-patch
572 - added instructions for building from tarball
573 - added bugs.php and contact.php pages
574 - fixed missing and mis-dated copyright notices in src/
575 - added ppp options and chat script for Sprint, based on
576 Andy Herkey's mailing list report
578 - added Ubuntu 8.04 to release build scripts
580 - fixed compile errors in gui when compiling with gcc 4.3.x
581 - added ppp options and chatscript files to RPM build
582 - updated docs with binary package default PPP scripts
583 - added -P option to pppob to specify password
584 - updated pppob manpage with -P option
585 - fixed missing -P option in btool manpage
586 - updated rpm spec file history
587 - added pppob manpage to rpm spec file
588 - added manpages for brecsum, breset, upldif, and barrybackup,
589 and updated the build process to support them.
590 Also updated date for pppob manpage.
591 - updated rpm spec file with new manpages
592 - added ProductID code 0x8004 to breset.cc
593 - minor whitespace and usage text fix in upldif.cc
594 - deleted old src/Makefile.orig
595 - updated Debian binary package:
596 - added manpages for brecsum, breset, pppob, upldif,
598 - added ppp options and chat scripts, with postinit
599 script to set permissions
600 - fixed descriptions in control file to avoid lintian warnings
602 - fixed missing #includes in src/data.cc
603 - fixed compile errors in library, utils, and plugin when compiling
604 with new gcc 4.3.x... gui not yet finished
606 - added minimum g++ version to website dependency docs
609 - reorganized sample ppp options files so they are easier to compare,
610 enabled "usepeerdns" in both, and disabled the speed
611 setting in barry-verizon
612 - updates to website documentation
613 - added FC9 to distro list
614 - added page for BarryBackup
615 - added page for USB modem / pppob
617 - added sample ppp options files for Verizon Blackberries
618 Sample files from Michael L. Stokes
620 - renamed sample ppp peer files, in preparation for installing
621 them automatically in binary packages
622 - modified verizon options file to use pppob
623 - split the sample rogers options file into options and chat files
625 - put sequence packet check directly in the SocketZero::RawReceive()
626 function, which now localizes all sequence packet
627 handling and checking, as well as avoids packet
628 order problems when multiple sockets are in use,
629 such as with pppob...
630 FIXME - this localized sequence checking may make all
631 the calls to CheckSequence() obsolete which
632 should probably be cleaned up someday, if so.
633 - reorganized src/socket.cc to match class private/public
634 order (no code change, only move)
635 - added verbose log message to Controller constructors, so it is
636 possible to determine whether a program is using
637 threaded or non-threaded sockets
638 - added -z and -Z command line options to btool to control
639 the non-threaded/threaded behaviour, respectively;
640 and updated the man page
641 - removed debug sleep() calls from pppob
642 - added SIGINT signal handler so pppob shutsdown gracefully when
645 - mention CVS and git on main documentation "how to" list
646 - moved PPP filter logic into its own class
647 - enhanced PPP filter class to support prepending of
648 empty bytes if needed, in order to reduce data
649 copying, and clarified why there is no GetBuffer()
650 - added ProbeResult::HasIpModem() to determine whether
651 IpModem endpoints are available
652 - added pure virtual Modem base class for common
653 modem-oriented API (only Open and Write so far)
654 - Mode::IpModem is now derived from Barry::Modem
655 - experimental implementation for Mode::Serial,
656 which is now derived from Barry::Modem,
658 - pppob now supports IpModem and Serial modes, and logging
659 to file instead of stderr
660 - added man page for pppob
662 - modified the planned version numbering scheme in doc/VersionNotes,
663 so that a 1.0 is possible, with 1.50 as the devel series
665 - continuing to update html documentation in preparation for
668 - removed -fvisibility-inlines-hidden compile options since some
669 distros have old or broken compilers or libraries where
670 the build breaks looking for STL templates (Ubuntu 7.10,
671 I'm looking at you...)
672 - changed brecsum so usage information is displayed automatically
673 if no command line arguments are specified
674 - added opensync-plugin to maintainer test scripts, and added
675 ubuntu710 to the test build sequence
677 - updated doc/TroubleShooting.txt
678 - removed usb_control message check from IpModem endpoint probing
679 in src/probe.cc, since some devices, like the 8700
680 have both RIM_UsbSerData mode and IpModem mode.
681 - fixed serialization code for Calendar record class, in s11n-boost.h
682 - made UnknownField's data member into its own type,
683 so that when building records, it doesn't get processed
684 like a null terminated string... also added more
685 BuildField() helper functions for accuracy
686 - fixed missing fields in the Calendar record build process
687 - added Calendar to list of Builders in tools/btool...
688 it is now possible to run: btool -s "Calendar" -f datafile
689 - added tools/brecsum program, which calculates SHA1 checksums
690 on database records, for testing
691 - added brecsum to debian and rpm builds
692 - added recurrence builder function to Calendar record builder code
693 which completes builder support
694 Checksums from the following commands now match:
695 brecsum -d Calendar > sum1.txt
696 btool -d Calendar -f calendar.dat
697 btool -s Calendar -f calendar.dat
698 brecsum -d Calendar > sum2.txt
699 diff -u <(sort sum1.txt) <(sort sum2.txt)
701 - applied Jason Thomas's ACLOCAL_FLAGS patch to make autoreconf
702 work again... Thanks!
703 - applied Jason Thomas's debian build dependency patch
706 - started documentation overhaul in doc/www, putting the commonly
707 asked questions right on the front page, and making it more
708 goal-oriented, so it is hopefully easier to use
711 - fixed error messages in m_desktop.cc that still referred
714 - major merge of barry-b1-socket-arch-branch into MAIN.
715 The following is the changelog from that branch, which is now MAIN.
718 - added thread-safe logging mechanism
719 - added preliminary IP modem support... requires a recent
720 device... serial mode is not yet supported
721 - merged HEAD changes
723 - changed Barry::Init() so programmer can choose where
724 debug and exception information goes, instead of
727 - merged HEAD changes
729 - fixed bug in probe class, which missed storing the PIN
730 number in ProbeResult
731 - also added ProbeResult constructor
732 - merged changes from visibility branch:
733 - GCC visibility support, limiting what symbols are
734 visible in the shared library, libbarry... this makes
735 a drastic reduction in the symbol table, and should
736 avoid future name clashes with other libraries such
738 See: http://gcc.gnu.org/wiki/Visibility
739 - vformat_() function name changes
741 - merged HEAD changes
742 - added threads library to new bs11nread build
744 - fixed variable size issues in btranslate.cc, evident with
745 some compilers on 64 bit systems
746 - merged HEAD changes
747 - added comments for threaded usage in usbwrap.h
748 - changed router to use SocketId typedef, for clarity
750 - fixed const char warnings from newer gcc compilers
751 - controller object now saves a copy of the probe result
752 and provides an API to retrieve it
753 - added sanity checks to m_serial.cc
754 - fixed probe behaviour so that a USB probe on an endpoint
755 that doesn't respond won't halt everything
756 - refactored some of the probe code, and added checks for
758 - added Probe::DumpAll()
759 - added Open() call to pppob.cc (not yet complete)
761 - implemented dataqueue.{h,cc}... looks ready for testing,
762 once things compile again
763 - changed free list copy in router.cc to use
764 DataQueue::append_from()
765 - finished packet.{h,cc} implementation, ready for testing
766 - finished controller.{h,cc}, ready for testing
767 - finished m_desktop.{h,cc}, ready for testing
768 - added skeleton m_serial.cc
769 - the base library and utilities compile again!
770 - added constructor for SocketZero(queue)
771 - fixed ErrnoError::GetMsg()
772 - updated GUI and opensync plugin to compile with new API
773 - moved Raw Send/Receive socket functions to private
774 - fixed packet header size bug in socket that caused
775 socket ID override to be skipped
776 - fixed incorrect use of gettimeofday()
777 - fixed race condition where Controller could destroy
778 the Usb::Device object before the SocketRoutingQueue
780 - fixed segfault in SocketZero::RawSend() when a router
782 - fixed Open() bugs in btool... Open() must be outside of loops
783 - btool uses the router thread now, for testing
784 - partially implemented m_serial.{h,cc}... needs testing
785 - added automatic buffer allocation to SocketRoutingQueue
787 - made AllocateBuffers() a little smarter, so it was not
789 - added a context data pointer to the SocketRoutingQueue
790 RegisterInterest callback
791 - added RegisterInterest functionality to Socket class
792 - added exceptions on router read errors in socketzero
794 - implemented router.{h,cc}... looks ready for testing,
795 once things compile again
797 - merged HEAD changes
798 - added router.cc and continued work on new arch
799 - merged HEAD changes for 2008 copyright statements
800 - added scoped_lock.h
801 - added ErrnoError exception class
802 - documented Controller / SocketRoutingQueue behaviour
803 - more router implementation
805 - audit and cleanup of socket.{h,cc} code... looks ready
806 for testing now, once things compile again
807 - removed FIXME in router.*
808 - removed pthread header from pppob as it is not needed
810 - merged HEAD changes
812 - merged HEAD changes
814 - branch started, to track development of the new socket
815 architecture, and new mode architecture, needed
816 to support GPRS modem support, and threaded
818 - committed work-in-progress... does not compile
821 - added Tasks and Memos to TODO list
823 - added support for Blackberry 8120, which has a unique Product ID
824 Sourceforge tracker ID: 1829537
826 - removed TimeZones from TODO list, as it is done
832 - gui/src/BackupWindow.cc
836 - opensync-plugin/src/barry_sync.cc
837 - added GCC visibility support, limiting what symbols are visible
838 in the shared library, libbarry... this makes a drastic
839 reduction in the symbol table, and should avoid future
840 name clashes with other libraries such as opensync
841 See: http://gcc.gnu.org/wiki/Visibility
843 Release: version 0.12 - 2008/03/21
844 ------------------------------------------------------------------------------
846 - changed maintainer script to use CVS export instead of checkout,
847 to avoid the CVS directories
848 - added support for building Debian source packages with proper
849 diff.gz and dsc files
850 - fixed find warning in maintainer/make-rpm.sh
851 - added support for Ubuntu binary packages to the maintainer build
854 - renamed all vformat_ and VFormat symbols in opensync plugin's
855 copy of vformat code, so they don't conflict with the
856 real opensync libraries
858 - updated the install.php web page with Paul Dugas's notes on
859 building RPM's from CVS
860 - fixed problem in tools/Makefile.am where bs11nread was included
861 in build, even if --with-boost was not specified
862 on ./configure command line
864 - changed format of Boost serialization file output from btool,
865 so that the database name is stored as the first line
867 - added tools/bs11nread.cc to read Boost serialization file data
869 - minor adjustments to r_message.h and r_timezone.h
870 - updated s11n-boost.h header to match record classes
872 - applied Time Zone parsing patches from Brian Edginton
873 - added Time Zones to list of supported parsers in btool.cc
875 - changed configure.ac to use bzip2 for "make dist".. thanks to
876 Paul Dugas for the tip
878 - committed Chris Burgess's update to the roadmap document
879 - applied Paul Dugas's x86-64 build patch, except the
880 tar.bz2/tar.gz change
881 - updated AUTHORS file
883 - fixed configure.ac's --with-boost option, so that without args,
884 it defaults to using --includedir and --libdir settings,
885 instead of hardcoding /usr/include and /usr/lib... this
886 should allow smarter compiling on 64 bit systems
887 - updated RPM spec file to use new --with-boost behaviour
888 - ahem, fixed configure.ac again... don't use --includedir and
889 --libdir, as those are install targets... oops.
890 Don't add path overrides at all if not specified.
892 - fixed locale issues in src/data.cc
893 - updated copyright statments for 2008
895 - applied wording correction patch to btool from Matt LaPlante
897 - changed hard coded databases names in btool to calls to
898 <recordclass>::GetDBName()
903 - gui/src/BackupWindow.cc
907 - opensync-plugin/src/barry_sync.cc
910 Release: version 0.11 - 2007/12/01
911 ------------------------------------------------------------------------------
913 - fixed null pointer bug in Probe class (bug #1842407)
914 - added pause to maintainer release script
920 - gui/src/BackupWindow.cc
924 - opensync-plugin/src/barry_sync.cc
926 Release: version 0.10 - 2007/11/30
927 ------------------------------------------------------------------------------
929 - added support to the usbwrap Match class to limit its
930 search by busname / devname
931 - added support to the Probe class to limit its search for
932 Blackberry devices to a given bus or device name
933 - added command line options to btool for the above Probe
934 bus/device names, and updated the man page
935 - updated the www docs with regard to the new usb_storage
936 behaviour and the new blacklist files... less
937 concern about berry_charge and usb_storage conflicts
938 - added bidentify tool and accompanying man page
939 - fixed bug in rpm maintenance script that used the wrong
940 spec file for opensuse
942 - added better error checking to breset
943 - commented the sleep() for the 8830
944 - added code to handle the race condition where usb_storage
945 claims the device before bcharge arrives on the scene,
946 by asking the kernel to detach the driver from
947 the Mass Storage interface... this change makes it
948 possible to run bcharge, moving from 0006 to 0004
949 to 0001 and back to 0004, all *while* usb_storage
951 - changed Probe class behaviour so that it will not throw an
952 exception on Device Busy (-EBUSY) but instead
953 log the error in an internal array and keep going.
954 This makes it possible to use btool and barrybackup
955 with two devices plugged in at the same time.
956 BACKWARD COMPATIBILITY NOTE: this changes initializaion
957 behaviour, but in practice, it should only
958 make applications look more capable, not less.
959 - updated btool to show errors logged by Probe
960 - added message to specify which PIN device is being used by btool
961 - added explanatory comments to udev rules files, about why
964 - added ClearHalt() calls to probe and controller classes, just
965 before any communication happens... the 8830 seems
968 - added usbwrap.cc:GetConfiguration()
969 - added code to check whether the configuration is the one
970 we require, before calling SetConfiguration()... and not
971 to call it if unnecessary. This allows us to run
972 at the same time as usb_storage.
973 Thanks to Martin Owens for not letting this issue go. :-)
974 - added sleep to bcharge, before calling usb_reset()... the
975 Blackberry 8830 behaves like a Pearl device in that
976 it has mass storage support, but behaves like a Classic
977 in that it resets itself... the usb_reset() seems
978 to reset it back to 0006. The sleep allows the device
979 to disappear via its own reset, and let usb_reset()
980 fail naturally on these devices.
981 This is not an ideal solution... mainly for testing.
983 - added modprobe/blacklist-berry_charge as per Simon Ruggier's
984 suggestion. Thanks also to Niels de Vos for a similar
986 - fixed udev rules to work on both old and new distros
987 Thanks to Duncan Mak for the bug report.
989 - fixed string comparison to use case insensitive compare in
991 - updated Debian package to include modprobe blacklist file
992 - updated rpm spec file to include modprobe blacklist file
993 - split the maintenance scripts into release and test, so
994 that release package builds can be done faster
996 - opensync plugin fixes:
997 - fixed memory leak in vBase::GetAttr()
998 - added support in vformat parser to parse "blocks"
999 and keep track of the hierarchy when
1000 parsing an iCalendar, etc.
1001 - added support for searching for attributes only
1002 inside certain blocks (i.e. find first
1003 DTSTART in VEVENT block, not VTIMEZONE block)
1005 - fixed bug in Calendar::Clear, missing the Free / Class
1006 member variables, leaving them uninitialized
1007 - added examples/addcalendar.cc
1008 - added more logging to the opensync plugin, logging the
1009 ToBarry conversion results
1010 - added code to force struct tm.tm_isdst to -1 before calling
1011 mktime, in vformat.c
1012 - fixed typo in previous fix
1014 - renamed ktrans and translate to bktrans and btranslate to avoid
1015 file name clashes with libtranslate of Gnome
1016 Closes bug #1812410 reported by Troy Engel.
1021 - gui/src/BackupWindow.cc
1025 - opensync-plugin/src/barry_sync.cc
1026 - fixed missing default config file in the debian package for
1028 Closes bug #1812224 reported by Ariel (adonatti).
1029 - added debian dbg packages for tracing segfaults
1030 - modified maintainer scripts so debug packages would reference
1031 source code located in /usr/src/barry-0.9, etc.
1033 Release: version 0.9 - 2007/10/12
1034 ------------------------------------------------------------------------------
1036 - adjusted autosuspend disabling code in bcharge, based on new
1037 information on how kernels 2.6.21 / 2.6.22 work.
1038 See bcharge.cc for comments. If device/power/level or
1039 device/power/autosuspend exist, charging should now work
1040 without recompiling the kernel.
1041 - updated website docs with autosuspend info
1043 - large update to the doc/www web pages, moving some of the
1044 information in README files to html format, so that it
1045 is commonly available on the web
1046 - added step in maintenance scripts to automatically build the
1047 .html files in doc/www when making a tarball release
1049 - added libopensync 0.22 version requirement to barry.spec file,
1050 but it doesn't seem to work on OpenSuSE 10.2, where it's
1053 - updated README to mention new tree build configure options
1054 - fixed the configure scripts and makefiles so that when building
1055 with custom CXXFLAGS and LDFLAGS environment variables,
1056 it doesn't break the full-tree build mode, when
1057 using --enable-gui and/or --enable-opensync-plugin
1058 - added config.h.in~ to buildgen.sh clean target
1059 - converted Debian build scripts to use cdbs
1060 - added opensync plugin binary package for Debian
1061 - added "Getting Started" section to web pages, as well as an
1062 explanatory document for various system requirements
1063 - turned on opensync build in RPM maintainer scripts
1065 - added filename to power/state error message in bcharge.cc
1066 - adjusted maintainer scripts to automatically adjust barry.spec
1067 for opensuse rpm builds
1069 - fixed some of the release build scripts and added support for
1070 automated opensuse 10.2 builds
1071 - fixed build target to i386
1072 - changed scripts to add to PKG_CONFIG_PATH variable instead
1075 - added website docs to doc/www... these are out of date at the
1076 moment, and hopefully by including them here, they
1077 will be updated more frequently
1079 - applied Simon Ruggier's build system patch that allowed a build
1080 of all 3 components from the root directory and fixed the
1081 configure scripts to support external build directories
1082 - reordered clean commands in the buildgen.sh scripts, and removed
1083 the INSTALL files, since they are auto-generated by autoconf
1084 - removed extraneous buildgen.sh calls in maintainer scripts
1085 - added Simon Ruggier to AUTHORS
1086 - added explanatory note to 3 stage test build process in
1089 - fixed Category handling in the Contact record class, to
1090 parse the comma separated string into an array,
1092 Note: this involves a change to the boost serialization
1093 and will affect backward compatibility with
1094 old serialization datafiles
1095 - added Category to examples/addcontact.cc
1096 - added Category support to the opensync plugin
1098 - fixed wrong read/write in btool output (oops)
1099 - added BadSize exception, and changed CheckSize() function
1100 to throw it on error
1101 - changed backup GUI to catch BadSize exceptions on initial
1102 connect, and try a reset if that error occurs, since
1103 that likely means the device didn't shutdown properly
1104 - fixed in opensync plugin:
1105 - some vcard data contains types codes in capital letters,
1106 so added lower case conversion routine
1107 - changed the order of address lines, so that address1
1108 is the street, address2 is the extended address,
1109 and address3 is the PO Box. The Blackberry
1110 doesn't seem to have any PO Box field.
1112 - added -e endpoint override option to btool
1113 - added status message to endpoint override
1115 - added configure check for strnlen, and implementation for
1116 systems that don't have it, or that have it implemented
1117 incorrectly. Went a little paranoid here, since
1118 AC_FUNC_STRNLEN doesn't set a define in config.h,
1119 so I had to do it manually, and check in case autoconf
1120 changes in the future... ugh. See src/strnlen.h for
1122 - added code in probe.cc to fetch the device's description.
1123 The description is now part of the probe results
1124 along with the PIN. Updates to protocol.h, adding
1125 a new attribute definition.
1126 Thanks to Rick Scott for pointing out the code in
1127 XmBlackberry where he implemented this first.
1128 - fixed header dependency in record-internal.h
1129 - updated the "required autoconf" version to 2.61 for root build
1130 - moved nested structs out of the record classes that contain them,
1131 in order to better support SWIG and Python
1133 - changed bcharge to use getopt() for its argument processing
1134 - added options -p and -s to bcharge, to adjust usb suspend
1135 settings automatically where possible
1136 - updated the udev rules to use the new bcharge settings
1137 - updated the bcharge man page with the new arguments
1139 - cleaned up Usb exception handling, moving libusb error code
1140 processing into the Usb::Error exception class.
1141 error.cc is now an empty shell
1142 - added return codes to the Usb::Error exceptions
1143 - removed aboutdialog.{h,cc} from the backup GUI since even
1144 Debian stable now has up-to-date gtkmm libraries
1145 - added more user friendly error message for the "device busy"
1146 case, recommending 'rmmod usb_storage'.
1148 - added better error checking to bcharge.cc
1153 - gui/src/BackupWindow.cc
1157 - opensync-plugin/src/barry_sync.cc
1158 - removed usb_set_configuration() check from bcharge.cc, since
1159 that may fail under normal operation, in this case
1161 Release: version 0.8 - 2007/08/03
1162 ------------------------------------------------------------------------------
1164 - moved Interface implementation to usbwrap.cc file
1165 - added dout debugging messages to usbwrap.cc
1166 - clarified unhandled packet error message in socket.cc
1167 - added temporary workaround in opensync-plugin environment's
1168 Reconnect(), for odd message seen on newer Blackberry
1170 - fixing issues with Brian Edginton's MessageRecord patch (2007/06/29)
1171 - fixed missing size check in message oriented ParseHeader()
1172 - fixed endian conversion issues (also found one pre-existing
1173 endian bug in the process)
1174 - moved message timestamp converter code to time.cc
1175 - added Barry version number to opensync plugin name
1176 - changed maintainer scripts and rpm.spec to use bzip2 instead of gzip
1177 - added opensync-plugin to configure script build
1178 - added -S option to btool, to list supported parsers and builders
1179 - slight change to opensync-plugin/buildgen.sh to cleanup config.h.in~
1180 - opensync-plugin/README update
1181 - added opensync-plugin/patches for others who may be building and
1182 testing the plugin with OpenSync 0.22
1183 - added debian package build scripts to maintainer/
1185 - added entry to doc/TroubleShooting.txt
1187 - added doc/TroubleShooting.txt
1190 - fixed bug in vcard.cc that was using the FN field
1191 for the broken-down name instead of N
1192 - added dbId and dbName to DatabaseSyncState
1193 - added Reconnect() functionality to BarryEnvironment class
1194 and moved connect logic out of barry_sync.cc
1195 - changed the batch commit functionality in barry_sync.cc
1196 to single-change-commit. Why? Because opensync
1197 0.22 groups all batch changes into one group
1198 and calls one batch commit function, even if you
1199 registered two. Moving to single change commit
1200 mode removes a chunk of unneccessary code
1201 from the plugin as well, and can in theory
1202 ease memory pressure in the library.
1203 - added FinishSync() to perform actions needed on successful
1205 - disconnect on successful sync completion, and reconnect,
1206 since the device's dirty flags don't seem to
1207 be updated until a disconnect occurs.
1209 - added ReadDataArray() to data.h, using an istream instead of
1211 - added raw data version of BuildField() to record-internal.h
1212 This is so that btool doesn't add extra null terminators
1213 to unknown data, when restoring with option -s
1214 - fixed bugs in r_contact.cc:
1215 - fixed bug that caused a LastName/FirstName swap
1216 if FirstName was empty and you wrote a contact
1217 record into the device.... First/Last Name
1218 fields are position sensitive, and the code
1219 was missing the empty FirstName case on writing
1220 - fixed bug in BuildFields() and Dump() where they
1221 were not updated to handle the new field
1222 table added for the postal address changes
1225 - changed the plugin config file, so it is possible to
1226 turn debug output on/off without recompiling
1227 - moved the standalone Map2Uid() function into
1228 the DatabaseSyncState class, and changed the
1229 code to produce "contact-#" and "calendar-#"
1230 UID strings, instead of just numbers
1231 - changed default PIN to -1, so that if the user doesn't
1232 configure properly, it will fail... this is a
1233 safety measure to avoid syncing with different
1234 devices and corrupting the cache/idmap...
1235 this should be fixed someday, to handle this
1237 On second thought... is this right? Perhaps
1238 it is better to fail if the PIN is not what
1239 is expected, so a user doesn't accidentally
1240 sync the wrong device and lose data.
1241 Actions to take on new PIN:
1242 - force slow_sync, or
1244 - incorporated the new VCardConverter code into the
1245 main barry_sync.cc plugin code
1246 - fixed bug that did not clear the devices dirty flags
1247 in the case where a sync only read data from it,
1249 - changed PIN error message number to hex
1251 - minor wording change in backup GUI prompt: "Backup working..." to
1252 "Backup in progress..."
1253 - renamed Contact class's Title field to JobTitle for clarity
1254 - added record function ParseFieldString(), which properly handles
1255 strings from the device that have multiple null terminators,
1256 and changed the record parsing code to use this new function
1257 - moved FullName() function from ldif.cc to r_contact.cc since it
1258 is generally useful in areas outside of LDIF processing
1259 - refactored postal addresses in the Contact record class into
1260 a new class called PostalAddress
1261 - renamed Address class in record.h to EmailAddress
1262 - moved Contact::GetPostalAddress() to record.cc as part of the
1263 new PostalAddress class and renamed it
1264 PostalAddress::GetLabel()
1266 - refactored vformat helpers into separate base class
1268 - added vCard converter class
1269 - commented out the code that skipped over the adding
1270 of empty attribute values and parameters,
1271 since VCARD depends on some of this behaviour
1272 - movified vformat.c:vformat_find_attribute() to take
1273 an extra nth argument, in order to search
1274 for multiple attributes with the same name...
1275 the way this is coded is a bit inefficient...
1276 but we're moving away from vformat when we move
1277 to OpenSync 0.3x / 0.40, so this is just temporary
1280 - added SUBSYSTEM=="usb_device" to example udev rules, in order
1281 to avoid running bcharge for each endpoint that is
1282 added by udev, when first plugged in. Running bcharge
1283 back-to-back multiple times can crash some
1287 - fixed ID mapping bug in the case of a non-numeric UID
1288 from syncing external -> Barry, and then the
1289 new Barry ID would look like a new change
1290 when syncing back from Barry -> external.
1291 - added support for slow sync
1292 - added clear() to idmap class
1293 - added vformat attr parameter extraction class
1294 - added more trace logging during vformat/Barry conversions
1295 - added Notification time support
1296 - handled "all day" vformat special case, when DTEND
1297 does not exist in a vformat data block
1298 - changed the min1900_t time conversion functions to handle
1299 the 0xffffffff special case, when notifications
1300 are turned off on a calendar event (src/time.cc)
1301 - also made the calendar data dump output clearer for
1302 disabled timestamps, and added debug output
1303 for the raw min1900 value, in case there are more
1304 special cases in the future
1306 - fixed null pointer access in opensync's HasMultipleVEvents()
1308 - upper management directive: revert all OpenSync 0.3x changes
1309 and proceed with OpenSync 0.22. Reverting the
1310 opensync-plugin/src tree to Barry 0.7 status.
1312 - reorganized exception and trace code in opensync plugin
1313 - added XmlToCalendar() function, based on unfinished opensync
1314 library API that is not yet finished... will be
1315 committed to opensync svn tree when complete
1316 - added OSyncXMLField logger to plugin trace class
1318 - applied email MessageRecord patch from Brian Edginton (thanks!)
1319 - updated Message::Dump() to output more valid mbox data...
1320 the goal is to be able to do:
1321 btool -d "Messages" > email.mbox
1323 - changed some TODO's to FIXME's to keep it grep-consistent
1324 - applied Folder support patch from Brian Edginton
1325 - fixed pedantic compile warnings, and changed order in src/Makefile.am
1326 - removed unneeded cast in src/r_folder.cc
1328 - minor adjustment to ctags building in buildgen.sh
1329 - applied patch from Brian Edginton for better boost detection
1331 - added boost usage message to btool -h output
1333 - more porting of OpenSync module to 0.30
1334 - added ctags build for opensync source tree to buildgen.sh
1336 - changed PKG_CONFIG_PATH setting in rpm script, so that systems
1337 like SuSE that have an extensive PKG_CONFIG_PATH
1338 in general use will not break on build
1339 - added PKG_CONFIG_PATH to debian script too, just in case :-)
1340 - added debian/changelog to doc/ReleaseChecklist.txt
1341 - added comment to rpm/barry.spec regarding SuSE RPM builds
1343 - applied patch from Niels de Vos fixing debian package build
1345 - applied Brian Edginton's Saved Email Messages patch
1346 - updated r_saved_messages.cc comment to match header
1347 - added GetRecType()/GetUniqueId() to r_saved_messages.h, since
1348 SetIds() is already there
1349 - removed Address version of operator<<() from message related headers
1350 and moved into record.h
1351 - added std::hex to message related dumps, and changed output to
1353 - updated doc/CodingStyle.txt to cover switch() statements
1354 - opensync compiles again, with 0.30! (not functional yet)
1355 - moving closer to more modular and reusable plugin functions
1356 - updated release checklist for opensync version number
1358 - added doc/CodingStyle.txt... preliminary version
1360 - applied Brian Edginton's PIN message patch
1361 - changes to PIN message patch:
1362 - fixed missing backslash in src/Makefile.am
1363 - fixed tab alignment throughout
1364 - removed typedef from Address struct
1365 - added clear() to Address... might as well, if it it is
1366 going to be a standalone type
1367 - fixed missing comma in PINMessageFieldLinks table
1368 - changed MessageRecordId in PINMessage to load from a new
1369 uint32_t field in CommonField, instead of piggy
1370 backing on a field for other use
1371 - did some testing and found that PINMessage's MessageRecordId
1372 is the same as the RecordId given through the SetIds()
1373 API... but these Id's are duplicated in the protocol...
1374 RecordId is stored in the protocol header, while
1375 MessageRecordId is stored in the record it self as
1376 a common field... added RecType and RecordId to
1377 PIN Message so that we store both of these
1380 - added item to gui/TODO
1381 - applied Brian Edginton's s11n-boost.h patch
1383 - renamed template values to more consistent naming scheme
1384 - applied memos and tasks patch from Brian Edginton, slightly
1385 modified to split into the new separate files system
1386 - changes to memos and tasks classes:
1387 - reformatted the code to match coding style
1389 - added copyright notice
1390 - changed class to singular (Memo, not Memos)
1391 - placed in Barry namespace
1392 - added #ifdef header protectors
1393 - added new files to Makefile.am
1394 - added new r_*.h headers to record.h
1395 - added support for Memos and Tasks to tools/btool.cc, based on
1396 Brian Edginton's patch
1397 (currently commented out, for Boost library reasons):
1398 - added doc/CommitPolicy.txt
1401 - added ctags generation to buildgen.sh
1402 - applied record.{h,cc} fix patch from Brian Edginton
1406 - fixed broken formatting in above patch
1407 - refactored record parser classes into separate files for each
1408 - changed the ConvertHtoB<> template to inline, as it caused
1409 linker errors with the new file layout
1411 - fixed bug in Debian packaging that put util commands in
1412 /bin and /sbin instead of /usr/bin and /usr/sbin
1413 - commited byteswap.h replacement code from gm2net
1415 - removed unneeded debug messages on stdout
1416 - changed the default for debug output to "off"
1417 and added a command line option to turn
1418 it on if necessary (--debug-output)
1419 - command line option --help now also works
1420 - fixed bug in Calendar class where it didn't initialize
1421 RecType properly... and cleaned up other RecType
1422 code to use the GetDefaultRecType() functions,
1423 localizing the constants in one place
1425 - applied patches from Brian Edginton, parsing more
1426 fields in Contact and Calendar records
1427 - added Brian Edginton to AUTHORS
1428 - reformatted record.{h,cc} to match the rest of the code,
1429 removed commented out code, and removed mention of
1430 Outlook from the comments.
1431 - updated udev/10-blackberry.rules.Debian for Debian Etch
1432 - updated debian/rules to use new udev rules file
1433 - removed debian/postinst, as stable versions of Debian now
1434 have a recent udev, and don't need the special handling
1435 - updated Debian build scripts to build separate packages:
1440 - added menu support to Debian barrybackup-gui package
1441 - made the buttons bigger in the backup GUI, as they were too
1442 small on Debian Etch
1444 - more progress in porting to opensync 0.30, heavily
1445 based on the example plugin in the opensync
1446 svn tree... this is a work in progress, and so far
1450 - partial porting to opensync 0.30 (in progress!)
1451 - fixed bug in sync_done where it reported context error
1452 and then success afterward
1453 - checking in new INSTALL files based on Etch's autoconf run
1454 - added item to gui's todo list
1455 - bumped version numbers to 0.8 in:
1459 - gui/src/BackupWindow.cc (about dialog)
1463 Release: version 0.7 - 2007/05/02
1464 ------------------------------------------------------------------------------
1466 - added rpm building to maintainer/release scripts
1467 - added "HEAD" feature to tarball creation script, for easier testing
1468 - updated maintainer/README
1469 - updated maintainer/release.sh to use new HEAD feature too
1471 - added pppob to rpm barry.spec
1472 - bumped release number in barry.spec
1475 - fixed size check bugs (strlen() == 0 when empty)
1476 - finished refactoring calendar conversion routines
1477 - started timezone parsing, but this may go away
1478 if we use opensync 0.30's time functions and
1480 - added development note to README
1482 - updated README and opensync-plugin/README with more current
1485 - refactored some calendar conversion routines
1486 - added Barry->vCalendar conversion for recurring appointments
1489 - removed some unneeded trace logs
1490 - fixed VEventConverter constructor bug, with uninitialized
1492 - eased up the requirement that every calendar event
1493 must have a summary... defaults to "<blank subject>"
1495 - added more VCALENDAR fields to match Barry::Calendar record
1496 - fixed case sensitive compares in vformat.c
1498 - opensync module work:
1499 - added id map class to map string uid's from OpenSync to
1500 numeric ID's from the Blackberry
1501 - fixed bug in CommitChange() where it was still using
1502 a hard coded calendar record state table
1503 - added lots of logging throughout
1504 - fixed bug where newly added records didn't use the
1505 change object's uid, but created a new ID,
1506 causing another sync on the next run
1507 i.e. (CommitData_t was missing an argument)
1508 - fixed bug where uninitialized notification time was
1509 written to the Blackberry
1510 - more opensync module work:
1511 - refactored the environment class into another subclass
1512 called DatabaseSyncState, and moved some stand-
1513 alone functions from barry_sync.cc into
1514 the environment classes
1515 - added a tagged constructor to the trace class
1516 - fixed idmap::Load() to clear map before loading
1518 - renamed barry-config to barry-sync, the default configuration
1519 file for the opensync module... and filled it with
1520 a sample configuration
1521 - added code to update the calendar cache, and write it to disk
1522 on success (opensync module)
1523 - added code to clear dirty flags in the device (opensync module)
1524 - allowed comments in the config file
1525 - added vformat.c from libopensync 0.22, since the vformat
1526 routines are not available from the plugin side
1529 - added -d switch to bcharge to switch back from 0001 to 0004 mode,
1530 changed the auto-detection logic to ignore iProduct and
1531 only use idProduct, and updated man page
1532 - updated breset to recognize the Pearl in 00004 mode as well
1533 - changed src/probe.cc logic to assume that the second endpoint
1534 pair is the one needed for database communication, instead
1535 of doing a reverse search from the end... newer Pearls
1536 in Dual mode seem to have at least 3 or 4 endpoint pairs,
1537 and the old search didn't always work
1538 - applied sourceforge patch #1696884 from Peter Silva, updating
1539 the Debian build for Etch, and including all files in one deb
1540 - added Peter Silva to AUTHORS file
1541 - uncommented the "make distclean" in debian/rules, and removed
1542 the reliance on /tmp when installing 99-barry-perms.rules
1543 - applied bb_task_format.txt patch from Peter Silva
1544 - fixed each misspelling of "recurrance" to "recurrence"
1545 - tweaked src/probe.cc again for paranoia's sake... start at
1546 offset 1 if more than 1 endpoint pair, otherwise start
1548 - split up opensync module into multiple source files, and started
1549 using the opensync vformat routines for parsing and building
1550 the vevent20 data (experimental)
1552 - more incremental work on the opensync plugin, adding ADDED
1553 and MODIFIED functionality... (experimental!)
1555 - added code to dump extra descriptors during device discovery,
1557 - bumped opensync version number in configure.ac, and made
1558 the configure scripts more consistent with the rest
1560 - fixed printf-format size bug in opensync module
1562 - applied patch from Niels de Vos, fixing deb udev rules for Pearl
1564 - fixed extra space bug in LDIF output (added space when creating
1565 FullName, even if there was no last name)
1566 - fixed Address Book record parsing in Contact class... the
1567 Blackberry database uses field id 0x20 for both the
1568 first and last names, and if only a last name exists,
1569 the first name will be empty. Fixed parser to handle
1570 this special case, without relying on string length.
1571 Thanks to Troy Engel for reporting above two LDIF bugs.
1572 - added a few more constants to bcharge.cc
1573 - renamed opensync's configure.in to configure.ac
1575 - fixed bcharge to avoid endless reset loop... oops
1577 - reorganized bcharge.cc to make it possible to switch between
1578 Pearl modes 0004 and 0001
1579 - added flag to BadPassword exception class, to signal whether
1580 the library considers the device "out of retries" or not
1581 - updated socket.cc for new BadPassword exception
1582 - added special case to Controller class destructor to reset the
1583 device if being destroyed in a half-open state... this is
1584 a temporary fix until we understand how to handle
1585 the "already open" message we get when opening the Desktop
1587 - added password prompt dialog to the backup GUI
1588 - fixed possible memory leak in GUI's DeviceInterface::Connect()
1590 - committed Troy Engel's bbrules_mass_symlinks.patch, fixing
1591 udev rules for the Pearl
1592 - updated 10-blackberry.rules.Debian to match 10-blackberry.rules's
1594 - applied Troy Engel's barry.spec patch to generate all required
1595 RPM's... Thank you! Notes in the README taken from
1596 the sourceforge tracker entry containing the patch.
1597 - added libusb lib flags to tools/ and examples/ makefiles,
1598 and tweaked configure.ac with a better default,
1599 to build cleanly on RHEL 4
1600 - modified rpm/barry.spec:
1601 - does not create doc-only barry base package anymore
1602 - fixed "barry-backup" typo
1603 - removed the patch step, as version 0.7 shouldn't need it
1604 - added license file to each package
1605 - commented out console perms scripts, pending mailing list
1608 - applied Troy Engel's barry.spec patch to fix RHEL4 compile issues
1609 - fixed 80 column wrapping error in barry.spec, thanks to Troy Engel
1611 - applied Troy Engel's udev permissions patch for Redhat/Fedora
1612 systems, which automatically set the ownership of a
1613 newly plugged in device to the currently logged in console
1615 - added udev/README to document what all those files are for...
1616 part of the text comes from the sourceforge comment
1617 on the above udev permissions patch from Troy Engel
1618 - uncommented the console perms scripts for rpm/barry.spec
1619 - added libglademm-2.4 to gui/README's dependency list
1620 - made usbwrap.* calls more threadsafe
1621 - added Usb::Timeout exception for timeout errors
1622 - added preliminary UsbSerData support to library for GPRS modem
1623 functionality, using Rick Scott's XmBlackBerry's serdata.c
1625 - added overloaded Socket::Send() for sending without receiving
1626 - added preliminary pppob command line tool
1632 - gui/src/BackupWindow.cc (about dialog)
1635 - build system tweaks for opensync-plugin, and added a buildgen.sh
1637 - added better debug messages in probe.cc and usbwrap.cc's
1638 device discovery code
1639 - changed error handling for null interface->altsetting pointers
1640 when doing device discovery in usbwrap.cc. Seems that
1641 some devices report a higher number in bNumInterfaces
1642 than are really available... in this case, let's
1643 just ignore the missing data and assume success
1644 - applied udev script patch #1663986 from Troy Engel
1645 - applied barry-bcharge.spec patch #1672178 from Troy Engel
1646 - ReleaseChecklist update
1647 - added rpm/README based on Troy Engel's patch notes
1648 - updated new barry-bcharge.spec for version 0.7, removing patch
1651 Release: version 0.6 - 2007/02/28
1652 ------------------------------------------------------------------------------
1654 - fixed size checks for device database records larger than 64K
1655 Thanks to Michael Brown for the bug report.
1656 - added initial release maintainer scripts
1657 - fixed odd backup success message in GUI when doing a backup with
1658 no databases selected in configuration
1659 Thanks to Michael Brown for the bug report.
1660 - added udev permissions file patch from Michael Brown
1661 - added Michael Brown to AUTHORS
1662 - updated README, gui/README, and doc/USB-capture.txt
1663 - added -o command line switch to bcharge.cc, and updated man page
1665 - changed library behaviour so it only turns on libusb debug output
1666 if in data dump mode. In btool, -v controls this output.
1667 - minor stream formatting fix in btool
1668 - added OpenSSL dependency to build for password hash support
1669 - made debug dout() output conditional on Init() flag... In btool,
1670 -v now controls this as well
1671 - reverse engineered more of the initial probe packets, and
1672 implemented probing in struct based code... changes include:
1673 - added support for "attribute fetch" packets, used at
1674 the beginning of USB conversations
1675 - defined object/attribute id codes for the PIN number
1676 - made Protocol::SocketCommand more robust, and implemented
1677 its sequence number behaviour
1678 - moved ModeSelectCommand into SocketCommand, as it is a
1679 socket 0 level command
1680 - added initial protocol struct: PasswordChallenge
1681 - renamed Barry::Packet to DBPacket
1682 - added ZeroPacket for socket 0 packet creation and analysis
1683 - Barry::Packet is now the base class for the above
1684 - implemented socket 0 behaviour in socket.cc
1685 - changed return values for Send/Receive/Packet/NextRecord
1686 members in the Socket class from bool to void, as they
1687 don't generate errors themselves, but only can
1688 have an error if Usb::Device throws an exception.
1689 Cleaned up all code that called these members as well.
1690 - removed "last status" from Socket class as it was unused
1691 - updated probe.cc to use new socket 0 implementation
1692 - removed two of the hard coded packet handshakes in favour
1694 - updated controller.cc:
1695 - uses new socket 0 implementation
1696 - removed "flag" hack when opening sockets and
1697 selecting modes, as it should use the
1698 socket 0 sequence number
1699 - added initial, incomplete prototype header for the C API
1700 - updated some .cvsignore files
1702 - updated ReleaseChecklist.txt, adding rpm spec file
1703 - added the following to ZeroPacket:
1708 - moved Command() to base Packet class
1709 - added comments to protostructs.h and size constants for the
1710 new PasswordChallenge struct
1711 - added password support to Socket and Controller classes
1712 Thanks to Rick Scott's XmBlackBerry for the openssl
1713 password hashing logic.
1714 - updated btool to use new password support, and updated its man page
1716 - updated Doxygen input files and version, and added to ReleaseChecklist
1717 - fixed btool PIN output for LDIF mode, now commented in output
1718 - major LDIF overhaul:
1719 - split LDIF specific code out of the record class and
1721 - fixed "full name" behaviour that added an extra space
1722 in dn attributes, as reported by Troy Engel
1723 - added support for mapping of LDIF attributes to Barry
1725 - fixed base64 handling, so attributes are only so encoded
1727 - fixed base64 attribute reading inconsistency... some
1728 notes fields were missed in old version if not
1730 - added support for specifying alternate attribute for
1731 constructing a FQDN, instead of just "cn"
1732 - updated btool and upldif to use new features
1733 - large update to btool manpage
1734 - fixed initialization bug in Contact constructor (missed RecType)
1736 - added ktrans.cc to make reading of kernel usbfs_snoop logs easier
1737 - removed commented code from translate.cc
1738 - added Pearl handshake support to bcharge.cc, which resets the
1739 Pearl so that the vendor specific 0xFF class exists.
1740 This should allow use of btool on the Pearl.
1741 - added Data::AppendHexString to data.cc
1742 - added better probing support for the Pearl, so it detects the
1743 Product ID 0x0004 mode, and does a search for class 0xFF
1744 instead of hardcoding it.
1746 - applied README patch from Ian Darwin
1747 - minor tweaks to README
1748 - added missing errno.h header in src/usbwrap.cc for AMD64
1749 Thanks to Jonathan Hudson for reporting the bug.
1750 - tightened up size checks in Data::ReleaseBuffer()
1751 - stable libusb *does* return the actual length of the USB packet...
1752 fixed this in usbwrap.cc to set the actual size of read data,
1753 and removed the size hacks elsewhere in the code:
1754 probe.cc, protocol.cc, socket.cc, usbwrap.cc
1756 - added proper return codes for error conditions in btool.cc
1757 - clarified some stream output code in the library, for hex/dec numbers
1758 - removed old, non-working connect.cc test program
1759 - added iomanip to debug.h
1760 - changed usbwrap to call libusb again if EINTR and EAGAIN
1761 This should fix one of the OpenBSD issues
1764 - fixed bug in barrybackup GUI that didn't create the target path
1765 if the user didn't do Edit | Config first.
1766 Thanks to Ian Darwin for reporting the bug.
1767 - applied gui/src/ConfigFile.cc header fix patch for OpenBSD
1770 - added initial btool.1 man page from Ian Darwin
1771 - updated man/Makefile.am for new btool.1
1773 - applied btool -h help clarification patch from Ian Darwin
1775 - reworked exception hierarchy, so applications can handle all
1776 Barry related exceptions, including Usb errors, with
1777 one base class: Barry::Error
1778 - fixed all the ripple changes this caused throughout the codebase
1779 - added BadPassword exception
1785 - gui/src/BackupWindow.cc (about dialog)
1786 - updated doc/ReleaseChecklist.txt
1787 - added usb-level breset.cc command line tool
1788 - fixed bug in gui/src/tarfile.* for systems where
1789 sizeof(int) != sizeof(void*)
1790 - TarFile class now uses a plugin style for the compression
1791 operations, to allow for threadsafe versions if needed
1793 - also fixed leaked file handle bug in open_compressed()
1794 - Thanks to Jonathan Hudson for reporting this for 64bit systems
1795 - minor signed comparison fixes in the library
1796 - added better protocol data dumping code in probe.cc
1797 - added Usb::Device::BulkDrain(), to prevent Barry from hanging
1798 due to pending reads
1800 Release: version 0.5 - 2007/01/26
1801 ------------------------------------------------------------------------------
1803 - added missing errno.h header to gui/src/util.cc
1804 - lots more endian fixes after testing on iMac
1805 - iostream output size fixes
1806 - added option to btool to reset the device via software
1807 - beefed up exception handling in barrybackup
1808 - checked in opensync work-in-progress: trace logging, pointer bugfix
1809 this is still experimental
1810 - added aboutdialog.* files from gtkmm24 2.10.6, so we have a dialog
1811 class for systems running older versions of gtkmm, like
1813 - uncommented the about box menu handler
1814 - added "cleanall" option to root buildgen.sh script
1815 - update ReleaseChecklist.txt
1816 - removed CVS auto-history strings from aboutdialog.*
1818 - found a link between the unknown field in tagged protocol headers
1819 and the unknown field in RecordStateTable entries. This
1820 field matters when uploading certain databases, such as
1821 Browser Options. It is unknown what this field really
1822 means, but we're calling it RecType. Updated the API
1823 to use this in all parser objects and builder objects
1824 and record objects that use it.
1825 - changed some uses of uint64_t to uint32_t, in Contact and
1826 Calendar record objects... unique IDs only seem to be
1828 - added new static function to record classes: GetDefaultRecType()
1829 This returns the default rectype that should work
1830 for that record. Ideally this should be retrieved from
1831 the device, but in the case where a database has no
1832 records, this info would be good to know.
1833 - updated convenience template function Controller::AddRecordByType()
1834 to use GetDefaultRecType()
1835 - documented the recurrence data and how to use it in Calendar objects
1836 - added data debug output for incoming USB packets in the
1837 socket class... when we ported to the stable libusb
1838 we lost some of the verbose output... this should get it
1839 back. (In the official release, you need to uncomment
1840 ddout() in debug.h for the full blast of debug output).
1841 - backup GUI updates:
1842 - changed error_done signal into a pure error signal,
1843 and changed the logic so the restore continues
1844 even if there was a protocol error on one database
1845 - changed status bar messages to show what's happening
1846 i.e. Backup or Restore
1847 - default to not restore the "Handheld Agent" database as
1848 it appears to be read-only on the device
1849 - added temporary Restore & Backup mode for debugging
1850 - added extra hyphen to backup files to show date/time better
1851 - updated GUI to save and restore the new RecType field
1852 supported now by the library
1854 - added future considerations to doc/ReleaseChecklist.txt
1855 - applied big endian patch from Jonathan Hudson
1857 - removed endian.h include from barry.h, since applications
1858 using the library should not care about endianness
1859 - hard coded the path to config.h in endian.h
1860 so that endian.h never makes it into the final
1862 - removed DEFAULT_INCLUDES setting from src/Makefile.am
1864 - removed config.h dependency in btool.cc and used library
1865 Version call instead
1866 - added big/little endian text to the Barry::Version call
1868 - fixed install location of bcharge when building with ./configure;
1869 now goes to sbin/ for both source compile and binary packages
1870 Thanks to Jonathan Hudson for reporting this bug.
1872 - added smarter timeout values to controller, and allowed
1873 timeout overrides in the packet, socket, and usbwrap code...
1874 extra timeouts are needed for erasing databases for
1876 - added an explicit DataDumpParser class to btool.cc, as the
1877 library doesn't always have extreme verbose debugging on...
1878 this makes sure anyone can always get raw database packets
1879 through btool, for development
1880 - added thread callback signals for error finishes and erase_db
1881 operations, so the GUI is updated properly
1882 - more GUI cleanups (status bar updates, etc)
1883 - finished implementation of GUI restore
1884 - fixed gtkmm/glibmm exception handling when the exceptions
1885 occur in sigc signal handlers... in that case,
1886 exceptions need to be handled with
1887 Glib::add_exception_handler()
1888 - added filename-only reading support to TarFile class
1889 - added pending gui/TODO items
1891 - backup GUI now properly shows progress
1892 - the buttons become insensitive when backup is busy
1893 - refactored directory check code, and added mkdir check
1894 when to the backup setup (so the directory exists
1895 when we try to write to it)
1896 - updated code to use Barry::Data in new namespace
1898 - moved Data class into Barry namespace
1900 - updated copyright dates for the new year
1901 - clarified exception message in controller.cc
1902 - fixed pointer initialization bug in controller.cc
1903 - added documentation comments to parser.h and builder.h
1904 - updated ReleaseChecklist.txt
1906 - changed Barry library configure scripts to make better
1907 use of pkg-config for autodetecting dependencies
1908 - added initial Barry Backup GUI (gui/ directory), capable of making
1909 backups only at this point
1911 - added doc/ReleaseChecklist.txt
1912 - added version API, returning version number and string
1913 - added Troy Engel to AUTHORS
1914 - added special case to bcharge.cc for the Blackberry Pearl,
1915 which doesn't reset itself after the charge handshake
1916 Thanks to Troy Engel for testing.
1918 - added pkg-config support for the library (libbarry-0.pc.in)
1919 - fixed compile error on g++ 3.3 systems (missing stdint.h
1921 - fixed protocol hang at end of Controller operation... in
1922 controller destructor, it was deleting the USB interface
1923 before closing the socket at the BlackBerry level, thereby
1924 leaving the device in Desktop mode
1926 - support the newer udev packages on Ubuntu, which need slightly
1928 - modified bcharge.cc to search for Pearl devices too.
1930 - added Pearl product ID to probe code, but likely not functional
1931 yet until we find someone able to get a USB capture for us
1933 - version bump in configure.ac and src/Makefile.am
1935 Release: version 0.4 - 2006/12/29
1936 ------------------------------------------------------------------------------
1938 - added bcharge.cc to the tools/ directory (whoohoo!)
1939 - added initial release version of rpm/barry.spec (aka bcharge.spec)
1940 This begins the barry binary release, currently only
1941 including the bcharge utility, but possibly more in
1942 the future. Future binary packages will likely include
1943 libbarry, libbarry-devel, etc, which barry will then
1945 - added udev rule script for BlackBerry devices
1946 - added man/ directory and bcharge.1 manpage
1947 - added debian/ directory for building deb packages, with initial
1949 - added rpm/make-rpm-tarball.sh for building RPMs
1950 - split out technical docs into separate libbarry.docs file for
1951 a future Debian install
1952 - added more cleaning to buildgen.sh
1953 - added new udev rule file for Debian stable
1954 - hardcoded g++ to 3.3 in debian/rules as I have multiple versions
1955 on my system and need to compile releases with stable
1957 - ported Barry to use the stable branch of libusb
1958 NOTE: no longer depends on the devel libusb tarball!
1959 Just use your distro's libusb packages.
1960 - fixed more endian issues
1961 - minor update to TODO
1963 - moved Exceptions, Hacking, and VersionNotes to doc/
1964 - added doc/USB-capture.txt
1966 - added Controller::AddRecord() and template helper
1967 - added beginning version of generic RecordFetch<> template
1968 - set default of Barry::Init() to false (no data dump mode)
1969 - added examples/ directory, with first addcontact.cc example
1971 - added autoconf support based on Peter McAlpine's patch
1972 - renamed Makefiles to Makefile.orig and added script to turn
1973 on old build system if wanted
1974 - fixed boost-specific error path in btool
1975 - moved platform specific code out of time.h and into time.cc
1976 - moved btool.cc, translate.cc, and upldif.cc out of src/ and
1977 into their own tools/ subdirectory
1978 - added NEWS file to make autotools happy
1979 - added a "clean" option to the buildgen.sh script... maintainer's
1981 - reworked autoconf and automake files, to support
1982 barry as a library, to move the programs into their
1983 own tools directory, and support a proper installation
1984 - fixed headers in parser.h, btool.cc, and upldif.cc to work
1985 properly when installed standalone
1986 - added tools/Makefile.plain for testing compiling against
1987 installed barry library
1988 - added commentary on version number system
1989 - removed Makefile.conf and Makefile.orig, as new autoconf
1990 system supercedes it
1991 - added support for boost serialization library in autoconf build
1992 - added library version number to autoconf build
1993 - changed boost flag to __BARRY_BOOST_MODE__ to avoid collisions
1994 - removed debug.h dependency from btool.cc
1995 - removed libusb check in favour of specific --with-libusb
1996 option... may need to revisit this later
1997 - quick installation update in README
1999 - fixed some missed endian conversions in record.cc and added
2001 - fixed endian issues in time.h
2002 - added 2 more functions to the time zone API, and adjusted
2003 the time zone table for better defaults in North America
2004 - added btool and upldif to the make install sequence
2005 - added support for Calendar recurrence data
2006 - small doc/TimeZones.txt update
2008 - added BlackBerry time zone code list, reverse engineered from a 7750
2009 - added GetTimeZone() to convert device time zone codes to useful data
2011 Release: version 0.0.3 - 2006/11/24
2012 ------------------------------------------------------------------------------
2014 - added return code check to Controller::SaveDatabase()
2015 - fixed Data() class constructor, so it doesn't auto-convert
2017 - fixed size checking bug in Packet::ReturnCode() that caused
2018 uploading to device to fail
2020 - added Exceptions doc file, documenting the C++ exceptions used,
2022 - fixed small bug in 'make install' which didn't build first
2023 - minor documentation and cleanup in upldif.cc
2024 - added utility functions to the RecordStateTable class,
2025 GetIndex() and MakeNewRecordId()
2026 - changed btool so that the -d command modifiers can be
2027 specified multiple times to work with multiple records
2029 - added Calendar sync code to the opensync module (not complete)
2030 - cleaned up exception handling in the opensync module, making
2031 more use of the base exception to make sure no
2032 exceptions leak into the C library code
2034 Release: version 0.0.2 - 2006/10/12
2035 ------------------------------------------------------------------------------
2037 - fixed casting error in opensync module
2038 - minor updates to documentation to prepare for release
2040 - added stdint.h to parser.h for uint32_t. Thanks Ron Gage for
2043 - large refactoring of the packet parsing and building code,
2044 splitting the code into 3 groups:
2045 - record: handles record specific parsing and building...
2046 this is mostly subfields with CommonField structs
2047 as their headers, but sometimes has a specific
2048 header of its own, in the case of email
2049 Note: email's header is as yet undecoded.
2050 Record does not know the details of the packet
2051 formats, only the formats of its own record data.
2052 - packet: handles building of complete command packets
2053 and handles parsing of commonly used header values,
2054 providing an API for it... packet does not know
2055 the record format details, but does know the
2056 details of each Database Operation (protocol.h)
2058 So far, it seems that there is a real separation
2059 of operation formats and record formats, with the
2060 record formats being the same even with different
2061 database operation codes (GET_RECORDS /
2062 OLD_GET_RECORDS), which was not confirmed before.
2063 See the header size of the email record after
2065 - controller: handles device state, and the management of
2066 sockets, commands, and checking for response values.
2067 The Controller object does not know the format
2068 of either the record or the packet it is sending,
2069 but does know the protocol handshake logic used
2070 to talk to the device.
2071 - implemented SetRecord (SET_RECORD_BY_INDEX)... syncing, here
2073 - spelling correction in opensync-plugin/AUTHORS
2075 - added sample hotplug scripts
2076 - added .cvsignore files for doxygen and opensync directories
2077 - added src/endian.h... still need to add configure support to
2078 handle non-little-endian machines
2079 - added exception handler in opensync plugin commit_change()
2080 - removed the device reset code in probe.cc, as resetting a device
2081 can renumber the devices in /proc on kernel 2.4.x,
2082 and cause a failure to reach the device...
2083 FIXME - this should be changed someday to reset if probing
2084 fails, and restart the probe on reset, as sometimes
2085 the blackberry devices respond differently when not reset
2086 Ideally, the probe protocol should be properly reverse
2088 - added support for retrieving record state table, which is needed
2090 - added support for retrieving, deleting, and clearing the dirty
2091 flags of individual blackberry device records
2092 - added endian macros throughout the code
2094 - added opensync-plugin to root Makefile's clean
2095 - updated time conversion calls to match opensync's latest SVN
2096 - added opensync_change_set_changetype() (only add for now,
2098 - removed slow sync functions for now
2100 - added quick "install" makefile target, to src/install by default
2101 - added static library target... this is temporary until autoconf
2102 stuff is added properly... needed for the opensync plugin
2103 - documented in comments that Barry::BError is intended to be
2104 the base classes for all exceptions
2105 - added first round of implementation of an opensync plugin, based
2106 on the example plugin code from the opensync sources
2108 - added to Contact record class:
2110 - ReadLdif() to load and parse LDAP data
2111 - added fragmented send support to Socket class
2112 - added Probe::FindActive() to make client programs more streamlined
2113 - fixed hex/decimal printing of record counts in btool
2114 - added upldif.cc, a utility to take ldapsearch output on stdin
2115 and upload it to a blackberry
2116 - updated src/.cvsignore
2118 - added parsing of service book fields:
2120 - old and new unique ID (UID)
2122 - old and new description
2124 - bes domain / domain
2125 - date change in legal.txt
2126 - added initial parsing of ServiceBook field 0x09, and calling it
2127 ServiceBookConfig for now, for lack of a better name
2128 - added parsing for ServiceBook field 0x02 on 72xx Blackberries...
2129 seems to be a name or description, but doesn't appear
2130 in the device's own GUI... called "Hidden Name" for now
2132 - added ServiceBook record class and parser code, based on some
2133 of Ron Gage's reverse engineering... code is by Chris Frey
2134 - added AUTHORS file
2135 - fixed the libusb set_configuration/claim_interface order
2136 bug in controller.{h,cc}... already fixed in probe,
2137 but not controller. Thanks Ron Gage for finding this.
2139 - renamed Changelog to ChangeLog in preparation for autoconf
2140 - renamed Todo to TODO in preparation for autoconf
2142 - make clean cleans up tests properly now
2144 - turned source code browsing on in Doxyfile
2145 - added LoadDatabaseByName() and LoadDatabaseByType() template members
2146 to the Controller class
2147 - new file: controllertmpl.h
2148 - documentation fixes in builder.h
2149 - added static GetDBName() functions to all record classes, in
2150 support of the template Controller functions
2151 - fleshed out DatabaseDatabase::GetDBNumber() and GetDBName(),
2152 returning errors properly
2153 - documented sample btool.cc code better, and added example
2154 of Controller template member usage
2156 - copyright dates updated for 2006
2158 - backed out update to latest libusb DEVEL tree, since it is buggy.
2159 Stick with libusb 2005/11/26
2161 - added clean target to convenience Makefile
2162 - added Boost to list of dependencies in README
2163 - fixed minor compile warnings in base64.cc
2164 - fixed new USB discovery code, and changed endpoint usage to use
2165 it, instead of the READ_ENDPOINT and WRITE_ENDPOINT
2166 constants... constants are now removed
2167 common.h, controller.cc, probe.cc, probe.h, usbwrap.cc
2168 - added ClearHalt() to Usb::Device (usbwrap.cc)
2169 - updated usbwrap.h to match latest libusb CVS devel tree
2170 - updated README to refer to 2005/12/30 libusb CVS devel tree
2171 - added roadmap to Todo list
2173 - added convenience Makefile in root directory
2174 - added Hacking document
2175 - minor touchups to README
2176 - added caution warning to README, since this release will support
2177 delete / overwrite / upload functionality
2178 - minor compile order change in Makefile (speed reasons)
2179 - added dynamic endpoint discovery to probe.cc
2180 - changed claim_interface/set_configuration() function call order in
2181 probe.cc based on feedback on the libusb mailing list
2182 - added USB discovery code to usbwrap.{h,cc}
2184 - fixed packing bug in new upload header struct
2185 - renamed CommonField union from data to u to be consistent
2186 - added return_code field to DBAccess struct, for error checking
2187 - added response checking during upload: if response is non-zero
2188 throw exception in controller.cc
2189 - added sorting operators to record parser classes... when writing
2190 contact data to the device, it may be important to write
2191 group link items last, since they reference other contacts...
2192 This needs to be tested, and if not required, removed.
2193 - added GROUP_FLAG field code to Contact parser class
2194 - fixed offset bug in Contact and Calendar Build() functions
2195 - fixed name bug in Contact::Build(), now output only with data
2196 - added appointment type flag support to Calendar record parser
2197 class, and "all day event" flag support
2199 - added autoconf to Todo list
2200 - refactored the protocol structures so that record structs can
2201 be reused for upload and download
2202 - with new protostructs, more header control is handled by
2203 controller.cc instead of record.cc parsers and builders
2204 - parser code now accepts an offset, to govern start of record data
2205 - changed Data sizes from int to size_t and removed casts
2206 - removed unneeded Parser::GetHeaderSize() (new protostructs make
2208 - added Calendar::Build() for calendar uploads
2210 - added s11n-boost.h serialization templates for boost::serialization
2211 - added boost::serialization to build
2212 - minor change in usbwrap.cc to display error codes in decimal
2213 - added SizePacket special case code to Socket::Send()... this is
2214 required when uploaded packet size is a multiple of 0x40,
2215 a special 3 byte size packet is sent
2216 - moved some record class variables to public: so they can be
2218 - fixed variable name but in RecordBuilder template
2219 - added -f switch to btool, for saving and loading of record data
2220 - added -s switch to btool, for uploading saved data back to handheld
2221 - added Controller::SaveDatabase()
2223 - fixed potential casting / pointer bug in controller.cc
2224 - added builder.h, to support uploading
2225 - minor comment fixes in parser.h
2226 - added preliminary Contact protocol record building support
2227 - fixed field order bug in ContactRecord protocol struct
2228 - Contact record.h class now saves unknown Group Link field,
2231 - added -fno-strict-aliasing to compiler flags so gcc-4.0.x won't
2232 optimize away protocol struct casts
2234 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25235
2235 http://mail-index.netbsd.org/tech-kern/2003/08/11/0001.html
2236 http://groups.google.ca/group/comp.lang.c++.moderated/ \
2237 browse_thread/thread/e7bf096832526f8e/5714701b \
2238 02a2a3cc?hl=en#5714701b02a2a3cc
2239 - changed headers so that any low level protocol-specific sizes and
2240 structs are completely hidden in the library...
2241 this adds library-only header: protostructs.h
2243 Release: version 0.0.1 - 2005/11/25
2244 ------------------------------------------------------------------------------
2246 - added barry.h for documentation purposes and application usage
2247 - updated README for release
2248 - renamed SBError exception class to BError
2249 - updated Doxyfile to version 1.4.5
2250 - added more doxygen comments
2252 - added conversion routines (and tests) between time_t and min1900_t
2253 - added -v option to btool to dynamically control protocol dumping
2254 - removed duplicated database database table display in controller.cc
2255 - minor spelling corrections
2256 - added copyright to usbwrap.{h,cc} as per earlier meeting
2257 - added support for Old protocol Calendar entries
2259 - added legal.txt, to save typing when adding new source files
2260 - ignore test-base64 file (cvsignore)
2261 - added contact-to-ldif generation, and updated supporting code
2262 - added argument to btool to support contact-to-ldif operation
2263 - added Contact::GetPostalAddress()
2264 - added README documentation in preparation for future release
2266 - added parser.{h,cc} virtual wrapper to generalize LoadDatabase()
2267 - added code to socket.cc's Packet() command to re-receive on
2268 reception of empty packets... this seems to be a signal
2269 from the device that it needs more time for long transfers
2270 Current limit: 10 blank packets before exception is thrown
2271 Observed maximum blank count: 1
2272 - added MessageRecord and OldMessageRecord to protocol.h
2273 - changed common record field structs to one CommonField struct
2274 - increased default USB timeout to 10 seconds (some loaded devices
2275 seem to need more time...)
2276 - reorganized record.{h,cc} to try to reduce the code duplication
2277 - record.h classes now "know" the sizes of their corresponding
2278 protocol structs... this may cause trouble down the line
2279 with Python, if used(?)
2280 - added Message class for Email records
2281 - removed the "Get*" database functions and replaced with
2282 general LoadDatabase() call, which loads any database
2283 available, and parses it with a Parser object
2284 - added GetDBID() for searching for database numbers via name
2285 - added test code to retrieve and display all email
2286 - cleaned up comments
2287 - renamed blackberry.{h,cc} to controller.{h,cc}
2288 - renamed bbtool.cc to btool.cc
2289 - added Makefile.conf
2290 - added copyright notices to source files
2291 - added COPYING file with GPL
2292 - put parser in Barry namespace, and added auto_ptr-like mode for
2293 store object pointers
2294 - added doxygen docs
2295 - added header comments to convo.awk script
2296 - removed Test() function in Controller object, and made class
2297 better suited to its general API purpose
2298 - changed OpenMode() so it loads command table and DBDB... it is now
2299 a public API function
2300 - moved Controller test code to btool.cc and made tool more
2301 generically useful... can now download any DB by name on
2303 - added mode checks to Controller
2304 - added -t and -d command line options to btool
2305 - added base64 routines from John Walker / Fourmilab and Citadel/UX
2306 - converted base64 routines into an API, instead of hardcoded
2309 - changed project name to Barry, including namespaces
2310 - renamed sbcommon.* to common.*
2311 - increased USB default timeout to 2 seconds
2312 - fixed formatting bug in Data operator<< output
2313 - cleaned up the protocol packet structs, getting rid of the
2314 confusing param/simple split... param is now the tableCmd
2315 from the Command Table
2316 - moved protocol structs from record.h to protocol.h
2317 - added support for older version of the USB protocol, which matches
2318 the Cassis spec more closely
2319 - fixed the hardcoded offsets in blackberry.cc's protocol parsing
2320 - fixed Socket::Close() so on error, socket flags are reset.
2321 This stops Close() from being called twice on exception
2324 - added Doxyfile to the project
2326 - added mode selection support to Blackberry class (RIM Desktop,
2327 RIM Bypass, and RIM_JavaLoader)
2328 Mode selection governs which socket is used in subsequent
2330 - added Command Table parsing and protocol support
2331 Blackberry class, and CommandTable record class
2332 - added Database database parsing and protocol support
2333 Blackberry class and DatabaseDatabase record class
2334 - added Address book retrieval support - dumps data to stdout for now
2335 - fixed bug in CopyOnWrite mode in Data class, where could allocate
2336 less buffer than data copied
2337 - added "easy exception" debug output macro
2338 - fixed minor spelling error in protocol.cc
2339 - fixed ModeSelectCommand protocol structure - it is not a parameter
2340 command, but uses the unknown slots for socket and flag
2342 - removed hardcoded socket numbers from protocol.h
2343 - fixed bug in socket.cc:Open() where packet size was not properly
2345 - implemented socket::Close()
2346 - fixed sequence number checks, so it is reset properly on socket 0
2347 - added Socket::NextRecord() for multiple record data transfers
2348 - fixed input handling bug in translate.cc
2350 - added .cvsignore files to project
2351 - added README notes to document the source architecture
2352 - added dbsetup data script, which shows how to get into database
2353 mode, using the RIM Desktop mode, and open a socket
2354 - added blackberry.{h,cc} class
2355 - added command line parameters to bbtool.cc
2357 -p = specify pin of blackberry device
2358 - added blackberry test code in bbtool.cc - debugging the initial
2359 opening protocol: sockets, modes, etc... see dbsetup for
2361 - added copy-on-write functionality to Data class, so it can be used
2362 with plain data buffers with little performance impact
2363 - added eout() and ddout() debugging - to separate:
2364 - regular debug output
2365 - exception debug output (should probably be logged to
2366 syslog someday, and never turned off)
2367 - raw data dump output
2368 - changed errno SBError exception handler to try to decode the error
2369 numbers into english (limited success)
2370 - fixed probe and socket USB Bulk message handling, so they don't
2371 use PollCompletions(), but use IO::Wait() (libusb_io_wait())
2372 - added common packet size checker in protocol.cc
2373 - fixed unpacked protocol packet structs... using gcc's
2374 __attribute__ ((packed)) ... see protocol.h
2375 - added ModeSelectCommand structure (protocol.h)
2376 - finished Socket::Open() call (Close() not yet implemented)
2377 - moved Socket::Send/Receive() out of private, as they can be used
2378 for socket 0 operations.
2379 - cleaned up pointer management with macros:
2383 - added IO::Wait() and IO::Cancel() to correspond with libusb API
2384 - added datadumping in usbwrap for easy protocol capture
2385 - added preliminary record.{h,cc} classes
2386 - added Contact record parsing, and test code
2388 - syncberry tree started