2295 Commits

Author SHA1 Message Date
Guido Günther fc9aabb1ec calls-manager: Keep ref on list models
The gtk_*list_model_new() functions are `transfer: full` for the model.
Since we keep accessing the underlying models we keep the refs for clear
ownership and drop them in finalize.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/756>
2024-09-21 06:23:20 +00:00
Guido Günther 2b5d2f53a9 calls-notifier: Use official notification category
See https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/50

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/748>
2024-09-21 06:15:19 +00:00
Evangelos Ribeiro Tzaras 40504ab4e5 ci: Update image
We want to use images that include

 - appstreamcli and
 - desktop-file-validate

so that metainfo and desktop files are validated in CI.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/759>
2024-09-15 10:23:49 +02:00
Evangelos Ribeiro Tzaras 775d503715 ci: Include appstreamcli and desktop-file-utils in images
We require appstreamcli and desktop-file-validate
to validate metainfo and desktop files,
without them, these tests will be simply skipped.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/759>
2024-09-15 10:22:47 +02:00
Evangelos Ribeiro Tzaras 11ce0eae72 metainfo: Remove links
Fixes the error that occurs during validation:
E: org.gnome.Calls:390: description-para-markup-invalid a
   This description paragraph contains invalid markup. Currently, only <em/> and <code/> are
   permitted.

Somehow CI missed this.
2024-09-14 22:29:28 +02:00
Evangelos Ribeiro Tzaras d179a2b32a treewide: Document changes and release 47.0
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/758>
2024-09-14 22:02:20 +02:00
Evangelos Ribeiro Tzaras 598758026a libcall-ui: Bump to 0.2.1
Brings fixes to the keypad layout in RTL locales
and updated translations.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/757>
2024-09-14 19:22:51 +00:00
Evangelos Ribeiro Tzaras b15d557106 record-row: Only popup context menu if row is realized
This works around the long press gesture
(mis?) firing the "press" signal on a
row that is not realized anymore
(because the slice model in the history box
 currently rebuilds all rows when the items change).

Fixes: https://gitlab.gnome.org/GNOME/calls/-/issues/666
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
2024-09-14 17:43:15 +02:00
Evangelos Ribeiro Tzaras d9e6fb3717 record-row: Prefer g_signal_connect_object() over a plain connect()
Apparently the slice list model in the history box
rebuilds the whole list when a single new record gets added.

Additionally, the "pressed" signal gets emitted on the
GtkGestureLongPress controller even when the call button is tapped
(i.e. should not have been pressed down for longer than the required timeout).
This then causes the callback to be invoked with a disposed record row.

This commit ensures the signals get properly disconnected
even in the face of unforeseen cleanup of the record row.

