Commit Graph

2285 Commits

Author SHA1 Message Date
3b82757e5c test/random: use a constant seed 2016-06-30 15:26:45 +10:00
10e0c4f923 json/except: use a human readable key_error message
the exception string was completely useless without mentioning "you
tried to dereference an invalid key".
2016-06-29 17:55:44 +10:00
6e533e47b7 hash/keccak: remove unused function 2016-06-29 17:55:30 +10:00
74fc943f53 build: quiesce type conversion warnings 2016-06-29 17:55:12 +10:00
0e29675ef5 cast: tighten trunc_cast type restrictions
trunc_cast should be between float/int/uint or to types of lesser
precision. also restrict to fundamental types until we actually test
with arbitrary types.
2016-06-29 17:53:44 +10:00
d51cfe7a34 stream: remove unneeded numeric class
explicitly cast before passing to a stream routine if you need it.
2016-06-29 17:52:26 +10:00
b1bc2a816d json/schema: add path based validate 2016-06-28 16:59:56 +10:00
73c30561af json/tree: reinstate path based parsers
json::tree::node is a fat object, so it's safe to load the source data
from within the parsing function
2016-06-28 16:57:44 +10:00
d7204d7cac json: remove path based parsers
parsers don't store copies of the data, so we can't allow functions that
allocate data themselves.
2016-06-28 15:59:53 +10:00
bf5cab6156 io: move view conversion operator to named function 2016-06-28 15:58:41 +10:00
fef1dc8300 alloc/dynamic: add missing override specifiers 2016-06-28 15:57:23 +10:00
0b128384eb io: add lval ref-qualifiers to mapped_file members 2016-06-28 14:23:42 +10:00
642317f6a4 json: use templated iterator for parsing from views 2016-06-28 14:16:28 +10:00
194cd6c574 io: add view operator to mapped_file 2016-06-28 14:15:19 +10:00
8c5c98f5cc io: add const begin/end to mapped_file 2016-06-28 14:14:23 +10:00
94dc6274dc io_win32: commenting style 2016-06-28 14:12:44 +10:00
ba2c74449f view: make container constructor explicit and constexpr 2016-06-28 14:09:48 +10:00
722dbbe18f view: use decltype for make_view type deduction
some types will not have iterator typedefs but are capable of providing
iterators. use the types that std::begin and friends return instead of
deducing them ourselves.
2016-06-28 14:06:02 +10:00
1717458c7a io_posix: public/private order style 2016-06-28 12:21:30 +10:00
51cd9749e9 io_posix: indentation style 2016-06-28 12:21:12 +10:00
d8918d6f2c log: display error if LOG_LEVEL is invalid 2016-06-24 16:56:44 +10:00
9b4ce6555e debug: add CHECK_SANITY macro 2016-06-24 15:30:41 +10:00
791b65a8bb preprocessor: expand MAP macros to 24 arguments 2016-06-24 13:15:01 +10:00
a87e03de34 hash: move tests to hash directory 2016-06-24 13:08:19 +10:00
350dd96b2d alloc: add base and offset methods 2016-06-22 19:51:18 +10:00
8e46cc8e3c build: use consolidated NC_SUBPACKAGE 2016-06-21 18:10:08 +10:00
4f64ab35d9 build: use two-postfix pkg-config scheme 2016-06-21 17:27:17 +10:00
9acdea226f crypto/ice: explicitly qualify gf_exp7 types
Required for compatibility with platforms with different uint_fast_t
types (like mingw)
2016-06-21 15:42:49 +10:00
d9b086a03d m4/nc: bump for platform detection fixes 2016-06-21 10:56:34 +10:00
08536765b6 Merge branch 'crypto' 2016-06-20 18:08:46 +10:00
c9f4d6ced3 README: add crypto warning 2016-06-20 18:06:51 +10:00
8d191fb2e1 hash/keccak: add initial sha3 base 2016-06-20 18:05:30 +10:00
a0d02c2fdb crypto/ice: add implementation of ICE 2016-06-20 18:04:41 +10:00
24f4050ea8 geom/aabb: add missing required header 2016-06-20 18:03:41 +10:00
c745658919 tap: use rval-references for test args 2016-06-20 18:02:45 +10:00
1da6916b84 crypto/arc4: add missing required headers 2016-06-20 18:01:50 +10:00
2f295fca11 extent: add missing required header 2016-06-20 18:01:26 +10:00
b49d95eaf3 bitwise: add pure annotation to rotate functions 2016-06-20 17:59:21 +10:00
bcda332900 hash/fwd: add forward declerations 2016-06-20 16:53:56 +10:00
0ac9225351 tools/hash: use new simple hash api 2016-06-20 16:53:56 +10:00
f96c34d581 hash/simple: add simple oneshot hash calculator 2016-06-20 16:53:56 +10:00
33ade82ebf hash/md5: make header guards consistent with path 2016-06-20 16:53:56 +10:00
8824331c4b hash/crc: convert to object style accumulator 2016-06-20 16:53:56 +10:00
8333cad8cc WIP checksum test api 2016-06-20 16:53:56 +10:00
6338a85992 hash/bsdum: convert to object style accumulator 2016-06-20 16:38:57 +10:00
51e7995c63 hash/adler: convert to object style accumulator 2016-06-20 16:37:43 +10:00
f02ea00f0a m4: move nerdcruft m4 into submodule 2016-06-20 13:30:32 +10:00
4b01f999c4 version: add comparator tests 2016-06-20 13:08:36 +10:00
1f5e3dc903 version: add more constructors, comparators 2016-06-20 13:08:24 +10:00
af699c5443 debug: correct format specifier for CHECK_{EZ,NEQ} 2016-06-20 13:07:10 +10:00