Hello Barry fans, A new release just squeaking in for the month of February.
This version adds better support for the BlackBerry Pearl, as well as support for password protected devices. An update to the LDAP LDIF code is also included, as well as general bugfixes, such as support of record sizes greater than 64K. A new library dependency has been added for password support: OpenSSL. Thanks to the contributors for this release: (in alphabetical order) Michael Brown 64K bug report Ian Darwin OpenBSD testing Troy Engel LDIF feedback Jonathan Hudson 64 bit portability Rick Scott openssl password code and "device nuke" warning If you have questions, need help, or have patches, please send to the mailing list. Enjoy! - Chris Release: version 0.6 - 2007/02/28 ------------------------------------------------------------------------------ 2007/02/28 - fixed size checks for device database records larger than 64K Thanks to Michael Brown for the bug report. - added initial release maintainer scripts - fixed odd backup success message in GUI when doing a backup with no databases selected in configuration Thanks to Michael Brown for the bug report. - added udev permissions file patch from Michael Brown - added Michael Brown to AUTHORS - updated README, gui/README, and doc/USB-capture.txt - added -o command line switch to bcharge.cc, and updated man page 2007/02/23 - changed library behaviour so it only turns on libusb debug output if in data dump mode. In btool, -v controls this output. - minor stream formatting fix in btool - added OpenSSL dependency to build for password hash support - made debug dout() output conditional on Init() flag... In btool, -v now controls this as well - reverse engineered more of the initial probe packets, and implemented probing in struct based code... changes include: - added support for "attribute fetch" packets, used at the beginning of USB conversations - defined object/attribute id codes for the PIN number - made Protocol::SocketCommand more robust, and implemented its sequence number behaviour - moved ModeSelectCommand into SocketCommand, as it is a socket 0 level command - added initial protocol struct: PasswordChallenge - renamed Barry::Packet to DBPacket - added ZeroPacket for socket 0 packet creation and analysis - Barry::Packet is now the base class for the above - implemented socket 0 behaviour in socket.cc - changed return values for Send/Receive/Packet/NextRecord members in the Socket class from bool to void, as they don't generate errors themselves, but only can have an error if Usb::Device throws an exception. Cleaned up all code that called these members as well. - removed "last status" from Socket class as it was unused - updated probe.cc to use new socket 0 implementation - removed two of the hard coded packet handshakes in favour of socket 0 packets - updated controller.cc: - uses new socket 0 implementation - removed "flag" hack when opening sockets and selecting modes, as it should use the socket 0 sequence number - added initial, incomplete prototype header for the C API - updated some .cvsignore files - updated TODO - updated ReleaseChecklist.txt, adding rpm spec file - added the following to ZeroPacket: - ChallengeSeed() - RemainingTries() - SocketResponse() - SocketSqeuence() - moved Command() to base Packet class - added comments to protostructs.h and size constants for the new PasswordChallenge struct - added password support to Socket and Controller classes Thanks to Rick Scott's XmBlackBerry for the openssl password hashing logic. - updated btool to use new password support, and updated its man page 2007/02/22 - updated Doxygen input files and version, and added to ReleaseChecklist - fixed btool PIN output for LDIF mode, now commented in output - major LDIF overhaul: - split LDIF specific code out of the record class and into its own - fixed "full name" behaviour that added an extra space in dn attributes, as reported by Troy Engel - added support for mapping of LDIF attributes to Barry contact field names - fixed base64 handling, so attributes are only so encoded if necessary - fixed base64 attribute reading inconsistency... some notes fields were missed in old version if not encoded - added support for specifying alternate attribute for constructing a FQDN, instead of just "cn" - updated btool and upldif to use new features - large update to btool manpage - fixed initialization bug in Contact constructor (missed RecType) 2007/02/15 - added ktrans.cc to make reading of kernel usbfs_snoop logs easier - removed commented code from translate.cc - added Pearl handshake support to bcharge.cc, which resets the Pearl so that the vendor specific 0xFF class exists. This should allow use of btool on the Pearl. - added Data::AppendHexString to data.cc - added better probing support for the Pearl, so it detects the Product ID 0x0004 mode, and does a search for class 0xFF instead of hardcoding it. 2007/02/10 - applied README patch from Ian Darwin - minor tweaks to README - added missing errno.h header in src/usbwrap.cc for AMD64 Thanks to Jonathan Hudson for reporting the bug. - tightened up size checks in Data::ReleaseBuffer() - stable libusb *does* return the actual length of the USB packet... fixed this in usbwrap.cc to set the actual size of read data, and removed the size hacks elsewhere in the code: probe.cc, protocol.cc, socket.cc, usbwrap.cc 2007/02/09 - added proper return codes for error conditions in btool.cc - clarified some stream output code in the library, for hex/dec numbers - removed old, non-working connect.cc test program - added iomanip to debug.h - changed usbwrap to call libusb again if EINTR and EAGAIN This should fix one of the OpenBSD issues 2007/02/04 - updated AUTHORS - fixed bug in barrybackup GUI that didn't create the target path if the user didn't do Edit | Config first. Thanks to Ian Darwin for reporting the bug. - applied gui/src/ConfigFile.cc header fix patch for OpenBSD from Ian Darwin 2007/02/03 - added initial btool.1 man page from Ian Darwin - updated man/Makefile.am for new btool.1 - updated AUTHORS - applied btool -h help clarification patch from Ian Darwin 2007/02/02 - reworked exception hierarchy, so applications can handle all Barry related exceptions, including Usb errors, with one base class: Barry::Error - fixed all the ripple changes this caused throughout the codebase - added BadPassword exception 2007/02/01 - version bump in: - configure.ac - src/Makefile.am - src/version.cc - gui/src/BackupWindow.cc (about dialog) - updated doc/ReleaseChecklist.txt - added usb-level breset.cc command line tool - fixed bug in gui/src/tarfile.* for systems where sizeof(int) != sizeof(void*) - TarFile class now uses a plugin style for the compression operations, to allow for threadsafe versions if needed in the future. - also fixed leaked file handle bug in open_compressed() - Thanks to Jonathan Hudson for reporting this for 64bit systems - minor signed comparison fixes in the library - added better protocol data dumping code in probe.cc - added Usb::Device::BulkDrain(), to prevent Barry from hanging due to pending reads ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Barry-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/barry-devel