Commit Graph

275 Commits

Author SHA1 Message Date
Hans Dembinski
4c1caf3462
removing callable_traits
* replacing callable_traits with private implementation
2019-10-26 13:12:45 +02:00
Hans Dembinski
5a893c467c
fix compile issues on clang with cxxstd=latest
added tests of clang with cxxstd=latest to detect issue
2019-10-17 12:31:40 +02:00
Hans Dembinski
98926dbbb5
CI update, reduce reliance on Travis
* Appveyor now tests gcc-9 and clang with sanitizers
* Travis tests apple-clang on macOS and gcc-5, gcc-8 on linux and produces coverage report
2019-10-12 19:05:00 +02:00
Hans Dembinski
05c1bbfac1
Improve odr test (#59)
* rename link test to odr test and check odr test completeness
* added convenience header for algorithm
* added minimal docs for axis.hpp, accumulators.hpp, algorithm.hpp
* temporarily remove display.hpp (will return in another patch)
2019-10-12 15:12:53 +02:00
Hans Dembinski
92a873c746
Faster linearize (#230)
* introduce offset for faster linearization of non-growing axes
* added traits::is_inclusive and constexpr bool inclusive() methods for builtin axes
* bug fixes for fill method when weight array is used with non-inclusive axis and when growing axes are used
* bug fix of axis::options::test(...)
* coverage tested with gcc-8, updated CONTRIBUTING.md with coverage info
2019-10-06 23:03:45 +02:00
Hans Dembinski
df647cf959
update copyright (#55)
* add missing copyright notices
* workaround for xml_iarchive bug to handle XML with comments
* fixing min/max according to boost guidelines
2019-08-19 16:53:27 +02:00
Hans Dembinski
07f0a32368 simplify travis 2019-06-12 09:25:45 +02:00
Hans Dembinski
49d6cc17b0
coveralls is back, good riddance to codecov 2019-06-11 21:39:27 +02:00
Hans Dembinski
a06505d877
Get full coverage with tests only 2019-06-08 16:28:56 +02:00
Hans Dembinski
de37af2a94
test no-exception in separate build 2019-06-02 21:15:30 +02:00
Hans Dembinski
5f3f9d8fd7
Benchmark improvements and scripts to research history
* allow benchmarks to run in isolation, new scripts to run historic benchmarks
* make sure variant is never trivial in tests and benchmarks
2019-06-02 19:46:57 +02:00
Hans Dembinski
e434804508
explicitly guarantee nothrow moves for all builtin axis types
* use preinstalled gcc5 on travis and don't stop on first error anymore
* update axis concept regarding nothrow moves
2019-05-28 22:29:26 +02:00
Hans Dembinski
97f8b7dd91
Fix nothrow-move-assignable failures in travis
* new tests of nothrow move assignment for builtin axis types
* switch to xenial, which apparently comes with a different glibc version that adds a nothrow move assignment operator for std::string
2019-05-28 13:10:53 +02:00
Hans Dembinski
9a0fc1392c better comments and names [ci skip] 2019-05-13 21:09:19 +02:00
Hans Dembinski
8602102014
support -fno-exceptions and -fno-rrti and test this 2019-05-12 22:08:10 +02:00
Hans Dembinski
75312340f2
Construct from any iterable and select proper type 2019-05-03 11:36:06 +02:00
Hans Dembinski
6b386c9b51
increase coverage
* provide unsafe access to buffer
* factored mp_int out into separate header and renamed to large_int
* refined adding behavior
* more warnings and comeback of coverage variant
* better coverage reporting
2019-04-22 03:33:05 +02:00
Hans Dembinski
ed4935cd93
better build files 2019-04-20 00:00:29 +02:00
Hans Dembinski
910431d8ad
Partial boost-cmake support
Running tests works, but installing targets does not
2019-04-14 19:54:46 +02:00
Hans Dembinski
bc4271d0ba
slightly faster travis (#5) 2019-03-22 18:42:21 +01:00
Hans Dembinski
3b0a1d2cb2 restore coverage (#2) 2019-03-21 16:58:39 +01:00
Hans Dembinski
bb3ab33040 do not build feature branches on appveyor and travis 2019-03-21 16:58:03 +01:00
Hans Dembinski
baca1ca8ae Improved ubsan (#173)
Include leak test, exclude boost.serialization UB with blacklist.supp, avoid divide-by-zero in test
2019-03-18 15:50:59 +01:00
Hans Dembinski
547ec8d528 break early on appveyor and test deduction guides on travis 2019-02-24 12:33:15 +01:00
Hans Dembinski
266e1a69f2
Feature/operators (#162)
* better operators for mp_int, unlimited_storage::reference, map_impl::reference, copying code from boost.operators 
* treat warnings as errors on travis
* make appveyor build feature branches
2019-02-20 09:15:14 +01:00
Hans Dembinski
58e132497d
fix for broken global b2 build (#160)
patch to fix the broken build of top-level boost: `b2 status`
2019-02-19 16:42:31 +01:00
Hans Dembinski
2568a68f76
msvc fixes, simplification and bug-fixes of mp_int, more test coverage (#159)
* fixes broken msvc build
* smaller xml files for testing serialization
* fixing many warnings on msvc
* bug-fixes to mp_int regarding operators and new tests to check their behavior 
* don't expect iterable histogram::at to have size method
* build benchmarks in release mode
* test everything by default when b2 is run on project directory
* more test coverage
2019-02-18 10:04:27 +01:00
Hans Dembinski
9abbe46e3d
CI & doc update, removed multiprecision::cpp_int, simpler axis implementation, use_default to set default options
* Travis uses b2 and codecov now
* replacing boost::multiprecision with custom implementation to avoid the dependency
* improved axis implementation: `update` is now a normal method
* introduced use_default tag type to set defaults
* whitespace fixes and doc update
2019-02-17 13:37:50 +01:00
Hans Dembinski
0442816594 ci fix 2019-01-27 19:50:51 +01:00
Hans Dembinski
67c142da5a simpler 2019-01-20 10:44:03 +01:00
Hans Dembinski
f21d396179 better value access and fixes for CI builds 2019-01-11 00:06:26 +01:00
Hans Dembinski
d46a62c628 get more info from travis 2019-01-11 00:06:26 +01:00
Hans Dembinski
1ab739e736 fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
34c9819915 more sanitizing 2019-01-11 00:06:25 +01:00
Hans Dembinski
3fa8ae8eba fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
47a245ded8 fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
e878a4e65e fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
673db94f6e fix win 2019-01-11 00:06:25 +01:00
Hans Dembinski
2164ea85b3 refactoring 2019-01-11 00:06:25 +01:00
Hans Dembinski
3fc67b07cd fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
97f39a40c8 fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
72d48cdf63 fix travis 2019-01-11 00:06:25 +01:00
Hans Dembinski
ec85da33a5 fix travis 2019-01-11 00:06:25 +01:00
Hans Dembinski
6b70e9a48c fix travis 2019-01-11 00:06:25 +01:00
Hans Dembinski
dd7e12624e fix travis 2019-01-11 00:06:25 +01:00
Mateusz Łoskot
23a1f6c5c4 Move CMakeLists.txt to top-level directory of the library
Add missing copyright header to CMakeLists.txt.
Rename build directory to tools.
Update Travis CI and AppVeyor scripts.
Ignore variants of build directory.
Ignore CMakeSettings.json used with CMake integration for VS2017.
Ignore Visual Studio and Visual Studio Code local settings folder.
2019-01-11 00:06:25 +01:00
Hans Dembinski
89cb6c6da7 fix 2018-09-15 20:36:54 +02:00
Hans Dembinski
786afa11d1 fix 2018-09-15 20:29:40 +02:00
Hans Dembinski
83149c17c9 fix 2018-09-15 20:03:00 +02:00
Hans Dembinski
2631d3fc31 fix 2018-09-15 15:48:03 +02:00