Commit graph

523 commits

Author SHA1 Message Date
Marvin W 3a925c4c00
Fix reactions being made to the wrong message
fixes #1426
2023-07-09 18:23:43 +02:00
fiaxh 0ed0495e0a Fix chat input for IME
fixes #1419

Co-authored-by: Marvin W <git@larma.de>
2023-05-14 14:39:20 +02:00
Karim Malhas a74b894147 Focus ChatInput textbox after selecting emoji
After selecting an emoji, the emoji is inserted
into the textbox, but focus remains on the emoji_button.

This causes the EmojiChooser to be opened again if a user
hits the Enter key directly, but text is inserted into the textbox
if they continue to type.

This commit just explicitely focuses on the textbox after
an emoji has been selected.
2023-05-14 14:39:20 +02:00
fiaxh 2fb8d29b34 Fix call window styling 2023-05-14 14:39:20 +02:00
fiaxh 7a27634732 Fix call window controlls hiding 2023-05-14 14:39:20 +02:00
Marvin W 481a68fd89
Improve database performance while reconnecting and syncing
Also move some tasks to low priority idle queue so they won't block UI updates
2023-03-22 09:59:54 -06:00
Marvin W 74ca991ddf
Fix critical warnings after DTLS-SRTP calls without OMEMO verification
libdino-CRITICAL **: dino_plugins_encryption_list_entry_get_encryption_icon_name: assertion 'self != NULL' failed
2023-03-02 00:02:35 +01:00
fiaxh fb799e3ba8 Fix some memory leaks 2023-02-27 23:38:31 +01:00
fiaxh c526848098 Stop regenerating message menu buttons
mitigates #1343
2023-02-16 12:51:33 +01:00
fiaxh f7750c548a Clear chat input after /command
fixes #1359
2023-02-10 14:25:04 +01:00
fiaxh 9bf304095c Remove spell check setting
As there is currently no spell check support for GTK4
2023-02-09 12:35:50 +01:00
fiaxh 634302217c Settings: Connect to Switch.notify-active instead of to activate
As per the documentation of the activate signal "Applications should never connect to this signal, but use the notify:active signal."
https://valadoc.org/gtk+-3.0/Gtk.Switch.activate.html
2023-02-09 11:36:33 +01:00
Christopher Davis b19986a685 settings_dialog: Use AdwPreferencesWindow and AdwActionRow
AdwPreferencesWindow contains a nice API for preferences
windows, and AdwActionRow is the widget to use for rows
of preferences.
2023-02-09 11:36:33 +01:00
Marvin W 5568bbc6bf
Prepare for 0.4 release 2023-02-07 21:44:15 +01:00
Marvin W 116682e311
Fix various date/time stamps not updated or wrong time zone 2023-02-07 20:23:52 +01:00
Marvin W 32ae87a3c4
Fix some form entries not updating properly 2023-02-07 20:23:51 +01:00
Marvin W 1559a7a603
Show "Me" instead of bare jid when no local alias is set 2023-02-07 20:23:51 +01:00
Marvin W 1d123c7e66
Fix label attributes updated with delay 2023-02-07 10:50:45 +01:00
fiaxh e0ece2aa62 Fix placeholder being shown on startup, fix missing vertical line in no-conversations placeholder 2023-01-31 20:16:23 +01:00
Marvin W 3aa3912dc3
New Date Separator 2023-01-31 15:15:55 +01:00
Marvin W 9e11bef219
Fix critical warning due to tooltip issue 2023-01-31 15:14:47 +01:00
Prashant Kumar e3c833bce0
Add tooltips to the delivered and read icons (#1341) 2023-01-30 23:19:53 +01:00
fiaxh b0b81b88c6 Always display reaction+reply buttons, disable if not possible 2023-01-30 22:54:55 +01:00
Marvin W e35df88d4a
Fix UI for libadwaita 2023-01-25 11:02:02 +01:00
Marvin W cc7db3b85f
Fix scaling image for GTK4 2023-01-24 19:21:25 +01:00
Marvin W 99d9cb383a
Small UI fixes for libAdwaita 2023-01-24 19:21:25 +01:00
fiaxh 6a182ba313
Only use Adw.AboutWindow for Adwaita >= 1.2 2023-01-24 19:21:25 +01:00
fiaxh 4b391f3f31
Use Adw.StatusPage instead of custom placeholders 2023-01-24 19:20:43 +01:00
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
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 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
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
fiaxh 7a19a25156 Clean up log outputs 2022-11-04 15:57:58 -06:00
fiaxh a45280f8df Reactions: Improve style 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