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