POCO v1.3.6.p1 Release Notes

Release Date: 2009-12-21 // over 14 years ago
    • โž• added support for using external zlib, pcre, expat and sqlite3 instead of bundled ones (-DPOCO_UNBUNDLED, configure --unbundled)
    • ๐Ÿ›  fixed SF# 2911407: Add sh4 support
    • ๐Ÿ›  fixed SF# 2912746: RSAKey::EXP_LARGE doesn't work
    • ๐Ÿ›  fixed SF# 2904119: abstractstrategy uses std::set but do not includes it
    • ๐Ÿ›  fixed SF# 2909946: localtime NULL pointer
    • ๐Ÿ›  fixed SF# 2914986: potential expat DoS security issues (CVE-2009-3560 and CVE-2009-3720)
    • ๐Ÿ›  fixed SF# 2916305: SSL Manager crashes
    • ๐Ÿ›  fixed SF# 2903676: Tuple TypeHander does not handle composites.

    ๐Ÿš€ Release 1.3.6 (2009-11-24)

    • โž• added Environment::processorCount()
    • โž• added POCO_VERSION macro to Poco/Foundation.h
    • ๐Ÿ›  fixed SF# 2807527: Poco::Timer bug for long startInterval/periodic interval
    • ๐Ÿ›  fixed a bug similar to SF# 2807527 in Poco::Util::Timer.
    • ๐Ÿ›  fixed SF# 2795395: Constructor doesn't treat the params "key" and "iv"
    • ๐Ÿ›  fixed SF# 2804457: DateTime::checkLimit looks wrong
    • ๐Ÿ›  fixed SF# 2804546: DateTimeParser requires explicit RFC1123 format
    • โž• added ReleaseArrayPolicy to Poco::SharedPtr
    • โฌ†๏ธ upgraded to SQLite 3.6.20
    • ๐Ÿ›  fixed SF# 2782709: Missing semicolons in "Logger.h" convenience
    • ๐Ÿ›  fixed SF# 2526407: DefaultStrategy.h ++it instead of it++ in a loop
    • ๐Ÿ›  fixed SF# 2502235: Poco STLPort patch
    • ๐Ÿ›  fixed SF# 2186643: Data::Statement::reset() not implemented in 1.3.3
    • ๐Ÿ›  fixed SF# 2164227: Allow File opened read only by FileInputSteam to be writable
    • ๐Ÿ›  fixed SF# 2791934: use of char_traits::copy in BufferedStreamBuf::underflow
    • ๐Ÿ›  fixed SF# 2807750: Support additional SQL types in SQLite
    • ๐Ÿ›  fixed documentation bugs in Timed/PriorityNotificationQueue
    • ๐Ÿ›  fixed SF# 2828401: Deadlock in SocketReactor/NotificationCenter (also fixes patch# 1956490) NotificationCenter now uses a std::vector internally instead of a std::list, and the mutex is no longer held while notifications are sent to observers.
    • fixed SF# 2835206: File_WIN32 not checking aganist INVALID_HANDLE_VALUE
    • ๐Ÿ›  fixed SF# 2841812: Posix ThreadImpl::sleepImpl throws exceptions on EINTR
    • ๐Ÿ›  fixed SF# 2839579: simple DoS for SSL TCPServer, HTTPS server No SSL handshake is performed during accept() - the handshake is delayed until sendBytes(), receiveBytes() or completeHandshake() is called for the first time. This also allows for better handshake and certificate validation when using nonblocking connections.
    • ๐Ÿ›  fixed SF# 2836049: Possible handle leak in FileStream If sync() fails, close() now simply set's the stream's bad bit. In any case, close() closes the file handle/descriptor.
    • ๐Ÿ›  fixed SF# 2814451: NetSSL: receiveBytes crashes if socket is closed
    • โž• added a workaround for Vista service network initialization issue (an Windows service using the Net library running under Vista will crash in the call to WSAStartup() done in NetworkInitializer). Workaround is to call WSAStartup() in the application's main(). Automatic call to WSAStartup() in the Net library can now be disabled by compiling Net with -DPOCO_NET_NO_AUTOMATIC_WSASTARTUP. Also the new Poco::Net::initializeNetwork() and Poco::Net::uninitializeNetwork() functions can be used to call WSAStartup() and WSACleanup(), respectively, in a platform-independent way (on platforms other than Windows, these functions will simply do nothing).
    • โž• added VCexpress build script support (contributed by Jolyon Wright)
    • ๐Ÿ›  fixed SF# 2851052: Poco::DirectoryIterator copy constructor is broken
    • ๐Ÿ›  fixed SF# 2851197: IPAddress ctor throw keyword missing
    • โž• added Poco::ProtocolException
    • ๐Ÿ‘ PageCompiler improvements: new tags, support for buffered output, etc.
    • ๐Ÿ‘ better error reporting in Data MySQL connector (patch #2881270 by Jan "HanzZ" Kaluza)
    • ๐Ÿ›  fixed SF# 1892462: FTPClient:Choose explicitely between EPSV and PASV
    • ๐Ÿ›  fixed SF# 2806365: Option for PageCompiler to write output to different dir
    • ๐Ÿ›  fixed a documentation bug (wrong sample code) in Process::launch() documentation
    • โž• added --header-output-dir option to PageCompiler
    • ๐Ÿ›  fixed SF# 2849144: Zip::Decompress notifications error
    • ๐Ÿ“œ SAXParser has a new feature: "http://www.appinf.com/features/enable-partial-reads". See ParserEngine::setEnablePartialReads() for a description of what this does.
    • ๐Ÿ›  fixed SF# 2876179: MySQL Signed/Unsigned value bug
    • ๐Ÿ›  fixed SF# 2877970: possible bug in timer task
    • ๐Ÿ›  fixed SF# 2874104: wrong parsing empty http headers
    • ๐Ÿ›  fixed SF# 2860694: Incorrect return code from SecureStreamSocketImpl::sendBytes
    • ๐Ÿ›  fixed SF# 2849750: Possible bug with XMLWriter?
    • โž• added MailMessage::encodeWord() to support RFC 2047 word encoded mail header fields when sending out mail containing non-ASCII characters.
    • ๐Ÿ›  fixed SF# 2890975: SMTPClientSession bug with 7BIT encoding
    • ๐Ÿ›  fixed an issue with retrieving the value of socket options on Windows 7. Before obtaining the value of a socket, we now initialize the variable receiving the socket option value to zero.
    • ๐Ÿ›  fixed SF# 2836141: Documentation errors
    • ๐Ÿ›  fixed SF# 2864232: Socket::select() does not detect closed sockets on windows
    • ๐Ÿ›  fixed SF# 2812143: Socket::select() should check socket descriptors...
    • ๐Ÿ›  fixed SF# 2801750: NetworkInterface forName returns wrong subnetMask
    • ๐Ÿ›  fixed SF# 2816315: Problem with POSIX Thread::sleepImpl
    • ๐Ÿ›  fixed SF# 2795646: IPv6 address parsing bug
    • ๐Ÿ›  fixed #0000092: ServerApplication::waitForTerminationRequest(), SIGINT and GDB. Poco::Util::ServerApplication::waitForTerminationRequest() no longer registers a signal handler for SIGINT if the environment variable POCO_ENABLE_DEBUGGER is defined.
    • ๐Ÿ›  fixed SF# 2896070: Poco::Net::Context with non-ASCII paths
    • โž• added Unicode Surrogate support to Poco::UTF16Encoding. See Poco::TextEncoding::queryConvert() and Poco::TextEncoding::sequenceLength() for how this is implemented. Contributed by Philippe Cuvillier.
    • ๐Ÿ›  fixed SF# 2897650: [branch 1.3.6] Net.SocketAddress won't compile for CYGWIN
    • ๐Ÿ›  fixed SF# 2896161: Building on Windows fails when basedir has space in it
    • ๐Ÿ›  fixed SF# 2864380: Memory leak when using secure sockets
    • 0๏ธโƒฃ NetSSL_OpenSSL: the SSL/TLS session cache is now disabled by default and can be enabled per Context using Poco::Net::Context::enableSessionCache().
    • ๐Ÿ›  fixed SF# 2899039: Wrong DST handling in LocalDateTime
    • โž• added RWLock::ScopedReadLock and RWLock::ScopedWriteLock (contributed by Marc Chevrier)
    • โž• added Thread::TID type, as well as Thread::tid() and Thread::currentTid() to obtain the native thread handle/ID
    • โž• added Zip file comment support
    • ๐Ÿ On Windows, Poco::SharedLibrary::load() now uses LoadLibraryEx instead of LoadLibrary and uses the LOAD_WITH_ALTERED_SEARCH_PATH if an absolute path is specified. This will add the directory containing the library to the search path for DLLs that the loaded library depends upon.
    • ๐Ÿ— Mac OS X build settings now match those used by default Xcode projects, making linking the POCO libs to Xcode projects easier
    • Replaced use of std::valarray in Poco::Net::ICMPEventArgs with std::vector due to issues with std::valarray together with STDCXX debug mode on OS X

    ๐Ÿš€ Release 1.3.5 (2009-05-11)

    • ๐Ÿ›  fixed SF# 2779410: Poco::Data::ODBC::HandleException impovement
    • ๐Ÿ›  fixed wrong exception text for Poco::UnhandledException
    • ๐Ÿ›  Fixed a problem with SSL shutdown that causes clients (web browsers) to hang when the server attempts to perform a clean SSL shutdown. We now call SSL_shutdown() once, even if the shutdown is not complete after the first call.
    • โž• added Poco::Crypto::X509Certificate::save()
    • ๐Ÿ›  fixed a bug in Poco::Zip::Decompress that results in wrong paths for extracted files
    • ๐Ÿ›  fixed a bug in Poco::Zip::ZipManipulator where the Zip file was opened in text format on Windows.
    • โž• added Poco::Crypto::X509Certificate::issuedBy() to verify certificate chain.
    • ๐Ÿ›  fixed 0000089: Thread::sleep() on Linux is extremely inaccurate
    • โž• added methods to extract the contents of specific fields from the subject and issuer distinguished names of a certificate.

    ๐Ÿš€ Release 1.3.4 (2009-04-21)

    • ๐Ÿ›  fixed SF# 2611804: PropertyFileConfiguration continuation lines
    • ๐Ÿ›  fixed SF# 2529788: ServerApplication::beDaemon() broken
    • ๐Ÿ›  fixed SF# 2445467: Bug in Thread_WIN32.cpp
    • ๐Ÿ‘Œ Improved performance of HTTP Server by removing some string copy operations
    • ๐Ÿ›  fixed SF# 2310735: HTTPServer: Keep-Alive only works with send()
    • ๐Ÿ›  fixed appinf.com IP address in Net testsuite
    • ๐Ÿ›  fixed RFC-00188: NumberFormatter and float/double numbers
    • โž• added --pidfile option to ServerApplication on Unix
    • ๐Ÿ›  fixed SF# 2499504: Bug in Win32_Thread when using from dll (fixed also for POSIX threads)
    • ๐Ÿ›  fixed SF# 2465794: HTTPServerRequestImpl memory leak
    • ๐Ÿ›  fixed SF# 2583934: Zip: No Unix permissions set
    • ๐Ÿ”จ the NetSSL_OpenSSL library has been heavily refactored
    • โž• added NumberFormatter::append*() and DateTimeFormatter::append() functions
    • ๐Ÿ‘‰ use NumberFormatter::append() and DateTimeFormatter::append() instead of format() where it makes sense to gain some performance
    • โž• added system.dateTime and system.pid to Poco::Util::SystemConfiguration
    • โž• added %F format specifier (fractional seconds/microseconds) to DateTimeFormatter, DateTimeParser and PatternFormatter.
    • ๐Ÿ›  fixed SF# 2630476: Thread_POSIX::setStackSize() failure with g++ 4.3
    • ๐Ÿ›  fixed SF# 2679279: Handling of -- option broken
    • โž• added compile options to reduce memory footprint of statically linked applications by excluding various classes from automatically being linked. See the POCO_NO_* macros in Poco/Config.h.
    • ๐Ÿ›  fixed SF# 2644940: on Windows the COMPUTER-NAME and the HOSTNAME can be different
    • โž• added DNS::hostName() function
    • โž• added build configuration for iPhone (using Apple's SDK)
    • ๐Ÿ‘ basic support for AIX 5.x/xlC 8
    • ๐Ÿ›  fixed a bug resulting in a badly formatted exception message with IOException thrown due to a socket-related error
    • ๐Ÿ›  fixed SF# 2644718: NetworkInterface name conflict in MinGW
    • โž• added a missing #include to CryptoTransform.h
    • ๐Ÿ›  fixed SF# 2635377: HTTPServer::HTTPServer should take AutoPtr
    • replaced plain pointers with smart pointers in some interfaces
    • โฌ†๏ธ upgraded to sqlite 3.6.13
    • ๐Ÿ‘Œ improved Data::SQLite error reporting
    • ๐Ÿ‘ Poco::Glob now works with UTF-8 encoded strings and supports case-insensitive comparison. This also fixes SF# 1944831: Glob::glob on windows should be case insensitve
    • โž• added Twitter client sample to Net library
    • ๐Ÿ›  Fixed SF# 2513643: Seg fault in Poco::UTF8::toLower on 64-bit Linux
    • Poco::Data::SessionPool: the janitor can be disabled by specifying a zero idle time.
    • โž• added Poco::Data::SessionPool::customizeSession()
    • โž• added support for different SQLite transaction modes (DEFERRED, IMMEDIATE, EXCLUSIVE)
    • fixed a few wrong #if POCO_HAVE_IPv6 in the Net library
    • โž• added support for creating an initialized, but unconnected StreamSocket.
    • โž• added File::isDevice()
    • โž• added family() member function to SocketAddress,
    • ๐Ÿ‘ Data::SQLite: added support for automatic retries if the database is locked
    • XMLConfiguration is now writable
    • ๐Ÿ›  fixed an IPv6 implementation for Windows bug in HostEntry
    • Timer class improvement: interval between callback is no longer influenced by the time needed to execute the callback.
    • โž• added PriorityNotificationQueue and TimedNotificationQueue classes to Foundation. These are variants of the NotificationQueue class that support priority and timestamp-tagged notifications.
    • โž• added Poco::Util::Timer class. This implements a timer that can schedule different tasks at different times, using only one thread.
    • the signatures of Poco::NotificationQueue and Poco::NotificationCenter member functions have been changed to accept a Poco::Notification::Ptr instead of Poco::Notification* to improve exception safety. This change should be transparent and fully backwards compatible. The signature of the methods returning a Poco::Notification* have not been changed for backwards compatibility. It is recommended, that any Notification* obtained should be immediately assigned to a Notification::Ptr.
    • SQLite::SessionImpl::isTransaction() now uses sqlite3_get_autocommit() to find out about the transaction state.
    • ๐Ÿ”จ refactored Crypto library to make it independent from NetSSL_OpenSSL.
    • โž• added support for RSA-MD5 digital signatures to Crypto library.
    • โœ‚ removed SSLInitializer from NetSSL library (now moved to Crypto library)
    • โž• added build configs for static libraries to Crypto library
    • OpenSSL now depends on Crypto library (which makes more sense than vice versa, as it was before). Poco::Net::X509Certificate is now a subclass of Poco::Crypto::X509Certificate (adding the verify() member function) and the Poco::Net::SSLInitializer class was moved to Poco::Crypto::OpenSSLInitializer.
    • โž• added build configs for static libraries to Zip
    • โž• added batch mode to CppUnit::WinTestRunner. WinTestRunnerApp supports a batch mode, which runs the test using the standard text-based TestRunner from CppUnit. To enable batch mode, start the application with the "/b" or "/B" command line argument. Optionally, a path to a file where the test output will be written to may be given: "/b:" or "/B:". When run in batch mode, the exit code of the application will denote test success (0) or failure (1).
    • ๐Ÿ testsuites now also work for static builds on Windows
    • The IPv6 support for Windows now basically works (Net library compiled with POCO_HAVE_IPv6)
    • ๐Ÿ›  fixed a potential error when shutting down openssl in a statically linked application
    • โž• added static build configs to Data library
    • โž• added Poco::AtomicCounter class, which uses OS-specific APIs for atomic (thread-safe) manipulation of counter values.
    • Poco::RefCountedObject and Poco::SharedPtr now use Poco::AtomicCounter for reference counting
    • ๐Ÿ›  fixed SF# 2765569: LoadConfiguration failing from current directory