carnold | 3 Jan 2008 16:25
Picon
Favicon

svn commit: r608526 - /logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp

Author: carnold
Date: Thu Jan  3 07:25:37 2008
New Revision: 608526

URL: http://svn.apache.org/viewvc?rev=608526&view=rev
Log:
LOGCXX-218: Only use VC6 time_put with VC 6

Modified:
    logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp

Modified: logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp?rev=608526&r1=608525&r2=608526&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp Thu Jan  3 07:25:37 2008
 <at>  <at>  -38,16 +38,14  <at>  <at> 
 #include <locale>
 #endif

-
-#if !defined(_HAS)
-#define _HAS(locale, type) std::has_facet< type >(locale)
-#endif
-
-#if !defined(_USE)
-#define _USE(locale, type) std::use_facet < type >(locale)
-#define _PUT(facet,os, time, spec) facet.put(os, os, os.fill(), time, spec)
+#if _MSC_VER < 1300
+#define HAS_FACET(locale, type) _HAS(locale, type)
(Continue reading)

carnold | 3 Jan 2008 17:33
Picon
Favicon

svn commit: r608550 - /logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp

Author: carnold
Date: Thu Jan  3 08:33:14 2008
New Revision: 608550

URL: http://svn.apache.org/viewvc?rev=608550&view=rev
Log:
LOGCXX-218: Tweak #if expression for VC6 specific defs

Modified:
    logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp

Modified: logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp?rev=608550&r1=608549&r2=608550&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp Thu Jan  3 08:33:14 2008
 <at>  <at>  -38,7 +38,7  <at>  <at> 
 #include <locale>
 #endif

-#if _MSC_VER < 1300
+#if defined(_MSC_VER) && _MSC_VER < 1300
 #define HAS_FACET(locale, type) _HAS(locale, type)
 #define USE_FACET(locale, type) _USE(locale, type)
 #define PUT_FACET(facet, os, time, spec) facet.put(os, os, time, spec)

carnold | 3 Jan 2008 18:14
Picon
Favicon

svn commit: r608565 - in /logging/log4cxx/trunk/src/main: cpp/class.cpp cpp/exception.cpp cpp/filewatchdog.cpp cpp/thread.cpp cpp/threadlocal.cpp include/log4cxx/helpers/exception.h

Author: carnold
Date: Thu Jan  3 09:14:33 2008
New Revision: 608565

URL: http://svn.apache.org/viewvc?rev=608565&view=rev
Log:
LOGCXX-75: Fixes to allow cygwin to run unit tests

Modified:
    logging/log4cxx/trunk/src/main/cpp/class.cpp
    logging/log4cxx/trunk/src/main/cpp/exception.cpp
    logging/log4cxx/trunk/src/main/cpp/filewatchdog.cpp
    logging/log4cxx/trunk/src/main/cpp/thread.cpp
    logging/log4cxx/trunk/src/main/cpp/threadlocal.cpp
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/exception.h

Modified: logging/log4cxx/trunk/src/main/cpp/class.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/class.cpp?rev=608565&r1=608564&r2=608565&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/class.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/class.cpp Thu Jan  3 09:14:33 2008
 <at>  <at>  -155,7 +155,9  <at>  <at> 
         RollingFileAppender::registerClass();
         SMTPAppender::registerClass();
         SocketAppender::registerClass();
+#if APR_HAS_THREADS
         SocketHubAppender::registerClass();
+#endif
         SyslogAppender::registerClass();
 #if APR_HAS_THREADS
(Continue reading)

carnold | 4 Jan 2008 20:59
Picon
Favicon

svn commit: r608975 - in /logging/log4cxx/trunk/src: main/cpp/messagebuffer.cpp main/cpp/simpledateformat.cpp main/include/log4cxx/helpers/messagebuffer.h test/cpp/streamtestcase.cpp

Author: carnold
Date: Fri Jan  4 11:59:33 2008
New Revision: 608975

URL: http://svn.apache.org/viewvc?rev=608975&view=rev
Log:
LOGCXX-74: MinGW doesn't define std::wostream, etc

Modified:
    logging/log4cxx/trunk/src/main/cpp/messagebuffer.cpp
    logging/log4cxx/trunk/src/main/cpp/simpledateformat.cpp
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/messagebuffer.h
    logging/log4cxx/trunk/src/test/cpp/streamtestcase.cpp

Modified: logging/log4cxx/trunk/src/main/cpp/messagebuffer.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/messagebuffer.cpp?rev=608975&r1=608974&r2=608975&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/messagebuffer.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/messagebuffer.cpp Fri Jan  4 11:59:33 2008
 <at>  <at>  -168,22 +168,22  <at>  <at> 
     return (stream != 0);
 }

