Kristófer R
e85b114031
os/hostname: add better validation for mac-address hostnames
2024-11-04 18:59:42 -05:00
Kristófer R
9ae6806e30
os/hostname: test bufPrintHostnameFromFileUri
...
Note that this includes some failing tests because I want to make the
uri handling better and more specific. It's a little bit too general
right now so I want to lock it down to:
1. macOS only; and
2. valid mac address values
because that's how the macOS private Wi-Fi address thing works;
randomizes your mac address and sets that as your hostname.
2024-11-04 18:59:41 -05:00
Kristófer R
78abd051a2
os/hostname: test isLocalHostname
2024-11-04 18:59:41 -05:00
Kristófer R
03bb16fcec
Move hostname helpers to src/os/hostname.zig
2024-11-04 16:54:38 -05:00
Kristófer R
3b0a34afbc
Extract OSC 7 hostname parsing into helper functions
2024-10-31 21:55:02 -04:00
Kristófer R
3a3da82aa9
Update explanation for number of digits in port number
...
The explanation now refers to RFC 793 instead of just claiming some
arbitrary value as truth. The previous value was correct, but now there
is a proper source for the correct value.
2024-10-31 18:09:36 -04:00
Kristófer R
892dc27896
Make sure a potential port component is considered during hostname validation
2024-10-28 00:50:24 -04:00
Mitchell Hashimoto
e26847ccd4
Merge pull request #2505 from rithulkamesh/feature/version-compile
...
Stop building if version is not 0.13.*
2024-10-27 07:37:50 -07:00
Rithul Kamesh
c625d43818
build: require exact major/minor Zig version
2024-10-27 08:33:36 -06:00
Mitchell Hashimoto
ffc4c6e285
Merge pull request #2501 from ghostty-org/push-zzksspuskpmx
...
font/coretext: use CTFontCreateForString for final codepoint fallback
2024-10-25 21:34:38 -07:00
Mitchell Hashimoto
1aa932f810
font/coretext: use CTFontCreateForString for final codepoint fallback
...
Fixes #2499
We rely on CoreText's font discovery to find the best font for a
fallback by using the character set attribute. It appears that for some
codepoints, the character set attribute is not enough to find a font
that supports the codepoint.
In this case, we use CTFontCreateForString to find the font that
CoreText would use. The one subtlety here is we need to ignore the
last resort font, which just has replacement glyphs for all codepoints.
We already had a function to do this for CJK characters (#1637 )
thankfully so we can just reuse that!
This also fixes a bug where CTFontCreateForString range param expects
the range length to be utf16 code units, not utf32.
2024-10-25 21:29:45 -07:00
Mitchell Hashimoto
734c8cec55
Merge pull request #2490 from futurepaul/quick-terminal-improvements
...
macos: quick terminal animate duration
2024-10-25 20:48:40 -07:00
Mitchell Hashimoto
3c8fc86d6f
small rename
2024-10-25 19:23:17 -07:00
Paul Miller
f4ba95b2c5
add quick-terminal-animate-duration option
2024-10-25 19:17:38 -05:00
Mitchell Hashimoto
50329e671c
Merge pull request #2489 from hackrmomo/fix/aerospace-resizing-quick-terminal
...
Fix: aerospace no longer resizes quick terminal and instead treats it as float
2024-10-25 15:12:58 -07:00
Mitchell Hashimoto
28751ae5b8
Merge pull request #2485 from axdank/move_current_Tab
...
gui: add move_current_tab action
2024-10-25 14:15:16 -07:00
axdank
e7bd60b28e
fix type mismatch in moveTab
function parameter
2024-10-25 16:53:13 -03:00
Mitchell Hashimoto
de5ec5d83e
macos: make move_tab work
2024-10-25 11:54:07 -07:00
Mitchell Hashimoto
4885ffd042
input: note that toggle_split_zoom is macOS only
2024-10-25 09:34:53 -07:00
Mohammad Al-Ahdal
88119d0c17
default AXSubrole to .floatingWindow
2024-10-25 05:37:31 -06:00
axdank
520dda65cb
apply review changes
2024-10-25 08:07:11 -03:00
Mohammad Al-Ahdal
5a1d09bcc6
Suggestion to use window identifier instead of trying to appease heuristics
2024-10-25 03:57:39 -06:00
Mitchell Hashimoto
582b8d039a
Merge pull request #2492 from johnseth97/macos-proxy-icon-fix
...
Macos proxy icon fix
2024-10-24 21:08:15 -07:00
Mitchell Hashimoto
67bc9fa0bc
macos: nuke the titlebar from orbit when hidden
2024-10-24 21:06:45 -07:00
Mitchell Hashimoto
495925355a
config: make the proxy icon documentation more detailed
2024-10-24 20:56:45 -07:00
johnseth97
e11fb62627
Fixed type conversion garbage
2024-10-24 23:47:34 -04:00
Mitchell Hashimoto
c47bf85e05
ci: concurrency control for releases
2024-10-24 20:45:26 -07:00
Mitchell Hashimoto
0a12bd756b
ci: the fix for signing was to use the secrets directly
2024-10-24 20:36:32 -07:00
Mitchell Hashimoto
f011986a22
ci: sign debugging
2024-10-24 20:33:49 -07:00
Mitchell Hashimoto
52897236ff
ci: fix signing
2024-10-24 20:24:46 -07:00
Mitchell Hashimoto
e5d041dde5
ci: try another signing method
2024-10-24 20:22:21 -07:00
Mitchell Hashimoto
09914dee22
ci: don't use -Dstatic for releasing
2024-10-24 20:15:57 -07:00
Mitchell Hashimoto
5f04dab2d1
ci: trying to fix signing
2024-10-24 20:14:41 -07:00
Mitchell Hashimoto
7296d7831d
ci: install nix for sign tarball action
2024-10-24 20:07:44 -07:00
Mitchell Hashimoto
7ae5e7c83d
ci: minisign must be run in the nix env
2024-10-24 20:06:24 -07:00
johnseth97
6c37fe2c26
Fixed conversion error between string and enum
2024-10-24 23:06:18 -04:00
Mitchell Hashimoto
e5d7c38d06
Merge pull request #2482 from max397574/push-snqtmwzyxmwx
...
feat: make too big tab indices go to last tab
2024-10-24 20:02:57 -07:00
johnseth97
c3efda93f4
Converted config declaration to an enum
2024-10-24 23:02:50 -04:00
johnseth97
f78ddabc15
refactored proxyIconURLDidChange to pwdDidChange
2024-10-24 23:01:54 -04:00
Mitchell Hashimoto
a793ad2f0d
gtk: make goto_tab go to last tab if too large
2024-10-24 20:01:15 -07:00
Mitchell Hashimoto
a651dbf3bf
macos: fix goto last tab
2024-10-24 19:58:13 -07:00
Mitchell Hashimoto
88d996440f
Merge pull request #2491 from ghostty-org/pkg
...
System packaging guide, build.zig updates, source tarball generation with signature
2024-10-24 19:38:40 -07:00
johnseth97
fc094ee924
Fixed formatting
2024-10-24 22:15:31 -04:00
johnseth97
7301afa83e
Removed uneeded code
2024-10-24 22:12:29 -04:00
johnseth97
8e223fdcd9
Reworked proxy icon, added config options.
2024-10-24 21:54:08 -04:00
johnseth97
93f70ce237
added macos-titlebar-proxy-icon to config
2024-10-24 21:52:13 -04:00
johnseth97
a889d57562
Merge remote-tracking branch 'refs/remotes/origin/main'
2024-10-24 20:20:20 -04:00
Mitchell Hashimoto
1a12355dc9
ci: add signing and tarball generation to release-tip workflow
2024-10-24 16:32:43 -07:00
Mitchell Hashimoto
4095b189ed
build: only default system libs to false on macOS
2024-10-24 15:28:53 -07:00
Mitchell Hashimoto
b14f0f95a9
remove -Dstatic
2024-10-24 15:16:40 -07:00