3763 Commits

Author SHA1 Message Date
Mitchell Hashimoto
244e7266a1 renderer/metal: don't recreate custom shader resources per frame 2023-11-17 21:50:53 -08:00
Mitchell Hashimoto
d3bc1ab6da renderer/metal: reuse an intermediate texture for custom shaders 2023-11-17 21:50:53 -08:00
Mitchell Hashimoto
bc70d19257 renderer/metal: set valid sampler properties 2023-11-17 21:50:53 -08:00
Mitchell Hashimoto
01a73994cb renderer/metal: setup sampler state 2023-11-17 21:50:53 -08:00
Mitchell Hashimoto
1e572fb10b renderer/metal: load custom shaders 2023-11-17 21:50:52 -08:00
Mitchell Hashimoto
2520bb3d07 config: introduce RepeatablePath to automatically expand 2023-11-17 21:50:36 -08:00
Mitchell Hashimoto
9fbee7e6d1 renderer: turn assertion into error 2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
dba78b20ca renderer: shadertoy convert to MSL 2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
1bd92619b1 renderer: shadertoy functions 2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
3a4aef2dcd pkg/spirv-cross: correct c header 2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
291ca16c20 build: add spirv-cross 2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
7821e6aa3a pkg/spirv-cross 2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
6634ccc09c pkg/spirv-cross 2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
1678c3a038 build: add glslang 2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
9715eef388 pkg/glslang: build SPIRV lib 2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
54ee8c1e3d pkg/glslang: complete the API 2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
4afaea19d6 pkg/glslang: shader api 2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
6ebbea84d5 pkg/glslang: can build 2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
c347148fd7 renderer/metal: CRT effect, ugly hacky code 2023-11-17 21:50:34 -08:00
Mitchell Hashimoto
28246a80b8 renderer/metal: release some of our shader initialization objects 2023-11-17 21:50:34 -08:00
Mitchell Hashimoto
3095dce685 renderer/metal: wip for loading custom shader pipelines 2023-11-17 21:50:34 -08:00
Mitchell Hashimoto
389712a698 renderer/opengl: switch to new update vs draw 2023-11-17 21:50:34 -08:00
Mitchell Hashimoto
0e92f68228 renderer: separate update frame data from draw 2023-11-17 21:50:34 -08:00
Mitchell Hashimoto
0230222c0d pkg/macos: add CoreVide for DisplayLink 2023-11-17 21:50:34 -08:00
Mitchell Hashimoto
67dce5ce0e update zig-objc 2023-11-17 21:50:34 -08:00
Mitchell Hashimoto
abe2400ed9 Merge pull request #901 from Raiden1411/invert-fg-bg
renderer: add config option to invert fg and bg of cell when selected
2023-11-17 21:49:35 -08:00
Mitchell Hashimoto
45dfbfe53c renderer: address issue with inverted cells 2023-11-17 21:47:24 -08:00
Mitchell Hashimoto
54d4aed762 Merge pull request #899 from Raiden1411/select-all
core: implement select all binding
2023-11-17 21:37:57 -08:00
Mitchell Hashimoto
cb0cfab438 comments 2023-11-17 21:37:37 -08:00
Raiden1411
fd444b6d05 renderer: add support for metal 2023-11-18 01:08:18 +00:00
Raiden1411
7a239835d2 core: add config option to invert fg and bg of cell when selected 2023-11-18 01:04:14 +00:00
Raiden1411
e3b83249d6 core: implement select all binding 2023-11-17 18:01:39 +00:00
Mitchell Hashimoto
818001956f Merge pull request #898 from der-teufel-programming/const-vars
change unmodified `var`s to `const`s in anticipation of zig changes
2023-11-17 07:46:58 -08:00
Krzysztof Wolicki
44a48f62f1 change unmodified vars to consts in anticipation of zig changes 2023-11-17 15:46:46 +01:00
Mitchell Hashimoto
7a4e167ab3 Merge pull request #897 from gpanders/primary-clipboard
clipboard: add Clipboard variant for primary clipboard
2023-11-16 21:45:01 -08:00
Gregory Anders
5290070be9 clipboard: add Clipboard variant for primary clipboard
In practice, the primary and selection clipboards are treated exactly
the same, but this allows OSC 52 sequences to use either 's' or 'p' as
the clipboard target.
2023-11-16 16:35:48 -06:00
Mitchell Hashimoto
b5bf7e9d3b Merge pull request #890 from mitchellh/faint-bg
renderer: faint should not be applied to bg alpha
2023-11-15 11:41:35 -08:00
Mitchell Hashimoto
556900a747 Merge pull request #888 from mitchellh/asian-input
Japanese input, handle multi-code point preedit states
2023-11-15 11:39:40 -08:00
Mitchell Hashimoto
ed3e3764d9 renderer: faint should not be applied to bg alpha
Fixes #889
2023-11-15 11:38:16 -08:00
Mitchell Hashimoto
df99c6e8e0 core: comment out log statements 2023-11-15 10:57:51 -08:00
Mitchell Hashimoto
ad24e5e687 renderer/opengl: use new preedit format 2023-11-15 09:59:08 -08:00
Mitchell Hashimoto
7457b40a45 renderer/metal: handle preedit wider than our screen 2023-11-15 09:53:51 -08:00
Mitchell Hashimoto
50f0aaf26b renderer/metal: support multi-codepoint preedit text 2023-11-15 09:49:28 -08:00
Mitchell Hashimoto
4cff8d972c input: do not encode enter with utf8 as pc style key
If the enter key has utf-8 attach, we assume its a dead key state being
committed so we don't process it.
2023-11-15 08:58:12 -08:00
Mitchell Hashimoto
1deafe34fb Merge pull request #881 from mitchellh/unknown-cmd
termio/exec: fall back to default command if specified command not found
2023-11-14 17:17:58 -08:00
Mitchell Hashimoto
83eff4e330 config: clarify that command can only be a single binary 2023-11-14 17:03:47 -08:00
Mitchell Hashimoto
822c67b3e0 termio/exec: fall back to default command if specified command not found
Fixes #880

If a command is specified but it can't be found, then we try to fallback
to a default command like "sh" and log the issue. This prevents Ghostty
from simply exiting.
2023-11-14 16:58:27 -08:00
Mitchell Hashimoto
903838881a Merge pull request #879 from mitchellh/update-zig
update zig
2023-11-14 09:24:43 -08:00
Mitchell Hashimoto
256e146453 Merge pull request #836 from mitchellh/pf/docs
Revise key sections of docs
2023-11-14 09:23:32 -08:00
Mitchell Hashimoto
648a521fb2 slight edits 2023-11-14 09:21:45 -08:00