aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add WeakTimeout Pattern to Prevent LeaksChristopher Vollick2024-04-287-28/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 callsMarvin W2024-04-283-28/+60
| | | | | This should never happen in practice, but now we will correctly display if a call has encrypted audio, but unencrypted video, or vice-versa.
* Annotating with array_null_terminated doesn't imply a missing array_lengthRico Tzschichholz2024-04-281-2/+2
| | | | Taken from https://github.com/GNOME/vala-extra-vapis/commit/6b8a3e4faaabc462f90ffcb0cf0f91991ee58077
* Fix message stanza with body changing MUC subject (#1569)eerielili2024-04-011-1/+1
| | | | | | | | | - fixes https://github.com/dino/dino/issues/1542 - more consistent with https://xmpp.org/extensions/xep-0045.html#enter-subject: "Note: In accordance with the core definition of XML stanzas, any message can contain a <subject/> element; only a message that contains a <subject/> but no <body/> element shall be considered a subject change for MUC purposes."
* Remove conversation closing via hover buttonfiaxh2024-03-212-96/+21
|
* Introduce conversation menu, add close optionfiaxh2024-03-211-8/+20
|
* Conversation details dialog: Fix runtime criticalfiaxh2024-03-211-0/+1
|
* configure: fix typo (VALACFLAGS) (#1550)Alexandre Jousset2024-03-021-1/+1
|
* Fix poor contrast of highlight in search results with dark theme (#1557)eerielili2024-03-021-1/+2
| | | - fixes #1308
* Add unread indicatorfiaxh2024-03-025-0/+100
| | | | | 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)eerielili2024-01-132-3/+5
| | | fixes #1042
* Change select contact dialog container to AdwClamp (#1533)Teemu Ikonen2024-01-133-46/+54
|
* Fix crash on removing conference not in roster (#1516)eerielili2024-01-101-0/+1
|
* Conversation details dialog: Fix notification+block iconsfiaxh2023-12-106-2/+19
|
* Fix segfault opening conversation details when no XEP-0191 support (#1513)eerielili2023-12-101-1/+5
| | | fixes #1508
* Fix http upload for servers without file size limit (#1512)eerielili2023-11-241-1/+3
| | | | | | | * Fix for ejabberd XMPP server 'infinity' http upload file size announce - fixes https://github.com/dino/dino/issues/1222 * Update 0363_http_file_upload.vala
* main/meson.build:121: fix typoAlexandre Jousset2023-11-131-1/+1
|
* rtp plugin doesn't depend on GnuTLShrxi2023-11-133-11/+1
|
* Start conversation if closed when receiving an audio or video call (#1485)eerielili2023-10-083-6/+8
| | | | | | | | | * Start conversation if closed when receiving an audio or video call * Fix starting conversation on new calls, move setting conversation.last_active --------- Co-authored-by: fiaxh <git@lightrise.org>
* Fix crash due to gpg binding issuefiaxh2023-10-073-3/+6
|
* Fix some compiler warningsfiaxh2023-10-0715-37/+19
|
* Fix implicit-function-declaration compiler warningsfiaxh2023-10-071-18/+18
|
* meson: Add version detection for some dependencieshrxi2023-10-062-3/+18
|
* meson: Add RTP options that are also present in the CMakeLists.txthrxi2023-10-063-8/+31
|
* meson: Allow enabling/disabling pluginshrxi2023-10-062-15/+42
|
* meson: Add rtp pluginhrxi2023-10-064-1/+49
|
* meson: Add omemo pluginhrxi2023-10-066-0/+82
|
* meson: Add ice pluginhrxi2023-10-063-0/+31
|
* meson: Add crypto-vala libraryhrxi2023-10-065-1/+29
|
* meson: Add notification-sound pluginhrxi2023-10-063-0/+21
|
* meson: Add openpgp pluginhrxi2023-10-065-0/+52
|
* meson: Add http-files pluginhrxi2023-10-063-0/+25
|
* meson: Install more stuffhrxi2023-10-0611-8/+48
| | | | | | | | | | | 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.
* Merge `signal-protocol` into `omemo` pluginhrxi2023-10-0621-758/+706
| | | | Same reasoning as for the `openpgp` plugin.
* Merge `gpgme-vala` into `openpgp` pluginhrxi2023-10-0610-256/+192
| | | | | There's no reason for it to be a statically linked library anymore, it can be directly compiled into the plugin.
* Fix every inclusion of `gpgme_fix.h` getting their own mutexhrxi2023-10-062-4/+4
|
* conversation details: Fix for libadwaita < 1.4fiaxh2023-09-252-1/+5
|
* Rewrite contact details dialogfiaxh2023-09-2427-479/+1339
|
* Fix build on some Vala compiler versionsMarvin W2023-09-248-4/+54
| | | | See https://gitlab.gnome.org/GNOME/vala/-/issues/1474 and https://gitlab.gnome.org/GNOME/vala/-/issues/1478
* Fix subscription notification clearingfiaxh2023-09-072-12/+23
|
* fix: Add x node to MUC PM stanza (#1462)mesonium2023-07-292-0/+12
| | | | | | Add <x/> tag in MUC-PMs to support better Carbon delivery in compliance with XEP-0045 v1.28 and above. Fixes #1306
* Fix showing the kick option to ownersKim Alvefur2023-07-291-0/+2
| | | | | Missing case in the switch defaulted to returning false for Owners, thus preventing they with the most privileges from using those privileges.
* Fix potential crash in video callsMarvin W2023-07-091-1/+5
|
* Fix certificate start timeMarvin W2023-07-091-1/+1
| | | | I doubt anyone ever looked at it, but it shouldn't be 1 day in the future ;)
* Do not send DTLS datagrams to RTP even after handshakeMarvin W2023-07-091-2/+9
| | | | Also post debug message in case we drop datagrams
* Ignore non-DTLS data before handshake is completeStephen Paul Weber2023-07-091-1/+1
| | | | | | | | https://datatracker.ietf.org/doc/html/rfc9147#name-demul https://datatracker.ietf.org/doc/html/rfc5764#section-5.1.2 If data is received before handshake is complete, discard it rather than forwarding it blindly to GnuTLS which can get confused.
* data: Set X-Purism-FormFactor in .desktop fileRobert Mader2023-07-081-0/+1
| | | | So the app is detected as mobile-friendly on Phosh.
* Cleanup automatically loaded help overlayfiaxh2023-07-083-3/+2
|
* application: Load help overlay automaticallyChristopher Davis2023-07-085-19/+4
| | | | | | | | | 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 AdwApplicationWindowChristopher Davis2023-07-081-1/+1
| | | | | The main window of an app should be an ApplicationWindow. These windows provide nicer APIs for actions and more.