Commit graph

1079 commits

Author SHA1 Message Date
Marvin W c5cb4a7406
Check sender of bookmark:1 updates 2023-03-23 12:06:05 -06:00
Marvin W 767e87f8cd
Bind soup session lifetime to File provider/sender lifetime
Required since libsoup 3.4. Fixes #1395
2023-03-22 13:21:47 -06:00
Bohdan Horbeshko 27ed337b16
Fix a crash if a message subnode is not found in a carbon
Fixes #1392
2023-03-22 09:57:55 -06:00
Marvin W 8e508f2871
Consider stream readable when EOS is reached.
Fixes #1373
2023-03-22 09:57:55 -06:00
fiaxh 156f75895e
Fix connecting to jingle file provider multiple times 2023-03-22 09:56:26 -06:00
Marvin W 38584475a5
HTTP: Make LimitInputStream pollable for better async compatibility
Fixes #1307
2023-03-22 09:56:26 -06:00
Marvin W 322cafdc46 Automatically select appropriate libsoup version 2022-11-03 13:55:29 -06:00
Marvin W 8a1d58cb6f Don't use splice when handling input streams from libsoup-3 2022-11-02 10:38:40 -06:00
Marvin W bf0fecf04f DTLS: Use ECDSA key 2022-11-02 10:38:40 -06:00
rim 1c72f95988 Fix crash when calling contact from Conversations (#1259)
fixes #1227
2022-11-02 10:38:40 -06:00
Marvin W 6c258c2f28 CMake: Fix version checks 2022-11-02 10:13:37 -06:00
Matthew Egeler aa90175852 Support devices with multiple framerate options in get_max_fps (#1224) 2022-11-02 10:07:39 -06:00
foucault d9c1eca888 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-11-02 10:07:31 -06:00
Marvin W 8b4b2b584f 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-11-02 10:07:23 -06:00
Marvin W 565df4c237 Fix build of tests 2022-11-02 10:07:11 -06:00
Marvin W 8b508bb6de Allow cancellation of file transfers 2022-11-02 10:07:05 -06:00
Marvin W 9646630e1e Fix Version handling, add function to retrieve short version without git commit 2022-11-02 10:06:58 -06:00
fiaxh 48404edf47 Fix quote formating to not (partially) expect a space after > 2022-11-02 10:05:03 -06:00
fiaxh 9838d56794 Prepare for 0.3 release 2022-02-12 22:18:06 +01:00
Translations f5d1435182 Update translations 2022-02-12 22:08:07 +01:00
Marvin W 6dca4f499e
Fix call participant widget 2022-02-12 20:51:31 +01:00
fiaxh ad00f3f930 Remove call notification if other device accepted/denied 2022-02-12 20:23:35 +01:00
Marvin W 3f169c64d7
CIM: Announce accepted method 2022-02-12 19:16:16 +01:00
Marvin W 602834bdf7
Fix build on Debian 10 2022-02-12 19:16:16 +01:00
fiaxh 06f0bc00f1 Calls: Show invite button quicker 2022-02-12 17:35:46 +01:00
Marvin W b586aebbac
Calls: Fix OMEMO in group calls 2022-02-12 17:18:03 +01:00
Marvin W 6f9375e6ea
Calls: Only show invite button when it's supported 2022-02-12 15:14:15 +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 0f5f57888e
Calls: Use GtkHeaderBar for each participant 2022-02-12 14:36:25 +01:00
fiaxh be751a5dda Various call fixes
- If peer invited us claiming audio-only and then wants to have a video content, do a content-modify and accept audio-only
- Check contents for video (and modify) and whether call is truly accepted in PeerState.accept() directly
- If a message contains both JMI and CIM, only use JMI
- Fix outgoing CIM (disabled)
- Use opacity instead of visiblity for file_menu, small fixes
- Add back owner/admin/member queries when joining MUC (regression from 33104a7)
2022-02-12 14:22:29 +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
fiaxh 7718def74d Wording: Use singular in 'No camera/microphone/speaker found' 2022-02-08 22:29:33 +01:00
Translations fb10aefefa Update translations 2022-02-08 22:17:26 +01:00
fiaxh 8b473c890b Call Invite Message: Send 'finished' messages, include reasons 2022-02-08 22:13:59 +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 408406e652 Let call notification say if it's a group call 2022-02-08 17:52:30 +01:00
fiaxh 3088879a7b Various call fixes
- Use groupchat message type for invites in MUCs
- Use call id (from propose) instead of message id for Call Invite Messages
- Fix call window controlls appearing when hovering controls
2022-02-07 22:17:21 +01:00
fiaxh ee085e3e0d Fix quote styling occurring in the middle of a line
fixup 454c00a, 795af2d, 4e9e09a
2022-02-07 22:17:21 +01:00
fiaxh 29d1abccac Support direct jingle call invites with call invite messages 2022-02-07 01:21:11 +01:00
fiaxh 071d925e37 Add support for call invite messages
As of https://github.com/xsf/xeps/pull/1155
2022-02-07 01:21:11 +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
fiaxh 3e19778deb Revert "Prevent ChatTextView from increasing in height after text was entered"
This reverts commit eefce3fd81.
The workaround doesn't seem to be necessary anymore.

fixes #1188
2022-02-04 13:39:46 +01:00