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