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