Commit graph

1140 commits

Author SHA1 Message Date
fiaxh
92aca5672d
Improve libadwaita integration 2023-01-24 19:20:43 +01:00
Teemu Ikonen
0d7c8bb6e1
Change Gtk.Paned to Adw.Leaflet in MainWindow 2023-01-24 19:20:43 +01:00
Teemu Ikonen
e934a76a11
Add back button to ConversationTitlebar
Add a bool 'back_button_visible' and a signal 'back_pressed' to the
ConversationTitlebar interface.

Also add implementations to both ConversationTitlebarNoCsd and
ConversationTitlebarCsd.
2023-01-24 19:20:43 +01:00
Teemu Ikonen
04acab82c9
Remove set_window_buttons() from MainWindow 2023-01-24 19:20:43 +01:00
Teemu Ikonen
ba9462503c
Use Adw.HeaderBar for CSD header bars
This allows showing the correct buttons with 'show-start-title-buttons'
and 'show-end-title-buttons' properties when folding.
2023-01-24 19:20:42 +01:00
Teemu Ikonen
2741bf21ae
Convert main window layout to 2 vertical boxes
Use Adw.Window as main window widget, add the now missing HeaderBars to
MainWindowPlaceholder and MainWindow in the NoCSD case.
2023-01-24 19:20:42 +01:00
Teemu Ikonen
1ef42b47d2
Use Adw.Application, make about dialog an Adw.AboutWindow 2023-01-24 19:20:42 +01:00
Teemu Ikonen
f6e73d85c0
Add libadwaita to build system 2023-01-24 19:20:42 +01:00
fiaxh
7e0d1db196 MAM: Fix latest range not being stored in db if it contained a duplicate 2023-01-17 19:56:43 +01:00
fiaxh
7da79864b3 Fix pin setting switch displaying 2023-01-16 18:37:11 +01:00
fiaxh
05289e0b4d Fix reply cancelling
fixes #1340
2023-01-16 17:39:22 +01:00
fiaxh
73c0263f35 Add debug outputs to summarize_whitespaces_to_space and don't assert_not_reached
related #1335
2023-01-13 11:44:28 +01:00
fiaxh
860c72bfc9 Fix crash when removing jid from roster
fixes #1332
2023-01-11 19:54:17 +01:00
fiaxh
75500dc767 Support pinning of conversations (locally)
fixes #290
fixes #1330
2023-01-11 19:54:02 +01:00
fiaxh
cb3b19b01d Support replies and reactions to files 2023-01-11 19:49:03 +01:00
fiaxh
0c4aea96ff Replies: Fix fallback bodies with multi-line quotes 2023-01-08 12:34:25 +01:00
fiaxh
424a429062 Reactions: Fix wrong time being stored for outgoing reactions (micro sec teated as milli sec)
fixes #1296
2023-01-07 23:44:43 +01:00
fiaxh
60371331e0 Replies: Fix quoted message not being reset after sending
fixes #1334
2023-01-07 23:35:39 +01:00
fiaxh
dc52e7595c Add support for XEP-0461 replies (with fallback) 2023-01-06 14:03:54 +01:00
fiaxh
4d7809bb12 Fix compiler warnings 2022-12-30 21:34:40 +01:00
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