Commit graph

312 commits

Author SHA1 Message Date
24a74b1208 Add util::any_set::insert 2024-03-11 23:34:42 +03:00
57aceed172 Remove duplicate hash_table::operator[] (how did this even happen?) 2024-03-03 02:14:41 +03:00
4ff36a61ba Add util::hash_map::operator[] 2024-02-28 17:06:48 +03:00
d1104f9aac Fix util::thread move assignment operator 2024-02-28 17:06:48 +03:00
e28a78166e Support edge ids in util::pathfinder 2024-02-07 22:01:42 +03:00
740fab84be Add copying and constructing from initializer_list for util::hash_table 2024-02-07 22:01:19 +03:00
929e8091dc Fix perfect forwarding in constructor args in util::pathfinder 2024-02-07 14:14:13 +03:00
e6f5fc17a4 Remove useless code in pathfinder & support retrieving full path 2024-01-29 19:16:17 +03:00
099a09e4d9 Use util::hash_map instead of std::unordered_map for pathfinder 2024-01-29 17:44:27 +03:00
64a6713b61 Implement util::hash_table::operator[] and at() 2024-01-29 17:44:11 +03:00
368d1edd71 Remove duplicate util::key_error exception, don't require the key to be convertible to string 2024-01-29 17:43:52 +03:00
00231ce3f6 Fix missing include 2024-01-02 18:24:13 +03:00
0998da6329 Add helper functions for constructing util::span 2024-01-02 16:04:26 +03:00
bcae6dde4e Revert "Make util::assertion_handler return void"
This reverts commit ac0f45d9f0.
2023-12-04 18:33:00 +03:00
ac0f45d9f0 Make util::assertion_handler return void 2023-12-04 11:37:44 +03:00
8c8ede7587 Add util::split(string, delim) 2023-10-01 01:19:31 +03:00
1d20bd5a17 Fix util::hash_table inserting non-const pair 2023-08-26 12:32:54 +03:00
24d1f1e5bf Add more hash_table tests 2023-08-24 18:50:48 +03:00
5a1db3097b Add util::hash_table::empty 2023-08-24 18:50:40 +03:00
d2604bc5ce Fix moving util::hash_table 2023-08-24 18:50:31 +03:00
809a0ec212 Make util::hash_table search heterogeneous & add hash_table::contains 2023-08-24 17:32:57 +03:00
183644d46f Add proper util::hash_table move constructor & assignment 2023-08-24 17:32:33 +03:00
8adfe7320b Fix util::hash_table::find 2023-08-24 17:32:17 +03:00
1e74639ff4 Fix util::hash_table_iterator::advance 2023-08-24 17:31:50 +03:00
a27378a3a7 Add util::hash_set/map with some tests 2023-08-24 16:24:47 +03:00
2d2362d85c More util::uuid functions: create from string, check for/convert to RFC 4122 2023-08-23 00:04:05 +03:00
8a7891d561 Make util::hash_combine and hash_sequence constexpr 2023-08-23 00:01:52 +03:00
190fd5e51e Fix creating util::span<T const> from an array of non-const T 2023-08-22 14:52:51 +03:00
79e90fb03c Fix util::dynamic_bitset operations 2023-08-22 14:52:28 +03:00
c35478ac88 Fix util::dynamic_bitset hash 2023-08-22 14:52:16 +03:00
981629cb74 Add util::dynamic_bitset 2023-08-19 15:21:08 +03:00
58215fedc1 Add util::unique_sequential_storage for storing an array of unique elements 2023-08-19 15:20:57 +03:00
f27a4fa26d Add util::uuid 2023-08-19 15:20:21 +03:00
3b00182f63 Fix weird stacktrace abi issue 2023-08-06 21:27:42 +03:00
f6377045c9 Add red color to stderr logging 2023-08-06 19:00:34 +03:00
85d7a0ca33 Huge refactor: use util::exception everywhere instead of std exceptions 2023-08-06 18:33:07 +03:00
128abc453e Add util::at helper 2023-08-06 12:55:31 +03:00
1c22892eec Add util::exception class that holds stacktrace information 2023-08-06 12:52:17 +03:00
54b78e6c66 Android WIP: support OpenGL ES 3.2 and implement Android backend library 2023-07-18 15:43:14 +03:00
bf90a8edd9 Silense clang deprecated warning in unicode converters 2023-07-18 15:33:18 +03:00
42f986ce4a Add util::executable_path() 2023-07-14 20:54:41 +03:00
2ea0427b0f Support converting util::blob to util::span explicitly 2023-07-06 22:26:11 +03:00
b9ed814cfe Support constructing span<T> from span<const T> 2023-07-06 22:25:55 +03:00
4befa1cad7 Optimize util::signal & support signal<Args...> 2023-06-20 02:11:49 +03:00
769b5786ae Add util::array::subarray 2023-06-06 13:21:39 +03:00
e4fcf82f70 Support fmap over a tuple 2023-06-06 13:21:30 +03:00
1d35ed2abb Add type-save any-type container 2023-05-29 16:38:16 +03:00
e80d831d10 Add util::animation_manager::clear 2023-05-29 13:56:11 +03:00
0791aa1096 Make sure util::atlas size is power-of-two 2023-05-25 01:55:33 +03:00
5895c01c4c Make util::not_implemented throw a specific exception type instead of runtime_error 2023-05-06 12:55:06 +03:00