aboutsummaryrefslogtreecommitdiff
path: root/main
AgeCommit message (Collapse)Author
2024-05-09AppData/DOAP: Use sentence case for summary.Marvin W
The suggestion is to not use title case which we did before.
2024-05-09AppData: Add brand colorMarvin W
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>
2024-04-28Calls: Correctly display information in partially encrypted callsMarvin W
This should never happen in practice, but now we will correctly display if a call has encrypted audio, but unencrypted video, or vice-versa.
2024-03-21Remove conversation closing via hover buttonfiaxh
2024-03-21Introduce conversation menu, add close optionfiaxh
2024-03-21Conversation details dialog: Fix runtime criticalfiaxh
2024-03-02Fix poor contrast of highlight in search results with dark theme (#1557)eerielili
- fixes #1308
2024-03-02Add unread indicatorfiaxh
Co-authored-by: Alexandre Jousset <mid@gtmp.org> Co-authored-by: Aidan Epstein <aidan@jmad.org>
2024-01-13Enable hyperlinks in topic text to be clicked (#1523)eerielili
fixes #1042
2024-01-13Change select contact dialog container to AdwClamp (#1533)Teemu Ikonen
2024-01-10Fix crash on removing conference not in roster (#1516)eerielili
2023-12-10Conversation details dialog: Fix notification+block iconsfiaxh
2023-11-13main/meson.build:121: fix typoAlexandre Jousset
2023-10-07Fix some compiler warningsfiaxh
2023-10-06meson: Add version detection for some dependencieshrxi
2023-10-06meson: Install more stuffhrxi
Install .vapi, .deps, .h files for the Vala libraries. Also install the data files. .deps files have to be manually generated, there's a feature request for automated generation at https://github.com/mesonbuild/meson/issues/9756. Import the gnome module globally. Install dependencies on Meson CI.
2023-09-25conversation details: Fix for libadwaita < 1.4fiaxh
2023-09-24Rewrite contact details dialogfiaxh
2023-09-24Fix build on some Vala compiler versionsMarvin W
See https://gitlab.gnome.org/GNOME/vala/-/issues/1474 and https://gitlab.gnome.org/GNOME/vala/-/issues/1478
2023-09-07Fix subscription notification clearingfiaxh
2023-07-08data: Set X-Purism-FormFactor in .desktop fileRobert Mader
So the app is detected as mobile-friendly on Phosh.
2023-07-08Cleanup automatically loaded help overlayfiaxh
2023-07-08application: Load help overlay automaticallyChristopher Davis
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
2023-07-08main_window: Use AdwApplicationWindowChristopher Davis
The main window of an app should be an ApplicationWindow. These windows provide nicer APIs for actions and more.
2023-06-25Add a keyboard shortcut to show keyboard shortcuts (#1432)eerielili
Add a keyboard shortcut to show keyboard shortcuts - It's Ctrl+?
2023-05-29icons: Refresh some symbolic icons (#1444)Tobias Bernard
2023-05-14Fix reactions being made to the wrong messageMarvin W
fixes #1426
2023-05-14Fix chat input for IMEfiaxh
fixes #1419 Co-authored-by: Marvin W <git@larma.de>
2023-05-13Fix chat input status having a fixed width requirementfiaxh
fixes #1439
2023-04-23Focus ChatInput textbox after selecting emojiKarim Malhas
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.
2023-04-22Fix call window stylingfiaxh
2023-04-22Fix call window controlls hidingfiaxh
2023-03-24Always export symbols to fix startup on BSDsKlemens Nanni
``` $ dino (dino:38515): Gtk-ERROR **: 15:38:38.538: failed to add UI from resource /im/dino/Dino/unified_main_content.ui: .:26:1 Invalid object type 'DinoUiConversationSelector' Trace/BPT trap (core dumped) ``` This works on Linux because CMake itself links with `-rdynamic` by default as per its `Modules/Platform/Linux-*.cmake`. OpenBSD carries this as local patch, FreeBSD links with `--export-dynamics`. Just linking with `-rdynamic` also fixes it on OpenBSD, as expected. https://cmake.org/cmake/help/latest/prop_tgt/ENABLE_EXPORTS.html Fix #438.
2023-03-24First steps of meson supporthrxi
Basic configuration of qlite, xmpp-vala, the Dino library and the Dino application are supported. There's no support for the plugins. This e.g. enables using the Vala language server.
2023-03-23Fix images from another client in our account not being displayed right awayfiaxh
2023-03-21FreeDesktopNotifier: Set notification categoriesSebastian Krzyszkowiak
This provides notifications servers some context on how to handle the notification.
2023-03-21data: Set StartupNotify to true in .desktop fileSebastian Krzyszkowiak
GTK handles startup notifications, so advertise it in desktop file. This allows splash screens and other startup indications in DEs to work.
2023-03-21Improve database performance while reconnecting and syncingMarvin W
Also move some tasks to low priority idle queue so they won't block UI updates
2023-03-05New Avatar UIMarvin W
2023-03-05Implement XEP-0392: Consistent Color GenerationMarvin W
2023-03-02Fix critical warnings after DTLS-SRTP calls without OMEMO verificationMarvin W
libdino-CRITICAL **: dino_plugins_encryption_list_entry_get_encryption_icon_name: assertion 'self != NULL' failed
2023-02-27Fix some memory leaksfiaxh
2023-02-16Stop regenerating message menu buttonsfiaxh
mitigates #1343
2023-02-10Clear chat input after /commandfiaxh
fixes #1359
2023-02-09Remove spell check settingfiaxh
As there is currently no spell check support for GTK4
2023-02-09Make the symbolic app icon squarefiaxh
2023-02-09Settings: Connect to Switch.notify-active instead of to activatefiaxh
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
2023-02-09menu_app: Move preferences to last groupChristopher Davis
Per https://developer.gnome.org/hig/patterns/controls/menus.html#standard-primary-menu-items, preferences should be at the top of the last group in the menu.
2023-02-09menu_app: Rename Settings to PreferencesChristopher Davis
The standard name in GNOME applications is Preferences.