Commit Graph

3178 Commits

Author SHA1 Message Date
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
68adb32472 Add is_zero for vector magnitude 2012-05-03 15:56:56 +10:00
f8ad4c0c04 Correct the spelling of to_degrees 2012-05-03 15:56:21 +10:00
4a745f870e Use signbit for floating point sign<T> 2012-05-03 15:55:45 +10:00
610ca2d46d Add seconds to the output of log messages 2012-05-03 15:55:09 +10:00
91ad9b0473 Ensure libutil is linked against boost::filesystem 2012-05-03 15:54:46 +10:00
4abb279f04 Add nanoseconds sleep function 2012-05-01 12:14:38 +10:00
310764dcb4 Add enable/disable floating point exceptions 2012-05-01 12:14:25 +10:00
3fb5724683 Add exe querying routines 2012-04-30 11:51:11 +10:00
51e2e223cc Add throw_code methods to errno_error 2012-04-30 11:51:11 +10:00
6a6c732f36 Add platform defines header 2012-04-30 11:50:07 +10:00
789cec88f4 Avoid name clashes with Windows.h and ERROR 2012-04-27 17:56:23 +10:00
a26dcd1444 Set a blank CXXFLAGS only if not already present 2012-04-27 17:54:26 +10:00
9269d55112 Remove c++ std switch as it's set in configure.ac 2012-04-27 17:53:11 +10:00
e9fb4af89d Allow json-to-vectors with 1/2/3 dimensions 2012-04-27 13:18:12 +10:00
f8145d067f Add LOG_WARN convenience macro 2012-04-27 13:17:56 +10:00
d8b74be608 Read a maximum output level from the env.
Importantly this does not change whether log parameters are evaluated,
it simply prevents output to the log stream; ie, it is purely aethetic.
2012-04-26 18:22:24 +10:00
2515db00f2 Add string to level conversions 2012-04-26 18:22:05 +10:00
9f6566812b Use abbreviated strings for level outputs
The output looks pretty painful when long names are used everywhere.
2012-04-26 18:21:23 +10:00
fa5f78366b Add WARN and DEFAULT log level values 2012-04-26 18:20:46 +10:00
3433e10ec1 Move the json output operator into json namespace 2012-04-26 18:20:08 +10:00
c8f464aa7b Add a scoped CWD restorer, and set method 2012-04-26 18:19:37 +10:00
cf63a35e94 Give fd_ref a fs::path constructor 2012-04-26 18:19:12 +10:00
1d59bae113 Change slurp to return a unique_ptr 2012-04-26 18:18:39 +10:00