1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-18 10:52:16 +03:00
Commit Graph

4536 Commits

Author SHA1 Message Date
Wez Furlong
591e1f593c termwiz: import widechar_width wcwidth implementation
This commit adopts the use of https://github.com/ridiculousfish/widecharwidth/
to determine the width of a character.

This allows removing a couple of other rust deps that are no longer
needed, but doesn't otherwise change the behavior.

refs: https://github.com/wez/wezterm/issues/1231
2021-11-24 18:11:59 -07:00
Wez Furlong
f0f7110dfe ci: windows -> windows-latest
GH are deprecating the version we were using, so let's see if simply
upgrading to latest works out.
2021-11-23 06:57:48 -07:00
Wez Furlong
9822e80adb wezterm-ssh: ask kernel to allocate port number for tests
The ssh tests are the main flakey failure in CI, so let's see if
we can make them less flakey.
2021-11-23 06:16:31 -07:00
Wez Furlong
bf9a95ea1b remove our incomplete allsorts shaper implementation
We rely on using freetype in order to support more fonts in more
situations, and we have a deeper existing integration with harfbuzz.

I'm unlikely to come back to allsorts to complete our integration,
and in the meantime, it just adds overhead to build/test and those
builds are taking longer and longer.

I loved the idea of using pure rust for all the font stuff, but
its time is not now.

closes: #587
closes: #66
2021-11-23 05:43:13 -07:00
Wez Furlong
f9ce727281 remove wgpu from window test deps
We don't use this and all it really does it make `cargo test`
take longer
2021-11-23 05:39:07 -07:00
Wez Furlong
d1e0562631 restore async_ossl dep after wezterm-ssh crates.io release 2021-11-23 05:36:52 -07:00
Wez Furlong
3f63f4a2e2 prep for wezterm-ssh release 2021-11-23 05:35:51 -07:00
Wez Furlong
30cb55a7bd pty: bump version
The changes in #1275 introduce an API change, so let's not forget to
bump this.
2021-11-23 05:22:32 -07:00
Waleed Khan
cda28fa0ad pty: add CommandBuilder::env_clear, CommandBuilder::env_remove functions 2021-11-23 05:16:55 -07:00
Wez Furlong
f0f881af9d ci: use correct name for secret 2021-11-22 20:25:14 -07:00
Wez Furlong
6aff2604d7 ci: base encode the pw 2021-11-22 20:07:51 -07:00
Wez Furlong
6b04480318 ci: debugging 2021-11-22 18:31:16 -07:00
Wez Furlong
d3585edf37 ci: add more logging around codesigning 2021-11-22 17:10:42 -07:00
Wez Furlong
f655f75f2b ci: take another pass at codesigning 2021-11-22 15:27:55 -07:00
Wez Furlong
5be0196b69 ci: smart quotes/dashes are horrible 2021-11-22 14:09:08 -07:00
Wez Furlong
4ceaf980a9 ci: fix missing -
3rd time's the charm?
2021-11-22 13:01:03 -07:00
Wez Furlong
03a17f8ed6 cargo update again 2021-11-22 12:17:10 -07:00
Wez Furlong
98e107f307 gah, missed a bit 2021-11-22 12:16:55 -07:00
Wez Furlong
06e35bbd52 ci: maybe enable codesigning on macos
refs: https://github.com/wez/wezterm/issues/482
2021-11-22 11:27:14 -07:00
Wez Furlong
f28c1dc626 cargo update 2021-11-22 07:41:03 -07:00
Wez Furlong
3b30230d58 windows: gui: only attach parent console when spawned by wezterm
speculative attempt to do something about https://github.com/wez/wezterm/issues/1278
2021-11-21 09:21:44 -07:00
Wez Furlong
a006f9a119 docs: changelog for #1330 2021-11-21 08:51:53 -07:00
Luis Javier Merino Morán
65e2c1f914 Fix DECRPTUI response
DECRPTUI, the response to DA3, should be:
 DCS ! | D...D ST
not
 CSI = D...D ST
