Commit Graph

940 Commits

Author SHA1 Message Date
5956d0421e parameterise point, vector, region, matrix on type 2014-12-15 20:10:56 +11:00
2fc9073901 matrix: add affine definitions and translate impl 2014-12-15 13:45:50 +11:00
d51caee0c7 matrix: add perspective matrices 2014-12-15 13:45:50 +11:00
dcdbbe938d matrix: add scalar multiply 2014-12-15 13:45:50 +11:00
82f318c8ad matrix: more readable temps for matrix mul 2014-12-15 13:43:22 +11:00
253be704cb matrix: add transpose functions 2014-12-15 13:42:44 +11:00
a198aa1cba matrix: add trivial matrix-mul test 2014-12-15 13:32:17 +11:00
6a6933ea70 build: update test to use only static libraries 2014-12-15 13:32:17 +11:00
c3cd865c16 coord: add generic dot function 2014-12-15 13:30:02 +11:00
29c2457549 coord: add index accessor operators 2014-12-15 13:29:57 +11:00
5ebb777200 build: tune code generation options 2014-12-10 13:58:43 +11:00
6af493ba46 build: disable LTO for MinGW
Avoids a probably compiler error whereby LTO static libraries cannot be
linked to applications.
2014-12-10 13:53:13 +11:00
de353c9297 build: switch from LT libraries to pure static
We only ever supported static libraries, and this greatly simplifies
argument management compiling/linking for MinGW
2014-12-10 13:51:54 +11:00
b56426ff16 stringid: use boost threads for windows support 2014-12-05 13:22:48 +11:00
976a4b7330 socket: explain and relax type casting requirement
The recv/send functions (and the assertions) were only tested under
32bit systems. They need relaxing for 64bit.
2014-12-05 13:21:40 +11:00
b8ba95f365 io: use appropriate string types for windows 2014-12-05 13:20:44 +11:00
331ea58ec4 fixed: add accessor for raw int values 2014-12-05 13:20:23 +11:00
c2d608410b fixed: move to util namespace 2014-12-05 13:20:05 +11:00
a340473502 debug: print test message when installing console 2014-12-05 13:19:01 +11:00
189d1f7363 build: dont redundant SUBST pkg-config variables 2014-12-05 13:18:16 +11:00
82ae659fb5 build: remove allow-multiple-definition flag
Silently ignoring multiple definitions hides linking issues under
Windows in particular (eg, linking to multiple runtimes).

We don't seem to be hitting the boost bug which triggered this anymore.
2014-12-05 13:14:48 +11:00
0d32b07b2d build: delete references to old COMMON variables
COMMON_CXXFLAGS and COMMOND_LDFLAGS were the old flag accumulators
before we used AX_APPEND. Obviously not needed anymore.
2014-12-05 13:12:18 +11:00
733f16d1c8 build: add json test data to dist 2014-10-26 18:55:24 +11:00
cf6fc87c9f options: use range based for in some tests 2014-10-21 21:48:13 +11:00
31326ef576 options: instantiate valueoptions privately
By not providing each translation unit with the general form code we can
more easily force people to use the specialised code for types like
bool.
2014-10-21 21:47:10 +11:00
7278eff60a build: explicitly enable leak checking 2014-10-21 19:38:40 +11:00
9ffaa5782b rational: add invert, inverse, div, and mul 2014-10-20 12:56:28 +11:00
3fd3b805af adler: fix c-style cast without const error 2014-10-20 12:55:59 +11:00
23b0a7b146 remove annotations header
The annotations were never particularly robust, and weren't used in many
locations (or consistently). And we should be migrating to c++14
annotation syntax anyway. By focusing on writing them all locally we
will be a little more standards compliant, and the attributes should be
more visible.
2014-10-17 19:24:53 +11:00
abfe4daac3 io: default mapped_file to read only
This is vastly safer compared to write by default. No more unexpectedly
changing files.
2014-09-29 16:19:16 +10:00
84ca008305 copyright headers and date bumps 2014-09-17 18:20:28 +10:00
b297f168f7 build: add rdynamic to linking options for debug
rdynamic should allow us to get better backtrace data
2014-09-17 18:19:55 +10:00
bb3cbb584c maths: add log2up 2014-09-17 16:41:38 +10:00
b3e72051d6 maths: fix log2 2014-09-17 16:41:19 +10:00
c142715b66 tools: don't print input data for hash 2014-09-11 15:44:16 +10:00
37ed0fc5fd hash: cleanup fletcher 2014-09-11 15:44:03 +10:00
018fcef146 hash: whitespace 2014-09-11 15:43:12 +10:00
755e0d92cb maths: add log2 2014-09-11 15:34:59 +10:00
59348c0589 maths: whitespace 2014-09-11 15:34:46 +10:00
25f6cd635b log: allow lowercase LOG_LEVEL values 2014-09-11 15:33:46 +10:00
9bd80ab85c test: remove indirect script for json.test 2014-09-03 18:35:28 +10:00
332264a5be adler: add iterator style argument wrapper 2014-09-02 23:36:21 +10:00
b442db41ec pascal: move ostream operators to util namespace 2014-09-01 16:26:47 +10:00
3c57e6b6c7 pascal: return correct value for cbegin 2014-09-01 16:26:29 +10:00
9fc979ee1d maths: rename divup to align 2014-09-01 16:26:01 +10:00
fcd40105a7 json: serialisation/instantiation from size_t 2014-09-01 16:25:24 +10:00
61ee601df1 bitwise: use lookup table for byte reverse
When used across large buffers an iterative reverse scheme is lesss
efficient. The small cache cost for single reverses is good enough to
just eat here.
2014-09-01 16:23:46 +10:00
34f5036616 build: ignore built matrix test 2014-08-22 19:08:34 +10:00
c9fae9f23a io: rename mapped_file end/begin to cend/cbegin 2014-08-22 19:07:22 +10:00
a6cc1e1e9d vector: add instantiations for 4 element vectors 2014-08-19 20:46:37 +10:00