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