carnold | 2 Mar 2005 00:30
Picon
Favicon

cvs commit: logging-log4cxx/tests/src/xml xmllayouttestcase.cpp

carnold     2005/03/01 15:30:46

  Modified:    .        apr-build.xml apriconv-build.xml aprutil-build.xml
                        build.xml
               include/log4cxx hierarchy.h portability.h
               include/log4cxx/helpers filewatchdog.h
               src      basicconfigurator.cpp cacheddateformat.cpp
                        class.cpp condition.cpp consoleappender.cpp
                        dateformat.cpp datelayout.cpp exception.cpp
                        fallbackerrorhandler.cpp file.cpp logger.cpp
                        logmanager.cpp namedpatternconverter.cpp
                        nteventlogappender.cpp onlyonceerrorhandler.cpp
                        patternconverter.cpp patternlayout.cpp
                        patternparser.cpp propertyresourcebundle.cpp
                        propertysetter.cpp simpledateformat.cpp
                        simplelayout.cpp stringhelper.cpp
                        stringtokenizer.cpp syslogappender.cpp
                        syslogwriter.cpp timezone.cpp transcoder.cpp
                        writerappender.cpp
               tests/src l7dtestcase.cpp loggertestcase.cpp
                        streamtestcase.cpp vectorappender.h
               tests/src/helpers cyclicbuffertestcase.cpp
                        datetimedateformattestcase.cpp
                        optionconvertertestcase.cpp timezonetestcase.cpp
               tests/src/pattern num343patternconverter.cpp
               tests/src/util controlfilter.cpp transformer.cpp
               tests/src/varia levelmatchfiltertestcase.cpp
               tests/src/xml xmllayouttestcase.cpp
  Log:
  Reduce warnings from Borland C++
(Continue reading)

carnold | 3 Mar 2005 04:47
Picon
Favicon

cvs commit: logging-log4cxx/include/log4cxx/spi/location locationinfo.h

carnold     2005/03/02 19:47:51

  Modified:    include/log4cxx/spi/location locationinfo.h
  Log:
  LOGCXX-24: Wrong predef'd macro for location with VC 7+

  Revision  Changes    Path
  1.12      +1 -1      logging-log4cxx/include/log4cxx/spi/location/locationinfo.h

  Index: locationinfo.h
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- locationinfo.h	15 Feb 2005 23:56:00 -0000	1.11
  +++ locationinfo.h	3 Mar 2005 03:47:51 -0000	1.12
   <at>  <at>  -130,7 +130,7  <at>  <at> 
     #if !defined(LOG4CXX_LOCATION)
   #if defined(_MSC_VER)
   #if _MSC_VER >= 1300
  -      #define __LOG4CXX_FUNC__ __FUNCDNAME__
  +      #define __LOG4CXX_FUNC__ __FUNCSIG__
   #endif
   #else
   #if defined(__GCC)

carnold | 3 Mar 2005 17:37
Picon
Favicon

cvs commit: logging-log4cxx/tests/src filetestcase.cpp

carnold     2005/03/03 08:37:21

  Modified:    tests/src filetestcase.cpp
  Log:
  LOGCXX-63: Remove EOL expectation from readProperty test

  Revision  Changes    Path
  1.9       +1 -1      logging-log4cxx/tests/src/filetestcase.cpp

  Index: filetestcase.cpp
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/tests/src/filetestcase.cpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- filetestcase.cpp	15 Feb 2005 23:56:03 -0000	1.8
  +++ filetestcase.cpp	3 Mar 2005 16:37:21 -0000	1.9
   <at>  <at>  -103,7 +103,7  <at>  <at> 
             File propFile("input/patternLayout1.properties");
             Pool pool;
             LogString props(propFile.read(pool));
  -          LogString line1(LOG4CXX_STR("log4j.rootCategory=DEBUG, testAppender\n"));
  +          LogString line1(LOG4CXX_STR("log4j.rootCategory=DEBUG, testAppender"));
             CPPUNIT_ASSERT_EQUAL(line1, props.substr(0, line1.length()));
             LogString tail(LOG4CXX_STR("%-5p - %m%n"));
             CPPUNIT_ASSERT_EQUAL(tail, props.substr(props.length() - tail.length()));

carnold | 3 Mar 2005 20:27
Picon
Favicon

