Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add WeakTimeout Pattern to Prevent Leaks | Christopher Vollick | 2024-04-28 | 1 | -5/+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 UI | Marvin W | 2023-03-05 | 1 | -8/+9 |
| | |||||
* | Fix critical warnings after DTLS-SRTP calls without OMEMO verification | Marvin W | 2023-03-02 | 1 | -1/+1 |
| | | | | libdino-CRITICAL **: dino_plugins_encryption_list_entry_get_encryption_icon_name: assertion 'self != NULL' failed | ||||
* | Fix some memory leaks | fiaxh | 2023-02-27 | 1 | -3/+33 |
| | |||||
* | Fix various date/time stamps not updated or wrong time zone | Marvin W | 2023-02-07 | 1 | -7/+6 |
| | |||||
* | Show "Me" instead of bare jid when no local alias is set | Marvin W | 2023-02-07 | 1 | -1/+1 |
| | |||||
* | Add tooltips to the delivered and read icons (#1341) | Prashant Kumar | 2023-01-30 | 1 | -2/+8 |
| | |||||
* | Fix UI for libadwaita | Marvin W | 2023-01-25 | 1 | -1/+1 |
| | |||||
* | Add support for XEP-0461 replies (with fallback) | fiaxh | 2023-01-06 | 1 | -8/+14 |
| | |||||
* | Fix compiler warnings | fiaxh | 2022-12-30 | 1 | -0/+3 |
| | |||||
* | Add support for reactions | fiaxh | 2022-10-11 | 1 | -0/+10 |
| | |||||
* | Fix encryption button update and reduce its required GTK version | fiaxh | 2022-08-21 | 1 | -7/+3 |
| | | | | MenuButton.activate only exists since 4.4 | ||||
* | Disable tooltips for GTK 4.6.4 - 4.6.6 | fiaxh | 2022-08-20 | 1 | -2/+2 |
| | | | | | A bug in GTK caused the application to crash in some tooltip-related conditions https://gitlab.gnome.org/GNOME/gtk/-/issues/4941 | ||||
* | Gtk4 bug fixes and improvements | Marvin W | 2022-07-27 | 1 | -6/+0 |
| | |||||
* | Improve Gtk4 port | fiaxh | 2022-07-27 | 1 | -16/+24 |
| | |||||
* | Port from GTK3 to GTK4 | fiaxh | 2022-07-27 | 1 | -168/+97 |
| | |||||
* | Remove color from /me name, remove use_markup from sender label | fiaxh | 2022-01-23 | 1 | -1/+1 |
| | |||||
* | Display message sender in bold+text color instead of small+colored | fiaxh | 2022-01-05 | 1 | -3/+1 |
| | |||||
* | Add 'unknown' encryption state for establishing calls | fiaxh | 2022-01-04 | 1 | -1/+1 |
| | | | | Currently, they are Encryption.NONE and thus marked as unencrypted in encrypted conversations | ||||
* | Add (disabled) multi-party call UI | fiaxh | 2021-11-10 | 1 | -1/+0 |
| | |||||
* | Fix compiler warnings ('[GtkChild] fields must be declared as `unowned'') | fiaxh | 2021-10-12 | 1 | -3/+3 |
| | |||||
* | Fixed name change (#1076) | sojuz151 | 2021-08-24 | 1 | -2/+11 |
| | |||||
* | Display message delivery error, color text using theme colors | fiaxh | 2021-08-17 | 1 | -0/+13 |
| | | | | fixes #672 | ||||
* | Display+store call encryption info | fiaxh | 2021-04-09 | 1 | -29/+45 |
| | |||||
* | Fix cyclic reference | fiaxh | 2021-02-17 | 1 | -7/+9 |
| | |||||
* | Reduce use of Widget.destroy() | fiaxh | 2021-02-10 | 1 | -1/+1 |
| | | | | | | On non-toplevel windows, use Container.remove() instead of Widget.destroy() Needed for migration to GTK4 https://developer.gnome.org/gtk4/unstable/gtk-migrating-3-to-4.html#id-1.7.4.3.17 | ||||
* | Use advertized/server/live time for sorting instead of arrival time | fiaxh | 2020-12-04 | 1 | -3/+3 |
| | | | | fixes #310 | ||||
* | Fix warning when clicking to correct a message | fiaxh | 2020-09-10 | 1 | -5/+0 |
| | |||||
* | Fix cyclic references => let objects be freed | fiaxh | 2020-06-03 | 1 | -3/+17 |
| | |||||
* | Add file upload preview | fiaxh | 2020-04-22 | 1 | -2/+2 |
| | | | | fixes #756 | ||||
* | Fix unencrypted message warning when switching between encryptions | fiaxh | 2020-04-05 | 1 | -11/+11 |
| | |||||
* | Add support for last message correction | fiaxh | 2020-04-03 | 1 | -2/+18 |
| | |||||
* | Visually mark unencrypted messages if conversation is encrypted | fiaxh | 2020-03-29 | 1 | -0/+21 |
| | |||||
* | Visually mark OMEMO messages from a trusted device as trusted | fiaxh | 2020-03-29 | 1 | -7/+19 |
| | |||||
* | Update time labels in conversation view at the moment they actually change | fiaxh | 2020-03-26 | 1 | -11/+27 |
| | |||||
* | Only create ItemMetaDataHeader and AvatarImage once it is actually displayed | fiaxh | 2020-03-24 | 1 | -18/+19 |
| | |||||
* | Move message hover effect into converstion view | fiaxh | 2020-03-21 | 1 | -16/+10 |
| | |||||
* | Rename folders/files conversation_summary -> conversation_content_view | fiaxh | 2020-02-22 | 1 | -0/+221 |