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