cvs commit: logging-log4cxx/tests/src/nt nteventlogappendertestcase.cpp

carnold     2005/03/03 11:27:44

  Modified:    .        build.xml
               include/log4cxx/nt nteventlogappender.h
               src      nteventlogappender.cpp
               tests/src/nt nteventlogappendertestcase.cpp
  Log:
  LOGCXX-67: NTEventLogAppender always uses RPC...

  Revision  Changes    Path
  1.47      +1 -2      logging-log4cxx/build.xml

  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/build.xml,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- build.xml	1 Mar 2005 23:30:43 -0000	1.46
  +++ build.xml	3 Mar 2005 19:27:44 -0000	1.47
   <at>  <at>  -812,13 +812,12  <at>  <at> 
                   unless="apriconv.lib.dir"/>

           <libset libs="${cppunit.lib.name}${lib-suffix}" dir="${cppunit.lib.dir}" if="cppunit.lib.dir"/>

           <libset libs="${cppunit.lib.name}${lib-suffix}" unless="cppunit.lib.dir"/>

  -        <libset libs="advapi32 odbc32 ws2_32" if="is-windows"/>

  +        <syslibset libs="advapi32 odbc32 ws2_32" if="is-windows"/>
(Continue reading)

carnold | 4 Mar 2005 05:23
Picon
Favicon

cvs commit: logging-log4cxx/src cacheddateformat.cpp filewatchdog.cpp relativetimedateformat.cpp socketappenderskeleton.cpp stringhelper.cpp timezone.cpp

carnold     2005/03/03 20:23:20

  Modified:    src      cacheddateformat.cpp filewatchdog.cpp
                        relativetimedateformat.cpp
                        socketappenderskeleton.cpp stringhelper.cpp
                        timezone.cpp
  Log:
  Different fix for APR's INT64_C problem

  Revision  Changes    Path
  1.15      +4 -2      logging-log4cxx/src/cacheddateformat.cpp

  Index: cacheddateformat.cpp
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/src/cacheddateformat.cpp,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- cacheddateformat.cpp	1 Mar 2005 23:30:44 -0000	1.14
  +++ cacheddateformat.cpp	4 Mar 2005 04:23:19 -0000	1.15
   <at>  <at>  -13,10 +13,9  <at>  <at> 
    * See the License for the specific language governing permissions and
    * limitations under the License.
    */
  -
  +#define __STDC_CONSTANT_MACROS
   #include <log4cxx/helpers/cacheddateformat.h>

  -#define INT64_C(x) x##LL

(Continue reading)

carnold | 4 Mar 2005 22:21
Picon
Favicon

cvs commit: logging-log4cxx/tests/src l7dtestcase.cpp loggertestcase.cpp

