1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-29 10:04:49 +03:00
Commit Graph

7856 Commits

Author SHA1 Message Date
Wez Furlong
7d84bf5b44
ci: switch mkdocs build to docker version
ubuntu's pip stuff is preventing me from doing a basic user
install and I've had trouble in the past with the svg related deps.

Let's just switch to using a docker based version of mkdocs.
2024-02-03 08:06:55 -07:00
Wez Furlong
99c17b166f
add wezterm start --new-tab and wezterm connect --new-tab
refs: https://github.com/wez/wezterm/discussions/4854
refs: https://github.com/wez/wezterm/discussions/4946
2024-02-03 07:51:06 -07:00
Wez Furlong
c3d37f9eda
docs: changelog for #4943 2024-02-02 19:39:42 -07:00
Wez Furlong
424d4fc393
plumb a couple more window title invalidations through to gui 2024-02-02 19:38:39 -07:00
Benjamin Kane
a96de2abab Add lua version to debug overlay 2024-02-02 19:37:30 -07:00
Wez Furlong
5eea7eb17b
don't show default key assignments in palette when they are disabled
refs: https://github.com/wez/wezterm/issues/4724
2024-02-02 19:13:49 -07:00
Wez Furlong
aa81a46d58
mux: allow specifying cache policy for process information
This allows individual call sites to be able to force an immediate
resolution of the process information.

This should help to address https://github.com/wez/wezterm/issues/4811
wherein the problem seems to be that the cwd used for a new spawn
is taken from a stale read.
2024-02-02 18:02:18 -07:00
Wez Furlong
a8223a756c
macos: add space between keycaps on command palette
refs: https://github.com/wez/wezterm/issues/4885
2024-02-02 16:48:51 -07:00
Wez Furlong
b0682e957f
speculative fix for tab title change not invalidating window
refs: https://github.com/wez/wezterm/issues/4941
2024-02-02 14:05:06 -07:00
Wez Furlong
7e9d71847d
fix tmux passthrough escape sequence encoding
Need to double up the ESC characters in the sequence that is
being passed through.

refs: https://github.com/wez/wezterm/issues/4940
2024-02-02 13:40:56 -07:00
Wez Furlong
8536d1313c
Revert "x11: scope the cyrillic ctrl-c workaround to cyrillic"
This reverts commit 15da2e64c2.

Let's back this out; I think I was too hasty and didn't fully
compare behavior with xterm prior to working on this.

refs: https://github.com/wez/wezterm/issues/4933
2024-02-02 10:59:40 -07:00
Wez Furlong
15da2e64c2
x11: scope the cyrillic ctrl-c workaround to cyrillic
The workaround was to allow ctrl-c to behave as expected for users
of cyrillic layouts, but it was scoped too broadly, as it impacted
eg: pressing ctrl-grave; in a spanish layout that is expected to
expand to º

This commit adjusts the scope of the workaround to only activate
when the original expansion is itself cyrillic.

I doubt this is the last we'll hear of this, but let's see
how it goes!

refs: https://github.com/wez/wezterm/issues/4933
2024-02-02 09:38:33 -07:00
Wez Furlong
4ca1941074
docs: changelog for #4910 2024-02-02 08:22:33 -07:00
Wez Furlong
c4113906f9
pty: improve unix path searching
We were unconditionally checking against the cwd for relative paths,
which isn't conformant to posix's path search logic.

This commit revises the search to only do so if the requested executable
starts with either a `.` or `..` path component.

In addition, we now also allow for path components in $PATH to specify
cwd-relative paths.

refs: #4920
2024-02-02 06:41:53 -07:00
Wez Furlong
17dadbeb1e
pty: don't try to spawn a directory from the cwd
When the cwd was set to a directory that contained
an executable directory whose name matched the argv0
of the command to be spawned, we'd incorrectly consider
that to be a valid candidate.

When later trying to spawn this, we'll fail with an EACCESS,
and in the context of wezterm, rust's internal error handling
machinery for this error would fail to write to a descriptor
because our close_random_fds() function has closed that descriptor
during pre_exec.  That in turn would cause rust to print a panic
message to the output stream of this semi-spawned process,
which would show briefly an error message with no useful context.

This commit resolves this issue by explicitly avoiding executable
directories in this case.

refs: https://github.com/wez/wezterm/issues/4920
2024-02-01 17:18:42 -07:00
Wez Furlong
aa94a98314
fix invalidation on palette change
refs: https://github.com/wez/wezterm/issues/4932
and possibly: https://github.com/wez/wezterm/issues/2635
2024-02-01 15:58:14 -07:00
Wez Furlong
b8d93edce6
xkeyboard: maybe workaround next_group weirdness
I'm not sure if this is the right way to go about this, but it doesn't
immediately break some simple tests with non-us layouts for me, so
I'm willing to push it and see what people say.

