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