Commit Graph

791 Commits

Author SHA1 Message Date
20e8297768 Add query for decimal digits of an integer 2012-07-30 16:31:51 +10:00
983b96c958 Move is_pow2 to headers for template generation 2012-07-30 16:31:19 +10:00
419c1d48f6 Move crystallised network wrapper to libgim 2012-06-25 16:54:26 +10:00
481f55a9c4 Add known_cast to type casts 2012-06-20 16:48:40 +10:00
8c5dd1eea1 Fixup whitespace 2012-06-20 16:48:29 +10:00
545b4ff3cc Make de/constructor protected in nocopy 2012-06-20 16:48:02 +10:00
eb4a5e2c04 Add CHECK_NOTHROW 2012-06-20 16:47:48 +10:00
cf246cd097 Silence an unused variable warning. 2012-06-18 16:13:08 +10:00
c023ecdcec Remove redudant link against boost_system 2012-06-18 16:12:50 +10:00
bdfc00171e Use 'none' partition with LTO 2012-06-18 16:12:09 +10:00
baf8ded43d Add UNIT and MAX region objects 2012-06-15 16:38:57 +10:00
c0dcdd89d9 Add MAX range object 2012-06-15 16:38:24 +10:00
7d61acc8c1 Remove double printing of vector[0] 2012-06-14 18:32:17 +10:00
9124791a59 Use lowest instead of min in casting checks 2012-06-14 18:31:58 +10:00
71c0f02873 Make region dimensions the same type as positions
There are just far too many warnings issued for signedness differences
for it to be practical to cast every time.
Unsignedness was hiding the issue of dimensions being larger than
positions could express anyway.
2012-06-14 18:30:08 +10:00
9447910061 Add structure for region iterator
It is not currently enabled as the exact semantics aren't really known,
but as we're likely to want something similar later then we shouldn't
throw the code away.
2012-06-14 18:29:09 +10:00
23c9bf17e6 Remove embedded null from log output 2012-06-14 18:26:46 +10:00
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