Commit Graph

396 Commits

Author SHA1 Message Date
viyic 364579a045
Add Indonesian translation (#629) 2025-12-01 21:33:40 +00: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
VenusGirl❤ d71e94b303
Improve Korean translations (#663) 2025-12-01 22:17:14 +01:00
Mr Flamel ca661a2901
i18n: Add Estonian translations (#693) 2025-12-01 22:16:34 +01:00
Mohammad Abu Mattar 1601c3f592
i18n: Add Arabic translations (#634)
Co-authored-by: MKAbuMattar <mohamamd.khaled@outlook.com>
2025-12-01 22:15:54 +01: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
Tiago Mouta 82cc84a610
Add Portuguese (pt-PT) translations (#688) 2025-10-31 21:09:55 +01:00
Miteigi c1adb12b52
Add Vietnamese translations (#669) 2025-10-17 19:08:57 +02:00
Leonard Hecker 67c401648f
Fix Rust nightly builds (#668)
`panic_immediate_abort` is being stablized as `panic = immediate-abort`
(yay!).
See: https://github.com/rust-lang/rust/issues/147286

Closes #657
2025-10-14 19:53:51 +02:00
Emir SARI c557cdbf04
Update Turkish translations (#655) 2025-10-13 14:47:17 +00:00
Dustin L. Howett bb569841c9
sys/win: display a useful error message when SetConsoleMode fails (#639)
edit will now display specific error messages when the console fails to
support `ENABLE_VIRTUAL_TERMINAL_INPUT`. The user will be gently
reprimanded for not using the modern console host.

It is technically possible to run edit on OpenConsole (or another third-
party console host!)--even on Windows 8.1--where it will work properly.
2025-09-09 15:24:09 -05:00
Dustin L. Howett 51d19c9487
windows: fix the compatibility section of the manifest (#635)
So, it turns out that `supportedOS` was being ignored because it was
taken to be in the default `asm.v1` namespace. :)
2025-09-05 12:58:47 -05:00
hev ccfebb274e
Replace vseq/vand with their immediate-form variants (#630) 2025-08-29 00:31:10 +02:00
four-poetic-drew c8fec86709
Allow opening directories via the CLI (#577)
Co-authored-by: Leonard Hecker <leonard@hecker.io>
2025-08-28 00:49:45 +02:00
Leonard Hecker a3a6f5f8be
Various minor improvements (#625) 2025-08-25 13:18:00 -05:00
Leonard Hecker 7338c3cbbc
Move build.rs into its own directory (#623) 2025-08-25 12:54:53 -05:00
Leonard Hecker 695d88e631
Fix alpha blending formula (#594)
Since `srgb_to_linear` is non-linear we can't use it for premultiplied
colors. Instead of unpremultiplying them, I changed the rest of the app
to straight alpha and introduced types to ensure we don't mess it up.
2025-08-12 23:27:02 +02:00
Alexandru Spînu f17552c8f6
Fix #485: Reject invalid args and allow positional args (#503)
Closes #485

Co-authored-by: Leonard Hecker <leonard@hecker.io>
2025-08-12 23:25:15 +02:00
Leonard Hecker 1b7298c3b3
Separate scrolling from clicking (#603)
Closes #410
Closes #588
2025-08-12 23:22:38 +02:00
Leonard Hecker a41267af47
Fix ctrl modifier detection for mouse input (#604) 2025-08-12 19:20:24 +02:00
hev e2ea892426
Use unified data types in LoongArch SIMD intrinsics (#602) 2025-08-12 11:57:43 +00:00
Aloïs MASSON--CLAUDEZ f6ca0e68ca
Fix CONTRIBUTING.md localization path (#601) 2025-08-05 21:09:40 +00:00
Aaron J Prisk 4a34873ec3
Add snapcraft.yaml (#500) 2025-08-04 21:26:26 +00:00
Leonard Hecker 4f4d093357
Fix undo grouping of backspacing (#590)
This regressed in 091b742.
2025-08-04 22:32:42 +02:00
Leonard Hecker 5962e31a83
Merge all localization PRs (#596)
I hope I got all the names right as I had to pull them out manually.
The majority of PRs required changes to make them work.

Closes #108
Closes #114
Closes #125
Closes #130
Closes #144
Closes #148
Closes #314
Closes #358
Closes #373
Closes #402
Closes #437
Closes #465
Closes #497
Closes #502
Closes #514
Closes #585

Co-authored-by: Ebrahim Byagowi <ebrahim@gnu.org>
Co-authored-by: Mads Ohm Larsen <mads.ohm@gmail.com>
Co-authored-by: william.beino <william.beino@gamifiera.com>
Co-authored-by: marinac-dev <github@regex-sh.com>
Co-authored-by: marginal23326 <58261815+marginal23326@users.noreply.github.com>
Co-authored-by: NandeMD <celikumutcan2001@gmail.com>
Co-authored-by: Mekan Soltanov <mknsltnw@gmail.com>
Co-authored-by: Þór Sigurðsson <thor@ttk.is>
Co-authored-by: Skryta Istota <48822204+hidden-being@users.noreply.github.com>
Co-authored-by: Piotr Błażejewicz <peterblazejewicz@users.noreply.github.com>
Co-authored-by: schilive <schilive100@gmail.com>
Co-authored-by: Jakub Kolčář <j.kolcar@raynet.cz>
Co-authored-by: Michael Avagianos <hello@maikkun.dev>
Co-authored-by: Ruzsinszki Gábor <ruzsinszki.gabor@gmail.com>
Co-authored-by: erithax <erithax@proton.me>
Co-authored-by: spinualexandru <spinualexandru@outlook.com>
Co-authored-by: Ronja Koistinen <ronja.koistinen@helsinki.fi>
Co-authored-by: ykarpenko <ykarpenko@netfully.com>
2025-08-01 01:05:27 +02:00
Leonard Hecker 3c41b85ae4
Compile localizations with build.rs (#591) 2025-07-31 23:36:49 +02:00
Leonard Hecker 63d2574774
Fix lines_bwd unit test (#574)
The implementation is correct, and the test was wrong.
TTD fans in shambles rn.

Closes #566
2025-07-10 00:31:52 +02:00
luisgizirian 2f48091708
Add initial devcontainer configuration for Rust environment (#496)
Closes #494

Co-authored-by: Leonard Hecker <leonard@hecker.io>
2025-07-09 22:32:17 +02:00
Nukleari e16b4abffc
feat: improve desktop file (#560)
Closes #549
2025-07-09 20:30:53 +00:00
Leonard Hecker a43e4723e6
Fix printing help/version without TTY (#556) 2025-07-09 15:27:11 -05:00
adamjoer dd61854ad5
Indicate unsaved work with U+25CF in the terminal title (#523)
Co-authored-by: Leonard Hecker <leonard@hecker.io>
2025-07-02 18:23:36 +02:00
hev e9ad75685f
Add SIMD impl of `memset` for LoongArch (#547) 2025-07-02 15:55:19 +00:00
hev 259a198dc0
Add SIMD impl of `memchr2` for LoongArch (#551) 2025-07-02 17:55:15 +02:00
hev 75a7d76072
Add SIMD impls of `lines_fwd` and `lines_bwd` for LoongArch (#539) 2025-07-02 17:53:03 +02:00
recently-avoid-dyin 71b97e95f5
Add Ctrl+L shortcut to select whole line (#541) 2025-07-02 15:20:51 +00:00
hev d27ba98684
Optimize SIMD impl of `lines_fwd` and `lines_bwd` (#535) 2025-07-02 14:43:01 +00:00
hev 37b18c382e
Enable `default` features for `build-std` (#554)
Closes #553
2025-07-02 12:51:16 +00:00
Leonard Hecker c34bdb0e81
Fix file truncation when writing with ICU (#548) 2025-06-30 23:41:23 +02:00
Mani Tofigh 7ece8c5a38
Fix UTF-8 buffer prepending in read_stdin (#520) 2025-06-25 15:59:06 +02:00
Brian b4cd1f6668
Support for multiline indentation (#245)
Closes #110

Co-authored-by: Leonard Hecker <leonard@hecker.io>
2025-06-24 02:05:48 +02:00
pheonick 796209ff48
Make whitespace inside selections visible (#397)
This PR additionally adds support for escaping C1 control codes.

Closes #34

Co-authored-by: Leonard Hecker <leonard@hecker.io>
2025-06-19 17:20:10 -05:00
Julio Ramirez 091b74240c
Move lines with Alt+Up/Down (#230)
Closes #27

Co-authored-by: Leonard Hecker <leonard@hecker.io>
2025-06-19 17:19:05 -05:00
Leonard Hecker b277a1e67b
Make the ICU SONAME configurable (#495)
This PR was tested on Ubuntu with:
```
EDIT_CFG_ICUUC_SONAME=libicuuc.so.74
EDIT_CFG_ICUI18N_SONAME=libicui18n.so.74
EDIT_CFG_ICU_RENAMING_VERSION=74
cargo build --config .cargo/release.toml --release
```

Search & Replace now works flawlessly. I hope that package maintainers
will be able to make use of this when ingesting future versions of Edit.

Closes #172
2025-06-19 23:26:05 +02:00
viyic 70f5b73878
Add support for captured groups in Find & Replace (#222)
Closes #111

Co-authored-by: Leonard Hecker <leonard@hecker.io>
2025-06-17 18:51:29 -05:00
Leonard Hecker 91a9a5f808
Bump to v1.2.1 (#491)
The only change will be the inclusion of the app icon.
2025-06-17 09:59:15 -07:00
Dustin L. Howett 11ee7f0b64
assets: update to a smaller icon file (thanks Leonard!) (#478)
It is 16kb and contains the 256x256 image as well.
2025-06-14 00:02:04 +02:00
Dustin L. Howett c44eb4297f
Add the final icon in SVG and ICO (with the full size ramp) format (#475)
Supersedes #139

Co-authored-by: Whitecat18 <smukx@5mukx.site>
2025-06-13 01:25:03 +02:00
Muhammad Danish 1f8fe1caee
build: update WinGet publish workflow to use env instead of --token (#467)
With the latest winget-create release, the preferred method for
providing the GitHub token in CI/CD environment is via the environment
variable `WINGET_CREATE_GITHUB_TOKEN`. Removed use of `--token` and
switched to environment variable. See https://aka.ms/winget-create-token
for details.
2025-06-11 14:26:27 -07:00
Leonard Hecker 9d8eb8fec8
Bump to 1.2.0 (#466) 2025-06-11 22:50:36 +02:00
Leonard Hecker e779c16ac6
Make file picker autocompletion case-insensitive (#464) 2025-06-11 22:30:37 +02:00