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