aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/widgets
AgeCommit message (Collapse)Author
2026-08-26feat: add tweaks page to preferences, as well as an option for avatar roundnessfrosty
2026-06-07Add JID interningMarvin W
2026-05-22Add support for MUC affiliations versioning (XEP-0463), add affiliation storagefiaxh
2026-04-08Add widget leak detectionMarvin W
2025-02-22Fix vertical picture padding for certain aspect ratiosMarvin W
2025-02-22Fix various sizing issuesMarvin W
2025-02-22Fix compatibility with GTK 4.17+Marvin W
2024-11-15Fix and improve stateless file-sharingfiaxh
2024-09-14Update translationsTranslations
2024-04-28Add WeakTimeout Pattern to Prevent LeaksChristopher Vollick
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>
2023-09-24Fix build on some Vala compiler versionsMarvin W
See https://gitlab.gnome.org/GNOME/vala/-/issues/1474 and https://gitlab.gnome.org/GNOME/vala/-/issues/1478
2023-03-05New Avatar UIMarvin W
2023-02-27Fix some memory leaksfiaxh
2023-01-31New Date SeparatorMarvin W
2023-01-25Fix UI for libadwaitaMarvin W