Commit Graph
6500 Commits
Author SHA1 Message Date
Wez Furlong 68c754b1f3 fonts: improve error message slightly
refs: https://github.com/wez/wezterm/issues/2772
2022-11-22 15:46:21 -07:00
Wez Furlong 4b8515e69f cleanup: a few references to the Last Resort font
It was removed in the latest release, so these no longer apply
2022-11-22 15:40:17 -07:00
Wez Furlong 8a478e29a4 docs: https://github.com/wez/wezterm/pull/2662 2022-11-22 08:37:03 -07:00
Peter Nguyen b26da03085 wezterm-gui: implement move_by_page function 2022-11-22 07:35:09 -08:00
Peter Nguyen 81d6c88af0 docs: add documentation for new default key bindings 2022-11-22 07:35:09 -08:00
Peter Nguyen 9fa44574a8 wezterm-gui: support half page up/down navigation 2022-11-22 07:35:09 -08:00
Wez Furlong 877d364bff docs: mention new background option from window_background_image
refs: https://github.com/wez/wezterm/issues/2757
2022-11-21 18:12:44 -07:00
Wez Furlong 51e45a475d cargo update 2022-11-20 22:18:37 -07:00
Orhun Parmaksız 0bf36e5ada refactor: replace the deprecated usage of chrono::TimeZone::ymd
Since `chrono` 0.4.23, `chrono::TimeZone::ymd` is deprecated
in favor of `with_ymd_and_hms()`. This commit removes the deprecated
usage and switches to the new `chrono` library API.

