8795 Commits
Author SHA1 Message Date
Wez Furlong 8baa9a4008 docs: changelog for #4061 #6388 2025-02-08 14:21:32 -07:00
Bowei Zhang ca671d649b fix: don't clear ime_last_event when a key is UP 2025-02-08 14:19:32 -07:00
Wez Furlong 99b94b3bd8 docs: changelog for #6391 2025-02-08 14:17:10 -07:00
Bowei Zhang dd7ae90f1f fix: better handling of hyperlinks with parentheses 2025-02-08 14:14:28 -07:00
Wez Furlong c3cfaa8458 docs: changelog for #6403 2025-02-08 14:09:30 -07:00
Wez Furlong b6be5e547f docs: changelog for #6502 2025-02-08 14:08:46 -07:00
Wez Furlong 55e6322685 docs: changelog for #5406 2025-02-08 14:08:45 -07:00
MikkaandWez Furlong 6e2eeed6e5 fix: opening the InputSelector resulted in invalid pane ids (#6403)
* fix: opening the InputSelector resulted in invalid pane ids

* Update wezterm-gui/src/termwindow/mod.rs

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-02-08 14:08:31 -07:00
boredcoder411 84ece8790c added bash example to portable_pty crate 2025-02-08 13:47:55 -07:00
faint 0351015ad0 docs: replace %HOME% with %USERPROFILE% for Windows (#6482) 2025-02-08 13:47:05 -07:00
Erik Schnetter 94610314e8 Support Unicode 16 octant characters (#6502)
* Support Unicode 16 octant characters

* Add missing Unicode 16 block characters

* Simplify sextant/octant implementation

* Add missing octant, correct indexing error

* Correct sextant/octant lookups
2025-02-08 13:43:33 -07:00
MaeIsBad d1684d38e8 Fix crash on hidpi with wayland (#6508) 2025-02-08 13:33:12 -07:00
Wez Furlong 5243d73353 docs: changelog for #6262
closes: #6262
2025-02-08 13:28:56 -07:00
Wez Furlong 10b7f55f18 docs: changelog for #6548 2025-02-08 13:28:56 -07:00
Aliaksandr Truš 80b9ffd14c fix(wayland): fix issue with tiled and maximized window
Potential fix for #6262
2025-02-08 13:26:35 -07:00
Jared Baur 444ed2309a wayland: prevent setting cursor when window is not focused 2025-02-08 13:22:54 -07:00
Wez Furlong 6044939d12 docs: changelog for #6554 2025-02-08 13:20:44 -07:00
Wez Furlong aaa6787cac update Cargo.lock for b251509a2f 2025-02-08 13:20:32 -07:00
saltkid 3a6c7a8c83 fix: setting width and height to Contain is not preserving aspect ratio of tall images (#6554)
* fix: `Contain` not preserving aspect ratio of tall images

When both width and height is set to `Contain`, the scaling uses the
wrong direct proportional scaling formula for tall images. This is due
to `aspect` being `width / height`:
By dividing (original), the formula expands to `scaled_width /
scaled_height : height / width` which inversely scaled the width of tall
images. By multiplying instead, the formula correctly expands to
`scaled_width / scaled_height : width / height` which preserves aspect
ratio when scaling.

* refactor: simplify "Contain" and "Cover" formulas; use max for "Cover", min for "Contain"

This was derived from the principle of direct proportion `x=ky` where
`k` is the scaling factor, and `x` `y` are the dimensions. Scaling
factor is based on image's dimension relative to the window's.

Contain needs the minimum scaling factor to ensure both dimensions fit
within the window. Cover needs maximum scaling factor to ensure the
image's smaller dimension fits in the window, allowing the larger
dimension to crop, as expected.
2025-02-08 13:18:12 -07:00
Jakob Hellermann b251509a2f remove unused tempfile dependency 2025-02-08 13:03:37 -07:00
Wez Furlong 8953b211e8 wezterm-ssh: self-skip tests if sshd not installed 2025-02-08 12:52:12 -07:00
Wez Furlong 1191b629cf ci: cirrus: install deps for testing 2025-02-08 12:26:13 -07:00
Wez Furlong 092bc6ce07 ci: delete cirrus freebsd task
It's not working; I suspect a cirrus environmental issue, but
have no time or energy to debug, and I want to free up the
compute credit and disable this source of noise.
2025-02-08 12:17:22 -07:00
Wez Furlong 2b7d557ffe ci: okay, last but one 2025-02-08 09:49:52 -07:00
Wez Furlong 66687e99fc ci: cirrus: try fbsd 15-0
This is my last try to get the build back in shape on fbsd;
if this one also fails, I'll remove it.
2025-02-08 09:48:41 -07:00
Wez Furlong 022510d531 ci: tweak cirrus bits
remove cache stuff from freebsd build in case that is what is
borking it.

build test all on the newly added ubuntu container
2025-02-08 09:37:23 -07:00
Wez Furlong a0717e33d8 ci: add basic cirrus amd64 ubuntu runner
While GH actions is borked, let's have some additional coverage
2025-02-08 09:25:32 -07:00
Wez Furlong 77a533b423 ci: cirrus: update tokens for wezterm org 2025-02-08 08:55:33 -07:00
Wez Furlong 36f9b38af3 ci: cirrus: adjust repo owner for org move 2025-02-08 08:35:22 -07:00
Wez Furlong 4c11cd6533 ci: kick cirrus 2025-02-08 08:23:25 -07:00
Wez Furlong b2ead807bc ci: cirrus: freebsd 14-0 -> 14-1
14-0 seems to persistently fail to accept github's ssl certificate,
tanking the build there.

Let's see if this makes it happier.
2025-02-08 08:15:51 -07:00
Wez Furlong 783f8eff3b docs: show how to set the PATH for Finder on macos
per https://github.com/wezterm/wezterm/discussions/6630#discussioncomment-12060141
2025-02-08 07:38:46 -07:00
Max von Webel cdfa86aebd Update user-var-changed.md (#6368)
* Update user-var-changed.md

By default base64 inserts a line break at some column which will truncate the user var. `-w 0` disables line wrapping

* added a note instead of changing the base64 command
2025-02-08 07:20:00 -07:00
Wez Furlong b6ec0b03d6 macos: suppress warnings from legacy objc crate
This is a PITA. The objc crate does some stuff that spews warnings
everywhere that the sel! and msg_send! macros are used.

That crate is not currently maintained

There is a fork of the crate which resolves the spew, but we also
use the cocoa crate which pulls in the original crate

The new fork is not compatible with cargo workspace patching.

There is an alternative objc2 crate with a nicer, more type-safe
API, but the API changes to migrate are pretty huge: I just lost
a couple of hours on this and still hadn't gotten past the migrating
the NSMenu stuff over.

So, the approach here is to simply ignore the warnings in the modules
that use the objc crate.

This will need to be fixed by someone someday, but that day is not
today.

refs: https://github.com/SSheldon/rust-objc/issues/125
2025-02-07 22:23:22 -07:00
Wez Furlong 691325fc41 ci: actually disable the schedule for the main jobs
I forgot that these continually spam my github notifications
due to the cancelled builds like 10x for each push, pr and so on.

Let's turn these back off again for now.
2025-02-07 20:23:49 -07:00
Wez Furlong 5236da1671 docs: changelog for #6626 2025-02-07 20:23:07 -07:00
Tyarel8 195440e3f9 feat: add cli flag to specify output file in wezterm record 2025-02-07 20:21:57 -07:00
Wez Furlong 5d6260ad5b docs: changelog for #6538 2025-02-07 19:35:38 -07:00
Wez Furlong c954935022 docs: changelog for #6475 #6476 2025-02-07 19:27:06 -07:00
Wez Furlong 16bf08feb0 rustfmt 2025-02-07 19:27:06 -07:00
Damien Deville 54af65d2ee Copy terminfo into MacOS app resources (#6538)
* Copy terminfo into MacOS app resources

Currently the terminfo file has to be downloaded from the repo and
installed manually. It'd be nice to include it in the app so that a
package manager like Homebrew could install it in the right place when
Wezterm is installed, which is something that Alacritty does.

I've chosen to include the compiled version so that package manager
don't have to invoke `tic` and can just copy files around.

This will result in the following being added to the Resources folder:
```
WezTerm.app/Contents/Resources/terminfo/77/wezterm
```

Once this is in I'll send a patch to update the [Homebrew
formula](https://github.com/Homebrew/homebrew-cask/blob/master/Casks/w/wezterm.rb)
and have it actually install the terminfo.

* Fix filename...
2025-02-07 19:26:33 -07:00
dmyyy 5ea6e2b655 change rustflags to be a toml array 2025-02-07 19:17:07 -07:00
Jose Biosca 47b91d8e0e fix mouse button streak requiring pixel precision 2025-02-07 19:11:37 -07:00
Bowei Zhang 7145a8ffaf chore: resolve nit from linter 2025-02-07 19:07:08 -07:00
Wez Furlong 57fae2f9fd ci: re-enable cron for workflows
The thesis was that it might help whatever borkage behind
https://github.com/orgs/community/discussions/66297 might be
happening, but it hasn't seemed to do anything useful, so
we may was well turn it back on again.
2025-02-07 18:58:25 -07:00
Benoit de Chezelles cb593f6af5 docs: Try fix mkdocs rendering of lists 2025-02-07 18:43:44 -07:00
Wez Furlong 680ef10230 add needs:triage label to new issues 2025-02-07 15:08:08 -07:00
Wez Furlong 48119974e6 ci: fixup schedule
bleh
2025-02-07 13:45:23 -07:00
Wez Furlong c74a45eeb8 ci: another cron 2025-02-07 13:43:36 -07:00
Wez Furlong ea5787af3d ci: disable crons
Apparently crons can interfere with the successful migration
of github actions around a repo transfer?
https://github.com/orgs/community/discussions/66297

Feels crazy!  Let's try turning them off and see if that
helps the actions to start working again, more quickly
2025-02-07 13:40:35 -07:00