619 Commits

Author SHA1 Message Date
Mitchell Hashimoto
3ba0787ec2 macOS: save dSYM files
The focus of this commit is to store the dSYM files associated with
official macOS builds. dSYM files allow us to map crash reports to
source.

The dSYM files are primarily uploaded to our official blob storage where
all releases are also stored. We also upload the dSYM files to Sentry
since I'm experimenting with using that for crash reproting (note:
manual crash reporting, no automatic network traffic).

This commit also changes our blob URLs for releases to use the full
Git SHA rather than a build number. This is much easier to trace back.
2024-08-28 21:33:32 -07:00
Mitchell Hashimoto
80327402b8 Merge pull request #2120 from edmz/last_tab
macos: jump to last_tab
2024-08-26 20:22:52 -07:00
Mitchell Hashimoto
866a7dfcf1 macos: remove unused gotolasttab 2024-08-26 20:17:19 -07:00
Mitchell Hashimoto
18419d3589 Clamp initial window size configurations to screen size
Fixes #2145
2024-08-26 10:09:05 -07:00
Mitchell Hashimoto
90d21a6a65 macos: do not open a window on reopen if terminal manager has any
Fixes #2135. See the comment on how this is possible.
2024-08-22 19:58:41 -07:00
pnodet
7ff9af1520 style(macos): cleanup trailing spaces 2024-08-21 21:53:09 +02:00
Eduardo Dominguez
262902a28d macos: jump to last_tab 2024-08-19 12:19:00 -06:00
Mitchell Hashimoto
affe12d68c ios: add focusInstant field to surface 2024-08-11 11:10:35 -07:00
Mitchell Hashimoto
2e0e8897e7 macos: avoid showing overlay if gained focus recently 2024-08-11 11:07:07 -07:00
Mitchell Hashimoto
4680c87c8b macos: pause resize overlay until 500ms passes 2024-08-11 10:34:53 -07:00
Mitchell Hashimoto
448382b49d macos: add iOS field necessary 2024-08-10 21:08:59 -07:00
Mitchell Hashimoto
0e2012617e macos: truncate tail of resize view 2024-08-10 21:01:29 -07:00
Mitchell Hashimoto
1c982278f3 macos: use dedicated overlay view for resize overlay 2024-08-10 20:56:21 -07:00
Mitchell Hashimoto
9cf247bb3e macos: implement resize overlay
Implements the resize overlay configurations completely.
2024-08-10 20:17:33 -07:00
Łukasz Niemier
f9be02a20f chore: clean up typos 2024-08-05 13:56:57 +02:00
Mitchell Hashimoto
9785130c03 macos: add "Reset Terminal" context menu option 2024-08-01 14:58:03 -07:00
Mitchell Hashimoto
5268780f00 macos: comment on clearing tab 2024-07-21 10:09:18 -07:00
Justin Su
f57f9f2ec9 Use 1-indexed values when dealing with tabs 2024-07-21 03:32:43 -04:00
Justin Su
823e073795 Relabel all tabs and clear labels for tabs with no key equivalent 2024-07-21 02:27:51 -04:00
Justin Su
7919cb266e Update comment 2024-07-21 02:12:47 -04:00
Gregory Anders
c9c7b3803e macos: add split menu items to context menu 2024-07-10 08:47:04 -05:00
Mitchell Hashimoto
eaa7a3f69c macos: left hover needs to be higher Z so it takes mouse priority 2024-07-09 09:18:32 -07:00
Mitchell Hashimoto
4d3797c15e macos: limit URL preview to a single line, ellipses in middle 2024-07-09 09:15:45 -07:00
Mitchell Hashimoto
571182fb60 macos: move OSC8 URL view to right if mouse is over it 2024-07-06 21:33:42 -07:00
Mitchell Hashimoto
9344676960 macos: fix iOS build 2024-07-06 10:45:57 -07:00
Mitchell Hashimoto
cb790b8e39 macos: show URL on OSC8 hover 2024-07-06 10:25:12 -07:00
Mitchell Hashimoto
d5a23e78fe macos: some disabled swiftui code that makes link tooltips show 2024-07-06 10:01:35 -07:00
Mitchell Hashimoto
e3f299ac80 macos: relabel tabs when mergeAllWindows is called
Fixes #1902
2024-07-02 14:08:21 -07:00
Mitchell Hashimoto
7fbc73ad37 macos: implement ctrl+command+d for quicklook under cursor 2024-07-01 10:08:38 -07:00
Mitchell Hashimoto
b35ba8982a macos: add man pages to app bundle 2024-07-01 08:43:50 -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
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
afc172728f macos: offset quicklook box a bit to look better (imo) 2024-06-29 11:31:12 -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
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
c9c1bd0531 macos: titlebar tabs should do nothing if no titlebar
Fixes #1876
2024-06-25 10:03:05 -07:00