Commit Graph

349 Commits

Author SHA1 Message Date
KjellKod
c015191b83 unit test refactoring. g2log, safe to do shutdownlogging multiple times 2013-07-13 19:33:00 -06:00
KjellKod
3e2f092924 adding unit test + make_unique 2013-07-13 17:57:26 -06:00
KjellKod
3fb37b0709 cmake refactoring , adding of unit tests 2013-07-13 17:56:38 -06:00
KjellKod
062b92188c refactored cmake 2013-07-13 10:21:00 -06:00
KjellKod
12dfc91458 Bugfix: Thanks to Alexander Ignatyev. Now handles illegal, empty directory names.
Bugfix: If directory path cannot be resolved it will as a last resort write the log to the current directory
2013-07-11 23:22:40 -06:00
kjellkod@kjellkod-Asus
68d1c12858 Thanks to Wilfred van Velzen for adding fix for mingw / windows 2013-06-05 12:19:52 -04:00
kjellkod@kjellkod-Asus
84d625c8cc Correction. SanityFix for illegally written path
thanks to 'Tim L' at CodeProject/g2log
2013-05-09 11:32:25 -04:00
KjellKod
1011af308a prefixsanityfix... better handling of illegal character and their removal from file name 2012-11-19 21:10:55 +01:00
KjellKod
4a481acc6e updated after merge (no changes) 2012-10-21 18:42:18 +02:00
KjellKod
75ecece72f no longer default: g2log unit test 2012-10-21 18:38:05 +02:00
KjellKod
8f808f04ec README first-user improved 2012-10-18 16:10:26 +02:00
KjellKod
eb6e7faef5 spell check REAME 2012-10-18 16:10:17 +02:00
KjellKod
8d9e4984e9 README first-user improved 2012-10-18 16:06:58 +02:00
KjellKod
60a1244850 spell check REAME 2012-10-18 16:05:34 +02:00
KjellKod
03174baddb spell check REAME 2012-10-18 15:58:11 +02:00
KjellKod
8e72da9740 spell check REAME 2012-10-18 15:52:08 +02:00
KjellKod
d57080dbd6 readme updated 2012-10-18 07:45:34 +02:00
KjellKod
b5fc2dcd1a readme finished 2012-10-18 07:44:53 +02:00
KjellKod
1d75316cf8 readme test wiki formatting 2012-10-18 07:42:11 +02:00
KjellKod
06688ea16b readme line-wrap (naive) 2012-10-18 07:40:49 +02:00
KjellKod
1c2ec0788a readme line-wrap (naive) 2012-10-18 07:39:21 +02:00
KjellKod
dbeb4c5780 readme update 2012-10-18 07:35:09 +02:00
KjellKod
4529eb058f Added tag version-1.0 for changeset d9a55a4a6154 2012-10-17 07:25:55 +02:00
KjellKod
a4c49a5549 Merged in changes from development repository.
* threadsafe use of localtime
* changing/retrieving log filename at runtime (using futures)
2012-10-14 01:54:56 +02:00
kjellkod@kjellkod-Asus.lan
d0042cf730 Workaround for two correlating issues
1) GTEST use own tuple library which clashes with c++11
2) MSVS variadic template implementation is so far only a *hack* and a define must be set to
   allow 10 variadic arguments
2012-06-24 21:43:23 +02:00
KjellKod
f82c0ec98d Updated for g++-4.7, which no longer requires justthreads c++11 thread implementation 2012-06-02 22:04:28 +02:00
kjell@kjell-win7.lan
1e7ef6de0a removed comment 2012-03-04 07:28:08 +01:00
kjell@kjell-win7.lan
2bb53f0d01 Added missing <thread> include. Updated comments regarding this in CMakeLists.txt 2012-03-04 02:14:50 +01:00
KjellKod
99fea9ed6f Fixed: internal time_keeping (time_point) was removed but was needed for g2logworker 2012-03-04 01:18:11 +01:00
HP_Owner@Hp
92d45631de removed warnings, a performance compilation error (erroneous comment) 2011-12-11 02:33:22 -06:00
KjellKod
121f8d0e2d Corrected comment about options that was just dated.
performance tests are OFF by default (only tested on linux)
unit tests are OFF by default (tested windows/linux but gtest must be unzipped)
2011-11-23 09:18:18 -06:00
KjellKod
8601bc1d7c bugfix: a comment lacked the # at line beginning 2011-11-21 18:20:11 -06:00
KjellKod
6d5f1f46ca Cosmetics: Corrected headers so that they look uniform. Added clarification in Readme about unpacking of gtest/glog for unit-test and performance tests 2011-11-21 17:04:02 -06:00
KjellKod
76bde84300 All except the Google glog performance test on windows is now OK on Linux/Windows
There are library errors for glog. On www there seems to be issues with glog on Windows. I am dropping it for now
2011-11-18 01:51:34 +01:00
KjellKod
e8e2ed3634 updated README 2011-11-17 22:58:40 +01:00
KjellKod
4659afdeb5 Made sure the g2log performance tests + unit test are running on windows
(google performance test not tested yet on windows)
2011-11-17 22:46:38 +01:00
KjellKod
8c6a676648 Cosmetics. Updated instructions in README and CMakeFiles.txt
Added *printouts* to g2log-example to show that the last FATAL trigger is expected
2011-11-17 22:08:20 +01:00
KjellKod
e0863795ed Fixed error in compiling instructions README for Visual Studio 2011-11-17 21:35:32 +01:00
KjellKOd
e32d64f9a7 Updated README with build instructions for Windows 2011-11-17 11:57:37 +01:00
KjellKod
b990afd639 Testing to update from Windows 2011-11-17 11:47:52 +01:00
Kjell Hedstrom
62089aad92 Enabling OPTIONS, by default only the g2log-example ON
performance test + unit tests are OFF. Enabling them is fixed in the CMakeLists.txt
2011-11-17 11:26:02 +01:00
Kjell Hedstrom
52c7ce4bed Fixed demangled symbols., thanks to stackoverlow http://stackoverflow.com/questions/77005/how-to-generate-a-stacktrace-when-my-gcc-c-app-crashes 2011-11-17 00:51:28 +01:00
Kjell Hedstrom
925581d338 Updated for better unit-testing. Unit testing does not abort but throws a std::runtime_error if FATAL 2011-11-16 22:23:47 +01:00
Kjell Hedstrom
b3b5335b90 implified tests 2011-11-15 01:46:07 +01:00
Kjell Hedstrom
bf2b9a622e removed uncecessary variable 2011-11-10 23:25:11 +01:00
Kjell Hedstrom
b7240a610b Added signalhandler and a little bit of stackdump for linux.
BUGS: how to test fatal unit tests?
BUGS: the stack dump is fugly
2011-11-10 22:23:33 +01:00
Kjell Hedstrom
9dbc9023fc LOG_F changed to LOGF
Added #error to define checks
2011-11-07 12:04:32 +01:00
Kjell Hedstrom
fa9e5b4adf Concentrated all files into src, previously it was under its own active-object sub-repository 2011-11-05 23:19:49 +01:00
Kjell Hedstrom
b9459af2f3 Initial commit of g2log after moving it to it's own repository from "KjellKOd" 2011-11-05 17:36:07 +01:00