2615 Commits

Author SHA1 Message Date
Raiden1411
d2d5d4ba82 chore: cleanup 2023-11-06 14:27:36 +00:00
Raiden1411
60717cde14 chore: update fullscreen implementation 2023-11-06 14:03:44 +00:00
Raiden1411
232527c9dc fix: fullscreen on new windows 2023-11-06 11:59:16 +00:00
Raiden1411
7fa712ab2b chore: more comment changes 2023-11-06 11:32:25 +00:00
Raiden1411
8d526112a1 chore: update comment 2023-11-06 10:20:52 +00:00
Raiden1411
094f8effa3 fix: begin implementation of suggested changes 2023-11-06 10:19:09 +00:00
Mitchell Hashimoto
3e0c4b0cc4 Merge pull request #823 from mitchellh/fix-macos-font-resize
fix macos font being drawn thicker when updating font size
2023-11-05 22:14:47 -08:00
Mitchell Hashimoto
fac2e470d9 inspector: add cursor style to inspector panel 2023-11-05 22:02:51 -08:00
Nawaf
b3dd363e3b fix macos font being drawn thicker when updating font size 2023-11-06 00:25:38 -05:00
Gregory Anders
9b14398153 macos: support resizing splits 2023-11-05 20:42:59 -06:00
Gregory Anders
0a2d435481 core: add resize_split binding with default keys
On macOS, use Cmd+Ctrl+Arrow keys as default bindings for resizing by 10
points in the given direction.
2023-11-05 20:20:39 -06:00
Gregory Anders
e7745dc820 core: add support for bindings with multiple parameters
This commit adds support for bindings with multiple parameters. For
example, a "resize_split" binding will have two parameters: the resize
direction and the resize amount. Multiple parameters are supported by
using a tuple as the enum value and are written in string form by
separating each argument with a comma. Example: "resize_split:up,10".
2023-11-05 20:20:39 -06:00
Mitchell Hashimoto
088e8b230a apprt: default runtime for windows is glfw 2023-11-05 18:12:38 -08:00
Mitchell Hashimoto
1a846597b1 command: stylistic changes 2023-11-05 18:03:22 -08:00
Mitchell Hashimoto
c9b7439354 pty: stylistic changes 2023-11-05 17:59:08 -08:00
Mitchell Hashimoto
85a5a231f2 termio: cleanup 2023-11-05 17:52:46 -08:00
Mitchell Hashimoto
3dc2bbc9b0 os: add internal_os.pipe for cross-platfor pipe 2023-11-05 15:54:50 -08:00
Mitchell Hashimoto
fbd2c34487 os: more comments 2023-11-05 15:48:43 -08:00
Mitchell Hashimoto
b39d1d6095 shuffle some code 2023-11-05 15:46:31 -08:00
Mitchell Hashimoto
ea5ff77e29 os: macos lang check should include lang null 2023-11-05 15:46:05 -08:00
Mitchell Hashimoto
74b840df8e rename Pty.zig to pty.zig 2023-11-05 23:41:45 +00:00
Mitchell Hashimoto
8f35d5251e os: rename env to be posix-like, do not allocate on posix 2023-11-05 15:39:25 -08:00
Mitchell Hashimoto
7594bbd621 shuffle some source around 2023-11-05 15:27:46 -08:00
kcbanner
9a5322eaf4 - Update libxev dependency
- Fixup macos compile error
2023-11-05 23:15:52 +00:00
kcbanner
232df8de8f windows: add support for the glfw backend on Windows
Changes:
- Add WindowsPty, which uses the ConPTY API to create a pseudo console
- Pty now selects between PosixPty and WindowsPty
- Windows support in Command, including the ability to launch a process with a pseudo console
- Enable Command tests on windows
- Add some environment variable abstractions to handle the missing libc APIs on Windows
- Windows version of ReadThread
2023-11-05 23:15:49 +00:00
Mitchell Hashimoto
04ef21653f config: on macOS cmd+ctrl+f toggles fullscreen by default
Fixes #171
2023-11-05 11:40:58 -08:00
Mitchell Hashimoto
f705fe6cf2 termio: initialize pwd before subprocess starts
Fixes #807
2023-11-05 11:23:14 -08:00
Mitchell Hashimoto
705f3b52c7 config: add clipboard-paste-bracketed-safe 2023-11-05 09:25:06 -08:00
Mitchell Hashimoto
f521b0cb99 core: not unsafe on bracketed 2023-11-05 09:20:27 -08:00
Mitchell Hashimoto
ef44551522 apprt/embedded: hook up paste confirmation 2023-11-05 09:20:16 -08:00
Raiden1411
467b840bcf glfw: send warning for fullscreen 2023-11-05 15:19:29 +00:00
Raiden1411
19afbb90a7 fix: glfw build 2023-11-05 14:06:33 +00:00
Raiden1411
dff3ce6eb5 chore: add targets 2023-11-05 13:26:51 +00:00
Raiden1411
aa62d78fc2 chore: add log to setTitle 2023-11-05 12:03:08 +00:00
Raiden1411
d45415c8bf more match fixes 2023-11-05 12:01:11 +00:00
Raiden1411
17c6496855 fix: match main 2023-11-05 11:58:44 +00:00
Raiden1411
9e9ad67d3c feat: add support for fullscreen, title and class values 2023-11-05 11:49:25 +00:00
Mitchell Hashimoto
ebd57f6bbc apprt/gtk: correct new tab button click function signature
Fixes #674

