Commit Graph

2759 Commits

Author SHA1 Message Date
b17f7691a1 Add a simple write string to file method 2012-08-15 16:03:48 +10:00
5e764244ac Add simple debug initialisation function 2012-08-10 17:40:19 +10:00
fa5a6c9ed9 Instantiate net::address in net namespace.
Fixes compilation error under clang++.
2012-08-10 17:39:33 +10:00
b34a78216b Use an intermediate class for json serialisation
To avoid the no-partial-specialisation rule for functions, use a class
we can partially specialise instead.
2012-08-10 17:37:23 +10:00
58f5fdf3f1 Bump the copyright years 2012-08-10 17:36:56 +10:00
1be63bb760 Add a simple polynomial class 2012-08-10 17:36:28 +10:00
7bad091cfe Use w/h instead of width/height for extent 2012-08-08 14:39:24 +10:00
7107968cdb Add a periodic statistics printer to time 2012-08-07 18:35:38 +10:00
4a54e2be60 Instance a stats accumulator for uint64_t 2012-08-07 18:35:00 +10:00
c0dbf6936d Expose a reset method for stats accumulator 2012-08-07 18:34:36 +10:00
2993d27ea8 Test for windows headers to enable the win32 build 2012-08-07 18:33:44 +10:00
e54b43fd72 Add tiny quaternion stub 2012-07-31 14:40:21 +10:00
d9a3abf4cd Annotate vector::normalised with mustuse 2012-07-31 14:40:00 +10:00
1e269c4ed3 Add json binaries to ignore list 2012-07-30 16:35:24 +10:00
63c995bbf0 Run ragel detection on actual ragel input 2012-07-30 16:33:55 +10:00
07c79acc61 Bump ragel detection script 2012-07-30 16:33:40 +10:00
d49dd41c65 Spacing and instantiation of templates 2012-07-30 16:33:12 +10:00
1c251699c3 Use an array not a vector for components 2012-07-30 16:32:32 +10:00
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