d738fc4a0e
matrix: instantiate template in host namespace
...
Fixes warnings under clang
2014-07-15 19:50:49 +10:00
67d567b5c3
stream: add stream bit printing object
...
Allows one to print a given number of bits from an integral value easily
using streams.
2014-07-15 19:50:08 +10:00
d78df821bf
bitwise: add bit reverse operation
2014-07-15 19:49:29 +10:00
1a461eddf0
io: give mapped_file begin/end accessors
2014-07-15 19:48:59 +10:00
f559f3d912
io: use more appropriate exceptions in fd_ref
2014-07-15 19:48:34 +10:00
8df51f7830
io: use rvalue-ref for indented ostream operator
2014-07-15 19:48:00 +10:00
a9af10ec42
io: give fd_ref a flags argument
2014-07-15 19:47:15 +10:00
fba15db34b
endian: complete reimplementation
...
Old implementation was overly verbose. We can just rely on gcc builtins as
we can't actually build on anything else anyway.
2014-07-15 19:44:39 +10:00
b18353f546
build: disable some warnings under clang
2014-07-15 19:43:17 +10:00
400ce47891
rational: instantiation should be in namespace
2014-07-07 15:21:17 +10:00
d10491efbd
pascal: add simple pascal string/array types
2014-07-07 15:21:17 +10:00
39caa4c365
build: add 'undefined' sanitizer for debug
2014-07-07 15:21:17 +10:00
f46c090c72
io: allow mutable memory for mapped_file
2014-07-07 15:21:17 +10:00
5c862400a4
types: add first, returns first true argument
2014-07-07 15:21:17 +10:00
c9e46f986e
matrix: parameterise on element type
2014-07-07 15:21:17 +10:00
6e2a78fc3b
maths: matrix.is_magic should check for integers
2014-07-07 15:21:17 +10:00
5c030bf0ea
maths: exactly_equal should take two typenames
2014-07-07 15:21:17 +10:00
08f8d35799
whitespace errors
2014-07-07 15:21:17 +10:00
763cb667af
rational: add initial stub class
2014-07-02 15:49:27 +10:00
676c5270b7
matrix: cleanup is_magic method types
2014-07-02 15:48:51 +10:00
99bf1af4b2
guid: ensure unsigned maths for shifting
2014-07-02 15:48:13 +10:00
bce3abac40
build: remove implicit type casting warnings
2014-07-02 15:47:53 +10:00
d1ed7107ae
region: remove vector addition operator
...
It is unclear what this operator was supposed to do, and triggers a
number of sign and type warnings. Re-add later if necessary under a more
descriptive name.
2014-07-02 15:47:53 +10:00
d5df6116d5
build: remove useless cast warnings
2014-07-02 15:47:53 +10:00
ff17c51a85
extent: add ostream operator
2014-07-02 15:43:59 +10:00
89c87cbf06
extent: instantiate templates from stdint types
2014-07-02 15:43:24 +10:00
52eb957d4b
build: convert c-style cast to c++ style
2014-07-02 15:42:25 +10:00
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