We were incorrectly reusing the action activate signal callback for the
button click. These have different function signatures.
2023-11-04 16:57:01 -07:00
Mitchell Hashimoto
06a469fc4b core: do not consider bracketed pastes unsafe 2023-11-04 12:08:34 -07:00
Mitchell Hashimoto
85d4a9a572 Merge pull request #812 from mitchellh/feature/clipboard-safety
GTK Feature: Clipboard Safety
2023-11-04 11:28:55 -07:00
Mitchell Hashimoto
43e1c9f147 apprt/gtk: tweak unsafe paste window 2023-11-04 11:27:39 -07:00
Mitchell Hashimoto
254365afab terminal: add sanitize.zig 2023-11-04 11:25:02 -07:00
Mitchell Hashimoto
ab9a9b6eb1 apprt/gtk: copy change for unsafe paste window 2023-11-04 11:24:48 -07:00
Mitchell Hashimoto
a38220eade terminal: move sanitization check to this package, unit test 2023-11-04 11:19:25 -07:00
David Rubin
65c9ba0a86 add todos + make sure non-implimented platforms still work. 2023-11-04 00:50:26 -07:00
Mitchell Hashimoto
cb684e35cc font/coretext: discovery scoring should take into account symb. traits
Fixes #707

Our scoring algorithm previously did not take into account symbolic
traits, so when `bold = false and italic = false`, regular, bold, italic
would all be equally likely to appear first.

This modifies our scoring algorithm to prioritize matching symbolic
traits. Further, we have a special case for no symbolic traits to
prioritize "Regular" named styles. We can expand this to other styles
too but we do not do this here.

We also modified the algorithm to always prefer fonts with more glyphs
over fonts with less, hopeful that we can load fewer fonts for other
glyphs later.
2023-11-03 22:21:34 -07:00
Mitchell Hashimoto
05e73ace36 Merge pull request #789 from Raiden1411/main
feat(actions): add new `list-keybinds` action
2023-11-03 17:55:59 -07:00
Mitchell Hashimoto
e73d3db497 cli/list-keybindings: stylistic changes 2023-11-03 17:51:34 -07:00
Mitchell Hashimoto
debeba99db input: Binding.Trigger format 2023-11-03 17:48:19 -07:00
Mitchell Hashimoto
cb4bb8aaf6 input: add Binding.Action.format to convert action to string 2023-11-03 15:57:14 -07:00