Commit Graph

3636 Commits

Author SHA1 Message Date
a9bffcff08 sha1: give state enum a print operator 2014-07-02 15:40:20 +10:00
ca9db30ab4 sha1: style and whitespace 2014-07-02 15:39:53 +10:00
5a7ff4d20a build: silence sign promotion warnings 2014-07-02 15:38:05 +10:00
5da7b87c4a build: typo in optimisation flag 2014-07-02 15:36:11 +10:00
9abc288532 build: add more warning flags 2014-07-02 15:35:59 +10:00
4bc536ebdf image: update copyright dates 2014-06-29 22:50:59 +10:00
c76914b354 io: add make_indented 2014-06-29 22:49:26 +10:00
aa52f440bc test: use absolute paths for json.test 2014-05-26 17:34:23 +10:00
6cce50cd1b Merge branch 'master' of ssh://nerdcruft.net/var/git/libgim 2014-05-26 17:11:29 +10:00
eb05c7622e add stringid for mapping between strings and ints 2014-05-26 17:11:07 +10:00
622d052e5d json: comments 2014-05-26 17:10:31 +10:00
228421d974 test: run all checks through the TAP driver
This will allow more natural checking of hashes and json as they expand.
2014-05-23 17:11:28 +10:00
9cb897a381 whitespace 2014-05-20 14:11:28 +10:00
d0668cec59 pool: use cpp-style casts 2014-05-20 13:44:49 +10:00
3c9c245075 sha1: remove dead store warning 2014-05-20 13:44:36 +10:00
304ddbfedd whitespace 2014-05-20 13:44:27 +10:00
61634286d3 hash: call finish before comparing in tests 2014-05-20 13:33:08 +10:00
246b68c540 tools: add convenience hash computing tool 2014-05-09 14:44:40 +10:00
b4a07538df hash: make finish public in accumulators 2014-05-09 14:43:40 +10:00
5c0ac60e2f json: use new tool path for tests 2014-05-09 13:14:13 +10:00
1b96816bd3 matrix: debug build fix for braces and defines 2014-05-09 13:13:18 +10:00
3f909dd273 build: redefine misplaced header 2014-05-09 13:12:44 +10:00
43aaf832aa header comments 2014-05-09 13:09:36 +10:00
ac019fa33f toosl: add json prefix to json sources 2014-05-09 13:08:50 +10:00
513b09c1c9 sha2: rename SHA2 class to SHA256
temporary rename for clarity in existing algorithm code. revisit when/if
we get implementations for each bit length.
2014-05-09 13:01:02 +10:00
77ea57f530 remove mudflap support
mudflap is deprecated/removed in newer versions of gcc
2014-05-09 13:00:35 +10:00
a24cdd0848 Add Werr to compile flag checks
clang will accept with warnings an unknown warning flag, so autotools
will think it accepts everything. cleans up a lot of clang warning
messages.
2014-05-09 12:58:57 +10:00
84a179f4ca Move json utilities to tools directory 2014-05-09 12:58:33 +10:00
a88379bf36 hash: add sha2 implementation 2014-04-16 19:17:56 +10:00
b26449fd5f maths: add divide-and-round-up 2014-04-16 19:17:15 +10:00
16b81f2a07 debug: add XFAIL exit codes 2014-04-16 19:16:48 +10:00
028dee034a bitwise: add rotater 2014-04-16 19:16:25 +10:00
fc935863ef sha1: cleanup and fix test cases 2014-04-16 18:35:09 +10:00
21b2b2368c Increase rand test iterations
Sometimes we get test errors when running the rand test. Obviously this
is expected a little based on the implementation, but we can reduce the
chance by increasing the iterations for the test.
2014-04-10 21:04:56 +10:00
6074ccdd21 Remove useless extension protection from gitignore 2014-04-10 21:04:32 +10:00
b33cb706c8 Add RIPEMD160 implementation 2014-04-10 21:04:07 +10:00
03a95ac05b Remove explict json constructor from range 2014-03-06 15:22:47 +11:00
7404973415 Explicitly clear accumulator before parsing
This silences some (mistaken) reports from clang-analyzer
2014-03-03 14:35:28 +11:00
4673b91104 Use nullptr rather than NULL 2014-03-03 14:34:45 +11:00
fe7d507c28 Remove useless debug check 2014-03-03 14:34:35 +11:00
95c6d56cf9 Make elems parameters const 2014-03-03 14:09:41 +11:00
71fcd082aa Allow range::normalise to return non-unit values 2014-02-18 16:00:48 +11:00
9cc47a05bd Add point::redim implementation 2014-02-18 15:28:28 +11:00
db62693535 Add CHECK_GE and CHECK_LE 2014-02-12 17:05:37 +11:00
7121465c0a Add sectioning comments 2014-02-12 17:04:48 +11:00
b1e5c5c309 Make elems function constexpr 2013-09-20 17:33:25 +10:00
5bcc35612c Add period query class 2013-09-20 17:33:08 +10:00
6aa89a740d Fix typo in region::closest condition 2013-09-19 15:15:38 +10:00
d7f8246cf5 Add missing m4 files 2013-09-18 16:58:16 +10:00
0e36781721 Add manhattan closest calculation 2013-09-18 13:52:11 +10:00