📄 changelog.svn-base
字号:
This is the changelog file for the POCO C++ Libraries.Release 1.3.2 (2008-01-30)==========================Foundation, XML, Net, Util:- added POCO_NO_SHAREDMEMORY to Config.h- POCO_NO_WSTRING now really disables all wide string related calls- added template specialization for string hashfunction (performance)- XML parser performance improvements (SAX parser is now up to 40 % faster- added parseMemoryNP() to XMLReader and friends- URIStreamOpener improvement: redirect logic is now in URIStreamOpener. this enables support for redirects from http to https.- added support for temporary redirects and useproxy return code- added getBlocking() to Socket - added File::isHidden()- better WIN64 support (AMD64 and IA64 platforms are recognized)- added support for timed lock operations to [Fast]Mutex- SharedLibrary: dlopen() is called with RTLD_GLOBAL instead of RTLD_LOCAL (see http://gcc.gnu.org/faq.html#dso)- Poco::Timer threads can now run with a specified priority- added testcase for SF# 1774351- fixed SF# 1784772: Message::swap omits _tid mem- fixed SF# 1790894: IPAddress(addr,family) doesn't fail on invalid address- fixed SF# 1804395: Constructor argument name wrong- fixed SF# 1806807: XMLWriter::characters should ignore empty strings- fixed SF# 1806994: property application.runAsService set too late- fixed SF# 1828908: HTMLForm does not encode '+'- fixed SF# 1831871: Windows configuration file line endings not correct.- fixed SF# 1845545: TCP server hangs on shutdown- fixed SF# 1846734: Option::validator() does not behave according to doc- fixed SF# 1856567: Assertion in DateTimeParser::tryParse()- fixed SF# 1864832: HTTP server sendFile() uses incorrect date- HTTPServerResponseImpl now always sets the Date header automatically in the constructor.- fixed SF# 1787667: DateTimeFormatter and time related classes (also SF# 1800031: The wrong behavior of time related classes)- fixed SF# 1829700: TaskManager::_taskList contains tasks that never started- fixed SF# 1834127: Anonymous enums in Tuple.h result in invalid C++- fixed SF# 1834130: RunnableAdapter::operator= not returning a value- fixed SF# 1873924: Add exception code to NetException- fixed SF# 1873929: SMTPClientSession support for name in sender field- logging performance improvements (PatternFormatter)Release 1.3.1 (2007-08-08)==========================Foundation, XML, Net, Util:- DynamicAny fixes for char conversions- fixed SF# 1733362: Strange timeout handling in SocketImpl::poll and Socket::select- fixed SF patch# 1728912: crash in POCO on Solaris- fixed SF# 1732138: Bug in WinRegistryConfiguration::getString- fixed SF# 1730790: Reference counting breaks NetworkInterface::list()- fixed SF# 1720733: Poco::SignalHandler bug- fixed SF# 1718724: Poco::StreamCopier::copyStream loops forever- fixed SF# 1718437: HashMap bug- changed LinearHashTable iterator implementation. less templates -> good thing.- fixed SF# 1733964: DynamicAny compile error- UUIDGenerator: fixed infinite loop with non ethernet interfaces- updated expat to 2.0.1- fixed SF# 1730566: HTTP server throws exception- Glob supports symbolic links (additional flag to control behavior)- fixed a problem with non blocking connect in NetSSL_OpenSSL (see http://www.appinf.com/poco/wiki/tiki-view_forum_thread.php?comments_parentId=441&topics_threshold=0&topics_offset=29&topics_sort_mode=commentDate_desc&topics_find=&forumId=6)- fixed a problem with SSL renegotiation in NetSSL_OpenSSL (thanks to Sanjay Chouksey for the fix)- fixed SF# 1714753: NetSSL_OpenSSL: HTTPS connections fail with wildcard certs- HTTPClientSession: set Host header only if it's not already set (proposed by EHL)- NetworkInterface (Windows): Loopback interface now has correct netmask; interfaces that do not have an IP address assigned are no longer reported.- Fixes for VC++ W4 warnings from EHL- SharedMemory: first constructor has an additional "server" parameter Setting to true does not unlink the shared memory region when the SharedMemory object is destroyed. (Alessandro Oliveira Ungaro)- fixed SF# 1768231: MemoryPool constructorData:- fixed SF# 1739989: Data::RecordSet::operator = () (in 1.3 branch)- fixed SF# 1747525: SQLite, Transactions and Session Pooling (in 1.3 branch)- upgraded to SQLite 3.4.1Release 1.3.0 (2007-05-07)==========================- added HashMap, HashSet classes- the HashFunction class template has been changed in an incompatible way. The member function formerly named hash() is now the function call operator. If you have defined your own HashFunction classes, you have to update your code. Sorry for the inconvenience.- added Poco::Tuple- added AbstractCache::getAllKeys(), improved performance of the get operation- fixed AbstractCache::size() to do cache replacement before returning the size- added additional match() method to RegularExpression and documented the fact that the simple match() method internally sets RE_ANCHORED and RE_NOTEMPTY.- added ExpirationDecorator template. Decorates data types so that they can be used with UniqueExpireCaches- added operator ! to AutoPtr and SharedPtr- Buffer uses std::size_t instead of int- Exception::what() now returns exception name instead of message- added poco_ndc_dbg() macro (same as poco_ndc(), but only enabled in debug builds)- added Environment::get(name, defaultValue);- Foundation.h now includes Config.h at the very beginning.- added replace() and replaceInPlace() to Poco/String.h- added AutoPtr::assign() and SharedPtr::assign()- added operator () to AbstractEvent- gcc Makefiles now strip release builds- Void now has a == and != operator- Base64Encoder and HexBinaryEncoder now support an unlimited line length (no newlines written), by specifying a line length of 0- NumberParser now has stricter syntax requirements: garbage following a number leads to a SyntaxException (Thanks to phireis@gmail.com for the suggestion)- fixed SF# 1676830: Don't use -rpath in libraries- fixed SF# 1670279: AbstractConfiguration::unckeckedExpand crash- fixed a warning in Hashtable- HTTPClientSession now uses a keepAliveTimeout for better persistent connection handling- added DateTime::makeUTC() and DateTime::makeLocal()- added another constructor to LocalDateTime- POCO_WIN32_UTF8 is ignored on non-Windows platforms- fixed a timeout bug (with NetSSL) in HTTPSession- AsyncChannel is automatically opened with first log()- minor fix to NotificationQueue sample (reported by Laszlo Keresztfalvi)- added File::canExecute() and File::setExecutable()- added SharedMemory class to Foundation- added FileStream, FileInputStream, FileOutputStream to Foundation- added NodeAppender class to XML for faster DOM tree creation- HTTPServerRequest and HTTPServerResponse are now abstract base classes, actual functionality has moved into HTTPServerRequestImpl and HTTPServerResponseImpl. This allows us to plug other HTTP servers into POCO.- added DynamicAny class to Foundation- replaced std::fstream with Poco::FileStream across POCO.- added Poco::Checksum class to Foundation.- fixed SF# 1700811: conflict in threadpool- bugfix: File::moveTo() does not work if the target is a directory- File::copyTo() and File::moveTo() now copy/move directories recursively- refactored NetworkInterface (now using pimpl idiom); added broadcast address and netmask support- fixed SF# 1688982: POP3ClientSession fails when retrieving mails with attachment- fixed SF# 1655104: Enhance Poco::TextEncoding functionality- added Poco::Condition class, implementing a POSIX-style condition variable- fixed a bug in File::create() for Windows- added poco_static_assert (imported from boost)- added Thread::join(timeout) and Thread::tryJoin()- ClassLoader support for named manifests (see ClassLibrary.h - POCO_EXPORT_NAMED_MANIFEST)- POCO_WIN32_UTF8: UNICODE #define is no longer required (and no longer automatically defined in POCO_WIN32_UTF8 is defined)- PCRE: upgraded to PCRE version 7.1- fixed SF# 1682162: Suggestion on thread priority- fixed SF# 1613460: MSVC/STLPort warnings- fixed SF# 1709358: Format double percent std::String bug- added WindowsConsoleChannel class to Foundation- added AutoPtr::unsafeCast<>() and SharedPtr::unsafeCast<>()- fixed SF# 1708552: Failed to build on arm and powerpc- fixed SF$ 1708529: Failed to build using GCC 4.3: missing #includes- fixed SF# 1710053: LogStream proposal- fixed a bug involving empty root directories in Windows DirectoryIterator implementation (see http://www.appinf.com/poco/wiki/tiki-view_forum_thread.php?comments_parentId=343&forumId=6)- robustness improvements to ActiveMethod - removed the opportunity for memory leaks in case something goes while invoking the method- made C library usage more C++-like - use C++ headers (e.g. <cstring>) instead of C ones (<string.h>). Also, use C library functions in std namespace.- added Unicode and UTF8String for improved Unicode support. The Unicode class can be used to obtain the Unicode properties of a character. The UTF8 class provides case insensitive comparison and case conversion for UTF-8 encoded strings.- added UnWindows.h header file, replaced all #include <windows.h> with #include "Poco/UnWindows.h". See the Poco/UnWindows.h header file for a rationale and explanations.- fixed SF# 1713820: StreamSocketImpl::sendBytes sends too many bytes- File::copyTo(): on Windows, the copy now always has the read-only flag reset, to be consistent with other platforms.- With Microsoft Visual C++, the necessary POCO libraries are now implicitly linked when the corresponding header files are included (#pragma comment(lib, "PocoXYZ.lib") is used). To disable this, compile POCO with the preprocessor symbol POCO_NO_AUTOMATIC_LIBS #define'd (see Poco/Foundation.h and Poco/Config.h).- The Visual Studio project files for the POCO libraries now include configurations for building static libraries. Release 1.2.9 (2007-02-26)==========================- fixed a formatting problem in Util::HelpFormatter- HTTPClientSession::sendRequest() now attempts to send the complete request in one network packet.- improved network performance of ChunkedOutputStream: chunk size and chunk data are sent in one network packet if possible- fixed SF# 1655035: Wrong expires field calculation in HTTPCookie (thanks to Sergey N. Yatskevich for this and other fixes)- fixed SF# 1655049: Fix discrepancy of a code to the description- fixed SF# 1655170: Poco::Timezone::standardName() problem on WIN32- fixed SF# 1629095: POCO_WIN32_UTF8 problem There is a new function Path::transcode() that can be used to convert a path (or any other string) from UTF-8 to the current Windows code page. This string can the be passed as a filename to an fstream or fopen(). This function only does the conversion on Windows, and only, if POCO_WIN32_UTF8 is defined. Otherwise, it simply returns the unmodified argument.- fixed SF# 1659607: Probably a bug in Poco::Net::DialogSocket- HTTPServer network performance improvement: responses that fit into a single network packet sent with HTTPServerResponse::sendFile() or the new HTTPServerResponse::sendBuffer() are sent in only one packet.- added HTTPServerResponse::sendBuffer()- HTTPServer now sends a Bad Request response if it fails to parse the HTTP request header.- HTTPServer now sends an Internal Server Error response if the request handler throws an exception prior to sending a response.- enabled TCP_NODELAY per default on TCPServer/HTTPServer- fixed a bug in HTTP persistent connection handling (server does not send Connection: close when it reaches connection maximum)- HTMLForm - POST submission of URL encoded form no longer uses chunked transfer encoding (thus improving interoperability with certain web servers)- integrated Environment.cpp from Main (missing get(var, default))- added missing AutoPtr include to Util/Application (and using Poco::AutoPtr is no longer necessary for POCO_APP_MAIN macro)- fixed SF# 1635420: Per Regents of the University of Calfornia letter, remove advertising from BSD licensed parts- fixed SF# 1633133: MultipartWriter writes superluous CR-LF at beginningRelease 1.2.8 (2007-01-04)==========================- fixed SF# 1613906: Util/Application.h and GCC 3.3- fixed a byte order issue (failed test) in IPv6 address formatting- fixed SF# 1626640: Poco::Net::SocketReactor bug- fixed client side chunked transfer encoding handling- fixed client side persistent connection handling- fixed SF# 1623536: HTTP Server Chunked Transfer Encoding Bug- improved HTTP server exception text- fixed SF# 1616294: KeepAlive HTTPServerSession patch- fixed SF# 1616296: Trivial Poco::TaskCustomNotification patch- fixed SF# 1619282: PurgeStrategy bug fix- fixed SF# 1620855: Format problem there is a new format specifier %z for std::size_t, as well as a new flag ? for %d, %i, %o, %x meaning any signed or unsigned integerRelease 1.2.7 (2006-12-07)==========================- Poco::File: fixed root directory handling- fixed UUIDGenerator documentation- clarified Application::setUnixOptions() documentation- fixes for issue [SOAPLite Transport 0000023]: SOAP Transport Listener should be able to use existing HTTPServer instance- fixing mantis issues 13, 14, 15, 16, 17, 18, 19, 21- fixed SF# 1597022: Signed/unsigned warning in StringTokenizer::operator[]- fixed SF# 1598601: Message::op= leaks- fixed SF# 1605960: PatternFormatter crashes on custom property- fixed SF# 1605950: Memory leak in Logger sample code- fixed SF# 1591635: Copy Paste Error in sample code- fixed SF# 1591512: SMTPClientSession response stream- fixed SF #1592776: LayeredConfiguration: getRaw should enumerate in reverse order- SF Patch # 1599848 ] VS 2005 Util build fails- Logger::dump() now uses std::size_t instead of int for buffer size- LayeredConfiguration now supports a priority value for each configuration. Also, it's possible to specify for each configuration added whether it should be writeable.- ServerApplication: cd to root directory only if running as a daemon- added Message::swap()- improvements to build system: global Makefile has correct dependencies for samples on Windows, samples build after libraries are ready configure supports --no-wstring and --no-fpenvironment flags build system supports POCO_FLAGS environment variable for compiler flags- RemoteGen: fixed error handling for write protected files (SystemException) fixing integral constant overflow messages with large cache expiration, m_ support for type serializers, case-insensitive comparison addedRelease 1.2.6 (2006-11-19)==========================- added additional match() method to RegularExpression and documented the fact that the simple match() method internally sets RE_ANCHORED and RE_NOTEMPTY.- added ExpirationDecorator template. Decorates data types so that they can be used with UniqueExpireCaches- added operator ! to AutoPtr and SharedPtr- Buffer uses std::size_t instead of int- added poco_ndc_dbg() macro (same as poco_ndc(), but only enabled in debug builds)- Foundation.h now includes Config.h at the very beginning.- added AutoPtr::assign() and SharedPtr::assign()- added operator () to AbstractEvent
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -