34788756d2
build: don't use './' as an include prefix
...
GCC produces ODR error when including paths of the form './foo' and
'foo' in the same binary. Rather than managing duplication we just
universally pick the absolute form over the relative form.
2017-11-22 16:49:37 +11:00
9a6a406fa2
build: use path objects over c_str calls
2016-11-17 18:07:57 +11:00
9a798446b5
build: remove unnecessary includes
...
discovered with include-what-you-use
2016-10-12 15:08:22 +11:00
68fa98e70e
build: workaround gcc synthesis constructor cast warnings
2016-10-11 21:43:28 +11:00
48364cd227
build: use experimental::fs over boost::fs
2016-10-07 19:48:42 +11:00
d9713fe8b7
json/tree: fix signed min, unsigned max constraints
...
signed/unsigned casting issues prevented correct comparisons with the
min/max constraints. account for the source type's range before doing the
comparison.
2016-09-20 16:02:08 +10:00
f793175fdf
json/schema: add 'integer' type support
2016-07-04 15:46:01 +10:00
b1bc2a816d
json/schema: add path based validate
2016-06-28 16:59:56 +10:00
8142944139
json: store numbers natively as uint/sint/real
...
allows more accurate representations and better error checking.
2016-05-12 17:41:31 +10:00
9bbcfa6e63
make header paths more explicit
2016-04-05 11:06:35 +10:00
b1bc54ac8c
maths: move remaining operations into util namespace
2015-11-16 11:44:07 +11:00
2658b41ea1
relicence under Apache-2.0
2015-04-13 18:05:28 +10: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
7c4604d0c7
json/schema: check before using exclusiveMin/Max
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
ac019fa33f
toosl: add json prefix to json sources
2014-05-09 13:08:50 +10:00
f9cc4926f2
Categorise functionality from types.hpp
2012-05-25 15:19:07 +10:00
4f5d75a1df
Make all check macros uppercase
2012-05-11 12:34:21 +10:00
7ddc076916
Quiecse some unusused parameter warnings
2012-05-08 16:38:55 +10:00
3823f239c2
Remove unused variables and code
2012-04-26 14:55:35 +10:00
77942e008d
Change my email to an active domain
2012-04-23 13:10:50 +10:00
e34975d109
Add a simple json-schema validator.
...
Does not handle $ref clauses, fragments, format fields, and a bunch of
other more minor details. But it should hold for simple self-contained
json objects.
2012-04-20 18:20:49 +10:00