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