Commit graph

681 commits

Author SHA1 Message Date
36c5831b9b Simplify InputEvent
Now that I've decided the F1 menu should always show all key bindings,
there is no need for the InputEvent to be so complex.
2023-04-27 21:46:33 +02:00
64a7e7f518 Simplify KeyGroup
The trait will only be used for documenting the key bindings in the F1
menu from now on. The InputEvent will be directly match-eable against
KeyBinding-s, which should suffice for input event handling.
2023-04-27 21:37:48 +02:00
6ce2afbc9f Rename Input to InputEvent and add paste events 2023-04-27 21:10:34 +02:00
fdc46aa3b8 Rename Group to KeyGroup 2023-04-27 20:56:41 +02:00
6c99f7a53a Rename Group::Action to Event 2023-04-27 20:39:33 +02:00
15177a529a Clean up macro code a bit 2023-04-27 20:36:00 +02:00
6f85995379 Derive Document for simple enums 2023-04-27 20:34:46 +02:00
458025b8bf Use serde's default annotation for Document 2023-04-27 20:11:16 +02:00
d29441bf02 Move todo to proper location 2023-04-27 20:07:25 +02:00
9f24cb2de1 Fix function key parsing 2023-04-27 18:30:56 +02:00
c53e3c262e Include key bindings in config 2023-04-27 18:30:42 +02:00
e1c3a463b2 Move key binding groups to config crate 2023-04-27 15:31:49 +02:00
5a0efd69e4 Extract euph config into submodule 2023-04-27 15:27:23 +02:00
478e3e767c Add some key binding groups 2023-04-27 11:08:14 +02:00
1276a82e54 Implement Group derive proc macro 2023-04-27 11:08:07 +02:00
a1acc26027 Extract Document derive macro to submodule 2023-04-27 10:38:17 +02:00
17acdd0575 Add Group trait 2023-04-27 10:38:17 +02:00
072290511b Query key bindings against input event 2023-04-27 10:38:17 +02:00
3fbb9127a6 Model and (de-)serialize key bindings 2023-04-27 10:38:17 +02:00
abedc5f194 Create cove-input crate 2023-04-26 14:58:36 +02:00
f7f200a608 Add measure_widths config option 2023-04-24 18:21:46 +02:00
39026a217d Use auto-generated config documentation 2023-04-24 14:09:21 +02:00
cc7dd29af4 Print config documentation 2023-04-24 14:08:57 +02:00
3d91d447c7 Document config 2023-04-24 14:08:57 +02:00
f2c3011888 Implement Document derive proc macro 2023-04-24 14:02:20 +02:00
cedeeff10b Add Document trait for config doc generation 2023-04-24 14:02:20 +02:00
dfb2ef5371 Set up cove-macro proc macro crate 2023-04-24 12:03:30 +02:00
5b5370d2df Extract config into cove-config crate 2023-04-21 02:15:25 +02:00
288a5f97dd Set up workspace 2023-04-21 02:15:25 +02:00
babdd10fba Fix docstrings 2023-04-21 02:15:17 +02:00
502ebab132 Fix scroll offset estimation 2023-04-21 01:44:22 +02:00
027bf489b7 Fix key binding listing spacing 2023-04-20 20:54:43 +02:00
3fb774e93e Remove stray crash 2023-04-20 20:48:26 +02:00
318f7e2a73 Update vault 2023-04-19 23:24:35 +02:00
164c02243d Fix scrolling for editor cursor 2023-04-18 18:13:25 +02:00
ade7be594e Update toss and remove more async 2023-04-17 20:37:30 +02:00
a638caadcb Render messages with less async 2023-04-17 18:59:16 +02:00
8182cc5d38 Fix blocks never being higher than one line 2023-04-17 16:53:34 +02:00
07b761e0f9 Fix list cursor being invisible until first redraw 2023-04-17 11:28:06 +02:00
3f18b76c7d Fix chat scrolling up after sending message 2023-04-17 10:25:53 +02:00
21bb87fd45 Rename new modules to old module names 2023-04-17 10:14:01 +02:00
bc8c5968d6 Remove old chat, widgets, util modules 2023-04-17 10:10:26 +02:00
e2b75d2f52 Move ChatMsg trait to chat2 2023-04-17 10:10:26 +02:00
6f0088e194 Migrate F12 log to AsyncWidget 2023-04-17 10:10:26 +02:00
b8da97aaa4 Migrate room popups to AsyncWidget 2023-04-17 10:10:26 +02:00
31c8453a83 Migrate links popup to AsyncWidget 2023-04-17 10:10:25 +02:00
f69d88bf4a Migrate chat to AsyncWidget 2023-04-17 10:10:25 +02:00
ecc4995397 Implement common widgets 2023-04-17 09:39:01 +02:00
95068920f1 Implement common cursor movement logic 2023-04-17 09:39:01 +02:00
a18ee8e7c0 Implement common renderer and scrolling logic 2023-04-17 09:39:01 +02:00