Commit graph

1558 commits

Author SHA1 Message Date
Kévin Commaille
f30379cc6a
room-details: Use homeserver joined members count instead of local count 2023-10-26 13:37:15 +02:00
Kévin Commaille
d175f73aa9
room: Expose joined members count provided by homeserver 2023-10-26 13:37:15 +02:00
Kévin Commaille
ae645dac99
room: Remove unnecessary async 2023-10-26 13:37:15 +02:00
Kévin Commaille
71a293168a
room-details: Disconnect signals and expression watches on dispose 2023-10-26 13:37:15 +02:00
Kévin Commaille
54f30627a5
message-text: Set hexpand on GtkSourceviews
Otherwise they just take the same width as rows of text in the same
GtkGrid.
2023-10-26 12:11:26 +02:00
Kévin Commaille
a50333bc8d
member-list: Load only local data first
In big rooms that should make tab auto-completion work sooner.
2023-10-24 14:07:22 +02:00
Kévin Commaille
d9ca96bba1
room-history: Fix spacing of messages 2023-10-24 10:52:52 +02:00
Kévin Commaille
42aa302670
chore: Upgrade SDK 2023-10-23 18:01:41 +02:00
Kévin Commaille
f40692f975
room-list: Persist Room metainfo between restarts
Allows to restore the RoomList in the exact same state, even without
waiting for the rooms timelines to be loaded
2023-10-22 11:52:14 +02:00
Kévin Commaille
350f5164ae room: Improve tracking of room read state
Using new API from the SDK
2023-10-20 13:29:26 +00:00
Kévin Commaille
33470209b7 room: Rename latest_unread to latest_activity 2023-10-20 13:29:26 +00:00
Kévin Commaille
e4225577fd chore: Update matrix-sdk 2023-10-20 13:29:26 +00:00
Kévin Commaille
251dd38aa5
item-row: Merge with event_actions
Since it's the only file to use it, it does not make sense to implement
event actions as a trait anymore.
2023-10-20 10:17:12 +02:00
Kévin Commaille
2b46670dfb
chore: Update Cargo.lock
Cargo insists to update this line so here we go.
2023-10-20 10:17:11 +02:00
Kévin Commaille
a070b295c2
chore: Upgrade strum crate 2023-10-19 09:39:53 +02:00
Kévin Commaille
20c5242427
chore: Upgrade rustix crate
Due to a security vulnerability
2023-10-19 09:30:10 +02:00
Kévin Commaille
5ebba615b3
text: Use GtkGrid instead of GtkBox 2023-10-18 10:43:11 +02:00
Kévin Commaille
e5593f51e9
reply: Use GtkGrid instead of GtkBox 2023-10-18 10:42:54 +02:00
Kévin Commaille
2633a15a56
message-content: Use a GtkGrid instead of nested GtkBoxes
The nested GtkBoxes measuring causes a lot of extra calls to `measure`,
which freezes the interface noticeably.
2023-10-17 15:47:08 +02:00
Alan Mortensen
81813a9553 Update Danish translation 2023-10-16 16:56:25 +00:00
Artur S0
d727ad52cd Update Russian translation 2023-10-16 11:58:31 +00:00
Kévin Commaille
0012b84fc9
completion-popover: Do not create 2 GWeakRefs to CompletionPopover per member
The reason is the same as the 2 previous commits.
2023-10-15 11:19:49 +02:00
Kévin Commaille
dc36de6ac7
avatar: Do not hold a GWeakRef to Session
The reason is the same as in the previous commit
2023-10-15 11:19:37 +02:00
Kévin Commaille
483eb7a28e
user: Do not hold a GWeakRef to Session
GObject uses a singly-linked list to keep track of GWeakRefs to an
object.
When a GWeakRef is dropped, the list needs to be iterated to find the
right one.
In a room with 10k members, it means a list of at least 10k GWeakRefs,
so dropping them all at once takes too much time.

