Commit graph

693 commits

Author SHA1 Message Date
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
bb4d0fe047 Add blocks as basis for rendering 2023-04-17 09:39:01 +02:00
d7d25a8390 Migrate inspection popups to AsyncWidget 2023-04-17 09:39:01 +02:00
91d8d7ba97 Migrate account popup to AsyncWidget 2023-04-17 09:39:01 +02:00
03766802fd Migrate auth popup to AsyncWidget 2023-04-17 09:39:01 +02:00
e358e2184e Migrate nick popup to AsyncWidget 2023-04-17 09:39:01 +02:00
c7cbd9856b Migrate nick list to AsyncWidget 2023-04-17 09:39:00 +02:00
d8d3e64776 Migrate room to AsyncWidget 2023-04-17 09:39:00 +02:00
ead4fa7c8a Migrate rooms list to AsyncWidget 2023-04-17 09:39:00 +02:00
adc70ad233 Migrate key bindings list widget to AsyncWidget 2023-04-17 09:39:00 +02:00
d5b6dd9802 Migrate topmost widget to AsyncWidget 2023-04-17 09:39:00 +02:00
8de5bf87af Add util2 module for new widgets 2023-04-17 09:39:00 +02:00
267ef2bee9 Add List AsyncWidget 2023-04-17 09:39:00 +02:00
07960142e0 Add Popup AsyncWidget 2023-04-17 09:39:00 +02:00
3f7ed63064 Add AsyncWidgetWrapper and WidgetWrapper 2023-04-17 09:39:00 +02:00
ff9a16d8a3 Make Widget::size like toss::AsyncWidget::size 2023-04-17 09:39:00 +02:00
059ff94aef Update toss 2023-04-17 09:39:00 +02:00
b515ace906 Add InfallibleExt util trait 2023-04-14 23:32:56 +02:00
d2e3e2aef9 Remove flake-utils dependency
See also:
4f399bd5c4/flake.nix (L14)
17198cf5ae
2023-04-14 22:31:48 +02:00
674534dfa4 Optimize dependencies in debug builds 2023-04-12 19:37:25 +02:00
3f63221594 Write "e.g." correctly 2023-04-12 00:15:52 +02:00
53250ccdcb Bump version to 0.6.1 2023-04-10 12:43:03 +02:00
6089a94a2e Update dependencies 2023-04-10 12:40:37 +02:00
923e68c0b5 Always show rooms from config in rooms list 2023-04-10 12:25:17 +02:00
8c4a966451 Update euphoxide 2023-04-08 20:34:12 +02:00
847af34ceb Make JSON exports faster 2023-04-05 21:56:10 +02:00
9f9c3d998e Bump version to 0.6.0 2023-04-04 23:37:21 +02:00
a487eeb85d Update dependencies 2023-04-04 23:37:21 +02:00
3eb33f14e6 Refine changelog 2023-04-04 23:37:21 +02:00
4e2b597f1e Fix waiting rooms being sorted to bottom 2023-03-17 18:27:21 +01:00
1e90e76fba Fix rooms being stuck in "Connecting" state
I haven't managed to reliably reproduce this bug, so I don't know if
this actually fixes it.
2023-03-12 16:36:54 +01:00
0612d235d7 Recognize links without scheme 2023-03-07 14:25:09 +01:00
da3d84c9d8 Fix connecting to rooms as bot instead of human 2023-03-04 22:00:37 +01:00
582cac8421 Turn repo into flake 2023-03-04 20:15:29 +01:00
65fa1b8afd Update euphoxide
This fixes authentication for rooms requiring passwords
2023-02-26 21:21:26 +01:00
7568fb3434 Add todo 2023-02-23 14:41:10 +01:00
5738fe391a Include instance log messages again 2023-02-23 14:41:10 +01:00
293112777a Fix bugged room state from lingering connection
When disconnecting from a room whose instance is "waiting" and then
reconnecting, the old instance would not be stopped immediately.
Instead, it would continue to run until it managed to reconnect, sending
status updates to the main event bus in the process.

These events led to the euph::Room entering a state where it was
connected but no last_msg_id was set. This meant that no new messages
could be entered into the vault, including messages sent by the user.
The result was UI weirdness when sending a message.

As a fix, euphoxide instances are now identified via an u32 id. This id
is unique across all rooms. Packets by unknown ids are rejected and have
no effect on room states.
2023-02-23 14:41:10 +01:00
d74282581c Deduplicate code 2023-02-23 14:41:10 +01:00