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