70 Commits

Author SHA1 Message Date
Mitchell Hashimoto
989046a06c More IO events 2022-11-05 19:31:02 -07:00
Mitchell Hashimoto
8dd67662b3 Blocking queue implementation for thread message passing 2022-11-05 19:31:02 -07:00
Mitchell Hashimoto
d75e869b4e Load $XDG_CONFIG_HOME/ghostty/config if it exists (#25)
Ghostty now loads the config file in `$XDG_CONFIG_HOME/ghostty/config` if it exists on startup. This follows the XDG base dir specification so if $XDG_CONFIG_HOME is not set, we default to `$HOME/.config/ghostty/config`.
2022-11-02 16:12:50 -07:00
Mitchell Hashimoto
be1fa78511 extract passwd to its own file so its easier to test 2022-11-01 17:47:34 -07:00
Mitchell Hashimoto
9e3bbc1598 macos: send logs to unified logging 2022-10-31 15:16:29 -07:00
Mitchell Hashimoto
901ff199c8 log the renderer on startup 2022-10-31 09:44:37 -07:00
Mitchell Hashimoto
e7ffb823af propertly deinit the GPA so we can detect leaks in debug 2022-10-25 15:49:21 -07:00
Mitchell Hashimoto
9ef431c632 use the c allocator when running under valgrind 2022-10-24 15:34:30 -07:00
Mitchell Hashimoto
cf14ea506f update zig 2022-10-24 14:35:42 -07:00
Mitchell Hashimoto
de9731da1f rename grid to a renderer, extract to subfolder
"Grid" was a really antiquated name when it had both the screen state
AND the renderering functionality tied together. This hasn't been true
for a LONG time and it is long overdue that this is renamed to its
proper name.

This also begins setting up a folder structure to anticipate future
renderers and rendering functionality. I'm not working on any alternate
renderers right now so the interface isn't expected to be good, just
laying out the files in this way.
2022-10-23 16:47:34 -07:00
Mitchell Hashimoto
141182aa13 start adding fontconfig conditional compilation 2022-09-23 14:12:38 -07:00
Mitchell Hashimoto
59191b05cd build fontconfig 2022-09-13 14:34:40 -07:00
Mitchell Hashimoto
4f6c67fe9d add LRU 2022-09-12 10:21:18 -07:00
Mitchell Hashimoto
7af9091497 pkg/freetype: Library and Face 2022-08-28 17:07:27 -07:00
Mitchell Hashimoto
44dfe54fe8 output harfbuzz version on startup 2022-08-28 10:26:49 -07:00
Mitchell Hashimoto
5713c2f468 move input test to qualified 2022-08-24 11:17:28 -07:00
Mitchell Hashimoto
80376ce6da hook up keybindings for copy/paste and arrow keys 2022-08-24 11:08:39 -07:00
Mitchell Hashimoto
222f70857a move input stuff to src/input 2022-08-23 19:52:14 -07:00
Mitchell Hashimoto
7303909d01 key.Binding and basic parsing 2022-08-23 17:40:36 -07:00
Mitchell Hashimoto
5c61bfbe8f fix stage2 compiler error 2022-08-21 21:38:24 -07:00
Mitchell Hashimoto
a36ae221ae rename font/font.zig to font/main.zig 2022-08-19 09:56:01 -07:00
Mitchell Hashimoto
2f36d5f715 pkg/tracy 2022-08-17 14:03:49 -07:00
Mitchell Hashimoto
b2192ea8f7 move libuv into pkg 2022-08-16 17:47:44 -07:00
Mitchell Hashimoto
84af11e1eb detect config file load in config file 2022-08-02 09:25:36 -07:00
Mitchell Hashimoto
782ddfe722 --config-file to load a config file
The config file is just CLI args one per line.
2022-08-01 18:04:39 -07:00
Mitchell Hashimoto
0249f3c174 cli parsing supports modification, add "RepeatableString" as example
This lets values modify themselves, which we use to make a repeatable
string implementation. We will use this initially to specify config
files to load.
2022-08-01 11:54:51 -07:00
Mitchell Hashimoto
2453b40e5d log glfw errors globally 2022-07-26 13:05:57 -07:00
Mitchell Hashimoto
385a682b24 move towards font family management to prep for bold/italic 2022-06-28 10:31:11 -07:00
Mitchell Hashimoto
7069917e6a use c allocator in release modes if available 2022-06-21 10:32:39 -07:00
Mitchell Hashimoto
da359b8e36 properly copy string cli flags 2022-05-19 15:49:26 -07:00
Mitchell Hashimoto
3b54d05aec CLI parsing, can set default foreground/background color 2022-05-19 14:00:35 -07:00
Mitchell Hashimoto
cfcc72e0e8 tracy: support allocation wrapping 2022-04-29 14:37:16 -07:00
Mitchell Hashimoto
330d2ea270 integrate tracy more deeply 2022-04-29 13:39:56 -07:00
Mitchell Hashimoto
10736e2eb4 initial tracy support 2022-04-29 09:15:49 -07:00
Mitchell Hashimoto
cbd6505d25 terminal: scrolling 2022-04-28 21:18:27 -07:00
Mitchell Hashimoto
a2a22791ee SegmentedPool 2022-04-26 16:18:34 -07:00
Mitchell Hashimoto
21ee510471 starting libuv bindings 2022-04-21 09:33:32 -07:00
Mitchell Hashimoto
dc788ce5b2 terminal stuff 2022-04-17 09:40:09 -07:00
Mitchell Hashimoto
82a4aef1fa TempDir implementation 2022-04-16 11:07:27 -07:00
Mitchell Hashimoto
992d52fe81 working on subprocessing 2022-04-16 10:22:18 -07:00
Mitchell Hashimoto
2cd51f0cc4 basic pty opening 2022-04-15 13:09:35 -07:00
Mitchell Hashimoto
e672c9d7d5 calculate grid size in dedicated struct, tests 2022-04-15 08:16:22 -07:00
Mitchell Hashimoto
bb902cf4e3 new Window abstraction 2022-04-14 21:07:16 -07:00
Mitchell Hashimoto
e33aeea723 starting FontAtlas 2022-04-05 17:57:09 -07:00
Mitchell Hashimoto
c4fb335a6b zig native atlas implementation 2022-04-05 12:04:10 -07:00
Mitchell Hashimoto
670af17a1b getting closer to dumb font rendering 2022-04-03 22:04:42 -07:00
Mitchell Hashimoto
5bbdd75d70 clean up the main App 2022-04-03 20:39:32 -07:00
Mitchell Hashimoto
3cb5dae9d8 fontconfig example 2022-04-03 20:08:29 -07:00
Mitchell Hashimoto
049004e6de opengl: more funcs 2022-04-02 20:35:39 -07:00
Mitchell Hashimoto
63ce7114a4 opengl: draw functions 2022-04-02 20:17:53 -07:00