Commit Graph

400 Commits

Author SHA1 Message Date
Xavier Del Campo Romero 1159a169b0
Inhibit suspend on file upload/download 2023-10-09 16:38:03 +02:00
Xavier Del Campo Romero 9214e31b98
WIP call notifications 2023-10-09 16:38:03 +02:00
Xavier Del Campo Romero 2c292f16c8
file_sender.vala: Split very long line 2023-10-09 16:38:02 +02:00
Xavier Del Campo Romero 6d3aef2718
Show file upload/download progress
Fixes upstream issue #1350.

Notes:

Image uploads were incorrectly handled by Dino, as they were always
reported as completed even if they were not, maybe so as to show the
image preview from the start. Now, Dino shows the upload progress for
all file types, and the image is only shown when completed.
2023-10-09 16:38:02 +02:00
Xavier Del Campo Romero f3c50f0739
http-files: Avoid null dereferences 2023-10-09 14:09:00 +02:00
Xavier Del Campo Romero 52a34986af
Show warning dialog on failed GTK video sink creation 2023-10-09 14:08:59 +02:00
Xavier Del Campo Romero be7e0c2d56
Backport Meson build support
Meson builds have better integration with Vala. For example, Meson
handles incremental compilation of Vala source files better than
CMake.

Limitations:

As done with CMake builds, gresource.xml should be compiled. Now, it has
been generated from a CMake build and manually copied into the source
tree.
2023-10-09 14:08:59 +02:00
Michel Le Bihan 125a660af9
[feature/handy]: Adapt OMEMO dialog (#985)
* Wrap OMEMO automatically accept label

* Change OMEMO fingerprint label to wrap with max-width

* Set contact OMEMO dialog as resizable

* Disable expanding grid in contact details
2023-10-05 14:32:09 +02:00
fiaxh 8818ec6c81
OMEMO: Make device list public 2023-10-05 14:32:05 +02:00
fiaxh 741e5efe59
Fix build 2023-10-05 14:32:05 +02:00
fiaxh 5367139205
Remove nl_BE from LINGUAS files and appdata file (fixup d0a00e1) 2023-10-05 14:32:05 +02:00
Translations aa3cb0a405
Remove Dutch (Belgium) translation, fallback to Dutch
fixes #1231
2023-10-05 14:32:05 +02:00
Marvin W 4d6283fd7b
Automatically select appropriate libsoup version 2023-10-05 14:32:03 +02:00
Marvin W 49a0d9fcb5
DTLS: Use ECDSA key 2023-10-01 21:28:29 +02:00
Marvin W 78ea2fcb23
Do not send DTLS datagrams to RTP even after handshake
Also post debug message in case we drop datagrams
2023-10-01 21:28:29 +02:00
Stephen Paul Weber b486e36b06
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-10-01 21:28:29 +02:00
Marvin W cb13545b47
CMake: Fix version checks 2023-10-01 21:28:28 +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
Marvin W 6532c2b160
RTP: Only display SSRC mismatch warning for GLib versions supporting warning_once 2022-02-11 20:33:06 +01:00
Marvin W e768c40e11
RTP: Make codec and hardware support compile-time configurable 2022-02-11 19:55:19 +01:00
fiaxh dbc6d87cb9 Various call fixes
- Don't create incoming CIM calls twice
- Fix is_color check for video devices w/ multiple formats
- Tolerate mismatching content creator on jingle responses
- Change MUJI namespace to urn:xmpp:jingle:muji:0
2022-02-10 15:43:34 +01:00
Marvin W 28248607f0
DTLS: Handle DTLS fingerprint in transport-info before session-accept 2022-02-09 23:58:54 +01:00
Translations fb10aefefa Update translations 2022-02-08 22:17:26 +01:00
Marvin W 43ea088f64
Calls: Device picker 2022-02-08 21:58:18 +01:00
Translations 35526ab5a5 Update translations 2022-02-08 17:52:30 +01:00
fiaxh 4ef50db3e5 Various call UI/UX improvements 2022-02-07 01:21:11 +01:00
Marvin W 5ed8d28a27
RTP: Use two channels for Opus
Fixes: #1189
2022-02-06 00:19:27 +01:00
Marvin W bfd089516a
RTP: Add support for G.722 2022-02-06 00:19:26 +01:00
Marvin W 51dc414631
Use uppercase hex for DTLS fingerprints 2022-02-06 00:19:26 +01:00
Marvin W 460c520db7
RTP: Restrict number of recaps to save resources 2022-02-06 00:19:26 +01:00
Translations f94d95fa44 Update translations 2022-02-02 13:08:05 +01:00
Marvin W 0c524cdc4a
RTP: Workaround drawing issues on resolution change 2022-01-27 22:09:53 +01:00
fiaxh b123800f26 Small cleanup 2022-01-23 19:50:01 +01:00
Marvin W f270fc7686
RTP: VAAPI seems to not support VBR and low-power mode at the same time 2022-01-21 15:34:06 +01:00
Marvin W 37cfbd8c76
RTP: Use VP8 wait-for-keyframe only for GStreamer 1.18+ 2022-01-21 15:23:38 +01:00