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