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