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