Kevin
9cce09a36b
add OFL.txt
2024-11-15 12:45:42 -05:00
Jon Parise
dab3c68311
macos: use a constant for the corner radius
2024-11-15 11:19:00 -05:00
Jon Parise
69f396c252
macos: only round the opposing corner
...
Also, removing the padding from the window edge.
2024-11-15 11:16:25 -05:00
Mitchell Hashimoto
e8ee92e369
Merge pull request #2676 from ghostty-org/coordinate-space
...
Refactor how we pass around sizes
2024-11-15 07:43:59 -08:00
Mitchell Hashimoto
d4c3a49268
Merge pull request #2682 from AnthonyZhOon/patch-1
...
Remove shebang from non-executable script
2024-11-15 07:43:25 -08:00
Jon Parise
07bff5f06d
macos: reduce the corner radius to 3 pixels
2024-11-15 10:15:48 -05:00
Jon Parise
d9c9f44d6e
macos: add rounded corners to the URL hover view
...
Also pad the view's position from the corners of the surface.
2024-11-15 09:27:42 -05:00
AnthonyZhOon
d4d8cbd153
Remove shebang from non-executable script
2024-11-15 19:23:20 +11:00
Mitchell Hashimoto
1792ddfff1
remove some unused structs
2024-11-14 14:25:42 -08:00
Mitchell Hashimoto
72a3d22e69
apprt/gtk: use new size structs
2024-11-14 14:04:20 -08:00
Mitchell Hashimoto
bdf3d1cb5f
apprt/embedded: fix new size struct
2024-11-14 13:58:15 -08:00
Mitchell Hashimoto
3b856f6269
renderer/opengl: update to new size struct
2024-11-14 13:49:49 -08:00
Mitchell Hashimoto
b3b5e15e96
renderer/metal: use new size struct
2024-11-14 13:44:05 -08:00
Mitchell Hashimoto
6f62944b9c
renderer: message uses new size struct
2024-11-14 13:34:36 -08:00
Mitchell Hashimoto
90c59f2462
termio: change all sizes to the new size type
2024-11-14 13:31:10 -08:00
Mitchell Hashimoto
dcb1ce8377
termio: change resize message to use new size struct
2024-11-14 13:23:24 -08:00
Mitchell Hashimoto
ca8130bec9
core: make surface use only renderer.Size
2024-11-14 13:15:56 -08:00
Mitchell Hashimoto
c1c9aac0fe
renderer: dedicated size struct, defined coordinate spaces
2024-11-14 12:36:21 -08:00
Mitchell Hashimoto
4853597cd9
Merge pull request #2675 from ghostty-org/push-sukwvwpxlkpk
...
build: -Dpie default to true in system package mode
2024-11-14 09:45:18 -08:00
Mitchell Hashimoto
bff802ae46
Merge pull request #2674 from AnthonyZhOon/main
...
Update shebangs in installed shellscripts to meet `rpmlint` and match…
2024-11-14 09:45:06 -08:00
Mitchell Hashimoto
d205f6a560
build: -Dpie default to true in system package mode
...
Fixes #2673
Rather than document this too much, I think it makes sense to just
default this to true when system package mode is enabled (`--system`)
since it seems that in multiple package ecosystems this is the desired
behavior.
This can still be overridden by setting `-Dpie=false`.
2024-11-14 09:34:07 -08:00
Mitchell Hashimoto
058bcb88ff
Make all shell integration scripts non-executable
2024-11-14 09:25:37 -08:00
Anthony
7faa73e5fd
Remove shebangs from non-executable configuration source scripts
2024-11-15 02:15:09 +11:00
Anthony
387ce53a97
Revert "Update shebangs in installed shellscripts to meet rpmlint
and match provided paths at [pkgs.org]( https://fedora.pkgs.org/41/fedora-x86_64/elvish-0.21.0-4.fc41.x86_64.rpm.html )"
...
This reverts commit c936276781107904e9af810e52f3661e91adc629.
2024-11-15 02:13:54 +11:00
Anthony
c936276781
Update shebangs in installed shellscripts to meet rpmlint
and match provided paths at [pkgs.org]( https://fedora.pkgs.org/41/fedora-x86_64/elvish-0.21.0-4.fc41.x86_64.rpm.html )
2024-11-15 01:29:50 +11:00
Mitchell Hashimoto
83b027d20b
Merge pull request #2669 from ghostty-org/push-tmluvvwsqqot
...
terminal: parse CSI t 22/23 for push/pop title
2024-11-13 20:00:05 -08:00
Mitchell Hashimoto
039f9231de
terminal: parse CSI 22/23 for push/pop title
...
Related to #2668
This just implements the VT stream parsing. The actual handling of these
events still needs to be done.
2024-11-13 19:49:45 -08:00
Mitchell Hashimoto
edb0ed88bd
Merge pull request #2663 from ghostty-org/push-kpnoznzynyuv
...
terminal: OSC7 with empty URL resets the pwd to nil
2024-11-13 13:47:36 -08:00
Mitchell Hashimoto
e225eb9eff
terminal: OSC7 with empty URL resets the pwd to nil
...
When an empty string is given to OSC7, the pwd is reset to nil (as if
the terminal never received a pwd report to begin with). This is
analogous to how OSC0/2 reset the title to nil when given an empty
string.
This is practically useful for macOS because it allows our proxy icon to
also be reset instead of being stuck on the last known path.
This breaks from any known terminal behavior. As far as I can find, this
is totally unspecified so we're somewhat free to do what we want. I
don't think any terminal programs depend on this behavior, so I think
it's safe to change it.
2024-11-13 13:43:49 -08:00
Mitchell Hashimoto
edfef1c8df
Merge pull request #2662 from ghostty-org/push-zzpqurznxmlq
...
pwd changed apprt action, macOS app sets proxy icon based on this
2024-11-13 13:37:04 -08:00
Mitchell Hashimoto
4d00babbea
ios surface view needs pwd field
2024-11-13 13:26:32 -08:00
Mitchell Hashimoto
4d9143f634
macos: use the pwd apprt action to set the proxy icon URL
2024-11-13 13:11:32 -08:00
Mitchell Hashimoto
e0a733584e
libghostty: remove the pwd function
2024-11-13 13:11:24 -08:00
Mitchell Hashimoto
e724c46c64
termio: fix some mild memory corruption
2024-11-13 12:56:02 -08:00
Mitchell Hashimoto
1af0e6260c
Merge pull request #2658 from ghostty-org/push-sstnrxoppstv
...
termio: handle empty titles (OSC 0/2)
2024-11-13 12:35:01 -08:00
Mitchell Hashimoto
3ca246ceb9
apprt: support a pwd change action
2024-11-13 12:29:30 -08:00
Mitchell Hashimoto
067a36d67c
termio: handle empty titles (OSC 0/2)
...
Fixes #2651
First, our OSC parser didn't allow blank OSC 0 or 2 requests. This
should be allowed and this fixes that with a test.
Second, it seems many terminals (iTerm2, Kitty) treat setting a blank
title as resetting to whatever the default title is rather than
explicitly setting it as blank. If a program wants a title to be blank
they should send a single space. This commit follows this behavior.
2024-11-13 12:12:43 -08:00
Mitchell Hashimoto
523e3a6ae3
deps: update iterm2 color themes
2024-11-12 19:49:53 -08:00
Mitchell Hashimoto
c8e92eeae8
Merge pull request #2648 from rockorager/update-libvaxis
...
deps: update libvaxis to v0.5.1
2024-11-12 19:25:25 -08:00
Mitchell Hashimoto
bb60190630
update zf api
2024-11-12 19:15:25 -08:00
Mitchell Hashimoto
b26ff0a41b
deps: update zf and nix hash
2024-11-12 19:07:07 -08:00
Tim Culverhouse
e0755b0a74
deps: update libvaxis to v0.5.1
...
Update libvaxis to v0.5.1, which contains the new URL for the zg
dependency. The previous URL is now defunct, as zg has been transfered
to Sam Atman.
2024-11-12 09:43:30 -06:00
Mitchell Hashimoto
2661792cf7
Merge pull request #2647 from ghostty-org/push-vsytqoyrvsvv
...
build.zig: add -Dpie option for position independent executables
2024-11-11 19:28:05 -08:00
Mitchell Hashimoto
dfe33dc9bb
build.zig: add -Dpie option for position independent executables
...
This is required by some packaging ecosytems.
2024-11-11 19:24:02 -08:00
Mitchell Hashimoto
70b984ebaf
Merge pull request #2646 from ghostty-org/push-xnylkvxuuroq
...
macos: allow additional modifiers through for ctrl+enter
2024-11-11 10:50:56 -08:00
Mitchell Hashimoto
f6ea15dd21
macos: allow additional modifiers through for ctrl+enter
...
The bug: ctrl+shift+enter on macOS 15 shows a context menu and doesn't
encode to the terminal.
This avoids a system-wide keybind that shows a context menu in macOS
15+. In general Ghostty doesn't try to override system-wide keybinds
but this one is particularly annoying and not useful to terminal users.
We've discussed making this logic configurable for all system level
keybinds but for now this is a quick fix specifically for
ctrl+shift+enter.
2024-11-11 10:13:31 -08:00
Mitchell Hashimoto
72659d48ac
Merge pull request #2637 from jcollie/core-list-valid-enums
...
core: list valid options if an invalid value is detected parsing an enum
2024-11-09 11:57:10 -08:00
Mitchell Hashimoto
8b2980284d
Merge pull request #2636 from jcollie/unifi-adwaita
...
core/gtk: unify libadwaita/adwaita options in the code
2024-11-09 11:56:58 -08:00
Mitchell Hashimoto
b76dc9e68b
Merge pull request #2626 from nfejzic/freetype-load-flags
...
feat: implement configurable freetype load flags
2024-11-09 11:31:26 -08:00
Mitchell Hashimoto
3ee6577154
some tweaks
2024-11-09 11:03:02 -08:00