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

1750 commits

Author SHA1 Message Date
Hemish
b530db9775 Add Hindi translation 2023-01-19 19:19:52 +00:00
Evangelos Ribeiro Tzaras
a7678e496f Document and release 44~alpha.1 2023-01-12 10:50:29 +01:00
Evangelos Ribeiro Tzaras
e878fabb27 application: Remove and destroy application windows on shutdown
The windows need to be removed from the GtkApplication because they are
holding references to the application which prevents proper cleanup.

Fixes: #508
2023-01-11 18:50:22 +01:00
Evangelos Ribeiro Tzaras
177199467f application: Set unix signal handler source ID to 0
g_clear_signal_handle_id() will complain about unknown sources otherwise.
2023-01-11 18:47:43 +01:00
Evangelos Ribeiro Tzaras
56891363cb history-box: Fix clearing signal handler
By the time g_clear_signal_handler() was invoked self->model had already
been NULL'ed, so clear the signal before clearing the model.
2023-01-11 18:14:36 +01:00
Evangelos Ribeiro Tzaras
b6e0d3dba8 ci: Move flatpak jobs to packaging stage
It is more fitting than the default "test" stage and
has the desirable side effect that the Debian packaging jobs
no longer need to wait for flatpak jobs to finish.
2023-01-11 14:23:12 +00:00
Abderrahim Kitouni
14c630ab2e Only define EPhoneNumber autocleanup for old versions
This fixes build with latest evolution-data-server
2023-01-11 09:39:45 +00:00
Evangelos Ribeiro Tzaras
0d072e7335 ringer: Remove explicit DBus timeout handling
As libfeedback uses GDbusProxy under the hood which defaults to timing
out after 25 seconds there is no need to handle timeouts explicitly.

Furthermore 1 second seems to not always be enough time to get a
response which leads to endless ringing.

Fixes #543
2023-01-09 16:58:33 +00:00
Fabio Tomat
e6f7fce7b9 Update Friulian translation 2023-01-08 13:04:02 +00:00
Matheus Barbosa
08c4b3aa82 Update Brazilian Portuguese translation 2023-01-02 17:20:54 +00:00
Sabri Ünal
7be5870a90 Update Turkish translation 2023-01-02 14:04:06 +00:00
Evangelos Ribeiro Tzaras
a52a2a39f8 record-row: Defer enabling popup actions until displaying
There is no need to enable or disable actions until the popover
is actually presented.

This also get's rid of having to be notified of changes to the
"can-add-contact" property which led to a segfault as the signal handler
was not properly cleared.

Fixes: #535

As the "can-add-contact" property is now always checked,
the menu item will be properly shown.

Fixes: #485
2022-12-31 18:37:08 +01:00
Freddy Cheng
c7511534a0 Add Chinese (Taiwan) translation 2022-12-30 23:45:25 +00:00
Efstathios Iosifidis
cd60861837 Update Greek translation
(cherry picked from commit 3aed6b650a)
2022-12-25 17:13:53 +00:00
Bruce Cowan
faac160a9a Update British English translation
(cherry picked from commit 74c3a59607)
2022-12-23 09:23:49 +00:00
Evangelos Ribeiro Tzaras
8d15f46b3f sip-pipeline: Only use gstreamer debugging if option is set
Fixes build issues when gstreamer has not been compiled with debugging
enabled.

Fixes: #533
2022-12-22 15:08:18 +00:00
Evangelos Ribeiro Tzaras
8b56e817b6 meson: Add option to use gstreamer debugging API
gst_debug_bin_to_dot_data() can only be used if gstreamer
has been compiled with debugging features enabled.
2022-12-22 15:08:18 +00:00
Evangelos Ribeiro Tzaras
f997048a38 build: Rename config.h to calls-config.h
This guards against accidentally including configuration from elsewhere.
2022-12-22 15:08:18 +00:00
Fran Dieguez
55f1255b6e Update Galician translation
(cherry picked from commit b6cff9a094)
2022-12-21 19:13:38 +00:00
Дилян Палаузов
d363583802 ringer: Fix typo 2022-12-20 07:34:39 +01:00
Chris Talbot
e24fd6b5cd meson: use version_compare to check meson version 2022-12-10 00:34:48 +00:00
Vasil Pupkin
fc44ec1f67 Add Belarusian translation 2022-12-08 22:45:16 +00:00
Fabio Tomat
536ae7c130 Update Friulian translation
(cherry picked from commit a8c6cf3c81)
2022-12-08 08:56:07 +00:00
Evangelos Ribeiro Tzaras
74a7475bb4 Document and release 44~alpha.0 2022-12-03 20:59:30 +01:00
Evangelos Ribeiro Tzaras
21ece5dc5f log: Use feature test macro before any include
_GNU_SOURCE is needed for strcasestr().

