Commit graph

319 commits

Author SHA1 Message Date
1a42894f6d fix(windows): update libvaxis again 2024-07-01 20:18:48 +02:00
cb3be2845c fix(windows): support --debug-wait on windows 2024-07-01 19:45:16 +02:00
0c0a563d21 fix(windows): update libvaxis for unicode input support on windows 2024-07-01 17:58:38 +02:00
23f2e1a1c0 fix: pop_cursor should reset match.has_selection 2024-06-30 23:17:38 +02:00
3e34271059 fix: unbind restart command
It's too dangerous to have on a key bind by default and can be called
via the palette now anyway.
2024-06-30 22:47:07 +02:00
cdffedca2b fix(windows): update thespian to fix subprocess handling on windows 2024-06-27 22:20:38 +02:00
4199bb1847 fix(windows): update libvaxis to fix windows size 2024-06-27 22:20:17 +02:00
b3388eed77 fix(Menu): unselect if there are no menu items 2024-06-27 21:19:07 +02:00
bd87f29cf2 fix(inspector): render inspector content on every frame 2024-06-27 21:09:12 +02:00
8146f01c84 fix(windows): update thespian to fix @intCast crash on windows 2024-06-27 21:09:12 +02:00
1b6d4b350e fix(windows): unbreak recent files fuzzy find on windows 2024-06-27 20:15:24 +02:00
049fc3874a feat: fix match highlighting in simple_query_recent_files 2024-06-27 18:59:08 +02:00
032982c1e8 refactor: rework error handling to simplifiy command implementation and provide better back traces 2024-06-26 23:29:39 +02:00
21b604f4d6 fix(windows): reduce idle cpu usage to zero on windows
Now we use a keepalive timer instead of forcing no-sleep to keep the work
queue from running empty and causing flow to exit early.
2024-06-26 22:24:36 +02:00
830000579b feat(lsp): add initial support for LSP completion requests 2024-06-25 21:12:29 +02:00
fa59dc1ff8 fix(goto): avoid getting stuck in fast scroll when in goto mode 2024-06-25 21:10:19 +02:00
a79a49e4b9 feat: log LSP receive errors 2024-06-25 21:07:20 +02:00
1533ec2993 feat: allow opening project directories on the command line 2024-06-23 21:37:37 +02:00
692e04b6a8 refactor: re-work how projects are opened
Prep for opening directories on the command line.
2024-06-23 21:37:37 +02:00
23fcf64b62 fix(logview): don't wrap messages in logview
opts_vscroll is apparently broken. Disable it for now as non-corrupted
log messages are more important.
2024-06-23 21:37:32 +02:00
77b949306e feat(palette): persist command last used times 2024-06-23 19:26:36 +02:00
e1a94bf8f2 fix: move flow state files from ~/.cache/flow to ~/.local/state/flow
This better matches the XDG Base Directory Specification.

Please move existing state files from ~/.cache/flow to ~/.local/state/flow
manually if you want to keep them.
2024-06-23 15:49:40 +02:00
btipling
42330ba82c std.rand renamed to std.Random
This now builds on version 0.14.0-dev.111+451550e86 on windows
2024-06-23 15:22:22 +02:00
76748c28de build: update clap 2024-06-23 15:19:45 +02:00
c167257c89 feat(palette): sort command palette by last used time 2024-06-22 21:57:19 +02:00
btipling
7230e7de86 split is a deprecated compile error and unused
using std.mem.split is a compileError as off this change

76fb2b685b
2024-06-22 00:45:26 -07:00
Andriamanitra
e022b0b2f8 fix(palette): add bounds check to activate_selected 2024-06-22 08:30:35 +02:00
28e9d60c1a feat(vim): add some really basic vim commands to the command palette in vim mode 2024-06-21 12:53:39 +02:00
394874fb20 feat: add alternate keybinding for command palette
For terminals that block C-S-p.
2024-06-21 12:40:50 +02:00
5cc944f0e4 docs: add foot to the list of recommended terminals 2024-06-21 12:24:25 +02:00
7810d96d23 fix(home): remove duplicate open_help keybind hint 2024-06-21 01:49:06 +02:00
deaad1e90a fix(palette): update command palette on resize 2024-06-21 01:37:48 +02:00
e7c8fea3f0 feat: add scrollbar to command palette 2024-06-21 01:20:17 +02:00
752331c717 fix(vaxis): prevent panic in panic in vaxis.panic 2024-06-21 01:13:23 +02:00
78e1951407 refactor(scrollbar): make scrollbar event source optional 2024-06-20 22:27:35 +02:00
d4019d00b2 feat: add keybind hints to command palette 2024-06-20 22:27:13 +02:00
3ea039f41c fix(tui): reset drag context when invalidating the widget tree
This prevents a segfault if dragging and navigating at the same time.
2024-06-20 22:21:49 +02:00
ce9c5ea23d fix(vaxis): correct key range in synthesized_p
This was causing left and right arrow keys to input garbage into
mini mode editors.
2024-06-20 22:20:07 +02:00
e8c59b36d3 fix(lsp): improve error reporting on LSP early exit 2024-06-20 10:06:47 +02:00
087bb3ce6e fix(windows): update thespian to prevent endless timeout errors on windows 2024-06-20 10:06:17 +02:00
b4bc8276f8 fix(palette): select first item in command palette after query 2024-06-19 17:52:53 +02:00
da5e7873d5 refactor: remove obsolete log_widgets command 2024-06-19 17:48:50 +02:00
866451779b fix(vaxis): prevent a crash on large bracketed paste operations
Now we just serialize *all* event data and drop the grapheme cache
that was overflowing.
2024-06-19 17:39:27 +02:00
0dd9cb179e feat: open the command palette when clicking the modestate widget
Instead of switching input modes, which can now be done via the
command palette instead.
2024-06-19 17:37:59 +02:00
27c5e940f5 feat: bind command palette to ':' in vim modes 2024-06-19 17:37:29 +02:00
0a3efee633 feat: add fuzzy matching to command palette 2024-06-19 17:37:09 +02:00
88a036113b fix(palette): correct resize handling in command_palette 2024-06-18 21:14:31 +02:00
c9debbabf4 fix(renderer.Loop): prevent read buffer overflow on very large escape sequences 2024-06-18 21:11:06 +02:00
d9a4e5e38d refactor(minilog): use a timer to clear the minilog
Instead of abusing the render clock.
2024-06-18 20:11:09 +02:00
86b91dc0de fix(editor): stop render clock running endlessly on restore 2024-06-18 20:04:19 +02:00