From: <log...@li...> - 2023-02-11 15:09:59
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Log4cpp Git repository.". The annotated tag, REL_1.1.4rc1_Feb_07_2023 has been created at 6602f836a9e4c25aeb0f4afd7687b5d46417e019 (tag) tagging 6448ecddc8d7fdf2179bbce574cec7341181295c (commit) replaces REL_0_2_6_RC1 tagged by Alexander Perepelkin on Sat Feb 11 19:07:07 2023 +0400 - Log ----------------------------------------------------------------- log4cpp-1.1.4rc1, 07 Feb 2023 Aaron Ingram (5): fixed default port for syslog added a sample configuration file for SimpleConfigurator * Fixed default port for syslog in SimpleConfigurator.cpp * Added a sample configuration file: log4cpp.cfg added LOG4CPP_EXPORT to export Priority class from the DLL (Win32 only) Priority.hh: added LOG4CPP_EXPORT to export Priority class from the DLL (Win32 only) Alexander Perepelkin (51): little doc syntax fix Fix for bug 2940452 Fix for bug 3109495 Fix for bug#3198140 testcase for fix of bug#2826590, Bug in StringUtil.cpp Fix for thread id unsigned #1252614 Number history files in RollingFileAppender so that they can be lexicographically ordered by name properly small optimization to avoid invokation of thread-specific routines each time when a string is constructed from a log event MSVC 2010 support. Project files converted for msvc10 and adjusted. Fix for test of logging into windows events. remove historical .vcproj files Fix for test of logging into windows events. new index html thanks upd ) fix for bug#1579890 Fixes for BCB5 project Main html file edit: note about rel. 1.1.1 fix for bug#137, for strings longer than 256 chars, and test for this case Bug #136 - CRLF for *.dsp Copyright notes, .gitignore copyright notes for src/ Add multithreading answer, formatting options Add remote-syslog and smtp configure features (enabled by default). Add SmtpAppender to the automake sources. (by Eric Simard) options to disable syslog and smtp appenders are documented adding DailyRollingFileAppender to build DailyRollingFileAppender and tests for it: Linux, msvc2010 DailyRollingFileAppender: add empty nested dirs update start page Merge branch 'master' of ssh://git.code.sf.net/p/log4cpp/codegit Add configuration targets into tests for ConsoleAppender mem leak solution for all appenders config fixes; rem commented line Merge branch 'bug-139-mem-leaks-alltogether' of ssh://git.code.sf.net/p/log4cpp/codegit bug-140: removed std::cout when file rollover bug-142: conservative fix bug-141: conservative fix Fix for reported patch-45, plus tests and minors src/PThreads.cpp small rename LOG4CPP_EXPORT fix for bugs-143 Add missing config.h/Portability.hh include bug-145: fix daily rolling; add manual test to see rolling daily test support for windows test daily rolling: disable test which changes dates ChangeLog doc update fix for bug 146 by Ryan Schmidt fix for bug 147 - Being prepared for Removing Deprecated Exception Specifications from C++17 ChangeLog Patch #49 C99 compatibility fix for snprintf configure check. Do not call the undeclared exit function. This avoids an implicit function declaration, which future compilers may reject by default. (Florian Weimer, @fweimer) Andrew Brown (1): PropertyConfiguratorImpl: add target property to allow printing to STDERR Bastiaan Bakker (315): Added Glenn Scott. Added PatternLayout contributed by Glenn Scott. Is not in autoconf setup yet. Integrated PatternLayout with autoconf. Does not pass make check yet, grrr. Made all strings true member variables. Coincidentally fixes PatternLayout. PatternLayout integration changes. src/Priority.cpp: fix conversion from PriorityLevel to PriorityName. getPriorityName(): use index 'priority' instead of 'priority - 1'. Added simple configurator class contributed by Glenn Scott. Not usable yet. Added empty Makefile.am Added support for sstream predating c++ stream libraries. Added bcb5/testPattern/Makefile to AC_OUTPUT. Added getPriorityValue() method. updates for configure.in, Priority and PatternLayout. in setAppender(Appender*): allow NULL Appender parameter. Added private copy constructor and assignment operator (pointed out by Shane Baker). Fix /bin/sh incompatibility on Solaris. Removed carriage returns. Use contructor for FixedContextCategory instead of assignment. escape $* Updates to FixedContextCategory and m4 macro. added support for comments in config file (starting with a '#'). added support for SyslogAppender. use Priority::getPriorityValue() to convert priorities. added test for SimpleConfigurator. integrated SimpleConfigurator in autoconf. added micro second precise time stamp. added test for 'ftime()' function. Use new TimeStamp class. included '%r' in test pattern. Added and integrated new TimeStamp class. replaced #defines with enum. Added TimeStamp, PatternLayout and SimpleConfigurator classes. Added TimeStamp class. added support for RemoteSyslogAppender. Changes to msvc6 & bcb5 project files, RemoteSyslogAppender and SimpleConfigurator. made log4cpp.init check_DATA. read $srcdir for location of log4cpp.init in order to fix distcheck target. updates to tests/Makefile.am and tests/testConfig.cpp sync with #defines in include/log4cpp/config.h. import of Mark Martinecs portable snprintf() 2.2 add static cast from void* to const char*. replace alternative snprintf with one in snprintf.c. Added. Added some #includes for portable snprintf(). Added portable snprintf(). Added config.h for OpenVMS. replaced static_cast with C-style cast: this file should remain C only. use config-openvms.h based on __OPENVMS__ flag. Added openvms build dir. Added Tony Cheung. moved class description to the correct location. added snprintf.c to noinst_HEADERS. Fixes for TimeStamp and src/Makefile.am Moved to include/log4cpp/config-win32.h use TimeStamp instead of ::time(). added config-openvms.h to headers. #define LOG4CPP_USE_CLEANUP. exclude CVS subdir from doc-dist tar ball. fix ref typo for timeb struct. workaround missing << operator for int64_t on MSVC. #define int64_t as __int64, #define LOG4CPP_MISSING_INT64_OSTREAM_OP Fixes for MSVC and doc-dist. Mark PatternLayout and SimpleConfigurator as done. #define LOG4CPP_USE_CLEANUP. Release 0.2.6 use portable_vsnprintf(), not portable_snprintf(). src/Priority.cpp: getPriorityValue(): fix bug in numerical input handling. tests/Makefile.am: added very simple test for Priority. tests/testPriority.cpp: added. Upped release to 0.2.6b decide() is NOT abstract. Added testFilter to tests. fix to Filter.hh and addition of testFilter. added. doFormat(): removed superfluous return statement. #include <inttypes.h> for int64_t. Fixes for OpenVMS from Tony Cheung. fix int64_t for Borland compiler. inherit from LayoutApppender instead of AppenderSkeleton (Bug #499524). skip space before PatternLayout pattern (Bug #500766). fix screwy fix for Bug #500766, now using Alex' method. (Obsoletes Patch #500832). skip all whitespace before PatternLayout pattern, not just one. added RollingFileAppender contributed by Alex Tapaccos. added check for strcasecmp() and stricmp(). have stricmp() but not strcasecmp(). added SyslogFacility type. fix bug #504314: added missing log methods for priority 'fatal'. added 'stdout' and 'stderr' appenders. added Category::exits(std::string). removed RollingFileAppender, to be replaced with DailyRollingFileAppender. merged in support for multiple Appenders, contributed by Brendan B. Boerner. upped version to 0.2.7rc1 and LT_VERSION to 3:1:2 rename appender 'default' to 'default2'. fix ownsAppender() methods. Updates to Category.cpp, testCategory.cpp and configure.in. replaced setAppender() with addAppender(). replaced setAppender() with addAppender(). update doxygen comments. sync methods for multiple Appender support. updates for multiple Appender support. Added missing getAppender(Appender*). added summary for 0.2.7 release updates to NEWS and src/FixedContextCategory.cpp. fix bug #506907 (MSVC++ compile failure) with ::dup(fileno(stdout)) upped version to 0.2.7rc2 added more measurements, using crude cut&paste of code. removed superfluous class qualification for ownsAppender(). dded bcb5/testConfig/Makefile to AC_OUTPUT set release date for 0.2.7, added bug #506907 fixed. set EXTRA_DIST. upped version to 0.2.7. Release 0.2.7 add missing 'std::'. doAppend(): correct comparison of _threshold against event priority (bug #513481). Added. Correct file name. Added. added. ScopedLock is now an integer. Added threadsafety provisions. added threadsafety provisions. integrated check of omnithreads. Mulithread support updates. Replaced #include"" with #include<> added #include of Portability.hh replaced #include"" with #include<> added Mutex for _allAppender map. added some platform specific build instructions. replace "long long" with int64_t fix typo added missing Mutex added Doxyen comments. upped release to 0.3.0 and LT version to 4.0.0 added section about ./configure options Added Status section release 0.3.0 Release 0.3.0 added missing 'std::' specifiers. (bug #530332) fix format string bug. (bug #527475) added configure(std::istream&) method. (feature request #527760) set variable to NULL after delete. (feature request #527393) Added documentation comments. added getAllAppenders() method. (feature request #527381) fix invalidated iterator usage. (bug #527467) Added missing std:: specifiers. Added. added 'append' and 'mode' options. added warning. added RollingFileAppender contributed by Paulo Pizarro <pau...@di...> #include <stdint.h> and remove $GCC check. #include <stdint.h> back out strcasecmp() stuff. compatilibty improvements. Disable exception specifier warnings (issue #536668) fix previous fix for bug #527467. Increment version to 0.3.1. Added RollingFileAppender and threading files. Added RollingFileAppender add -Wno-unused to g++ options. Release 0.3.1 test for i386 architecture on linux (patch #541608) added mode_t typedef. added #define of HAVE_STDINT_H. #include <stdint.h> only if available. explicitly remove oldest file in rollOver() because win98 cannot rename() to existing files. (Paulo Pizarro) convert *.bpg files to CRLF in dist.(Paulo Pizarro) dded Win32DebugAppender contributed by Alan Anderson. fix compilation in Visual .NET. Added aclocal support fix top level context falling off, if depth > 2. Added David Resnick and Aaron Ingram. added NTEventlog.cpp and DllMain.cpp to sources. enclosed in #ifdef LOG4CPP_SUPPLY_DLLMAIN #define LOG4CPP_SUPPLY_DLLMAIN added NTEventLog.hh added NTEventLogCategories. Upped version to 0.3.2rc1 Changed return type of getCurrentCategories() to std:vector<Category>. vector<> is more efficient than set<> and works around MSVC++ DLL export brain damage, see Microsoft Q168958. Fix documentation buglet. integrated PropertyConfigurator contributed by Alan Anderson <al...@ru...>. added PropertyConfigurator files. accept '-1' for facility and portNumber, implying the 'default value'. changed property names to JavaBeans/log4j style. Use the appender name as name (duh) instead of the 'name' property. Don't set a layout if none have been specified. Use std::string::size_type where applicable. Made some exception messages clearer. Compacted the code a bit. added, moved PropertyConfigurator::parseConfig() to load(). added. This class is a merge of PropertyConfigurator and ConfiguratorSkeleton. ConfiguratorSkeleton is not generic enough to be exposed in the API. leave only 2 static configure() methods, like SimpleConfigurator. The actual implementation is now in PropertyConfiguratorImpl. removed added, contains ConfiguratorSkeleton::trim(). fix signed/unsigned comparison warning. remove -pedantic flag for g++ 2.96 to get rid of those iritating warnings about std IOstreams code. Added: StringUtil.hh, StringUtil.cpp, Properties,hh, Properties.cpp, PropertyConfiguratorImpl.hh, PropertyConfiguratorImpl.cpp. Removed: ConfiguratorSkeleton.cpp Removed ConfiguratorSkeleton.hh replaced #include <string.h> with <cstring>. Changes to PropertyConfigrator related classes. use getString(), etc. to get properties. fixed documentation buglets. added BasicConfiguator. Added BasicConfigurator. Updated documentation. added Log4j style variable substitution: ${NAME} will be substituted with environment variable NAME or if not found with property NAME. '${${}' denotes a literal '${' sequence. added split() method. changed the way configuration is done: first instantatiate all Appenders defined in the config, then add them to Categories where necessary. Multiple Appenders per Category are now supported. Currently doConfigure() leaks all Appenders, as they will be not be owned by any Categories. This will be fixed in the future by having the LoggerRepository maintain ownership of all Categories, Appenders, etc added a more generic split() method taking an output_iterator instead of a vector to store the result. renamed addAppenders() to configureCategory(). fixed configureCategory(): had a nested loop for priorities and appenders. replaced find(property, '.') with StringUtil::split() in several places. fixed configureCategory() fix. use std::string::size_type instead of int. use map.lower_bound() to determine begin and end for appender and category properties. renamed to configure.ac. updated AC macros and variables to autoconf 2.50. autoconf updates. put names[] in anonymous namespace instead of declaring it static. This should solve Solaris 8 dynamic library problem (see patch #583905). added some doxygen comments removed a debug print statement. added 'append' property for FileAppender. added. Crude initial pthreads check. Need to nick a good macro somewhere else :-) added 'thread safity' defines, needed at least for STL. added Emimiliano. added test for POSIX threads. added POSIX threads support file contributed by Emiliano Martin. add PThreads.hh Added POSIX threads support, contributed by Emiliano Martin. fill in the thread Id. added new index page and move Doxygen generated docs to api subdirectory. Documentation updates. renamed configure.ac back to configure.in due to bug in libtoolize 1.4.2 converted most documentation to HTML. fix log4cpp-config creation (use PACKAGE_TARNAME instead of PACKAGE) correct constness of constructor parameters, as pointed out by James Emery. update version and product info. added comments. added lock to getAllAppenders(). more documentation updates. Added. Added testProperties and testPropertyConfig. Replaced #include "log4cpp/X" with #include <log4cpp/X> Release as 0.3.2rc2 Added SourceForge logo. added mainPage.txt. added doc/html to automake. Fix file paths. Added .properties files. Fix uninstall. Fix uninstall target. Fix typo in uninstall, I better go to bed now. Finally fix uninstall? Fix distclean-local added distclean-local targets. predefine 'WIN32' as suggested by David Resnick. include/log4cpp/Win32DebugAppender.hh: added warnings about platform dependency. Added #error messages. Release as 0.3.2rc2 add std::. use reinterpret_cast<>. Release 0.3.2rc3 (fixed some show stopping mess ups). Upped release to 0.3.2rc3 Added MSThreads.hh to Makefile.am Added CVS section. put #ifdef WIN32 around #include of NTEventLogAppender and Win32DebugAppender. Merged patch #604991, contributed by Richard Brodie: support for setting additivity via properties file using 'log4j.addivity.<categoryname>=[true|false]'. Added terminating newline to file. dded *Threads.cpp files moved bodies of getThreadId() to .cpp files. Merged patch #605143, contributed by Harald Wellman: support for compilation in QNX Neutrino. fix relocatability of log4cpp-devel by patching lib/liblog4cpp.la and bin/log4cpp-config in %post. Unfortunately this results in 'rpm --verify' reporting these files as modified. fixed log facility in _append(), as reported by Derek Atkins. multiply syslog facility value by 8. fix compilation problem on Sun CC 5.3 (bug #614903). Added missing makefiles. added notes for 0.3.2 and 0.3.2rc5 0.3.2 release. Added testMain subdir don't require log4cpp for log4cpp-doc. fix install location. updates to log4cpp.spec.in and doc/Makefile.am added #include<string> added tests for format specifiers and more. replaced PatternLayout implementation: it now preparses the message format for quicker layouting and implements format specifiers, e.g. '%-5p worked around header definition bug in MSVC by aliasing cstdlib/cstring functions in 'std::'. See #628211 added parentheses to return statement in _get() as suggested by Derrick Hastings to fix #415160. added default conversion patterns. Generated file, should not be in CVS. Release 0.3.3 Moved OstringStream::vform() to StringUtil. if no <sstream> available, define std::ostringstream. Replaced all OstringStream occurences with std::ostringstream. removed Log4cppCleanup, it was kinda broken anyway. Added. Added BasicConfigurator. define static constant strings in TimeStampComponent outside class declaration. added missing 'std::'. fixed signed-vs-unsigned comparison warning. Let both trim() implementations return unsigned int. Release as 0.3.4 added workarounds for abs() and strftime() and localtime() not being defined in std:: on MSVC6. See bug report #630334. Release as 0.3.4b Added tests. Added AbortAppender. corrected library version. Fix Mutex copy bug (#645270) as suggested by Robert Ballarin. install HTML documentation in /var/www/html/manual/log4cpp. fixed handling of large messages and buffer deallocation in _append() as reported by Benety Goh. Added delete[] to make valgrind happy. added AbortAppender. added missing layout methods. use correct type for _ipAddr. Pointed out by Andrew Morrow. Current fix most likely breaks some platforms that don't define in_addr_t. added link to SuSE RPMS built by Pascal Bleser trim property keys and values. Fixes bug #710164. added \r and \n to whitespace characters. fixed bug #710164 don't create a default appender for the root category. (bug #648341) added log4cpp.m4 to -devel package. added pkgconfig file ConversionPattern instead of pattern (patch #692193). fix bounds problem on logging messages (bug #688715) added test for bug #688715. correct type of _minWidth and _maxWidth have main() return 0; (bug #718941) added testNTEventLog.cpp to EXTRA_DIST (bug #718941) fix for bug #648341 added support for configuring LocalSyslogAppenders. added missing '%t' thread name specifier (support request #753974) use ac_config_libconfig_in macro. added fixed 'underquoted definition' warning Cedric Le Goater (3): Added rdtscl() macro from <asm/msr.h> which disappeared on RedHat 7.3 Added aclocal support Added aclocal support David Resnick (25): Merge of Aaron Ingrams MSThreads patch. Addition of NTEventLogAppender. See ChangeLog for more details. PropertyConfiguratorImpl.cpp and Properties.cpp added, ConfiguratorSkeleton.cpp removed. Test of win32 platform log4cpp dll, including export of container classes. log4j style date formatting added. Tests PatternLayout, especially date formatting. testDLL and testPattern projects added. PatternLayout date formatting and minor (mainly MSVC6) adjustments. Surrounding quotes added around invalid priority in thrown invalid_argument exception. Added RollingFileAppender, NTEventLogAppender. Threshold attrib added for appenders. Invalid priority in configureCategory prints message of invalid_argument exception. Appenders added to PropertyConfigurator. Test for PropertyConfigurator added. Test for PropertyConfigurator. Version property sheet added to DLL build. DLL version resource cleaned up. Documentation fixes. src\Properties.hh added. Building of NTEventLogAppender.dll (message file) made a little more robust. Added boost threads (for version 1.28.0), and build for using STLport 4.5.3. Tested under MSVC 6. Doc fix. Added definition for in_addr_t Updated version number. Added abort to std:: namespace wrapping. Added abort appender. Added boost threads and build for STLport (for MSVC 6). Replaced including winsock2.h with the definition of u_long. Now using int64_t defined in boost. Francis ANDRE (37): partial port of log4cpp to MSVC 7.1 (except stl/boost) no message Changing return type of getDepth from int to size_t fix various size_t/int discrepancies Fix type: JDEBUG to DEBUG Fix path of starting directory Add LOG4CPP_EXPORT for win32 dll Align literals for a better visibility use correct type SOCKET for win32 use size_t instead of int for getDepth disable warning 4275 for vc7.1 add constant that defines the maximum size of the Priority message so that one gets a clean alignment on ostream Add CategoryStream::width() member Add alias of EOL, eol as ENDOFLINE Align code use size_t instead of int Avoid warning Output priority literal as a MESSAGE_SIZE message, left alligned Output priority literal as a MESSAGE_SIZE message, left alligned Add CategoryStream::width() member Add alias of EOL, eol as ENDOFLINE set MESSAGE_SIZE to 8 instead of 10 *** empty log message *** no message Updating version to 0.3.5 no message Add CategoryStream manipulators: width & left so that one can write categorystream << width(10) << left; Add CategoryStream manipulators: eol & left so that one can write categorystream << width(10) << left << "log4cpp" << eol; Add CategoryStream manipulators: width & left so that one can write categorystream << width(10) << left; Fix LOG4CPP_IMPORT for using log4cpp as dll Add missing CategoryStream::operator<<; Fix CategoryStream::eol(CategoryStream&) Surround file.mc path by quotes for handling embedded space. *** empty log message *** *** empty log message *** Change RC.exe to rc.exe so that all commands are in lower case Put path into " " so that path with embedded spaces could work too Add eol & endline enum to comply more on coding style as the iostream endl Initial revision. Initial revision. Missing LocalTime.hh & LocalTime.cpp Thomas Wabner (21): changes for release 0.3.5rc2 added newline at end of file fixed template bug on linux [intern] new version string [bug] added missing header [intern] fixed msvc6 build system [bug] changed dos2unix file content and applied patch from Amanjit Gill [bug] added forgotten AbortAppender.cpp entry [intern] changed wron LF to unix LF back [intern] added missing additional include directory entry [intern] some cleanups [bug] fixed build problem under linux [intern] added forgotten header file. make distcheck should work now [feature] changed version to 1.0 [intern] changelog for the 1.0 release [intern] changes by Tan Meng YUE to have the cmake stuff available [feature] cmake file from Tan Meng YUE to compile the library on various platforms with cmake [bug] fixed 2789510 -- CFlags in log4cpp.pc incorrect -- removed extra flags from CFLAGS and CXXFLAGS [bug] fixed 2830158 -- MinGW: 'std::ostringstream' has a previous declaration -- added missed config-MinGW32.h to list of makefiles [intern] changed version information to next iteration; next version will be 1.1; LT_VERSION changed from 5:5:0 to 5:6:0 [bug] fixed 2736791 -- compiler problem with MSVC-8(2005) -- applied patch from bug entry Tony Yat-Tung Cheung (5): Add some OpenVMS specific parameters when opening a file. The changes allow other users to perform a type/continuous on the log file, a unix equivalent of tail -f. Removed OpenVMS specific switches for open(). The previous switches make logging very slow. For OpenVMS usage, users may have to modify this class to pass on additional switches to the open() call. added detail instructions for compliation for OpenVMS cosmetic changes in reopen() only close the file descriptor if the file descriptor is not -1 set the file descriptor to -1 after closing it Uwe J.ger (2): Verify port to Borland C++; see ChangeLog for details Port to BCB5 for 0.2.7 RC 1 darkangel (48): Added Factories support. Added new PassThoughtLayout and BufferingAppender. Added triggering facility for BufferingAppender *** empty log message *** Remove debian line *** empty log message *** *** empty log message *** ... 48 lines suppressed ... hooks/post-receive -- Log4cpp Git repository. |