Commit Graph
8185 Commits
Author SHA1 Message Date
Wez Furlong 0eaf755d25 deps: freetype -> 2.13.3 2025-01-03 09:48:50 -07:00
Wez Furlong 3242bf363f deps: point to official freetype mirror on github
previously, the freedesktop upstream was super flakey and the github
mirror wasn't kept up to date.

It now seems to be current.
2025-01-03 09:46:52 -07:00
Thiago Kenji Okada d8f4cb3559 nix/flake.lock: Update; nix/flake.nix: backport patches from NixOS/nixpkgs (#6540)
* nix/flake.nix: harfbuzz: 8.4.0 -> 9.0.0

* nix/flake.lock: Update

Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a?narHash=sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ%3D' (2024-09-17)
  → 'github:numtide/flake-utils/11707dc2f618dd54ca8739b309ec4fc024de578b?narHash=sha256-l0KFg5HjrsfsO/JpG%2Br7fRrqm12kzFHyUHqHCVpMMbI%3D' (2024-11-13)
• Updated input 'harfbuzz':
    'github:harfbuzz/harfbuzz/63973005bc07aba599b47fdd4cf788647b601ccd?narHash=sha256-GdxcAPx5QyniSHPAN1ih28AD9JLUPR0ItqW9JEsl3pU%3D' (2024-03-29)
  → 'github:harfbuzz/harfbuzz/9c03576c49db6e7207d9bcdfe3abd170a809157f?narHash=sha256-2ieCf3ftNk851FZBDPVl%2B7QHWBqD729KiUxUyxi26Yg%3D' (2024-06-27)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ccc0c2126893dd20963580b6478d1a10a4512185?narHash=sha256-4HQI%2B6LsO3kpWTYuVGIzhJs1cetFcwT7quWCk/6rqeo%3D' (2024-10-18)
  → 'github:NixOS/nixpkgs/69b9a8c860bdbb977adfa9c5e817ccb717884182?narHash=sha256-5zJyv66q68QZJZsXtmjDBazGnF0id593VSy%2B8eSckoo%3D' (2024-12-31)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/ada8266712449c4c0e6ee6fcbc442b3c217c79e1?narHash=sha256-r0VyeJxy4O4CgTB/PNtfQft9fPfN1VuGvnZiCxDArvg%3D' (2024-10-21)
  → 'github:oxalica/rust-overlay/04d5f1836721461b256ec452883362c5edc5288e?narHash=sha256-tIl5p3ueaPw7T5T1UXkLc8ISMk6Y8CI/D/rd0msf73I%3D' (2025-01-02)

* nix/flake.nix: backport patches from NixOS/nixpkgs

* nix/flake.nix: add formatter

* nix/flake.nix: zlib: 1.2.11 -> 1.3.1

* nix/flake.lock: Update

Flake lock file updates:

• Updated input 'zlib':
    'github:madler/zlib/cacf7f1d4e3d44d871b605da3b647f07d718623f?narHash=sha256-j5b6aki1ztrzfCqu8y729sPar8GpyQWIrajdzpJC%2Bww%3D' (2017-01-15)
  → 'github:madler/zlib/51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf?narHash=sha256-TkPLWSN5QcPlL9D0kc/yhH0/puE9bFND24aj5NVDKYs%3D' (2024-01-22)

* nix/flake.nix: libpng: 8439534daa1d3a5705ba92e653eda9251246dd61 -> 1.6.44

* nix/flake.lock: Update

Flake lock file updates:

• Updated input 'libpng':
    'github:glennrp/libpng/8439534daa1d3a5705ba92e653eda9251246dd61?narHash=sha256-1%2BcRp0Ungme/OGfc9kGJbklYIWAFxk8Il1M%2BNV4KSgw%3D' (2019-02-04)
  → 'github:pnggroup/libpng/f5e92d76973a7a53f517579bc95d61483bf108c0?narHash=sha256-gBfHgGaqVYdmhWXoNKZzPyGzyw2rr3zp%2BDjWmfC41jk%3D' (2024-09-12)
2025-01-02 11:29:44 -07:00
Wez Furlong be54403e4d deps: libpng -> 1.6.44 2025-01-02 08:08:29 -07:00
Wez Furlong 8d3cd83fcd deps: update to zlib 1.3.1
refs: https://github.com/wez/wezterm/pull/6540
2025-01-02 07:59:53 -07:00
Wez Furlong 6f375e29a2 wezterm-ssh: update pty version 2024-12-05 08:35:33 -07:00
Wez Furlong 1f00bb3e89 docs: changelog for serial bits
refs: #6411
closes: #6460
2024-12-05 08:31:57 -07:00
Wez Furlong 1e941fca5c pty: bump semver because serial2 changes public API
refs: #6411
2024-12-05 08:30:36 -07:00
Jeevitha Kannan K S b38b5ef327 Use serial2 crate instead of serial (#6411)
* Use serial2 crate instead of serial

* Remove mutex and add back the API methods
2024-12-05 08:30:04 -07:00
occupyhabit 72e723187c chore: remove redundant words in comment
Signed-off-by: occupyhabit <wangmengjiao@outlook.com>
2024-12-04 07:49:30 -07:00
Wez Furlong 4906789a6d rustfmt 2024-11-29 15:21:48 -07:00
Wez Furlong 74015a95c7 fix some warnings with rust 1.83
It's complaining about non-local impls and elided lifetimes
that have names.

I don't recall why I thought I needed these "dummy" enclosing
scopes, and they are most likely cargo-cult copypasta from
some other derive implementation that I used as inspiration.
2024-11-28 21:32:15 -07:00
Cosimo Matteini a7ff718c7c wayland: reimplement maximize and restore
It was removed with wayland reimplementation in #4777
2024-11-28 10:58:03 -07:00
Tom e9473edd3e Disable libpng VSX_OPT flag for PowerPC 64
Fix a linker error in wezterm-gui due to a missing libpng feature on modern PowerPC 64-bit platforms.
2024-11-28 10:55:24 -07:00
Wez Furlong 5cccee316a cargo update 2024-11-28 09:04:07 -07:00
Wez Furlong 0eb2c530cb docs: changelog for #6186 2024-11-28 09:02:18 -07:00
Sean Estabrooks 659aedffe8 Region scrolling tests and a fix
@tbung fixed a scrolling bug in #6099.  This patch just
adds some tests and takes care of a couple corner cases
that still remained with region scrolling.
2024-11-28 09:01:13 -07:00
Sean Estabrooks b2889fe889 Region scrolling tests 2024-11-28 09:01:13 -07:00
Wez Furlong 4050072da2 fix warning 2024-11-19 10:14:32 -07:00
Pedro 979df78269 Fixed minor typo in the example from `get_default_colors.md 2024-11-14 16:01:16 -07:00
Sirio Balmelli 51c794ac50 WezTerm.app/Contents/Info.plist: request network permissions
On MacOS 15 (Sequoia) and later,
Wezterm.app should ask for a LocalNetwork entitlement by default.

This fixes mysterious network failures (eg: 'no route to host') when:

- Wezterm is a toplevel process (ie: not a child of a process
  that already has LocalNetwork entitlement, like Terminal)
- A shell running inside Wezterm executes a process which accesses the network,
  but does not itself already have a LocalNetwork entitlement,
  eg: /etc/profiles/per-user/$(whoami)/bin/ssh
  for ssh installed by nix home-manager.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-11-04 08:34:04 -07:00
Sirio Balmelli 255b9e0783 nix/flake.nix: fix x86_64-darwin build
The default SDK errors missing UserNotifications on x86_64-darwin.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-11-04 08:34:04 -07:00
Sirio Balmelli 6fc35e7dcb nix/flake.lock: update
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-11-04 08:34:04 -07:00
Sandro Jäckel c57b3ee28b nix: add headless variant
see https://github.com/NixOS/nixpkgs/commit/e6e229dc20b3492c2f2b7789f61b6fb8adf43ee3
2024-11-03 17:51:37 -07:00
Anthony M. Cook 0983ae90d6 Mark wayland-backend as optional dependency (#6342)
* Mark wayland-backend as optional dependency

Fixes #6315

https://github.com/wez/wezterm/commit/09ac8c53777ac6de61b757292f5dc4da80322bbd introduced the `wayland-backend` dependency, but did not mark it as optional, this prevented the build from successfully completing on X11 systems without Wayland development libraries.
2024-10-31 23:51:12 -07:00
Wez Furlong f847bd284d hbwrap: from_raw_parts handling of null ptr
use similar approach to 67d4ba9f76

closes: https://github.com/wez/wezterm/pull/6337
closes: https://github.com/wez/wezterm/issues/6336
2024-10-30 21:54:04 -07:00
Sean Estabrooks 6a0ed04df4 Alter copr spec file for Fedora 41 and Rawhide
SlouchyButton mentioned in #6015 that a Fedora Openssl
packaging change was likely causing a problem for the
copr build.

The deprecated engine header has been broken out into
its own package.  Add a dependency on it for Fedora 41
and Rawhide.
2024-10-30 21:42:23 -07:00
SATOH Fumiyasu 9ddca7bde9 docs: Put APT key into /etc/apt/keyrings
sources.list(5) says:

> The recommended locations for keyrings are
> /usr/share/keyrings for keyrings managed by packages, and
> /etc/apt/keyrings for keyrings managed by the system operator.
2024-10-15 08:31:51 -07:00
Jack Tubbenhauer 1595b5d388 docs: fix InputSelector.md typo 2024-10-15 08:30:51 -07:00
Luis Mario Domenzain ed430415ee add X11 xmonad to tiling_desktop_environments 2024-10-07 10:37:14 -07:00
Wez Furlong a2f2c07a29 cirrus: token update 2024-09-28 21:55:36 -07:00
Sean Estabrooks 2b76c63bb6 Suppress compiler warnings, due to never type (!)
As per <https://github.com/rust-lang/rust/issues/123748>
! will no longer degrades into () which in this situation
breaks type deduction; so specify it explicitly.
2024-09-22 15:12:28 -07:00
Sean Estabrooks d48e992431 Show support for ProxyUseFDpass in ssh docs
For enhancement requested in issue #6093
2024-09-22 15:12:28 -07:00
Wez Furlong c3e77c6740 docs: changelog for #6007 2024-09-22 14:47:23 -07:00
Wez Furlong 67603e73e0 PromptInputLine: fixup per code review
Apply my suggestions from code review.

closes: https://github.com/wez/wezterm/pull/6007
2024-09-22 14:45:11 -07:00
Eduard Korchmar b59cc5b008 feat: add a way to spawn populated LineEditor
feat: support pre-filled content in prompts

docs: document new PromptInputLine parameter

fix: remove reset of line contents
2024-09-22 14:45:11 -07:00
Wez Furlong de0ecc60eb docs: changelog for #6054 2024-09-22 10:59:11 -07:00
mgpinfandWez Furlong 6a12dd1a13 Custom prompt for PromptInputLine (#6054)
* option to configure PromptInputLine prompt

- Introduces an option to set custom prompt text
- If 'prompt' not passed in parameters, default value of "> " used

* commit: update documentation for PromptInputLine

* Update docs/config/lua/keyassignment/PromptInputLine.md

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-09-22 10:55:55 -07:00
Wez Furlong 5a594f5165 docs: changelog for #4568 2024-09-22 09:16:25 -07:00
Wez Furlong da0a738169 rustfmt 2024-09-22 09:11:22 -07:00
Wez Furlong d7938cb6b2 wayland: handle left/right tiling too
refs: https://github.com/wez/wezterm/pull/5897
2024-09-22 09:10:15 -07:00
Aliaksandr Truš c75d300f6f feat: implement toggle_fullscreen and hide for Wayland
closes https://github.com/wez/wezterm/pull/5897
2024-09-22 09:04:43 -07:00
Aliaksandr Truš 16a8bcdd89 fix(wayland): match inner window and window frame sizes 2024-09-22 08:06:10 -07:00
Wez Furlong 1c4fdd3f71 ci: refine triggers for no-response workflow 2024-09-21 20:46:52 -07:00
Wez Furlong 62f4b44881 ci: switch no-response workflow to "official" stale workflow 2024-09-21 20:41:28 -07:00
Wez Furlong 9d4a145303 docs: changelog for #6158
closes: #6158
2024-09-21 13:52:13 -07:00
Sean Estabrooks c63195f880 Handle # and ? characters in directory path
When referencing the current-working-directory, before
it is set by an OSC 7 escape sequence, we ask the OS
for the correct path.  This path was then being parsed
as a URL; where a "#" or "?" character would be
interpreted as the start of a fragment or query
component of a URL -- which is a mistake.

So this change parses the returned directory as such,
where those characters will be treated as a normal
character in the path.

Nothing is changed for the OSC 7 escape sequence case.
In that case, the application must percent-encode the
path before sending, so that those characters are not
misinterpreted.

As per issue #6158 reported by Syntaxheld
2024-09-21 13:50:42 -07:00
Wez Furlong c65dc63495 ci: missed an upload-artifact upgrade 2024-09-21 12:49:12 -07:00
Ricky Lopez 2b23b04f7d nix: output WezTerm.app on Mac
currently only the binaries are output. Build and output the .app dir so
that users can launch the app as-normal on Mac

Added code taken from
[nixos](https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/applications/terminal-emulators/wezterm/default.nix#L116-L123)
2024-09-21 12:02:03 -07:00
Wez Furlong 7b342a6b39 ci: update upload/download artifact workflows
closes: https://github.com/wez/wezterm/pull/6083
2024-09-21 12:00:03 -07:00