1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-11 14:25:57 +03:00
Commit Graph

7878 Commits

Author SHA1 Message Date
Wez Furlong
a77ff4b846
fix some warnings with newer rust
The warning is that some of the variants are never read.
In the case of ftwrap, they are referenced via ffi.
For the other locations, we want them for debug purposes.
2024-04-28 19:54:54 -07:00
MLFlexer
878b86f0f0 fixed docs typo in MoveForwardSemanticZone 2024-04-28 19:49:11 -07:00
MLFlexer
7fd9c36efb Renamed MoveToSelectionOtherEnd to MoveToSelectionOtherEndHoriz in doc 2024-04-28 19:49:11 -07:00
Wez Furlong
cce0706b1f
ci: another attempt at fixing up windows path 2024-04-05 18:09:10 -07:00
Wez Furlong
9b082e5355
ci: fixup perl path on windows when running tests 2024-04-05 16:21:13 -07:00
Wez Furlong
58cd230a45
ci: include the bin name in the step name on windows 2024-04-05 14:20:24 -07:00
Wez Furlong
668ac85d75
ci: run tests in debug mode
The original thinking was to build all in release mode so that
there was less overall redundancy between building out the released
binaries and what we need to build for test purposes.  The goal was to
minimize compile time.

I don't believe that that holds up any more, especially with the
prior commit explicitly breaking out the separate binary builds
to manage dependency bloat.
2024-04-05 14:10:36 -07:00
Wez Furlong
4de4061bf3
ci: avoid bundling deps for various sub crates
In particular, strip-ansi-escapes' dep graph is expanded
by the overall set of enabled crate features when doing an
indiscriminate `cargo build` vs. `cargo build -p strip-ansi-escapes`.

