6783 Commits

Author SHA1 Message Date
Mitchell Hashimoto
e54413c04b Merge pull request #1909 from jparise/mdgen-repo-url
build: update repository URLs in mdgen documents
2024-07-01 16:51:21 -07:00
Jon Parise
ade0e7aeaf build: update repository URLs in mdgen documents 2024-07-01 19:15:08 -04:00
Mitchell Hashimoto
bbba5ee7b5 Merge pull request #1908 from ghostty-org/macosql
macos: implement ctrl+command+d for quicklook under cursor
2024-07-01 10:12:22 -07:00
Mitchell Hashimoto
7fbc73ad37 macos: implement ctrl+command+d for quicklook under cursor 2024-07-01 10:08:38 -07:00
Mitchell Hashimoto
85b8d87966 Merge pull request #1907 from jcollie/no-inherit-gtk-env
Don't leak env vars in GTK apprt.
2024-07-01 09:35:36 -07:00
Mitchell Hashimoto
076c395cbe Merge pull request #1904 from antonk52/f/config-docs
docs: add valid values for enum config options
2024-07-01 09:34:23 -07:00
Mitchell Hashimoto
d946809d6d config: note blank valid value 2024-07-01 09:34:07 -07:00
Jeffrey C. Ollie
fa6d2b2913 Don't leak env vars in GTK apprt.
The GTK apprt should not leak the GDK_DEBUG and GSK_RENDERER env vars
to child processes.
2024-07-01 11:25:48 -05:00
Mitchell Hashimoto
e2c359274d Merge pull request #1906 from ghostty-org/man
macos: add man pages to app bundle
2024-07-01 08:45:23 -07:00
Mitchell Hashimoto
b35ba8982a macos: add man pages to app bundle 2024-07-01 08:43:50 -07:00
Anton Kastritskii
af18adb192 docs: add valid values for enum config options
fixes #1899
2024-07-01 15:02:22 +01:00
Mitchell Hashimoto
4fdf1f99c8 Merge pull request #1901 from ghostty-org/macos-context
macOS: Context Menu
2024-06-30 20:18:13 -07:00
Mitchell Hashimoto
a076b1c4a4 Merge pull request #1900 from blinsay/benl/config-reload-docs
docs: add a note about config reload to README.md
2024-06-30 20:00:24 -07:00
Mitchell Hashimoto
f203124de0 prettier 2024-06-30 19:56:54 -07:00
Mitchell Hashimoto
57d71450ab ctrl+click is handled as right-click (with various details)
If mouse capturing is enabled, we encode ctrl+click as ctrl+left-click
and DO NOT handle it as right click.
2024-06-30 19:44:51 -07:00
Mitchell Hashimoto
1d70e822c5 macos: disable macOS-only API on iOS 2024-06-30 19:03:06 -07:00
Mitchell Hashimoto
f0737356cb macos: i don't like windowing in the context menu 2024-06-30 15:19:59 -07:00
Mitchell Hashimoto
174d83bfd3 macos: add windowing commands to context menu 2024-06-30 15:18:33 -07:00
Mitchell Hashimoto
6c01d20eb7 macos: add string extension 2024-06-30 14:58:28 -07:00
Ben Linsay
50909107c4 Add a line to the README about config reload 2024-06-30 14:38:41 -04:00
Mitchell Hashimoto
27fd05d112 apprt/gtk: conform to new mouse button API 2024-06-30 10:26:27 -07:00
Mitchell Hashimoto
32588a647f core: on right click, only create selection if point isn't in prev sel 2024-06-30 10:24:53 -07:00
Mitchell Hashimoto
a586eb9889 core: right-click press selects word 2024-06-30 10:22:34 -07:00
Mitchell Hashimoto
a771d65735 macos: start context-menu 2024-06-30 10:15:36 -07:00
Mitchell Hashimoto
03f37087a5 mouse button callbacks returns bool for consumption 2024-06-30 09:42:15 -07:00
Mitchell Hashimoto
38c31e98f1 Merge pull request #1898 from ghostty-org/pressure-click
Mouse Pressure Support and QuickLook on macOS
2024-06-30 12:35:37 -04:00
Mitchell Hashimoto
46a0cbf9d7 macos: remove log statement 2024-06-30 09:18:13 -07:00
Mitchell Hashimoto
78dbee00e2 Merge pull request #1897 from coxley/unfocused-split-fill-doc
docs: Convert 'unfocused-split-fill' comments into doc block
2024-06-29 21:56:00 -04:00
Codey Oxley
73d3761f65 docs: Convert 'unfocused-split-fill' comments into doc block 2024-06-29 21:27:23 -04:00
Mitchell Hashimoto
db29c10bce apprt: scale coretext font size for quicklook properly 2024-06-29 11:43:13 -05:00
Mitchell Hashimoto
afc172728f macos: offset quicklook box a bit to look better (imo) 2024-06-29 11:31:12 -05:00
Mitchell Hashimoto
9a78563428 add TODO for branch 2024-06-29 11:29:02 -05:00
Mitchell Hashimoto
26735f0e05 apprt: convert selection info to a single struct and C API 2024-06-29 11:23:14 -05:00
Mitchell Hashimoto
80700d524d macos: add API to get selection top-left for quicklook 2024-06-29 10:42:45 -05:00
Mitchell Hashimoto
4c3fbffa4b macos: return valid selection range 2024-06-29 10:42:45 -05:00
Mitchell Hashimoto
d5f27245d4 macos: hacky API to get a CTFont for QuickLook 2024-06-29 10:42:45 -05:00
Mitchell Hashimoto
280b8efacc macos: I don't need any custom quicklook stuff 2024-06-29 10:42:45 -05:00
Mitchell Hashimoto
99faeab649 macos: release pressure on mouseUp 2024-06-29 10:42:45 -05:00
Mitchell Hashimoto
6faeb9ba40 core: mouse pressure state and callbacks 2024-06-29 10:42:45 -05:00
Mitchell Hashimoto
c165cef0a6 macos: initialize some pressure click boilerplate 2024-06-29 10:42:44 -05:00
Mitchell Hashimoto
110ef5c9a5 Merge pull request #1894 from ghostty-org/sparkle
macos: update Sparkle to 2.6.3
2024-06-29 09:19:52 -04:00
Mitchell Hashimoto
c290a28667 macos: update Sparkle to 2.6.3
There are numerous fixes since our previous version (2.5.1) and I
believe at least one is one that users have hit where unarchiving didn't
work properly despite a properly built archive. I'm hoping this improves
that.

