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