Commit graph

1018 commits

Author SHA1 Message Date
dc21e7f6ac feat(vaxis): reset terminal state on panic with a custom panic handler 2024-05-22 21:19:48 +02:00
49ad54d60c feat: implement remaining terminal handling functions via libvaxis 2024-05-22 10:40:08 +02:00
36f167221e feat: enable pixel mouse coordinates in libvaxis 2024-05-22 10:39:15 +02:00
453fb12055 fix: add missing need_render() calls for commands that are not directly input triggered 2024-05-20 19:18:03 +02:00
26232c3af3 fix: allow wrapping in putstr calls on scrollable vaxis planes 2024-05-20 11:06:27 +02:00
b3543f520c refactor: use immediate rendering in inputview
The libvaxis backend does not support persistent rendering.
2024-05-19 21:21:17 +02:00
165d7d94b6 feat: make logview persist message when not shown 2024-05-19 21:16:05 +02:00
c32e2005b9 fix: hover and select menu styles on home screen 2024-05-18 17:02:45 +02:00
855c11292e fix: improve rendering of home screen 2024-05-18 16:49:45 +02:00
8c9338ddd2 feat: add support for scrolling and transparent windows in vaxis backend 2024-05-18 16:49:01 +02:00
0707b52d8a fix: re-eanble differential updates in vaxis backend 2024-05-18 16:47:34 +02:00
ced45d50e4 fix: use blocking tty io with libvaxis
This resolves WouldBlock issues with libvaxis and tty issues with macos.
2024-05-18 01:47:03 +02:00
6225944a7e fix: add missing renderer deinit() on exit 2024-05-17 21:18:54 +02:00
562b46b7d6 fix(vaxis): space is not a synthesized key 2024-05-17 15:20:38 +02:00
d9087f9884 fix: create ~/.cache and ~/.config if they do not exist 2024-05-17 15:19:57 +02:00
4c9263c0cf refactor: make vaxis key input names lower case 2024-05-12 00:11:18 +02:00
94e045ffe7 feat: add to_upper and to_lower commands on Alt-u and Alt-l 2024-05-12 00:10:11 +02:00
045b8c112d
Merge pull request #8 from rockorager/master
vaxis: request kitty keyboard release events from vaxis
2024-05-11 12:22:43 +02:00
Tim Culverhouse
348081bd27 vaxis: request kitty keyboard release events from vaxis
Update Vaxis and use the options struct to request keyboard release
events.
2024-05-10 20:08:25 -05:00
76d1e7e34d feat: redirect std.log to log service 2024-05-10 23:47:26 +02:00
ec1fcd475b feat: add remaining styles to libvaxis renderer 2024-05-10 22:46:27 +02:00
1cd3cb17ce feat: add libvaxis renderer 2024-05-10 12:44:14 +02:00
b15fa47f30 refactor: add renderer abstraction layer 2024-05-09 11:48:33 +02:00
9ff63fbed5 fix: avoid desync of tree-sitter syntax 2024-05-09 00:35:31 +02:00
6ece4c14b5 fix: language server did_change diff calculation 2024-05-08 23:56:00 +02:00
5ca96aa328 fix: process drag release events in scrollbar_v 2024-04-25 18:50:06 +02:00
c2b734a8f6 fix: an early panic on startup if ~/.config does not exist 2024-04-23 21:28:29 +02:00
dadf20ce34 fix: consider empty unsaved new files as clean 2024-04-22 22:42:07 +02:00
2d3633fc3c fix: immediatly process additional messages in single recv 2024-04-21 20:43:50 +02:00
c79c684969 feat: minor improvements to LSP error handling 2024-04-21 00:02:24 +02:00
ef57339258 feat: add support for language server window/showMessage notifications 2024-04-20 23:47:34 +02:00
e69bd6166a feat: render language server diagnostics and add next/previous diagnostic commands
Bound to Alt-n and Alt-p
2024-04-20 00:04:46 +02:00
b541fd42de fix: don't prevent same file navigation if buffer is dirty 2024-04-19 22:11:04 +02:00
0523350596 feat: add support for undercurl styles 2024-04-19 22:10:27 +02:00
b197b1235b fix: add timeout to synchronous language server calls
Otherwise if language server does not respond then we effectively hang.
2024-04-19 22:06:15 +02:00
e41c2d34f7 feat: render diagnostics (part 1) 2024-04-17 23:26:19 +02:00
33dd4486eb fix: don't hang project_manager if language server exits early 2024-04-17 21:13:20 +02:00
939a70b249 feat: add file_stack and return to previous file on file close 2024-04-17 19:02:32 +02:00
e3b8d513ea fix: log project_manager errors 2024-04-17 18:34:44 +02:00
dfdbb47367 feat: add close_file_without_saving command and keybinding (C-S-w) 2024-04-17 18:08:11 +02:00
438d64268e feat: add pasting support to open recent and find modes 2024-04-17 18:03:09 +02:00
b6127b06d4 feat: render control codes in whitespace styling if show_whitespace is on 2024-04-17 17:52:03 +02:00
cc607089df feat: process textDocument/publishDiagnostics notifications from language server 2024-04-16 23:22:47 +02:00
ef61903334 build: update to zig 0.12.0-dev.3659+1e5075f81 2024-04-16 23:22:13 +02:00
07571ef363 refactor: load persisted projects before file system scan
This should improve usability for very large projects.
2024-04-15 23:07:03 +02:00
3eba052c15 fix: shutdown race if project_manager does not exit faster than tui 2024-04-15 21:29:27 +02:00
9eb6dd3be4 fix: send sigterm to languages servers on exit
Not all language servers willingly exit if we just close stdin. Eventually
we will follow the protocol's shutdown process, but for now we just send a
sigterm.
2024-04-15 21:15:26 +02:00
55e99fe958 refactor: replace ArrayList with plain alloc for Button.label 2024-04-15 19:53:11 +02:00
49d6ee94fc refactor: simplify and clean-up navgate command
This should also prevent get_mru_position and location_jump from stomping
on each other.
2024-04-15 19:50:11 +02:00
0f5f41751e feat: add fuzzy matching to recent files list with fuzzig
Many thanks to @fjebaker
2024-04-15 18:59:23 +02:00