2702c53df4
debug: make panic and friends constexpr
2015-10-29 10:43:41 +11:00
995f86b1f4
debug: add missing required header
2015-08-10 15:41:34 +10:00
fd319d579b
build: make single argument constructors explicit
2015-06-04 22:18:43 +10:00
043523a794
debug: add CHECK_LIMIT
2015-05-29 15:51:25 +10:00
928a499122
debug: silence unused variable warnings in release
2015-04-30 17:31:19 +10:00
2658b41ea1
relicence under Apache-2.0
2015-04-13 18:05:28 +10:00
31d1d741e9
extent/region: update to use size parameters
2015-03-03 04:13:29 +11:00
166b97e0c5
build: fold test makefile into primary makefile
...
Moving the subdir makefile into the main one lets us more easily track
dependencies for reliable builds. Previously we tended to build against
old versions of the static library when running the tests.
2015-02-16 23:38:08 +11:00
e129303307
debug: add free sanity/valid functions
2015-02-13 17:31:47 +11:00
4c41439a2e
debug: add CHECK_NEZ
2015-02-05 20:37:07 +11:00
169bc5f62b
debug: move maths header inc to avoid circular dep
2015-02-05 20:37:07 +11:00
d7db3d8d29
debug: make assertions debug-only
2015-01-28 15:01:17 +11:00
52f53caee5
debug: drop support for CHECK_HARD
...
HARD vs SOFT assertions were never very well defined or supported.
Currently they just imply a level of functionality that isn't present;
it's better to remove them instead of expending the effort at this
point.
2015-01-28 14:49:34 +11:00
c02ad57660
debug: use high precision for output streams
2015-01-21 23:40:13 +11:00
21725e9b99
debug: change WARN to print condition as message
2015-01-15 14:05:43 +11:00
23b0a7b146
remove annotations header
...
The annotations were never particularly robust, and weren't used in many
locations (or consistently). And we should be migrating to c++14
annotation syntax anyway. By focusing on writing them all locally we
will be a little more standards compliant, and the attributes should be
more visible.
2014-10-17 19:24:53 +11:00
16b81f2a07
debug: add XFAIL exit codes
2014-04-16 19:16:48 +10:00
db62693535
Add CHECK_GE and CHECK_LE
2014-02-12 17:05:37 +11:00
28bfa42ec3
Avoid shadowing common stringstring name in CHECK
2013-08-05 21:46:31 +10:00
0921037c89
Add CHECK_LT/GT debugging macros
2012-11-09 15:11:18 +11:00
5e764244ac
Add simple debug initialisation function
2012-08-10 17:40:19 +10:00
eb4a5e2c04
Add CHECK_NOTHROW
2012-06-20 16:47:48 +10:00
3c0368e74c
Allow messages for not_implemented errors
2012-06-04 14:50:58 +10:00
76ffb05c23
Disable CHECK calls when not debugging
2012-05-15 16:05:27 +10:00
0c86a8b240
Dont put a block around DEBUG_ONLY statements.
...
This allows variable declerations, raii statements, and other hackery to
affect surrounding code more easily.
2012-05-15 16:04:35 +10:00
4f5d75a1df
Make all check macros uppercase
2012-05-11 12:34:21 +10:00
946d4d1eb0
Add a simple DEBUG_ONLY convenience macro
2012-05-03 18:11:17 +10:00
100af04e77
Move preprocessor header to hpp suffix
2012-05-03 18:09:06 +10:00
310764dcb4
Add enable/disable floating point exceptions
2012-05-01 12:14:25 +10:00
73f483c06b
Add debug annotation for unusual code paths
2012-04-24 17:38:07 +10:00
77942e008d
Change my email to an active domain
2012-04-23 13:10:50 +10:00
40267cad05
Add macro that creates unique variable names
2012-04-12 14:07:46 +10:00
a3d965b917
Change licencing from waif to libgim
2012-04-11 15:21:00 +10:00
e2b56f3b77
Add a warn macro
2012-01-04 17:03:00 +11:00
6b38a3486c
Add a warn_if macro
2011-11-04 16:57:20 +11:00
3b767a1c73
Trigger breakpoints for soft assertions
2011-09-24 13:18:57 +10:00
a30e0f4be0
Change debug temporary names to reduce collisions
2011-08-29 14:32:30 +10:00
ce747924ab
Add a simple line tracing macro
2011-07-16 14:47:10 +10:00
6f1bf3ebf9
Make check_{neq|eq} output more explicit
...
As the panic message mentions __a and __b, use these explicitly in the
error message and equate them to concrete values.
Do not use parenthesis to show the computed value as these can be
mistaken for functions.
2011-06-21 23:39:24 +10:00
20f81a7630
Correct package name in copyright headers
...
Package is no longer waif, after its seperation from the waif
library/application. Hopefully there aren't any more dependencies...
2011-06-21 20:26:32 +10:00
8801023626
Add required header for almost_equal in assert_eq
2011-06-16 20:54:34 +10:00
745e06d1af
initial import from waif
2011-05-23 17:18:52 +10:00