121 Commits

Author SHA1 Message Date
Mitchell Hashimoto
2b28106837 update zig 2023-10-02 08:18:35 -07:00
Mitchell Hashimoto
9421bec3a1 cli: move cli_args.zig to cli 2023-09-23 22:46:16 -07:00
Mitchell Hashimoto
7fc66f3851 cli: dedicated directory 2023-09-23 22:42:09 -07:00
Mitchell Hashimoto
718c8d7ac8 main: disable stderr logging by default for lib 2023-09-20 12:38:26 -07:00
Mitchell Hashimoto
7059b4f74d apprt/embedded: ghostty_cli_main 2023-09-20 12:35:52 -07:00
Mitchell Hashimoto
dcf615022e apprt/gtk: key file for logic related to keys 2023-09-18 14:27:05 -07:00
Mitchell Hashimoto
23054dc393 main: only check for CLI actions on non-lib builds 2023-09-15 17:14:12 -07:00
Mitchell Hashimoto
bcd88619c6 can enable logging for CLI actions with GHOSTTY_LOG env var 2023-09-15 12:15:12 -07:00
Mitchell Hashimoto
26313bc85d do not write logs to stderr for cli actions 2023-09-15 09:27:48 -07:00
Mitchell Hashimoto
dbfedd2400 Add --version for outputting version, framework for more actions 2023-09-15 09:17:58 -07:00
Mitchell Hashimoto
2704b54bc5 warn if the binary is a debug build 2023-08-09 15:18:35 -07:00
Kevin Hovsäter
22b8173164 Fix typos 2023-08-08 14:27:34 +02:00
Mitchell Hashimoto
60a36ca5cc apprt/gtk: enable single instance mode 2023-08-07 19:26:57 -07:00
Mitchell Hashimoto
bf25bf0a6a move a bunch of files to src/os 2023-07-10 16:48:22 -07:00
Mitchell Hashimoto
9a0d131b5b move TempDir to src/os and use the real tmpDir 2023-07-09 12:14:05 -07:00
Mitchell Hashimoto
3ec8ce8063 terminfo: basic Source structure and can encode 2023-06-23 19:22:16 -07:00
Mitchell Hashimoto
3e1f975551 move config loading into apprt to prep for reloading 2023-03-19 09:50:17 -07:00
Mitchell Hashimoto
3ce7baf30e config: dedicated load func so we can reload 2023-03-19 09:49:44 -07:00
Mitchell Hashimoto
0907da4eba build: generate a version number, show in log on startup 2023-03-04 20:34:15 -08:00
Mitchell Hashimoto
06035e2f95 can now use -Dfont-backend to choose the font backend to use 2023-03-04 10:50:13 -08:00
Mitchell Hashimoto
2a40bdabca macos: load config file default file locations 2023-03-03 09:01:13 -08:00
Mitchell Hashimoto
d8537732dd config: add functions to load from home and load configured 2023-03-03 08:57:21 -08:00
Mitchell Hashimoto
e775c434fb add log when config file is successfully read 2023-03-02 21:22:37 -08:00
Mitchell Hashimoto
d1a1ba4cb6 output runtime at startup 2023-02-25 15:09:26 -08:00
Mitchell Hashimoto
c8e0b0c6f3 don't log config its too noisy 2023-02-24 07:58:31 -08:00
Mitchell Hashimoto
fb13838532 apprt newWindow/newTab do not have to return a surface 2023-02-24 07:58:30 -08:00
Mitchell Hashimoto
2dda1d65a4 main update to new runtime API 2023-02-24 07:58:29 -08:00
Mitchell Hashimoto
053748481a more crap 2023-02-24 07:58:29 -08:00
Mitchell Hashimoto
fbe35c226b Integrating new surface 2023-02-24 07:58:29 -08:00
Mitchell Hashimoto
3d8c62c41f apprt refactor in progress, launches glfw no window 2023-02-24 07:58:29 -08:00
Mitchell Hashimoto
d368b8e727 setup app, run works but crashes in OpenGL 2023-02-24 07:58:29 -08:00
Mitchell Hashimoto
f268f3955e init gtk app 2023-02-24 07:58:29 -08:00
Mitchell Hashimoto
48c9c65915 add app runtime option, add gtk backend 2023-02-24 07:58:29 -08:00
Mitchell Hashimoto
d8dd0be32a main: fix tracy allocator in GlobalState 2023-02-19 11:11:06 -08:00
Mitchell Hashimoto
55b05b22bb c: create/destroy surface API 2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
eed6979868 apprt: start embedded implement, make App API available to C 2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
ba8f142770 app: only create first window in exe mode 2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
26182611c6 move allocator to global state 2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
9bd527fe00 macos: config API 2023-02-19 10:44:54 -08:00
Mitchell Hashimoto
8b80e65928 lots of broken stuff 2023-02-19 10:44:54 -08:00
Mitchell Hashimoto
be75109a1d new build system 2023-02-14 20:58:33 -08:00
Mitchell Hashimoto
11d6e91228 termio: reader thread is thread-safe for writing to writer 2023-02-06 14:52:24 -08:00
Mitchell Hashimoto
e438539a14 Fix new log function options for zig 2023-01-26 09:10:09 -08:00
Mitchell Hashimoto
83f5d29ae2 initialize glfw in app 2022-12-30 15:48:45 -08:00
Mitchell Hashimoto
f871630fa4 move Atlas to font 2022-11-28 10:35:46 -08:00
Mitchell Hashimoto
9ae2df7bae Don't crash when fn key pressed on mac (workaround upstream issue) 2022-11-22 08:45:09 -08:00
Mitchell Hashimoto
c2e2f69989 change config write to be debug 2022-11-20 20:17:05 -08:00
Mitchell Hashimoto
d213c1a939 fix selection regression caused by screen copy optimization 2022-11-20 20:05:07 -08:00
Mitchell Hashimoto
f39484541f set system locale on startup, read Mac locale from OS preferences 2022-11-14 09:59:22 -08:00
Mitchell Hashimoto
135b859b8f raise max file descriptors on launch 2022-11-06 16:38:33 -08:00