Commit graph

1163 commits

Author SHA1 Message Date
43c897141f
feat(tabs): use tabs styles from theme 2025-01-25 21:46:54 +01:00
82a5031046
fix(palette): prevent crash on select(0) 2025-01-25 20:48:30 +01:00
2f7bee1bef
feat(task): add project tasks 2025-01-25 20:32:01 +01:00
6130aa6b79
feat: add sql file type support 2025-01-25 18:19:33 +01:00
8b69cfddd3
fix(win32 gui): add middle mouse support and fix right mouse button mapping 2025-01-25 17:39:07 +01:00
434025da33
fix(tabs): alpha rendering of inactive tabs 2025-01-25 11:03:12 +01:00
d6f785a564
Merge branch 'tabs' 2025-01-24 23:34:52 +01:00
5dd47f7248
feat(tabs): complete tabs widget and next_/previous_tabs 2025-01-24 23:26:41 +01:00
41b230d17f
fixup: fix(gutter): add missing abs to rel conversion in primary_click/_drag 2025-01-24 23:24:58 +01:00
4848f2494f
fix(tabs): don't propagate hover events in WidgetList 2025-01-24 23:24:14 +01:00
f9e01f71f7
fix(gutter): add missing abs to rel conversion in primary_click/_drag 2025-01-24 23:23:24 +01:00
7e5d20508d
build: update thespian 2025-01-24 23:22:43 +01:00
5e6fc6a932
feat(buffers): use buffer_manager to select most recent files
And remove obsolete file_stack.
2025-01-24 23:22:31 +01:00
195bad87ab
feat(buffers): allow deleting more than one buffer while the palette is open 2025-01-24 11:04:20 +01:00
d7b48b40f1
feat(tabs): start work on a tabbar widget 2025-01-23 22:32:08 +01:00
1d947ab499
refactor: improve capsulation and safety of tui module public api 2025-01-23 16:45:04 +01:00
4145460012
refactor: simplify Plane/Widget usage 2025-01-23 16:12:56 +01:00
62cd53c0f3
docs(readme): add a note about binary download locations 2025-01-22 22:36:50 +01:00
8a89c888eb
fix: keybind testcases 2025-01-22 22:31:55 +01:00
bb887b5789
fix(buffers): remove conflicting palette keybinding 2025-01-22 22:24:33 +01:00
0a632416a4
feat(buffers): add delete_buffer command and keybinding for buffer_palette 2025-01-22 22:23:56 +01:00
a4ac3a42fd
feat(keybind): special case disable_selection in delete_selection 2025-01-22 15:29:01 +01:00
0368bb15a6
feat(keybind): simplify and clean-up a little 2025-01-22 15:28:03 +01:00
Meredith Oleander
a0f8d33781 tui/editor.zig: add disable_selection, and make check_selection play nice with inclusive selections 2025-01-22 18:47:55 +11:00
Meredith Oleander
80c8795c3b
Merge branch 'master' into helix-mode-selections 2025-01-22 13:47:37 +11:00
84655c4ff8
feat(buffers): add dirty state indicator to buffer switcher 2025-01-21 22:53:09 +01:00
3f06f6b19c
feat(buffers): add buffer switcher 2025-01-21 22:32:43 +01:00
efb3ab42fd
feat(buffers): add tracking of last modified and last used times for buffers 2025-01-21 21:59:55 +01:00
4dddadb46d
feat(buffers): add home screen save all command 2025-01-21 21:44:05 +01:00
661808f316
feat(buffers): render buffer dirty state in open recent files palette 2025-01-21 21:43:35 +01:00
aa1e0674cc
feat(buffers): move buffer lifetime management to new Buffer.Manager module 2025-01-21 21:42:36 +01:00
fbeaefe7ff
feat(buffers): add reset_to_last_saved buffer function 2025-01-21 21:40:51 +01:00
e404c830c9
feat(buffers): define explicit errors for Buffer store functions 2025-01-21 21:40:27 +01:00
ba5f15dab8
feat(buffers): define explicit errors for Buffer load functions 2025-01-21 20:23:47 +01:00
672f85a58c
build: make contrib/make_release callable from a different destdir 2025-01-21 12:51:45 +01:00
Jonathan Marler
99aefc8d22 remove direct2d dependency and update zigwin32
Since we removed the direct2d renderer we no longer need to reference
the direct2d-zig repository.  Instead we now directly reference the
zigwin32 repository.  I've also updated that repository with a few fixes
and additions which allowed us to remove some code from flow.
2025-01-21 08:40:44 +01:00
142f6e51ae
feat(tui): show screen dimentions on resize 2025-01-20 20:30:24 +01:00
4842002136
fix(win32 gui): translate mouse wheel events from screen to window coordinates 2025-01-20 19:55:18 +01:00
91eba39019
fix(win32 gui): prevent index out of bounds in d3d11.paint 2025-01-20 19:46:22 +01:00
102a00098e
build: update thespian for minor performance improvements 2025-01-20 19:45:44 +01:00
feca5e8fd9
build: always optimize dependencies (again) 2025-01-20 16:40:46 +01:00
29f8b4680d
fix: disable mouse_idle_timer
It's not very important and it's too spammy which makes debug builds slow.
2025-01-20 15:49:16 +01:00
51e8e9c1ab
build: update zig-tracy to support win32 2025-01-20 15:33:52 +01:00
5b5fd26bdf
feat(win32 gui): add tracy zones to win32 gui renderer 2025-01-20 15:07:42 +01:00
Jonathan Marler
620e44ef02 win32 gui: fix high cpu usage, validate window in WM_PAINT
Looks like I probably accidently removed the calls to BeginPaint and
EndPaint in WM_PAINT, which, would cause the OS to think that the
window contents are never validated and will continuously send us WM_PAINT
messages.  I've added these back in and now flow is back to low CPU usage
especially when idle.
2025-01-20 14:56:32 +01:00
4f5fa4a3ba
feat(keybind): move selection mode into keybind mode configuration 2025-01-19 19:21:44 +01:00
Meredith Oleander
70f0d8bea6
add helix selection internal tweaks 2025-01-19 17:37:36 +01:00
Meredith Oleander
3e65503902
develop helix cursor mode 2025-01-19 17:37:33 +01:00
386094001d
fix(vim-mode): prefer smart_move_begin of vim normal mode 'I' binding 2025-01-19 14:17:29 +01:00
e705d4ba01
fix(vim-mode): vim-mode bindings to enter insert mode 2025-01-19 14:15:44 +01:00