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