2021-11-21 07:49:35 -08:00
nick black
3092443f89 provide missing positional arguments to diagnostics 2021-11-19 14:47:05 -08:00
Manpreet Singh
e7b8c7e8b8
Fedora 35 builds (#1323)
* Fedora 35

* Update docs/install/linux.markdown

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2021-11-15 17:33:38 -08:00
Wez Furlong
0ed48f7666 cargo update
Mostly to pick up a libssh fix on arm

refs: https://github.com/wez/libssh-rs/issues/2
2021-11-14 15:45:37 -07:00
Wez Furlong
f3a2e841ca allow using relative cwd for wezterm cli subcommands
refs: #1243
2021-11-13 21:00:09 -07:00
Wez Furlong
da3296892e docs: changelog for #1301 2021-11-13 12:44:51 -07:00
Jonathan
e9ed2b4d3e
Unzoom when switching panes (#1301)
* mux: unzoom when switching panes

Add `unzoom_on_switch_pane` config option:

When switching to another pane with ActivatePaneDirection, if the
current pane is zoomed, unzoom and then switch instead of doing nothing.

* Apply suggestions from code review

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2021-11-13 11:43:15 -08:00
Wez Furlong
30ab6f2026 docs: changelog for #1311 2021-11-13 09:34:58 -07:00
Cédric Schieli
311eb30d7f Remove unneeded offsets in powerline outline semicircle custom glyphs 2021-11-12 18:38:11 -08:00
Cédric Schieli
7d9615b4ba Better alignment for powerline outline semicircle custom glyphs 2021-11-12 18:38:11 -08:00
Cédric Schieli
dd832dcccf Improve powerline outline semicircle custom glyphs 2021-11-12 18:38:11 -08:00
Benoit de Chezelles
fa76a64504 Improve powerline filled semicircle custom glyphs 2021-11-12 18:38:11 -08:00
Wez Furlong
c47c7c6d1f Apply suggestions from code review 2021-11-09 07:47:57 -08:00
Matt Culpepper
54837a696c Manjaro requires additional base-devel package 2021-11-09 07:47:57 -08:00
Wez Furlong
4225610c09 add config option to enable resize increments, disable by default
refs: #1254
refs: #1289
2021-11-09 08:30:58 -07:00
Wez Furlong
1ec7e10c19 fonts: ls-fonts now handles system fallback lists, adds Menlo on macos
It appears as though Menlo is the only font on macos to contain the
heavy ballot cross symbol, which is commonly used on macos (eg: in
`brew` output).

Our fallback list, despite starting with Menlo, didn't include menlo
itself in the candidates.

Furthermore, `ls-fonts` wouldn never see the result of the system
fallback resolution because it didn't know to try again, and was
using the list of handles from before the fallback.

This commit resolves all of these concerns.

refs: #849
2021-11-08 22:49:52 -07:00
Wez Furlong
7c5d53c689 use zsh rather than bash for emoji-presentation test 2021-11-08 20:49:16 -07:00
Wez Furlong
a6da956859 cargo update 2021-11-08 07:57:40 -07:00
Wez Furlong
f56a6aa276 termwiz: allow degenerate empty parameter in iTerm2 protocol
The `bv` utility emits this slightly wonky sequence; since iTerm2 allows
it, we should also allow it.

refs: #1291
2021-11-05 08:08:03 -07:00
Wez Furlong
154691a196 ssh: point to released libssh-rs crate 2021-11-03 09:17:32 -07:00
Wez Furlong
2dc3db7648 docs: changelog for #1249 2021-11-03 07:01:27 -07:00
Wez Furlong
0cdd0f44b0 wezterm-font: fix warning 2021-11-03 06:58:09 -07:00
Greg V
a2aec889c8 fonts: save used fontconfig match string in the origin for better visibility 2021-11-03 06:57:15 -07:00
Greg V
18e969e9aa fonts: use FcFontMatch to resolve fontconfig aliases like 'monospace' (fixes #1249) 2021-11-03 06:57:15 -07:00
Wez Furlong
d97d48545f cargo update 2021-11-03 06:41:06 -07:00
Wez Furlong
ae18996c23 wayland: fix warning 2021-11-03 06:40:28 -07:00
Wez Furlong
e736d02d9e remove patched openssl-sys crate
The appropriate openssl-src is now used upstream
2021-11-03 06:38:20 -07:00
Waleed Khan
539d72a97f tmux-cc: fix suspicious-looking decimal literals
Clippy complained that these were decimal literals, not octal literals. Add the `0o` prefix to make them such.
2021-10-27 12:56:48 -07:00