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