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