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