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