Commit Graph

756 Commits

Author SHA1 Message Date
KjellKod
f50b6234c9 added clang installation 2014-10-11 22:08:07 -06:00
KjellKod
c6324108e5 iCorrected errors in bash 2014-10-11 21:57:07 -06:00
KjellKod
21edd3fc05 g++ and clang but only on Linux 2014-10-11 21:36:39 -06:00
KjellKod
7c5ce707e2 fixed travis scripting 2014-10-11 20:50:32 -06:00
KjellKod
3b7f084805 Attempt to make the travis scripting easier 2014-10-11 20:46:27 -06:00
KjellKod
82e5991a7f Travis-CI and OSX attempt 2014-10-11 20:35:06 -06:00
KjellKod
752d928a63 test cleanup. attempting OSX testing on travis-ci.org
--HG--
rename : scripts/buildtravis.sh => scripts/buildAndRunTests.sh
2014-10-11 20:16:54 -06:00
KjellKod
3bc13a0fc1 Added the .hgrc to easily switch between computer.
This blog was helpful for the hg -> git conversion
http://pythonwise.blogspot.com/2012/05/using-travis-ci-with-bitbucket.html
2014-10-10 01:19:38 -06:00
KjellKod
edef25b5e1 Added all unit tests 2014-10-10 01:06:10 -06:00
KjellKod
20ab983b1a libc++ support? 2014-10-10 00:54:16 -06:00
KjellKod
8bca02d3be test to bookmark default as master automatically 2014-10-10 00:49:20 -06:00
KjellKod
56d1a94b91 Fixed script 2014-10-10 00:45:38 -06:00
KjellKod
d96f88b619 rename
--HG--
rename : scripts/travisbuild.sh => scripts/buildtravis.sh
2014-10-10 00:31:53 -06:00
KjellKod
c680e5303b travis build 2014-10-10 00:27:57 -06:00
KjellKod
7470e0a7a4 isync test 2014-10-10 00:22:32 -06:00
KjellKod
a755ab34ac fixed typowq! 2014-10-10 00:21:08 -06:00
KjellKod
0839847182 test for sync 2014-10-10 00:10:06 -06:00
KjellKod
3100978492 test gihub sync 2014-10-10 00:01:58 -06:00
KjellKod
01a3efcf7d Updated build script 2014-10-09 23:49:51 -06:00
KjellKod
c709e55b42 Updated for building and running one unit test 2014-10-09 23:41:08 -06:00
KjellKod
0b477242dd Nonsense change to see if github push works 2014-10-09 23:07:43 -06:00
KjellKod
7b718d08f8 Tiny change to see if push to GitHub/KjellKod/g3log worked 2014-10-09 23:04:01 -06:00
KjellKod
30ea3a65aa Added travis installation for gcc, and replacing the gcc (4.6) with gcc-4. 2014-10-09 23:00:06 -06:00
KjellKod
ece13751a8 Added empty travis yml file 2014-10-09 22:52:33 -06:00
KjellKod
1f071b3f6e draft of ubuntu cpack... installing into /usr/local 2014-10-09 22:04:26 -06:00
KjellKod
0e37df7162 cleanup. Use G3Log instead of G2Log for binaries and configuration files 2014-10-03 01:53:21 -06:00
KjellKod
c99b1089c2 Updated .ignore file 2014-10-03 01:22:29 -06:00
KjellKod
87a095e384 Renamed directories for a cleaner project structure
--HG--
rename : g2log/Build.cmake => Build.cmake
rename : g2log/CMakeLists.txt => CMakeLists.txt
rename : g2log/CPackLists.txt => CPackLists.txt
rename : g2log/Dynamic.cmake => Dynamic.cmake
rename : g2log/example/Example.cmake => example/Example.cmake
rename : g2log/example/main_contract.cpp => example/main_contract.cpp
rename : g2log/example/main_sigsegv.cpp => example/main_sigsegv.cpp
rename : g2log/src/active.hpp => src/active.hpp
rename : g2log/src/crashhandler.hpp => src/crashhandler.hpp
rename : g2log/src/crashhandler_unix.cpp => src/crashhandler_unix.cpp
rename : g2log/src/crashhandler_win.cpp => src/crashhandler_win.cpp
rename : g2log/src/g2filesink.cpp => src/g2filesink.cpp
rename : g2log/src/g2filesink.hpp => src/g2filesink.hpp
rename : g2log/src/g2filesinkhelper.ipp => src/g2filesinkhelper.ipp
rename : g2log/src/g2future.hpp => src/g2future.hpp
rename : g2log/src/g2log.cpp => src/g2log.cpp
rename : g2log/src/g2log.hpp => src/g2log.hpp
rename : g2log/src/g2loglevels.cpp => src/g2loglevels.cpp
rename : g2log/src/g2loglevels.hpp => src/g2loglevels.hpp
rename : g2log/src/g2logmessage.cpp => src/g2logmessage.cpp
rename : g2log/src/g2logmessage.hpp => src/g2logmessage.hpp
rename : g2log/src/g2logmessagecapture.cpp => src/g2logmessagecapture.cpp
rename : g2log/src/g2logmessagecapture.hpp => src/g2logmessagecapture.hpp
rename : g2log/src/g2logworker.cpp => src/g2logworker.cpp
rename : g2log/src/g2logworker.hpp => src/g2logworker.hpp
rename : g2log/src/g2moveoncopy.hpp => src/g2moveoncopy.hpp
rename : g2log/src/g2sink.hpp => src/g2sink.hpp
rename : g2log/src/g2sinkhandle.hpp => src/g2sinkhandle.hpp
rename : g2log/src/g2sinkwrapper.hpp => src/g2sinkwrapper.hpp
rename : g2log/src/g2time.cpp => src/g2time.cpp
rename : g2log/src/g2time.hpp => src/g2time.hpp
rename : g2log/src/shared_queue.hpp => src/shared_queue.hpp
rename : g2log/src/std2_make_unique.hpp => src/std2_make_unique.hpp
rename : g2log/src/stlpatch_future.hpp => src/stlpatch_future.hpp
rename : g2log/test_performance/Performance.cmake => test_performance/Performance.cmake
rename : g2log/test_performance/main_threaded_mean.cpp => test_performance/main_threaded_mean.cpp
rename : g2log/test_performance/main_threaded_worst.cpp => test_performance/main_threaded_worst.cpp
rename : g2log/test_performance/performance.h => test_performance/performance.h
rename : g2log/test_unit/Test.cmake => test_unit/Test.cmake
rename : g2log/test_unit/test_concept_sink.cpp => test_unit/test_concept_sink.cpp
rename : g2log/test_unit/test_configuration.cpp => test_unit/test_configuration.cpp
rename : g2log/test_unit/test_filechange.cpp => test_unit/test_filechange.cpp
rename : g2log/test_unit/test_io.cpp => test_unit/test_io.cpp
rename : g2log/test_unit/test_linux_dynamic_loaded_sharedlib.cpp => test_unit/test_linux_dynamic_loaded_sharedlib.cpp
rename : g2log/test_unit/test_sink.cpp => test_unit/test_sink.cpp
rename : g2log/test_unit/tester_sharedlib.cpp => test_unit/tester_sharedlib.cpp
rename : g2log/test_unit/tester_sharedlib.h => test_unit/tester_sharedlib.h
rename : g2log/test_unit/testing_helpers.cpp => test_unit/testing_helpers.cpp
rename : g2log/test_unit/testing_helpers.h => test_unit/testing_helpers.h
2014-10-03 01:20:33 -06:00
KjellKod
2bf3017021 BETA CPack 2014-10-03 01:04:26 -06:00
KjellKod
0f971e67b3 Updated cmake 2014-10-03 01:03:56 -06:00
KjellKod
8c89eebade renama example directory
--HG--
rename : g2log/test_example/Example.cmake => g2log/example/Example.cmake
rename : g2log/test_example/main_contract.cpp => g2log/example/main_contract.cpp
rename : g2log/test_example/main_sigsegv.cpp => g2log/example/main_sigsegv.cpp
2014-10-03 00:57:38 -06:00
KjellKod
19b17b9d94 Cleanup of cmake structure 2014-10-03 00:56:13 -06:00
KjellKod
73c6066c66 Removed obsolete gtest and Qt project file 2014-09-11 22:37:37 -06:00
KjellKod
b69d47c174 removed obsolete readme for 3rdparty 2014-09-11 22:29:50 -06:00
KjellKod
58a5fca8bd REmoved Google's performance test. If anyone is interested it can be found at g2log 2014-09-11 22:25:55 -06:00
KjellKod
0931a611ed Some test_io FATAL unit tests were memory sensitive. Added robustness by making the fatal exit message static 2014-09-02 22:59:50 -06:00
KjellKod
afb55095ce Improvement from Sean LK's pull request. The dynamic library test is still just kept for Linux and GCC 2014-09-02 22:26:17 -06:00
Sean LK
c02fe626f8 Ensure Clang and AppleClang are recognized by CMake script
As of CMake 3.0, the CMAKE_<LANG>_COMPILER_ID variable can take on two
different values for Clang: "Clang" and "AppleClang", the latter
referring to the Clang distributed by Apple with Xcode.

