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