refs: https://github.com/wez/wezterm/issues/4910
2024-02-01 09:23:28 -07:00
Wez Furlong
eeea92a4d3
x11: improve keyboard trace diagnostics
add selected/fallback label and show how the xkb state overrides
are being applied
2024-02-01 09:23:28 -07:00
Jalil David Salamé Messina
309b7d1d6a ci: regenerate workflows 2024-02-01 08:53:49 -07:00
Jalil David Salamé Messina
bcc54d32be ci: Vendor cargo dependencies
This doesn't improve the build times, but it does reduce the requests we
make to `crates.io`.
2024-02-01 08:53:49 -07:00
Jalil David Salamé Messina
8c43c045c4 ci: Use scccache-action instead of rust-cache
It reduced ci times for fluke from 9min to 1min in MacOS (see [this
issue](https://github.com/hapsoc/fluke/issues/118)).

This [comment](https://github.com/wez/wezterm/pull/4468#issuecomment-1789638340)
has the TL;DR of the results from adding it. The summary of that is
caching works on MacOS now and it uses the github cache much better.
2024-02-01 08:53:49 -07:00
davidsierradz
f4bca24c81 Add additional outputs for nix's flake package 2024-02-01 08:45:50 -07:00
Wez Furlong
6e85ba49fd
docs: update freetype_load_flags 2024-01-31 08:00:18 -07:00
Wez Furlong
21af10e0f6
be smarter about NO_HINTING
Only use it when we think the dpi is high, otherwise use the
default freetype parameters.

refs: https://github.com/wez/wezterm/issues/4908
refs: https://github.com/wez/wezterm/issues/4902
2024-01-31 07:55:10 -07:00
Wez Furlong
86d9ec69f5
term: downgrade conpty tmux title mangling warning to debug
The user can't do anything about it anyway.
2024-01-31 07:36:30 -07:00
Wez Furlong
1479c7be64
Revert "ci: use new arm runners for macos builds"
This reverts commit 59fe967d92.

Need to do something more to deal with the architecture change;
will come back to this later
2024-01-30 22:15:29 -07:00
Wez Furlong
59fe967d92
ci: use new arm runners for macos builds 2024-01-30 22:13:46 -07:00
Wez Furlong
47f647cadc
fixup parser for freetype_load_flags
It used `::default()` rather than `::empty()` for the initial
set of bits, and since the two are no longer equivalent, it
prevented being able to assign `freetype_load_flags = 'DEFAULT'`.

refs: https://github.com/wez/wezterm/issues/4902
2024-01-29 22:03:40 -07:00
Wez Furlong
c4f16fe339
macos: constrain fallback to normal attributes
refs: https://github.com/wez/wezterm/issues/4808
2024-01-29 20:02:54 -07:00
Eric Long
a51c6a2638 Upgrade rcgen to 0.12
This brings ring version from 0.16 to 0.17, which enables build on platforms like RISC-V and LoongArch.
2024-01-29 19:54:13 -07:00
Wez Furlong
0621c1f19c
docs: update for latest release 2024-01-29 09:27:03 -07:00
Wez Furlong
1e552d7643
front_end defaults to OpenGL again
I meant to flip this back prior to cutting the most recent release,
and we've had a couple of issues already raised about WebGpu
and is transparency handling on Windows, and color/gamma.

I think I'll just leave this at OpenGL for a while, until WebGpu
catches up a bit better.
2024-01-28 20:21:57 -07:00
Wez Furlong
616b218e32
freetype_load_flags now defaults to NO_HINTING 2024-01-28 20:21:57 -07:00
Wez Furlong
69e085829f
cargo update 2024-01-28 20:21:56 -07:00
Wez Furlong
c75c15b9ca
macos: fall back to old font fallback approach
In https://github.com/wez/wezterm/issues/4877 it became clear that
the newer approach for finding fallback fonts is only better than
the old approach in some cases, so this commit adds a fallback
to the old approach if the new one didn't yield any usable results
for a given codepoint.

refs: #4099
2024-01-28 16:19:58 -07:00
Andrii
4156185c9e fix typo in installation example
The installation example mentions the Ubuntu 20 package, while the provided example is for the Ubuntu 22 package
2024-01-28 14:39:39 -07:00
Wez Furlong
3a66f67fa0
docs: fix typo (duplicate issue id) 2024-01-28 08:05:57 -07:00
Wez Furlong
0b2b85d5d8
docs: changelog for kitty image protocol fixes
refs: #1156
refs: #1156
refs: #1663
refs: #2084
refs: #2422
refs: #2761
refs: #3918
refs: #4233
refs: #4847
2024-01-28 08:01:25 -07:00
Wez Furlong
d545e215c8
flatpak: update some metadata 2024-01-28 07:59:20 -07:00
Wez Furlong
d6d70cc0a7
run ci/update-derived-files.sh 2024-01-28 07:59:20 -07:00
jonboh
820c451b57 add small helper function to better express bool casting 2024-01-28 07:59:13 -07:00
jonboh
500f84617e fix kitty image protocol display parameters 2024-01-28 07:59:13 -07:00
Wez Furlong
e7111a2bfa
fix laggy tab bar update after closing a tab
refs: https://github.com/wez/wezterm/issues/4880
2024-01-28 07:38:10 -07:00
Wez Furlong
e23ab47239
macos: ignore LastResort font in fallback suggestions
refs: https://github.com/wez/wezterm/issues/4877
2024-01-27 23:28:20 -07:00
Wez Furlong
6de7c60452
docs: update changelog to show latest release 2024-01-27 13:11:29 -07:00
Wez Furlong
6bb474a732
docs: update for retired and newly supported linux builds 2024-01-27 13:09:39 -07:00
Wez Furlong
11c1dd6527
docs: manual fixup of color scheme data
There's something bad in there, will need to fixup the sync
script, but first, let's unblock the doc build for the release.
2024-01-27 12:53:07 -07:00
Wez Furlong
c85fa0b73b
docs: update for latest release 2024-01-27 12:50:49 -07:00
Wez Furlong
08413ba87a
Cargo.lock: update 2024-01-27 12:48:41 -07:00
Wez Furlong
1e27cded2f
update flatpak runtime version
Looking at this because the build failed in the latest release:
https://github.com/flathub/org.wezfurlong.wezterm/pull/16
2024-01-27 12:46:31 -07:00