Commit graph

421 commits

Author SHA1 Message Date
f460490510 fix: prevent minilog getting stuck rendering long messages 2024-04-01 22:16:30 +02:00
e2c565dfee fix: crash on shutdown from dangling logger references 2024-04-01 22:02:08 +02:00
823d066a58 fix: track modifier state and generate events if it is out of sync
This prevents fast scroll and other modifier functions getting stuck if events
are lost due to focus change.
2024-04-01 21:37:35 +02:00
f12694778b fix: process modifier key events independtly of modifier bits
This fixes ctrl-click on latest kitty.
2024-04-01 21:09:41 +02:00
d00e76f3ab build: update zig 2024-04-01 13:45:49 +02:00
061494e81a fix: detailed filestate display on home screen 2024-04-01 12:11:36 +02:00
2e8fd58ba5 feat: WIP start work on goto_definition LSP command 2024-03-31 22:41:20 +02:00
eb94bf5258 refactor: disable spammy input mode messages 2024-03-31 22:22:20 +02:00
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
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
744c6012a7 feat: add search box to open recent file mode 2024-03-28 22:29:40 +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
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
2c4452dd81 feat: add keyboard support to menus 2024-03-26 22:01:31 +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
f4de650557 feat: add open recent command to home screen 2024-03-22 21:00:19 +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
314b8d4909 build: update zig 2024-03-22 11:10:09 +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
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
69a6e659bd feat: add multi-cursor support to copy/cut/paste commands 2024-03-11 21:37:41 +01:00
bbc9355fab fix: ignore pure black or white file icon colors 2024-03-11 17:47:43 +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
c9bd11667c fix: gutter click past end of file 2024-03-10 21:08:47 +01:00
b87e1a867b fix: prevent empty selection on double click ot of bounds 2024-03-10 21:04:00 +01:00
1b8e61dc7a fix: do not log error.Stop to minilog
error.Stop is not a useful error to show the user. It just means that a
movement command reached the boundaries of the buffer and should stop.
2024-03-10 20:59:52 +01:00
c702f5ea5d feat: make modestate a clickable button that changes input modes 2024-03-08 22:19:02 +01:00
5965431b57 refactor: improve flexibility of the Button API 2024-03-08 22:15:39 +01:00
a7a27fdc89 feat: add Menu widget and use it on home screen 2024-03-07 20:34:15 +01:00
0c08f0b6fd feat: make gutter line numbers configurable for all vim modes 2024-03-06 10:28:40 +01:00
8f360c8f28 feat: add Button widget and use it to build a menu with mouse support on the home screen 2024-03-06 00:44:43 +01:00
45307e3636 feat: add alternate create mode Box for WidgetList
This is for using widgetLists in static layouts.
2024-03-05 22:37:05 +01:00