4633 Commits

Author SHA1 Message Date
Mitchell Hashimoto
d4b53cac06 build: move more options to BuildConfig 2024-01-13 15:11:28 -08:00
Mitchell Hashimoto
dfa55988d6 build: use BuildConfig struct 2024-01-13 15:08:37 -08:00
Mitchell Hashimoto
adb7958f61 remove tracy usage from all files 2024-01-13 15:06:08 -08:00
Mitchell Hashimoto
29717269ca build: remove tracy completely 2024-01-13 14:30:56 -08:00
Mitchell Hashimoto
f236c7675f update README about terminfo and sudo 2024-01-13 11:24:35 -08:00
Mitchell Hashimoto
50ffc7371a Merge pull request #1294 from mitchellh/shell-integration/add-sudo-wrapper-feature
Add sudo wrapper as optional shell integration feature
2024-01-13 11:17:17 -08:00
Atanas Pepechkov
ee1366a0a8 add sudo wrapper as optional shell integration feature 2024-01-13 18:56:21 +02:00
Mitchell Hashimoto
b65c410a61 Merge pull request #1293 from mitchellh/mrn/window-new-tab-pos-macos
macos: respect window-new-tab-position config setting when opening new tabs
2024-01-13 07:32:15 -08:00
Thorsten Ball
2bf8dac864 macos: use switch statement instead of if-let 2024-01-13 08:32:50 +01:00
Thorsten Ball
90427a8d22 macos: respect window-new-tab-position configuration 2024-01-12 20:22:53 +01:00
Mitchell Hashimoto
a925afae84 Merge pull request #1289 from mitchellh/update-zig
update zig
2024-01-12 10:03:34 -08:00
Mitchell Hashimoto
b2cdc9401f ci: only output build.log once for windows build 2024-01-12 10:03:14 -08:00
Mitchell Hashimoto
bd660bad6e Merge pull request #1292 from mitchellh/mrn/gtk-append-new-tabs
gtk: append new tabs at the end if config is set
2024-01-12 09:51:40 -08:00
Mitchell Hashimoto
81b9a6b623 config: rename window-append-new-tab to window-new-tab-position 2024-01-12 09:50:47 -08:00
Mitchell Hashimoto
9c4bb58846 ci: do not cross-compile windows 2024-01-12 09:45:00 -08:00
Thorsten Ball
2aa1874f94 gtk: append new tabs at the end if config is set
This adds a new config option: `window-append-new-tabs` (please: if you
have a better name, let me know). If this is set to true, then new GTK
tabs aren't added after the current tab, but after at the end.
2024-01-12 17:35:15 +01:00
Mitchell Hashimoto
9686740286 update zig 2024-01-11 22:23:28 -08:00
Mitchell Hashimoto
bea377b184 Merge pull request #1287 from qwerasd205/shift-move-to-expand-selection
Shift+<arrows, home, end, page up/down> with selection should expand selection
2024-01-11 22:19:40 -08:00
Mitchell Hashimoto
50a119d300 Selection: add adjust method, unit test it, swap for adjustments 2024-01-11 22:14:40 -08:00
Mitchell Hashimoto
b40034232d Merge pull request #1285 from rytswd/wrap-around-split-focus
[WIP] Wrap around split focus
2024-01-11 21:10:26 -08:00
Mitchell Hashimoto
12b54a13a0 Merge pull request #1288 from mitchellh/codeberg
build: do not depend on codeberg for dependencies
2024-01-11 21:10:16 -08:00
Mitchell Hashimoto
674ed9bb96 build: do not depend on codeberg for dependencies
This makes our only network dependency GitHub. GitHub also has
availability problems periodically so I also want to remove this
requirement over time.
2024-01-11 21:04:48 -08:00
Qwerasd
3f3703deb6 Fixed accidentally consuming ALL shift+<key> releases 😅 2024-01-11 21:58:19 -05:00
Qwerasd
8cf3b6bef3 Shift+keys selection: Fixed up/down logic, added page up/down, home, & end. 2024-01-11 21:19:41 -05:00
Qwerasd
e0867801a5 Added use of shift+arrow keys to expand current selection 2024-01-11 20:58:12 -05:00
Ryota
ad9de6707d Fix comment 2024-01-12 00:54:16 +00:00
Ryota
3baae1dce8 Wrap around split focus with next and previous 2024-01-12 00:53:47 +00:00
Ryota
3500293bac Add firstOrLast search based on next and previous 2024-01-12 00:53:19 +00:00
Ryota
ab8dfab9de Add helper func for first and last leaf 2024-01-12 00:52:26 +00:00
Ryota
d9c4bd7e25 Add helper functions for finding root 2024-01-12 00:52:17 +00:00
Mitchell Hashimoto
28ead2fd30 Merge pull request #1283 from widberg/main
Use WINDIR instead of hardcoding C:\Windows
2024-01-11 11:58:33 -08:00
widberg
de71e992ec Use WINDIR instead of hardcoding C:\Windows 2024-01-11 11:57:40 -08:00
Mitchell Hashimoto
2698852f08 Merge pull request #1281 from jcollie/sort-list-colors
sort output from +list-colors
2024-01-11 07:57:36 -08:00
Mitchell Hashimoto
411c48af51 cli/list-colors: use unstable sort, sort in-place on arraylist 2024-01-11 07:56:25 -08:00
Jeffrey C. Ollie
5258554135 sort output from +list-colors 2024-01-11 00:30:48 -06:00
Mitchell Hashimoto
00129b23c5 Merge pull request #1280 from mitchellh/macos-tree-invalidate
macOS: expand explicit restorable state invalidation to more cases
2024-01-10 21:31:08 -08:00
Mitchell Hashimoto
8b0d4312ee macos: invalidate restorable state whenever a terminal window is closed 2024-01-10 21:28:49 -08:00
Mitchell Hashimoto
837b551a92 macos: invalid restorable state whenever surface tree changes
Related to #1177

