Commit Graph

3593 Commits

Author SHA1 Message Date
2f2dfd1423 tools/log: accept only a single string
This tool is only meant for testing purposes and it's far simpler to
only support a single string commandline argument.
2023-11-19 09:37:05 +10:00
3feca52a87 endian: add fmt::formatter for value 2023-11-19 09:36:30 +10:00
da8df2297d uri: add fmt::formatter for uri and component 2023-11-19 09:36:13 +10:00
b0adff1c87 endian: force alignment with underlying type in value 2023-11-19 09:34:27 +10:00
0ce69083e6 cast: disable warnings for function casts in ffs
Vulkan presents a few function pointers as (void*)(*)(void*) or
something like that, and we have to cast these to the extension
signatures.

This fixes some errors under clang-17
2023-11-19 09:27:12 +10:00
19095934b2 build: don't use a space in user string literals
This fixes errors in clang-17
2023-11-19 09:26:37 +10:00
ff1fcfa977 build: move from PythonInterp to Python3
CMake has removed PythonInterp; see CMP0148
2023-10-11 10:55:05 +10:00
712eb837b1 debug/system: include missing header
<exception> is required for std::current_exception
2023-10-11 10:54:33 +10:00
a436504d27 fixed_string: add a size query 2023-08-10 12:15:34 +10:00
de40f961e3 hash/tuple: add is_transparent 2023-07-25 10:00:45 +10:00
e02a4e2594 hash/{std,tuple}: operators should be const 2023-07-25 10:00:30 +10:00
ef309fd4de hash/std: add a trivial adapter for std::hash 2023-07-24 13:09:06 +10:00
c011b2177c hash/tuple: add a std compatible tuple hashing object 2023-07-24 12:56:19 +10:00
cb06fb9b29 hash/mix: add a simple std compatible wrapper for hash::mix 2023-07-24 12:55:48 +10:00
db95fd532b halfsipmix: remove unused variable warning 2023-07-21 14:22:14 +10:00
5b64b207da string: correct spelling of pragma ignored 2023-07-21 14:21:42 +10:00
5ca101acf3 maths: add sum helper for containers 2023-07-21 14:21:18 +10:00
1fa4eba5d3 Add fmt::formatter specialisations for fmtlib-10 2023-07-21 14:20:49 +10:00
343b3d36ce alloc/malloc: remember to check memalign return value 2023-07-21 14:19:39 +10:00
aaa00bc989 format: add 'quoted' helper function that emulates std::quoted 2023-07-21 14:19:18 +10:00
fffd584c93 iterator/counting: allow copying of iterator 2023-07-13 06:45:47 +10:00
e7a2c18481 string: use static operator() for simple transform equality functors 2023-07-04 11:21:07 +10:00
d0cc65db50 string: correct spelling of "deprecated-declarations" 2023-05-15 11:32:34 +10:00
3efa7c2251 cpuid/x86: prefer string_view to view for output 2023-05-15 11:04:37 +10:00
facba4e799 thread/sema: name the lock temporary to silence a warning 2023-05-15 10:36:25 +10:00
5721602ef7 string: ignore codecvt deprecation for the moment 2023-05-15 10:36:03 +10:00
3e480c7bbb Use std versions of sized types
This fixes some stricter warnings and includes arising in gcc-13 and
clang-16
2023-05-15 10:33:23 +10:00
867d768108 debug: add some constexpr/consteval asserts 2023-05-15 10:32:31 +10:00
4c1fb3889a view: index operator should return auto 2023-05-15 10:32:13 +10:00
7a37d9b404 list/node: remove use of deprecated aligned_storage_t 2023-05-15 10:31:43 +10:00
537e5d40a8 job/queue: remove use of deprecated aligned_storage_t 2023-05-15 10:31:17 +10:00
f7ac00a7ce job/queue: ignore enum-constexpr-conversion for clang-16 2023-05-15 10:30:50 +10:00
161f84ef53 alloc/chunked: remove local fwd decl for std::pmr::memory_resource 2023-05-15 10:29:34 +10:00
92dda992ee fs/scoped: add scoped_dir convenience function 2022-09-27 14:55:49 +10:00
aca6d6fd08 posix/flock: add missing include guard 2022-09-19 11:03:44 +10:00
348e45260f io: add a trivial type reader for fds 2022-09-14 14:18:49 +10:00
1c0ff49bb0 posix/flock: add the lval-ref fd constructor 2022-09-14 14:18:06 +10:00
cb802824df fs/scoped: move indirection methods to parent classes 2022-08-25 15:26:24 +10:00
52e9309949 uri: silence some narrowing conversion warnings 2022-08-18 13:11:54 +10:00
1828687a7e build: add [[fallthrough]] attributes 2022-08-18 13:11:38 +10:00
2e0f6c6923 hash/siphash: add an (ugly) siphash128 implementation 2022-07-25 11:59:13 +10:00
c69a508757 posix/interface: add forgotten stdlib header 2022-07-25 11:58:59 +10:00
681474c83d parse/enum: use references for range binding iteration to avoid copies 2022-07-25 11:57:53 +10:00
013fd2bb61 adapter: remove std::iterator due to deprecation 2022-07-25 11:57:29 +10:00
77071e3334 hash/siphash: prefer short integer names 2022-07-21 15:44:07 +10:00
ea8d23bf17 hash/siphash: add 1-64 byte test vectors 2022-07-21 15:34:44 +10:00
f962653818 hash/siphash: correct the update loop bounds 2022-07-21 14:23:17 +10:00
cc3153123e hash/siphash: style 2022-07-21 14:23:09 +10:00
b3f00b2f39 hash/siphash: add support by byte array keys 2022-07-21 14:22:47 +10:00
ce2f05ede2 uri: fix empty query/fragment offsets 2022-07-19 17:04:08 +10:00