-
-
Notifications
You must be signed in to change notification settings - Fork 833
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:
Contain
now preserves aspect ratio of tall images (height > wi…
…dth) Signed-off-by: saltkid <[email protected]>
- Loading branch information
0 parents
commit 8b6c700
Showing
1,812 changed files
with
1,359,264 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[target.x86_64-pc-windows-gnu] | ||
linker = "x86_64-w64-mingw32-gcc" | ||
ar = "x86_64-w64-mingw32-gcc-ar" | ||
|
||
# We need openssl to be statically linked on windows to avoid madness, | ||
# and openssl-src does that based on the crt-static feature being | ||
# enabled for the target, so let's turn that on here. | ||
[target.x86_64-pc-windows-msvc] | ||
rustflags = "-C target-feature=+crt-static" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
env: | ||
CIRRUS_CLONE_SUBMODULES: true | ||
CIRRUS_CLONE_DEPTH: 1 | ||
|
||
task: | ||
name: freebsd-14 | ||
|
||
compute_engine_instance: | ||
image_project: freebsd-org-cloud-dev | ||
image: family/freebsd-14-0 | ||
platform: freebsd | ||
cpu: 4 | ||
memory: 8G | ||
disk: 100 # Gb | ||
|
||
stateful: false | ||
only_if: "changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock')" | ||
install_rust_script: | ||
- pkg install -y bash | ||
- curl https://sh.rustup.rs -sSf > /tmp/rustup.sh | ||
- chmod +x /tmp/rustup.sh | ||
- RUSTUP_IO_THREADS=1 /tmp/rustup.sh -y -q | ||
getdeps_script: | ||
- env PATH=$HOME/.cargo/bin:$PATH bash get-deps | ||
- mkdir -p /run/sshd | ||
registry_cache: | ||
folder: $CARGO_HOME/registry | ||
fingerprint_script: cat Cargo.lock | ||
target_cache: | ||
folder: target | ||
fingerprint_script: | ||
- rustc --version | ||
- cat Cargo.lock | ||
before_cache_script: rm -rf $CARGO_HOME/registry/index | ||
build_script: | ||
- env PATH=$HOME/.cargo/bin:$PATH cargo build --all --release | ||
test_script: | ||
- env PATH=$HOME/.cargo/bin:$PATH cargo test --all --release | ||
|
||
task: | ||
name: ubuntu-22.04-arm | ||
only_if: "$CIRRUS_REPO_OWNER == 'wez' && changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock')" | ||
arm_container: | ||
image: ubuntu:22.04 | ||
cpu: 4 | ||
memory: 12G | ||
environment: | ||
GITHUB_TOKEN: ENCRYPTED[f20f769b749757fbdc3968320deea1c8e90f2bc2ff5f957bae4de0f022793f57400a5936fe8699bd732a231c9ed74be7] | ||
FURY_TOKEN: ENCRYPTED[833e7ce9bfd87970b321dd621677f792a65f485b40819cad30258d3a1e1569f9cb4878a2958efecdf40a5050354edd54] | ||
|
||
stateful: false | ||
install_rust_script: | ||
- echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections | ||
- apt update | ||
- apt-get install -y git curl | ||
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
install_gh_cli_script: | ||
- curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg > /usr/share/keyrings/githubcli-archive-keyring.gpg | ||
- chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg | ||
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list | ||
- apt update | ||
- apt install gh -y | ||
- gh --version | ||
getdeps_script: | ||
- env PATH=$HOME/.cargo/bin:$PATH bash get-deps | ||
build_script: | ||
- env PATH=$HOME/.cargo/bin:$PATH cargo build --release -p wezterm-gui -p wezterm -p wezterm-mux-server -p strip-ansi-escapes | ||
- export BUILD_REASON="Schedule" | ||
- export RELEASE="nightly" | ||
- "test -n \"$CIRRUS_TAG\" && BUILD_REASON=\"tag\"" | ||
- "test -n \"$CIRRUS_TAG\" && RELEASE=$(ci/tag-name.sh)" | ||
- "./ci/deploy.sh" | ||
- "ls -l *.deb" | ||
- "bash ci/retry.sh gh release upload --clobber ${RELEASE} *.deb" | ||
- "for f in wezterm*.deb ; do curl -i -F package=@$f https://[email protected]/wez/ ; done" | ||
|
||
task: | ||
name: ubuntu-24.04-arm | ||
only_if: "$CIRRUS_REPO_OWNER == 'wez' && changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock')" | ||
arm_container: | ||
image: ubuntu:24.04 | ||
cpu: 4 | ||
memory: 12G | ||
environment: | ||
GITHUB_TOKEN: ENCRYPTED[f20f769b749757fbdc3968320deea1c8e90f2bc2ff5f957bae4de0f022793f57400a5936fe8699bd732a231c9ed74be7] | ||
FURY_TOKEN: ENCRYPTED[833e7ce9bfd87970b321dd621677f792a65f485b40819cad30258d3a1e1569f9cb4878a2958efecdf40a5050354edd54] | ||
|
||
stateful: false | ||
install_rust_script: | ||
- echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections | ||
- apt update | ||
- apt-get install -y git curl | ||
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
install_gh_cli_script: | ||
- curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg > /usr/share/keyrings/githubcli-archive-keyring.gpg | ||
- chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg | ||
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list | ||
- apt update | ||
- apt install gh -y | ||
- gh --version | ||
getdeps_script: | ||
- env PATH=$HOME/.cargo/bin:$PATH bash get-deps | ||
build_script: | ||
- env PATH=$HOME/.cargo/bin:$PATH cargo build --release -p wezterm-gui -p wezterm -p wezterm-mux-server -p strip-ansi-escapes | ||
- export BUILD_REASON="Schedule" | ||
- export RELEASE="nightly" | ||
- "test -n \"$CIRRUS_TAG\" && BUILD_REASON=\"tag\"" | ||
- "test -n \"$CIRRUS_TAG\" && RELEASE=$(ci/tag-name.sh)" | ||
- "./ci/deploy.sh" | ||
- "ls -l *.deb" | ||
- "bash ci/retry.sh gh release upload --clobber ${RELEASE} *.deb" | ||
- "for f in wezterm*.deb ; do curl -i -F package=@$f https://[email protected]/wez/ ; done" | ||
|
||
task: | ||
name: debian-12-arm | ||
only_if: "$CIRRUS_REPO_OWNER == 'wez' && changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock')" | ||
arm_container: | ||
image: debian:12 | ||
cpu: 4 | ||
memory: 12G | ||
environment: | ||
GITHUB_TOKEN: ENCRYPTED[f20f769b749757fbdc3968320deea1c8e90f2bc2ff5f957bae4de0f022793f57400a5936fe8699bd732a231c9ed74be7] | ||
|
||
stateful: false | ||
install_rust_script: | ||
- echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections | ||
- apt update | ||
- apt-get install -y git curl | ||
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
install_gh_cli_script: | ||
- curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg > /usr/share/keyrings/githubcli-archive-keyring.gpg | ||
- chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg | ||
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list | ||
- apt update | ||
- apt install gh -y | ||
- gh --version | ||
getdeps_script: | ||
- env PATH=$HOME/.cargo/bin:$PATH bash get-deps | ||
build_script: | ||
- env PATH=$HOME/.cargo/bin:$PATH cargo build --release -p wezterm-gui -p wezterm -p wezterm-mux-server -p strip-ansi-escapes | ||
- export BUILD_REASON="Schedule" | ||
- export RELEASE="nightly" | ||
- "test -n \"$CIRRUS_TAG\" && BUILD_REASON=\"tag\"" | ||
- "test -n \"$CIRRUS_TAG\" && RELEASE=$(ci/tag-name.sh)" | ||
- "./ci/deploy.sh" | ||
- "ls -l *.deb" | ||
- "bash ci/retry.sh gh release upload --clobber ${RELEASE} *.deb" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
srpm: | ||
COPR_SRPM=$(outdir) ./ci/copr-build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
labels: [] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
When asking for help troubleshooting something, please remember | ||
to share as much context about what you're trying to do, | ||
specifically what configuration you tried, what happened and how it | ||
didn't match up to what you expected! | ||
- type: dropdown | ||
id: os | ||
attributes: | ||
label: What Operating System(s) are you running on? | ||
multiple: true | ||
options: | ||
- Windows | ||
- Linux X11 | ||
- Linux Wayland | ||
- macOS | ||
- FreeBSD X11 | ||
- FreeBSD Wayland | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: window_manager | ||
attributes: | ||
label: Which Wayland compositor or X11 Window manager(s) are you using? | ||
description: | | ||
If running on a unix system, please include the name and version of the compositor/WM. | ||
Windows and macOS typically can leave this blank, but if you are using additional window | ||
management software on top of the standard for those systems, please indicate that here. | ||
placeholder: "ex: Sway, Mutter, wayfire, i3." | ||
- type: input | ||
id: version | ||
attributes: | ||
label: WezTerm version | ||
description: | | ||
Please run `wezterm -V` and include its output here. | ||
If you installed the flatpak version of wezterm, please consider trying | ||
the native package format for your system and comparing the behavior, | ||
as flatpak runs in an isolated sandbox that can prevent some functionality | ||
from working fully. | ||
placeholder: "ex: 20210816-085256-935c1f48" | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Ask your question! | ||
description: | | ||
Please remember to share as much context as you can, as that makes it | ||
quicker and easier for others to understand and respond | ||
placeholder: Tell us what is on your mind! | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
github: wez | ||
patreon: WezFurlong | ||
ko_fi: wezfurlong | ||
liberapay: wez |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
name: Bug Report Form | ||
description: Create a report to help us improve | ||
labels: bug | ||
assignees: [] | ||
body: | ||
- type: dropdown | ||
id: os | ||
attributes: | ||
label: What Operating System(s) are you seeing this problem on? | ||
multiple: true | ||
options: | ||
- Windows | ||
- Linux X11 | ||
- Linux Wayland | ||
- macOS | ||
- FreeBSD X11 | ||
- FreeBSD Wayland | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: window_manager | ||
attributes: | ||
label: Which Wayland compositor or X11 Window manager(s) are you using? | ||
description: | | ||
If running on a unix system, please include the name and version of the compositor/WM. | ||
Windows and macOS typically can leave this blank, but if you are using additional window | ||
management software on top of the standard for those systems, please indicate that here. | ||
placeholder: "ex: Sway, Mutter, wayfire, i3." | ||
- type: input | ||
id: version | ||
attributes: | ||
label: WezTerm version | ||
description: | | ||
Please run `wezterm -V` and include its output here. | ||
If you installed the flatpak version of wezterm, please consider trying | ||
the native package format for your system and comparing the behavior, | ||
as flatpak runs in an isolated sandbox that can prevent some functionality | ||
from working fully. | ||
placeholder: "ex: 20210816-085256-935c1f48" | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: triednightly | ||
attributes: | ||
label: Did you try the latest nightly build to see if the issue is better (or worse!) than your current version? | ||
options: | ||
- Yes, and I updated the version box above to show the version of the nightly that I tried | ||
- No, and I'll explain why below | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Describe the bug | ||
description: A clear and concise description of what the bug is | ||
placeholder: Tell us what happened | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: to_repro | ||
attributes: | ||
label: To Reproduce | ||
description: Steps to reproduce the behavior | ||
placeholder: | | ||
Please include as much information as possible that can help to reproduce and | ||
understand the issue. | ||
- type: textarea | ||
id: config | ||
attributes: | ||
label: Configuration | ||
description: | | ||
Please include the relevant section(s) of your `wezterm.lua` configuration file. | ||
You can enter "no config" if the issue happens without you having made a config file. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: Expected Behavior | ||
description: A clear and concise description of what you expected to happen | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Logs | ||
description: | | ||
If possible, activate the Debug Overlay by pressing CTRL-SHIFT-L and then copy | ||
and paste the log lines in here. If you launched wezterm from | ||
the command line, copy and paste that output here. | ||
You can also find log files in `$XDG_RUNTIME_DIR/wezterm` on unix systems, | ||
or `$HOME/.local/share/wezterm` on macOS and Windows systems. | ||
placeholder: | | ||
09:27:26.703 INFO wezterm_gui::termwindow > OpenGL initialized! NVIDIA GeForce GT 1030/PCIe/SSE2 4.6.0 NVIDIA 470.57.02 is_context_loss_possible=false wezterm version: 20210816-085256-935c1f48 | ||
- type: textarea | ||
id: other | ||
attributes: | ||
label: Anything else? | ||
description: | | ||
Add any other context about the problem here. You can attach screenshots by clicking | ||
this area to highlight it and then drag the files in, or just paste the image from | ||
the clipboard to upload it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: Build Problem | ||
about: Having problems building from source? | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Build Environment (please complete the following information): | ||
|
||
- OS: [e.g. Linux X11, Linux Wayland, macOS, Windows]. If on Linux, Please include `lsb_release -a` in your report. | ||
- Linux: what distro, version and architecture? Please include `uname -a` in your report. | ||
- Compiler: are you using `clang`, `gcc`, `Microsoft Visual Studio` or something else? Which version? | ||
- Rust version: Please include the output from `rustup show`. Best results are | ||
generally had with a recent stable version of the rust toolchain. | ||
|
||
## Dependencies | ||
|
||
Did you run the `get-deps` script to install required system dependencies? | ||
Was it successful? | ||
|
||
If building from the git repo, did you update the submodules? Not doing this | ||
is a common source of problems; see the information at | ||
<https://wezfurlong.org/wezterm/install/source.html> for more information. | ||
|
||
## The build output | ||
|
||
Please include the output from running the build command: | ||
|
||
``` | ||
cargo build --release | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: GitHub Discussions | ||
url: https://github.com/wez/wezterm/discussions | ||
about: When you have questions that are not bug reports or feature requests | ||
- name: WezTerm room on Matrix/Element | ||
url: https://app.element.io/#/room/#wezterm:matrix.org | ||
about: if you'd prefer more realtime conversation with the community |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: Documentation Problem | ||
about: Missing, incomplete or incorrect information in the documentation | ||
title: '' | ||
labels: docs | ||
assignees: '' | ||
|
||
--- | ||
|
||
**What page or section of the docs have an issue?** | ||
Please include a link | ||
|
||
**Describe the issue** | ||
A clear and concise description of what you were looking for, couldn't find, or | ||
the where things were misleading etc. | ||
|
Oops, something went wrong.