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
Mitchell Hashimoto
ecbd119654
Hook up new window, modify renderers
2022-11-06 10:34:43 -08:00
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