Commit Graph

3627 Commits

Author SHA1 Message Date
7c33efda62 maths: reduce cast warnings in renormalise 2015-04-09 20:43:14 +10:00
be92d3a11f stream: add numeric ostream iomanip 2015-04-09 20:41:48 +10:00
21e172c3db stream: move bit ostream operator into util namespace 2015-04-09 20:41:24 +10:00
532dc415a4 colour: allow arbitrary colour dimensions 2015-04-09 18:00:40 +10:00
bd88832df3 coord: move cast/redim operations to coord 2015-04-09 17:58:47 +10:00
5428c93b9a coord: pass client class to coord base
allows common typesafe implementation of cast and redim
2015-04-09 17:47:35 +10:00
9f6c17d6cf maths: add renormalise function 2015-04-09 17:44:50 +10:00
afad51db9d aabb: add expand call 2015-04-09 14:05:01 +10:00
c94535dfae vector: note the order of components for polar 2015-04-08 19:00:46 +10:00
af11d7c730 extent: add contract methods 2015-04-08 19:00:33 +10:00
5b878983a6 aabb: add contract and closest methods 2015-04-08 19:00:17 +10:00
a4c22059ed aabb: rename expand to cover 2015-04-08 18:59:45 +10:00
e1b03e0735 coord: express negate with scalar value multiply
we don't have universal scalar reference operations implemented, this
avoids a temporary and removes compile errors
2015-04-08 14:53:55 +10:00
a67edcde1a vector: add cast operator 2015-04-08 13:51:09 +10:00
ec9b8a0c57 signal: remove eroneous cookie reset call 2015-04-07 23:10:49 +10:00
ace0fd4a99 aabb: add point overlap check 2015-04-07 23:10:31 +10:00
14e5f4ca2d coord/ops: enable vector-point element operations 2015-04-07 17:01:50 +10:00
5627c573eb coord: use size_t/intmax_t for u and i suffixes
size_t matches array indices we are likely to be used in conjuction with
these types.
2015-04-07 16:53:46 +10:00
14cab4fb9b maths: use std::signbit instead of builtin 2015-04-07 16:53:11 +10:00
426fc1c848 region: remove two-scalar constructor
two-scalar constructor is too similar to extent and point constructors
leading to unexpected initialisation problems.
2015-04-02 15:01:17 +11:00
0211ed5b37 matrix: add 2d translate convenience function 2015-04-02 15:01:17 +11:00
a300f99b87 vector: add polar_to_cartesian 2015-04-02 15:01:17 +11:00
4aa35f4c70 vector: add almost_equal specialisation 2015-04-02 15:01:17 +11:00
3da59aea2f vector: instantiate polar_to_cartesian 2015-04-01 17:05:24 +11:00
ea36bae110 whitespace 2015-04-01 17:05:13 +11:00
fb06a3ec2f extent: move aspect calculation back into object 2015-03-24 02:43:43 +11:00
06c537918f build: add XOPEN defines for posix2008 2015-03-24 02:43:21 +11:00
93ed983a6f maths: use __builtin_signbit to handle +- zeros 2015-03-24 02:42:42 +11:00
cf9db48e0e aabb: add signed and unsigned convenience types 2015-03-23 18:44:16 +11:00
0318c70709 json/schema: additionalProperties, patternProperties 2015-03-23 18:44:16 +11:00
90552732d7 json/schema: validate now throws on error 2015-03-23 18:44:16 +11:00
d102410567 json/tree: add as_bool native accessor 2015-03-23 18:41:07 +11:00
585a0b464c maths: make sign query inline
code which needs this function tends to require a fairly simple
implementation inline for the optimiser to reach more successfully. we
tended to generate function calls to this which slowed this inner loops.
2015-03-20 01:36:15 +11:00
751f06dc3e traits: add try_signed convertor 2015-03-20 01:32:28 +11:00
7c4604d0c7 json/schema: check before using exclusiveMin/Max 2015-03-19 00:25:50 +11:00
dc8fd96e4b build: bump m4 to use data-sections, func-sections 2015-03-19 00:25:50 +11:00
5674f2a2e9 json: add basic json-schema draft 4 support 2015-03-19 00:25:50 +11:00
f73b39f063 json/tree: add std::string/string equality ops 2015-03-19 00:25:50 +11:00
1d0240ba10 json/tree: move some array methods to cpp 2015-03-19 00:25:50 +11:00
f333c75218 json/object: add find method 2015-03-19 00:25:50 +11:00
9230de8c98 json/tree: add const begin/end 2015-03-19 00:25:50 +11:00
1877767614 style 2015-03-19 00:25:50 +11:00
2592cd0442 json/tree: add mutable indexing operators 2015-03-19 00:25:50 +11:00
a2535e2006 json/tree: add mutable conversion queries 2015-03-19 00:25:50 +11:00
6e81437b93 json/tree: add as_chars accessor 2015-03-19 00:25:50 +11:00
b01635141f json/tree: add type enum and value queries 2015-03-19 00:25:50 +11:00
5e20ee3a1d json/fwd: add forward declaration header 2015-03-19 00:25:50 +11:00
5fd11fbe53 json/tree: make value classes final 2015-03-18 15:45:33 +11:00
4f0f040f7d json/tree: add clone method 2015-03-18 15:44:46 +11:00
47cc2adfab json: add key_error exception class 2015-03-18 15:42:03 +11:00