aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_content_view/call_widget.vala
Commit message (Collapse)AuthorAgeFilesLines
* Add WeakTimeout Pattern to Prevent LeaksChristopher Vollick2024-04-281-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While doing testing I noticed that skeletons were being leaked, and eventually tracked it down to the timer that updates the time label closing over "this" and then keeping the reference alive, potentially for 24 hours. I noticed a few other places in the code doing some version of this, and one of them had the "static and weak pointer" approach, which I pulled out into a util class. Now, we still have to make sure we're passing it a static method instead of a lambda, as that would also close over "this" and render the whole thing useless, but at least most of the annoying parts live in the util class now. Also the call_widget version was doing a weird thing where it was removing itself, but then returning "true"? I'm not sure what that accomplishes, because returning "false" means to not run this again. So I think my new version is the same in practice, but simpler... There are other timeouts in the code that I briefly looked over, but all of them seemed to be relatively short hard-coded durations, so I left them alone. But if any of them are long-lived, it's possible they could also benefit from this class in the future. Closes #1480 Co-Authored-By: Marvin W <git@larma.de>
* New Avatar UIMarvin W2023-03-051-8/+8
|
* Fix various date/time stamps not updated or wrong time zoneMarvin W2023-02-071-1/+1
|
* Improve Gtk4 portfiaxh2022-07-271-8/+8
|
* Port from GTK3 to GTK4fiaxh2022-07-271-16/+21
|
* Let call notification say if it's a group callfiaxh2022-02-081-0/+4
|
* Various call UI/UX improvementsfiaxh2022-02-071-6/+19
|
* UI + libdino: Improve MUJI calls from MUCfiaxh2021-12-231-1/+1
| | | | | | - Move calls from ICE-thead onto main thread - Identify Call.ourpart as MUC nick if in MUC - Keep track of the initiator of a call
* Improve call details dialog + small multi-party call fixesfiaxh2021-11-151-1/+1
|
* Add (disabled) multi-party call UIfiaxh2021-11-101-16/+58
|
* Fix compiler warnings ('[GtkChild] fields must be declared as `unowned'')fiaxh2021-10-121-6/+6
|
* Improve call related wordingfiaxh2021-09-251-20/+11
|
* Improve call wording, cleanupfiaxh2021-05-011-1/+1
|
* Add UI for audio/video callsfiaxh2021-03-211-0/+215