Commit graph

341 commits

Author SHA1 Message Date
fd71603e93 MacOS compilation fixes
All checks were successful
Run tests / Run tests (push) Successful in 8m27s
2026-08-28 23:53:34 +03:00
ce40f35ab2 Expose capacity & tombstone count in hash table implementation
All checks were successful
Run tests / Run tests (push) Successful in 7m0s
2026-08-22 19:49:48 +03:00
aea5de0f6a Micro-optimize hash table probing
All checks were successful
Run tests / Run tests (push) Successful in 7m6s
2026-08-22 15:56:29 +03:00
75df1be94d Add std::format helpers for pointers, optional, variant, and support an extension mechanism using format_impl() that doesn't require manually specializing std::formatter 2026-08-14 16:46:09 +03:00
17be2f3aaa Set default supported C++ standard version to C++23
Fix deprecation of std::aligned_storage
2026-08-14 16:37:00 +03:00
ce5531dbbb Fix byte order when printing util::uuid & add uuid formatter 2026-08-14 16:35:57 +03:00
99063348e3 Add util::fixed_point formatter 2026-08-14 16:35:07 +03:00
abec5474f0 Add trunc() and fract() for util::fixed_point 2026-08-14 16:34:58 +03:00
0fecd6375b Add util/string.hpp 2026-08-13 18:02:55 +03:00
34c1a92f0b Add util::hash_table::count for compatibility
All checks were successful
Run tests / Run tests (push) Successful in 7m36s
2026-07-07 13:11:19 +03:00
1f1feaccf3 Don't crash executable_path() on web 2026-07-03 14:28:26 +02:00
cb4c20f071 Set up build/packaging infra for web builds
All checks were successful
Run tests / test (push) Successful in 4s
Reviewed-on: #1
2026-07-03 08:40:27 +00:00
d290df3f29 Fix unfortunate merge 2026-07-03 11:37:38 +03:00
923cb61012 Merge remote-tracking branch 'lisyarus-dev/master' into web 2026-07-02 21:58:28 +02:00
850e376e62 Fix libbacktrace on macos 2026-07-01 12:45:32 +03:00
810770564e Implement util::executable_path() for macos 2026-06-30 23:46:26 +03:00
cd87a325d0 Remove template operator<< for dummy stacktrace in util::exception 2026-06-30 15:28:47 +03:00
f251b1b07f Fix util::mutexed::exchange 2026-06-30 15:27:15 +03:00
99978c3241 Add util::mutexed<T> 2026-06-30 14:40:08 +03:00
e5d356e1fc Remove Boost.Math from COMPONENTS when finding boost in config mode 2026-06-30 13:52:38 +03:00
500646bfe9 Fix util::reversed() to support both begin()/end() methods and free functions 2026-06-30 13:13:54 +03:00
f562a82fb5 Merge remote-tracking branch 'remotes/origin/master' into web 2026-06-28 20:01:37 +02:00
68aedbf2fa Add hash table formatters 2026-06-07 18:48:10 +03:00
005008b720 Find Boost in config mode 2026-04-06 23:04:01 +03:00
d1a3bf15d4 Fix util::ndarray::copy() in case of an empty array 2026-02-20 20:19:32 +03:00
339de6b218 Handle negative values as zeroes in statistics log buckets 2026-02-03 23:44:46 +03:00
7c398e28ff Fix hash_table::insert (lmao) 2025-11-13 12:42:33 +03:00
e40467a8d1 Add util::array - a dynamic array without auto-expansion 2025-10-25 15:20:42 +03:00
b99a4da18f Rename util::array -> util::ndarray 2025-10-25 14:51:30 +03:00
64ffe27c2a Fix abs(fixed_point), lmao 2025-10-19 02:40:35 +03:00
7c5062e081 Add hash_table::reserve 2025-09-16 20:44:42 +03:00
8a739bf637 Fixed-point improvements:
* Mark everything constexpr
* Use unsigned type for multiplication to prevent UB on overflow
* Add fp -> fp conversions
* Add floor & ceil functions
2025-09-14 00:03:07 +03:00
0210b61540 Tweak util::fixed_point comments 2025-09-06 11:22:51 +03:00
3e4d4f39ea Fix NaN's in profiling statistics 2025-09-04 00:54:04 +03:00
905e98070c Fix includes in util/recursive.hpp 2025-08-29 16:39:28 +03:00
d2f35276bf Add util::is_pow2 2025-08-29 16:39:19 +03:00
c7b1bc0b0a Fix throwing key_error in util::hash_table for heterogeneous keys 2025-08-17 21:09:31 +03:00
7b1ed4bd95 Make util::make_uuid use md5 hash 2025-08-06 17:54:29 +03:00
e57b284ffc Add constexpr md5 hash implementation 2025-08-06 17:53:24 +03:00
68ba3698f8 Fix transcendetal functions on util::fixed_point 2025-07-29 22:29:17 +03:00
1f57c76036 Add std::array hash 2025-07-12 01:28:14 +03:00
8e89679219 Remove tests for util::blob copying since the copy operator was removed 2025-05-14 22:52:29 +03:00
e4222f35ff Replace util::blob copy constructor/assignment with .copy() method and mark all appropriate methods noexcept 2025-04-13 12:44:26 +03:00
73abc03ae2 Add explicit util::utf8_range(std::string) constructor 2025-04-13 12:43:56 +03:00
7e2c2a4c6d Implement utf8 encoding and replace std::codecvt with custom code in utf32 <-> utf8 conversions 2025-04-13 12:43:40 +03:00
6cf5eb008b Support operator--() for util::utf8_iterator 2025-04-13 12:42:51 +03:00
42260d4d7d Replace template operator() of util::function with a fixed-arg version to put all implicit conversions & list initializations to the actual call site 2025-03-06 18:20:40 +03:00
4dc8b6a183 Use _WIN32 macro to detect Windows (instead of other macro variants) 2025-03-04 20:00:03 +03:00
d41c53193d Use wide strings in util::executable_path() 2025-03-04 19:59:04 +03:00
72694664de Add util::moving_average::max_count() 2025-02-21 22:26:24 +03:00