Commit Graph

1155 Commits

Author SHA1 Message Date
4c41439a2e debug: add CHECK_NEZ 2015-02-05 20:37:07 +11:00
169bc5f62b debug: move maths header inc to avoid circular dep 2015-02-05 20:37:07 +11:00
10cb9e2458 build: rename json.cpp.rl from reason move 2015-02-05 20:37:07 +11:00
09be9f3cea image: set the output values in downsample... 2015-02-04 18:39:40 +11:00
52544605e5 image: instantiate uint8_t buffer clone 2015-02-04 18:39:08 +11:00
997dd3415d build: find lto-wrappers where appropriate 2015-02-04 15:59:22 +11:00
b542062cc4 image: add basic buffer class 2015-02-04 15:59:06 +11:00
1db9057c95 region: add per-axis expansion calls 2015-02-04 15:44:51 +11:00
3e9f5efbe0 maths: add sinc functions 2015-02-04 15:44:31 +11:00
2fcc16646c maths: templatise to_{radians,degrees} 2015-02-04 15:44:03 +11:00
bd22ec3172 extent: add extent2i convenience type 2015-02-04 15:41:18 +11:00
9a6c4572fa float: correctly handle double comparisons 2015-02-03 15:54:55 +11:00
2ae1c5e465 json: make include paths relative
fixes path issues when used from other projects
2015-02-03 13:09:23 +11:00
3d53ee5eb1 bezier: add region query 2015-02-03 12:58:41 +11:00
e5b85b559b point: fix float warning on test instantiation 2015-02-03 02:21:58 +11:00
34637949e2 bezier: avoid type punning on points member 2015-02-03 02:21:33 +11:00
65fdb5e47a bezier: use the original distance method
now the cubic solver is functional the old code appears correct, and it
seems to be more concise and more rigorously derived.
2015-02-03 02:20:12 +11:00
bb89f0e94f m4: bump m4 dependencies 2015-02-03 00:15:28 +11:00
60787655b3 json: split json impl files into tree and flat 2015-02-03 00:15:07 +11:00
81a7ff5db5 json: use raw string literals for test data 2015-02-02 23:02:26 +11:00
f3f969c8cb json: rewrite test data for rfc7159 compliance 2015-02-02 23:01:57 +11:00
0e1eaa91d3 json: support sax- and dom-like interfaces 2015-02-02 23:00:38 +11:00
cfc0f8ecd0 json: move tree parsing code to json::tree 2015-02-02 21:26:56 +11:00
ebd1087087 maths: add factorial and combination 2015-02-02 15:25:22 +11:00
a81b30c685 build: ignore installed libtool m4 files 2015-01-30 17:39:06 +11:00
2ac4a98e14 build: correctly check for mingw in lto check 2015-01-30 17:37:36 +11:00
c487a00175 debug: use newer CHECK macros 2015-01-30 17:36:35 +11:00
f32f12ee82 build: remove explicit copies of ax m4 scripts
they are difficult to keep in sync so we will assume the developer has
installed a copy locally.
2015-01-30 16:55:58 +11:00
a3e3160497 build: move common autoconf calls to m4 dir 2015-01-30 16:49:14 +11:00
819e45b441 build: add forgotten files to SOURCES
fixes distcheck
2015-01-30 16:47:28 +11:00
7a5e26ffc2 options: reset processor for each test
eliminates errors when CHECK macros are disabled in release builds
2015-01-30 16:46:47 +11:00
cae7a80ec1 test: move tests to flat directory structure
removes complications when srcpath/dstpath or child/parent directories
have naming collisions (in particular the json directories).
2015-01-30 16:45:57 +11:00
6bf011efa4 float: tighten up almost_equal tolerance 2015-01-29 15:49:57 +11:00
cf5a682959 bezier: add intersection count test 2015-01-29 15:49:57 +11:00
54cb3c2153 tap: add rudimentary TAP helpers 2015-01-29 15:49:57 +11:00
c841aadda0 float: fix negative-zero/zero almost_equal 2015-01-29 15:49:57 +11:00
794a688470 float: almost_equal takes unsigned ULPs 2015-01-29 15:44:30 +11:00
b704e66d3d maths: remove now redundant polynomial code 2015-01-29 15:41:40 +11:00
5e4c1080ec polynomial: support eval on arbitrary types 2015-01-29 15:41:40 +11:00
0f19eaf6e1 comments 2015-01-29 15:40:22 +11:00
4d12dabb5f polynomial: use correct coefficients for newtons 2015-01-29 15:40:22 +11:00
57d5538717 polynomial: set NaNs as we go 2015-01-29 15:40:22 +11:00
e98bd6338e polynomial: add more const 2015-01-29 15:40:22 +11:00
d7db3d8d29 debug: make assertions debug-only 2015-01-28 15:01:17 +11:00
cee9951f82 vector: add difference(2) methods 2015-01-28 15:00:20 +11:00
6abfd252d9 coord: move free maths func from point to vector 2015-01-28 14:59:33 +11:00
50b0bc37b2 extent: add default constructor 2015-01-28 14:57:55 +11:00
e4a93fe23c maths: make pow constexpr 2015-01-28 14:57:37 +11:00
af7f01efd3 maths: label maths primitives pure 2015-01-28 14:57:20 +11:00
9962bdca87 build: disable stack protector for release 2015-01-28 14:56:36 +11:00