Commit Graph
7905 Commits
Author SHA1 Message Date
V b1069576b7 Drop old primary selection code 2024-05-04 16:09:37 -07:00
V 004bfd3d9e Unwrap wayland fd acquisition rather than erroring without a message 2024-05-04 16:09:37 -07:00
V bbbe9c2cea Add rust-src to Nix development shell
rust-analyzer can't find the standard library source code otherwise.
2024-05-04 16:09:37 -07:00
V 84e8c966a1 Use PrimarySelectionHandler provided by SCTK
Also converts other DataDevice-handling code to use Read/WritePipe
instead of the FileDescriptor API.
2024-05-04 16:09:37 -07:00
V b23a424e21 Improve error messages for set_cursor 2024-05-04 16:09:37 -07:00
V 2dd2a541ce Clean up delegates 2024-05-04 16:09:37 -07:00
V 5654bbff47 Use the existing CursorShapeManager provided by SCTK 2024-05-04 16:09:37 -07:00
V 5b0e7bca93 Remove/rename unused stuff 2024-05-04 16:09:37 -07:00
V f5a69b8746 Fix copy & paste 2024-05-04 16:09:37 -07:00
V 423859cef7 Fix drag & drop 2024-05-04 16:09:36 -07:00
V ba18d0590c Fix drag/selection offer retrieval 2024-05-04 16:09:36 -07:00
V 8ed444cffc Fix window todos 2024-05-04 16:09:36 -07:00
V a7b122a2e1 Fix pointer todos 2024-05-04 16:09:36 -07:00
V 42e47ad920 It runs! (pointer now has a surface) 2024-05-04 16:09:36 -07:00
V ccbdd4da6a Fix cursor setting 2024-05-04 16:09:36 -07:00
V fdc805bb2e Fix compilation 2024-05-04 16:09:36 -07:00
V 7c77f407fa Update smithay-client-toolkit to v0.18
Also updates:
- wayland-{client,protocols} to v0.31
- wayland-egl to v0.32
2024-05-04 16:09:36 -07:00
Wez Furlong 2cb6e05c77 rustfmt 2024-05-04 16:02:18 -07:00
Orhun Parmaksız 1375e79a21 termwiz: support NO_COLOR environment variable (#5020)
* termwiz: support NO_COLOR environment variable

* style: update formatting

* refactor: use capabilities for enabling no-color
2024-05-04 16:01:47 -07:00
Wez Furlong 67d4ba9f76 fix when running on rust 1.78
std::slice::from_raw_parts will now panic if the ptr is null.
Resolve this by adding our own wrapper that translates that
case to an empty slice.
2024-05-04 15:53:28 -07:00
Wez Furlong 76cf2e51e6 rename .cargo/config -> .cargo/config.toml
The old path is deprecated and current versions of rust warn
about this.
2024-05-04 15:34:47 -07:00
Wez Furlong 0184e88e97 docs: changelog for https://github.com/wez/wezterm/pull/5264 2024-04-29 10:28:18 -07:00
fioncat 42d62faf6c doc(wayland): update comments 2024-04-29 10:26:07 -07:00
fioncat b21c3f6b3d doc(wayland): update comment in show 2024-04-29 10:26:07 -07:00
fioncat 1266912629 fix(wayland): ensure repaint event is sent in show
Fix: https://github.com/wez/wezterm/issues/5103
2024-04-29 10:26:07 -07:00
Wez Furlong 7554ef6570 maybe fixup windows build 2024-04-29 06:25:56 -07:00
Wez Furlong eae41c753e cargo update 2024-04-28 19:56:02 -07:00
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