5b99c56 | Rosen Penev | 30 August 2019, 02:31:53 UTC | Don't use std version of nextafter nextafter is C++11. std version is not available with either uClibc++ or uClibc-ng. | 01 September 2019, 20:38:03 UTC |
ce42deb | Martin Hořeňovský | 10 August 2019, 18:51:15 UTC | Add Android's log library to Catch2's CMake interface | 10 August 2019, 18:51:15 UTC |
46a7007 | Martin Hořeňovský | 10 August 2019, 12:51:38 UTC | Use __android_log_write instead of __android_log_print `print` version of the logging functions supports `printf`-like formatting, which we do not use and given our current debug print internals, will never use. This should be slightly more efficient and expresses the intent better. | 10 August 2019, 12:51:38 UTC |
378cc1a | Jesse Alas | 09 August 2019, 20:27:24 UTC | Rename template parameter names to avoid name conflict on Solaris. Closes #1722 | 10 August 2019, 08:55:17 UTC |
e2d863b | Martin Hořeňovský | 09 August 2019, 09:21:05 UTC | Actually run the random generator tests | 09 August 2019, 09:21:05 UTC |
ebe6a07 | Martin Hořeňovský | 09 August 2019, 09:08:23 UTC | Remove the new tests from approvals They lead to stringification of file (which is ok) and file line (not ok) to the approvals, which makes them exceedingly brittle and not worth approval testing. Instead we just run them as part of the base test run. | 09 August 2019, 09:13:28 UTC |
edcfd7f | Martin Hořeňovský | 09 August 2019, 08:57:01 UTC | Add missed item to v2.9.2 release notes | 09 August 2019, 08:57:59 UTC |
738818a | Martin Hořeňovský | 09 August 2019, 08:50:53 UTC | Add a test for the internals | 09 August 2019, 08:50:53 UTC |
2c869e1 | Martin Hořeňovský | 08 August 2019, 12:05:24 UTC | v2.9.2 | 08 August 2019, 12:05:24 UTC |
0ab11aa | Martin Hořeňovský | 07 August 2019, 18:35:27 UTC | (Hopefully) Fix Obj-C++ compilation of matchers Thanks to bdb for the patch, related to #1661 | 07 August 2019, 18:35:27 UTC |
7a6af7b | Martin Hořeňovský | 07 August 2019, 07:23:47 UTC | Merge pull request #1717 from ax3l/fix-storageClassFirst static constexpr: storage class first | 07 August 2019, 07:23:47 UTC |
fa096b2 | Martin Hořeňovský | 07 August 2019, 07:12:38 UTC | Merge pull request #1715 from sfranzen/fix-compact-reporter Fix infinite loop in compact reporter printer | 07 August 2019, 07:12:38 UTC |
820b1f1 | Axel Huebl | 07 August 2019, 00:17:16 UTC | static constexpr: storage class first Seen with PGI compiler for `static constexpr`: ``` warning: storage class is not first ``` | 07 August 2019, 00:17:16 UTC |
6070745 | Steven Franzen | 06 August 2019, 18:51:19 UTC | Improve reporting of unmatched filters (#1684) This PR ultimately does 3 things * Separately tracks matched tests per each filter part (that is, a set of filters separated by an OR (`,`)), which allows Catch2 to report each of the alternative filters that don't match any tests. * Fixes `-w NoTests` to return non-zero in the process * Adds tests for `-w NoTests`. | 06 August 2019, 18:51:19 UTC |
3d9e7db | Steven Franzen | 06 August 2019, 18:19:42 UTC | Fix infinite loop in compact reporter printer Also simplify some variables with auto deduction. | 06 August 2019, 18:19:42 UTC |
cf55cfd | Martin Hořeňovský | 05 August 2019, 17:12:25 UTC | Tiny speedup when listing tags Noticed that the code was originally concatenating strings just to then append the result to another string. Now it does not create temporaries and also preallocates the string buffer. | 05 August 2019, 17:12:29 UTC |
3701c2e | Martin Hořeňovský | 04 August 2019, 11:50:25 UTC | Small cleanup of self tests | 04 August 2019, 11:50:25 UTC |
7dc7d77 | Martin Hořeňovský | 03 August 2019, 18:16:46 UTC | Add a test for Catch version output | 03 August 2019, 18:16:46 UTC |
06bc20c | Martin Hořeňovský | 03 August 2019, 09:08:05 UTC | Improve handling of newlines in release scripts Under WSL, Python in text mode will translate `\n` into `\r\n`, even though other tools and utilities use `\n` (because WSL is basically Linux). This leads to the update scripts leaving the files with Windows newlines even though git and similar expect them to have Linux newlines. By instead handling files in binary mode, we can keep the original newlines. This commits switches parts of the update process to binary mode, but not all because some of the will require a lot of work to fix. | 03 August 2019, 17:59:35 UTC |
7a4beed | Martin Hořeňovský | 03 August 2019, 08:44:57 UTC | Make release script update version placeholders in docs | 03 August 2019, 08:44:57 UTC |
67b4ada | Clare Macrae | 22 July 2019, 12:29:56 UTC | Add 'Introduced in Catch 2.3.0.' text | 02 August 2019, 17:18:47 UTC |
119569a | Clare Macrae | 22 July 2019, 12:20:25 UTC | Add 'Introduced in Catch 2.4.0.' text | 02 August 2019, 17:18:47 UTC |
ab71389 | Clare Macrae | 22 July 2019, 12:08:38 UTC | Add docs for AND_GIVEN macro - see #1360 | 02 August 2019, 17:18:47 UTC |
69fc94d | Clare Macrae | 22 July 2019, 12:02:01 UTC | Add 'Introduced in Catch 2.4.1.' text | 02 August 2019, 17:18:47 UTC |
49cd7c9 | Clare Macrae | 22 July 2019, 11:49:08 UTC | Add 'Introduced in Catch 2.4.2.' text | 02 August 2019, 17:18:47 UTC |
e998d15 | Clare Macrae | 22 July 2019, 11:41:22 UTC | Add 'Introduced in Catch 2.5.0.' text | 02 August 2019, 17:18:47 UTC |
42a5903 | Clare Macrae | 22 July 2019, 11:31:33 UTC | Add 'Introduced in Catch 2.6.0.' text | 02 August 2019, 17:18:47 UTC |
c071f07 | Clare Macrae | 21 July 2019, 21:35:29 UTC | Add 'Introduced in Catch 2.7.0.' note | 02 August 2019, 17:18:47 UTC |
53776a9 | Clare Macrae | 21 July 2019, 20:43:24 UTC | Add 'Introduced in Catch 2.7.1.' note | 02 August 2019, 17:18:47 UTC |
4511dc0 | Clare Macrae | 21 July 2019, 20:13:58 UTC | Add 'Introduced in Catch 2.8.0.' text | 02 August 2019, 17:18:47 UTC |
e7c3bdb | Clare Macrae | 21 July 2019, 19:55:32 UTC | Add 'Introduced in Catch 2.8.0.' text | 02 August 2019, 17:18:47 UTC |
9aab958 | Clare Macrae | 21 July 2019, 19:53:59 UTC | Add section headers, so I can later say when features were introduced | 02 August 2019, 17:18:47 UTC |
8cd58f7 | Clare Macrae | 21 July 2019, 19:47:10 UTC | Add missing struct Template_Fixture_2 so that the example compiles. Code copied from projects/SelfTest/UsageTests/Class.tests.cpp | 02 August 2019, 17:18:47 UTC |
d5a69cd | Clare Macrae | 18 July 2019, 14:22:12 UTC | Add 'Introduced in Catch 2.9.0.' text | 02 August 2019, 17:18:47 UTC |
1d13d88 | Clare Macrae | 18 July 2019, 12:29:04 UTC | Helper script to create "Introduced in ..." text - see #1667 | 02 August 2019, 17:18:47 UTC |
de0674c | Martin Hořeňovský | 02 August 2019, 11:17:22 UTC | Add a template for creating new documentation page Related to #1695 | 02 August 2019, 11:17:22 UTC |
3d7282c | Martin Hořeňovský | 02 August 2019, 08:57:32 UTC | Add a section on documentation to contributing.md Related to #1695 | 02 August 2019, 08:58:51 UTC |
e5c0e33 | Mike Cowan | 31 July 2019, 21:12:34 UTC | Add Android implementation of writeToDebugConsole that prints to Logcat (#1710) | 31 July 2019, 21:12:34 UTC |
dc8c8e9 | Martin Hořeňovský | 31 July 2019, 13:28:08 UTC | Use an up to date conan package version again Last time it was fixed to a specific version because the `conan` and the `conan-package-tools` package that `pip install` would gather were not compatible, let's hope it won't happen again. | 31 July 2019, 13:59:16 UTC |
ba91933 | Martin Hořeňovský | 30 July 2019, 09:26:25 UTC | Add autoconfiguration for RTX Closes #1693 | 30 July 2019, 09:28:28 UTC |
7b70b11 | Czapa10 | 29 July 2019, 21:07:22 UTC | Add PopHead to Open Source projects using Catch | 30 July 2019, 07:37:05 UTC |
ab80277 | Martin Hořeňovský | 29 July 2019, 18:38:32 UTC | Improve the REQUIRE_THROWS_MATCHES documentation a bit | 29 July 2019, 18:39:02 UTC |
7e7ab0e | Joachim Meyer | 29 July 2019, 10:42:49 UTC | Fix xml reporter crashing when a benchmark failed. | 29 July 2019, 13:30:33 UTC |
425957d | Martin Hořeňovský | 27 July 2019, 16:41:42 UTC | Update vector matcher documentation As it turns out, there were 2 undocumented vector matchers. I also improved the documentation of them all. Closes #1699 | 27 July 2019, 16:41:42 UTC |
d017f6d | Martin Hořeňovský | 26 July 2019, 19:40:58 UTC | Document CATCH_CONFIG_CPP17_BYTE macro Leftover from #1686 | 26 July 2019, 19:43:46 UTC |
91244d3 | Martin Hořeňovský | 26 July 2019, 19:35:35 UTC | Document CATCH_CONFIG_CPP17_OPTIONAL macro | 26 July 2019, 19:42:54 UTC |
62b3f6c | Martin Hořeňovský | 22 July 2019, 11:15:35 UTC | Merge pull request #1698 from sfranzen/fix-#1634 Fix CTest command issue with square brackets | 22 July 2019, 11:15:35 UTC |
e7c26f0 | Benjamin Worpitz | 22 July 2019, 10:56:33 UTC | Fix non-default-constructible type lists used in TEMPLATE_LIST_TEST_CASE (#1697) * Fix non-default-constructible type lists used in TEMPLATE_LIST_TEST_CASE std::tuple is not default constructible when the first type is not default-constuctible. Therefore it can not be instantiated. to circumvent this, we have to use std::declval in the unevaluate decltype context. | 22 July 2019, 10:56:33 UTC |
a22b7df | Martin Hořeňovský | 22 July 2019, 10:13:29 UTC | Merge pull request #1700 from claremacrae/patch-3 Fix typo in 2.7.1 release notes | 22 July 2019, 10:13:29 UTC |
032068b | Clare Macrae | 21 July 2019, 21:04:50 UTC | Fix typo in 2.7.1 release notes GENERATE_VAR -> GENERATE_REF | 21 July 2019, 21:04:50 UTC |
2aed623 | Steven Franzen | 21 July 2019, 14:29:46 UTC | Fix CTest command issue with square brackets | 21 July 2019, 14:29:46 UTC |
fb74bb1 | Martin Hořeňovský | 20 July 2019, 19:06:56 UTC | Fix coverage report merging For some time now (I'd guess almost a year :shrug:), the coverage merging on Windows has been failing, because the reports have been generated in a different folder than expected. Our merge script did not report failure because it was not checking the returned error code from OpenCppCoverage, and for some reason, the `codecov` tool happily returned 0 even though it did not find the file it was supposed to upload... The former is also fixed by this commit. | 20 July 2019, 19:12:17 UTC |
0b42ada | Martin Hořeňovský | 19 July 2019, 11:56:08 UTC | Coverage helper now passes-on test return value This allows #1684 to proceed forward. | 20 July 2019, 19:05:31 UTC |
c424ca4 | Martin Hořeňovský | 19 July 2019, 16:16:21 UTC | Revert "Do not resolve symbolic path when sanitizing filepath during approvals" This reverts commit 52f3abadbb2da954597cda588b07c5e71a49f7e1. Opens #1691 | 19 July 2019, 16:16:21 UTC |
52f3aba | Martin Hořeňovský | 18 July 2019, 14:33:23 UTC | Do not resolve symbolic path when sanitizing filepath during approvals Fixes #1691 | 18 July 2019, 14:33:57 UTC |
53281b4 | Martin Hořeňovský | 18 July 2019, 09:51:47 UTC | Prevent compilation of generators that use bool in dangerous manner Closes #1692 | 18 July 2019, 09:54:18 UTC |
03ffc10 | Martin Hořeňovský | 14 July 2019, 13:49:17 UTC | Add a notice that benchmarking supports needs opt-in | 14 July 2019, 13:49:17 UTC |
87739ad | Stuart Dootson | 13 July 2019, 12:47:56 UTC | Add `std::byte` stringification support (#1686) * Add `std::byte` support 1. Add byte detection in Catch config 2. Add a `std::byte`specialisation for Catch2::Detail::StringMaker | 13 July 2019, 12:47:56 UTC |
0c27554 | Clare Macrae | 05 July 2019, 17:08:36 UTC | Update Contents in docs #1667 | 06 July 2019, 15:25:55 UTC |
11488e6 | Martin Hořeňovský | 06 July 2019, 14:55:10 UTC | Use _WIN32 macro for detecting MSVC Windows Previously we used `WIN32`, which sometimes does exist, but according to https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=vs-2019 `_WIN32` is the one that is actually provided by the compiler. Closes #1676. | 06 July 2019, 14:55:10 UTC |
820271b | Martin Hořeňovský | 02 July 2019, 18:43:37 UTC | Remove the weird backronym from readme | 02 July 2019, 18:43:37 UTC |
56d4510 | Martin Hořeňovský | 02 July 2019, 18:42:10 UTC | Default the SelfTest project to C++11 Unlike the previous approach, this will still obey `-DCMAKE_CXX_STANDARD=X` properly. | 02 July 2019, 18:42:14 UTC |
c0d3a2e | Martin Hořeňovský | 01 July 2019, 16:07:37 UTC | Merge pull request #1672 from sommd/master Fix ChunkGenerator with chunk-size 0 | 01 July 2019, 16:07:37 UTC |
2c3018a | Martin Hořeňovský | 30 June 2019, 07:17:01 UTC | Merge pull request #1673 from sfranzen/fix-sections Fix TrackerBase::close children completion check | 30 June 2019, 07:17:01 UTC |
9a6551b | Martin Hořeňovský | 29 June 2019, 22:00:41 UTC | Add integration test for the children completion check fix | 29 June 2019, 22:00:41 UTC |
800f1b1 | Steven Franzen | 29 June 2019, 16:02:28 UTC | Fix TrackerBase::close children completion check Now verifies that all children have completed, instead of only the last. | 29 June 2019, 16:02:28 UTC |
9cf5897 | David Sommerich | 29 June 2019, 13:48:30 UTC | Fix ChunkGenerator with chunk-size 0 Fixes #1671 | 29 June 2019, 13:48:30 UTC |
6f32c67 | Scott Hutchinson | 18 June 2019, 23:08:31 UTC | Adding to documentation for --order and --rng-seed | 21 June 2019, 13:17:55 UTC |
7eea3ab | Martin Hořeňovský | 17 June 2019, 17:41:07 UTC | Actually fix the CMake platform-independence problem | 17 June 2019, 17:41:17 UTC |
80af9ca | Justin Bassett | 07 June 2019, 03:10:34 UTC | Rollback ctest labels in CatchAddTests.cmake Parsing --list-tests is broken, as Catch automatically line wraps the line when it gets too long, stripping any whitespace in the process. This means that it's impossible to reproduce the exact name of the test if the test's name is long enough to line-wrap. Furthermore, overwriting the LABELS property with the discovered labels breaks users who manually added custom ctest labels. Rolling back to using --list-test-names-only for now, as it does not wrap lines even on very long test names. We may be able parse the output of --list-tags to produce the ctest labels. However, the straightforward way of doing this is to use CMake's get_property(TEST ...) and set_property(TEST ... APPEND ...), which don't work if the test name has spaces or other special characters. We would need to mangle the test name to a valid CMake identifier to do it that way. | 17 June 2019, 17:17:32 UTC |
33286fd | Martin Hořeňovský | 17 June 2019, 17:08:16 UTC | Fix bug with making arch-independent CMake config file Closes #1660 | 17 June 2019, 17:08:16 UTC |
2f631bb | Martin Hořeňovský | 17 June 2019, 10:00:19 UTC | v2.9.1 | 17 June 2019, 10:02:14 UTC |
25cc09d | Martin Hořeňovský | 17 June 2019, 09:58:40 UTC | Fix benchmarking in stand-alone files | 17 June 2019, 09:58:40 UTC |
f9dce28 | Martin Hořeňovský | 16 June 2019, 08:42:52 UTC | v2.9.0 | 16 June 2019, 08:42:59 UTC |
b87caaf | Jayesh Badwaik | 04 May 2019, 22:23:53 UTC | Remove explicit setting of CXX_STANDARD for SelfTest target - The current setup tries to detect USE_CPP14/USE_CPP17 and sets the CXX_STANDARD property for the SelfTest target. This is not ideal, since CMAKE_CXX_STANDARD can be provided by the toolchain file or as command line option and should be used by the library internally correctly. Hence, the whole set of the relevant lines from `projects/CMakeLists.txt` have been removed. - The above can also cause subtle issues where the user is expecting the tests to compile with C++17 after setting CMAKE_CXX_STANDARD and then getting results of compilation with C++11 as USE_CPP17 has not been set. - The current build matrix used the above code to run the tests. So, even though the it should not required anymore to build Catch2, it was still required to send correct options to build matrix. In that respect, .travis.yml has been modified to send correct options to the build command in the new setup. | 15 June 2019, 18:33:28 UTC |
bbbd5c4 | geh | 14 May 2019, 12:14:39 UTC | Added null-ptr check in Colour::use() | 15 June 2019, 16:06:59 UTC |
f41051f | Jozef Grajciar | 27 May 2019, 18:41:21 UTC | test approvals for TEMPLATE_LIST_TEST_CASE | 15 June 2019, 13:40:39 UTC |
e90d5a8 | Jozef Grajciar | 27 May 2019, 18:39:25 UTC | docs for TEMPLATE_LIST_TEST_CASE | 15 June 2019, 13:40:39 UTC |
dbc1295 | Jozef Grajciar | 27 May 2019, 15:25:48 UTC | tests for TEMPLATE_LIST_TEST_CASE | 15 June 2019, 13:40:39 UTC |
f2cfc2b | Jozef Grajciar | 27 May 2019, 15:24:16 UTC | TEMPLATE_LIST_TEST_CASE implementation Closes #1627 | 15 June 2019, 13:40:39 UTC |
c365ac3 | Martin Hořeňovský | 15 June 2019, 10:50:36 UTC | Standardize and document the parallel processing toggle | 15 June 2019, 10:50:36 UTC |
e640c38 | Martin Hořeňovský | 15 June 2019, 09:14:24 UTC | Move the async-using parts of benchmarking into a .cpp file This keeps it out of the main include path when benchmarking is enabled, somewhat reducing the compilation-time penalty. Also moved some other functions into the .cpp file, especially helpers that could be given internal linkage, and concretized some iterator-templated code that only ever used `std::vector<double>::iterator`. | 15 June 2019, 09:43:25 UTC |
b468d7c | Martin Hořeňovský | 15 June 2019, 07:23:00 UTC | Link benchmarking docs from the doc main page | 15 June 2019, 07:23:00 UTC |
7142d5a | Martin Hořeňovský | 14 June 2019, 18:16:12 UTC | Show bound when stringifying the WithinULP matcher Closes #1581 | 15 June 2019, 05:12:27 UTC |
1967fea | Martin Hořeňovský | 14 June 2019, 12:59:19 UTC | Introduce stubs for throwing specific exception types This allows us to move <stdexcept> out of the common path, and replace it with just <exception>. The difference between these two headers is ~13k lines after preprocessing on libstdc++ (16k vs 3k) and ~17k lines for MS's STL(33k vs 16k). Note that this is only beneficial if no other stdlib header we use includes <stdexcept>. AFAIK this is true for the newest MS's STL, but I have no idea of the applicability for libstdc++ and libc++. | 14 June 2019, 17:13:50 UTC |
f0b7b0c | Martin Hořeňovský | 07 June 2019, 16:56:48 UTC | Add a FUNDING file | 07 June 2019, 17:15:35 UTC |
4b12525 | Martin Hořeňovský | 07 June 2019, 05:01:47 UTC | Merge pull request #1616 from fodinabor/integrate_nonius Integrate nonius to provide more advanced benchmarking | 07 June 2019, 05:01:47 UTC |
10067a4 | Martin Hořeňovský | 02 June 2019, 11:19:09 UTC | Add an extra test for benchmarking macros Also updated baselines | 06 June 2019, 19:29:25 UTC |
e340ab8 | Martin Hořeňovský | 19 May 2019, 18:54:44 UTC | Various improvements to the benchmarking support * Units from <ratio> are no longer redeclared in our own namespace * The default clock is `steady_clock`, not `high_resolution_clock`, because, as HH says "high_resolution_clock is useless. If you want measure the passing of time, use steady_clock. If you want user friendly time, use system_clock". * Benchmarking support is opt-in, not opt-out, to avoid the large (~10%) compile time penalty. * Benchmarking-related options in CLI are always present, to decrease the amount of code that is only compiled conditionally and making the whole shebang more maintainble. | 06 June 2019, 19:28:56 UTC |
ce2560c | Joachim Meyer | 23 April 2019, 21:41:13 UTC | Integrate Nonius benchmark into Catch2 Changes done to Nonius: * Moved things into "Catch::Benchmark" namespace * Benchmarks were integrated with `TEST_CASE`/`SECTION`/`GENERATE` macros * Removed Nonius's parameters for benchmarks, Generators should be used instead * Added relevant methods to the reporter interface (default-implemented, to avoid breaking existing 3rd party reporters) * Async processing is guarded with `_REENTRANT` macro for GCC/Clang, used by default on MSVC * Added a macro `CATCH_CONFIG_DISABLE_BENCHMARKING` that removes all traces of benchmarking from Catch | 06 June 2019, 17:33:37 UTC |
00347f1 | Martin Hořeňovský | 26 May 2019, 20:47:00 UTC | v2.8.0 | 26 May 2019, 20:47:00 UTC |
a5a2d08 | Martin Hořeňovský | 26 May 2019, 19:19:55 UTC | Remove commented out code | 26 May 2019, 19:19:55 UTC |
97602b2 | Martin Hořeňovský | 25 May 2019, 19:20:37 UTC | Remove obsolete file with wrong advice | 25 May 2019, 19:20:37 UTC |
e28e162 | Martin Hořeňovský | 25 May 2019, 19:15:58 UTC | Merge pull request #1638 from janisozaur/patch-1 Prevent building in source dir | 25 May 2019, 19:15:58 UTC |
90378f4 | Martin Hořeňovský | 23 May 2019, 12:29:45 UTC | Have conan test-build the package in a separate subdirectory | 25 May 2019, 17:58:49 UTC |
84f8e80 | Jozef Grajciar | 23 May 2019, 17:29:18 UTC | Nttp support tests approvals | 23 May 2019, 19:03:47 UTC |
732e4b0 | Jozef Grajciar | 24 April 2019, 15:04:13 UTC | docs for signature based parametrised test cases | 23 May 2019, 19:03:47 UTC |
0c43f98 | Jozef Grajciar | 17 April 2019, 18:23:24 UTC | Nttp support Closes #1531 | 23 May 2019, 19:03:47 UTC |
bd703dd | Martin Hořeňovský | 23 May 2019, 12:19:22 UTC | Merge pull request #1611 from cincodenada/unscoped-disabled-prefixed Add UNSCOPED_INFO to prefix/disabled sections | 23 May 2019, 12:19:22 UTC |
9960278 | Martin Hořeňovský | 23 May 2019, 11:51:33 UTC | Fix error message when unmatched quotes are encountered by CAPTURE Thanks to @ledvinap for noticing | 23 May 2019, 11:54:51 UTC |