Mitchell Hashimoto
4a384aa272
parse and respect mode 1036
2023-08-13 15:12:13 -07:00
Mitchell Hashimoto
5e2fa50d0b
macos-option-as-alt config, handle alt-prefix for charCallback
2023-08-13 14:55:31 -07:00
Mitchell Hashimoto
619d2ade3e
only initialize font discovery mechanism once, cache on App
...
Fontconfig in particular appears unsafe to initialize multiple times.
Font discovery is a singleton object in an application and only ever
accessed from the main thread so we can work around this by only
initializing and caching the font discovery mechanism exactly once on
the app singleton.
2023-08-13 08:01:33 -07:00
Mitchell Hashimoto
ce4eb2112c
core: get rid of ignore_char, apprt must handle this now
2023-08-11 12:02:01 -07:00
Mitchell Hashimoto
4fe739cae0
core: note when keyCallback processed the input
2023-08-11 12:02:00 -07:00
Mitchell Hashimoto
7b33ee6b71
Merge pull request #266 from mitchellh/primary-clipboard
...
Primary (selection) clipboard support
2023-08-09 15:14:59 -07:00
Mitchell Hashimoto
ecb9563f2a
apprt/glfw: warn that the macos version has bugs
2023-08-09 15:14:39 -07:00
Mitchell Hashimoto
afc6a9976f
apprt/embedded: support selection clipboard
2023-08-09 14:29:39 -07:00
Mitchell Hashimoto
ca008df73d
apprt/glfw: support primary clipboard
2023-08-09 14:22:17 -07:00
Mitchell Hashimoto
6b45d931c3
plumb through the resources dir to termio
2023-08-08 09:29:38 -07:00
Mitchell Hashimoto
aff64d9951
Merge pull request #247 from mitchellh/gtk-single-instance
...
GTK single instance, fix UB in termio read thread termination
2023-08-07 21:43:08 -07:00
Mitchell Hashimoto
2e98d43a58
apprt/glfw: launch window on startup
2023-08-07 19:28:48 -07:00
Mitchell Hashimoto
22296b377a
Revert "Merge pull request #244 from mitchellh/alt-as-esc"
...
This reverts commit c139279d479682c17f63d9b57c2d56608d09d16a, reversing
changes made to 4ed21047a734d7c586debe0026e3b6ea90ed1622.
We do want to do this but this broke bindings.
2023-08-07 17:06:40 -07:00
Mitchell Hashimoto
67cbabd605
make keyboard modifiers left/right-aware throughout core
2023-08-07 14:33:56 -07:00
Mitchell Hashimoto
017da411f8
metal: start setting up background transparency
2023-07-03 17:59:50 -07:00
Mitchell Hashimoto
314f9287b1
Update Zig ( #164 )
...
* update zig
* pkg/fontconfig: clean up @as
* pkg/freetype,harfbuzz: clean up @as
* pkg/imgui: clean up @as
* pkg/macos: clean up @as
* pkg/pixman,utf8proc: clean up @as
* clean up @as
* lots more @as cleanup
* undo flatpak changes
* clean up @as
2023-06-30 12:15:31 -07:00
Mitchell Hashimoto
68631a1ccd
apprt: plumb through scroll mods to core, don't handle them yet
2023-06-29 10:41:42 -07:00
Mitchell Hashimoto
56f8e39e5b
Update zig, mach, fmt
2023-06-25 11:08:20 -07:00
Mitchell Hashimoto
f31d6fb8fe
apprt: clean up how apprt initializes surfaces
2023-05-31 21:08:50 -07:00
Mitchell Hashimoto
0fca74c089
apprt/glfw: inherit working dir
2023-05-31 19:18:55 -07:00
Mitchell Hashimoto
f5269df68f
apprt/glfw: quit cleans up resources properly
2023-03-27 10:47:54 -07:00
Mitchell Hashimoto
4d41b3ff54
Merge pull request #134 from mitchellh/gtk-confirm
...
gtk, macos: show confirmation dialog on surface close with active child process
2023-03-26 10:59:09 -07:00
Mitchell Hashimoto
3689f1fe39
apprt/gtk: only show exit confirmation if process is alive
2023-03-25 16:36:12 -07:00
Mitchell Hashimoto
67d3507f9a
apprt/glfw: new keycallback for unmapped
2023-03-25 15:40:49 -07:00
Mitchell Hashimoto
a9928cfb90
implement reload_config app message
2023-03-19 09:50:18 -07:00
Mitchell Hashimoto
3e1f975551
move config loading into apprt to prep for reloading
2023-03-19 09:50:17 -07:00
Mitchell Hashimoto
00c837e0d2
apprt: all implement close surface
2023-03-18 19:25:54 -07:00
Mitchell Hashimoto
58d89b6bb3
apprt/glfw: add logging with error information when glfw init fails
2023-03-12 17:27:33 -07:00
Mitchell Hashimoto
b4d8419feb
screen: trim trailing no-character cells when rows is changing
...
This matches Terminal.app, and makes it so the `ESC [ J` doesn't
generate scrollback on rows change.
2023-03-01 17:07:07 -08:00
Mitchell Hashimoto
7a0411d65a
apprt: move newTab to a surface callback rather than app
2023-02-25 10:38:19 -08:00
Mitchell Hashimoto
6acf67ec66
gtk: render!
2023-02-24 07:58:30 -08:00
Mitchell Hashimoto
7991e6e495
apprt/glfw: fix macos build
2023-02-24 07:58:30 -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
705d56d18e
surface no longer has reference to app
2023-02-24 07:58:29 -08:00
Mitchell Hashimoto
ac772c2d2d
inherit font size works again
2023-02-24 07:58:29 -08:00
Mitchell Hashimoto
8c18e1ee48
remove memory pool usage for mac
2023-02-24 07:58:29 -08:00
Mitchell Hashimoto
053748481a
more crap
2023-02-24 07:58:29 -08:00
Mitchell Hashimoto
9e4560043a
fix crashes on close
2023-02-24 07:58:29 -08:00
Mitchell Hashimoto
913131c8f1
rename more stuff
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
c68f8082df
apprt: can pass options through to Windows
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
be75109a1d
new build system
2023-02-14 20:58:33 -08:00
Mitchell Hashimoto
58218af2b5
app: make apprt agnostic
2022-12-30 15:56:42 -08:00
Mitchell Hashimoto
b502d5aa7d
apprt: window size limits
2022-12-30 15:36:25 -08:00
Mitchell Hashimoto
d5895f9034
rename windowing_system to just window
2022-12-30 15:32:36 -08:00
Mitchell Hashimoto
0e73c5eb93
apprt: clipboard
2022-12-30 15:29:36 -08:00
Mitchell Hashimoto
8907104e7c
comments
2022-12-30 15:22:18 -08:00
Mitchell Hashimoto
ba0cbecd79
core window doesn't have reference to glfw window anymore!
2022-12-30 15:18:32 -08:00