Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add WeakTimeout Pattern to Prevent Leaks | Christopher Vollick | 2024-04-28 | 4 | -28/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | Calls: Correctly display information in partially encrypted calls | Marvin W | 2024-04-28 | 2 | -25/+57 |
| | | | | | This should never happen in practice, but now we will correctly display if a call has encrypted audio, but unencrypted video, or vice-versa. | ||||
* | Remove conversation closing via hover button | fiaxh | 2024-03-21 | 1 | -20/+0 |
| | |||||
* | Introduce conversation menu, add close option | fiaxh | 2024-03-21 | 1 | -8/+20 |
| | |||||
* | Conversation details dialog: Fix runtime critical | fiaxh | 2024-03-21 | 1 | -0/+1 |
| | |||||
* | Fix poor contrast of highlight in search results with dark theme (#1557) | eerielili | 2024-03-02 | 1 | -1/+2 |
| | | | - fixes #1308 | ||||
* | 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> | ||||
* | Enable hyperlinks in topic text to be clicked (#1523) | eerielili | 2024-01-13 | 2 | -3/+5 |
| | | | fixes #1042 | ||||
* | Change select contact dialog container to AdwClamp (#1533) | Teemu Ikonen | 2024-01-13 | 2 | -0/+4 |
| | |||||
* | Fix crash on removing conference not in roster (#1516) | eerielili | 2024-01-10 | 1 | -0/+1 |
| | |||||
* | Conversation details dialog: Fix notification+block icons | fiaxh | 2023-12-10 | 1 | -2/+2 |
| | |||||
* | Fix some compiler warnings | fiaxh | 2023-10-07 | 9 | -13/+11 |
| | |||||
* | conversation details: Fix for libadwaita < 1.4 | fiaxh | 2023-09-25 | 1 | -0/+5 |
| | |||||
* | Rewrite contact details dialog | fiaxh | 2023-09-24 | 12 | -360/+599 |
| | |||||
* | Fix build on some Vala compiler versions | Marvin W | 2023-09-24 | 3 | -4/+10 |
| | | | | See https://gitlab.gnome.org/GNOME/vala/-/issues/1474 and https://gitlab.gnome.org/GNOME/vala/-/issues/1478 | ||||
* | Fix subscription notification clearing | fiaxh | 2023-09-07 | 2 | -12/+23 |
| | |||||
* | Cleanup automatically loaded help overlay | fiaxh | 2023-07-08 | 1 | -1/+0 |
| | |||||
* | application: Load help overlay automatically | Christopher Davis | 2023-07-08 | 1 | -14/+0 |
| | | | | | | | | | GTK automatically loads and sets up the action and keyboard shortcut for the Keyboard Shortcuts dialog. We don't need to manually do it as long as we put everything in the right place. See https://docs.gtk.org/gtk4/class.Application.html#automatic-resources | ||||
* | main_window: Use AdwApplicationWindow | Christopher Davis | 2023-07-08 | 1 | -1/+1 |
| | | | | | The main window of an app should be an ApplicationWindow. These windows provide nicer APIs for actions and more. | ||||
* | Add a keyboard shortcut to show keyboard shortcuts (#1432) | eerielili | 2023-06-25 | 1 | -0/+2 |
| | | | | | Add a keyboard shortcut to show keyboard shortcuts - It's Ctrl+? | ||||
* | icons: Refresh some symbolic icons (#1444) | Tobias Bernard | 2023-05-29 | 4 | -8/+8 |
| | |||||
* | Fix reactions being made to the wrong message | Marvin W | 2023-05-14 | 1 | -1/+0 |
| | | | | fixes #1426 | ||||
* | Fix chat input for IME | fiaxh | 2023-05-14 | 1 | -1/+6 |
| | | | | | | fixes #1419 Co-authored-by: Marvin W <git@larma.de> | ||||
* | Focus ChatInput textbox after selecting emoji | Karim Malhas | 2023-04-23 | 1 | -0/+2 |
| | | | | | | | | | | | | After selecting an emoji, the emoji is inserted into the textbox, but focus remains on the emoji_button. This causes the EmojiChooser to be opened again if a user hits the Enter key directly, but text is inserted into the textbox if they continue to type. This commit just explicitely focuses on the textbox after an emoji has been selected. | ||||
* | Fix call window styling | fiaxh | 2023-04-22 | 1 | -3/+0 |
| | |||||
* | Fix call window controlls hiding | fiaxh | 2023-04-22 | 1 | -3/+19 |
| | |||||
* | Fix images from another client in our account not being displayed right away | fiaxh | 2023-03-23 | 1 | -3/+7 |
| | |||||
* | FreeDesktopNotifier: Set notification categories | Sebastian Krzyszkowiak | 2023-03-21 | 1 | -0/+6 |
| | | | | | This provides notifications servers some context on how to handle the notification. | ||||
* | Improve database performance while reconnecting and syncing | Marvin W | 2023-03-21 | 1 | -0/+14 |
| | | | | Also move some tasks to low priority idle queue so they won't block UI updates | ||||
* | New Avatar UI | Marvin W | 2023-03-05 | 21 | -592/+595 |
| | |||||
* | Implement XEP-0392: Consistent Color Generation | Marvin W | 2023-03-05 | 1 | -10/+13 |
| | |||||
* | 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 | 5 | -43/+112 |
| | |||||
* | Stop regenerating message menu buttons | fiaxh | 2023-02-16 | 3 | -32/+49 |
| | | | | mitigates #1343 | ||||
* | Clear chat input after /command | fiaxh | 2023-02-10 | 1 | -7/+8 |
| | | | | fixes #1359 | ||||
* | Remove spell check setting | fiaxh | 2023-02-09 | 2 | -83/+0 |
| | | | | As there is currently no spell check support for GTK4 | ||||
* | Settings: Connect to Switch.notify-active instead of to activate | fiaxh | 2023-02-09 | 1 | -5/+5 |
| | | | | As per the documentation of the activate signal "Applications should never connect to this signal, but use the notify:active signal." https://valadoc.org/gtk+-3.0/Gtk.Switch.activate.html | ||||
* | settings_dialog: Use AdwPreferencesWindow and AdwActionRow | Christopher Davis | 2023-02-09 | 1 | -19/+19 |
| | | | | | | AdwPreferencesWindow contains a nice API for preferences windows, and AdwActionRow is the widget to use for rows of preferences. | ||||
* | Prepare for 0.4 release | Marvin W | 2023-02-07 | 1 | -4/+5 |
| | |||||
* | Fix various date/time stamps not updated or wrong time zone | Marvin W | 2023-02-07 | 3 | -13/+29 |
| | |||||
* | Fix some form entries not updating properly | Marvin W | 2023-02-07 | 4 | -29/+15 |
| | |||||
* | Show "Me" instead of bare jid when no local alias is set | Marvin W | 2023-02-07 | 1 | -1/+1 |
| | |||||
* | Fix label attributes updated with delay | Marvin W | 2023-02-07 | 1 | -16/+17 |
| | |||||
* | Fix placeholder being shown on startup, fix missing vertical line in ↵ | fiaxh | 2023-01-31 | 1 | -1/+0 |
| | | | | no-conversations placeholder | ||||
* | New Date Separator | Marvin W | 2023-01-31 | 2 | -79/+111 |
| | |||||
* | Fix critical warning due to tooltip issue | Marvin W | 2023-01-31 | 1 | -1/+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 | 12 | -248/+367 |
| | |||||
* | Fix scaling image for GTK4 | Marvin W | 2023-01-24 | 2 | -180/+104 |
| |