The macro should be defined before including any headers. This broke
recently because glib.h seems to include string.h now.
2022-12-03 19:46:25 +01:00
Evangelos Ribeiro Tzaras
3225be22a3 application: Print positive delta when changing verbosity
Since we already take into account if it's increasing or decreasing
we should make the amount (Increased/Decreased by N) positive.
2022-12-03 19:46:25 +01:00
Evangelos Ribeiro Tzaras
707eee51cb log: Fix returned verbosity delta
When we increase verbosity we want values > 0 returned.
2022-12-03 19:46:25 +01:00
Julian Sparber
d722a913da flatpak: Don't run calls:sip tests in CI 2022-12-03 12:39:27 +01:00
Julian Sparber
b3040e38a4 tests: Ensure that plugins are build for tests that need them 2022-12-03 12:39:27 +01:00
Julian Sparber
db6d69e026 tests: Make ringer test depend on mocked libfeedback
This makes sure that the mocked libfeedback library is build before
running tests and drops the need of LD_PRELOAD.
2022-12-03 12:39:27 +01:00
Julian Sparber
1e899e6f58 flatpak: Set build_dir properly 2022-12-03 12:32:29 +01:00
Julian Sparber
875bdbd666 ci: Build and deploy nightly flatpaks for aarch64 and x86_64 2022-12-03 12:32:29 +01:00
Julian Sparber
486846b069 manager: Only set search path from CALLS_PLUGIN_DIR when path exists
Libpeas has issues searching in a path that doesn't exsist.
2022-12-03 12:32:29 +01:00
Julian Sparber
270d145b65 tests: Use CALLS_PLUGIN_DIR to search for plugins in the build dir
There is no need to add a second variable to search for plugins, we can
use CALLS_PLUGIN_DIR directly.
2022-12-03 12:32:29 +01:00
Julian Sparber
d804b996f4 plugins: Rescan for plugins after adding search paths
Using rescan allows use to give a priority to search paths. So this way
plugins in `CALLS_PLUGIN_DIR` take precedence over plugins we ship.

This also makes sure that the plugin test searches in the same location
as CallsManager.
2022-12-03 12:32:29 +01:00
Julian Sparber
baeae94c2e meson: Don't set G_TEST_*
Those env variables aren't needed.
2022-12-03 12:32:29 +01:00
Julian Sparber
27d76cda7a tests: Ensure that desktop files are built before testing them
This also makes use of `.full_path()` since we don't need to reconstruct
the file name.
2022-12-03 12:32:29 +01:00
Julian Sparber
7537e37d3b tests: Fix sdp-crypto test for flatpak
Debian patches sofia-sip therefore the test worked outside of flatpak.
See: 4df0ebb90a
2022-12-03 12:32:29 +01:00
Julian Sparber
470398eada flatpak: Add gvfs-access
See: https://docs.flatpak.org/en/latest/sandbox-permissions.html#gvfs-access
2022-12-03 12:32:29 +01:00
Julian Sparber
5f64e7553c flatpak: update sofia-sip 2022-12-03 12:32:29 +01:00
Julian Sparber
61b0849dd8 flatpak: Update protobuf and GTest 2022-12-03 12:32:29 +01:00
Julian Sparber
a4cf632c91 flatpak: Don't use boost
See https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/186

