Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add WeakTimeout Pattern to Prevent Leaks | Christopher Vollick | 2024-04-28 | 3 | -17/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | Add unread indicator | fiaxh | 2024-03-02 | 2 | -0/+91 |
| | | | | | Co-authored-by: Alexandre Jousset <mid@gtmp.org> Co-authored-by: Aidan Epstein <aidan@jmad.org> | ||||
* | Fix some compiler warnings | fiaxh | 2023-10-07 | 2 | -2/+1 |
| | |||||
* | Fix subscription notification clearing | fiaxh | 2023-09-07 | 1 | -0/+6 |
| | |||||
* | icons: Refresh some symbolic icons (#1444) | Tobias Bernard | 2023-05-29 | 1 | -1/+1 |
| | |||||
* | Fix reactions being made to the wrong message | Marvin W | 2023-05-14 | 1 | -1/+0 |
| | | | | fixes #1426 | ||||
* | Fix images from another client in our account not being displayed right away | fiaxh | 2023-03-23 | 1 | -3/+7 |
| | |||||
* | New Avatar UI | Marvin W | 2023-03-05 | 4 | -24/+37 |
| | |||||
* | 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 | 4 | -41/+104 |
| | |||||
* | Stop regenerating message menu buttons | fiaxh | 2023-02-16 | 3 | -32/+49 |
| | | | | mitigates #1343 | ||||
* | Fix various date/time stamps not updated or wrong time zone | Marvin W | 2023-02-07 | 3 | -13/+29 |
| | |||||
* | Show "Me" instead of bare jid when no local alias is set | Marvin W | 2023-02-07 | 1 | -1/+1 |
| | |||||
* | New Date Separator | Marvin W | 2023-01-31 | 1 | -79/+1 |
| | |||||
* | Add tooltips to the delivered and read icons (#1341) | Prashant Kumar | 2023-01-30 | 1 | -2/+8 |
| | |||||
* | Always display reaction+reply buttons, disable if not possible | fiaxh | 2023-01-30 | 4 | -51/+64 |
| | |||||
* | Fix UI for libadwaita | Marvin W | 2023-01-25 | 6 | -99/+208 |
| | |||||
* | Fix scaling image for GTK4 | Marvin W | 2023-01-24 | 1 | -24/+1 |
| | |||||
* | Small UI fixes for libAdwaita | Marvin W | 2023-01-24 | 2 | -6/+8 |
| | |||||
* | Support replies and reactions to files | fiaxh | 2023-01-11 | 3 | -7/+33 |
| | |||||
* | Add support for XEP-0461 replies (with fallback) | fiaxh | 2023-01-06 | 5 | -21/+112 |
| | |||||
* | Fix compiler warnings | fiaxh | 2022-12-30 | 3 | -3/+3 |
| | |||||
* | Reactions: Improve style | fiaxh | 2022-10-11 | 1 | -7/+7 |
| | |||||
* | Don't require use of MenuButton.set_child introduced with GTK 4.6 | fiaxh | 2022-10-11 | 1 | -2/+1 |
| | |||||
* | Add support for reactions | fiaxh | 2022-10-11 | 4 | -21/+294 |
| | |||||
* | 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 | 3 | -11/+2 |
| | |||||
* | Improve Gtk4 port | fiaxh | 2022-07-27 | 11 | -281/+59 |
| | |||||
* | Port from GTK3 to GTK4 | fiaxh | 2022-07-27 | 11 | -464/+589 |
| | |||||
* | Allow cancellation of file transfers | Marvin W | 2022-03-30 | 2 | -1/+20 |
| | |||||
* | Various call fixes | fiaxh | 2022-02-12 | 1 | -2/+2 |
| | | | | | | | | | - If peer invited us claiming audio-only and then wants to have a video content, do a content-modify and accept audio-only - Check contents for video (and modify) and whether call is truly accepted in PeerState.accept() directly - If a message contains both JMI and CIM, only use JMI - Fix outgoing CIM (disabled) - Use opacity instead of visiblity for file_menu, small fixes - Add back owner/admin/member queries when joining MUC (regression from 33104a7) | ||||
* | Let call notification say if it's a group call | fiaxh | 2022-02-08 | 1 | -0/+4 |
| | |||||
* | Fix quote styling occurring in the middle of a line | fiaxh | 2022-02-07 | 1 | -2/+2 |
| | | | | fixup 454c00a, 795af2d, 4e9e09a | ||||
* | Various call UI/UX improvements | fiaxh | 2022-02-07 | 1 | -6/+19 |
| | |||||
* | Remove color from /me name, remove use_markup from sender label | fiaxh | 2022-01-23 | 2 | -4/+2 |
| | |||||
* | Stop using opacity for text due to side-effects | fiaxh | 2022-01-23 | 1 | -4/+6 |
| | | | | | Fixes #1178 Due to https://gitlab.gnome.org/GNOME/gtk/-/issues/2957 | ||||
* | Imrove file widget menu (fixup 25db512) | fiaxh | 2022-01-09 | 3 | -48/+33 |
| | | | | | | | - Fix file menu remaining visible after clicking an action - Fix file menu for images (clicking resulted in hiding of the file widget part) - Fix styling of file menus for images - Fix compiler warnings and runtime criticals | ||||
* | Introduce file widget menu with "Save as..." and "Open" actions (#1080) | wkg | 2022-01-09 | 2 | -6/+67 |
| | |||||
* | 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 | ||||
* | Use opacity for "pending" and "edited" hints | fiaxh | 2022-01-04 | 1 | -4/+2 |
| | | | | Getting the dim-label color doesn't work without actually rendering it | ||||
* | UI + libdino: Improve MUJI calls from MUC | fiaxh | 2021-12-23 | 1 | -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 fixes | fiaxh | 2021-11-15 | 1 | -1/+1 |
| | |||||
* | Add (disabled) multi-party call UI | fiaxh | 2021-11-10 | 2 | -17/+58 |
| | |||||
* | Fix compiler warnings ('Switch does not handle .. of enum ..') | fiaxh | 2021-10-12 | 1 | -0/+3 |
| | |||||
* | Fix compiler warnings ('[GtkChild] fields must be declared as `unowned'') | fiaxh | 2021-10-12 | 5 | -30/+30 |
| | |||||
* | FileWidgets: Improve mouse enter/leave identification | fiaxh | 2021-10-01 | 2 | -42/+19 |
| | |||||
* | Improve call related wording | fiaxh | 2021-09-25 | 1 | -20/+11 |
| | |||||
* | Fixed name change (#1076) | sojuz151 | 2021-08-24 | 1 | -2/+11 |
| |