674 Commits

Author SHA1 Message Date
Kjell Hedström
ac54350346 The definitions file has to be generated after the options but before the build step. This way it will be included in the install target (#173) 2017-04-20 00:53:52 -06:00
Kjell Hedström
e04681ac42 Levels api changes 2 (#170)
* in progress

* Update loglevels.hpp

* Update loglevels.hpp

* don't code when too tired

* revert back

* removed comment
2017-04-05 23:03:55 -06:00
lemonnguyen
9f9062f45f Fix typos (#166) 2017-04-02 16:22:35 -06:00
Kjell Hedström
eba984171a Correcting define checks (#164)
* IF (NOT DEFINED  does NOT work on some CMake versions. This is a work-around

* removed log output
2017-04-01 10:39:34 -06:00
Kjell Hedström
33ed100f91 Colorer build and loglevel improvements (#161)
* static build with MS libs; remove vc11 support from cmake
* support AMD processor on winXp
* mingw build
* support older versions
* removed cmake warnings

* fix cmake >= 3.1 warnings (CMP0054)
* add target_include_directories - in projects that depend on g3log, do not need to specify include_directories
* Improved CPackage installation
* cleanup of build and test scripts
* c++14 gives for cleaner syntax
* build cleanup libg3logger.so will be a link to the actual libg3logger.so.<major><minor><build>. Only shared libraries from now on



* disableAll for log levels
* new setLogLevel impl
* cleaned up levels, now it should be easy for the user to understand how to add custom levels
2017-03-30 22:52:09 -06:00
Kjell Hedström
71ad664646 Update CPackLists.txt 2017-03-30 01:48:35 -06:00
Kjell Hedström
66a3d5ec0f Git release versioning (#163)
* corrected versions to fit release versioning

* fixed comments
1.3
2017-03-29 11:25:23 -06:00
Kjell Hedström
6e77118706 Time correction (#159)
* Improved the cpackage build. Also removed test compilation warnings

* To correcte what was reported in issue 155 (https://github.com/KjellKod/g3log/issues/155)
2017-03-28 11:09:10 -06:00
Kjell Hedström
417ae2ca10 Added a g3sink example (#158)
* Added a g3sink example

* Update API.markdown

* Update API.markdown

* Update API.markdown
2017-03-28 10:22:19 -06:00
Kjell Hedström
9b17525b97 Improved the cpackage build. Also removed test compilation warnings (#156) 2017-03-26 01:11:18 -06:00
Kjell Hedström
afa9a45a86 Update README.markdown 2017-03-24 13:49:24 -06:00
Aleksey Dobrunov
a48a4860fd fix mingw build (#152) 2017-02-19 10:50:58 -07:00
Kjell Hedström
3305652de5 Merge pull request #150 from 0017031/change_by_0017031
force /utf-8 for MSVC compiler
2017-02-15 00:02:56 -07:00
baic
411b8e249c force /utf-8 for MSVC compiler 2017-02-13 16:25:30 +08:00
Kjell Hedström
5660732d82 Merge pull request #147 from KjellKod/OSX_std_get_timespec
Update time.cpp
2017-01-08 14:07:02 -07:00
Kjell Hedström
c71349ac3d Update time.cpp 2017-01-08 14:01:38 -07:00
Kjell Hedström
a04b17abb5 Merge pull request #144 from rickyzhang82/pr-fix-output-format
Fix message newline issue
2016-12-23 09:13:19 -07:00
Ricky Zhang
d747de2840
Add back ugly tab
Signed-off-by: Ricky Zhang <rickyzhang@gmail.com>
2016-12-22 19:33:29 -05:00
Kjell Hedström
5bc693e099 Merge pull request #145 from rickyzhang82/pr-add-cmake-package
Add CMake package support
2016-12-22 10:24:37 -07:00
Ricky Zhang
601f6af1fd
Add CMake package support
Signed-off-by: Ricky Zhang <rickyzhang@gmail.com>
2016-12-22 11:30:18 -05:00
Ricky Zhang
fc615b4ac0
Fix message newline issue
Signed-off-by: Ricky Zhang <rickyzhang@gmail.com>
2016-12-22 11:23:25 -05:00
Kjell Hedström
3ed2ed2674 Merge pull request #141 from KjellKod/Build-CMake-flags
Inherit C++ flags from build environment
2016-12-21 15:44:47 -07:00
Kjell Hedström
ab5b408f40 Merge pull request #137 from AbberiorInstruments/windows-time-fix
fix timing inaccuracy on windows
2016-12-21 15:38:44 -07:00
Andreas Schönle
2ebb9c2346 Merge branch 'master' into windows-time-fix 2016-12-19 17:03:23 +01:00
Andreas Schönle
294a015175 Merge pull request #1 from AbberiorInstruments/KjellKod-clean-up-timing
merged pull request #1
2016-12-19 16:43:45 +01:00
Kjell Hedström
6cdefee897 Inherit C++ flags from build environment
As suggested in : http://stackoverflow.com/questions/36765217/how-to-create-cmake-recipes-in-yocto
2016-12-14 21:36:52 -07:00
Kjell Hedström
34aa4ff8d6 Update time.cpp
removed ifdef's and using Andreas' implementation of  get_time
2016-12-09 23:26:20 -07:00
Kjell Hedström
6bf8afddfa Merge pull request #133 from AbberiorInstruments/arm-fix
compiles on arm
2016-12-09 23:02:21 -07:00
Kjell Hedström
b7adc0e77d fix formatting to get the branch merged 2016-12-09 23:02:04 -07:00
Andreas Schönle
03734dd29c alternative, better fix as proposed by Kjell 2016-12-06 17:36:17 +01:00
Andreas Schönle
cc2bd60ecb Merge branch 'master' into windows-time-fix 2016-12-06 17:15:37 +01:00
Kjell Hedström
e6f9178d42 Merge pull request #138 from AbberiorInstruments/include-file-path-only
Include file path only
2016-12-06 09:15:05 -07:00
Andreas Schönle
8d01c2224d reverted file parameter to std::string reference, adjusted formatting 2016-12-06 17:13:27 +01:00
Kjell Hedström
dc06cfb683 Merge pull request #139 from AbberiorInstruments/add-levels-only
Add levels only
2016-12-06 08:49:21 -07:00
Andreas Schönle
f018f3e92f Fixed formatting 2016-12-06 14:34:23 +01:00
Andreas Schönle
793ddbd42e changed to copying the file path upon message creation 2016-12-06 14:07:01 +01:00
Andreas Schönle
4bd1870a76 effectively remove feature - it is almost useless. Keep the change to the unit test avoiding premature exit when fatal signal handling is not enabled in the library 2016-12-06 13:55:47 +01:00
Andreas Schönle
c8e9dc367c Merge branch 'master' into arm-fix 2016-12-06 12:01:16 +01:00
Andreas Schönle
7ece784109 Merge branch 'master' into windows-time-fix 2016-12-06 12:00:30 +01:00
Andreas Schönle
cb3e2b1336 Merge branch 'master' into include-file-path-only 2016-12-06 12:00:01 +01:00
Andreas Schönle
b43848c527 Merge branch 'master' into add-levels-only 2016-12-06 11:59:21 +01:00
Kjell Hedström
d9413181d3 Merge pull request #136 from KjellKod/KjellKod-Travis-test
Update .travis.yml
2016-12-05 23:55:17 -07:00
Kjell Hedström
1a27d6379f thanks to: https://github.com/PacificBiosciences/pbbam/blob/master/.travis.yml 2016-12-05 23:49:32 -07:00
Kjell Hedström
8cc59bece2 more sudo 2016-12-05 23:31:46 -07:00
Kjell Hedström
fc1f531d1d sudo change reverted 2016-12-05 23:29:43 -07:00
Kjell Hedström
c70fd4f978 space removed 2016-12-05 23:26:14 -07:00
Kjell Hedström
10150e7633 key-space issues, fixed1 2016-12-05 23:23:16 -07:00
Kjell Hedström
aed15716ad test3 2016-12-05 23:16:48 -07:00
Kjell Hedström
296b91d857 test2 2016-12-05 23:10:28 -07:00
Andreas Schönle
f1f2167864 Update API.markdown
Added description of addLogLevel function
2016-12-05 11:21:40 +01:00