d2d8455 | Martin Hořeňovský | 06 April 2018, 10:11:22 UTC | v2.2.2 | 06 April 2018, 10:11:22 UTC |
ab30621 | Martin Hořeňovský | 06 April 2018, 09:39:40 UTC | Fix stringifying static array of unsigned chars The fix leaves an open question: should we keep treating refs to static array of chars as strings, or should we instead use `strnlen` to check if it is null-terminated within the buffer Fixes #1238 | 06 April 2018, 09:43:12 UTC |
1ca8f43 | Martin Hořeňovský | 03 April 2018, 21:28:14 UTC | Add PredicateMatcher that takes an arbitrary predicate functions Also adds `Predicate` helper function to create `PredicateMatcher`. Because of limitations in type inference it needs to be explicitly typed, like so `Predicate<std::string>([](std::string const& str) { ... })`. It also takes an optional second argument for description of the predicate. It is possible to infer the argument with sufficient TMP, see https://stackoverflow.com/questions/43560492/how-to-extract-lambdas-return-type-and-variadic-parameters-pack-back-from-gener/43561563#43561563 but I don't think that the magic is worth introducing ATM. Closes #1236 | 04 April 2018, 09:14:19 UTC |
dfb83f2 | David Aue | 08 March 2018, 21:40:18 UTC | Add stringification methods for CLR objects | 03 April 2018, 17:06:16 UTC |
319bddd | Alexis Jeandet | 01 April 2018, 17:14:59 UTC | Small fix to generate pc with include path In CMake module both include and include/catch are added includes lookup path. Examples are built with #include "catch.hpp" not #include "catch/catch.hpp". This should be the same with pkg-config. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org> | 02 April 2018, 19:38:17 UTC |
9314412 | Martin Hořeňovský | 01 April 2018, 20:50:39 UTC | Add an early bailout out of benchmark timer calibration Specific platforms (e.g. TDM-GCC) can have terrible timer resolution, and our checking code will then loop for an inordinate amount of time. This change will make it so that the calibration gives up after 3 seconds and just uses the already measured values. This leaves one open question, how to signal that the resolution is terrible and benchmarking should not happen? Fixes #1237 | 01 April 2018, 20:50:39 UTC |
ea1f326 | Martin Hořeňovský | 01 April 2018, 12:36:55 UTC | Fix potential for false negative CI results on coverage collection | 01 April 2018, 12:36:55 UTC |
3641706 | Mike | 09 November 2017, 22:50:49 UTC | Leak less GCC warnings suppressions out of Catch | 01 April 2018, 11:57:05 UTC |
3b801c4 | Martin Hořeňovský | 25 March 2018, 18:44:30 UTC | Modify XML encoder to hex-encode invalid UTF-8 sequences There are still some holes, e.g. we leave surrogate pairs be even though they are not a part of valid UTF-8, but this might be for the better -- WTF-8 does support surrogate pairs inside text. Closes #1207 | 27 March 2018, 14:49:14 UTC |
e11508b | Martin Hořeňovský | 22 March 2018, 14:18:50 UTC | Disable PIP's version check on AppVeyor | 22 March 2018, 14:19:09 UTC |
886d799 | Zsolt Parragi | 15 March 2018, 20:23:33 UTC | Fix clang-tidy 6 diagnostic about virtual call in destructor | 21 March 2018, 16:05:15 UTC |
8b78087 | jsc | 19 March 2018, 19:36:07 UTC | Fix bug in WithinAbs::match() and add tests for it | 21 March 2018, 12:47:12 UTC |
6c99b04 | Martin Hořeňovský | 21 March 2018, 10:44:17 UTC | Allow VS 2017 failures VS 2017 has an annoying bug, where the result of `__FILE__` substitution is always lower-cased. This breaks approval tests and I am not quite convinced that we should fully normalized paths to accomodate this bug. We need to remember to undo this in the future though. | 21 March 2018, 12:41:20 UTC |
0a34cc2 | Martin Hořeňovský | 11 March 2018, 11:04:28 UTC | v2.2.1 | 11 March 2018, 11:04:28 UTC |
11c89a5 | Martin Hořeňovský | 09 March 2018, 09:37:56 UTC | Bring in Clara v1.1.4 This fixes #1214 | 09 March 2018, 09:37:56 UTC |
dc3e7f9 | Martin Hořeňovský | 09 March 2018, 09:00:55 UTC | Fix incorrectly clamped return value Fixes #1215 | 09 March 2018, 09:00:55 UTC |
d14b756 | Martin Hořeňovský | 07 March 2018, 10:01:06 UTC | v2.2.0 | 07 March 2018, 10:06:15 UTC |
a3d3a63 | Martin Hořeňovský | 07 March 2018, 09:13:04 UTC | Don't build `dev-appveyor*` branches on TravisCI | 07 March 2018, 09:53:09 UTC |
8d47963 | Martin Hořeňovský | 07 March 2018, 09:47:18 UTC | Merge pull request #1206 from zemasoft/master Introduce support for DJGPP cross compiler | 07 March 2018, 09:47:18 UTC |
552589f | Martin Hořeňovský | 07 March 2018, 09:37:50 UTC | Merge branch 'master' into master | 07 March 2018, 09:37:50 UTC |
95c849f | Tomas Zeman | 02 March 2018, 13:39:01 UTC | Introduce support for DJGPP cross compiler DJGPP cross compiler is targeting DOS which does not support POSIX signals. Probably for the same reason (targeting DOS) this compiler does not support wide characters. | 07 March 2018, 09:35:32 UTC |
352853e | Tomas Zeman | 01 March 2018, 17:41:17 UTC | Introduce conditional wchar_t (and std::wstring) support The support is turned on by default but the user might need to be able to turn it off which is now possible by defining CATCH_CONFIG_NO_WCHAR. | 07 March 2018, 09:35:31 UTC |
b111755 | Josh Soref | 07 March 2018, 09:08:35 UTC | Fixup various spelling errors (#1208) | 07 March 2018, 09:08:35 UTC |
d38f782 | Bastian Dörig | 09 February 2018, 09:50:14 UTC | Ensure Catch2ConfigVersion.cmake is installed properly The old version would lead to error when Catch was installed as a subproject. The file would be written to the subproject's build directory and then would not be installed properly. | 07 March 2018, 08:42:58 UTC |
dc8a8e6 | Martin Hořeňovský | 06 March 2018, 17:33:18 UTC | Speed up AppVeyor build times * Examples are no longer built for all images * Coverage is no longer collected from every build * The number of configurations is reduced | 06 March 2018, 21:46:49 UTC |
9d1858b | Martin Hořeňovský | 06 March 2018, 16:58:37 UTC | Simplify internal configuration of POSIX signals | 06 March 2018, 16:58:37 UTC |
1d1f8dc | Martin Hořeňovský | 06 March 2018, 14:38:22 UTC | Stop installing lcov in builds without COVERAGE=1 | 06 March 2018, 14:38:22 UTC |
1466686 | Martin Hořeňovský | 05 March 2018, 14:11:12 UTC | Speed up TravisCI build * Examples are no longer built on all travis images * Coverage is no longer collected from all travis images * Valgrind is no longer used with all travis images This should greatly reduce the amount of compiling, downloading binaries and general work the common images do. | 06 March 2018, 14:24:12 UTC |
93db01c | Martin Hořeňovský | 05 March 2018, 14:09:25 UTC | Fix C++14 toggle for OSX build | 05 March 2018, 14:09:25 UTC |
2e285b9 | Martin Hořeňovský | 04 March 2018, 13:25:23 UTC | Use char const * const * for Session::run Needed to embed newer version of Clara Closes #1178 Closes #1031 | 04 March 2018, 16:58:27 UTC |
d2ddb99 | Martin Hořeňovský | 02 March 2018, 15:22:18 UTC | Cleanup for performance reasons * Eliminated some copies * Made makeTestCase fit into 4 arguments -- avoids spills on Win64 * Made string literals into StringRef literals | 02 March 2018, 15:24:35 UTC |
865d5f5 | Tomas Zeman | 28 February 2018, 15:17:26 UTC | Fix 'defined but not used' warning The warning occurred when !CATCH_CONFIG_WINDOWS_SEH && !CATCH_CONFIG_POSIX_SIGNALS. | 01 March 2018, 12:37:23 UTC |
05cd057 | Martin Hořeňovský | 28 February 2018, 21:05:01 UTC | Provide a public method to get StringRef's underlying pointer This allows reducing the amount of friends needed for its interface and some extra tricks later. The bad part is that the pointer can become invalidated via calls to other StringRef's public methods, but c'est la vie. | 28 February 2018, 21:49:00 UTC |
950ccf4 | Martin Hořeňovský | 28 February 2018, 15:02:25 UTC | StringRef appends itself to std::string efficiently | 28 February 2018, 15:02:25 UTC |
cf4b7ee | Martin Hořeňovský | 25 February 2018, 20:22:38 UTC | Document CATCH_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS macro Also fix how it can be disabled. | 25 February 2018, 20:22:38 UTC |
7b6e49d | Martin Hořeňovský | 23 February 2018, 13:56:07 UTC | Simplify logic selecting between signal handling/SEH/nothing It was a bit of a mess previously | 23 February 2018, 13:56:07 UTC |
0c5df42 | Martin Hořeňovský | 23 February 2018, 11:40:12 UTC | Fix how windows.h is included in our files. To prevent bugs with stitching system headers inside Catch, the proxy header is responsible for guarding against inclusion on Linux, rather than the includers. Might be related to #1197 | 23 February 2018, 11:40:12 UTC |
4e57661 | Martin Hořeňovský | 17 February 2018, 19:41:50 UTC | StringRef will not take ownership when writing itself to stream This also fixes some tests that were previously failing unnoticed - WTF? | 17 February 2018, 19:41:50 UTC |
5a8f9c8 | Martin Hořeňovský | 16 February 2018, 21:10:39 UTC | Fix doubled line in baselines | 16 February 2018, 21:10:39 UTC |
f988b4e | Martin Hořeňovský | 15 February 2018, 18:58:49 UTC | Covered more translation possibilities | 15 February 2018, 18:58:49 UTC |
c8d765a | Martin Hořeňovský | 15 February 2018, 15:03:24 UTC | Cleanup some tests | 15 February 2018, 15:06:35 UTC |
da783ab | Martin Hořeňovský | 15 February 2018, 14:16:23 UTC | Move fallback conversion after enum-check | 15 February 2018, 15:06:35 UTC |
c0267e5 | Martin Hořeňovský | 15 February 2018, 14:12:19 UTC | Add test for overriding the fallback stringifier | 15 February 2018, 15:06:35 UTC |
bb84f07 | Phil Nash | 15 February 2018, 13:59:02 UTC | Removed unnecessary use of ostringstream from catch_enforce.h | 15 February 2018, 13:59:02 UTC |
e84768f | Nils Deppe | 14 February 2018, 03:23:55 UTC | Add SpECTRE project to list of users. | 14 February 2018, 07:31:33 UTC |
31673ee | Martin Hořeňovský | 11 February 2018, 17:10:28 UTC | Document CATCH_CONFIG_DEFAULT_REPORTER macro | 11 February 2018, 17:10:28 UTC |
34d7a33 | Martin Hořeňovský | 11 February 2018, 15:31:12 UTC | Add a way to change fallback stringifier This allows reuse of projects existing stringification machinery Closes #1024 | 11 February 2018, 15:31:12 UTC |
082c3b8 | Martin Hořeňovský | 10 February 2018, 21:16:32 UTC | Fix typos in documentation | 10 February 2018, 21:16:32 UTC |
ef2e112 | Martin Hořeňovský | 10 February 2018, 19:42:08 UTC | Disable POSIX signals for Emscripten Related to #1114 | 10 February 2018, 19:42:08 UTC |
a90305f | Martin Hořeňovský | 10 February 2018, 12:51:33 UTC | Add another known bug to limitations.md Related to #1183 | 10 February 2018, 12:51:33 UTC |
543c9d3 | Martin Hořeňovský | 09 February 2018, 19:09:55 UTC | Set patch coverage check to target 80% | 09 February 2018, 19:09:55 UTC |
ca8470f | dvirtz | 08 February 2018, 22:18:32 UTC | https://github.com/catchorg/Catch2/issues/1175 - don't list hidden tests by default | 09 February 2018, 18:55:40 UTC |
355b3f9 | dvirtz | 08 February 2018, 23:31:19 UTC | Add option to warn when no tests ran Closes #1158 | 09 February 2018, 17:49:36 UTC |
7cbd0b5 | Martin Hořeňovský | 09 February 2018, 16:10:27 UTC | v2.1.2 | 09 February 2018, 16:10:27 UTC |
2f15ccd | Martin Hořeňovský | 09 February 2018, 15:54:10 UTC | Passthrough error code from coverage helper | 09 February 2018, 15:54:10 UTC |
8f3fc15 | Martin Hořeňovský | 09 February 2018, 15:50:05 UTC | Update version of Clara Fixes #1165 | 09 February 2018, 15:50:19 UTC |
e13d9ca | Martin Hořeňovský | 09 February 2018, 15:49:35 UTC | Keep .py files with LF endings so they can be executed from bash | 09 February 2018, 15:49:35 UTC |
414e2fa | Martin Hořeňovský | 09 February 2018, 15:48:04 UTC | Make embedClara.py executable | 09 February 2018, 15:49:21 UTC |
b5ef68b | Martin Hořeňovský | 08 February 2018, 13:59:09 UTC | Force MSVC to use utf-8 | 08 February 2018, 14:44:33 UTC |
681f5da | Martin Hořeňovský | 08 February 2018, 14:00:56 UTC | Update approval tests | 08 February 2018, 14:00:56 UTC |
3b6fda3 | Martin Hořeňovský | 08 February 2018, 12:10:12 UTC | Add tests for StringRef::numberOfCharacters | 08 February 2018, 12:10:12 UTC |
1b2fa60 | Martin Hořeňovský | 08 February 2018, 12:09:02 UTC | Remove superfluous comment | 08 February 2018, 12:09:02 UTC |
39bfc6e | Daniel J. Rollins | 29 January 2018, 22:56:43 UTC | Export Catch as a CMake package and 'linkable' target Create a namespaced Catch2::Catch target that is 'linkable' through `target_link_libraries()` and export it so it is findable through `find_package()`. `find_package()` will find versions with the same major number and with minor number >= requested. This makes catch a lot easier to use in CMake-based projects. Whether it is found using `find_package` or included in the client project as a subdirectory, the client can include the catch headers per-target with `target_include_directories(target PRIVATE Catch2::Catch). Example usage: cmake_minimum_required(VERSION 3.1) # include Catch2 as subdirectory or installed package # add_subdirectory(Catch2) find_package(Catch2 VERSION 2.1.0 REQUIRED) add_executable(tests tests/catch_main.cpp) target_link_libraries(tests PRIVATE Catch2::Catch) | 08 February 2018, 11:18:42 UTC |
ba6d33f | Martin Hořeňovský | 05 February 2018, 09:04:18 UTC | Enable -Wpedantic, fix unconditional use of C++14 extension | 05 February 2018, 09:04:59 UTC |
4be81d3 | Zachary Michaels | 03 February 2018, 17:16:33 UTC | Remove unnecessary semicolons | 05 February 2018, 09:03:51 UTC |
5201e92 | Josh Lospinoso | 26 January 2018, 15:59:47 UTC | Redirect std::uncaught_exception to Catch::uncaught_exception This means that only one place needs to work with warnings from the deprecation of `std::uncaught_exception()` in C++17. Closes #1162. | 02 February 2018, 14:36:15 UTC |
5e48486 | Martin Hořeňovský | 01 February 2018, 19:29:18 UTC | Add Catch::is_range to documentation | 01 February 2018, 19:29:49 UTC |
5713381 | philsquared | 01 February 2018, 16:14:12 UTC | Fixes for cygwin | 01 February 2018, 16:14:20 UTC |
1ab6be3 | Martin Hořeňovský | 26 January 2018, 22:04:54 UTC | Add a BrightYellow colour, also use it for reconstructed exprs Closes #979 | 01 February 2018, 14:58:33 UTC |
126850e | Martin Hořeňovský | 01 February 2018, 13:07:23 UTC | Prefer operator<< to range-based stringification Fixes #1172 | 01 February 2018, 13:07:23 UTC |
5e8df1c | George Fotopoulos | 28 January 2018, 17:58:36 UTC | Update opensource-users.md | 28 January 2018, 20:05:24 UTC |
44dbda9 | Martin Hořeňovský | 26 January 2018, 19:27:19 UTC | Add CATCH_VERSION_* defines for external use I wonder how much use they will actually see, but their cost is fairly minor. Closes #1131 | 26 January 2018, 19:56:14 UTC |
ca2455e | Phil Nash | 26 January 2018, 16:52:28 UTC | Fixed NoAssertions warning | 26 January 2018, 16:52:28 UTC |
42213d4 | Martin Hořeňovský | 26 January 2018, 15:45:32 UTC | Keep LICENCE.txt with LF as line endings for easy hashing | 26 January 2018, 15:45:32 UTC |
62dae59 | Martin Hořeňovský | 26 January 2018, 15:06:07 UTC | v2.1.1 | 26 January 2018, 15:06:07 UTC |
9a57054 | Martin Hořeňovský | 26 January 2018, 14:45:31 UTC | Add % to codecov coverage decrease threshold Maybe now it will work? | 26 January 2018, 14:45:31 UTC |
a1aefce | Martin Hořeňovský | 24 January 2018, 11:10:03 UTC | Guard against CLR exceptions when translating exceptions Partially fixes #1138, need to decide what to do about structured exceptions. | 24 January 2018, 11:11:29 UTC |
d595990 | Phil Nash | 23 January 2018, 07:44:09 UTC | Added Catch::clara namespace to doc for adding Opt - Thanks to sakamoto-poteko in #1159 for point out its ommission | 23 January 2018, 07:44:09 UTC |
31e6499 | Phil Nash | 22 January 2018, 15:08:28 UTC | Embed Clara v1.1.1 | 22 January 2018, 15:08:28 UTC |
b0f4f16 | David Seifert | 18 January 2018, 18:20:08 UTC | Namespace Catch CMake options | 18 January 2018, 22:20:26 UTC |
1e3ddbb | David Seifert | 18 January 2018, 18:20:08 UTC | Specify VERSION in modern CMake | 18 January 2018, 22:20:26 UTC |
15ad95c | Martin Hořeňovský | 18 January 2018, 15:28:19 UTC | Make generateSingleHeader compatible with Python 2.7 | 18 January 2018, 15:28:19 UTC |
00a10d5 | Martin Hořeňovský | 17 January 2018, 19:02:15 UTC | Return fixed codecov settings | 18 January 2018, 12:51:32 UTC |
0d687a1 | David Seifert | 17 January 2018, 23:01:27 UTC | Change CMake project name to 'Catch2' | 18 January 2018, 12:13:39 UTC |
bdf431c | David Seifert | 17 January 2018, 23:01:27 UTC | Install documentation | 18 January 2018, 12:13:39 UTC |
a035998 | David Seifert | 17 January 2018, 23:01:27 UTC | Use CTest to control test suite via BUILD_TESTING | 18 January 2018, 12:13:39 UTC |
8d4074a | David Seifert | 17 January 2018, 23:01:27 UTC | Use `GNUInstallDirs` module * `GNUInstallDirs` is a standardised way to change paths, which makes systems integration easier and allows for a more consistent user experience. | 18 January 2018, 12:13:39 UTC |
f0f40a0 | Martin Hořeňovský | 18 January 2018, 11:35:40 UTC | Ensure that the single header is kept with LFs | 18 January 2018, 11:44:59 UTC |
fa4fd7f | Martin Hořeňovský | 15 January 2018, 12:59:48 UTC | Modify codecov.yml again | 15 January 2018, 12:59:48 UTC |
07c84ad | Martin Hořeňovský | 14 January 2018, 17:14:11 UTC | Allow disabling -Werror in CMake Related to #1152 | 14 January 2018, 17:14:11 UTC |
8d854c6 | Martin Hořeňovský | 14 January 2018, 17:06:21 UTC | Provide useful and unambigous stringification for static arrays | 14 January 2018, 17:06:43 UTC |
f0909df | Martin Hořeňovský | 14 January 2018, 16:04:36 UTC | Add yet another expansion of INF macro Closes #1151 | 14 January 2018, 16:04:36 UTC |
de36b2a | Martin Hořeňovský | 12 January 2018, 14:43:56 UTC | Fix compilation for types where relops don't return bool Closes #1147 | 12 January 2018, 14:49:56 UTC |
9700ee4 | Martin Hořeňovský | 12 January 2018, 11:28:14 UTC | Update CTest autodiscovery documentation | 12 January 2018, 11:28:14 UTC |
bbda8cd | Martin Hořeňovský | 12 January 2018, 11:20:52 UTC | Update reporter docs with their new location | 12 January 2018, 11:20:52 UTC |
4575594 | Martin Hořeňovský | 12 January 2018, 10:49:48 UTC | Comment why the return code is clamped | 12 January 2018, 10:49:48 UTC |
c053dca | Martin Hořeňovský | 12 January 2018, 10:09:46 UTC | Update path to vcpkg's portfile | 12 January 2018, 10:09:46 UTC |
3d7104c | garethsb-sony | 19 December 2017, 12:26:37 UTC | Catch ``catch_discover_tests`` Copied from [Dynamic Catch test discovery in CMake](https://gist.github.com/garethsb/a01ed0dbd4977d439c16200640549935), which was inspired by [Dynamic Google Test Discovery in CMake 3.10](https://blog.kitware.com/dynamic-google-test-discovery-in-cmake-3-10/). Original source code: - Adapted by [Gareth Sylvester-Bradley](https://github.com/garethsb) from [GoogleTest ``gtest_discover_tests``](https://gitlab.kitware.com/cmake/cmake/merge_requests/1056). - BSD 3-clause "New" or "Revised" License. - Copyright 2000-2017 Kitware, Inc. and Contributors. All rights reserved. | 11 January 2018, 20:17:12 UTC |
6441c20 | Martin Hořeňovský | 11 January 2018, 20:13:52 UTC | Modify codecov behaviour | 11 January 2018, 20:13:52 UTC |
5774c4f | Martin Hořeňovský | 11 January 2018, 20:06:35 UTC | Update release process with the need to release reporters | 11 January 2018, 20:06:35 UTC |