📄 changelog
字号:
- TCPStream "printf" method.- varous slog methods (error, info, etc) can do varargs.- setAutostack used as global means to tune posix stack usage.- emulate detached for w32 and detached threads now auto delete on exitFrom Common C++ 2 1.0.0 to 1.1.0 (beta set)- include/cc++/socket.h: doc. updated to new constants and Win32 implementation- src/xml.cpp: bug fixes from Norber Koch.- doc/Doxyfile and many header files: fixed doxygen warnings and included demos- doc/commoncpp2.texi, doc/fdl.texi, doc/fdlnotice.texi, doc/gpl.texi: OVERVIEW.TXT formatted in texinfo and partially updated.- doc/developer/CodingStyle and doc/developer/PortingProblem incorporated to doc/commoncpp2.texi- win32: appended d to MSVC debug libraries. Fixed warnings from VC7.- include/cc++/url.h: splitted into url.h and urlstring.h so that ccgnu2.dll does not depend on ccext2.dll.- start of experimental GNU Common C++ "ssl" stream class support and new libccssl library.- "common.reg" for win32 registry initialization of CONFIG_KEYDATA stuff planned.- src/url.cpp: small fix from David Genest.- src/date.cpp, include/cc++/numbers.h: patches from Norbert Koch- configure.in, include/cc++/xml.h, src/xml.cpp and url.cpp, win32/cc++/config.h: HAVE_SSTREAM #ifdefs- src/simplesocket.cpp, include/cc++/socket.h, src/Makefile.am, win32/Makefile.gcc, win32/ccgnu2.dsp: added SimpleTCPStream from Mark Millard- commoncpp2.spec.in, Makefile.am: fixes for correctly building rpms from Marcelo Dalmas- piostream from Daniel E Baumann. acconfig.h, configure.in: added --with-piostream configure option. new headers in include/cc++/: piostream, pistream, pistream.tcc, postream, postream.tcc, pios, piosfwd, pios_init.h (Makefile.am also updated) new sources in src/: pios.cpp, pio_globals.cpp (Makefile.am also updated) new demos in demo/: pio.cpp (Makefile.am also updated) win32/Makefile.gcc, win32/CCXX2demo.dsw, win32/demo/pio.dsp src/private.h, include/cc++/thread.h: added Thread::getThreadID().- fix (constructor parameters) for serialecho demo from Daniel E Baumann.- include/cc++/piomanip, include/cc++/Makefile.am, demo/pio.cpp: added manipulators for piostreams from Daniel E. Baumann.- src/serial.cpp: fixed recursive call in ttystream::close().- exception construction fix.- src/port.cpp: fixed TimerPort::getElapsed() Win32 implementation.- src/thread.cpp:(Win32) sleep(0) replaced with sleep(1) -from Leonard Thornton- acconfig.h, m4/ost_pthread.m4: removed HAVE_ASM_ATOMIC... checks and defines -From Mark Purcell- thread.cpp: siginstall renamed to sigInstall to match declaration in thread.h- src/socket.cpp, src/peer.cpp, src/port.cpp, simplesocket.cpp, unix.cpp: before ::connect, change INADDR_ANY to INADDR_LOOPBACK so that it does not crash on Win32.- include/cc++/socket.h, src/port.cpp: non-blocking outboud tcp connection constructor for SocketPort from Christian Prochnow- include/cc++/xml.h, src/xml.cpp: rearranged xml related #ifdefs.- include/cc++/file.h: File::Access and File::Error are now public.- include/cc++/network.h, src/network.cpp, include/cc++/common.h: new NetworkDeviceInfo class, from Christian Prochnow. netdevices demo.- acconfig.h, m4/ost_reentrant.m4, include/cc++/exception.h, include/cc++/ftp.h, include/cc++/socket.h, src/exception.cpp, src/ftp.cpp, src/port.cpp, src/socket.cpp, demo/tcp.cpp: better error/exception messages for socket classes, from Christian Prochnow.- include/cc++/numbers.h: CCXX_CLASS_EXPORT Time and DateTime.- include/cc++/digest.h, src/sha.cpp, demo/shadigest.cpp: new SHA1Digest and SHA256Digest classes, from Elizabeth Barham.- src/file.cpp: fixes for open, fetch, update and append methods from Andrew L. Shwaika- src/ost_check2.m4: added OST_CCXX2_XML, from Ari Johnson.- include/cc++/thread.h, src/thread.cpp: added support for periodic itimer based timers, from Jakob Skov-Pedersen.- include/cc++/thread.h, src/thread.cpp: added Thread::join, from Jakob Skov-Pedersen.- configure.in, src/Makefile.am demo/Makefile.am, tests/Makefile.am, and several source files: added '-Wall -ansi -pedantic' compiling options and corrected the warnings that show up, from Albert Strasheim.- src/thread.cpp: detached threads created with detach attribute.- src/thread.cpp, include/cc++/thread.h: isDetached() support.- src/thread.cpp: close fix if deleted, detached threads loose parent.- demo/thread3.cpp: test whether thread cancel unwinds stack frame and calls destructors on auto objects.- src/dir.cpp, include/cc++/file.h: dir object has close member now.- include/cc++/socket.h: added InetAddress assignment operator from unsigned int, from Mark Purcell and Gerhard Tonn.- include/cc++/urlstring.h, src/urlstring.cpp: new b64 encode and decode methods for string. From Chad Yates.- configure.in, src/Makefile.am: added --with-cppunit option and WITH_CPPUNIT_TESTS conditional.- tests/Makefile.am, SampleObject.h, SampleSubObject.h, Test_Date.h, Test_Digest.h, Test_Engine.h, Test_SHATumbler.h, Test_URLString.h, ccxx_tests.cpp SampleObject.cpp SampleSubObject.cpp, Test_Date.cpp, Test_Digest.cpp, Test_Engine.cpp, Test_SHATumbler.cpp, Test_URLString.cpp: new cppunit based test suite, From Chad Yates.- win32/CCXX2tests.dsw, win32/tests/ccxx_testsuite.dsp: added project file for the new test suite, from Chad Yates.- tests/Test_TCPStream.h, tests/Test_TCPStream.cpp: new test, from Chad Yates.- include/cc++/socket.h, src/socket.cpp: new read and write methods for socket, and new getInterfaceIndex and join (with interface specifier) methods, from Donald Wycoff. From Common C++ 2 1.0rc2 to 1.0.0- Added timeout optional parameter to TTYStream and URLStream constructors.- include/cc++/strchar.h: removed deprecated and unused #include <strstream>.- rpm specs updated to build optional extras package and devel package.- include/cc++/ftp.h, src/ftp.cpp: fixed namespaces.- src/url.cpp: more improvements from Norbert Koch. removed #include <strstream>- template/template.h: removed cc++/string.h and cc++/objkeys.h (missing)- Other fixes so that all templates compile. From Common C++ 2 1.0rc1 to Common C++ 2 1.0rc2- url.cpp split between url.cpp and urlstring.cpp; urlstring.cpp part of libccgnu2.- ccgnu2-config reports version as "1.0.0" to fix problems with config scripts. From Common C++ 2 0.99.7 to Common C++ 2 1.0rc1- updated mingw32 support from Frederico!- post updates for even better mingw32 builds...- all win32/posix sources merged.- new ccgnu2.dll and ccext2.dll split dll build.- include/cc++/digest.h: CRC32Digest exported for dll's- include/cc++/xml.h, src/xml.cpp: XMLRPC fixed and improved with patches from Norbert Koch. Now uses the newer <sstream> rather than <strstream>.- include/cc++/digest.h, include/cc++/slog.h: removed unused <strstream> -nkoch- src/mempager.cpp: added std namespace to endl -nkoch- include/cc++/misc.h: used the [] version of delete -Mike Suchoff- some persist patches from Pierre Bacquet.- PersistException now derived from Exception.- XML support, demo and tests workspaces for MSVC++. From Common C++ 2 0.99.6 to Common C++ 2 0.99.7- slight restructure of libs and we make sure -lc_r is inserted for FreeBSD- support --with-pthread= option to specify pthread library directly.- support for new pthread flag and function tests- support for virtual i/o methods in URLStream for possible async i/o override.- win32 serial support from Leonard Thornton.- serial i/o can be overloaded for async i/o methods.- added --with-linuxthreads option for FreeBSD with Linux threads support.From Common C++ 2 0.99.5 to Common C++ 2 0.99.6- fix for freebsd build and ports- addition of kdevelop project- added getCount to Keydata- added configure --with-ftp option- fix for FreeBSD segfault when destroying main thread!- cygwin dll builds now work automatically with latest cygwin!From Common C++ 2 0.99.4 to Common C++ 2.0 0.99.5- fixed memory leak in thread creation?- fix small bug in regression test.From Common C++ 2 0.99.2 (2pre2) to Common C++ 2 0.99.3 (2pre3)- fixed compile with STLport (tested on Linux and FreeBSD)- use only needed include (including all cause some problem with gcc 2.95.3)- compile getopt_long if not available- SocketService now work on win32- Removed global sleep and yield- Make Thread::sleep and Thread::yield static members- fixed bug in StringTokenizer- Added constructor to PosixThread- used private implementation for Thread- removed global ccxx_sleep and ccxx_yield- made Thread::sleep and Thread::yield static member- Fixed bug on cygwinFrom Common C++ 2 0.99.1 (2pre1) to Common C++ 2 0.99.2 (2pre2)- cleanup of URLStream- fixed buffer overflow in Socket::readLine- fixed buffer overflow in b64Encode- new base64 function- fix timeout hang using URLStream- fixed socket duplication for win32 - fixed handle leak in thread (win32)From GNU Common C++ 1.9.5 to GNU Common C++ 2 0.99.1 (2.0pre-1)- new "common.h" master include file to simplify library use.- contributed unix socket i/o class.- fixed memory leak when calling getThread from non Common C++ thread.- updated some documentation- put some global enum inside class (URLStream and Thread)- implement SocketPort/SocketService in win32 (not stable, test required) (ReadFile on anonymous pipe is blocking... it not work)- getThread in win32 now alloc a new Thread class- correct Thread::isRunning behaviour in win32- start implementing THREAD_CANCEL_MANUAL on win32- other minor fix on win32 implementation of Thread- Anad Narwi's url interface binding patch.- fix for some problem with Solaris and some version of g++- fix for detecting atomic operations on no i386 machine- made some automatic regression tests (tests directory)- fix md5 calculation on 64bit machine (like alpha)- fix some buffer overflow on base64 encoding- fix memory leak and signal registering problem on Thread class- many other small fixes- written a coding style convenction (see doc/developer/CodingStyle) and applied to code (this broken compatibility with old cc++1)- change include method assusing uniqueness (<cc++/xxx.h> even for cc++2)- added a common.h header to include all stuff of cc++ with a single includeFrom Common C++ 1.9.4 to 1.9.5- xml.h header fixes.- some fixes from Vladimir Kokovic.- new "win32/Makefile.gcc" to build mingw32 cross targets.- lots of changes for suspend and such from Freddy.- some AIX cleanups from Bernhard Tummer.From Common C++ 1.9.3 to 1.9.4- cygwin and pthread_suspend/continue support!- virtual to add to generated http headers.- fix for Solaris and atomic- XMLRPC core support.- base64 character encoding.- patch from Barnaby Gray for SocketPort.From Common C++ 1.9.2 to 1.9.3- fixup of defines.- fix of UDPSocket::getPeer- can use --without-xml to disable xml support.- LoadPrefix option for keydata parsing.- slog patch for locals from Marcelo- date patch from MarceloFrom Common C++ 1.9.1 to 1.9.2- many small changes for HP/UX and other oddities from Peter Koerber.- support for echo in slog.- fixes in udp for use with new ccrtp release.From Common C++ 1.9.0 to 1.9.1- small fixes in socket code.- fix for gcc 3.0 problems in new code.- make sure sigwait always shielded by HAVE_SIGWAIT2.- a lot of corrected headers for win32 exports.- some fixes for older gcc compilers.From Common C++ 1.5.1 to 1.9.0- unsigned long arg for setCompletion for win32.- mutex change for win32.- Federico's patch for atomic counters with old kernels.- Merged source trees for pending 2.0 release.- Frederico's patchs for multicast for use with ccrtp.- fixed FILE_GET_METHOD to close any leftover socket first.- fixed close socket in file open in URLStream.- added syslog test and generic syslog support.- added Slog to win32.- Date and Time classes being added.- number manipulations and random number generation being added.- cvs COMMONV2 defined in automake for splitting release builds.- cvs configure.in has new flag option for --with-v2.- added string.h for 1.6.1 and above so people can get used to using it.- timeout fix for TCPSTream from Tommi Makitalo.- "ost" namespace support added.- new Exception class hierarchy.- dynamic loading info exported thru ccgu-config.- source directories merged and libraries redistributed.- Common C++ template library added.From Common C++ 1.5.0 to 1.5.1- some further changes and corrections for gcc 3.0.- fix from adam for autoconf 2.50 bug.- namespace tweaks.- added COMMON_XML_PARSING to test for XML support.- new contributed socket port demo.- added Wallace Owens patch to support NoDelay socket option.- added Craig Emery's patch for port numbers in urls.- changed DSO loader by adding alternate constructor to pass lazy option to dlopen linker.- big change in auto-detect for iostream support. Old style iostream constructors with explicit init now used when autoconf detected. This fixes segfaults for many older C++ ansi libraries.- setLinger option added for ending sockets.- some Solaris patches from Radu Greab.From Common C++ 1.4.3 to 1.5.0- fix for out of data exception handling in persistance engine.- added timeout option to Readline() method.- added timeout to TTYStream and TCPStream object for future timed i/o.- changed slog.open() to support basis for win32 slog and portable use of passing argv[0] to get a daemon name and in win32 a log file path.- timeout control for underflows and url streaming.- added Conditional to posix synchronization objects.- changes for gcc 3.0- added elapsed time for timer ports.- better support for thread priority scheduling.- SysV semaphore support option.- setCompletion now bool and in socket "flags".- streaming and timeout fixes based on suggestions from Macro Coulombe.From Common C++ 1.4.2 to 1.4.3- fix for freebsd build checks.- inf. timeout in wait event.- InetAddress count initialization and delete of null lists.- no longer use shutdown when closing sockets in case the object was "dupped" since newer kernels pass shutdown thru all instances.- make friends __EXPORT in win32 as suggested by Hwu- added Wolfgang Schmieder's changes to enable common directory to be used with MSVC project.- fixed execHandler to set _tid to self.- patch from Eric Peters related to polling with timer signal handlers.- added Suspend and Resume to win32 threads.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -