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