Commit graph

1441 commits

Author SHA1 Message Date
Christopher Davis 3d5dad25d8 application: Load help overlay automatically
GTK automatically loads and sets up the action
and keyboard shortcut for the Keyboard Shortcuts
dialog. We don't need to manually do it as long as
we put everything in the right place.

See https://docs.gtk.org/gtk4/class.Application.html#automatic-resources
2023-07-08 11:20:51 +02:00
Christopher Davis a36a63d7e4 main_window: Use AdwApplicationWindow
The main window of an app should be an ApplicationWindow.
These windows provide nicer APIs for actions and more.
2023-07-08 11:20:51 +02:00
eerielili da7be50f05
Add a keyboard shortcut to show keyboard shortcuts (#1432)
Add a keyboard shortcut to show keyboard shortcuts

    - It's Ctrl+?
2023-06-25 13:39:07 +02:00
Tobias Bernard 4bb0c465fc
icons: Refresh some symbolic icons (#1444) 2023-05-29 22:01:33 +02:00
Marvin W 9a04573fdc Fix reactions being made to the wrong message
fixes #1426
2023-05-14 16:44:37 +02:00
fiaxh 9e4def221f Fix chat input for IME
fixes #1419

Co-authored-by: Marvin W <git@larma.de>
2023-05-14 14:12:05 +02:00
fiaxh 287d5bee6e Fix chat input status having a fixed width requirement
fixes #1439
2023-05-13 14:45:37 +02:00
fiaxh 4dfe853fbf Fix xml output intendation 2023-05-13 14:45:37 +02:00
fiaxh 0bddf9f3da Fix character counting for fallbacks
fixes #1420
2023-05-01 19:21:05 +02:00
LAGonauta 7603990740 Merge remote-tracking branch 'upstream/master' into master-windows-changes 2023-04-24 19:01:02 -03:00
Karim Malhas ec6c24c2b4 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-04-23 11:53:57 +02:00
fiaxh 10315a245d Code cleanup: Remove left-over usages of mam_earliest_synced 2023-04-23 11:48:29 +02:00
fiaxh 2b9a0ccf7e Fix crash on NS_URI call when own server has no MAM; drop broken mam:1 "support"
fixes #1405
2023-04-23 11:40:06 +02:00
Marvin W 6e60cfcbbe
Fix empty alias being handled different than none 2023-04-22 20:08:49 +02:00
fiaxh 03e367ecb8 Fix call window styling 2023-04-22 19:52:28 +02:00
Marvin W 83476d1cad
Fix Flatpak pipewire socket access 2023-04-22 17:19:40 +02:00
fiaxh 5815e757b7 Fix call window controlls hiding 2023-04-22 17:07:29 +02:00
Marvin W dbb8abc117
Fix video for cameras with rotated image 2023-04-22 17:04:28 +02:00
Marvin W cad066628a
Build: Adjust to never build with libsignal-protocol-c 2023-04-22 17:03:22 +02:00
Marvin W bc3738aba1
Fix GitHub CI build-flatpak 2023-04-22 17:03:21 +02:00
LAGonauta 7872d21f03 Merge remote-tracking branch 'upstream/master' into master-windows-changes 2023-04-21 20:43:40 -03:00
Sonny Piers 9b83e5ccc9 Add Github CI job for Flatpak 2023-04-21 00:41:52 +02:00
Sonny Piers d2ac7a8aeb Add Flatpak manifest 2023-04-21 00:41:52 +02:00
Klemens Nanni b75b6062ab Always export symbols to fix startup on BSDs
```
$ dino
(dino:38515): Gtk-ERROR **: 15:38:38.538: failed to add UI from resource /im/dino/Dino/unified_main_content.ui: .:26:1 Invalid object type 'DinoUiConversationSelector'
Trace/BPT trap (core dumped)
```

This works on Linux because CMake itself links with `-rdynamic` by default
as per its `Modules/Platform/Linux-*.cmake`.

OpenBSD carries this as local patch, FreeBSD links with `--export-dynamics`.
Just linking with `-rdynamic` also fixes it on OpenBSD, as expected.

https://cmake.org/cmake/help/latest/prop_tgt/ENABLE_EXPORTS.html

Fix #438.
2023-03-24 19:36:32 +01:00
hrxi 32e535a79c Add CI for the meson build 2023-03-24 19:32:50 +01:00
hrxi 5a90e793dd First steps of meson support
Basic configuration of qlite, xmpp-vala, the Dino library and the Dino
application are supported. There's no support for the plugins.

This e.g. enables using the Vala language server.
2023-03-24 19:32:50 +01:00
hrxi b617bf7cc4 Make members of Plugins.Registry public instead of internal
They are being used from outside the library.
2023-03-24 19:32:50 +01:00
fiaxh 65efaca6fd
Fix images from another client in our account not being displayed right away 2023-03-23 12:14:22 -06:00
Marvin W ef8fb0e94c
Check sender of bookmark:1 updates 2023-03-23 11:37:47 -06:00
Marvin W 6690d8e4a4
Bind soup session lifetime to File provider/sender lifetime
Required since libsoup 3.4. Fixes #1395
2023-03-22 12:35:13 -06:00
Bohdan Horbeshko adb2b58b61 Fix a crash if a message subnode is not found in a carbon
Fixes #1392
2023-03-21 17:57:56 -06:00
Sebastian Krzyszkowiak 444275a99d FreeDesktopNotifier: Set notification categories
This provides notifications servers some context on how to handle
the notification.
2023-03-21 17:57:33 -06:00
Michael Vetter ecf94dd2e6 Remove gspell
7e7dcedaf ported from GTK3 to GTK4.
It also removed gspell from main/CMakeLists.txt.

I assume that gspell is not needed anymore and we can thus remove the
requirement from the CI and the cmake file as well.
2023-03-21 17:57:07 -06:00
Sebastian Krzyszkowiak 57d47b9575 data: Set StartupNotify to true in .desktop file
GTK handles startup notifications, so advertise it in desktop
file. This allows splash screens and other startup indications
in DEs to work.
2023-03-21 17:56:53 -06:00
Marvin W 4e1311dfa9
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-21 17:35:58 -06:00
Marvin W 3721027edb
Improve history sync
- Ensure we fully fetch desired history if possible (previously, duplicates
  from offline message queue could hinder MAM sync)
- Early drop illegal MAM messages so they don't pile up in the pending queue
  waiting for their query to end (which it never will if they were not
  requested in first place).

Fixes #1386
2023-03-21 17:35:58 -06:00
Marvin W cb10110c57
Fix C binding for gst_video_frame_get_data
Fixes #1267
2023-03-20 15:53:53 -06:00
Marvin W 748d507a3e
Add missing since to DOAP 2023-03-20 15:53:53 -06:00
Marvin W 47a066987d
DOAP: Add first supported version for more XEPs 2023-03-07 09:47:29 -06:00
Marvin W 56195fd2b0
Update XEPs in DOAP
Fixes #1376
2023-03-06 19:38:22 +01:00
Marvin W db3b0d5f23
New Avatar UI 2023-03-05 16:47:46 +01:00
Marvin W d818296520
Implement XEP-0392: Consistent Color Generation 2023-03-05 16:47:46 +01:00
Marvin W 503de303d7
Consider stream readable when EOS is reached.
Fixes #1373
2023-03-02 00:02:35 +01: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
Marvin W 76e1410c2a
Fix typing notifications in groupchats 2023-03-02 00:02:32 +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
LAGonauta 86182a7db9 Check YoloRT checksum before building 2023-02-12 11:17:57 -03:00
LAGonauta 82e6937f21 Merge remote-tracking branch 'upstream/master' into master-windows-changes 2023-02-12 10:59:16 -03:00
fiaxh f7750c548a Clear chat input after /command
fixes #1359
2023-02-10 14:25:04 +01:00