Mitchell Hashimoto
f64d871847
os: FlatpakHostCommand uses thread with its own event loop
2023-02-27 10:18:56 -08:00
Mitchell Hashimoto
1c3d775d90
apprt/embedded: ignore size callbacks that change nothing
2023-02-26 17:44:45 -08:00
Mitchell Hashimoto
7962bd061b
metal: use the screen size reported in the callback to resize
...
We were previously using the bounds which might be updated later if the
view is in the middle of an animation. Just use the size that represents
our target state.
2023-02-26 17:44:14 -08:00
Mitchell Hashimoto
fc64dfa311
macos: on resize do not use the view frame
...
See the comment in the diff.
2023-02-26 17:26:17 -08:00
Mitchell Hashimoto
f89d202b0d
flatpak.HostCommand wip
2023-02-26 10:28:54 -08:00
Mitchell Hashimoto
e227f4d5ef
nix: flatpak stuff should go into linux section
2023-02-26 08:45:24 -08:00
Mitchell Hashimoto
5b9bc9abdb
flatpak: build GTK version
2023-02-25 23:08:04 -08:00
Mitchell Hashimoto
fc3802e632
termio: use host-spawn for pty
2023-02-25 22:36:20 -08:00
Mitchell Hashimoto
f012d31ed5
passwd entry in flatpak needs to trim newlines
2023-02-25 22:25:17 -08:00
Mitchell Hashimoto
6b23dbb169
flatpak: use host-spawn to find default shell
2023-02-25 21:56:51 -08:00
Mitchell Hashimoto
3c81287ffd
ignore flatpak builder files
2023-02-25 21:56:41 -08:00
Mitchell Hashimoto
0a041957f1
os: add flatpak detection
2023-02-25 21:20:48 -08:00
Mitchell Hashimoto
64ef2dc051
add flatpak builder yml
2023-02-25 21:20:28 -08:00
Mitchell Hashimoto
ec956debb7
Command/Pty work better with Flatpak but not 100% yet
2023-02-25 21:19:57 -08:00
Mitchell Hashimoto
31540c24e7
nix: need debugedit for flatpak-builder
2023-02-25 19:39:33 -08:00
Mitchell Hashimoto
f18789da87
build: omit icon that is too large for freedesktop
2023-02-25 19:39:16 -08:00
Mitchell Hashimoto
bfc4b821ff
vendor: update linux aarch64 sdk
2023-02-25 17:31:22 -08:00
Mitchell Hashimoto
3345c2bb82
nix: add flatpak-builder
2023-02-25 16:50:06 -08:00
Mitchell Hashimoto
1ca0ea361b
dist/linux: add freedesktop desktop spec file
2023-02-25 15:23:51 -08:00
Mitchell Hashimoto
edb926d434
nix: remove dpkg
2023-02-25 15:16:32 -08:00
Mitchell Hashimoto
d1a1ba4cb6
output runtime at startup
2023-02-25 15:09:26 -08:00
Mitchell Hashimoto
f217cd24b9
fpm build deb
2023-02-25 14:57:48 -08:00
Mitchell Hashimoto
b927105959
build: add freedesktop file and icon
2023-02-25 14:57:48 -08:00
Mitchell Hashimoto
3dbb7e44bf
build: don't build bench by default
2023-02-25 14:57:48 -08:00
Mitchell Hashimoto
227f6eb4f1
gtk: handle <tab> so it doesn't move focus
2023-02-25 14:57:34 -08:00
Mitchell Hashimoto
35af0ef362
gtk: previous/next tab wraps
2023-02-25 10:53:15 -08:00
Mitchell Hashimoto
6c6a3d6a5d
"goto_tab" key binding to jump to a specific tab, defaults to Super+N
...
The apprt surface must implement `gotoTab` to make this work. This is
only implemented in GTK for now.
2023-02-25 10:48:38 -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
e4c91d2328
don't require runtimes to implement all callbacks
2023-02-25 10:32:27 -08:00
Mitchell Hashimoto
aa2d3720b6
gtk: previous/next tab bindings
2023-02-25 10:29:58 -08:00
Mitchell Hashimoto
65b3c7ca86
gtk: convert keyvals back into unmodified keyvals for shifted ops
2023-02-25 10:11:57 -08:00
Mitchell Hashimoto
cbebbd78b3
gtk: re-enable closing on no windows
2023-02-24 17:51:10 -08:00
Mitchell Hashimoto
c80270ff50
gtk: close surface works
2023-02-24 17:50:20 -08:00
Mitchell Hashimoto
a1a754530f
gtk: tab reordering, hide tab bar with one tab, etc.
2023-02-24 16:13:15 -08:00
Mitchell Hashimoto
ad11ec145c
gtk: new tab keyboard shortcut works
2023-02-24 16:08:02 -08:00
Mitchell Hashimoto
ac1c961c4e
gtk: close tab button
2023-02-24 15:54:36 -08:00
Mitchell Hashimoto
fface4a6b3
gtk: add tab works
2023-02-24 15:19:57 -08:00
Mitchell Hashimoto
7e3ad24d89
gtk: put gl area in notebook
2023-02-24 14:04:07 -08:00
Mitchell Hashimoto
8a4c8a06fe
Merge pull request #75 from mitchellh/gtk
...
Rearchitect "app runtime" abstraction, minimal GTK implementation
2023-02-24 13:35:14 -08:00
Mitchell Hashimoto
f9457e76ab
gtk: set title stub
2023-02-24 12:17:02 -08:00
Mitchell Hashimoto
382a32be6c
gtk: clipboard
2023-02-24 12:13:31 -08:00
Mitchell Hashimoto
60b2603304
metal: premult alpha for fg color
2023-02-24 08:39:55 -08:00
Mitchell Hashimoto
c8e0b0c6f3
don't log config its too noisy
2023-02-24 07:58:31 -08:00
Mitchell Hashimoto
c4393ece4c
gtk: make clear opengl requirements
2023-02-24 07:58:31 -08:00
Mitchell Hashimoto
aa49cceb49
opengl: make setting font size thread safe
2023-02-24 07:58:31 -08:00
Mitchell Hashimoto
da64fff110
gtk: receive key press for all keys
2023-02-24 07:58:31 -08:00
Mitchell Hashimoto
cb412425b2
embedded: fix build
2023-02-24 07:58:30 -08:00
Mitchell Hashimoto
e4b76b5974
gtk: set cursor to ibeam over terminal surface
2023-02-24 07:58:30 -08:00
Mitchell Hashimoto
916f07d9d3
gtk: mouse cursor pos and scroll
2023-02-24 07:58:30 -08:00
Mitchell Hashimoto
adae05cf04
gtk: mouse input
2023-02-24 07:58:30 -08:00