32 Commits

Author SHA1 Message Date
René Ferdinand Rivera Morell
b5cce2833b Add support for modular build structure. (#401)
* Make the library modular usable
* Move inter-lib dependencies to a project variable and into the build targets
* Bump B2 require to 5.2
* Update dependencies used in CI: compiler versions, tools, etc.

---------

Co-authored-by: Hans Dembinski <hans.dembinski@gmail.com>
2025-06-05 15:23:06 +02:00
Hans Dembinski
72064c642a increase coverage and fix noexcept (#375) 2022-12-23 01:21:39 +01:00
Hans Dembinski
90a58d03ee fix scaling for count and update CI (#328) 2021-06-27 16:58:14 +02:00
Hans Dembinski
79fab52b32 update to lcov-1.15 and update to less brittle python script (#325) 2021-05-07 17:32:04 +02:00
Hans Dembinski
d60f96ded6 ostream improvements: support more accumulators, unicode plots (#317) 2021-04-23 20:15:12 +02:00
Hans Dembinski
3f9e9c3dc8 Document undefined behavior of accumulator::mean and accumulator::weighted_mean (#298) 2020-11-01 23:38:50 +01:00
Hans Dembinski
e8b61bf483 Flexible category add (#118)
- added axis::traits::continuous to match axis::traits::is_continuous
- axes now return mutable metadata even when constant
- histograms with discrete growing axis can be added
- use multi_index in histogram interface
2020-05-20 02:42:53 +02:00
Hans Dembinski
5e24146062 re-introduce optimizing array_wrapper for serialization 2019-10-22 23:35:36 +01:00
Hans Dembinski
9dd4a04a10 Separate serialization code from Boost.Serialization 2019-10-20 21:40:02 +01: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
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
0101f698bb check build system (#228)
make sure that all implemented tests are actually run
2019-09-29 13:33:20 +02:00
Hans Dembinski
93f4b4b1d8 fix the crlf issue, closes #204 2019-08-20 10:50:24 +02:00
Hans Dembinski
016532f011 Histogram fill method (#54)
huge refactor, various speed improvements, potential for further improvements and parallelization
2019-08-19 23:55:43 +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
3ed997fba2 autodetect the best gcov version 2019-06-10 10:51:19 +02:00
Hans Dembinski
87d2f31d4a make script more flexible on the cmd line 2019-06-08 22:57:58 +02:00
Hans Dembinski
83a271fa38 upload to codecov if token is defined in environment 2019-06-08 21:16:54 +02:00
Hans Dembinski
a06505d877 Get full coverage with tests only 2019-06-08 16:28:56 +02:00
Hans Dembinski
7b5f7ab4f5 script to add copyright, licence, include guards to new header 2019-06-08 16:01:45 +02:00
Hans Dembinski
75312340f2 Construct from any iterable and select proper type 2019-05-03 11:36:06 +02:00
Hans Dembinski
170199bb9f replacing boost::variant with detail::variant
- removes large number of outdated indirect boost dependencies
- less limited in number of stored types
2019-04-30 16:27:14 +02:00
Hans Dembinski
2195df0419 Use curl instead of wget to download lcov 2019-04-26 10:18: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
67ff59ed5e fix executable script 2019-04-16 23:40:18 +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
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
5ebb417652 tool to check jamfile completenes 2019-02-20 23:48:58 +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
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