Commit Graph

113 Commits

Author SHA1 Message Date
6b1cbc4d73 Move source out of root and into the cruft directory 2024-07-18 12:27:05 +10:00
48e71ce0dd tools/cpuid: add cache topology detection 2024-02-21 14:54:15 +10:00
2f2dfd1423 tools/log: accept only a single string
This tool is only meant for testing purposes and it's far simpler to
only support a single string commandline argument.
2023-11-19 09:37:05 +10:00
3cf386390f Fix some format string specifier type errors in recent compilers 2021-11-07 06:12:34 +10:00
34270e5b8f rand: prefer our own generators 2020-08-18 07:20:26 +10:00
61881b7c8f tools: use relative header paths
We can't guarantee that this directory is in the include path
2020-01-01 06:55:11 +11:00
d0d9c3a676 tools: add a 'crash' tool that triggers a segfault 2019-10-10 17:33:12 +11:00
c63bc5df4e tools: add a backtrace generating test 2019-10-10 16:28:16 +11:00
5666a64e77 tools: add a logging tool 2019-10-10 15:11:02 +11:00
e1d56395f6 build: remove buzstats tool 2019-04-23 08:19:47 +10:00
4cc20526ce tools/buzstats: add initial buzhash query tool 2019-04-22 14:23:52 +10:00
340d873d3a iterator: move each iterator to their own unit 2019-03-18 16:18:27 +11:00
c4a67c7fc9 cpuid: avoid directly including x86 specifics 2019-02-02 16:34:39 +11:00
1a82e4fe76 build: transition from experimental filesystem 2018-12-05 19:12:03 +11:00
1e0a87d5df geom/sample: align the interfaces for volume/surface sampling 2018-11-26 15:21:18 +11:00
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
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