This may help to avoid tripping over whatever is problematic
in https://github.com/wez/wezterm/issues/5074
2024-04-05 13:29:18 -07:00
Wez Furlong
2bb573d9fc
cargo update 2024-04-05 13:19:11 -07:00
dependabot[bot]
15e0e61fe1 Bump whoami from 1.4.1 to 1.5.0
Bumps [whoami](https://github.com/ardaku/whoami) from 1.4.1 to 1.5.0.
- [Changelog](https://github.com/ardaku/whoami/blob/v1/CHANGELOG.md)
- [Commits](https://github.com/ardaku/whoami/compare/v1.4.1...v1.5.0)

---
updated-dependencies:
- dependency-name: whoami
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 08:52:35 -07:00
Wez Furlong
e5ac32f297
Revert SCTK changes
panics on startup under weston with no obvious fix.

This reverts commit 3938d1a7db.
This reverts commit aab3835f1a.
This reverts commit 0c97ace3cb.

refs: https://github.com/wez/wezterm/pull/5044
2024-03-25 09:35:07 -07:00
Wez Furlong
3938d1a7db Update window/src/os/wayland/window.rs 2024-03-25 08:59:28 -07:00
Thayne McCombs
aab3835f1a Update SCTK to 0.18 2024-03-25 08:59:28 -07:00
Thayne McCombs
0c97ace3cb Better decorations 2024-03-25 08:59:28 -07:00
Julio Montoya
889f8a9cd7 Update linux.md 2024-03-16 07:42:38 -07:00
Tyler Standridge
22424c3280 Change "more power" to "more powerful"
Fixes a grammatical error in `appearance.md`.
2024-02-26 17:45:25 -07:00
Oscar Cederberg
95581d8697 Remove rust as dependency for Arch 2024-02-21 07:54:52 -07:00
Jose Miguel Ochoa
bf2c13a237 ci: include PopOS on deploy file 2024-02-21 07:49:00 -07:00
Wez Furlong
85fb1ad210 update deps, in particular git2 2024-02-18 13:38:04 -07:00
Wez Furlong
798eb87645
docs: changelog for #5032 2024-02-18 13:11:15 -07:00
Jeffrey Knockel
753b6e77ea gui: don't repaint during resize
Wait until set_inner_size() has finished before repainting.  If we
repaint while our request to resize is in progress, our understanding of
the current size of the window may be inconsistent with the actual size,
causing the rendered contents of the window to bounce around.
2024-02-18 13:09:37 -07:00
cultab
6dff0fbe2c docs(front_end): default value of OpenGL
Reflects changes made as of `20240128-202157-1e552d76`.
2024-02-18 07:34:42 -07:00
Jeffrey Knockel
cd5d1f5ea1 gui: pass window to set_inner_size()
This fixes a regression from a0974a25 where TermWindow::set_inner_size()
can be called before the TermWindow's window has been set.
2024-02-18 07:22:20 -07:00
Wez Furlong
22f9f8d288
docs: changelog for #5001 2024-02-12 07:41:07 -07:00
crides
217dfb30f5 fix linux divine_process_list
Fixes #4993
2024-02-12 07:38:05 -07:00
Wez Furlong
71cc4e1721
cargo update 2024-02-12 07:00:19 -07:00
Wez Furlong
b61c49fa67
docs: changelog for #4994 2024-02-11 08:37:35 -07:00
Bogdan-Cristian Tătăroiu
be20f8bc9e Fix inconsistent spawn behaviour when using default_mux_server_domain.
When using an exec domain as a default_mux_server_domain, you currently
witness the following behavior:
- Newly started mux-servers create a pane in the exec domain.
- Splitting an existing pane will create the new pane in the exec
  domain.
- Calling [wezterm cli spawn] will create a new tab or window in the
  exec domain.
- Creating a new tab from the Gui does *not* run in the exec domain.

This appears to be due to the fact that ClientDomain hardcodes an
assumption that the default domain_id of the remote mux-server is 0.

Instead of having ClientDomain issue a SpawnV2 RPC explicitly asking for
domain_id 0, simply use DefaultDomain.
2024-02-11 08:35:33 -07:00
Wez Furlong
67bdc06d73
macos: speculative fix to drag-n-drop crash
refs: https://github.com/wez/wezterm/issues/4771
2024-02-10 17:32:28 -07:00
Wez Furlong
e7fe7c07da
windows: update bundled conpty
These are the x64 binaries included in
https://terminalbuilds.blob.core.windows.net/builds/Microsoft.Windows.Console.ConPTY.1.19.240130002.nupkg

These are untried/untested!

Thread: https://fosstodon.org/@DHowett@mas.to/111909543715318285

refs: https://github.com/wez/wezterm/discussions/4989
refs: https://github.com/wez/wezterm/issues/1927
2024-02-10 16:50:08 -07:00
Wez Furlong
a7d9cfd25f
docs: changelog for #4969 2024-02-08 09:02:11 -07:00
cyc
f671a9ab97 remove redundant imports. 2024-02-08 08:59:47 -07:00
cyc
a678849f15 add docs for the wezterm.serde module. 2024-02-08 08:59:47 -07:00
cyc
8e5957b92f add unit tests for JSON/YAML/TOML parsers. 2024-02-08 08:59:47 -07:00
cyc
8dc4ba7ad1 add *_encode_pretty variants for TOML and JSON. 2024-02-08 08:59:47 -07:00
cyc
8596422abf add YAML/TOML serialization/deserialization feature 2024-02-08 08:59:47 -07:00
Wez Furlong
61c1fd8e17
docs: changelog for #4250 2024-02-08 08:40:47 -07:00
Wez Furlong
206b73a6da
docs: changelog for #4966 2024-02-08 05:15:13 -07:00
Wez Furlong
2fee694bcc
wayland: avoid panic when closing/destroying window
refs: https://github.com/wez/wezterm/issues/4983
2024-02-08 05:01:55 -07:00
Wez Furlong
4f123a461b
macos (mostly): try harder to get initial dpi
There are a number of open issues that relate to getting the dpi
wrong when spawning a window. In theory it shouldn't matter because
we will immediately realize the difference and synthesize the correct
information, but evidence shows this isn't quite true.

What this commit does is:

* Override Connection::default_dpi() on macOS to return the
  effective_dpi from the active screen instead of the default
  non-retina dpi
* Adjust the Config::initial_size() method to accept an optional
  cell pixel dimension
* Add a helper function to wezterm-gui to compute the cell pixel
  dimensions given the config and the (usually default) dpi, and
  feed that through to Config::initial_size
* in the macos window impl, scale the computed geometry based on
  the ratio of the Connection::default_dpi and the default non-retina
  dpi.

This helps to avoid needing to do a fixup in the
https://github.com/wez/wezterm/issues/4966 case, and may help with
the various other macos quirky issues.

refs: https://github.com/wez/wezterm/issues/2958
refs: https://github.com/wez/wezterm/issues/3575
refs: https://github.com/wez/wezterm/issues/3900
refs: https://github.com/wez/wezterm/issues/4250
refs: https://github.com/wez/wezterm/issues/4285
refs: https://github.com/wez/wezterm/issues/4447
refs: https://github.com/wez/wezterm/issues/4851
refs: https://github.com/wez/wezterm/issues/4966
2024-02-06 22:57:05 -07:00
Wez Furlong
36ff6d5f44
deps: update glium 2024-02-06 16:52:02 -07:00
Wez Furlong
5d190c2b7a
docs: mention arch supplemental fonts
refs: https://github.com/wez/wezterm/issues/4976
2024-02-06 10:44:09 -07:00
Wez Furlong
39d2b6ca85
remove show_update_window functionality
dependabot is trying to update pulldown-cmark, but it won't
work because the API has changed.

The update window is not enabled by default and I don't think
anyone uses it anyway, so let's just remove it and have less
code to compile and maintain.

closes: https://github.com/wez/wezterm/pull/4964
2024-02-05 07:04:37 -07:00
Wez Furlong
11a3133f5d
ci: publish amd64 builds to apt repo when releasing
Currently only arm builds are published for releases
2024-02-05 06:48:49 -07:00
Wez Furlong
22150bfba6
cargo update 2024-02-05 06:34:39 -07:00
Wez Furlong
9064c1c194
ci: bump cache action
closes: https://github.com/wez/wezterm/pull/4958
2024-02-05 06:34:15 -07:00
Wez Furlong
3d893cbbf7
ci: bump sccache
closes: https://github.com/wez/wezterm/pull/4959
2024-02-05 06:33:28 -07:00
Wez Furlong
26921ced86
ci: bump cargo-install
closes: https://github.com/wez/wezterm/pull/4960
2024-02-05 06:32:43 -07:00
Wez Furlong
a9eca94bfa
ci: bump auto-commit workflow
closes: https://github.com/wez/wezterm/pull/4961
2024-02-05 06:31:50 -07:00
Jeffrey Knockel
b03b833a4d windows: account for dpi in window size
On Windows, to set a window's size, in addition to the size of the
client area, the width and height of the window's "frame" must be
included in the dimensions passed to SetWindowPos() which burdens us in
needing to know the exact size of the window frame so that we can
properly account for its dimensions.  Previously, we used
AdjustWindowRect() to account for the frame's dimensions, but the size
of a window's frame can change depending on the DPI of the monitor on
which it is placed, and it appears that neither AdjustWindowRect() nor
AdjustWindowRectEx() account for this automatically.  Instead, we use
AdjustWindowRectExForDpi(), passing in the window's DPI, so that we
properly calculate the window's size.
2024-02-04 21:32:33 -07:00