7381 Commits

Author SHA1 Message Date
Mitchell Hashimoto
15924b285d Merge pull request #2221 from TheOnlyMrCat/gtk_opacity_2
Fix background-opacity for the GTK backend, again
2024-09-12 09:42:35 -07:00
Mitchell Hashimoto
a9a732ffce Merge pull request #2226 from ghostty-org/push-mtvnlywtrwsk
build: support building without .git directory
2024-09-12 09:40:15 -07:00
Mitchell Hashimoto
97a974b56b Merge pull request #2225 from ghostty-org/oldadw
apprt/gtk: inline adwaita checks so comptime disables conditional paths
2024-09-12 09:39:44 -07:00
Mitchell Hashimoto
47b3e5617f build: support building without .git directory
Fixes #2223
2024-09-12 09:39:17 -07:00
Mitchell Hashimoto
4cacea3813 apprt/gtk: inline adwaita checks so comptime disables conditional paths
This fixes building without libadwaita or building with an older version
of libadwaita. This also updates the CI to test this.
2024-09-12 09:34:39 -07:00
Mitchell Hashimoto
3558ac9a53 Merge pull request #2222 from ghostty-org/deco
apprt/gtk: hide header bar when window decorations are disabled
2024-09-11 21:09:05 -07:00
Mitchell Hashimoto
21460e5ded apprt/gtk: hide header bar when window decorations are disabled
Fixes #2023
Fixes regression from #2051

#2051 introduced a regression where `window-decoration=false` had no
effect when libadwaita was in use. Further, the
`toggle_window_decorations` keybinding also had no effect whatsoever.

This commit fixes this and #2023 by explicitly hiding the header bar
when window decorations are disabled. We hide the header bar rather than
the full top bar because we still want the tab bar to show up with
window decorations disabled.
2024-09-11 21:05:12 -07:00
Max Guppy
b6198e37f2 Reapply "Merge pull request #1690 from TheOnlyMrCat/gtk_opacity"
This reverts commit 57bf0b08ffe04578feb087fab739a48543c0ac75.
2024-09-12 13:36:31 +10:00
Mitchell Hashimoto
58b435516f Merge pull request #2219 from Pangoraw/toolbar-style
adw: add option to choose toolbar style
2024-09-11 12:11:38 -07:00
Mitchell Hashimoto
ff2ec11f8c config: update docs, caps 2024-09-11 12:06:40 -07:00
Paul
f0ca0e551e adw: show performance warning banner 2024-09-11 12:04:12 -07:00
Paul
fa81445701 adw: add option to choose toolbar style 2024-09-11 12:04:12 -07:00
Mitchell Hashimoto
f5df92c959 Merge pull request #2218 from ghostty-org/nix-update
Update CI Runners to Ubuntu 24.04
2024-09-11 11:43:29 -07:00
Mitchell Hashimoto
750f7a7fa4 flake: remove unnecessary unstable lib 2024-09-11 11:30:05 -07:00
Mitchell Hashimoto
162f3390ca prettier 2024-09-11 11:15:46 -07:00
Mitchell Hashimoto
5cc853aa6a flake: update to Nixpkgs 24.05 2024-09-11 11:07:28 -07:00
Mitchell Hashimoto
46dd8fa5c7 ci: test can be workflow dispatched 2024-09-11 10:59:15 -07:00
Mitchell Hashimoto
050602a117 Merge pull request #2051 from Pangoraw/adw_tab_view
gtk: use Adwaita TabView when possible
2024-09-11 10:52:19 -07:00
Mitchell Hashimoto
37ba052913 apprt/gtk: cleaup final notebook page on libadw 1.3.x 2024-09-11 10:44:30 -07:00
Mitchell Hashimoto
2b5d436792 apprt/gtk: log the libadwaita version at startup if we use it 2024-09-11 10:27:35 -07:00
Mitchell Hashimoto
8186a8835b apprt/gtk: scope comptime to only one 2024-09-11 10:17:41 -07:00
Mitchell Hashimoto
c27f427e02 apprt/gtk: the comptimeEnabled check is redundant 2024-09-11 09:50:37 -07:00
Mitchell Hashimoto
ee435af1af Merge pull request #2217 from jcollie/rm-rf-vendor-fontconfig
delete unused vendor/fontconfig-2.14.0 directory
2024-09-11 09:43:35 -07:00
Mitchell Hashimoto
afc95fefe2 apprt/gtk: use adwaita helpers, move out some complicated logic 2024-09-11 09:38:05 -07:00
Mitchell Hashimoto
1ab850fa94 apprt/gtk: move adw enabling and version checks into shared file 2024-09-11 09:21:51 -07:00
Jeffrey C. Ollie
b60ce0b107 delete unused vendor/fontconfig-2.14.0 directory
fontconfig is now fetched via the Zig build system so the vendored
copy is not used anymore.
2024-09-11 11:16:16 -05:00
Paul Berg
7aa6b0008a adw: add support for gtk-tabs-location = bottom
this falls back to top when using either right or left.
2024-09-11 17:23:56 +02:00
Paul Berg
0c286a049a gtk: add adwaita banner 2024-09-11 15:42:31 +02:00
Paul
bdf618d7af gtk: adw toolbar view
gate toolbar view on ADWAITA_MINOR >= 4

