Commit Graph

396 Commits

Author SHA1 Message Date
factormystic 1ce0716b9b
Add support for macOS and BSD (#72)
Fixes #66
Fixes #124

Still doesn't have color in Terminal.app on macOS, though.

Co-authored-by: Leonard Hecker <leonard@hecker.io>
2025-05-20 13:58:43 -07:00
Dustin L. Howett 8915e0ed5c
input: add support for SS3-encoded arrow keys (#159)
This will help edit work properly when DECKPAM is enabled.

We could also just disable DECKPAM.
2025-05-20 22:45:22 +02:00
Maksim Bondarenkov d74c330f2b
Don't apply MSVC compile flags for non-MSVC toolchains (#98)
MinGW toolchains just don't support these flags
2025-05-20 17:47:24 +02:00
uint256_t 70f415cd56
Add rust-toolchain.toml (#97) 2025-05-20 17:43:56 +02:00
白铭骢 (Mingcong Bai) 310b1ce5f9
Fix SVG by moving the processing instruction to the start (#106) 2025-05-20 17:41:19 +02:00
Alex Kladov e352047ce9
Improve readability of consider_as_equal (#134) 2025-05-20 17:37:25 +02:00
Thallium Megalovania c8b7bc4213
remove simd::distance (#131)
Since `offset_from_unsigned` has been stabilized,
we can remove simd::distance now.

---------

Signed-off-by: Thallium Megalovania <ferris@thallimega.win>
Co-authored-by: Leonard Hecker <leonard@hecker.io>
2025-05-20 08:20:49 -07:00
Daniel Jacobs 3ac343a2a4
Improve some French localizations (#129) 2025-05-20 17:12:46 +02:00
Leonard Hecker e8d40f6e7a
Add the application icon to the Readme (#35) 2025-05-19 06:59:01 -07:00
Leonard Hecker 401804e621
Fix clearing of editlines (#31)
This only became apparent now that the
Open dialog clears the filename field.
2025-05-18 20:11:22 +02:00
Leonard Hecker 2f864f2723
unix: Fix O_NONBLOCK handling (#20)
I finally realized why it did that. `write()` was failing with `EAGAIN`.
2025-05-18 18:49:24 +02:00
Leonard Hecker 5e00392028
Remove leftover test code from main (#19) 2025-05-18 18:49:14 +02:00
Leonard Hecker b008570afc
Fix SaveAs dialog not allowing an empty filename field (#16)
In the SaveAs dialog it was previously impossible to fully empty the
filename editline as it would get immediately filled again with the
document filename. In hindsight, looking at the old code, the issue
becomes obvious immediately.
2025-05-18 16:10:24 +02:00
Leonard Hecker 120e532e97
Fix undoing a deletion not restoring the selection (#15)
`edit_begin` copies the current selection into the undo record.
This means we must delay `set_selection` until after the edit.
2025-05-18 16:09:32 +02:00
Leonard Hecker 1952ac9b51
Fix contrasted fallback colors (#14) 2025-05-17 13:32:10 -07:00
Leonard Hecker b7a20c019e
Fix needs_more_settling not settling more (#13) 2025-05-17 13:05:48 -07:00
Leonard Hecker 9add8f0152
Ensure input doesn't escape modals (#12) 2025-05-17 13:04:55 -07:00
Leonard Hecker 6122013b2d Address remaining review feedback 2025-05-17 20:50:47 +02:00
Leonard Hecker 3a27086b76 Add support for Ctrl+Shift+Home/End 2025-05-17 20:50:47 +02:00
Leonard Hecker 19561c0213 Fix rounding in setup_terminal 2025-05-17 20:50:47 +02:00
Leonard Hecker bd99223701 Add a readme image, Marketing says it's "Edit" 2025-05-17 20:50:47 +02:00
Leonard Hecker a6ad5a0c21 Add a createvpack parameter to the release pipeline 2025-05-17 20:50:47 +02:00
Leonard Hecker 4055262e47 Ensure LF line endings 2025-05-17 20:50:47 +02:00
Leonard Hecker d17cf66c7c Add copyright headers to all files 2025-05-17 20:50:47 +02:00
Leonard Hecker 0c14eb58fb Remove unnecessary uregex_setStackLimit call 2025-05-17 20:50:47 +02:00
Leonard Hecker cebf063bd7 Add oklab benchmarks 2025-05-17 20:50:47 +02:00
Leonard Hecker 03d5d19f67 Avoid going OOM for super large clipboard contents 2025-05-17 20:50:47 +02:00
Leonard Hecker 10f2bf9481 Stop sending OSC52s all the time 2025-05-17 20:50:47 +02:00
Leonard Hecker 33e2318f16 unix: Pick the first lang env variable we find 2025-05-17 20:50:47 +02:00
Leonard Hecker b8444ff197 Home stops on the indentation 2025-05-16 15:27:50 +02:00
Leonard Hecker 8a7d372c50 Improve support for terminal background transparency 2025-05-16 15:06:19 +02:00
Leonard Hecker 9c5032c571 Fixed stickiness of text selection anchors 2025-05-16 14:38:30 +02:00
Leonard Hecker 77db8a0248 Show a warning for large clipboard copies 2025-05-16 14:10:52 +02:00
Leonard Hecker 2b42dcb08f Fix localization of the error dialog 2025-05-16 14:10:33 +02:00
Leonard Hecker d9f724a3ce Fix compilation in debug builds 2025-05-16 14:08:59 +02:00
Leonard Hecker 293ea36c49 Document everything 2025-05-16 01:12:59 +02:00
Leonard Hecker 3ba67f7613 Prepare for v1.0 and enable vpacks 2025-05-16 00:52:04 +02:00
Leonard Hecker faa2d184ac Add support for ASCII collation if ICU is missing 2025-05-16 00:50:49 +02:00
Leonard Hecker b38a4b9c91 Slightly improve contrast cache table robustness 2025-05-16 00:50:11 +02:00
Leonard Hecker 680f28671d Show the Ctrl+W shortcut at all times 2025-05-16 00:49:26 +02:00
Leonard Hecker 017afa551c Use u16 for storing CSI parameters 2025-05-16 00:49:13 +02:00
Leonard Hecker 01a5a885ec Restructure the project 2025-05-16 00:48:46 +02:00
Dustin L. Howett c328917022
build: update tsa.json so that Release builds do not fail (#9) 2025-05-15 16:49:11 -05:00
Leonard Hecker ad9eb2c801 Use premultiplied Oklab for color blending/mixing 2025-05-13 17:15:43 +02:00
Leonard Hecker 819e50aa97 Make the vec_replace helper easier to use 2025-05-13 17:15:13 +02:00
Leonard Hecker 2980ec8b53 Fix file picker cache not being cleared on exit 2025-05-13 02:10:56 +02:00
Leonard Hecker 9441d5f002 Sanitize multiline clipboard pastes into editlines 2025-05-13 02:04:50 +02:00
Leonard Hecker 7a724f78ac Make any container type editable 2025-05-13 01:53:25 +02:00
Leonard Hecker cbfde9d981 Fix ArenaString::from_utf8_lossy duplicating invalid chars 2025-05-13 01:52:19 +02:00
Leonard Hecker 738254fed3 Fix parsing of invalid UTF8 in debug builds 2025-05-13 01:51:53 +02:00