2343 Commits

Author SHA1 Message Date
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
David Rubin
a578ec342f forgot to update other backends 2023-11-03 14:20:24 -07:00
David Rubin
6e575d9035 configs added 2023-11-03 13:20:26 -07:00
David Rubin
44073e4c98 add basic functionality 2023-11-03 10:58:56 -07:00
Lukáš Dvořák
8774a73302 update comment 2023-11-03 18:30:42 +01:00
Lukáš Dvořák
5224b6157c fix: posToViewPort when using balanced padding enabled 2023-11-03 18:28:34 +01:00
Gregory Anders
ffaf1f6a6f terminfo: add missing % character after conditional
Not sure this is _strictly_ necessary, but according to terminfo(5) a
conditional (`%?`) should have a closing `%` character after the "else"
part. Adding it just in case some parser somewhere depends on this.
2023-11-03 08:53:36 -07:00
Raiden1411
c9110b331d Merge remote-tracking branch 'upstream/main' 2023-11-03 13:47:55 +00:00
Raiden1411
efdc58ecbb Merge remote-tracking branch 'upstream/main' 2023-11-03 09:38:45 +00:00
xdBronch
bbdfcfe5bd fix build with libadwaita disabled 2023-11-03 03:20:35 -04:00
Mitchell Hashimoto
1235c33db2 Merge pull request #794 from hqnna/main
Add option to enable or disable libadwaita
2023-11-02 22:14:59 -07:00
hanna
63fe99809f remove hard dependency on libadwaita 2023-11-02 21:54:05 -07:00
Mitchell Hashimoto
2275768383 font: if a codepoint is emoji presentation, prefer that for shaping
Fixes #787
2023-11-02 21:46:50 -07:00
Mitchell Hashimoto
bbf333c5c6 Merge pull request #783 from xdBronch/glfw-drop
add support for file dropping to glfw runtime
2023-11-02 21:35:02 -07:00
Mitchell Hashimoto
657111c410 apprt/glfw: small line length fixes 2023-11-02 21:34:43 -07:00
Mitchell Hashimoto
0f7c534454 Merge pull request #790 from mitchellh/slonik-az/keybind-esc-seq
feat: keybind escape sequence action "esc:text" similar to "csi:text"
2023-11-02 21:30:00 -07:00
Hanna
2d7e2c8345 Integrate libadwaita for the gtk backend (#792)
* When using gtk as the backend, link libadwaita

* Update c.zig

* Use libadwaita's theme manager for gtk

* update the documentation for window-theme

* build: add libadwaita to the nix devshell

* forgot to properly import libadwaita

* apprt/gtk: adwaita style change

---------

Co-authored-by: Mitchell Hashimoto <mitchell.hashimoto@gmail.com>
2023-11-02 21:29:29 -07:00
Leo Razoumov
dc527bd2cb feat: keybind escape sequence action "esc:text" similar to "csi:text" 2023-11-02 17:50:17 -04:00
Raiden1411
59daecc304 feat(actions): add new list-keybinds action 2023-11-02 21:34:14 +00:00
Mitchell Hashimoto
cc6985d62d Merge pull request #774 from mitchellh/update-undercurl
feat: update undercurl thickness and wave height
2023-11-01 17:19:54 -07:00
xdBronch
008736c3bf add support for file dropping to glfw runtime 2023-11-01 19:19:30 -04:00
Mitchell Hashimoto
6663c13a66 core: if a font-style is specified, do not restrict style category 2023-11-01 09:49:25 -07:00
Matthew Winter
a81c7b7bb2 feat: improve variable naming 2023-11-01 19:04:20 +11:00