Commit graph

1253 commits

Author SHA1 Message Date
fiaxh 1e167eeea6 Fix some compiler warnings 2023-10-07 14:34:23 +02:00
fiaxh 0c45387bf9 Fix implicit-function-declaration compiler warnings 2023-10-07 13:56:38 +02:00
hrxi c312fb282f meson: Add version detection for some dependencies 2023-10-06 15:25:12 +02:00
hrxi a55a10e88f meson: Add RTP options that are also present in the CMakeLists.txt 2023-10-06 15:25:12 +02:00
hrxi bfc1962f70 meson: Allow enabling/disabling plugins 2023-10-06 15:25:12 +02:00
hrxi e6938c2965 meson: Add rtp plugin 2023-10-06 15:25:12 +02:00
hrxi 715fabb5bb meson: Add omemo plugin 2023-10-06 15:25:12 +02:00
hrxi 3edda368f3 meson: Add ice plugin 2023-10-06 15:25:12 +02:00
hrxi 7dd0e0aa4a meson: Add crypto-vala library 2023-10-06 15:25:12 +02:00
hrxi 7dd12e7dec meson: Add notification-sound plugin 2023-10-06 15:25:12 +02:00
hrxi 7326ca4d1b meson: Add openpgp plugin 2023-10-06 15:25:12 +02:00
hrxi 6d838c1c31 meson: Add http-files plugin 2023-10-06 15:25:12 +02:00
hrxi 62ed82a495 meson: Install more stuff
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-10-06 15:25:12 +02:00
hrxi 6eb1b53e60 Merge signal-protocol into omemo plugin
Same reasoning as for the `openpgp` plugin.
2023-10-06 15:25:12 +02:00
hrxi e2d801b5f7 Merge gpgme-vala into openpgp plugin
There's no reason for it to be a statically linked library anymore, it
can be directly compiled into the plugin.
2023-10-06 15:25:12 +02:00
hrxi dd0038f5e2 Fix every inclusion of gpgme_fix.h getting their own mutex 2023-10-06 15:25:12 +02:00
fiaxh c2efb214af conversation details: Fix for libadwaita < 1.4 2023-09-25 15:02:03 +02:00
fiaxh e2c34bf223 Rewrite contact details dialog 2023-09-24 19:54:04 +02:00
Marvin W 9eafe4139d Fix build on some Vala compiler versions
See https://gitlab.gnome.org/GNOME/vala/-/issues/1474 and https://gitlab.gnome.org/GNOME/vala/-/issues/1478
2023-09-24 19:51:33 +02:00
fiaxh 2fba24ccae Fix subscription notification clearing 2023-09-07 21:30:47 +02:00
mesonium bc5a1d35cb
fix: Add x node to MUC PM stanza (#1462)
Add <x/> tag in MUC-PMs to support better Carbon delivery in
compliance with XEP-0045 v1.28 and above.

Fixes #1306
2023-07-29 14:02:38 +02:00
Kim Alvefur d0fca291ac Fix showing the kick option to owners
Missing case in the switch defaulted to returning false for Owners, thus
preventing they with the most privileges from using those privileges.
2023-07-29 13:52:11 +02:00
Marvin W 8c8c2dc4b0
Fix potential crash in video calls 2023-07-09 15:32:53 +02:00
Marvin W 7357b7ecfb Fix certificate start time
I doubt anyone ever looked at it, but it shouldn't be 1 day in the future ;)
2023-07-09 14:32:33 +02:00
Marvin W 1bf57a42fa Do not send DTLS datagrams to RTP even after handshake
Also post debug message in case we drop datagrams
2023-07-09 14:32:33 +02:00
Stephen Paul Weber f82f788f43 Ignore non-DTLS data before handshake is complete
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.
2023-07-09 14:32:33 +02:00
Robert Mader 35163f08f9 data: Set X-Purism-FormFactor in .desktop file
So the app is detected as mobile-friendly on Phosh.
2023-07-08 11:23:44 +02:00
fiaxh b830b796a5 Cleanup automatically loaded help overlay 2023-07-08 11:20:51 +02:00
Christopher Davis 3d5dad25d8 application: Load help overlay automatically
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-08 11:20:51 +02:00
Christopher Davis a36a63d7e4 main_window: Use AdwApplicationWindow
The main window of an app should be an ApplicationWindow.
These windows provide nicer APIs for actions and more.
2023-07-08 11:20:51 +02:00
eerielili da7be50f05
Add a keyboard shortcut to show keyboard shortcuts (#1432)
Add a keyboard shortcut to show keyboard shortcuts

    - It's Ctrl+?
2023-06-25 13:39:07 +02:00
Tobias Bernard 4bb0c465fc
icons: Refresh some symbolic icons (#1444) 2023-05-29 22:01:33 +02:00
Marvin W 9a04573fdc Fix reactions being made to the wrong message
fixes #1426
2023-05-14 16:44:37 +02:00
fiaxh 9e4def221f Fix chat input for IME
fixes #1419

Co-authored-by: Marvin W <git@larma.de>
2023-05-14 14:12:05 +02:00
fiaxh 287d5bee6e Fix chat input status having a fixed width requirement
fixes #1439
2023-05-13 14:45:37 +02:00
fiaxh 4dfe853fbf Fix xml output intendation 2023-05-13 14:45:37 +02:00
fiaxh 0bddf9f3da Fix character counting for fallbacks
fixes #1420
2023-05-01 19:21:05 +02:00
Karim Malhas ec6c24c2b4 Focus ChatInput textbox after selecting emoji
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-23 11:53:57 +02:00
fiaxh 10315a245d Code cleanup: Remove left-over usages of mam_earliest_synced 2023-04-23 11:48:29 +02:00
fiaxh 2b9a0ccf7e Fix crash on NS_URI call when own server has no MAM; drop broken mam:1 "support"
fixes #1405
2023-04-23 11:40:06 +02:00
Marvin W 6e60cfcbbe
Fix empty alias being handled different than none 2023-04-22 20:08:49 +02:00
fiaxh 03e367ecb8 Fix call window styling 2023-04-22 19:52:28 +02:00
Marvin W 83476d1cad
Fix Flatpak pipewire socket access 2023-04-22 17:19:40 +02:00
fiaxh 5815e757b7 Fix call window controlls hiding 2023-04-22 17:07:29 +02:00
Marvin W dbb8abc117
Fix video for cameras with rotated image 2023-04-22 17:04:28 +02:00
Marvin W cad066628a
Build: Adjust to never build with libsignal-protocol-c 2023-04-22 17:03:22 +02:00
Marvin W bc3738aba1
Fix GitHub CI build-flatpak 2023-04-22 17:03:21 +02:00
Sonny Piers 9b83e5ccc9 Add Github CI job for Flatpak 2023-04-21 00:41:52 +02:00
Sonny Piers d2ac7a8aeb Add Flatpak manifest 2023-04-21 00:41:52 +02:00
Klemens Nanni b75b6062ab Always export symbols to fix startup on BSDs
```
$ 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-24 19:36:32 +01:00