Commit Graph

3333 Commits

Author SHA1 Message Date
eb4a3be352 cast: suppress more warnings for 'ffs' 2018-08-20 15:08:15 +10:00
55c5bf96c5 backtrace: don't use assertions to test runtime failures 2018-08-20 15:07:35 +10:00
3adbfae057 thread: fix compilation for linux specialisations 2018-08-16 12:10:05 +10:00
6c5a7cc5fa thread/semaphore: specalise the implementation for win32 2018-08-15 17:00:29 +10:00
2eb1f2b919 io_win32: use try_func when dispatching mapped_file 2018-08-14 16:48:20 +10:00
d8f916a25b win32: add except::try_func 2018-08-14 16:47:59 +10:00
2e3aaa4c17 win32: add except::try_value 2018-08-14 16:47:44 +10:00
9a929353d6 build; account for newlines in win32 tests 2018-08-13 23:29:14 +10:00
75a3572fdd exe: defend test case against msys2 paths 2018-08-13 16:12:11 +10:00
4fd68aef55 build; remove inadvertently added debug code 2018-08-13 16:03:20 +10:00
ce67836e8e format: disable hexfloat tests under msys2
These conversions appear to be broken under msys2.
2018-08-13 16:02:18 +10:00
b60aaccf6f build; fix compilation errors under win32
win32 builds are still totally unsupported, untested, and functionally
broken.
2018-08-13 14:52:40 +10:00
ff5f79a858 build; add (untested) paths for win32 builds 2018-08-13 14:50:48 +10:00
42cdad1263 preprocessor: don't explicitly raise StopIteration 2018-08-10 13:40:16 +10:00
1d176f2fe4 preprocessor: don't hardcode the python interpretor path 2018-08-10 13:39:51 +10:00
d1866d9b70 tap: add expect_valid test 2018-08-08 12:49:47 +10:00
3a4a7bf1d8 tap: return the success value from test functions 2018-08-08 12:49:33 +10:00
1c814c02d2 bitwise: prefer template SFINAE over param SFINAE 2018-08-07 16:58:02 +10:00
d3c5af6fdf build; remove unnecessary gitignore entries 2018-08-06 14:36:23 +10:00
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
3aaddd1d2b json: move json code to external module
This module can now be found at git://git.nerdcruft.net/libcruft-json.git
2018-08-04 15:02:06 +10:00
c6760c8566 view: don't over qualify the array deduction guide 2018-08-03 16:50:29 +10:00
88cde59c77 iterator: style 2018-08-03 16:50:19 +10:00
b31f4dd094 debug/gdb/printers: add a pretty printer for 'view' 2018-08-03 16:49:47 +10:00
0cea64fa14 view: disable trivally copyable type warnings in util::read 2018-08-02 00:51:01 +10:00
20df746217 view: don't enforce constness of view iterators in util::read 2018-08-01 20:58:43 +10:00
bcb4d7569f types/traits: add is_same_basic_type trait 2018-08-01 18:39:01 +10:00
00c46e0f9a types/traits: move inner_type to the util namespace 2018-08-01 17:18:59 +10:00
e92f0dc337 view: add 'read' operation complementing 'extract' 2018-08-01 14:23:09 +10:00
4b69b7515b format: accept forwarding references for printf/python 2018-08-01 14:20:42 +10:00
c7fe53f430 log: use forwarding references for format parameters 2018-08-01 14:19:44 +10:00
08d8eb942d view: add iterator intersection test 2018-08-01 13:10:43 +10:00
47c912e5e2 view: avoid alignment warnings for view extraction
It is assumed the user is on top of this.
2018-08-01 13:10:11 +10:00
4b9b292848 view: add more assertions for valid consume parameters 2018-08-01 13:09:32 +10:00
5724de752e view: add head/tail accessors that return truncated subviews 2018-08-01 13:09:15 +10:00
3b5197f065 introspection: add type_name for std::byte 2018-08-01 13:08:54 +10:00
cd8a12ed28 introspection: use 'i' prefix for signed type_names
This brings the values into line with the constants in std
2018-08-01 13:08:13 +10:00
5d8ee88772 annotation: add 'expect' wrapper 2018-08-01 13:07:58 +10:00
2c47a3654d view: add a method to extract type cast bytes from a view 2018-07-30 14:03:02 +10:00
ab495bb0f7 view: reduce ambiguity in make_byte_view 2018-07-30 13:52:25 +10:00
56ed44f0e3 io: instantiate slurp for unsigned char 2018-07-30 13:18:22 +10:00
1b92ac5f61 posix/socket: add defaulting wrapper for recvfrom 2018-07-27 21:06:25 +10:00
d99b257268 posix/socket: add wrappers for sendto and recvfrom 2018-07-27 18:29:43 +10:00
f0eb3f0775 posix/socket: add wrappers for connect and bind 2018-07-27 18:29:30 +10:00
d2b36ebded view: parameterise make_byte_view 2018-07-27 18:28:56 +10:00
3dc136595c parse: add specialisation for unsigned short
The code is horrific. Don't judge me.
2018-07-27 18:28:30 +10:00
678e68a468 gitlab-ci: ensure python3 is installed for testing 2018-07-24 16:19:43 +10:00
25b41444a9 gitlab-ci: we don't need ragel for testing 2018-07-24 16:18:27 +10:00
826f9331cc build: don't include cmake modules in this repository
The cmake module is for this project's parent. We only need it for
building and testing directly so we clone it during the testing phase.
2018-07-24 16:16:53 +10:00