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