Commit Graph

3607 Commits

Author SHA1 Message Date
5347fbb889 stringid: use string_view for accessors 2018-09-18 16:36:03 +10:00
c2f203b5a7 stringid: add query-or-insert indexing operator 2018-09-17 14:50:23 +10:00
cffc3bbc46 debug: print more extensive errors during abort_with_trace 2018-09-14 13:50:14 +10:00
e15f687e20 coord;sse: fix type in intrinsic 2018-09-13 14:52:34 +10:00
627f80ddcd coord;sse: add configuration option to enable SSE specialisation 2018-09-13 14:52:00 +10:00
22b6b7e287 debug: call abort when handling std::terminate 2018-09-12 14:09:44 +10:00
09a690f2d3 debug;posix: log that we're waiting for a debugger 2018-09-12 14:02:27 +10:00
a71ed6fe12 debug: register stack trace handler in set_terminate 2018-09-12 14:01:57 +10:00
9ca093d982 backtrace: remove dependency on addr2line
This wasn't functioning in any case so we may as well get rid of it.
2018-09-12 14:01:21 +10:00
2ad86d28a5 posix/except: add try_call 2018-09-10 12:36:42 +10:00
4fd20d2acf posix/fd: move definition of O_BINARY into public header 2018-08-31 13:57:31 +10:00
1a7b7daa93 exe: add trivial docstring 2018-08-28 16:35:06 +10:00
1392fb40c9 posix/fd: define O_BINARY for systems without it 2018-08-28 13:01:55 +10:00
466fcac687 thread/flag_std: remove platform specific headers 2018-08-27 14:18:04 +10:00
8c05cf2e1c posix/fd: double check the user has specified binary mode 2018-08-27 14:17:50 +10:00
e7cdb1322a debug: add a stub init for win32 2018-08-27 14:17:38 +10:00
300ae9df73 win32/windows: add a defensive windows wrapper header 2018-08-27 14:16:27 +10:00
93f9cb7c0e win32/registry: add subkey iteration helpers 2018-08-24 17:32:04 +10:00
c5ed42ccbf debug: defend against renaming of panic using macros 2018-08-24 17:31:54 +10:00
676154d652 io_win32: test return of GetFileSize for errors 2018-08-23 13:59:14 +10:00
058a86ba05 win32/handle: take ownership of any supplied fd
CloseHandle, close, and memory mapping interact poorly so it's a little safer
to dup the fd before taking ownership of it.
2018-08-22 21:34:02 +10:00
1b5dfe437a posix/fd: make dup const
It's not strictly semantically correct, but it greatly simplifies reference
parameter binding in win32 memory mapping
2018-08-22 21:32:43 +10:00
4b30235164 win32/registry: resize the value by the correct amount 2018-08-20 16:14:09 +10:00
7e1b14fe98 library/win32: conform to the template query signature 2018-08-20 16:13:49 +10:00
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