-std::wostream& WideMessageBuffer::operator<<(ios_base_manip manip) {
-	std::wostream& s = *this;
+std::basic_ostream<wchar_t>& WideMessageBuffer::operator<<(ios_base_manip manip) {
+	std::basic_ostream<wchar_t>& s = *this;
 	(*manip)(s);
 	return s;
 }
(Continue reading)

afester | 7 Jan 2008 21:46
Picon
Favicon

svn commit: r609774 - /logging/log4cxx/trunk/src/test/resources/Makefile.am

Author: afester
Date: Mon Jan  7 12:46:20 2008
New Revision: 609774

URL: http://svn.apache.org/viewvc?rev=609774&view=rev
Log:
LOGCXX-43: tweak to fix make dist for source tarball creation

Modified:
    logging/log4cxx/trunk/src/test/resources/Makefile.am

Modified: logging/log4cxx/trunk/src/test/resources/Makefile.am
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/test/resources/Makefile.am?rev=609774&r1=609773&r2=609774&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/test/resources/Makefile.am (original)
+++ logging/log4cxx/trunk/src/test/resources/Makefile.am Mon Jan  7 12:46:20 2008
 <at>  <at>  -14,7 +14,7  <at>  <at> 
 # limitations under the License.
 #
 SUBDIRS = input witness
-EXTRA_DIST = log4j.dtd L7D_en_US.properties L7D_fr_CH.properties L7D_fr.properties
+EXTRA_DIST = L7D_en_US.properties L7D_fr_CH.properties L7D_fr.properties

 if TESTS

carnold | 10 Jan 2008 07:26
Picon
Favicon

svn commit: r610690 - in /logging/log4cxx/trunk/src/main/cpp: gzcompressaction.cpp nteventlogappender.cpp writerappender.cpp zipcompressaction.cpp

Author: carnold
Date: Wed Jan  9 22:26:04 2008
New Revision: 610690

URL: http://svn.apache.org/viewvc?rev=610690&view=rev
Log:
LOGCXX-200: filename.c_str() invalidated before exec on VC 2008

Modified:
    logging/log4cxx/trunk/src/main/cpp/gzcompressaction.cpp
    logging/log4cxx/trunk/src/main/cpp/nteventlogappender.cpp
    logging/log4cxx/trunk/src/main/cpp/writerappender.cpp
    logging/log4cxx/trunk/src/main/cpp/zipcompressaction.cpp

Modified: logging/log4cxx/trunk/src/main/cpp/gzcompressaction.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/gzcompressaction.cpp?rev=610690&r1=610689&r2=610690&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/gzcompressaction.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/gzcompressaction.cpp Wed Jan  9 22:26:04 2008
 <at>  <at>  -17,6 +17,7  <at>  <at> 

 #include <log4cxx/rolling/gzcompressaction.h>
 #include <apr_thread_proc.h>
+#include <apr_strings.h>
 #include <log4cxx/helpers/exception.h>

 using namespace log4cxx;
 <at>  <at>  -71,7 +72,7  <at>  <at> 
         int i = 0;
         args[i++] = "gzip";
(Continue reading)

carnold | 10 Jan 2008 07:26
Picon
Favicon

svn commit: r610691 - /logging/log4cxx/trunk/src/test/cpp/util/transformer.cpp

Author: carnold
Date: Wed Jan  9 22:26:45 2008
New Revision: 610691

URL: http://svn.apache.org/viewvc?rev=610691&view=rev
Log:
LOGCXX-200: filename.c_str() invalidated before exec on VC 2008

Modified:
    logging/log4cxx/trunk/src/test/cpp/util/transformer.cpp

Modified: logging/log4cxx/trunk/src/test/cpp/util/transformer.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/test/cpp/util/transformer.cpp?rev=610691&r1=610690&r2=610691&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/test/cpp/util/transformer.cpp (original)
+++ logging/log4cxx/trunk/src/test/cpp/util/transformer.cpp Wed Jan  9 22:26:45 2008
 <at>  <at>  -20,6 +20,7  <at>  <at> 
 #include <apr_thread_proc.h>
 #include <apr_pools.h>
 #include <apr_file_io.h>
+#include <apr_strings.h>
 #include <assert.h>
 #include <iostream>

 <at>  <at>  -174,11 +175,11  <at>  <at> 

         std::string regexArg("-f");
         regexArg.append(regexName);
-        args[i++] = regexArg.c_str();
+        args[i++] = apr_pstrdup(pool, regexArg.c_str());
(Continue reading)

carnold | 16 Jan 2008 02:41
Picon
Favicon

svn commit: r612331 - in /logging/log4cxx/trunk/src/main: cpp/ include/log4cxx/ include/log4cxx/helpers/ include/log4cxx/rolling/ include/log4cxx/spi/ include/log4cxx/varia/ include/log4cxx/xml/

Author: carnold
Date: Tue Jan 15 17:41:53 2008
New Revision: 612331

URL: http://svn.apache.org/viewvc?rev=612331&view=rev
Log:
LOGCXX-219: Explicitly inherit addRef/releaseRef to avoid C4250 warnings with VC

Modified:
    logging/log4cxx/trunk/src/main/cpp/appenderattachableimpl.cpp
    logging/log4cxx/trunk/src/main/cpp/appenderskeleton.cpp
    logging/log4cxx/trunk/src/main/cpp/dailyrollingfileappender.cpp
    logging/log4cxx/trunk/src/main/cpp/domconfigurator.cpp
    logging/log4cxx/trunk/src/main/cpp/fallbackerrorhandler.cpp
    logging/log4cxx/trunk/src/main/cpp/hierarchy.cpp
    logging/log4cxx/trunk/src/main/cpp/layout.cpp
    logging/log4cxx/trunk/src/main/cpp/logger.cpp
    logging/log4cxx/trunk/src/main/cpp/obsoleterollingfileappender.cpp
    logging/log4cxx/trunk/src/main/cpp/onlyonceerrorhandler.cpp
    logging/log4cxx/trunk/src/main/cpp/propertyconfigurator.cpp
    logging/log4cxx/trunk/src/main/cpp/rollingpolicybase.cpp
    logging/log4cxx/trunk/src/main/cpp/timebasedrollingpolicy.cpp
    logging/log4cxx/trunk/src/main/cpp/triggeringpolicy.cpp
    logging/log4cxx/trunk/src/main/include/log4cxx/appender.h
    logging/log4cxx/trunk/src/main/include/log4cxx/appenderskeleton.h
    logging/log4cxx/trunk/src/main/include/log4cxx/dailyrollingfileappender.h
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/appenderattachableimpl.h
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/onlyonceerrorhandler.h
    logging/log4cxx/trunk/src/main/include/log4cxx/hierarchy.h
    logging/log4cxx/trunk/src/main/include/log4cxx/layout.h
(Continue reading)

carnold | 16 Jan 2008 20:52
Picon
Favicon

svn commit: r612558 - in /logging/log4cxx/trunk/src/main: cpp/ include/log4cxx/ include/log4cxx/helpers/ include/log4cxx/rolling/ include/log4cxx/spi/

Author: carnold
Date: Wed Jan 16 11:52:43 2008
New Revision: 612558

URL: http://svn.apache.org/viewvc?rev=612558&view=rev
Log:
LOGCXX-219: Avoid C4251 template needs dll-interface warning with VC

Modified:
    logging/log4cxx/trunk/src/main/cpp/hierarchy.cpp
    logging/log4cxx/trunk/src/main/cpp/loggingevent.cpp
    logging/log4cxx/trunk/src/main/cpp/properties.cpp
    logging/log4cxx/trunk/src/main/cpp/propertyconfigurator.cpp
    logging/log4cxx/trunk/src/main/include/log4cxx/appender.h
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/appenderattachableimpl.h
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/charsetencoder.h
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/inetaddress.h
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/outputstream.h
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/outputstreamwriter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/properties.h
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/resourcebundle.h
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/socket.h
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/socketimpl.h
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/writer.h
    logging/log4cxx/trunk/src/main/include/log4cxx/hierarchy.h
    logging/log4cxx/trunk/src/main/include/log4cxx/layout.h
    logging/log4cxx/trunk/src/main/include/log4cxx/level.h
    logging/log4cxx/trunk/src/main/include/log4cxx/log4cxx.h.in
    logging/log4cxx/trunk/src/main/include/log4cxx/log4cxx.hw
    logging/log4cxx/trunk/src/main/include/log4cxx/logger.h
(Continue reading)

carnold | 16 Jan 2008 21:46
Picon
Favicon

svn commit: r612565 - in /logging/log4cxx/trunk/src/main/include/log4cxx: log4cxx.h.in log4cxx.hw

Author: carnold
Date: Wed Jan 16 12:46:35 2008
New Revision: 612565

URL: http://svn.apache.org/viewvc?rev=612565&view=rev
Log:
LOGCXX-219: Avoid C4251 template needs dll-interface warning with VC

Modified:
    logging/log4cxx/trunk/src/main/include/log4cxx/log4cxx.h.in
    logging/log4cxx/trunk/src/main/include/log4cxx/log4cxx.hw

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/log4cxx.h.in
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/log4cxx.h.in?rev=612565&r1=612564&r2=612565&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/log4cxx.h.in (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/log4cxx.h.in Wed Jan 16 12:46:35 2008
 <at>  <at>  -37,8 +37,8  <at>  <at> 
 #define LOG4CXX_HAS_WCHAR_T LOG4CXX_WCHAR_T_API

 #define LOG4CXX_EXPORT
-#define LOG4CXX_PTR_DEF(T) typedef log4cxx::helpers::ObjectPtrT<T> T##Ptr
-#define LOG4CXX_LIST_DEF(N, T) typedef std::vector<T> N
+#define LOG4CXX_PTR_DEF(T) typedef log4cxx::helpers::ObjectPtrT<T> T##Ptr;
+#define LOG4CXX_LIST_DEF(N, T) typedef std::vector<T> N;

 
 typedef long long log4cxx_int64_t;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/log4cxx.hw
(Continue reading)


Gmane