Commit graph

1220 commits

Author SHA1 Message Date
fiaxh 799d09a4c9 MAM: Fix processing after range was fetched completely, fix merging of ranges 2022-12-20 19:51:38 +01:00
fiaxh 30f99d1347 Fix connecting to jingle file provider multiple times 2022-12-20 19:49:03 +01:00
fiaxh 4d50c51a75 Fix some MAM issues
- Messages from MUCs weren't added to their respective MUC MAM ranges, thus re-fetched on rejoin
- The earliest ('first') message of a mam page was used to update the to_id, but it should have been 'last'; also the other way around.
- Duplicates weren't detected properly
2022-11-20 22:18:22 +01:00
fiaxh d1fb22ebed Reactions: Fix reactions being differentiated by resource on first displaying
fixes #1297
2022-11-20 22:18:22 +01:00
Marvin W cdd22e404e
Fix build with Vala < 0.52
MenuButton.set_child was only added to VAPIs of 0.52 and later.
Even if GTK4 is new enough, they wouldn't be available.
2022-11-10 22:32:19 +01:00
Teemu Ikonen a2e894dda1
Parse conference.password from XEP-0402 bookmarks (#1310) 2022-11-10 19:23:29 +01:00
fiaxh 7a19a25156 Clean up log outputs 2022-11-04 15:57:58 -06: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 809c1579e4 Don't use splice when handling input streams from libsoup-3 2022-11-02 09:57:03 -06:00
Marvin W a2f2224781
DTLS: Use ECDSA key 2022-10-28 18:36:46 +02:00
fiaxh 2ab7374aa5 Fix segfault if reaction message has type normal
fixes #1294
2022-10-20 19:27:01 +02:00
fiaxh d4c674284e Reactions: Fix xml attribute name 2022-10-12 19:23:12 +02:00
fiaxh a45280f8df Reactions: Improve style 2022-10-11 18:55:33 +02:00
fiaxh 09829b3382 Fix message server_id getting overwritten with null on reconnect 2022-10-11 18:55:33 +02:00
fiaxh 11b6e615b7 Don't require use of MenuButton.set_child introduced with GTK 4.6 2022-10-11 17:50:54 +02:00
fiaxh 80258a874d Add support for reactions 2022-10-11 13:37:48 +02:00
fiaxh 6c6e7e3aa7 Rewrite MAM logic and add MUC MAM 2022-10-10 21:55:15 +02:00
fiaxh 9c736af765 Fix regression with channel join button not getting sensitive
fixes #1284
2022-10-09 11:48:58 +02:00
fiaxh 7d8b08deca Small fixes 2022-10-09 11:48:58 +02:00
fiaxh 03878eee49 Add account dialog: Reenable Next-button activation on enter 2022-10-09 11:48:58 +02:00
fiaxh 85342ee2eb Fix drag and drop uploading 2022-10-09 11:48:58 +02:00
fiaxh 21ab48e09a Fix channel join button not getting sensitive 2022-10-03 19:14:45 +02:00
fiaxh 146af31524 Move icons out of scalable/ui/ since it's not allowed by icon naming spec 2022-09-18 20:30:24 +02:00
fiaxh 7ad52d9335 OMEMO QR code: Switch to paintable, fix css 2022-09-18 20:30:24 +02:00
rim b8e84c8326
Fix crash when calling contact from Conversations (#1259)
fixes #1227
2022-08-22 20:39:34 +02:00
fiaxh 117f193812 Fix crashes and warning in Join Conference dialog
fixes #1262
2022-08-22 13:16:46 +02:00
fiaxh 14bc3d6717 Fix crash on call window closing 2022-08-22 13:16:46 +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
fiaxh 054d3fec16 Fix encryption button update and reduce its required GTK version
MenuButton.activate only exists since 4.4
2022-08-21 14:16:31 +02:00
Marvin W d6afa6e8ff
GTK4: Don't require use of MenuButton.set_child introduced with 4.6 2022-08-21 00:57:46 +02:00
Marvin W 7b252d040a
CMake: Fix version checks 2022-08-21 00:41:27 +02:00
Marvin W 5103a7fb7b
Move all icons in respective paths 2022-08-20 21:23:35 +02:00
fiaxh 6bfa70fc70 Disable tooltips for GTK 4.6.4 - 4.6.6
A bug in GTK caused the application to crash in some tooltip-related conditions
https://gitlab.gnome.org/GNOME/gtk/-/issues/4941
2022-08-20 21:09:42 +02:00
Marvin W 517363dfc9
GTK4: Fix theme blue highlight 2022-08-20 20:46:03 +02:00
fiaxh 0af92393f1 Switch CI to GTK4 dependencies 2022-07-27 20:56:24 +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
Xavi92 99c076254a
Inhibit idle and suspend during calls (#1233) 2022-05-11 11:12:30 +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
Marvin W 339d1d8f55
Fix Version handling, add function to retrieve short version without git commit 2022-03-30 10:36:07 -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