Besides this, there is one major security fix. I think it was low risk
to our project currently but I read through it and it is sensible to
protect against the case.
2024-06-29 08:11:36 -05:00
Mitchell Hashimoto
7220e904b4 Merge pull request #1893 from ghostty-org/scroll-full
core: mouse within top/bottom 1 pixel should scroll selection
2024-06-29 00:49:34 -04:00
Mitchell Hashimoto
c3f78bc69d core: mouse within top/bottom 1 pixel should scroll selection
Fixes #1892

We previously required a negative y or y beyond the height of the window
but in a full screen scenario neither happen, so we add a one pixel
buffer instead where we still scroll.
2024-06-28 23:45:42 -05:00
Mitchell Hashimoto
4a0e148fe9 Merge pull request #1891 from NgoHuy/fix-issue-1667
Change GSK_RENDERER to opengl instead ngl which is set by default
2024-06-28 19:10:09 -04:00
Severus
49d10fb661 Fix issue 1667
When GTK 4.14 released, it used ngl by default with GSK_RENDERER. It
leads to destroy VAO state when we closed tab or detach tab. It handles
it incorrectly with opengl's engine.

This is a fix for that issue.
2024-06-28 23:35:55 +07:00
Mitchell Hashimoto
1d1733f86f Merge pull request #1890 from ghostty-org/oni
pkg/oniguruma: add additional header configs for build
2024-06-28 05:07:46 -07:00
Mitchell Hashimoto
1677e95f86 pkg/oniguruma: add additional header configs for build
Fixes #1887

There seems to be no issue adding these for our other platforms and it
appears to get builds on Chimera working.
2024-06-28 07:34:55 -04:00
Mitchell Hashimoto
18d1cb49b3 Merge pull request #1886 from injust/patch-1
fix a typo in Config.zig
2024-06-28 04:28:37 -07:00
Justin Su
4de204659d fix a typo in Config.zig 2024-06-25 19:58:21 -04:00