Commit Graph

3324 Commits

Author SHA1 Message Date
b87517759d io: don't forget to initialise the mmap size for zero length mappings 2019-02-03 18:23:22 +11:00
4a4d5f297a types/traits: use LessThanComparable more consistently 2019-02-03 17:28:53 +11:00
fd1fda9145 bitwise: use free equality operator for bitfields 2019-02-03 16:38:53 +11:00
5cdabcb583 maths: remove duplicate equality test helpers 2019-02-03 16:38:06 +11:00
f41ffe339c endian: be less clever with value operators 2019-02-03 16:37:08 +11:00
5218fa8165 bitwise: add explicit accessor get 2019-02-03 14:16:58 +11:00
5d76fb7792 bitwise: add bitfield tests 2019-02-03 14:03:38 +11:00
cf268a1960 bitwise: offset should start from least significant bits 2019-02-03 13:52:56 +11:00
ddc24b076b view: avoid unsigned comparison warnings in split's assert 2019-02-03 12:29:49 +11:00
ab6840c7fc parse: don't use relative includes for generated sources 2019-02-03 12:29:33 +11:00
f1cf6933a9 view: add more assertions in slicing code 2019-02-03 11:37:03 +11:00
f7c477b163 iterator: add 'iota' pseudo-container 2019-02-03 11:37:03 +11:00
abb9d4c3aa colour: use view::consume with unsigned types 2019-02-03 11:37:03 +11:00
0349d24473 posix/interface: move data holding into the container 2019-02-02 20:39:32 +11:00
a64e721cf0 posix/interface: add initial interface query logic 2019-02-02 19:09:35 +11:00
46ff7299bf posix/socket: allow binding with sockaddr 2019-02-02 18:11:30 +11:00
54df664071 cpuid: connect the 'none' provider 2019-02-02 17:01:03 +11:00
3a518fbac8 cpuid: add null fallback 2019-02-02 16:40:37 +11:00
c5633a32c5 cpuid: move specifics into a directory 2019-02-02 16:37:46 +11:00
c4a67c7fc9 cpuid: avoid directly including x86 specifics 2019-02-02 16:34:39 +11:00
bb7be903b1 build: only build x86 cpuid on support architectures 2019-02-02 15:49:50 +11:00
85e9dba38c io_posix: test the file size can actually be cast to size_t 2019-02-02 15:36:20 +11:00
72bd68e60b except: error::describe shouldn't be noexcept
We can't guarantee noexcept because std::ostream& can be pretty liberal
with exceptions.
2019-02-02 15:35:44 +11:00
1f6caaa242 thread/primitive: add platform wrappers for pause/yield instructions 2019-02-02 14:55:13 +11:00
8c934fbd2c parse: move internal helpers into an anonymous namespace 2019-02-02 13:48:48 +11:00
ba01794d0b parse: style 2019-02-02 13:45:34 +11:00
462e1b2a2f parse: instantiate more parsing types 2019-02-02 13:44:19 +11:00
4b37f59e22 parse: add more documentation for parsing templates 2019-02-02 13:44:04 +11:00
4c29123d4d coord: use std::array for data storage
This allows us to more easily forward array dimensions with some level
of expectation that the data will be packed.
2019-01-31 13:46:53 +11:00
7511580de7 array: add varray wrapper 2019-01-31 13:45:40 +11:00
07c4715082 view: style 2019-01-29 21:30:29 +11:00
c24b0fd0f7 view: add validator specialisation 2019-01-29 21:21:18 +11:00
88df4459f0 debug: change default unreachable message 2019-01-29 16:40:28 +11:00
c9f25a3822 pool: add attributes to allocate 2019-01-21 17:14:02 +11:00
41c9b504dc pool: add 'full' query 2019-01-21 17:13:47 +11:00
d73332034f pool: compute pool::empty correctly... 2019-01-21 16:39:32 +11:00
9c62ab5e7b debug/gdb/printers: appease PEP8 warnings 2019-01-19 11:37:58 +11:00
d455e820d8 debug/gdb/printers: prefer yield over custom iterators 2019-01-19 11:24:08 +11:00
24e3d749e7 debug/gdb: add printers for endian::value 2019-01-18 19:46:18 +11:00
8d8e071b8b debug/gdb/printers: don't bother taking a secondary type 2019-01-18 19:46:18 +11:00
a94ca358a5 view: use a temporary buffer for cruft::read 2019-01-18 17:20:18 +11:00
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