3816 Commits

Author SHA1 Message Date
Mitchell Hashimoto
9e7493c4d4 Merge pull request #806 from dvorakluk/fix/balanced-pointToViewport
fix: posToViewPort when balanced padding enabled
2023-11-03 14:15:13 -07:00
xdBronch
205b27dc80 remove deps that were already provided by other packages (#797) 2023-11-03 14:04:00 -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
Mitchell Hashimoto
3eb91b8f00 Merge pull request #804 from mitchellh/macos-demini
macos: deminiaturize on new tab
2023-11-03 09:37:29 -07:00
Mitchell Hashimoto
3bef50f0cf macos: deminiaturize on new tab 2023-11-03 09:35:14 -07:00
Mitchell Hashimoto
f3a4c754c2 Merge pull request #803 from mitchellh/more-macos
More macos fixes
2023-11-03 09:18:08 -07:00
Mitchell Hashimoto
cad461fff7 macos: modify tabbing mode when entering/exiting fullscreen
Related to #799

With tabbing mode disabled, fullscreen (native) windows when creating a
new tab creates a window in the tab bar, but ALSO puts the window into a
new "screen" on macOS. When you click the tab bar, macOS animates
between screens. Its jarring!

This commit makes it so that in fullscreen we go back to automatic
tabbing even for new windows, which produces new windows within a tab.
This is normal default behavior for macOS tabbed programs. When you are
not in fullscreen or exit fullscreen, then the tabbing mode returns to
disabled so Ghostty can manage it.
2023-11-03 09:16:55 -07:00
Mitchell Hashimoto
c6ce9aea4a macos: do not set window initial size if fullscreen
Fixes #798
2023-11-03 09:06:17 -07:00
Mitchell Hashimoto
5806903c48 Merge pull request #801 from gpanders/new-window-fixup
More macOS fixups
2023-11-03 08:58:50 -07:00
Mitchell Hashimoto
de45191559 Merge pull request #802 from gpanders/sync-terminfo
terminfo: add missing % character after conditional
2023-11-03 08:56:05 -07: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
Gregory Anders
6c340810a5 macos: fix tab labeling
Fixes a regression introduced in
https://github.com/mitchellh/ghostty/pull/772.
2023-11-03 07:40:56 -07:00
Gregory Anders
a844613a26 macos: always create new window on New Window action
Fixes: https://github.com/mitchellh/ghostty/issues/799
2023-11-03 07:34:17 -07:00
Raiden1411
c9110b331d Merge remote-tracking branch 'upstream/main' 2023-11-03 13:47:55 +00:00
Mitchell Hashimoto
4ac48adf03 Merge pull request #796 from xdBronch/adwaita
fix build with libadwaita disabled
2023-11-03 06:34:48 -07: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
a09557e9be Merge pull request #795 from mitchellh/macos-reg
macos bug fixes
2023-11-02 22:17:03 -07: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
Mitchell Hashimoto
833e1a5329 macos: only modify style mask, don't overwrite
Fixes #784

The issue before was we were removing the fullscreen style which was
triggering a Cocoa assertion.
2023-11-02 22:12:52 -07:00
hanna
3bee252389 Correct the option on the ci workflow 2023-11-02 22:05:28 -07:00
Mitchell Hashimoto
eb62bae99d Merge pull request #793 from mitchellh/emoji-pres
font: if a codepoint is emoji presentation, prefer that for shaping
2023-11-02 22:04:02 -07:00
hanna
915f1f5e62 change option name and default value 2023-11-02 22:03:11 -07:00
Mitchell Hashimoto
60713b46e9 macos: terminal window must subclass nswindow to receive events
Fixes #788
2023-11-02 22:00:33 -07:00
hanna
5a161719cc Update gtk build test to use libadwaita 2023-11-02 21:58:56 -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
0df9c0e2a3 Merge pull request #780 from mitchellh/macos-no-equiv
macos: clear keyboard shortcut if unbound on reload
2023-11-01 13:05:22 -07:00
Mitchell Hashimoto
9dff980105 macos: clear keyboard shortcut if unbound on reload
Fixes #779
2023-11-01 13:02:50 -07: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
Matthew Winter
212b30a163 feat: change minimum height to 2 2023-11-01 11:51:32 +11:00
Mitchell Hashimoto
d4a626fd93 Merge pull request #777 from p00f/main
disable zig fmt for aligned comments
2023-10-31 11:19:35 -07:00
Chinmay Dalal
481af8039b disable zig fmt for aligned comments 2023-10-31 23:08:51 +05:30
Mitchell Hashimoto
209aff0176 Merge pull request #775 from mitchellh/update-zig
update zig
2023-10-31 10:00:50 -07:00
Mitchell Hashimoto
05de29c8cf Merge pull request #776 from mitchellh/gtk-tab
apprt/gtk: create new tab after current tab
2023-10-31 10:00:09 -07:00
Mitchell Hashimoto
59a53251cf apprt/gtk: create new tab after current tab
This behaves the same as macOS, and personally I prefer this behavior
because when I create a new tab, it is often contextual to what I'm
currently working on and keeping the tab nearby feels right.
2023-10-31 09:49:39 -07:00
Mitchell Hashimoto
ce05c78804 update zig 2023-10-31 09:44:09 -07:00
Mitchell Hashimoto
0659a98867 Merge pull request #772 from mitchellh/macos-confirm-quit
macos: refactor main terminal window, split state, fix some bugs
2023-10-31 09:42:28 -07:00