You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rm...@apache.org on 2021/03/09 00:20:47 UTC
[logging-log4cxx] branch master updated (025b0c0 -> d43c8d2)
This is an automated email from the ASF dual-hosted git repository.
rmiddleton pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git.
from 025b0c0 Merge pull request #52 from rm5248/log4cxx-qt
new 97ae293 Require C++17
new 8900907 Remove useless APR includes
new 2ce9235 Removal of non-standard mutex
new d6bbe85 Removed templates from locking code
new ac8260a Removal of non-std thread. applied astyle
new b4e30ed Merged in changes from master
new 58a6caf blah
new 49bd883 Fixed deadlock with internal methods
new bcd77eb Fixed deadlocks
new 272bd48 Got XML tests working
new 4ef867b Fixed sockethubappender and telnetappender tests
new be39d19 fixed deadlocks with tests
new 24d3f93 Merge branch 'master' into cpp11-and-better
new c0e3e7f Merge branch 'master' into cpp11-and-better
new 6500b7d Don't delete auto-generated files
new b6db7f4 Library cleanly complies with shared_ptr
new 1d883a0 Added fancy new cast function
new 605baca Converted dynamic_pointer_cast to use new cast method
new cd3921d Fixed some segfaults
new dc3f6f6 Fixed levels to initialize statically.
new 409e5b4 removed debugging code
new 58fb556 removed references to fix some bugs
new b36ef81 Merge branch 'master' into cpp11-and-better
new f6fc6ea Fix issue with TimeBasedRollingTest
new f8f7e00 Range based for loop to make things simpler
new 1df5069 Fix fallbackerorrhandler test case
new 3696386 use std::atomic for additivity
new 17c6727 Rework the generated include file for Windows
new 2c93d8c Changed locking code to std::atomic
new 5d032dd Output the charset log4cxx is using
new 4f27228 Remove all appenders when loading file
new 78aa60c Test version with boost instead of std
new 720d8c7 Merge branch 'master' into legacy-compilers
new d089ad5 output useful information about library classes
new 2cdcf3f updated version of boost-fallback
new e323a59 Print atomic implementation. Also request c++17
new 8d5d33e Remvoed obsolete addRef/releaseRef functions
new 7178208 LOGCXX-517 converted a shared_ptr to a weak_ptr to break a circular reference
new 2a22437 Added the weak ptr to the already existing macro
new ee3cdaa Make sure to NULL-terminate string used for searching
new e2ea367 Reformatted with astyle to remove incorrectly added spaces
new 487a5a8 Make sure to memset ios base on windows
new 3f84292 Only check for shared_mutex, since we are now supporting C++11
new aa3ead2 Since we are depending on C++11, remove code that allows you to switch to boost
new d43c8d2 Merge pull request #53 from rm5248/legacy-compilers
The 2079 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
CMakeLists.txt | 15 +
src/cmake/boost-fallback/boost-fallback.cmake | 86 +++++
.../boost-fallback/boost-std-configuration.h.cmake | 23 ++
src/cmake/boost-fallback/test-boostatomic.cpp | 6 +
src/cmake/boost-fallback/test-boostmutex.cpp | 6 +
src/cmake/boost-fallback/test-boostsharedmutex.cpp | 6 +
src/cmake/boost-fallback/test-boostsharedptr.cpp | 10 +
src/cmake/boost-fallback/test-boostthread.cpp | 6 +
src/cmake/boost-fallback/test-stdatomic.cpp | 5 +
src/cmake/boost-fallback/test-stdmutex.cpp | 6 +
src/cmake/boost-fallback/test-stdsharedmutex.cpp | 6 +
src/cmake/boost-fallback/test-stdsharedptr.cpp | 10 +
src/cmake/boost-fallback/test-stdthread.cpp | 6 +
src/main/cpp/CMakeLists.txt | 7 +-
src/main/cpp/action.cpp | 8 +-
src/main/cpp/appenderattachableimpl.cpp | 19 +-
src/main/cpp/appenderskeleton.cpp | 35 +-
src/main/cpp/aprinitializer.cpp | 10 +-
src/main/cpp/asyncappender.cpp | 148 ++++-----
src/main/cpp/bytearrayinputstream.cpp | 4 +-
src/main/cpp/bytebuffer.cpp | 1 -
src/main/cpp/charsetdecoder.cpp | 34 +-
src/main/cpp/charsetencoder.cpp | 36 +--
src/main/cpp/class.cpp | 2 +-
src/main/cpp/classnamepatternconverter.cpp | 2 +-
src/main/cpp/condition.cpp | 79 -----
src/main/cpp/dailyrollingfileappender.cpp | 2 +-
src/main/cpp/datelayout.cpp | 10 +-
src/main/cpp/datepatternconverter.cpp | 22 +-
src/main/cpp/defaultconfigurator.cpp | 2 +-
src/main/cpp/defaultloggerfactory.cpp | 2 +-
src/main/cpp/defaultrepositoryselector.cpp | 15 +-
src/main/cpp/domconfigurator.cpp | 63 ++--
src/main/cpp/exception.cpp | 24 --
src/main/cpp/fallbackerrorhandler.cpp | 33 +-
src/main/cpp/fileappender.cpp | 54 ++--
src/main/cpp/filewatchdog.cpp | 43 +--
src/main/cpp/filter.cpp | 10 -
src/main/cpp/fixedwindowrollingpolicy.cpp | 45 +--
src/main/cpp/hierarchy.cpp | 120 ++++---
src/main/cpp/inetaddress.cpp | 2 +-
src/main/cpp/integerpatternconverter.cpp | 2 +-
src/main/cpp/jsonlayout.cpp | 5 +-
src/main/cpp/layout.cpp | 10 -
src/main/cpp/level.cpp | 61 +++-
src/main/cpp/levelpatternconverter.cpp | 2 +-
src/main/cpp/loader.cpp | 2 +-
src/main/cpp/locationinfo.cpp | 2 -
src/main/cpp/logger.cpp | 80 +++--
src/main/cpp/loggerpatternconverter.cpp | 2 +-
src/main/cpp/loggingeventpatternconverter.cpp | 2 +-
src/main/cpp/loglog.cpp | 31 +-
src/main/cpp/logmanager.cpp | 27 +-
src/main/cpp/mutex.cpp | 340 --------------------
src/main/cpp/nameabbreviator.cpp | 2 +-
src/main/cpp/objectimpl.cpp | 48 ---
src/main/cpp/objectoutputstream.cpp | 1 -
src/main/cpp/objectptr.cpp | 52 ---
src/main/cpp/obsoleterollingfileappender.cpp | 2 +-
src/main/cpp/odbcappender.cpp | 6 +-
src/main/cpp/onlyonceerrorhandler.cpp | 10 -
src/main/cpp/optionconverter.cpp | 12 +-
src/main/cpp/patternlayout.cpp | 3 +-
src/main/cpp/patternparser.cpp | 45 ++-
src/main/cpp/propertyconfigurator.cpp | 61 ++--
src/main/cpp/propertyresourcebundle.cpp | 4 +-
src/main/cpp/propertysetter.cpp | 6 +-
src/main/cpp/resourcebundle.cpp | 5 +-
src/main/cpp/rollingfileappender.cpp | 34 +-
src/main/cpp/rollingpolicybase.cpp | 18 +-
src/main/cpp/rootlogger.cpp | 6 +-
src/main/cpp/serversocket.cpp | 9 +-
src/main/cpp/smtpappender.cpp | 8 +-
src/main/cpp/socket.cpp | 2 +-
src/main/cpp/socketappender.cpp | 6 +-
src/main/cpp/socketappenderskeleton.cpp | 72 ++---
src/main/cpp/sockethubappender.cpp | 34 +-
src/main/cpp/synchronized.cpp | 96 ------
src/main/cpp/syslogappender.cpp | 39 ++-
src/main/cpp/syslogwriter.cpp | 2 +-
src/main/cpp/telnetappender.cpp | 51 ++-
src/main/cpp/threadcxx.cpp | 355 ---------------------
src/main/cpp/timebasedrollingpolicy.cpp | 40 +--
src/main/cpp/timezone.cpp | 2 +-
src/main/cpp/transcoder.cpp | 6 +-
src/main/cpp/triggeringpolicy.cpp | 10 -
src/main/cpp/writerappender.cpp | 32 +-
src/main/cpp/xmlsocketappender.cpp | 12 +-
src/main/include/CMakeLists.txt | 100 ++++--
src/main/include/log4cxx/appender.h | 11 +-
src/main/include/log4cxx/appenderskeleton.h | 13 +-
src/main/include/log4cxx/asyncappender.h | 24 +-
src/main/include/log4cxx/basicconfigurator.h | 5 +-
src/main/include/log4cxx/config/propertysetter.h | 4 +-
.../include/log4cxx/dailyrollingfileappender.h | 2 +-
src/main/include/log4cxx/defaultconfigurator.h | 4 +-
src/main/include/log4cxx/defaultloggerfactory.h | 6 +-
src/main/include/log4cxx/fileappender.h | 51 +--
.../log4cxx/helpers/appenderattachableimpl.h | 23 +-
src/main/include/log4cxx/helpers/aprinitializer.h | 2 +-
src/main/include/log4cxx/helpers/charsetdecoder.h | 4 +-
src/main/include/log4cxx/helpers/charsetencoder.h | 4 +-
src/main/include/log4cxx/helpers/class.h | 8 +-
src/main/include/log4cxx/helpers/condition.h | 73 -----
src/main/include/log4cxx/helpers/datagrampacket.h | 5 +-
src/main/include/log4cxx/helpers/datagramsocket.h | 5 +-
src/main/include/log4cxx/helpers/date.h | 4 +-
src/main/include/log4cxx/helpers/dateformat.h | 2 +-
src/main/include/log4cxx/helpers/exception.h | 10 -
src/main/include/log4cxx/helpers/filewatchdog.h | 13 +-
src/main/include/log4cxx/helpers/inetaddress.h | 5 +-
src/main/include/log4cxx/helpers/inputstream.h | 4 +-
src/main/include/log4cxx/helpers/integer.h | 4 +-
src/main/include/log4cxx/helpers/loader.h | 2 +-
src/main/include/log4cxx/helpers/loglog.h | 3 +-
src/main/include/log4cxx/helpers/mutex.h | 127 --------
src/main/include/log4cxx/helpers/object.h | 22 +-
src/main/include/log4cxx/helpers/objectimpl.h | 49 ---
.../include/log4cxx/helpers/objectoutputstream.h | 4 +-
src/main/include/log4cxx/helpers/objectptr.h | 246 --------------
.../include/log4cxx/helpers/onlyonceerrorhandler.h | 6 +-
src/main/include/log4cxx/helpers/optionconverter.h | 10 +-
src/main/include/log4cxx/helpers/outputstream.h | 4 +-
src/main/include/log4cxx/helpers/properties.h | 3 +-
src/main/include/log4cxx/helpers/reader.h | 4 +-
src/main/include/log4cxx/helpers/resourcebundle.h | 5 +-
src/main/include/log4cxx/helpers/serversocket.h | 3 +-
src/main/include/log4cxx/helpers/socket.h | 2 +-
src/main/include/log4cxx/helpers/synchronized.h | 108 -------
src/main/include/log4cxx/helpers/syslogwriter.h | 2 +-
src/main/include/log4cxx/helpers/thread.h | 122 -------
src/main/include/log4cxx/helpers/timezone.h | 5 +-
src/main/include/log4cxx/helpers/writer.h | 4 +-
src/main/include/log4cxx/helpers/xml.h | 7 +-
src/main/include/log4cxx/hierarchy.h | 32 +-
src/main/include/log4cxx/layout.h | 8 +-
src/main/include/log4cxx/level.h | 48 +--
src/main/include/log4cxx/log4cxx.h.in | 19 +-
src/main/include/log4cxx/logger.h | 32 +-
src/main/include/log4cxx/logmanager.h | 9 +-
.../include/log4cxx/net/socketappenderskeleton.h | 10 +-
src/main/include/log4cxx/net/sockethubappender.h | 8 +-
src/main/include/log4cxx/net/telnetappender.h | 6 +-
src/main/include/log4cxx/pattern/formattinginfo.h | 6 +-
src/main/include/log4cxx/pattern/nameabbreviator.h | 5 +-
.../include/log4cxx/pattern/patternconverter.h | 4 +-
.../include/log4cxx/private/log4cxx_private.h.in | 3 +
src/main/include/log4cxx/propertyconfigurator.h | 22 +-
src/main/include/log4cxx/provisionnode.h | 4 +-
src/main/include/log4cxx/rolling/action.h | 7 +-
.../log4cxx/rolling/rollingfileappenderskeleton.h | 2 +
.../include/log4cxx/rolling/rollingpolicybase.h | 4 +-
.../include/log4cxx/rolling/rolloverdescription.h | 2 +-
.../log4cxx/rolling/timebasedrollingpolicy.h | 2 -
.../include/log4cxx/rolling/triggeringpolicy.h | 6 +-
src/main/include/log4cxx/spi/appenderattachable.h | 7 +-
src/main/include/log4cxx/spi/configurator.h | 2 +-
.../log4cxx/spi/defaultrepositoryselector.h | 10 +-
src/main/include/log4cxx/spi/filter.h | 8 +-
.../include/log4cxx/spi/hierarchyeventlistener.h | 9 +-
src/main/include/log4cxx/spi/loggerrepository.h | 6 +-
src/main/include/log4cxx/spi/loggingevent.h | 5 +-
src/main/include/log4cxx/spi/optionhandler.h | 3 +-
src/main/include/log4cxx/spi/repositoryselector.h | 5 +-
src/main/include/log4cxx/spi/rootlogger.h | 8 +-
.../include/log4cxx/varia/fallbackerrorhandler.h | 19 +-
src/main/include/log4cxx/writerappender.h | 9 +-
src/main/include/log4cxx/xml/domconfigurator.h | 9 +-
src/main/resources/log4cxx.rc | 252 +++++++--------
src/test/cpp/CMakeLists.txt | 2 +-
src/test/cpp/appenderskeletontestcase.cpp | 6 +-
src/test/cpp/asyncappendertestcase.cpp | 43 ++-
src/test/cpp/customlogger/xlogger.cpp | 4 +-
src/test/cpp/customlogger/xlogger.h | 6 +-
src/test/cpp/customlogger/xloggertestcase.cpp | 2 +-
src/test/cpp/fileappendertest.cpp | 6 +-
src/test/cpp/fileappendertestcase.cpp | 1 -
src/test/cpp/filetestcase.cpp | 20 +-
src/test/cpp/helpers/CMakeLists.txt | 2 +-
src/test/cpp/helpers/cacheddateformattestcase.cpp | 30 +-
.../casttestcase.cpp} | 57 ++--
src/test/cpp/helpers/charsetencodertestcase.cpp | 148 +++++----
src/test/cpp/helpers/cyclicbuffertestcase.cpp | 4 +-
src/test/cpp/helpers/propertiestestcase.cpp | 4 +-
src/test/cpp/helpers/threadtestcase.cpp | 73 -----
src/test/cpp/jsonlayouttest.cpp | 64 ++--
src/test/cpp/loggertestcase.cpp | 30 +-
src/test/cpp/minimumtestcase.cpp | 10 +-
src/test/cpp/net/sockethubappendertestcase.cpp | 3 +-
src/test/cpp/net/socketservertestcase.cpp | 38 +--
src/test/cpp/net/telnetappendertestcase.cpp | 8 +-
src/test/cpp/pattern/num343patternconverter.cpp | 2 +-
src/test/cpp/pattern/patternparsertestcase.cpp | 4 +-
src/test/cpp/patternlayouttest.cpp | 4 +-
src/test/cpp/propertyconfiguratortest.cpp | 2 +-
src/test/cpp/rolling/manualrollingtest.cpp | 28 +-
src/test/cpp/rolling/sizebasedrollingtest.cpp | 48 +--
src/test/cpp/rolling/timebasedrollingtest.cpp | 18 +-
src/test/cpp/spi/loggingeventtest.cpp | 24 +-
src/test/cpp/streamtestcase.cpp | 2 +-
src/test/cpp/util/compare.cpp | 8 +-
src/test/cpp/util/serializationtesthelper.cpp | 2 +-
src/test/cpp/varia/errorhandlertestcase.cpp | 8 +-
src/test/cpp/varia/levelmatchfiltertestcase.cpp | 12 +-
src/test/cpp/varia/levelrangefiltertestcase.cpp | 16 +-
src/test/cpp/vectorappender.cpp | 10 +-
src/test/cpp/vectorappender.h | 2 +-
src/test/cpp/writerappendertestcase.cpp | 1 -
src/test/cpp/xml/domtestcase.cpp | 2 +
src/test/cpp/xml/xmllayouttest.cpp | 24 +-
src/test/cpp/xml/xmllayouttestcase.cpp | 14 +-
211 files changed, 1736 insertions(+), 3451 deletions(-)
create mode 100644 src/cmake/boost-fallback/boost-fallback.cmake
create mode 100644 src/cmake/boost-fallback/boost-std-configuration.h.cmake
create mode 100644 src/cmake/boost-fallback/test-boostatomic.cpp
create mode 100644 src/cmake/boost-fallback/test-boostmutex.cpp
create mode 100644 src/cmake/boost-fallback/test-boostsharedmutex.cpp
create mode 100644 src/cmake/boost-fallback/test-boostsharedptr.cpp
create mode 100644 src/cmake/boost-fallback/test-boostthread.cpp
create mode 100644 src/cmake/boost-fallback/test-stdatomic.cpp
create mode 100644 src/cmake/boost-fallback/test-stdmutex.cpp
create mode 100644 src/cmake/boost-fallback/test-stdsharedmutex.cpp
create mode 100644 src/cmake/boost-fallback/test-stdsharedptr.cpp
create mode 100644 src/cmake/boost-fallback/test-stdthread.cpp
delete mode 100644 src/main/cpp/condition.cpp
delete mode 100644 src/main/cpp/mutex.cpp
delete mode 100644 src/main/cpp/objectimpl.cpp
delete mode 100644 src/main/cpp/objectptr.cpp
delete mode 100644 src/main/cpp/synchronized.cpp
delete mode 100644 src/main/cpp/threadcxx.cpp
delete mode 100644 src/main/include/log4cxx/helpers/condition.h
delete mode 100644 src/main/include/log4cxx/helpers/mutex.h
delete mode 100644 src/main/include/log4cxx/helpers/objectimpl.h
delete mode 100644 src/main/include/log4cxx/helpers/objectptr.h
delete mode 100644 src/main/include/log4cxx/helpers/synchronized.h
delete mode 100644 src/main/include/log4cxx/helpers/thread.h
copy src/test/cpp/{db/odbcappendertestcase.cpp => helpers/casttestcase.cpp} (57%)
delete mode 100644 src/test/cpp/helpers/threadtestcase.cpp