Mitchell Hashimoto
67dce5ce0e
update zig-objc
2023-11-17 21:50:34 -08:00
Krzysztof Wolicki
44a48f62f1
change unmodified var
s to const
s in anticipation of zig changes
2023-11-17 15:46:46 +01:00
Gregory Anders
5290070be9
clipboard: add Clipboard variant for primary clipboard
...
In practice, the primary and selection clipboards are treated exactly
the same, but this allows OSC 52 sequences to use either 's' or 'p' as
the clipboard target.
2023-11-16 16:35:48 -06:00
Mitchell Hashimoto
ad24e5e687
renderer/opengl: use new preedit format
2023-11-15 09:59:08 -08:00
Mitchell Hashimoto
50f0aaf26b
renderer/metal: support multi-codepoint preedit text
2023-11-15 09:49:28 -08:00
Mitchell Hashimoto
36c3b1b3d1
apprt/gtk: gtk-adwaita runtime config to configure libadwaita
...
Fixes #874
2023-11-14 08:33:55 -08:00
Mitchell Hashimoto
35e78939e5
macos: ignore alt key with other modifiers set
...
This enables shifted alt-prefixed keys, such as `shift+alt+.` on
US standard becoming `M->`. To do this, we needed to fix a few bugs:
(1) translation mods should strip alt even if other mods are set
(2) AppKit translation event needs to construct new characters with
the translation mods.
(3) Alt-prefix handling in KeyEncoder needs to allow ASCII utf8
translations even for macOS.
2023-11-13 19:21:51 -08:00
Mitchell Hashimoto
5001e2c60c
macos: filter option in AppKit when option-as-alt set
...
Fixes #872
In #867 we fixed macos-option-as-alt, but unfortunately AppKit ALSO does
some translation so some behaviors were not working correctly.
Specifically, when you had macos-option-as-alt set, option+e would
properly send `esc+e` to the pty but it would ALSO set the dead key
state for "`" since AppKit was still translating the option key.
This commit introduces a function to strip alt when necessary from the
translation modifiers used at the AppKit layer, preventing this
behavior.
2023-11-13 13:26:37 -08:00
Mitchell Hashimoto
2489ef4c13
stylistic tweaks
2023-11-11 15:15:52 -08:00
Gregory Anders
e7bc9958da
Prefer explicit type syntax over @as
2023-11-11 17:26:59 -05:00
Gregory Anders
593cfa256c
glfw: fix compile error
2023-11-11 17:21:10 -05:00
Gregory Anders
98b43007a0
core: use ClipboardRequestType instead of ClipboardPromptReason
...
Instead of making a separate enum that must be translated from the
ClipboardRequest type, simply re-use ClipboardRequest to determine the
clipboard confirmation reason.
2023-11-10 23:12:39 -05:00
Gregory Anders
9d3385703d
gtk: fix memory leak in GTK clipboard confirmation window
2023-11-10 23:12:39 -05:00
Gregory Anders
960a1bb091
gtk: implement OSC 52 prompts
2023-11-10 23:12:39 -05:00
Gregory Anders
86245ff0cf
macos: add option to prompt user for confirmation on OSC 52 commands
2023-11-10 23:12:39 -05:00
Mitchell Hashimoto
dd1faf5e50
macos: handle preedit in AppKit, enables Korean input
2023-11-10 09:53:56 -08:00
Mitchell Hashimoto
64eb8c0d0f
Merge pull request #835 from Raiden1411/feat/glfw
...
glfw: add `fullscreen` and `toggleFullscreen` support
2023-11-09 15:00:33 -08:00
Mitchell Hashimoto
126f02187a
apprt/glfw: minor stylistic things
2023-11-09 15:00:16 -08:00
Mitchell Hashimoto
8c59d1176e
apprt/gtk: ensure equal tab width, truncate with ellipses
...
Fixes #607
2023-11-09 11:12:55 -08:00
Mitchell Hashimoto
0c695f3510
apprt/gtk: add comment about key aliases
2023-11-08 09:37:53 -08:00
Severus
3497fec7df
Add keymap for KP_*
...
We miss some kp_* like: kp_home, kp_end, kp_up, kp_down, kp_page_up, kp_page_down, kp_left, kp_right.
Then we map those keys in gtk runtime.
2023-11-08 14:43:00 +07:00
Gregory Anders
cd01340cce
macos: add key binding for equalizing split sizes
2023-11-07 16:23:28 -06:00
Raiden1411
b0f6b1e2c9
re-add dimensions
2023-11-07 19:24:02 +00:00
Raiden1411
b9ad49acc3
chore: add video mode
2023-11-07 18:07:22 +00:00
Raiden1411
fbe2b7c267
feat: fullscreen and toggleFullscreen support
2023-11-07 17:58:00 +00:00
Tim Culverhouse
49fb5c8688
gtk(mouse): use "text" enum as default value
...
Use the .text field of the enum as the default value of the mouse shape
instead of renaming .default. Store the default value as the current
value for use in subsequent commits
2023-11-06 14:36:57 -08:00
Gregory Anders
8349d82179
macos: complete clipboard request even when clipboard is empty
2023-11-06 13:10:23 -06:00
Mitchell Hashimoto
4e3ab4879d
Merge pull request #822 from gpanders/split-resizing
...
macos: implement split resizing
2023-11-06 09:35:43 -08:00
Mitchell Hashimoto
f8b0654a19
Merge pull request #816 from Raiden1411/feat/options
...
feat: add support for `--fullscreen`, `--title` and `--class` values
2023-11-06 08:55:33 -08:00
Mitchell Hashimoto
f338c09506
apprt/gtk: move default id into scope
2023-11-06 08:55:13 -08:00
Mitchell Hashimoto
364a14d7a2
apprt/gtk: fix valid id check
2023-11-06 08:54:23 -08:00
Mitchell Hashimoto
3564dd5e7e
stylistic changes
2023-11-06 08:47:09 -08:00
Raiden1411
e9535a8d3e
chore: cleanup
2023-11-06 14:28:48 +00:00
Raiden1411
d2d5d4ba82
chore: cleanup
2023-11-06 14:27:36 +00:00
Raiden1411
60717cde14
chore: update fullscreen implementation
2023-11-06 14:03:44 +00:00
Raiden1411
232527c9dc
fix: fullscreen on new windows
2023-11-06 11:59:16 +00:00
Raiden1411
094f8effa3
fix: begin implementation of suggested changes
2023-11-06 10:19:09 +00:00
Gregory Anders
9b14398153
macos: support resizing splits
2023-11-05 20:42:59 -06:00
Mitchell Hashimoto
ef44551522
apprt/embedded: hook up paste confirmation
2023-11-05 09:20:16 -08:00
Raiden1411
9e9ad67d3c
feat: add support for fullscreen, title and class values
2023-11-05 11:49:25 +00:00
Mitchell Hashimoto
ebd57f6bbc
apprt/gtk: correct new tab button click function signature
...
Fixes #674
We were incorrectly reusing the action activate signal callback for the
button click. These have different function signatures.
2023-11-04 16:57:01 -07:00
Mitchell Hashimoto
43e1c9f147
apprt/gtk: tweak unsafe paste window
2023-11-04 11:27:39 -07:00
Mitchell Hashimoto
ab9a9b6eb1
apprt/gtk: copy change for unsafe paste window
2023-11-04 11:24:48 -07:00
Mitchell Hashimoto
a38220eade
terminal: move sanitization check to this package, unit test
2023-11-04 11:19:25 -07:00
David Rubin
65c9ba0a86
add todos + make sure non-implimented platforms still work.
2023-11-04 00:50:26 -07:00
David Rubin
a578ec342f
forgot to update other backends
2023-11-03 14:20:24 -07:00
David Rubin
6e575d9035
configs added
2023-11-03 13:20:26 -07:00
David Rubin
44073e4c98
add basic functionality
2023-11-03 10:58:56 -07:00
xdBronch
bbdfcfe5bd
fix build with libadwaita disabled
2023-11-03 03:20:35 -04:00
hanna
63fe99809f
remove hard dependency on libadwaita
2023-11-02 21:54:05 -07:00