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