We don't have this issue with strong references.
2023-10-15 11:19:31 +02:00
Kévin Commaille
e1976cd4e1
metainfo: Put controls in supports instead of recommends 2023-10-13 09:42:06 +02:00
Luming Zh
898ff8dc86 Update Chinese (China) translation 2023-10-05 18:47:32 +00:00
Yuri Chornoivan
801b670748 Update Ukrainian translation 2023-10-05 17:01:55 +00:00
Kévin Commaille
43fb19e9ba
media-history-viewer: Remove CSS classes with no effect 2023-10-05 10:34:51 +02:00
Kévin Commaille
8927bbbabe
media-viewer: Fix colors of headerbar in light mode 2023-10-05 10:34:40 +02:00
Kévin Commaille
d8830120b7
message-row: Support redacted messages in the timeline
We are not supposed to show them but when an event is redacted while
the client is running, the redacted event does not go through the
event filter in the SDK so it doesn't disappear from the timeline.
2023-10-04 14:47:13 +02:00
Kévin Commaille
884691cc26
room-history: Make sure clicks on message entry do not have unexpected behavior
If it is not included as a toolbar, there is no GtkWindowHandle behind
it,
so clicks don't have a side effect.
2023-10-04 11:54:03 +02:00
Kévin Commaille
f09770186d
metainfo: Remove Purism::form-factor custom keys
They don't pass appstreamcli validation for being duplicates.
They should have been replaced by control and display_length anyway.
2023-10-03 18:10:55 +02:00
Kévin Commaille
b647462090
build: Use appstreamcli instead of appstream-util
appstream-glib is in maintenance mode
2023-10-03 17:48:45 +02:00
Kévin Commaille
2c4b97b658
build: Remove unused variables 2023-10-03 17:48:45 +02:00
Kévin Commaille
013691b973
ci: Fix release workflow 2023-10-03 17:48:45 +02:00
Kévin Commaille
f00eb5855a
ci: Split definition in multiple files 2023-10-03 12:37:03 +02:00
Kévin Commaille
5bd7c6ccca
message-row: HTML escape values of HTML tag attributes 2023-10-03 10:42:51 +02:00
Kévin Commaille
bbe46860cd
chore: Upgrade html2pango crate 2023-10-03 10:42:51 +02:00
Kévin Commaille
2fd2ec1249
state-row: Use the provided name in display name changes 2023-10-02 15:16:07 +02:00
Kévin Commaille
a7d9c3e1d7
room-history: Only wait 5 seconds to mark a message as read 2023-10-02 15:16:07 +02:00
Kévin Commaille
1d9c82a703
sidebar: Expand horizontally search entry
Looks better, especially when window is narrow
2023-10-02 15:16:06 +02:00
Alexandre Franke
3ce4a23846 room-history: put frame around code blocks 2023-10-02 14:44:28 +02:00
Kévin Commaille
9655abbcae
message-row: Get the proper widget to show media
It was using the child of the widget, while it could be deeper in the
hierarchy because of replies.
2023-10-02 10:22:43 +02:00
Balázs Úr
9f5ddd9ee1 Update Hungarian translation 2023-09-25 16:11:01 +00:00
Luming Zh
512bddc552 Update Chinese (China) translation 2023-09-24 17:36:52 +00:00
Piotr Drąg
603687be59 Update Polish translation 2023-09-24 13:45:39 +02:00
Kévin Commaille
675a270ac4
data: Update sas-emoji translations 2023-09-21 21:58:19 +02:00
Kévin Commaille
840d038e5a
build: Upgrade libshumate module to 1.1.0 2023-09-21 21:22:13 +02:00
Kévin Commaille
3614fffd2d
window: Add missing type="top"
Without it the headerbar won't show up
2023-09-21 15:53:47 +02:00
Daniel Mustieles
a2f2fb6b43 Update Spanish translation 2023-09-21 09:42:09 +00:00