Commit Graph

874 Commits

Author SHA1 Message Date
33dd8d370d Add strategic casting in region calculations
Avoids sign casting and comparison warnings.
2012-06-13 16:01:42 +10:00
b08a47e68f Restrice optimisation pragmas to GCC 2012-06-13 16:01:42 +10:00
d968bd8549 Use string object for log output buffering.
Clang doesn't want to pass a char array to boost::format and I can't be
arsed finding out why.
2012-06-13 16:01:42 +10:00
f5fa3219b4 Use a simple deallocator for backtrace info
Clang doesn't like using the array form of unique_ptr with backtrace
calls for some reason. Less important to figure this out.
2012-06-13 16:01:42 +10:00
6ff8405c6a Allow sign_cast to same type 2012-06-13 16:01:42 +10:00
befb6f4b2b sign_cast to avoid char-to-uint warning 2012-06-13 16:01:42 +10:00
de89dabf4b Add clang path for endian conversion 2012-06-13 16:01:42 +10:00
281c1bed99 For floating constants to be of parent floating type 2012-06-13 16:01:42 +10:00
c31ddc0409 Remove unused computation, silences a warning 2012-06-13 16:01:42 +10:00
7dcb56680b Disable clang anonymous struct warnings for coord 2012-06-13 16:01:42 +10:00
fe38ffcd80 Add compiler check in platform.hpp 2012-06-13 16:01:42 +10:00
5b7dadf815 Add check for no-deduce-init-lists 2012-06-13 16:01:42 +10:00
4fa7789786 Instantiate templates in their enclosing namespace 2012-06-13 16:01:42 +10:00
c6106b0f53 Add static WHITE and BLACK colour constants 2012-06-13 14:41:19 +10:00
393d380001 Remove unnecessary scalar product for colour 2012-06-13 14:41:02 +10:00
15a573f3a7 Trigger panic breakpoint after printing the message 2012-06-12 13:04:20 +10:00
94189e5b58 Rename json test data to aid 'make clean' 2012-06-12 13:03:50 +10:00
d9211483a0 Instance some signed region types 2012-06-08 16:57:18 +10:00
53456c9762 Use a fixed size type for noise basis
This assists somewhat in de/serialising of noise parameters across
architectures.
2012-06-08 16:49:38 +10:00
b960319436 Add position_type typedef for regions 2012-06-08 16:49:09 +10:00
9098ea408d Add contains vs includes region tests 2012-06-08 16:48:33 +10:00
93275a43a7 Add size_cast for size reductions 2012-06-08 16:46:03 +10:00
58e69fbd44 Instance the point ostream operators 2012-06-08 16:45:39 +10:00
45a61db86b Fully qualify logging function name 2012-06-08 16:45:18 +10:00
5fea995a4d Include detail/coord.hpp in source list 2012-06-05 23:44:31 +10:00
4795e7f054 Add copy and assignment operators to util::extent 2012-06-05 22:50:52 +10:00
aad9a8377c Move to_json and from_json to root namespace 2012-06-05 22:50:31 +10:00
932f7a4ec3 Add aspect query for extent 2012-06-04 14:51:25 +10:00
3c0368e74c Allow messages for not_implemented errors 2012-06-04 14:50:58 +10:00
e889aa35b4 Add forgotten coord base class header 2012-05-30 20:20:43 +10:00
0ac8785b2a Fix some whitespace errors 2012-05-30 20:20:19 +10:00
9d27f798aa Add forgotten implementation for fourcc
It was pulled from types.hpp recently.
2012-05-26 18:02:57 +10:00
83343ee7a1 Move declerations for code style 2012-05-26 18:02:38 +10:00
247d47f733 Add more scalar operators 2012-05-26 18:02:11 +10:00
71576c9e7b Fix test case headers for new types.hpp 2012-05-26 18:01:54 +10:00
ea71f958f4 Instancing and construction fixups for clang 2012-05-26 18:01:04 +10:00
71c4df0cac Select endian conversion method based on compiler 2012-05-26 17:59:50 +10:00
a9453c02ea Add commented out reminder for -Wzero-as-null 2012-05-26 17:58:36 +10:00
45a1b6b93c Make width/height unsigned where possible 2012-05-25 15:30:28 +10:00
4899f08772 Add always_unsigned type conversion template 2012-05-25 15:30:11 +10:00
f9cc4926f2 Categorise functionality from types.hpp 2012-05-25 15:19:07 +10:00
3d61e01f62 Default initialise all values in base fractal 2012-05-24 21:25:18 +10:00
55ca32362c Style consistency for fractal headers. 2012-05-24 17:09:06 +10:00
9616c045d9 Improve cellular output bounds checking 2012-05-24 17:08:47 +10:00
59d2862508 Correct int/frac coordinates for negative position 2012-05-24 17:08:11 +10:00
4793f435c9 Remove debugging output from image writer 2012-05-24 17:07:40 +10:00
f3b829e232 Add a soft bounds check for range::normalise 2012-05-24 17:07:17 +10:00
b86cc6904f Use binary output for pgm/ppm 2012-05-24 17:07:01 +10:00
c354cf6ed6 Normalise basis values and give expected bounds 2012-05-24 15:04:06 +10:00
aabbf231c5 Add more scalar operators for range 2012-05-24 15:03:26 +10:00