aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_content_view
Commit message (Collapse)AuthorAgeFilesLines
* Add WeakTimeout Pattern to Prevent LeaksChristopher Vollick2024-04-283-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 indicatorfiaxh2024-03-022-0/+91
| | | | | Co-authored-by: Alexandre Jousset <mid@gtmp.org> Co-authored-by: Aidan Epstein <aidan@jmad.org>
* Fix some compiler warningsfiaxh2023-10-072-2/+1
|
* Fix subscription notification clearingfiaxh2023-09-071-0/+6
|
* icons: Refresh some symbolic icons (#1444)Tobias Bernard2023-05-291-1/+1
|
* Fix reactions being made to the wrong messageMarvin W2023-05-141-1/+0
| | | | fixes #1426
* Fix images from another client in our account not being displayed right awayfiaxh2023-03-231-3/+7
|
* New Avatar UIMarvin W2023-03-054-24/+37
|
* Fix critical warnings after DTLS-SRTP calls without OMEMO verificationMarvin W2023-03-021-1/+1
| | | | libdino-CRITICAL **: dino_plugins_encryption_list_entry_get_encryption_icon_name: assertion 'self != NULL' failed
* Fix some memory leaksfiaxh2023-02-274-41/+104
|
* Stop regenerating message menu buttonsfiaxh2023-02-163-32/+49
| | | | mitigates #1343
* Fix various date/time stamps not updated or wrong time zoneMarvin W2023-02-073-13/+29
|
* Show "Me" instead of bare jid when no local alias is setMarvin W2023-02-071-1/+1
|
* New Date SeparatorMarvin W2023-01-311-79/+1
|
* Add tooltips to the delivered and read icons (#1341)Prashant Kumar2023-01-301-2/+8
|
* Always display reaction+reply buttons, disable if not possiblefiaxh2023-01-304-51/+64
|
* Fix UI for libadwaitaMarvin W2023-01-256-99/+208
|
* Fix scaling image for GTK4Marvin W2023-01-241-24/+1
|
* Small UI fixes for libAdwaitaMarvin W2023-01-242-6/+8
|
* Support replies and reactions to filesfiaxh2023-01-113-7/+33
|
* Add support for XEP-0461 replies (with fallback)fiaxh2023-01-065-21/+112
|
* Fix compiler warningsfiaxh2022-12-303-3/+3
|
* Reactions: Improve stylefiaxh2022-10-111-7/+7
|
* Don't require use of MenuButton.set_child introduced with GTK 4.6fiaxh2022-10-111-2/+1
|
* Add support for reactionsfiaxh2022-10-114-21/+294
|
* Fix encryption button update and reduce its required GTK versionfiaxh2022-08-211-7/+3
| | | | MenuButton.activate only exists since 4.4
* Disable tooltips for GTK 4.6.4 - 4.6.6fiaxh2022-08-201-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 improvementsMarvin W2022-07-273-11/+2
|
* Improve Gtk4 portfiaxh2022-07-2711-281/+59
|
* Port from GTK3 to GTK4fiaxh2022-07-2711-464/+589
|
* Allow cancellation of file transfersMarvin W2022-03-302-1/+20
|
* Various call fixesfiaxh2022-02-121-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 callfiaxh2022-02-081-0/+4
|
* Fix quote styling occurring in the middle of a linefiaxh2022-02-071-2/+2
| | | | fixup 454c00a, 795af2d, 4e9e09a
* Various call UI/UX improvementsfiaxh2022-02-071-6/+19
|
* Remove color from /me name, remove use_markup from sender labelfiaxh2022-01-232-4/+2
|
* Stop using opacity for text due to side-effectsfiaxh2022-01-231-4/+6
| | | | | Fixes #1178 Due to https://gitlab.gnome.org/GNOME/gtk/-/issues/2957
* Imrove file widget menu (fixup 25db512)fiaxh2022-01-093-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)wkg2022-01-092-6/+67
|
* Display message sender in bold+text color instead of small+coloredfiaxh2022-01-051-3/+1
|
* Add 'unknown' encryption state for establishing callsfiaxh2022-01-041-1/+1
| | | | Currently, they are Encryption.NONE and thus marked as unencrypted in encrypted conversations
* Use opacity for "pending" and "edited" hintsfiaxh2022-01-041-4/+2
| | | | Getting the dim-label color doesn't work without actually rendering it
* 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-102-17/+58
|
* Fix compiler warnings ('Switch does not handle .. of enum ..')fiaxh2021-10-121-0/+3
|
* Fix compiler warnings ('[GtkChild] fields must be declared as `unowned'')fiaxh2021-10-125-30/+30
|
* FileWidgets: Improve mouse enter/leave identificationfiaxh2021-10-012-42/+19
|
* Improve call related wordingfiaxh2021-09-251-20/+11
|
* Fixed name change (#1076)sojuz1512021-08-241-2/+11
|