Commit Graph

96 Commits

Author SHA1 Message Date
395b5ae557 json: rename schema directory to constraint 2018-07-16 13:58:12 +10:00
33dc5c7053 json/pointer: add a trivial parser for json-pointer 2018-07-13 16:08:24 +10:00
c07ce50908 json/schema: modularise the validator objects 2018-07-11 19:30:14 +10:00
4c0f129a37 json-compare: add a json comparison tool and test suite 2018-07-05 17:46:43 +10:00
a95388b02b json-schema: print the validated schema
The validation process may modify the supplied JSON and it's useful for
debugging purposes to visualise any defaulted values.
2018-06-22 14:09:23 +10:00
ec44c68ce6 view: require fully named types for casting 2018-05-10 12:54:45 +10:00
a1aa0c6949 geom/sample: make the extent surface sampler public 2018-05-01 16:02:55 +10:00
63cf40eeca poisson-tool: use function objects for distances 2018-04-27 16:33:18 +10:00
05f8787c91 poission: add more thoroughly documented poisson sampler 2018-04-26 17:44:16 +10:00
44ef094d04 build: add poisson sample demo 2018-04-19 13:49:55 +10:00
de247c7e7b cpp: add basic C preprocessor emulator 2018-04-01 14:49:10 +10:00
68faa8838e cpuid: add initial trivial CPUID queries 2018-03-18 17:29:44 +11:00
18a7790a2a macro: trivial preprocessor for includes 2018-01-30 12:53:43 +11:00
09aa86f55f crypto: remove cryptography primitives
This code can now be found in libcruft-crypto. It was removed to prevent
people relying on it, and to improve test iteration times in unoptimised
builds.
2018-01-14 17:13:21 +11:00
681768093e hash: use a consistency, less flexible, interface 2018-01-13 15:24:12 +11:00
bec24535fc hash/crc: parameterise crc for reflection, and 64 bits 2017-02-14 19:47:12 +11:00
b39f80e606 hash/crc: parameterise on type and polynomial generator 2017-02-13 17:13:46 +11:00
e1aacef7a2 stream: use scoped manipulators 2017-01-05 20:21:20 +11:00
a63e6c213e tools/scratch: add iostream header 2017-01-05 16:46:20 +11:00
9a798446b5 build: remove unnecessary includes
discovered with include-what-you-use
2016-10-12 15:08:22 +11:00
48364cd227 build: use experimental::fs over boost::fs 2016-10-07 19:48:42 +11:00
116ad04a1f build: use ostream/istream over iostream 2016-08-04 17:42:41 +10:00
bf5cab6156 io: move view conversion operator to named function 2016-06-28 15:58:41 +10:00
642317f6a4 json: use templated iterator for parsing from views 2016-06-28 14:16:28 +10:00
0ac9225351 tools/hash: use new simple hash api 2016-06-20 16:53:56 +10:00
38cb91fcb5 tools/hash: style 2016-06-17 14:59:11 +10:00
e62af110b6 tools/hash: protect against invalid arg count 2016-06-17 14:58:12 +10:00
456362adff t/json-validate: catch only json exceptions
the json namespace should really only be throwing json errors. this tool
is primarily used for unit testing, so it's better it crashes
catastrophically on an unhandled exception.
2016-04-27 17:10:36 +10:00
2fbf9af8cb t/json-schema: reduce scope of schema and input 2016-04-27 17:09:48 +10:00
9036a26743 scratch: add forgotten header
sigh..
2016-03-15 13:57:19 +11:00
8ea827aab0 tools/scratch: remove inadvertantly committed code
scratch should always be a noop. It's only here to simplify testing of
new code.
2016-03-15 12:30:23 +11:00
a59844be98 don't pull in namespace std 2016-03-11 13:28:56 +11:00
3993e561f8 unify licences 2016-02-26 13:36:01 +11:00
c31082716a netpbm: move netpbm into image library 2016-02-24 13:51:26 +11:00
817eb50efc image: move buffer into image directory 2016-02-19 13:56:12 +11:00
e85ffe5160 scratch-tool: add main arguments for convenience 2016-02-03 13:15:19 +11:00
9cb25456a4 scratch-tool: add simple debug skeleton
simplifies writing quick test commands linking against the library
2016-02-02 12:11:38 +11:00
003685ce2b image: templatise on component count 2015-10-20 16:54:15 +11:00
f0f1522307 n/basis: extract gradient generators 2015-10-07 14:36:55 +11:00
8b458ad452 noise: reduce repetition in template params 2015-10-07 00:22:05 +11:00
b464f089a5 noise: use permutation random generator
much faster for common operations
2015-10-06 21:19:17 +11:00
e80e445645 noise: support n-dimensional noise 2015-10-06 15:45:26 +11:00
0f0e3a8c93 noise/basis: add exp weighted perlin gradient basis
useful for terrain generation
2015-09-29 17:42:20 +10:00
91a01c2742 noise-tool: give a random offset per-image
prevents gridpoint artefacts being so obvious
2015-09-25 15:16:15 +10:00
ee401e4409 noise-tool: don't check tty until after options
options may include a help request which we'll want to respond to
before checking the output stream.
2015-09-11 19:55:52 +10:00
e829e95791 noise-tool: use windows accessible isnan 2015-09-09 19:44:51 +10:00
13ef16e183 noise-tool: expose more parameters via commandline 2015-08-28 21:09:21 +10:00
3d35874f58 noise-tool: remove dead code 2015-08-28 21:04:55 +10:00
48d6a007a2 n/b/patch: add blur width parameter 2015-07-28 18:14:10 +10:00
33dece611a n/basis: add patch basis function 2015-07-24 01:37:36 +10:00