Signed-off-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2022-11-20 09:39:10 -08:00
Wez Furlong 173862634e docs: released 20221119-145034-49b9839f 2022-11-20 06:53:49 -07:00
Wez Furlong 49b9839fdb fix IME composition status applying to all panes
refs: https://github.com/wez/wezterm/issues/2569
2022-11-19 14:50:34 -07:00
Wez Furlong 2dd3968b9e allow disabling tabs, new tab button in tab bar
refs: https://github.com/wez/wezterm/issues/2082
2022-11-19 13:54:10 -07:00
C.D. MacEachernandWez Furlong aa72cd24d0 Update macos docs with wezterm CLI installation (#2619)
* Update macos docs with wezterm CLI installation

wezterm binary is not by default available in shells like the default zsh or bash, on macos we need to explicitly add the path to the wezterm binaries inside the WezTerm.app

* Update docs/install/macos.markdown

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2022-11-19 09:44:28 -07:00
Wez Furlong dbeeaef2f0 docs: changelog for https://github.com/wez/wezterm/pull/2661 2022-11-19 09:12:38 -07:00
kas 74e55d09e1 Fix relative CWD path given on command line being interpreted as within the server's CWD 2022-11-19 08:11:13 -08:00
jakehl d3d1db8663 fixes flow chart and typo in config file docs 2022-11-19 07:53:04 -08:00
Wez Furlong d31aeadd5a docs: changelog for https://github.com/wez/wezterm/pull/2636 2022-11-19 08:35:54 -07:00
Jet Spark ec2715a354 Fix background cover algorithm 2022-11-19 07:34:36 -08:00
Wez Furlong fde535faf1 Fix dragging by left or right status with retro tab bar
Another good example of why `_ =>` in a match is probably a bad idea.

refs: https://github.com/wez/wezterm/issues/2758
2022-11-19 08:26:33 -07:00
Wez Furlong d96b05c06c docs: fix MoveTabRelative default key assignments
closes: https://github.com/wez/wezterm/issues/2705
2022-11-19 08:14:00 -07:00
Wez Furlong 94f2225c82 docs: update first example to use wezterm.action style
closes: https://github.com/wez/wezterm/issues/2704
2022-11-19 08:08:50 -07:00
KevinSilvester 2c6748daa6 gui: improve error message for unsupported height/width values for Color and Gradient
closes: https://github.com/wez/wezterm/pull/2681
2022-11-19 08:01:57 -07:00
Wez Furlong e0aa66489f webgpu: improve messaging when no adapters are found
refs: #2756
2022-11-19 07:30:08 -07:00
Wez Furlong 7afe0c5f40 webgpu: minor optimization of shader
compute the actual color once for the vertex, rather than for each
fragment.
2022-11-19 07:13:34 -07:00
Wez Furlong a4ec2560a2 use constants for has_color values in wgsl shader and in the rust code
Slightly improve the efficiency of the hsv transform for text
by multiplying the two transforms together and performing just
one hsv color conversion.
2022-11-18 13:22:18 -07:00
Wez Furlong dad5fbd1f9 webgpu: support hsv transforms 2022-11-18 10:29:31 -07:00
Wez Furlong 1f7a34f8b2 fix resizing on windows when wgpu is enabled 2022-11-18 10:03:49 -07:00
Wez Furlong 783b39aae1 add some config options to influence webgpu selection 2022-11-18 10:03:49 -07:00
Wez Furlong 883e2d11d7 make drawRect work on macos when using webgpu 2022-11-18 10:03:49 -07:00
Wez Furlong 76576daa69 This makes webgpu actually render
It doesn't have some of the functions from the egl shader yet,
but the text is visible!
2022-11-18 10:03:49 -07:00
Wez Furlong acbec709b5 fixup crash when running in webgpu mode 2022-11-18 10:03:49 -07:00
Wez Furlong ac15dd54c0 plumb webgpu code into draw path
Using the new abstractions, we can call into webgpu code now.

It doesn't do anything useful, and in fact crashes because
the mapping of the quads is doing the wrong thing.

Will fix in the next commit.
2022-11-18 10:03:49 -07:00
Wez Furlong 9c1a88d797 Abstract more over the render state, add RenderContext 2022-11-18 10:03:49 -07:00
Wez Furlong 19385d3355 put WebGpuState into an Rc
So that we can pass it to RenderState
2022-11-18 10:03:49 -07:00
Wez Furlong 334fb8a2ed Add IndexBuffer abstraction 2022-11-18 10:03:49 -07:00
Wez Furlong d712559b72 Add VertexBuffer abstraction 2022-11-18 10:03:49 -07:00
Wez Furlong 7a77854bf0 Add MappedVertexBuffer abstraction 2022-11-18 10:03:49 -07:00
Wez Furlong c1f9fe3a84 make TripleLayerQuadAlloctor::Gpu(BorrowedLayers) self-referential
This makes it easier to manage the lifetimes of the various pieces
needed to allocate vertices, and to make it work with webgpu
in the future.
2022-11-18 10:03:49 -07:00
Wez Furlong 043606772f use a self-referential struct for mapping vertexbuffers 2022-11-18 10:03:49 -07:00
Wez Furlong 09f1ecbf82 erase generic T from Atlas, Sprite, CachedGlyph etc.
This will make it easier to use the same impl for webgpu and opengl
for a bunch of this stuff.
2022-11-18 10:03:49 -07:00
Wez Furlong 8e7eb82a22 notionally allow webgpu texture atlas creation
Nothing calls it yet, may not be correct
2022-11-18 10:03:49 -07:00
Wez Furlong 00943345b6 make Vertex conform to Pod 2022-11-18 10:03:49 -07:00
Wez Furlong 8479be7465 Basic useless wgpu based rendering foundation 2022-11-18 10:03:49 -07:00
Wez Furlong eaa91e9314 deps: update raw-window-handle 2022-11-18 10:03:49 -07:00
Wez Furlong 35e3e30d7a docs: add_wsl_distributions_to_launch_menu was removed
Update WSL related info to reflect its removal and note about
how to achieve the same effect as turning it off.

refs: #2750
2022-11-17 06:29:41 -07:00
Wez Furlong 35fd69b0d5 partially handling overflowing tab titles
The recent changes to clustering make this more likely to happen.
This doesn't handle overflow resulting from changing styles in the tab
title, but those are less common.

refs: https://github.com/wez/wezterm/issues/2560
2022-11-15 15:38:45 -07:00
Wez Furlong 62e2e996da changelog for https://github.com/wez/wezterm/pull/2746
closes: https://github.com/wez/wezterm/issues/2667
2022-11-15 09:44:44 -07:00
Xeysz Matrasx c55cecaee5 Allow windows installer to run on arm64 emulating x64 2022-11-15 08:41:18 -08:00
Wez Furlong 387d0ad3e3 rustdoc markdown fences-- 2022-11-15 09:40:10 -07:00
Wez Furlong 9569028d98 xcursor: parse and follow theme inheritance
A couple of users ran into an issue where wezterm couldn't find
their mouse cursor icons.

Looking more deeply into this, we weren't looking at `index.theme`
files and following the inheritance chain from them.

This commit addresses that!

refs: https://github.com/wez/wezterm/issues/2687
refs: https://github.com/wez/wezterm/issues/2743
2022-11-15 09:15:43 -07:00