Helps with https://gitlab.gnome.org/GNOME/calls/-/issues/666

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
2024-09-14 17:42:51 +02:00
Evangelos Ribeiro Tzaras f810e0a9b1 tree: Remove custom clearing macros
The macros was emulating g_clear_handle_id() and friends
let's use the glib functions directly instead.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
2024-09-14 11:59:27 +02:00
Evangelos Ribeiro Tzaras 5eabbb2ada record-store: Simplify struct setup of record call data
Just a mechanical change that results in -2 lines.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
2024-09-14 11:59:11 +02:00
Evangelos Ribeiro Tzaras 3b1cf7b5ee record-row: Prefer g_autoptr for GDateTime
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
2024-09-14 11:40:35 +02:00
Evangelos Ribeiro Tzaras 03a50260ec history-box: Add debug statement
This helps in debugging in debugging
why the slice list model rebuilds the whole list
when a single call gets added.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
2024-09-14 11:40:35 +02:00
Evangelos Ribeiro Tzaras 9dfaac19cc record-row: Define log domain
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
2024-09-14 11:40:35 +02:00
Evangelos Ribeiro Tzaras 87ad8acf39 record-row: Remove unused include
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
2024-09-14 11:40:35 +02:00
Evangelos Ribeiro Tzaras 32b8995f2d record-row: Remove unnecessary cast
g_object_get() wants a gpointer,
so there is no need for casting to GObject*.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
2024-09-14 11:40:35 +02:00
Evangelos Ribeiro Tzaras 5473f03be9 record-store: Remove unnecessary casts
g_object_get() accepts gpointer, so casting is not needed.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
2024-09-14 11:40:35 +02:00
Evangelos Ribeiro Tzaras 3f96639b81 dir-locals: Update projectile commands
We want to use meson, not ninja.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
2024-09-14 11:40:35 +02:00
Evangelos Ribeiro Tzaras 1e4349f340 tree: Ignore gdb history
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
2024-09-14 11:40:34 +02:00
Jose Riha fc59d65fb0 Update Slovak translation 2024-09-13 20:16:56 +00:00
Vincent Chatelain 200ade2674 Update French translation 2024-09-12 13:13:22 +00:00
Rūdolfs Mazurs 3b6028bcb6 Update Latvian translation 2024-09-11 19:47:51 +00:00
Quentin PAGÈS 4241e9dfba Update Occitan translation 2024-09-10 09:00:10 +00:00
Alan Mortensen e867f34c95 Update Danish translation 2024-09-09 17:32:27 +00:00
Aefgh Threenine 93ae2d9bf3 Update Thai translation 2024-09-09 08:58:52 +00:00
Piotr Drąg 14adec600d Update Polish translation 2024-09-08 16:27:52 +02:00
Andi Chandler a0c8c0ac67 Update British English translation 2024-09-08 13:01:45 +00:00
Evangelos Ribeiro Tzaras 503013fa67 flatpak: Fix libpeas2 configuration options
Fixes this error:
../meson.build:1:0: ERROR: Unknown options: "demos, glade_catalog, widgetry"

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/754>
2024-09-05 08:15:29 +02:00
Guido Günther 515ff43dd8 ci: Check consistency
Make sure all the version numbers are in sync for a release.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/753>
2024-09-04 21:03:12 +00:00
Guido Günther 9f4be32753 ci: Use shared checks
This allows to drop the custom check-po

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/753>
2024-09-04 21:03:12 +00:00
Guido Günther 4c6dcf9e04 ci: Avoid duplicate pipelines
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/753>
2024-09-04 21:03:12 +00:00
Guido Günther 7815514a47 packaging: Keep meson verson in sync with changelog
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/753>
2024-09-04 21:03:12 +00:00
Irénée THIRION 9eed8a1de0 Update French translation 2024-09-04 20:26:50 +00:00
Andika Triwidada 21c68cf700 Update Indonesian translation 2024-09-03 10:45:25 +00:00
Daniel e69ca16313 Updated Spanish translation 2024-09-03 09:23:20 +02:00
Efstathios Iosifidis 2c8390da77 Update Greek translation 2024-09-02 21:20:46 +00:00
Anders Jonsson 774205e1cb Update Swedish translation 2024-09-02 19:49:21 +00:00
Chris Talbot 29fdb869f0 new-call-box: clear number entry when windows is closed
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/717>
2024-09-02 15:56:58 +00:00
Chris Talbot 45b4717c78 contacts-box: clear entry if window is closed
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/717>
2024-09-02 15:56:58 +00:00
Chris Talbot 28ca838ab4 application: add signal for main window hiding
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/717>
2024-09-02 15:56:58 +00:00
Fran Dieguez c9b956638e Update Galician translation 2024-09-02 06:59:15 +00:00
Aurimas Černius 3111e2febf Update Lithuanian translation 2024-09-01 16:44:59 +00:00
Sabri Ünal d28be039c3 Update Turkish translation 2024-09-01 10:39:00 +00:00
Evangelos Ribeiro Tzaras f60703351a treewide: Document changes and release 47~rc.1
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/752>
2024-08-31 23:24:36 +02:00
Anton Lazarev 7577e85cd9 contacts-box: add .boxed-list CSS class
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/727>
2024-08-31 20:58:09 +00:00
Anton Lazarev bb4d92f920 call buttons: Add .flat CSS class
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/727>
2024-08-31 20:58:09 +00:00
Guido Günther 05dc7c24ef main-window: Use AdwAboutDialog
Fixes the deprecation warning and lets us use a bottom
sheet that can always be closed.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/749>
2024-08-31 15:17:20 +00:00
Guido Günther 7241f8bed4 build: Bump libadwaita dep to 1.5
Needed for AdwAboutDialog

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/749>
2024-08-31 15:17:20 +00:00
Guido Günther ac8a3bb9a9 ci: Update image
Let's test against recent GTK.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/749>
2024-08-31 15:17:20 +00:00
twlvnn kraftwerk 7339b1137d Update Bulgarian translation
(cherry picked from commit 0640fc10de56ad8d0c2a4d0bef994ec8c9c90238)
2024-08-31 11:36:53 +00:00