Commit graph

625 commits

Author SHA1 Message Date
Alexandre Jousset cb78cec9e2 main/meson.build:121: fix typo 2023-11-13 22:45:40 +01:00
fiaxh 1e167eeea6 Fix some compiler warnings 2023-10-07 14:34:23 +02:00
hrxi c312fb282f meson: Add version detection for some dependencies 2023-10-06 15:25:12 +02:00
hrxi 62ed82a495 meson: Install more stuff
Install .vapi, .deps, .h files for the Vala libraries. Also install the
data files. .deps files have to be manually generated, there's a feature
request for automated generation at
https://github.com/mesonbuild/meson/issues/9756.

Import the gnome module globally.

Install dependencies on Meson CI.
2023-10-06 15:25:12 +02:00
fiaxh c2efb214af conversation details: Fix for libadwaita < 1.4 2023-09-25 15:02:03 +02:00
fiaxh e2c34bf223 Rewrite contact details dialog 2023-09-24 19:54:04 +02:00
Marvin W 9eafe4139d Fix build on some Vala compiler versions
See https://gitlab.gnome.org/GNOME/vala/-/issues/1474 and https://gitlab.gnome.org/GNOME/vala/-/issues/1478
2023-09-24 19:51:33 +02:00
fiaxh 2fba24ccae Fix subscription notification clearing 2023-09-07 21:30:47 +02:00
Robert Mader 35163f08f9 data: Set X-Purism-FormFactor in .desktop file
So the app is detected as mobile-friendly on Phosh.
2023-07-08 11:23:44 +02:00
fiaxh b830b796a5 Cleanup automatically loaded help overlay 2023-07-08 11:20:51 +02:00
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
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 03e367ecb8 Fix call window styling 2023-04-22 19:52:28 +02:00
fiaxh 5815e757b7 Fix call window controlls hiding 2023-04-22 17:07:29 +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 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
fiaxh 65efaca6fd
Fix images from another client in our account not being displayed right away 2023-03-23 12:14:22 -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
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 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 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 e554f90ff9 Make the symbolic app icon square 2023-02-09 12:11:09 +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 430a8df4f6 menu_app: Move preferences to last group
Per
https://developer.gnome.org/hig/patterns/controls/menus.html#standard-primary-menu-items, preferences
should be at the top of the last group in the menu.
2023-02-09 11:36:33 +01:00
Christopher Davis 5eab892a24 menu_app: Rename Settings to Preferences
The standard name in GNOME applications is Preferences.
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
Translations e73b556a1a Update translations 2023-02-07 21:40:04 +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
fiaxh 1dbacbbcab Remove nl_BE from LINGUAS files and appdata file (fixup d0a00e1) 2023-01-28 15:44:25 +01:00