carnold     2005/03/04 13:21:44

  Modified:    tests/src l7dtestcase.cpp loggertestcase.cpp
  Log:
  Fedora didn't like temp Locale's in calls to getResourceBundle

  Revision  Changes    Path
  1.10      +7 -4      logging-log4cxx/tests/src/l7dtestcase.cpp

  Index: l7dtestcase.cpp
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/tests/src/l7dtestcase.cpp,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- l7dtestcase.cpp	1 Mar 2005 23:30:45 -0000	1.9
  +++ l7dtestcase.cpp	4 Mar 2005 21:21:43 -0000	1.10
   <at>  <at>  -48,16 +48,19  <at>  <at> 
   public:
           void setUp()
           {
  +                Locale localeUS(LOG4CXX_STR("en"), LOG4CXX_STR("US"));
                   bundles[0] =
  -                        ResourceBundle::getBundle(LOG4CXX_STR("L7D"), Locale(LOG4CXX_STR("en"), LOG4CXX_STR("US")));
  +                        ResourceBundle::getBundle(LOG4CXX_STR("L7D"), localeUS);
                   CPPUNIT_ASSERT(bundles[0] != 0);
  -
  + 
  +                Locale localeFR(LOG4CXX_STR("fr"), LOG4CXX_STR("FR"));
                   bundles[1] =
(Continue reading)

carnold | 5 Mar 2005 06:36
Picon
Favicon

cvs commit: logging-log4cxx/src stringhelper.cpp

carnold     2005/03/04 21:36:58

  Modified:    src      stringhelper.cpp
  Log:
  Changed to unsigned int64 in formatHex

  Revision  Changes    Path
  1.17      +1 -1      logging-log4cxx/src/stringhelper.cpp

  Index: stringhelper.cpp
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/src/stringhelper.cpp,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- stringhelper.cpp	4 Mar 2005 04:23:19 -0000	1.16
  +++ stringhelper.cpp	5 Mar 2005 05:36:58 -0000	1.17
   <at>  <at>  -265,7 +265,7  <at>  <at> 

   LogString StringHelper::formatHex(const void* ptr) {
       const logchar* hexdigits = LOG4CXX_STR("0123456789ABCDEF");
  -    apr_int64_t iptr = (apr_int64_t) ptr;
  +    apr_uint64_t iptr = (apr_uint64_t) ptr;
       int width = sizeof(ptr)*2 + 2;
       LogString s(width, LOG4CXX_STR('x'));
       s[0] = LOG4CXX_STR('0');

carnold | 9 Mar 2005 17:57
Picon
Favicon

cvs commit: logging-log4cxx/tests/src/helpers stringhelpertestcase.cpp

carnold     2005/03/09 08:57:02

  Modified:    src      stringhelper.cpp
  Added:       tests/src/helpers stringhelpertestcase.cpp
  Log:
  LOGCXX-70: StringHelper::startsWith and endsWith logic errors

  Revision  Changes    Path
  1.18      +9 -18     logging-log4cxx/src/stringhelper.cpp

  Index: stringhelper.cpp
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/src/stringhelper.cpp,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- stringhelper.cpp	5 Mar 2005 05:36:58 -0000	1.17
  +++ stringhelper.cpp	9 Mar 2005 16:57:02 -0000	1.18
   <at>  <at>  -75,31 +75,22  <at>  <at> 
   }

   
  -bool StringHelper::startsWith(const std::wstring& teststr, const std::wstring& substr)
  -    {
  -    bool val = false;
  -    if(teststr.length() > substr.length()) {
  -        val = teststr.substr(0, substr.length()) == substr;
  -    }
  -
  -    return val;
(Continue reading)

carnold | 9 Mar 2005 18:38
Picon
Favicon

cvs commit: logging-log4cxx/tests/src/nt nteventlogappendertestcase.cpp

carnold     2005/03/09 09:38:25

  Modified:    tests/src/nt nteventlogappendertestcase.cpp
  Log:
  LOGCXX-67: Tweaked NTAppenderTestCase for full event logs

  Revision  Changes    Path
  1.4       +13 -7     logging-log4cxx/tests/src/nt/nteventlogappendertestcase.cpp

  Index: nteventlogappendertestcase.cpp
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/tests/src/nt/nteventlogappendertestcase.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- nteventlogappendertestcase.cpp	3 Mar 2005 19:27:44 -0000	1.3
  +++ nteventlogappendertestcase.cpp	9 Mar 2005 17:38:25 -0000	1.4
   <at>  <at>  -54,13 +54,15  <at>  <at> 
           }

           void testHelloWorld() {

  -           DWORD expectedCount = 1;

  +           DWORD expectedId = 1;

              HANDLE hEventLog = ::OpenEventLogW(NULL, L"log4cxx_test");

              if (hEventLog != NULL) {

(Continue reading)

carnold | 10 Mar 2005 01:35
Picon
Favicon

cvs commit: logging-log4cxx INSTALL

carnold     2005/03/09 16:35:52

  Modified:    .        INSTALL
  Log:
  LOGCXX-73: Install out-of-date

  Revision  Changes    Path
  1.9       +110 -32   logging-log4cxx/INSTALL

  Index: INSTALL
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/INSTALL,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- INSTALL	13 May 2004 21:24:34 -0000	1.8
  +++ INSTALL	10 Mar 2005 00:35:52 -0000	1.9
   <at>  <at>  -1,6 +1,115  <at>  <at> 
  -Basic Installation
  +Ant + cpptasks build:
   ==================

  +The Ant build script is the definitive build script for log4cxx and
  +is able to build log4cxx with (at least) gcc, Microsoft Visual C++ 6, 7, 7.1
  +and Borland C++ 5.5 and produce IDE project files for Microsoft Visual Studio
  +6, Borland CBuilderX  and Apple Xcode to assist in debugging.
  +
  +Prerequisites:
  +
  +Apache Ant 1.6.1 or later (1.6.2 preferred)
(Continue reading)


Gmane