1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-13 16:07:36 +00:00
Commit graph

1541 commits

Author SHA1 Message Date
Evangelos Ribeiro Tzaras
11ba83c16e Move plugin specific tests into dedicated directory
This will prove beneficial when we also add tests for the policy engine
plugins. The increased locality is also nice to have.
2022-08-19 08:43:57 +00:00
Evangelos Ribeiro Tzaras
86a8f3ae22 Move provider plugins into a dedicated directory
Since we will introduce another type of plugin for the policy engine
we want to have each plugin type in separate directories.

We also have to adjust:

- plugin search directories
- po file location
- update paths for calls-doc target
2022-08-19 08:43:57 +00:00
Yosef Or Boczko
8c6ece6a87 Update Hebrew translation 2022-08-18 16:40:35 +00:00
Evangelos Ribeiro Tzaras
dea8b111d4 ci: Update Debian image
From now on intltool will be part of the image,
so we don't need to install it explicitly any more.
2022-08-17 12:28:07 +02:00
Evangelos Ribeiro Tzaras
e49614d203 ci: Include intltool in Debian image
We run it and currently also install it in the check-po script.
Having it preinstalled let's us get rid of the `apt install` stage.

This will help avoiding CI failures like this:

$ apt-get -y install intltool
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 libc6-dev : Breaks: libglib2.0-dev (<= 2.72.3-1) but 2.72.1-1 is to be installed

From https://gitlab.gnome.org/devrtz/calls/-/jobs/2213858#L39
2022-08-17 11:59:51 +02:00
Марко Костић
986051310b Update Serbian translation 2022-08-17 04:35:07 +00:00
Zurab Kargareteli
a19c1fbb50 Update Georgian translation 2022-08-12 05:43:26 +00:00
Emin Tufan Çetin
41b7a89221 Update Turkish translation 2022-08-11 19:59:48 +00:00
Evangelos Ribeiro Tzaras
55be6cd39e manager: Remove unused has_active_call() function
Introduced in f69c597387
but was never really used, so let's drop the dead code.
2022-08-10 16:00:00 +02:00
Evangelos Ribeiro Tzaras
21ae0a67c4 manager: Drop unused get_contact_name() declaration
The function has been removed since quite some time,
but the declaration did not get removed.

Fixes 889d5a0981
2022-08-10 15:07:02 +02:00
Piotr Drąg
ffc79f3379 Update Polish translation 2022-08-07 15:03:07 +02:00
Danial Behzadi
69c316631d Update Persian translation 2022-08-07 00:18:36 +00:00
Evangelos Ribeiro Tzaras
3cbe2c781a Document and release 43.beta.0 2022-08-06 20:24:53 +02:00
Aleksandr Melman
d9450e360a Update Russian translation 2022-08-06 14:46:43 +00:00
Piotr Drąg
0d3ddf67e2 Update POTFILES.skip 2022-08-06 13:11:59 +02:00
Evangelos Ribeiro Tzaras
65dfc1293b ci: Update debian image 2022-08-05 17:21:05 +00:00
Evangelos Ribeiro Tzaras
857c375ab9 Disable g722 to avoid test failure with ffmpeg 5.0/gst-libav
Bail out! CallsSipMediaPipeline-FATAL-WARNING: Error trying to setup codecs for pipeline: Could not create 'decoder' element of type avdec_g722
stderr:

(gst-plugin-scanner:196349): GLib-GObject-WARNING **: 07:29:24.149: type name '-a-png-encoder-pred' contains invalid characters

See
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1055
2022-08-05 17:21:05 +00:00
Evangelos Ribeiro Tzaras
d19aa10534 Update libcall-ui to v0.0.4
Brings some UX improvements and updated translations
2022-08-05 15:05:18 +00:00
Yuri Chornoivan
2e9c5ef89a Update Ukrainian translation 2022-08-05 14:17:38 +00:00
Evangelos Ribeiro Tzaras
757351b39c record-row: Add SMS action
Add a menu entry in the history popover to open the default "sms" URI
handler.

