| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1733082 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
LOG4CXX_STATIC to my own created projects, so the tests were build with "import" in mind, but there was nothing exported by the lib because it got built statically. I'm reverting my changes.
https://quality.embarcadero.com/browse/RSP-12598
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1731100 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1721432 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1720199 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1720193 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
apps using log4cxx may crash on application exit. To reduce the risk of unwanted side effects, they all depend on APR supporting threads, because in such a case it's most likely that the problems occur. Regarding the bug, there's no fast and easy solution, so I'll just leak resources, which shouldn't harm much on app exit. Without that, to many users need to patch the lib on their own...
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1708287 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
more like it should use bit wise operator, like the lines before.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707953 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
now, it's created during errorhandlertest, which uses fallback1.xml. I moved that folder to the output dir, which seems to be the better place and the test still passes. I guess it doesn't care where the folder is, but only relies on :x.log not being created and that's still the case. Anyways, we dont' want to write to arbitrary places in the file system, especially not into non-temp folders and if we write everything else to "output" already.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707951 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
running and changed test7 to execute 4, 5 and 6 and simulate a non empty directory that way. The tests now pass using empty and non empty directory and I hope to not have totally wasted my time... :-( But all other tests worked with and without empty directory, so I hope my changes have some purpose.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707820 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
thought, if needed at all. The tests still pass with an empty directory.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707807 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707806 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
completely wrong track.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707805 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
a new line and is better readable.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707781 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707780 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
first rollover is done on the second log statement, which is only issued after some sleeping time. The problem is that the first file name to check for is created using "now" and that could have easily past if the second statement is issued. If the first file name is created with that in mind one second in the future, the first log statement can consume the current second of "now" including the sleep and still the first file will be found successfully, because it is expected to be created with the next second.
I've added a waitFactor to logMsgAndSleep, because I think at least for test6 we need to make sure that each subsequent file is created in the next second, because that's how we build the file names: One second each. If we sleep in the logging only for half a second, two we may have two log statements within the same second resulting in another missing file. Interestingly, during my tests that didn't seem to make any difference...
Additionally I've created test7 repeatly calling test6, because during my tests test6 succeeded even without my changes sometimes, but not always. With the changes it seems to succeed always.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707768 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
tests like before fail now, so I shouldn't have broken too much.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707759 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
isn't compared to other source files and my IDE is configured to use tabs and I brought them in in the last commit already. But that shouldn't be a problem because it's easier to change form tabs to spaces again than the other way around, if some parts use indentation 8, other 2 and most of the other files something around 4 and 8.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707718 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
tests seem to produce file names in the same way, log some messages and most of them check results using file content comparison. The test still succeeds and I formerly got an access violation in fprintf if not all tests succeeded, which is gone now as well.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707714 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
because I don't see why only some should print the msg, while others don't.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707679 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707678 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
be needed in the future it shoudl be implemented calling delayUnitNextSecond.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707676 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707615 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
that in this file everythign should have been OK before already because apr_strings.h was included before INT64C was checked. But now the code should look more clearly.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707614 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
swapped both lines to remove a warnign about a wrong redefinition of INT64_C in that case.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707594 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
setters which are not used in the static lib itself, but e.g. only in tests, if they are defined in the header. I'm not sure how to handle this properly, but moving the definition to the CPP implementation file of a class seems to resolve this issue, so I'm doing that for now, because it shouldn't harm anyone. If it does, we can easily revert and document the problem further in the ticket.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707585 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
associated to their methods and such.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707579 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
detect/define WIN32 on it's own an WIn32 users don'T need to manually anymore.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707552 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
prefer early returns as wlel, but I guess the return NULL in this case has been left by purpose because some compilers7IDEs warn about the method should return some value else. Ignoring the warnign with #pragma seemed to much overhead, because that would need to be compiler specific.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707550 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
stuff. If we define WINSOCK here, aAPR will itself include windows.h anyways, but without winsock, which results in socklen_t being not available, but used in apr.h.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707547 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1679869 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
expression in my mind. I thought that maybe some other env var was meant, but code only uses those two.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1660906 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1655676 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
'Christian Ehrlicher
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1649999 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also,
LOGCXX-446: make install fails, trying to overwrite header files
Many Makefile.am files spread throughout the source tree used wildcards. This
is invalid, as discussed at
https://www.gnu.org/software/automake/manual/html_node/Wildcards.html. The use
of wildcards was problematic for VPATH builds, in particular there was one
Makefile.am which included srcdir and builddir headers twice. Correcting it to
install only the builddir log4cxx.h and the remaining headers from srcdir/*.h
addresses LOGCXX-446.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1644820 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1633356 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
the current work to get C++ Builder XE 4 supported introduced a dependency on where.exe, which is not available under Windows XP out of the box. So I had two options: Either remove the added logic or make the use of where.exe optional. I decided the first, because the already implemented logic already seems hard to maintain and simply doesn't work, it looks like some changes to cpptasks is necessary anyways. If that's the case, I could fix all problems directly in cpptasks, which surely is easier than using ANT. And as always, no work done is lost, we can always revert...
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1623040 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
introduced "static initialization order fiasco", which the former implementation didn't suffer from. So I changed the problem of not beeing thread safe with another one and I was surely only lucky in my former runs of the testsuite to succeed. Currently they don't, so I'll revert my changes and reopen the issue again.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1623014 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
enable-shared|static not used at all.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1607481 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
mailing list instead first, because no one objected on the dev mailing list.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1607423 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1577488 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1575851 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1573645 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1573202 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1570494 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1570493 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1569635 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
and added another tests for LOGCXX-420. There's some debug output in there which need to get removed later, but for now I need some help in defining the correct behavior and want others to be able to test themselves.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1569535 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes the following compilation error on GCC 4.8.1:
src/main/include/log4cxx/level.h:279:67: error: specialization of ‘template<class T> bool log4cxx::helpers::ObjectPtrT<T>::operator==(const log4cxx::helpers::ObjectPtrT<T>&) const’ in different namespace [-fpermissive]
template<> inline bool LevelPtr::operator==(const LevelPtr& rhs) const
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1569339 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
codebase, additionally to the problem with the exceptions. The reason for the exceptions were negativ indices, the calculations for offsets in the magicString introduced in LOGCXX-420 were wrong because the magicString is always 3 chars only.
This and the failing added test for LOGCXX-420 has been fixed, but test 17 of cacheddateformattestcase.cpp is failing now. I will have a look into this afterwards.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1569322 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1569234 13f79535-47bb-0310-9956-ffa450edef68
|