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