aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/util
AgeCommit message (Collapse)Author
2026-06-07Add JID interningMarvin W
2026-03-25Fix wrongly using message ids for MUC corrections; store original message db idsfiaxh
2026-02-06Fix accidental blocking reads in non-blocking downloadsMarvin W
2025-10-06Handle issues with libsoupMarvin W
Workaround https://gitlab.gnome.org/GNOME/libsoup/-/issues/473 and https://gitlab.gnome.org/GNOME/glib-networking/-/issues/20
2025-06-13Disregard SFS fallback messages even without source attachment given a ↵fiaxh
full-body fallback indication
2025-06-13Add support for whole body fallbacksfiaxh
2025-04-09Fix locale search path finding on meson buildsfiaxh
2024-11-15Fix and improve stateless file-sharingfiaxh
2024-09-28Store avatars in the user's cache directory. (#1621)eerielili
* Store avatars in the user's cache directory. - Not anymore in ~/.local/share, where media files are stored. - Already existing ~/.local/share/dino/avatars directory will be moved to ~/.cache/dino/avatars - If both directories already exists, the old one (in ~/.local/share) is removed. * Simplify old-to-new-location logic --------- Co-authored-by: fiaxh <git@lightrise.org>
2024-09-15Discover plugins in Meson build directorieshrxi
If the environment looks like a Meson build dir (parent directory is called "main"), then also look for plugins in `../plugins/*`. Fixes #1591.
2024-07-29Add initial message markup (XEP-0394) supportfiaxh
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-04-22Fix empty alias being handled different than noneMarvin W
2023-02-07Show "Me" instead of bare jid when no local alias is setMarvin W
2023-02-07Improve history sync under loadMarvin W
2023-01-31Fix reaction display in private MUCsMarvin W
2021-04-11Fix warningsfiaxh
2020-12-04Improve contact description in OMEMO warningsfiaxh
fixes #947
2020-11-20Refactor Notifications, add freedesktop backendfiaxh
fixes #707
2020-11-17Fix compiler warnings in WeakMapfiaxh
2020-11-14Add a WeakMap implementation + testsfiaxh