Commit Graph

2833 Commits

Author SHA1 Message Date
b9c0716c66 view: use SFINAE to diable casts that can't be aligned 2019-01-18 17:19:39 +11:00
b0d29f94e9 view: add 'tail' query 2019-01-18 17:19:25 +11:00
e7ba296011 view: add assertion that orderable iterators are ordered 2019-01-18 17:19:10 +11:00
c533b4103e utf8: avoid wraparound warning for view construction 2019-01-18 17:18:31 +11:00
111bceb013 endian: add typedefs for u64, i16, i32, and i64 endian::value 2019-01-18 17:18:01 +11:00
def21dbd3f endian: add explicit 'native' query for endian::value 2019-01-18 17:17:36 +11:00
26841db5e0 io;posix: implement move constructor for mapped_file 2019-01-17 19:49:45 +11:00
f51beedcdd debug: cast unhandled enum to int before printing 2019-01-15 13:00:49 +11:00
04a44c627f debug: add a breakpoint before unhandled aborts 2019-01-07 12:18:45 +11:00
9e5cfc0dc6 build: many compilation fixes for win32 2019-01-04 17:13:21 +11:00
c92f450ff8 win32/file: add basic file wrapper 2019-01-04 17:13:21 +11:00
b61d55ee3c build: satiate clang-tidy somewhat 2019-01-03 15:48:34 +11:00
becd1e24e3 build: add doxygen comments for various headers 2019-01-03 11:15:00 +11:00
d16069b750 Doxyfile: Use CMake variables in preference to autotools variables 2019-01-03 11:15:00 +11:00
75d5f84ff6 cast: account for pointers-to-const in ffs 2019-01-02 13:48:59 +11:00
82b0bb2245 array/parray: use size/data constructor ordering
This corresponds with the typical ordering in the STL.
2019-01-02 13:45:47 +11:00
a33938e735 build: explicitly link to stdc++fs
We note the dependency ourselves rather than use a global link directive
so that it comes _after_ us. This prevents undefined references (and an
ICE under GCC/LTO)
2019-01-02 13:44:31 +11:00
bce481db0e buffer: move buffer code out of 'memory' namespace 2018-12-19 20:22:18 +11:00
4e25f6e3e2 alloc: eliminate 'raw' allocator distinction 2018-12-19 17:55:24 +11:00
6308166179 alloc/aligned/foreign: actually correct the allocated address 2018-12-19 17:35:09 +11:00
39ed7b27e8 alloc: remove unused allocators 2018-12-19 17:34:35 +11:00
10d5c141f2 alloc: rationalise the 'arena' allocator 2018-12-19 17:16:57 +11:00
4e055f5f0b memory/buffer/traits: add a simple buffer concept 2018-12-19 17:15:51 +11:00
8f2d036123 sarray: allow copy construction 2018-12-19 17:15:24 +11:00
f3886d6089 array: don't use const size member
const members tend to prohibit copy construction
2018-12-19 17:15:24 +11:00
f648ad9810 view: allow multibyte targets for make_byte_view 2018-12-19 17:13:47 +11:00
072dce8891 io: ensure write/pwrite views use pointer iterators 2018-12-19 17:13:06 +11:00
fb7c989487 view: allow construction from anything that has begin/end 2018-12-19 17:12:28 +11:00
499fa4d190 gdb/printers: fix view offsets to start from 0 2018-12-19 17:11:46 +11:00
37d68d5586 m/b/simple: add simple buffer implementation 2018-12-17 15:20:55 +11:00
1dc4b7b530 m/b/paged: enable move constructor 2018-12-17 15:20:31 +11:00
1030656ee6 m/b/paged: bump copyright header 2018-12-17 15:20:21 +11:00
4643beac82 buffer/paged: simplify paged buffer 2018-12-17 14:47:11 +11:00
3925431838 view: add 'covers' test 2018-12-17 14:46:30 +11:00
043dd73677 pointer: rename align as align_up, and add align_down 2018-12-17 14:45:54 +11:00
60bd71a57b view: allow multibyte casts in make_byte_view 2018-12-17 14:45:09 +11:00
cc2d11f102 geom/ops: add stub 'covers' test 2018-12-17 14:44:43 +11:00
78f746c21e pool: use std::size_t in preference to unsigned for capacity 2018-12-17 13:01:54 +11:00
c34002ae07 posix/fd: add pwrite wrapper 2018-12-17 12:50:05 +11:00
bb812ba81c io: add pwrite wrappers 2018-12-17 12:50:05 +11:00
825d359b9d io: test that mapped_file satisfies is_container_v 2018-12-17 12:50:05 +11:00
b4c8190054 array/parray: assert parray is a container 2018-12-17 12:50:05 +11:00
15de10c19d types/traits: check for begin/end in is_container_v 2018-12-17 12:50:05 +11:00
5144dd137a array/parray: Add missing Container typedefs 2018-12-17 12:50:05 +11:00
a7786f04b9 array: move sarray and parray into array directory 2018-12-17 12:50:05 +11:00
a2ef7cb75c encode/number: set the view's remainder at exit 2018-12-16 18:06:28 +11:00
1bb566fcda encode/number: add base36 encode 2018-12-16 16:47:08 +11:00
49b8594a73 view: add some brief explanatory comments 2018-12-16 16:25:04 +11:00
8047bf0f83 encode/number: add number decoding for base36 2018-12-16 16:24:45 +11:00
5fedbdbdfe parse: change parsing functions to modify the data view 2018-12-16 13:26:48 +11:00