This moves also the dependencies for libphonenumber to submodules of it.
2022-12-03 12:32:29 +01:00
Julian Sparber
01063c6b34 flatpak: Build local files 2022-12-03 12:32:29 +01:00
Julian Sparber
51e318edf0 flatpak: Update libpeas and disable some features 2022-12-03 12:32:29 +01:00
Julian Sparber
2e56b837c4 flatpak: Drop libcanberra and gsound deps
We can build eds without canberra support.
This disables OAUTH2 feature of eds since it would need webkit and we don't
need it.
This also disables also dot locking for mails, because eds isn't used
for mails.
It is also not needed because we don't build the feedbackd daemon.
2022-12-03 12:32:29 +01:00
Evangelos Ribeiro Tzaras
29c797ebb8 ci: Update image
The new image includes new versions of our dependencies.
This is needed as we require newer feedbackd packages.
2022-12-03 08:52:41 +00:00
Evangelos Ribeiro Tzaras
76e640c826 run-docker: Don't cache container images
Without --no-cache newly "built" images end up just creating a new tag
for old images, see below.

$ podman images
REPOSITORY                                    TAG            IMAGE ID      CREATED       SIZE
registry.gitlab.gnome.org/gnome/calls/debian  v0.0.20221013  a1c2d79e4f72  4 weeks ago   1.53 GB
registry.gitlab.gnome.org/gnome/calls/debian  v0.0.20221117  4d2a38aa5bff  3 months ago  2.01 GB
registry.gitlab.gnome.org/gnome/calls/debian  v0.0.20220817  4d2a38aa5bff  3 months ago  2.01 GB
2022-12-03 08:52:41 +00:00
Evangelos Ribeiro Tzaras
f1c9701d1b flatpak: Bump required feedbackd version to 0.0.1 2022-12-03 08:52:41 +00:00
Evangelos Ribeiro Tzaras
92e005ac85 d/control: Bump required feedbackd version to 0.0.1
The latest changes to the ringer require fixes made available in 0.0.1
2022-12-03 08:52:41 +00:00
Evangelos Ribeiro Tzaras
d3a93bd66a gcovr: Exclude sip-provider.c and dummy-provider.c
gcovr > 5.1 (which is included in the latest Debian CI image) fails an
assertion because two different functions with the same name end up on
different lines because they are #ifdef'ed

The offending code is this:

G_DEFINE_TYPE_WITH_CODE
  (CallsDummyProvider, calls_dummy_provider, CALLS_TYPE_PROVIDER,
  G_IMPLEMENT_INTERFACE (CALLS_TYPE_MESSAGE_SOURCE,
                         calls_dummy_provider_message_source_interface_init))

G_DEFINE_DYNAMIC_TYPE_EXTENDED
  (CallsDummyProvider, calls_dummy_provider, CALLS_TYPE_PROVIDER, 0,
   G_IMPLEMENT_INTERFACE_DYNAMIC (CALLS_TYPE_MESSAGE_SOURCE,
                                  calls_dummy_provider_message_source_interface_init))

There is already a gcovr issue here:
https://github.com/gcovr/gcovr/issues/586

The failed assertion looks like this:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gcovr/workers.py", line 78, in worker
    work(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/gcovr/gcov.py", line 337, in process_datafile
    done = run_gcov_and_process_files(
  File "/usr/lib/python3/dist-packages/gcovr/gcov.py", line 514, in run_gcov_and_process_files
    process_gcov_data(fname, covdata, abs_filename, options)
  File "/usr/lib/python3/dist-packages/gcovr/gcov.py", line 165, in process_gcov_data
    insert_file_coverage(covdata, coverage)
  File "/usr/lib/python3/dist-packages/gcovr/merging.py", line 159, in insert_file_coverage
    return _insert_coverage_item(target, file.filename, file, merge_file, options)
  File "/usr/lib/python3/dist-packages/gcovr/merging.py", line 135, in _insert_coverage_item
    merged_item = merge_item(target_dict[key], new_item, options)
  File "/usr/lib/python3/dist-packages/gcovr/merging.py", line 178, in merge_file
    left.functions = _merge_dict(
  File "/usr/lib/python3/dist-packages/gcovr/merging.py", line 99, in _merge_dict
    _insert_coverage_item(left, key, right_item, merge_item, options)
  File "/usr/lib/python3/dist-packages/gcovr/merging.py", line 135, in _insert_coverage_item
    merged_item = merge_item(target_dict[key], new_item, options)
  File "/usr/lib/python3/dist-packages/gcovr/merging.py", line 268, in merge_function
    assert left.lineno == right.lineno
AssertionError
2022-12-03 08:52:41 +00:00