46d28ba7be
debug: add variable escape and memory clobber functions
2017-08-18 11:15:00 +10:00
2b3ef6dbc6
debug: correct CHECK_NEZ error message
2017-08-02 16:17:24 +10:00
167aae1d1e
debug: fully qualify almost_equal namespace
2017-05-18 18:20:19 +10:00
353cf839d4
use nested namespace declarations
2017-01-05 15:06:49 +11:00
fde9b281be
debug: correct DEBUG_LIMIT print ordering
2016-12-21 20:23:43 +11:00
185942593e
debug: consistent spacing
2016-12-21 20:23:43 +11:00
26bab4db71
debug: revert DEBUG_ONLY name change
...
DEBUG_ONLY is visible to other projects. Changing it to have internal
scope introduces too many build failures currently.
2016-09-28 17:24:01 +10:00
657a407d0e
debug: respecte NDEBUG for CHECK macros
2016-09-28 17:20:46 +10:00
00eca4445b
debug: use less complex specialistion for validator
2016-08-10 17:36:25 +10:00
d0a797d37e
debug: add CHECK_MOD
2016-08-03 18:12:05 +10:00
74284415a7
debug: prefer constref temporaries for CHECK macros
2016-08-03 18:11:29 +10:00
9270a05a8b
debug: prefer use of the standard __func__ symbol
2016-08-03 18:11:04 +10:00
8cc4c1e82a
format: reimplement format rendering
...
requires literal string arrays, and implements more of the specifier
specification. does not implement 'n' or '$' specifiers. falls back to
snprintf for real arguments.
2016-07-28 13:39:27 +10:00
9b4ce6555e
debug: add CHECK_SANITY macro
2016-06-24 15:30:41 +10:00
af699c5443
debug: correct format specifier for CHECK_{EZ,NEQ}
2016-06-20 13:07:10 +10:00
568af11a0a
debug: remove nullary panic function
...
panic without message tended to promote useless console output. if it's
worth panicing over it's worth writing a oneliner.
2016-04-19 14:50:13 +10:00
df05596524
debug: seperate platform specifics into units
2016-02-15 17:21:01 +11:00
0af631e975
debug: fix CHECK_ENUM format string specifier
2016-02-12 12:57:53 +11:00
f6d8bca9a9
debug: fix condition sense in CHECK_ENUM
2016-02-12 12:57:23 +11:00
a6b86bed92
debug: add unimplemented alias for not_implemented
2016-02-10 13:05:53 +11:00
688efb3a96
debug: add CHECK_ENUM
2016-02-05 14:27:58 +11:00
f1250b139a
debug: remove unneeded headers from debug
2016-02-05 14:27:21 +11:00
2224131955
debug: simplify CHECK macros for constexpr safety
2016-02-03 12:04:47 +11:00
de483670c4
debug: rename unusual to warn
...
unusual is a stupid name
2016-01-20 16:38:01 +11:00
b1880e47b3
debug: fully qualify *_equal comparators
2015-11-17 14:03:32 +11:00
b1bc54ac8c
maths: move remaining operations into util namespace
2015-11-16 11:44:07 +11:00
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