Commit Graph

19 Commits

Author SHA1 Message Date
Leonard Hecker
6b25ffe7ab Remove allocator_api 2026-02-10 17:18:03 +01:00
Leonard Hecker
9a6220cbef Remove string_from_utf8_lossy_owned 2026-02-06 00:13:55 +01:00
Leonard Hecker
56515646f9 Remove linked_list_cursors 2026-02-06 00:11:03 +01:00
Leonard Hecker
6833596acf Remove breakpoint 2026-02-05 15:08:58 +01:00
Leonard Hecker
5ee62b83a8 Remove cold_path 2026-02-05 15:08:38 +01:00
Leonard Hecker
0cd8d73bbe Remove maybe_uninit_fill 2026-02-05 15:08:11 +01:00
Leonard Hecker
2427cb765e Remove maybe_uninit_slice 2026-02-05 14:49:00 +01:00
Leonard Hecker
7f8ad40252 Remove maybe_uninit_uninit_array_transpose 2026-02-05 13:38:31 +01:00
Leonard Hecker
524b22c3c5 Fix warnings when building on macOS (#754) 2026-01-28 00:12:20 +01:00
Leonard Hecker
e5a92eb7d6 Fix the latest clippy warning (#751) 2026-01-26 23:30:31 +01:00
Leonard Hecker
ad8415fd44 Clean up error handling (#745)
* Use `io::Error` for OS error handling
  (This results in some added bloat, but is more convenient for now.)
* Add an `icu` error type
* Move `apperr` from the library into the binary

This also sneaks in a minor improvement to sorting.
The only two places we need to sort, don't need stable sorting.
(Unstable sorting is a lot faster and simpler.)
2026-01-23 13:57:42 +01:00
Leonard Hecker
9bc86c5acd Add a glob matcher (#743)
Supports `*` and `**` patterns. That's enough for our upcoming purposes.
2026-01-22 19:49:04 +01:00
Leonard Hecker
6b6a4b2d9f Add a JSON parser (#742)
This is a bog-standard JSONC parser. Not much to be said.
Its performance is quite alright.

Depends on #741
2026-01-21 00:05:09 +01:00
Leonard Hecker
8d9b1ede11 Add proper multithreading support to Arena (#741)
The main change is adding multithreading support in order to make JSON
unit tests work properly. The TLS overhead is not _that bad.

Other changes:
* Switch to `io::Result`, because `AllocError` doesn't
  transmit error codes (meh!)
* Reduce x86 commit chunk size to 32KiB
* Improved performance slightly by inlining harder (`alloc_uninit`)
  and outlining the result unwrap (`alloc_raw_bump`)
2026-01-20 15:11:44 -06:00
Sergio Triana Escobedo
d0db071474 Create parent directories when saving to a non-existent path (#738)
Closes #737

Co-authored-by: Leonard Hecker <leonard@hecker.io>
2026-01-20 13:10:55 -06:00
Cal
48c2ab2949 Use platform line ending when opening single line files (#739) 2026-01-13 15:33:37 +00:00
Leonard Hecker
dbd74656a9 Fix colors with Terminal.app's Clear Dark theme (#728) 2026-01-05 17:50:36 +01:00
Leonard Hecker
3df9e7cb6c Fix multiple issues found under Linux (#706)
Fixed:
* `sighandler_t` warning in nightly
* cppdbg + gdb pretty printing
* UTF8 parsing for SGR mouse coords
2025-12-01 15:24:27 -06:00
Leonard Hecker
5f284a1df9 Move arena & helpers into their own crate (#694)
This will allow us to use the `Arena` in `build.rs`.
This changeset also contains a version bump of all dependencies.
2025-12-01 21:51:55 +01:00