Commit Graph

13 Commits

Author SHA1 Message Date
Jeff Garland
e26fd2ed98
pull develop to master for boost 1.72 (#117)
* Synchronize each miscrosec test to the next second (#109)

* Synchronize each miscrosec test to the next second

The aim is to avoid false positives in test_microsec when the seconds,
minutes or hours change during time read between the second_clock and
the microsec_clock.

* Improved readability of the microcec_time_clock test

* Improve performance of adding and subtracting time durations from a ptime. (#99)

Modifying ptime objects by adding and subtracting time durations was
inefficient because it extracted the date and time of day and then
re-constructed a ptime using the date and modified time of day.

This can be avoided by using the existing time_system utilities which
perform the operation by adjusting the number of ticks.

Performance is improved by a factor of 48 on my system.

* Update CI Scripts

* Add time_duration helper functions: (#113)

1. is_positive()
  - Return boolean value to indicate whether or not time duration is
    positive.
2. is_zero()
  - Return boolean value to indicate whether or not time duration is
    zero.
3. abs()
  - Return a time_duration which is the absolute value of time
    duration.

Added documentation for these helper functions and improved existing
documentation to indicate constness, return values or static
functions.

* Cease dependence on MPL (#115)
2019-12-03 17:06:28 -07:00
James E. King III
81d60863b6 Enhance CI for more build coverage 2018-11-02 21:27:05 -04:00
James E. King III
a3d61f0d30 Enhance Travis CI build coverage 2018-10-28 11:37:32 -04:00
James E. King III
66ee8bf48f fix failing ci jobs in travis 2018-07-14 17:37:59 +00:00
James E. King III
aa19739c55 move ci to boost-ci model 2018-06-17 07:23:14 -04:00
James E. King III
f76ef169a0 make valgrind return error code on failure 2018-05-15 21:16:08 -04:00
James E. King, III
fd5f9aea7c Work around a gcc-7.3 issue running ubsan on travis CI
https://stackoverflow.com/questions/50024731/ld-unrecognized-option-push-state-no-as-needed
2018-04-29 10:07:42 -04:00
James E. King III
8e1f2be360 improve code coverage results processing 2018-03-07 15:17:47 -05:00
James E. King III
1a2700d527 fix issues identified by Coverity Scan 2018-01-23 17:57:36 -05:00
James E. King III
d8a1ed32fb add codecov.io, cppcheck, ubsan, and coverity scan support; refactor travis to use jobs 2018-01-21 20:14:06 -05:00
James E. King III
18b6ca8160 trac-11142: fix boost::date_time::period_parser::delimiter_strings and add a unit test for it
also added project declarations to jamfiles, added a top level jamfile, and fixed the xmldoc jamfile
also fixed a silent failure y2038 issue in localtime handling and fixed a timezone database parse issue
2018-01-16 12:46:45 -05:00
Peter Dimov
afa1a44f97 Install libstdc++ 4.9 for clang to avoid ::gets error 2017-11-13 22:56:29 +02:00
Peter Dimov
f983eef46b Add .travis.yml 2017-11-13 20:38:26 +02:00