Closes: #182
2022-08-05 10:30:06 +02:00
Evangelos Ribeiro Tzaras
01f3757ce1 record-row: Simplify add-action logic
Get rid of some code by avoiding special casing
and potentially fix an issue (WIP).
2022-08-05 10:30:06 +02:00
Evangelos Ribeiro Tzaras
0d6095b42a record-row: Use STR_IS_NULL_OR_EMPTY macro 2022-08-05 10:30:06 +02:00
Evangelos Ribeiro Tzaras
8e23d77508 record-row: Chain up early to constructed() 2022-08-05 10:30:06 +02:00
Evangelos Ribeiro Tzaras
d94792f3c5 record-row: Rename callback to conform to on_* naming scheme 2022-08-05 10:30:06 +02:00
Evangelos Ribeiro Tzaras
37eba7b66f record-row: Remove unused code 2022-08-05 10:30:06 +02:00
Evangelos Ribeiro Tzaras
b81b216cf0 history-box: Cap size of slice at number of call records
This helps avoiding some log spam when scrolling to the bottom:

16:29:17.1053      CallsHistoryBox[2798409]:   DEBUG: Increasing history slice from 1825 to 1875
16:29:17.1215      CallsHistoryBox[2798409]:   DEBUG: Increasing history slice from 1875 to 1925
16:29:20.6739      CallsHistoryBox[2798409]:   DEBUG: Increasing history slice from 1925 to 1975
16:29:23.1919      CallsHistoryBox[2798409]:   DEBUG: Increasing history slice from 1975 to 2025
16:29:24.2533      CallsHistoryBox[2798409]:   DEBUG: Increasing history slice from 2025 to 2075

for a history of ~1400 records.
2022-07-27 16:54:26 +02:00
Evangelos Ribeiro Tzaras
9209a7801c history-box: Allow transition from non-empty to empty history
Since call records may be deleted, the transition from non-empty to
empty is also possible.
2022-07-27 16:45:42 +02:00
Evangelos Ribeiro Tzaras
a6faac2940 history-box: Dynamically adjust slice list model size
The slice get's increased by 50 items if scrolled to the bottom
and reset to the initial 75 items if scrolled back to the top.

The defined threshholds make sure that the UX still feels smooth.
2022-07-27 16:29:39 +02:00
Evangelos Ribeiro Tzaras
8ae03a1321 history-box: Switch to GtkSliceListModel
Having more than ~200 widgets in a GtkListBox comes with a very
performance impact. This is especially noticable during while the main
window is being realized (even if Calls already runs in daemon mode).

We can limit the amount of widgets by using a slice list model.

Fixes: #374
2022-07-27 16:27:07 +02:00
Evangelos Ribeiro Tzaras
3568af8553 meson: Add gtk sources to build 2022-07-27 16:26:25 +02:00
Evangelos Ribeiro Tzaras
44c892b6f7 Drop use of volatile
The volatile qualifier was mostly used for historical reasons,
the documentation for `g_once_init_enter()` and `g_once_init_leave()`
has the following to say:

While `location` has a `volatile` qualifier,
this is a historical artifact and the pointer passed to it
should not be volatile.

See also https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719
2022-07-27 16:26:25 +02:00
Evangelos Ribeiro Tzaras
fd5a24f853 history-box: Chain up to constructed() early 2022-07-27 16:26:24 +02:00
Evangelos Ribeiro Tzaras
01aa8c04c2 Add various gtk list models
This is an exact copy from GTK4.
as grabbed by chattys commit 1ed5084fb965908e3ee0304781b0de06479c869b

Slightly adapted for Calls.

Based on GTKs 01bd4cc4e18a1ea697fe61791ba710d0d55e8290
2022-07-27 16:06:57 +02:00
Evangelos Ribeiro Tzaras
4188af73af sip: origin: Drop comparison that always evaluates as true
This avoids the following warning:

../plugins/sip/calls-sip-origin.c: In function ‘sip_r_register’:
../plugins/sip/calls-sip-origin.c:483:26: warning: the comparison will always evaluate as ‘true’ for the address of ‘m_url’ will never be NULL [-Waddress]
  483 |     if (sip->sip_contact && sip->sip_contact->m_url && sip->sip_contact->m_url->url_host) {
      |                          ^~
In file included from /usr/include/sofia-sip-1.12/sofia-sip/nua.h:47,
                 from ../plugins/sip/calls-sip-util.h:28,
                 from ../plugins/sip/calls-sip-call.h:30,
                 from ../plugins/sip/calls-sip-origin.c:31:
/usr/include/sofia-sip-1.12/sofia-sip/sip.h:477:23: note: ‘m_url’ declared here
  477 |   url_t               m_url[1];     /**< SIP URL */
      |                       ^~~~~
../plugins/sip/calls-sip-origin.c: In function ‘sip_callback’:
../plugins/sip/calls-sip-origin.c:779:23: warning: the comparison will always evaluate as ‘true’ for the address of ‘a_url’ will never be NULL [-Waddress]
  779 |     if (sip->sip_from && sip->sip_from->a_url &&
      |                       ^~
/usr/include/sofia-sip-1.12/sofia-sip/sip.h:386:22: note: ‘a_url’ declared here
  386 |   url_t              a_url[1];      /**< URL */
      |                      ^~~~~
2022-07-27 16:06:57 +02:00
Zurab Kargareteli
76148fc4f1 Update Georgian translation 2022-07-25 16:52:46 +00:00
Yosef Or Boczko
f2f4ea71ba Update Hebrew translation 2022-07-14 11:20:32 +00:00
Evangelos Ribeiro Tzaras
74beff0c98 ci: Allow flatpak failures
That does of course not mean that we shouldn't investigate,
but I like to have passing CI in the meantime.
2022-07-06 07:12:05 +02:00
Daniel Șerbănescu
990ffdf2b6 Update Romanian translation 2022-07-03 12:47:05 +00:00
Мирослав Николић
f8997f6b46 Update Serbian translation 2022-07-03 01:51:57 +00:00
Danial Behzadi
d431d627c7 Update Persian translation 2022-06-28 11:17:16 +00:00
Vittorio Monti
647f9bf7ab Update Italian translation 2022-06-28 06:28:55 +00:00
Evangelos Ribeiro Tzaras
5fc07678d1 d/gbp.conf: Adjust debian-tag-msg
Tag messages have been a bit inconsistent in the past, because we
created signed tags by hand.

With this change we can just `gbp tag` and get consistently named tags
and messages.
2022-06-27 04:37:38 +02:00
Evangelos Ribeiro Tzaras
03543142e6 Post release bump
According to the schedule
https://wiki.gnome.org/FortyThree
the next version will be 43.beta.0
2022-06-27 04:36:53 +02:00
Evangelos Ribeiro Tzaras
3d7c671034 Document and release 43.alpha.2 2022-06-26 15:47:47 +02:00
Piotr Drąg
98efbd235f Update Polish translation 2022-06-26 14:32:03 +02:00
Aleksandr Melman
335b330919 Update Russian translation 2022-06-25 18:25:15 +00:00
Nathan Follens
00f10c3267 Update Dutch translation 2022-06-24 11:13:29 +00:00
Evangelos Ribeiro Tzaras
879a214baf dir-locals: Use the linux coding style 2022-06-22 10:17:30 +02:00
Evangelos Ribeiro Tzaras
fae760c541 dir-locals: Exhaustive projectile setup
This expands on the minimal projectile setup we had before by including
compilation directory, configure and run commands.
2022-06-22 10:17:30 +02:00
Evangelos Ribeiro Tzaras
36b10bc764 new-call-box: Don't auto select offline accounts 2022-06-21 12:19:38 +02:00