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