use the right destructor on window creation errors
2024-09-11 15:42:31 +02:00
Paul Berg
618a7a3fea adw: update window title on selected page change 2024-09-11 15:42:31 +02:00
Paul Berg
05e7bf7634 gtk: add devel class to window in debug builds 2024-09-11 15:42:31 +02:00
Paul Berg
439988930d gtk: respect wide-tabs option 2024-09-11 15:42:31 +02:00
Paul Berg
5327daac04 adw: implement next/previous 2024-09-11 15:42:31 +02:00
Paul Berg
9c8a9f3d6b adw: respect gtk-wide-tabs
update
2024-09-11 15:42:05 +02:00
Paul
42c93d89fc adw: move notebook to its own file 2024-09-11 15:42:03 +02:00
Paul
0e22695ec4 gtk: use adwaita tab view when possible
add tab bar view
2024-09-11 15:35:22 +02:00
Mitchell Hashimoto
60383fd2a9 Merge pull request #1992 from hqnna/update-config
macOS Autoupdate Configuration Option(s)
2024-09-10 22:11:19 -07:00
Mitchell Hashimoto
bcfe7d0f6c macos: update comment on why we don't start updater 2024-09-10 21:55:58 -07:00
Mitchell Hashimoto
359272a5f5 macos: start Sparkle after loading config 2024-09-10 21:54:40 -07:00
hanna
fd9d38481b refactor: attempted autoupdate configuration 2024-09-10 21:40:17 -07:00
Mitchell Hashimoto
5e553f2743 Merge pull request #2184 from jcollie/basic-cli-crash-report
feat: basic +crash-report cli action
2024-09-10 21:25:50 -07:00
Mitchell Hashimoto
11c3ca69f5 cli/crash-report: make it simpler (uglier, honestly) 2024-09-10 21:15:40 -07:00
Mitchell Hashimoto
4e16624676 crash: add directory listing, allocation free 2024-09-10 21:15:09 -07:00
Jeffrey C. Ollie
1a6c928951 update README 2024-09-10 20:43:00 -07:00
Jeffrey C. Ollie
6292cdec0e remove unnecessary imports 2024-09-10 20:43:00 -07:00
Jeffrey C. Ollie
d907cebae9 feat: basic +crash-report cli action
Only lists crash reports right now. Viewing and/or submitting crash
reports to come later.
2024-09-10 20:43:00 -07:00
Mitchell Hashimoto
b18598c242 Merge pull request #2215 from jcollie/fix-selection-string
fix: Surface.selectionString should return sentinel slice
2024-09-10 16:21:49 -07:00
Jeffrey C. Ollie
f1473a1464 fix: Surface.selectionString should return sentinel slice
The underlying API call returns a sentinel slice so selectionString
should do the same or there are problems later trying to free the
allocated memory.
2024-09-10 17:22:29 -05:00
Mitchell Hashimoto
67abd8804e Merge pull request #2208 from pluiedev/feat/document-common-nixos-issues
README: document common issues on NixOS
2024-09-10 11:24:30 -07:00
Mitchell Hashimoto
b7c9dafab3 prettier 2024-09-10 11:23:55 -07:00