Commit graph

103 commits

Author SHA1 Message Date
151caf8dea fix: assume log subscription in logview
The log subscription is now managed by minilog, which is always running. This
unbreaks the minilog after showing/hiding the logview.
2024-03-31 22:01:43 +02:00
82586bbb0c refactor: disable spammy project manager log message 2024-03-31 21:58:30 +02:00
a404f6e768 fix: destroy editor before creating a new one
Editor lifetimes should not overlap otherwise we run into duplicate command
issues.
2024-03-31 21:03:23 +02:00
3d5119c335 fix: stop leaking command IDs
Command IDs are supposed to be unique for each command name and we should
not generate new IDs each time an editor is loaded.
2024-03-31 21:01:31 +02:00
4585c5af62 feat: add command to add cursors to all line ends 2024-03-31 21:00:19 +02:00
8f8d4b6145 feat: add command to add cursors to all matches
Also, move inspector view to Ctrl-Shift-i
2024-03-31 19:13:43 +02:00
779f6976e0 docs: add open recent file to help 2024-03-28 22:35:59 +01:00
744c6012a7 feat: add search box to open recent file mode 2024-03-28 22:29:40 +01:00
f88adf9a9d feat: add query_recent_files request to project_manager 2024-03-28 22:10:13 +01:00
8559d6f5f3 feat: add InputBox widget 2024-03-28 22:09:31 +01:00
d4066ad396 feat: add support for menu header widgets 2024-03-28 22:02:45 +01:00
0def007748 build: update flow-themes 2024-03-28 21:58:59 +01:00
c4315d1dc5 feat: limit number of recent files returned by project manager 2024-03-27 22:25:04 +01:00
20e9327ac7 refactor: cleanly shutdown project manager and tree walker on early exit 2024-03-27 22:13:03 +01:00
c36cd87119 fix: don't stay in open_recent mode if navigate fails 2024-03-27 21:13:56 +01:00
da432a22ec feat: open current file in recent list on ctrl release 2024-03-27 21:13:14 +01:00
acabb20785 fix: abort navigate if there are unsaved changes 2024-03-27 21:11:47 +01:00
60bd6d85dd feat: sort recent files list by modification time 2024-03-27 21:11:05 +01:00
2c4452dd81 feat: add keyboard support to menus 2024-03-26 22:01:31 +01:00
ad2d82ce43 build: update flow-syntax 2024-03-26 21:39:43 +01:00
6686f45968 build: update zig 2024-03-26 21:39:34 +01:00
5dd30679dc docs: make help output a little prettier 2024-03-25 20:46:58 +01:00
4b86579745 refactor: replace unsafe unreachable usage with @panic 2024-03-24 20:12:59 +01:00
2d1fb680e8 feat: continue work on open_recent UI (WIP) 2024-03-22 21:03:00 +01:00
d80a972b71 build: update flow-themes for new editor_widget colors 2024-03-22 21:02:29 +01:00
f4de650557 feat: add open recent command to home screen 2024-03-22 21:00:19 +01:00
01d53bb079 feat: add recent files request to project manager 2024-03-22 20:59:36 +01:00
28178d8871 refactor: store/retrieve project_manager ondemand from actor environment 2024-03-22 20:58:51 +01:00
adbce35320 feat: add support for resize hooks to Menu widget 2024-03-22 20:56:49 +01:00
1489a96013 feat: add support for resize hooks on WidgetLists 2024-03-22 20:56:02 +01:00
e0c78a975e feat: store button labels in the button's state
This makes memory management for dynamically created buttons a little
easier.
2024-03-22 20:54:49 +01:00
ad9ad51b79 build: add check build step 2024-03-22 11:10:54 +01:00
314b8d4909 build: update zig 2024-03-22 11:10:09 +01:00
5c5fa22c68 feat: filter some common cache directories 2024-03-21 23:05:13 +01:00
602a4dff01 feat: WIP add project manager service
The project manager service will provide fuzzy find, LRU, and similar
background services for open projects.
2024-03-21 22:54:41 +01:00
a056a54104 feat: add cli option to open the log view on startup 2024-03-21 22:48:49 +01:00
4970f29905 build: update thespian for cbor fix 2024-03-21 22:46:38 +01:00
62f9404bc6 fix: set default abi to musl on linux
This keeps the linux build fully independent of the distro it
is running on.

closes #5
2024-03-21 22:41:08 +01:00
7f506a160e fix: attempt to gracefully recover if we get stuck in a bracketed paste 2024-03-20 22:23:31 +01:00
0c1815a946 feat: add support for bracketed paste
This stops terminal paste operations not using OSC52 from breaking
auto indent and creating large amounts of undo history entries.
2024-03-20 21:27:27 +01:00
2f9a0e2eb0 refactor: button, menu and widget stack apis 2024-03-18 22:29:29 +01:00
dcd9e119da feat: collapse cursors after multi-cursor operations 2024-03-12 23:51:52 +01:00
d5e6e4a306 fix: update thespian to fix error.WouldBlock in filter operations 2024-03-12 23:16:25 +01:00
69a6e659bd feat: add multi-cursor support to copy/cut/paste commands 2024-03-11 21:37:41 +01:00
8a020717f3 feat: align comment prefixes when commenting out a block 2024-03-11 20:20:04 +01:00
bbc9355fab fix: ignore pure black or white file icon colors 2024-03-11 17:47:43 +01:00
ba5dedc5ca feat: update flow-syntax and remove dead files 2024-03-11 17:39:23 +01:00
9e381c4d1a feat: add smart_insert_line_before/_after commands
closes #4
2024-03-10 22:27:06 +01:00
6d3cf2df06 fix: rendering of line hightlight when cursor is off screen 2024-03-10 21:33:37 +01:00
632ee5adf8 refactor: whitespaces fixes 2024-03-10 21:09:18 +01:00