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