This detects whenever the surface tree (splits) change in any way and
requests that the restorable state be invalided by macOS.
2024-01-10 21:24:47 -08:00
Mitchell Hashimoto
47367bed19 Merge pull request #1279 from jcollie/rgb-names
add ability to specify RGB colors as names from the X11 rgb name list
2024-01-10 20:54:27 -08:00
Mitchell Hashimoto
c551e43374 mark rgb.txt as vendored 2024-01-10 20:46:12 -08:00
Mitchell Hashimoto
02c0ceab11 cli: list-colors uses new generated rgb 2024-01-10 20:43:22 -08:00
Mitchell Hashimoto
5216b4cfe9 build: remove generate_rgb_names 2024-01-10 20:40:21 -08:00
Mitchell Hashimoto
cf8763561d terminal: use comptime generated X11 lookup table from rgb.txt 2024-01-10 20:36:47 -08:00
Jeffrey C. Ollie
bc1544a3f0 add ability to specify RGB colors as names from the X11 rgb name list 2024-01-10 20:26:59 -08:00
Mitchell Hashimoto
c24d7d6de6 pkg/harfbuzz: get zig build test working on macOS 2024-01-10 20:26:41 -08:00
Mitchell Hashimoto
846487cd44 Merge pull request #1278 from gpanders/x11-gtk-mods
gtk: use modifier state from GTK key event on X11
2024-01-10 15:15:49 -08:00
Gregory Anders
d059c57440 gtk: use modifier state from GTK key event on X11
On X11 gdk_device_get_modifier_state does not correctly return the
modifier state, while the modifier state passed to the key callback
does. On Wayland, the situation is exactly reversed.

Therefore on X11 we use the mods provided by the key callback and on
Wayland we continue to get the modifier state from the device.

`App.modifier_state_from_xkb` is removed since we can lift the
conditional out of the function call (we would need to make a second,
redundant check for the presence of `x11_xkb` otherwise).
2024-01-10 16:26:53 -06:00
Mitchell Hashimoto
a63c7e8159 Merge pull request #1273 from mitchellh/macos-sdk
build: use Xcode to find macOS SDK
2024-01-10 13:53:16 -08:00
Mitchell Hashimoto
af3cdf0f84 Merge pull request #1276 from mitchellh/mrn/fix-cascade-glitch
macos: stop windows glitching when cascading
2024-01-10 09:37:49 -08:00
Mitchell Hashimoto
88c525d593 macos: minor style changes 2024-01-10 09:37:36 -08:00