2806 Commits

Author SHA1 Message Date
Mitchell Hashimoto
39e248df92 Merge pull request #450 from marler8997/windowsCompile
windows: initial support for zig build test
2023-09-14 06:57:31 -07:00
Jonathan Marler
a2e881ff4e windows: initial support for zig build test
Makes progress getting "zig build test" to work on windows.  Mostly
fixed issues around build configuration and added some branches throughout
the Zig code to return/throw errors for unimplemented parts.

I also added an initial implementation for getting the home dir.
2023-09-14 03:15:40 -06:00
Mitchell Hashimoto
e213a93fe3 Merge pull request #448 from mitchellh/lig-reload
macos: ensure all components are updated on config reload
2023-09-13 19:13:16 -07:00
Mitchell Hashimoto
b9dba629c1 config: default cursor style has to be block
It appears there are programs that assume this.
2023-09-13 19:01:05 -07:00
Mitchell Hashimoto
c3bf054dd4 apprt/embedded: call core app reload config so changes go to all threads 2023-09-13 19:01:05 -07:00
Mitchell Hashimoto
b4d2818522 typo in loading emoji font for linux 2023-09-13 15:28:08 -07:00
Mitchell Hashimoto
d381cefb8f bring back built-in emoji font for Linux 2023-09-13 15:27:01 -07:00
Mitchell Hashimoto
0beaafef46 Merge pull request #445 from mitchellh/observe-config
macos: AppState config must be published and observed
2023-09-13 15:12:42 -07:00
Mitchell Hashimoto
c1fe1f6646 macos: AppState config must be published and observed
Fixes #440

We previously weren't observing changes so they weren't being
automatically propagated. We were using an old pointer which at best
returned the wrong value and at worst crashed. I was able to make it
crash eventually, too.

This changes the fields to be properly published and observed and as a
result the config is immediately available to all users.
2023-09-13 15:06:41 -07:00
Mitchell Hashimoto
238d68fbbb Merge pull request #444 from mitchellh/font-fallback
font fallback search must verify presentation, do not preload emoji
2023-09-13 14:53:01 -07:00
Mitchell Hashimoto
5e75752d7d core: do not preload Apple Emoji, our fallback search can find it 2023-09-13 14:42:56 -07:00
Mitchell Hashimoto
3c7ba634d2 font: remove excess debugging code 2023-09-13 14:41:43 -07:00
Mitchell Hashimoto
e459f0f94b core: do not do emoji font fallback on Linux
Our font discovery mechanism is capable of finding this.
2023-09-13 14:41:01 -07:00
Mitchell Hashimoto
a2236d1ceb font: fallback search must verify presentation 2023-09-13 14:27:04 -07:00
Mitchell Hashimoto
afe8853fc2 Merge pull request #442 from mitchellh/no-flatpak
remove flatpak
2023-09-13 11:49:21 -07:00
Mitchell Hashimoto
d94cf2f124 remove flatpak
Flatpak support has been a HUGE pain to keep working, the builds take
forever and cost me real money, and there are very few users. Ideally,
we want to just use native system packagers for each distro. I thought
Flatpak would make it easy to support many distros but that ended up
being false.
2023-09-13 11:41:16 -07:00
Gonzalo Diethelm
e11d737a80 README: fix typos 2023-09-13 18:11:36 +02:00
Mitchell Hashimoto
0f26fb5ac5 Merge pull request #435 from mitchellh/app-mailbox
core: surface should not use app mailbox
2023-09-13 08:43:54 -07:00
Mitchell Hashimoto
678bd0de0c core: surface should not use app mailbox
The surface runs on the same thread as the app so if we use the app
mailbox then we risk filling the queue before it can drain. The surface
should use the app directly.

