Commit Graph

3551 Commits

Author SHA1 Message Date
f7c32ed76e Add copyright header to perlin 2012-05-16 15:01:41 +10:00
7c20614079 Add output_error exception 2012-05-16 15:01:21 +10:00
6e82915975 Place util exceptions in the util namespace 2012-05-16 15:01:01 +10:00
c6a3831840 Enable flto and generic tuning optimisations 2012-05-15 16:07:03 +10:00
b670c76995 Temporarily disable features unsupported by i686-pc-mingw 2012-05-15 16:06:18 +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
e8844943a7 Add count, sum, and mean for stats accumulator 2012-05-15 16:04:06 +10:00
ee6fb59e99 Properly namespace the null backtrace output op 2012-05-15 16:03:14 +10:00
faa44b24ef Add simple stat accumulator class 2012-05-14 16:11:09 +10:00
83a30c9d94 Uppercase usage of check in json tests 2012-05-14 16:10:32 +10:00
6193ffd407 Put debugging defines in config.h 2012-05-14 16:10:11 +10:00
4f5d75a1df Make all check macros uppercase 2012-05-11 12:34:21 +10:00
c1ba948b20 Add region::overlap to for overlapping regions 2012-05-11 12:22:23 +10:00
4dc7a3ca49 Add simple region overlap testcase 2012-05-11 12:21:47 +10:00
f4ab656ef1 Temporarily disable broken test case 2012-05-11 12:20:54 +10:00
e3072aeedb Add an early out for empty signals 2012-05-11 12:20:32 +10:00
c2c8fea6cc Define raii in terms of PASTE 2012-05-11 12:19:56 +10:00
e55aa07874 Rename CONCAT to PASTE and add STRINGIFY 2012-05-11 12:19:36 +10:00
7576f80b30 Rename scoped_malloc::data to ::get 2012-05-11 12:19:06 +10:00
c81919dbe7 Disable LOG_DEBUG when debugging isn't enabled 2012-05-11 12:18:41 +10:00
820f28d4b1 Ensure the log is flushed at end of print 2012-05-11 12:18:27 +10:00
7281930a39 Only use abbreviated names for log levels 2012-05-11 12:18:08 +10:00
ba92eed1f5 More checks for json number parsing 2012-05-11 12:17:40 +10:00
63cde2272b Add Windows implementation of breakpoint 2012-05-11 12:15:46 +10:00
9624aff9df Add host specific debug information 2012-05-10 16:56:25 +10:00
cc9a157e9c Add arch specific optimisation flags 2012-05-10 16:55:38 +10:00
ac5a5d3a7d Initial framework for win32 backtrace 2012-05-10 16:54:47 +10:00
71a1592413 Cast to avoid signedness warnings in sleep 2012-05-08 16:40:10 +10:00
474a808f79 Add exactly_zero call 2012-05-08 16:39:58 +10:00
7ddc076916 Quiecse some unusused parameter warnings 2012-05-08 16:38:55 +10:00
3548dcd675 Use std::array for level_to_string
* Explicitly uses the correct size.
* Remove some 'unsafe loop optimisation' warnings
2012-05-08 16:37:38 +10:00
88c86a40a7 Remove wunsafe-loop-optimisations. False positives 2012-05-08 16:37:03 +10:00
cfdcc526ac Remove duplicate BOOST LDFLAGS 2012-05-08 16:36:45 +10:00
365220d3b8 Add Win32 implementation of image_path 2012-05-08 15:06:01 +10:00
1021ac10d6 Canonicalise before storing scoped_cwd directory 2012-05-08 15:06:01 +10:00
8624cf7b06 Add O_BINARY to open for Win32 2012-05-08 15:04:31 +10:00
0b7e3838cd Disable the fpe code. Errors in mingw. 2012-05-08 15:03:03 +10:00
3e014f366e Add win32 implementation of nanosleep 2012-05-08 15:02:25 +10:00
5ef9f02a19 Add win32 error class for throwing 2012-05-08 15:01:56 +10:00
6a4f6c7d8b Add empty host_os switch for platform config 2012-05-08 15:00:48 +10:00
6d879a96de Add distance2 for point 2012-05-03 18:12:12 +10:00
2ef2554316 Add almost_zero wrapper for almost_equal 2012-05-03 18:11:42 +10:00
946d4d1eb0 Add a simple DEBUG_ONLY convenience macro 2012-05-03 18:11:17 +10:00
b7b47ed27e Define ENABLE_DEBUGGING when specified 2012-05-03 18:10:15 +10:00
23a103a56c Add some useful scoped types in raii.hpp header 2012-05-03 18:09:51 +10:00
100af04e77 Move preprocessor header to hpp suffix 2012-05-03 18:09:06 +10:00
b6f9bf9ebd Add tests for almost_equals NaN and Inf 2012-05-03 15:59:54 +10:00
52d73a8070 Add comment that region::overlap excludes borders 2012-05-03 15:59:01 +10:00
32e3e61fa7 Fix almost_equal for NaN and Inf 2012-05-03 15:58:18 +10:00