Commit Graph

  • 4b29883c7e Add README and LICENSE main zeichensystem 2025-12-21 20:51:24 +01:00
  • 2f50db1858 Fix more GCC warnings zeichensystem 2025-12-21 19:51:42 +01:00
  • a964466c8b Fix GCC errors zeichensystem 2025-12-21 18:17:22 +01:00
  • 45f07986c3 Add string functions zeichensystem 2025-12-21 17:30:13 +01:00
  • ae83ee66e1 Make guf_utf8_char 4 bytes instead of 5 jun 2025-05-25 16:04:26 +02:00
  • c54fc75221 Use least vs fast int types jun 2025-05-19 09:50:05 +02:00
  • 2355feaa70 Use portable guf_math_ckdint functions in guf_rand jun 2025-05-19 00:48:38 +02:00
  • 096b83638b Fix guf_id_pool integer portability jun 2025-05-19 00:42:27 +02:00
  • 4217ef6e0b Fix guf_str uninit jun 2025-05-18 23:55:29 +02:00
  • 57f0e47efc Refactor to use portable minimum-width integers. jun 2025-05-18 22:03:03 +02:00
  • 7ec2af0c33 Add unsigned integer wrapping functions jun 2025-05-16 13:44:27 +02:00
  • 8b78803ad8 Add more dbuf_str tests jun 2025-05-16 10:12:04 +02:00
  • 614a9716cc Fix failed assertion in guf_str_copy jun 2025-05-15 20:53:50 +02:00
  • 7585848ac9 Prevent more potential int promotion bugs jun 2025-05-15 13:24:29 +02:00
  • 9b64b22806 Make signed guf_wrapping_mul more general jun 2025-05-15 09:21:30 +02:00
  • 466982ffcb Use better terminology for overflow and integer 'underflow' jun 2025-05-15 09:11:31 +02:00
  • ec074d5753 Fix potential int-promotion bugs in ckdint jun 2025-05-15 08:46:54 +02:00
  • b99434a611 Change C/CXX flags jun 2025-05-14 18:02:15 +02:00
  • 562dcc532d Refactor test jun 2025-05-14 17:34:48 +02:00
  • 776c4a8899 Add static/non-static option for guf_alloc_libc.h jun 2025-05-14 17:31:24 +02:00
  • 894d9e8fc4 Add name to alloc_tracker jun 2025-05-14 17:08:15 +02:00
  • 37f9011166 Add guf_alloc_tracker jun 2025-05-14 14:45:30 +02:00
  • 6ffb79f7a0 Fix implementation defined behaviour in guf_wrapping_mul jun 2025-05-14 08:51:26 +02:00
  • 1dba7661e6 Add math_ckdint tests jun 2025-05-13 21:14:20 +02:00
  • c4f3616b23 Refactor tests jun 2025-05-13 17:36:08 +02:00
  • 6091eac820 Add guf_math_ckdint IMPL_STATIC etc. jun 2025-05-13 14:56:21 +02:00
  • 873cdf20b1 Add checked mul arithmetic jun 2025-05-13 12:42:59 +02:00
  • 9c417d2aa1 Add checked arithmetic jun 2025-05-11 08:55:03 +02:00
  • c4b68d5ad2 Add guf_tok test jun 2025-05-09 15:12:07 +02:00
  • 864bd70ece Add more guf_str tests jun 2025-05-08 20:38:25 +02:00
  • 1013616b2d Re-implement guf_str tokeniser jun 2025-05-02 21:54:33 +02:00
  • c6b0aa8d89 Add guf_str hash functions jun 2025-04-24 02:38:05 +02:00
  • e98dc3b91e Fix guf_str bugs and add tests jun 2025-04-23 21:12:24 +02:00
  • 0910ee4bd8 Minor guf_id_pool changes jun 2025-04-09 06:27:35 +02:00
  • f3e184da73 Fix guf_dict_init_with_capacity kv_idx_cap calculation jun 2025-03-29 17:32:13 +01:00
  • ae7814fe7c Comment guf_rand jun 2025-03-29 15:28:03 +01:00
  • d062784425 Add separate 32/64 bit versions to guf_rand jun 2025-03-29 01:55:26 +01:00
  • 05f995e855 Add guf_rand_splitmix32 jun 2025-03-28 22:09:15 +01:00
  • 461006746e Add guf_str_substr jun 2025-03-28 20:26:43 +01:00
  • 9e0cd79ca0 Add guf_dict_shrink_capacity jun 2025-03-28 18:28:27 +01:00
  • 3ff4cd7572 Add more dict functions jun 2025-03-21 18:29:19 +01:00
  • 3ee07078f0 Add comments jun 2025-03-21 00:51:29 +01:00
  • 7630ecfdcf Change directory structure jun 2025-03-21 00:22:34 +01:00
  • 275f46226d Add more guf_str functions jun 2025-03-20 23:30:45 +01:00
  • 21d1b04e6b Add changeable load factor jun 2025-03-20 20:29:21 +01:00
  • 534ff261ca Add move- and copy ctors to dict and guf_str jun 2025-03-20 15:29:18 +01:00
  • c039e24996 Use SIZE_MAX instead of SIZE_T_MAX jun 2025-03-19 23:03:10 +01:00
  • 29014f4c52 Fix dict asserts jun 2025-03-19 19:16:31 +01:00
  • 48b366d8e9 Fix warnings in release jun 2025-03-19 18:29:52 +01:00
  • 7e1bbc769e Replace puts with fputs in guf_err_to_str jun 2025-03-19 18:14:06 +01:00
  • 1e534731bb Pass key_hash to guf_dict_find_idx to avoid re-computation jun 2025-03-19 17:03:12 +01:00
  • b01e087c85 Fix GUF_DICT_64_BIT_IDX and guf_dict_max_capacity() jun 2025-03-19 16:16:41 +01:00
  • 6a7bd2bd97 Use single u32/u64 as GUF_DICT_KV_META_T instead of two jun 2025-03-19 15:23:32 +01:00
  • e535d39e3d Fix allocation overflow for guf_dbuf and guf_dict jun 2025-03-18 01:56:45 +01:00
  • cc0413116d Improve guf_id_pool jun 2025-03-17 22:49:36 +01:00
  • ad884ee1e9 Implement guf_str jun 2025-03-17 21:15:53 +01:00
  • 9ddea4bb07 Change short-string approach to use 32 instead of 40 bytes jun 2025-03-11 12:24:44 +01:00
  • c860a6ccfe Add 3x3 matrix inversion jun 2025-03-08 11:25:57 +01:00
  • ae104919e0 Change linalg mat_inverse. jun 2025-03-07 21:14:53 +01:00
  • dac1d159b1 Fix linalg bugs jun 2025-03-07 15:37:55 +01:00
  • 9096a4f9c9 Add guf_nearly_zero/one jun 2025-03-07 11:09:18 +01:00
  • 7b433cd776 Add matrix inversion jun 2025-03-06 21:35:27 +01:00
  • 364dd603cf Fix guf_dict size types jun 2025-03-06 13:51:32 +01:00
  • d057d76334 Rename GUF_STATIC_BUF_SIZE jun 2025-03-06 12:01:16 +01:00
  • e489dd694b Add quaternion operations jun 2025-03-06 11:52:24 +01:00
  • fc8118c182 Add linear algebra functions jun 2025-03-04 11:47:10 +01:00
  • 24bc8d5a15 Add guf_str_view functions jun 2025-03-04 08:15:21 +01:00
  • 301477f5c6 Add GUF_CSTR_TO_VIEW_CPP jun 2025-03-04 08:01:41 +01:00
  • 9d62df6a83 Add more dict tests jun 2025-03-04 06:41:44 +01:00
  • 8e6ffcdc70 Add dict_erase tests jun 2025-03-03 16:14:13 +01:00
  • a41ff868f2 Fix guf_dict probing jun 2025-03-03 11:28:40 +01:00
  • 4d97725bba Fix guf_dict growth bug jun 2025-03-02 21:28:43 +01:00
  • cd1c1cd5db Refactor jun 2025-03-02 18:21:25 +01:00
  • 8b02eff3b7 Make preserved_delims work (in guf_str_next_tok) jun 2025-02-27 13:02:28 +01:00
  • 217622d816 Add tokeniser jun 2025-02-27 10:21:21 +01:00
  • d450cd8a45 Add utf-8 handling jun 2025-02-27 07:02:09 +01:00
  • 60e2849b01 Work on utf-8 jun 2025-02-26 03:57:04 +01:00
  • 7a990c810e Add more tests jun 2025-02-25 15:06:53 +01:00
  • 6abe12c4c1 Improve tests jun 2025-02-25 14:01:20 +01:00
  • c1e125dfcb Add C++ tests jun 2025-02-23 23:45:31 +01:00
  • 4c35d180e8 Improve iterator functions jun 2025-02-23 13:23:23 +01:00
  • 1f16b0e849 Fix dbuf iterator begin for dbuf.size == 0 jun 2025-02-23 09:45:29 +01:00
  • 13abedd2ad Implement guf_dict jun 2025-02-23 09:18:50 +01:00
  • 81fc19aa85 Work on guf_dict jun 2025-02-19 07:44:18 +01:00
  • 22ebd8aa05 Add guf_rand with 32-bit operations (using xoshiro128** 1.1) jun 2025-02-18 20:06:59 +01:00
  • f911933588 Fix overflow in guf_rand32range_i32 and guf_randrange_i64 jun 2025-02-15 18:04:53 +01:00
  • 500fd47986 Add guf_rand32 jun 2025-02-15 04:36:58 +01:00
  • 6b222eafc1 Add guf_rand jun 2025-02-15 03:00:15 +01:00
  • fd58daa8b5 Change iterator jun 2025-02-01 13:31:15 +01:00
  • df9d1c9c10 Add iter index functions jun 2025-01-30 16:10:10 +01:00
  • 67b5759e03 Change sort function name jun 2025-01-30 14:07:08 +01:00
  • 8c324c00f7 Major refactor jun 2025-01-30 12:25:04 +01:00
  • c9b18a220e Rewrite dbuf jun 2025-01-27 08:42:21 +01:00
  • be2daf72fd Add better error handling jun 2025-01-08 23:32:55 +01:00
  • e668be2612 Add integer functions jun 2025-01-07 11:40:58 +01:00
  • ad97de47a6 Add dbuf_sort jun 2025-01-05 02:45:54 +01:00
  • 73eb83484a Add cmp_void operators. jun 2025-01-05 00:42:11 +01:00
  • 9e0da64cb4 Use macro templates instead of void pointers jun 2025-01-04 19:47:15 +01:00
  • 0751726fc5 Initial commit jun 2025-01-03 10:38:57 +01:00