Commit Graph

715 Commits

Author SHA1 Message Date
Kjell Hedström
d15fcb3776 Update .travis.yml
Dummy trigger to travis
2016-12-04 07:17:21 -07:00
Kjell Hedström
426e77943e Merge pull request #126 from dasmysh/master
Updated cmake version to correct string compare behaviour.
2016-12-04 07:15:54 -07:00
Kjell Hedström
1ba64d5e09 Merge pull request #134 from KjellKod/KjellKod-trigger-travis-1
trigger travis
2016-12-02 10:22:25 -07:00
Kjell Hedström
5a0e730d0c assume yes for interactive check 2016-12-02 10:16:46 -07:00
Kjell Hedström
0fd9cb8408 trigger travis
test
2016-12-02 10:13:02 -07:00
Kjell Hedström
0fdccaf823 Update .travis.yml
Upgrade travis cmake version
2016-12-02 10:10:01 -07:00
SchoenleAndi
e93031c6d0 compiles on arm 2016-12-02 17:01:16 +01:00
Kjell Hedström
813e3da1f9 Merge pull request #129 from AbberiorInstruments/msvc-format-specifier
MSVC printf format specifier
2016-10-20 13:37:16 -06:00
Kjell Hedström
570a85b997 Merge pull request #128 from AbberiorInstruments/DBUG-vs-DEBUG
Fix compilation errors when CHANGE_G3LOG_DEBUG_TO_DBUG is enabled-
2016-10-20 13:35:17 -06:00
SchoenleAndi
1dafdaf2a4 msfc fromat specifiers added 2016-10-19 13:41:48 +02:00
SchoenleAndi
c39e77c27e DBUG-vs-DEBUG in main_ programs fixed 2016-10-19 13:39:24 +02:00
SchoenleAndi
940d11a61d DBUG vs DEBUG fixed in unit test, too 2016-10-19 13:36:19 +02:00
SchoenleAndi
c467851423 save include fil full path as const char * in LogMessage 2016-10-19 13:21:52 +02:00
SchoenleAndi
09ede1bf1f add loglevels to upstream master only 2016-10-19 13:17:46 +02:00
Sebastian Maisch
e7af386de2 Updated cmake version to correct string compare behaviour. 2016-10-17 19:49:56 +02:00
Kjell Hedström
ba81287ca5 bugfix time formatting (#119)
* bugfix time formatting

* fixit
2016-08-30 18:34:13 -06:00
Lynn
1bae2e6a68 Typo fix (Vaulue → Value) (#120)
* typo fix (Vaulue → Value)

* typo fix (Vaulue → Value)
2016-08-30 11:10:58 -06:00
Kjell Hedstrom
e0fb4fd24e fixit 2016-08-25 00:51:21 -06:00
Kjell Hedstrom
26f76cd103 bugfix time formatting 2016-08-25 00:49:17 -06:00
Kjell Hedström
1496d7aa40 Update API.markdown (#115) 2016-08-18 00:49:49 -06:00
Kjell Hedström
7d6bf2fac5 Update README.markdown (#114)
* Update README.markdown

* Update README.markdown

* Update README.markdown

* Update README.markdown

* Update README.markdown
2016-08-18 00:37:28 -06:00
Kjell Hedström
9b8e13bcfe Update crashhandler.hpp (#110)
Thanks to @graugans
2016-08-11 07:08:41 -06:00
Kjell Hedström
86473c60e0 Gimesketvirtadien's time requested changes (#104)
* Added "removeSink" method and related functionality to LogWorker API

* Added a new API for plugging in custom Timestamp generator.

* Revert "Added "removeSink" method and related functionality to LogWorker API"

This reverts commit c9cee5d9a0.

* Dropping shared_ptr<Timestamp> in log messages and using regular vars

* Moving to standard timespec struct from custom Timestamp

* Wiring timespec timestamps with formating routine

* Falling back to clock_gettime

* Reverting g3 API changes

* Optimizing format string generation

* Removed _microseconds from LogMessage

* Implemented sec fractional format key

* Optimization of format string generation

* Adjusting comments

* Refining localtime_formatted by introducing two helper functions

* refactored and simplified code

* fixed up some commented away unit tests

* refactoring message specifics tests to it's own test

* Use gcc 4.9

* C++14 for Linux

* Update .travis.yml

* Update buildAndRunTests.sh

* lower case in `-std=c++14`

* -lrt flag for gcc

* Added support for high precision clock on Linux/gcc (already there now for OSX). Windows is still missing

* intermediate comments

* Clarified for some code readers the mysterious use of assert in an expression that is always true

* refactored + renamed functions and constants. Added unit test for retrieving fractional type

* committing changes previously fixed - finished unit testing for g3::internal::time::GetFractional(..)

* added unit test for fractional to string

* added missing unit tests for localtime_formatted

* fixed? nano / microsec functionality to timer

* test
2016-08-11 00:27:52 -06:00
jkhoogland
ff722164d4 Warning braces loglevels clang 3.7 (#108)
* Fix gcc compiler warning for braces around scalar

* use 'toString' to get the formatted output in the fatal cerr message when a LOG fatal or CONTRACT happens. This was already OK on the sink side

* Avoid initialization/shutdown deadlock that could occur due to wrong use of the API

* Workaround for windows testing (#100)

* added automatic linking pragma for `StackWalk64` (#96)

* fix to implicit type casting (#98)

* create a Xcode project

* fixed to implicit type casting

* Revert "create a Xcode project"

This reverts commit e3216391f5.

* Fixed a bug causing cross-compilers to fail (#101)

(The edited line eliminated the original CXXFLAGS variable, removing the sysroots parameter, which is needed for cross compiling)

* Update logworker.cpp (#103)

* Fix gcc compiler warning for braces around scalar

* Add back braces
2016-07-31 17:01:54 -06:00
Kjell Hedström
e0d4434428 Update logworker.cpp (#103) 2016-06-23 21:35:59 -06:00
Nitaym
56b3f20517 Fixed a bug causing cross-compilers to fail (#101)
(The edited line eliminated the original CXXFLAGS variable, removing the sysroots parameter, which is needed for cross compiling)
2016-06-22 14:29:45 -04:00
Kjell Hedström
04817b6e85 Workaround for windows testing (#100) 2016-06-12 16:58:14 -06:00
Dmitry Ledentsov
f10fbe1d9c added automatic linking pragma for StackWalk64 (#96) 2016-06-12 16:57:55 -06:00
JiHyung Lee
736d6437b8 fix to implicit type casting (#98)
* create a Xcode project

* fixed to implicit type casting

* Revert "create a Xcode project"

This reverts commit e3216391f5.
2016-06-12 14:09:55 -06:00
Kjell Hedström
e58cc942dd Merge pull request #94 from KjellKod/Fatal_exit_For_Erronous_Initialization
Avoid initialization/shutdown deadlock
2016-05-23 22:34:41 -06:00
Kjell Hedstrom
70b37d66a0 Avoid initialization/shutdown deadlock that could occur due to wrong use of the API 2016-05-23 22:25:32 -06:00
Kjell Hedström
6c1698c4f7 Merge pull request #86 from KjellKod/cerr_when_fatal_exit
use 'toString' to get the formatted output in the fatal cerr message …
2016-03-30 16:42:43 -06:00
Kjell Hedstrom
bfe1e8ad19 use 'toString' to get the formatted output in the fatal cerr message when a LOG fatal or CONTRACT happens. This was already OK on the sink side 2016-03-30 16:35:38 -06:00
Kjell Hedström
7d0779d92d Merge pull request #84 from KjellKod/checkmarx-update
removed false positives as detected by Checkmarx code analysis tool. …
2016-03-24 11:21:43 -06:00
Kjell Hedström
4472ba3cbf fix the tool, not the code 2016-03-24 10:43:09 -06:00
Kjell Hedström
d01dfbf992 revert "fix" for issue with checkmarx. The tool should be fixed, not the code 2016-03-24 10:41:23 -06:00
Kjell Hedstrom
8df4eadd92 removed false positives as detected by Checkmarx code analysis tool. Not impressed so far though with the tool 2016-03-18 10:50:59 -06:00
Kjell Hedström
db23383aea Merge pull request #83 from KjellKod/duedal-install-target
Duedal install target
2016-03-06 23:04:00 -07:00
Kjell Hedsröm
33003af08b fixed user com 2016-03-06 23:02:04 -07:00
Kjell Hedsröm
0bd43a9ef2 start of replacement for: https://github.com/KjellKod/g3log/pull/74/files 2016-03-06 15:55:35 -07:00
Kjell Hedström
5790c3723f Merge pull request #80 from KjellKod/Thread_local
Update stacktrace_windows.cpp
2016-02-24 19:16:09 -07:00
Kjell Hedström
56cef7959c Merge pull request #82 from KjellKod/repace-g3log-in-path
Repace g3log in path
2016-02-17 00:31:15 -07:00
Kjell Hedsröm
fbddb5a5ca added new API for AddDefaultLogger to API 2016-02-17 00:25:55 -07:00
Kjell Hedsröm
b7704b1ed7 fixed merge conflict 2016-02-17 00:06:45 -07:00
Kjell Hedsröm
1ebaf0e7e5 fixed conflict 2016-02-16 23:16:22 -07:00
Kjell Hedström
af505d572a Merge pull request #81 from KjellKod/path_parenthesis_fix
Allow parenthesis in path and filename
2016-02-16 23:00:23 -07:00
Kjell Hedsröm
072a7bef93 put back commented out code 2016-02-16 22:57:02 -07:00
Kjell Hedsröm
fb034e1000 fixed commented out code, left it but corrected 2016-02-16 22:56:21 -07:00
Kjell Hedsröm
a0b961ee04 Allow parenthesis in path and filename 2016-02-16 22:52:38 -07:00
Kjell Hedström
279587c567 Update stacktrace_windows.cpp
For access to thread_local definition
2016-02-16 20:55:28 -07:00