Commit graph

417 commits

Author SHA1 Message Date
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 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
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
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 6690d8e4a4
Bind soup session lifetime to File provider/sender lifetime
Required since libsoup 3.4. Fixes #1395
2023-03-22 12:35:13 -06:00
Marvin W cb10110c57
Fix C binding for gst_video_frame_get_data
Fixes #1267
2023-03-20 15:53:53 -06:00
Marvin W 503de303d7
Consider stream readable when EOS is reached.
Fixes #1373
2023-03-02 00:02:35 +01:00
fiaxh fb799e3ba8 Fix some memory leaks 2023-02-27 23:38:31 +01:00
Translations e73b556a1a Update translations 2023-02-07 21:40:04 +01:00
fiaxh 95fefaff51 OMEMO: Make device list public 2023-02-05 18:49:32 +01:00
fiaxh 10a2bce512 Fix build 2023-01-28 15:58:33 +01:00
fiaxh 1dbacbbcab Remove nl_BE from LINGUAS files and appdata file (fixup d0a00e1) 2023-01-28 15:44:25 +01:00
Translations d0a00e1e75 Remove Dutch (Belgium) translation, fallback to Dutch
fixes #1231
2023-01-28 15:04:48 +01:00
Translations 04eb0e763b Update translations 2023-01-28 14:56:04 +01:00
fiaxh c813a6d240 Fix QR code being displayed way too small
fixes #1278
2023-01-28 00:52:38 +01:00
fiaxh 4d7809bb12 Fix compiler warnings 2022-12-30 21:34:40 +01:00
Marvin W e62955d3cf
HTTP: Make LimitInputStream pollable for better async compatibility
Fixes #1307
2022-11-04 15:45:48 -06:00
Marvin W 6e37f3fe3f Automatically select appropriate libsoup version 2022-11-03 14:10:57 -06:00
Marvin W a2f2224781
DTLS: Use ECDSA key 2022-10-28 18:36:46 +02:00
fiaxh 7ad52d9335 OMEMO QR code: Switch to paintable, fix css 2022-09-18 20:30:24 +02:00
Marvin W 0aa73c4569
RTP: Use gstreamers new VideoFrame.map 2022-08-21 20:02:48 +02:00
Marvin W e85477bb19
RTP: Use latest gstreamer vapi if vala version older than 0.56.1 2022-08-21 19:33:20 +02:00
Marvin W 7b252d040a
CMake: Fix version checks 2022-08-21 00:41:27 +02:00
Marvin W e51b55432f Gtk4 bug fixes and improvements 2022-07-27 20:55:54 +02:00
fiaxh f44cbe02c1 Improve Gtk4 port 2022-07-27 20:34:20 +02:00
Marvin W 2b3ce5fc95 Video for GTK4 2022-07-27 20:34:20 +02:00
fiaxh 7e7dcedaf3 Port from GTK3 to GTK4 2022-07-27 20:34:20 +02:00
Matthew Egeler f25bfb0096
Support devices with multiple framerate options in get_max_fps (#1224) 2022-05-17 14:12:32 +02:00
foucault 186361fd8a Fix calculation of best camera framerate
When the algorithm iterates over all the available v4l2 capabilities it tries to determine the best framerate for each one of YUYV (video/x-raw) modes presented by the hardware (best_fraction, line 357 in device.vala). Regardless of what's determined to be the "best" YUYV mode from within the conditional right after (line 385) the best fractional framerate will always point to the last iterated framerate, which might be an extremely low one, like 7 or 5 FPS. When the framerate is then stored in the Gst.Structure (line 394) the fractional framerate will always be that last value which might be different than the correct one as calculated by best_fps (line 386). This workaround solves this issue by only updating best_fraction when the conditional in line 385 is satisfied.

from issue #1195
2022-05-17 14:08:22 +02:00
Marvin W baa4a6a1eb
Prepare http-files plugin for libsoup-3 support
Note: ice plugin still depends on libsoup-2.4 and one can't have both
in the same process, so this remains disabled by default
2022-04-09 00:28:42 +02:00
Marvin W a0eac798cd
Fix build of tests 2022-04-08 22:03:31 +02:00
Marvin W 193bf38a79
Allow cancellation of file transfers 2022-03-30 10:36:52 -06:00
Nkwuda Sunday Cletus c5ed719b66
set a generic MIME type for encrypted file (#1213) 2022-03-23 20:42:43 +01:00
Marvin W f0ed11ec49
Fix build on Vala < 0.50 and pre-release Vala versions 2022-03-16 08:41:51 -06:00
fiaxh 5f04a6eb09 QR-code: Actually use Uri.join if glib version supports it 2022-03-09 07:56:14 -06:00
mjk d1c8284964 OMEMO QR code: URI-escape the JID 2022-02-26 00:08:00 +00:00
mjk 98adfa332a OMEMO: Make QR code "scalable" in accordance with GDK_SCALE
The QR code is now generated at the required resolution instead of being
stretched for display with linear filtering.
2022-02-25 23:20:05 +00:00
mjk d3ae541673 Qrencode: Break out upsampling into a separate function 2022-02-25 22:43:02 +00:00
mjk 855a98c045 OMEMO: Make QR code fixed-resolution and the quiet zone ISO-conformant 2022-02-25 22:26:43 +00:00
mjk 3719fcbefb RTP: clarify codec support warning 2022-02-13 21:32:28 +01:00
Translations f5d1435182 Update translations 2022-02-12 22:08:07 +01:00
Marvin W b586aebbac
Calls: Fix OMEMO in group calls 2022-02-12 17:18:03 +01:00
Marvin W 369d0c79d7
Calls: Fix device selector for multi-party calls, allow picking device before call started 2022-02-12 14:36:26 +01:00