Commit Graph

13 Commits

Author SHA1 Message Date
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
Kjell Hedstrom
56bdcfa757 fixing travis 2015-07-19 23:16:29 -06:00
KjellKod
81a7c9109d Updated travis build script to accept any g++ version
Updated the fatal choice example with informative couts
2014-12-12 02:05:51 -07:00
KjellKod
497bd1deab moved compiler exports to build script 2014-10-11 23:00:18 -06:00
KjellKod
e49b1dc15d wrong compiler test 2014-10-11 22:49:25 -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
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
edef25b5e1 Added all unit tests 2014-10-10 01:06:10 -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
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