Therefore, update the compiler check to match CMAKE_<LANG>_COMPILER_ID
against the regular expression ".*Clang".
2014-08-29 18:31:59 +00:00
Kjell Hedström
3eb2ea5e08 README.markdown edited online with Bitbucket 2014-08-07 03:57:31 +00:00
Kjell Hedström
71791d072a README.markdown edited online with Bitbucket 2014-08-07 03:57:10 +00:00
Kjell Hedström
0eb4b28393 README.markdown edited online with Bitbucket 2014-08-07 03:56:44 +00:00
Kjell Hedström
f09747fba0 README.markdown edited online with Bitbucket 2014-08-07 03:52:16 +00:00
KjellKod
7fbdd34246 Added license and license referral to avoid any license confusion. G3log is a public domain dedication. Ref the unlicense.org 2014-07-03 15:42:19 -06:00
KjellKod
98ec05db7b Added threadID in case someone wants that. The std:🧵:id is looong. cutting it down would be nice,. but that is a job for the client 2014-05-25 01:38:03 -06:00
KjellKod
9be8f49f66 VTune performance .... from 4us on average (dual threads performance test) to 3us avarage 2014-05-25 01:09:50 -06:00
KjellKod
fafa4cf96a Added handling for the the user might have buggy adding of sinks 2014-04-29 07:47:35 -06:00
KjellKod
f0c3a43c3a spell check 2014-04-29 00:10:58 -06:00
KjellKod
c00981fad0 Bugfixes and improvments. Thanks to Csaba with team.
Bugfixes:   Initialization/Destruction order was wrong. This would cause a shutdown race condition.
Improvements:  Skipped pimpl (no hiding necessary), pointer comparison in g2log.cpp,  clarified shutdown safety with comment in ~LogWorker
Unit tests:  Added agressive shutdown test in test_sinks.cpp
2014-04-28 23:46:42 -06:00
KjellKod
e54706d77b std::formard of args in sink 2014-04-12 00:45:19 -06:00
KjellKod
33d6378e01 std::forward arguments. Actually this helped in reducing worst case performance 2014-04-12 00:18:30 -06:00