This commit just changes all the calls to use the app directly. We may
also want to coalesce certain changes to avoid too much CPU but I defer
that to a future change.
2023-09-13 08:34:09 -07:00
Mitchell Hashimoto
9c42b9976a macos: use appearance-sensitive bg color for error window
Fixes #432
2023-09-13 08:10:19 -07:00
Mitchell Hashimoto
a95a1a8838 macos: add button to ignore configuration errors
The popup will return on the next launch or configuration load.
2023-09-12 22:25:24 -07:00
Mitchell Hashimoto
e9d650e19b Merge pull request #431 from mitchellh/dependabot/github_actions/docker/setup-qemu-action-3
build(deps): bump docker/setup-qemu-action from 2 to 3
2023-09-12 17:19:51 -07:00
dependabot[bot]
d9cce27ab9 build(deps): bump docker/setup-qemu-action from 2 to 3
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 00:18:51 +00:00
Mitchell Hashimoto
f9eaab21a1 ci: upload tip releases to blob storage 2023-09-12 09:22:47 -07:00
Mitchell Hashimoto
0dc4d66691 Merge pull request #430 from mitchellh/confirm-quit
Confirm quit improvements, both macOS and GTK
2023-09-11 16:04:52 -07:00
Mitchell Hashimoto
fc90a4a052 apprt/gtk: do not ask for confirm window close if all surfaces idle 2023-09-11 15:53:20 -07:00
Mitchell Hashimoto
868b66ce74 apprt/gtk: integrate app needsConfirmQuit 2023-09-11 15:47:37 -07:00
Mitchell Hashimoto
999d17c49d macos: integrate needsConfirmQuit to quit if all windows are at prompt 2023-09-11 15:44:28 -07:00
Mitchell Hashimoto
56ccadd7f1 core: app needsConfirmQuit to streamline quitting if no active sessions 2023-09-11 15:44:08 -07:00
Mitchell Hashimoto
f96eb07733 Merge pull request #429 from mitchellh/macos-config-err
macos: show configuration errors in GUI
2023-09-11 15:22:06 -07:00
Mitchell Hashimoto
2f0905b60c macos: reload config MUST go through Zig core 2023-09-11 15:20:31 -07:00
Mitchell Hashimoto
42bbcbfb9b macos: add a reload configuration button 2023-09-11 15:13:02 -07:00
Mitchell Hashimoto
ffd181f10d macos: don't steal focus for config errors 2023-09-11 13:59:03 -07:00
Mitchell Hashimoto
b7f4c1d707 config: unify some error types for now 2023-09-11 13:55:06 -07:00
Mitchell Hashimoto
6f7fdf002f macos: hook up proper data events 2023-09-11 13:52:47 -07:00
Mitchell Hashimoto
711e3a5043 macos: add reload configuration to the Ghostty menu bar 2023-09-11 13:49:20 -07:00
Mitchell Hashimoto
4c0871b6dc macos: don't clear contentview for configuration on close 2023-09-11 13:39:29 -07:00
Mitchell Hashimoto
f485672d4e macos: fix some error window styling 2023-09-11 13:28:48 -07:00
Mitchell Hashimoto
db799d53e6 macos: UI for configuration errors 2023-09-11 13:21:13 -07:00
Mitchell Hashimoto
e3fbda73b5 README: note where config errors are logged 2023-09-11 10:04:49 -07:00
Mitchell Hashimoto
f93d7a8942 Merge pull request #428 from mitchellh/config-errs
Track and log configuration errors, non-fatal
2023-09-11 10:00:33 -07:00
Mitchell Hashimoto
22f3fea98f config: turn invalid config-file values into errors in the list 2023-09-11 09:46:27 -07:00
Mitchell Hashimoto
f0ee2fb454 macos: log configuration errors 2023-09-11 09:39:58 -07:00
Mitchell Hashimoto
9be46fa80a apprt/gtk: log configuration errors 2023-09-11 09:18:03 -07:00
Mitchell Hashimoto
e5123330ce config: add ErrorList file 2023-09-11 09:17:29 -07:00
Mitchell Hashimoto
4ee9531ce3 apprt/glfw: log configuration errors 2023-09-11 09:16:56 -07:00
Mitchell Hashimoto
a359641d07 config: store unknown errors in list too 2023-09-11 09:14:27 -07:00
Mitchell Hashimoto
75e8d8f0da config: arg parser supports custom types with error tracking 2023-09-11 09:10:31 -07:00
Mitchell Hashimoto
58a43f1980 config: store some basic errors on parse 2023-09-11 09:10:26 -07:00
Mitchell Hashimoto
cc13f0fe49 config: cannot set underscore-prefixed fields 2023-09-11 09:10:22 -07:00