Commit Graph

2746 Commits

Author SHA1 Message Date
1658347573 json-schema: add schema test suite 2018-07-05 19:08:58 +10:00
4c0f129a37 json-compare: add a json comparison tool and test suite 2018-07-05 17:46:43 +10:00
3d51be1372 json/tree: correct object and array equality operators 2018-07-05 17:46:02 +10:00
94640d00f0 json: rearrange schema test to allow for modified output
Schemas can insert default values, so we need to be able to test the
resultant files.
2018-07-05 15:02:14 +10:00
30c35b2101 json: move validation test data to dedicated directory 2018-07-05 15:00:47 +10:00
74568d1c2d test/json-parse: add json parsing test 2018-07-05 13:45:10 +10:00
8d921aacc2 io_posix: fake the mapping of zero length files 2018-07-05 13:45:10 +10:00
a4844fa7ed posix/except: add 'what' member for code class 2018-07-05 13:45:10 +10:00
a7ce62cd66 iterator: remove unnecessary make_indices
We have template deduction guides now. This is unneeded.
2018-07-04 14:08:31 +10:00
b3c918888a variadic: rework get to infer references in return types 2018-07-04 14:05:51 +10:00
6ee256992d pool: add index based destroy function 2018-07-04 14:05:51 +10:00
f1c70beee1 pool: add pointer to index query 2018-07-04 14:05:51 +10:00
3370c6764e pool: add accessor for base address 2018-07-04 14:05:51 +10:00
935a3b950f pool: ensure move constructor is noexcept 2018-07-04 14:05:51 +10:00
b79cc887a0 pool: prefer byte over char for raw data 2018-07-04 14:05:51 +10:00
0f5f660fa3 pool: align nodes to pointer boundaries 2018-07-04 14:05:51 +10:00
d466ed75ac iterator: avoid invalid scoping issues with izip 2018-07-04 14:01:46 +10:00
3d59645637 iterator: add deduction guide for 'indices' 2018-07-04 14:01:00 +10:00
7ff2f38fd6 debug: allow variadic CHECK_SANITY for aux sanity variables 2018-06-29 17:34:22 +10:00
23e581ad6a debug: allow specialisation of validator for aux validation variables 2018-06-29 13:32:52 +10:00
4e10aa59b2 strongdef: remove the numeric_limits specialisation
Apparently we don't need this any more, and it's kinda ugly.
2018-06-27 17:59:26 +10:00
0df16bb9ee strongdef: swap template params, move to dedicated namespace 2018-06-27 17:58:45 +10:00
eef3327415 iterator: use index_type for the indices pseudo-container 2018-06-27 17:57:47 +10:00
4094a96160 iterator: add index_type trait 2018-06-27 17:57:22 +10:00
279af4c796 strongdef: significantly tighten restrictions on usage
It turns out that equality in particular was triggering implicit
construction of strongdef types. We make it much harder for these types
to spontaneously emerge.
2018-06-22 17:41:56 +10:00
6c0803b6e9 types/traits: add the identity type function 2018-06-22 17:41:36 +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
65dad60e09 json/tree: forward the arguments for to_json/from_json 2018-06-22 14:08:59 +10:00
b918aa7fc0 types/traits: rename chain as compose 2018-06-21 13:19:21 +10:00
6f3952abcb strongdef: add default constructor if the type supports it 2018-06-21 13:18:53 +10:00
6dea530f6e coord/ops: remove misplaced include 2018-06-20 13:25:49 +10:00
cad9af9e25 gitlab: use the correct relative address for cmake builds 2018-06-20 13:23:14 +10:00
c2955997cc gitlab: cache the artefacts required for testing 2018-06-20 13:04:55 +10:00
8bc87e7c3f build: add C to the required language list
This is required for various compilation tests (like CHECK_SIZE_TYPE).
2018-06-20 12:50:27 +10:00
eb1b0de4c2 gitlab: use recursive submodule clones 2018-06-20 12:45:39 +10:00
0a61a64174 gitlab: add packages for ragel and python3 2018-06-20 12:41:47 +10:00
ec9b0a4797 gitlab: correct the name of the ninja package 2018-06-20 12:34:51 +10:00
d5201cba01 gitlab: add a trivial gitlab CI configuration 2018-06-20 12:31:51 +10:00
ba24e9e5af build: explicitly include the nerdcruft cmake module 2018-06-20 12:23:15 +10:00
ba0eabc848 job/queue: restrict job release lambda's parameters 2018-06-18 14:01:06 +10:00
d74fca4e98 scoped: simplify universal references
this avoids problems with use after stack unwind discovered using
sanitizers.
2018-06-18 13:51:59 +10:00
db90a4db53 scoped: declare copy and move constructors
they aren't defined currently because we haven't needed them. this is
just to avoid accidents where the defaults will prove problematic.
2018-06-18 13:50:16 +10:00
3722c8aaa3 region: add union operator for region/region 2018-06-14 15:07:25 +10:00
e9d5909f21 scoped: eliminate the raii header 2018-06-13 15:43:01 +10:00
710a99b865 scoped: add scoped value restoring class 2018-06-12 14:50:54 +10:00
22b25221b2 coord/base: add std::array conversion operator 2018-06-12 10:54:08 +10:00
0a599b4b14 region: add minimal docstrings for some queries 2018-06-07 15:20:37 +10:00
c4a8ff3424 region: add intersects overload for point/region
complements the existing region/point intersects test
2018-06-07 15:20:05 +10:00
6d6c53d5d1 tuple/type: fix typo in remove_t 2018-06-06 19:17:41 +10:00
d70d06468e tuple/type: add entuple, cat, remove, and unique types 2018-06-06 19:13:17 +10:00