1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-14 20:35:38 +00:00
Commit graph

1577 commits

Author SHA1 Message Date
Evangelos Ribeiro Tzaras
ad14d8ba82 mm-provider: Cancel ongoing operations
both when MM has appeared on DBus and
when disposing of the provider.
2022-12-03 20:55:25 +01:00
Evangelos Ribeiro Tzaras
48a77cda5c contact-provider: Allow can-add-contacts to be reset
Under normal conditions it is not expected that whether we can add
contacts or not (based on the presence of the appropriate action on
gnome-contacts) changes.

Nevertheless it can be beneficial for debugging when installing patched
and unpatched versions of gnome-contacts.
2022-12-03 20:55:25 +01:00
Evangelos Ribeiro Tzaras
d51151a028 contacts-provider: Remove unused variable 2022-12-03 20:55:25 +01:00
Evangelos Ribeiro Tzaras
caa74fa441 ui-call-data: Prevent timer being started multiple times
Fixes #502
2022-12-03 20:55:25 +01:00
Evangelos Ribeiro Tzaras
8a299d6dc7 ui-call-data: Add debugging for state changes
This should help fixing issues like #502 in the future.
2022-12-03 20:55:25 +01:00
Evangelos Ribeiro Tzaras
7ace8cbd4d sip-origin: Honour set port when completing address
This makes sure to include the port when dialing the short form.

Fixes: #506
2022-12-03 20:55:25 +01:00
Evangelos Ribeiro Tzaras
25e5e01008 media-pipeline: Dump dot graph without GST_DEBUG_DUMP_DOT_DIR set
gst_debug_bin_to_dot_file() NOOPs if GStreamer was initialized without
the enviroment variable GST_DEBUG_DUMP_DOT_DIR.

If SIGUSR2 was signalled we want to have a dot file dumped no matter
what. Functions for asynchronously writing the graph as obtained by
gst_debug_bin_dot_data() to a temporary file and print the path to
stdout.

Note: Usage of GST_DEBUG_BIN_DOT_FILE() on pipeline state change is left
as is, because we don't want to dump graphs for every change on every
pipeline.
2022-12-03 20:55:25 +01:00
Evangelos Ribeiro Tzaras
2eda998931 sip: media-manager: Simplify SDP generation
Use the newly added get_address_family().
2022-12-03 20:55:25 +01:00
Evangelos Ribeiro Tzaras
8567a93baa util: Add API to check address family of IP address 2022-12-03 20:55:25 +01:00
Evangelos Ribeiro Tzaras
25c87f9c2d util: Rename function to calls_find_in_model() and adjust documentation
Since it works for GListModel rename it appropriately.

It used to provide an inline implementation for g_list_store_find()
behind a glib version guard, but we bumped minimum version in
cfd3c2a7fe
so the docstring was updated and made more succinct.
2022-12-03 20:55:25 +01:00
Evangelos Ribeiro Tzaras
0b495de9eb util: Remove unused code 2022-12-03 20:55:25 +01:00
Evangelos Ribeiro Tzaras
3d541c4be6 test-util: Remove unused include 2022-12-03 20:55:25 +01:00
Evangelos Ribeiro Tzaras
e21155a35c application: Propagate verbosity to main instance
If another instance of calls was already running, invoking calls with
`-v` flag would set the verbosity for the newly created process and then
exit if it was not the primary instance.
2022-12-03 20:55:25 +01:00
Evangelos Ribeiro Tzaras
68c1a3f21e log: Use unsigned int for verbosity
Negative verbosity levels don't make sense.
2022-12-03 20:55:25 +01:00
Evangelos Ribeiro Tzaras
cfdc7de9ed application: Fix indentation 2022-12-03 20:55:25 +01:00
Evangelos Ribeiro Tzaras
c1f1a6417d new-call-box: Reindent 2022-12-03 20:54:55 +01:00
Evangelos Ribeiro Tzaras
d8446e680b new-call-box: Switch to using CuiDialpad
It has been in libcall-ui for some time, so let's use it.

This will also easy the transition to Gtk4 as it's one less widget we
have to worry about.
2022-12-03 20:54:55 +01:00
Evangelos Ribeiro Tzaras
527f3a72ca Revert "Disable g722 to avoid test failure with ffmpeg 5.0/gst-libav"
This reverts commit 857c375ab9.

The failure to register types due to invalid type names seems to be
resolved, so let's revert to reenable g722 codecs.
2022-12-03 20:54:55 +01:00
Evangelos Ribeiro Tzaras
3e984b0dca media-pipeline: Bind to the unspecified IPv6 address
IPv4 keeps working through the magic of IPv4 mapped IPv6 addresses.

Without this change errors about invalid address family will be raised
when trying to connect to a IPv6 host.

Bail out! CallsSipMediaPipeline-FATAL-WARNING: Error on the message bus: Could not get/set settings from/on resource. (../gst/udp/gstmultiudpsink.c(1228): gst_multiudpsink_configure_client (): /GstPipeline:media-pipeline/GstUDPSink:rtcp-udp-sink:
Invalid address family (got 10))

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019292
2022-12-03 20:54:55 +01:00
Evangelos Ribeiro Tzaras
9a71263c6f d/copyright: Update
This was updated recently in the official Debian package, so sync up
with that.
2022-12-03 20:54:55 +01:00
Evangelos Ribeiro Tzaras
d35d088c44 build: drop libmocka dependency
It is now unused
2022-12-03 20:54:55 +01:00
Evangelos Ribeiro Tzaras
ab0e5afb07 test-ringer: Use glib testing functions instead of mocka 2022-12-03 20:54:55 +01:00
Evangelos Ribeiro Tzaras
5f877a9d80 tests: Rename functions
This is done as a follow up commit after the cancellation test was
removed in order to (slightly) ease review.
2022-12-03 20:54:55 +01:00
Evangelos Ribeiro Tzaras
9c2307ba44 tests: Mock libfeedback
Copied from libfeedback as of 2e081602f627505e566cc0bdb6cd96c7642d8b65
and adjusted for our mocking needs.

The mocked library will be LD_PRELOADED for the moment,
but further changes to the build should allow us to simply link
to it in the future.
2022-12-03 20:54:55 +01:00
Evangelos Ribeiro Tzaras
6d122b066f test-ringer: Remove cancellable test
This will get removed soon while refactoring the ringer as cancelling
the async methods would not guarantee that the requested operation would
not be performed.

It could actually already be started (e.g. starting or stopping the
feedback), but we have not yet received the reply, so it was always a
bit flaky.
2022-12-03 20:54:55 +01:00
Evangelos Ribeiro Tzaras
e118eac884 flatpak: Fix flatpak build
Mostly updating of dependencies.

Notable changes:
- Build abseil with position independent code
- Drop patch for libphonenumber and use -DREGENERATE_METADATA=OFF
  instead to drop the java build dependency
- Drop gstreamer as it's included in the runtime already
- Drop cmocka as we're about to drop it's usage completely anyway
2022-12-03 20:54:41 +01:00
Evangelos Ribeiro Tzaras
2ac569cd71 meson: Sort sources alphabetically 2022-12-03 20:54:36 +01:00
Evangelos Ribeiro Tzaras
01897e5150 ringer: Cancel any ongoing actions on shutdown 2022-12-03 20:54:08 +01:00
Evangelos Ribeiro Tzaras
628389cf15 ringer: Move libfeedback related cleanup to finalize()
Leave the LfbEvent self->event alive in dispose()
to give potentially pending GAsyncReadyCallback invocations
or running GSources a better chance of finishing gracefully.
2022-12-03 20:54:01 +01:00
Asier Sarasua Garmendia
fd4074ec23 Update Basque translation 2022-12-03 09:30:22 +00:00
Nart Tlisha
6a95e28ee7 Add Abkhazian translation 2022-12-02 10:59:36 +00:00
Asier Sarasua Garmendia
7548fdb413 Add Basque translation 2022-11-29 18:21:31 +00:00
Kukuh Syafaat
91e3c6e28f Update Indonesian translation 2022-11-29 04:46:23 +00:00
Balázs Úr
4de23bc7f2 Update Hungarian translation 2022-11-01 11:13:35 +00:00
Daniel Rusek
6f63067ac2 Update Czech translation 2022-10-17 13:43:42 +00:00
Evangelos Ribeiro Tzaras
845f1f7fca application: Don't show application window if started as daemon
If calls was already running as a daemon it and were invoked again with
`--daemon` it ended up showing the UI.

Now we always set the `daemon` variable and simplify activation logic as
a side effect.

Fixes #500
2022-09-21 11:58:24 +02:00
Evangelos Ribeiro Tzaras
bcb4061db1 application: Don't return value in start_proper()
It never returned FALSE, so change function prototype accordingly.
2022-09-21 11:58:23 +02:00
Evangelos Ribeiro Tzaras
e28b15b41a ringer: Remove deprecated CuiCallStates
They haven't been used since
4bc8e82ff6
and could probably have been removed sooner.
2022-09-20 12:27:23 +02:00
Evangelos Ribeiro Tzaras
991512e196 record-store: Removed deprecated CuiCallStates
They haven't been used since
4bc8e82ff6
and could probably have been removed sooner.
2022-09-20 12:27:21 +02:00
Evangelos Ribeiro Tzaras
4348e794a9 manager: Remove unused include 2022-09-20 12:26:43 +02:00
Evangelos Ribeiro Tzaras
cfbb149c19 meson: Post release bump 2022-09-19 20:49:39 +02:00
Evangelos Ribeiro Tzaras
fcee1a3b6a d/changelog: Fix version 2022-09-19 20:47:10 +02:00
Evangelos Ribeiro Tzaras
18ef729e00 Document and release 43.0 2022-09-19 20:33:53 +02:00
Evangelos Ribeiro Tzaras
e8a7485086 metainfo: Correct screenshot URLs
Fixes #497
2022-09-19 20:17:20 +02:00
Evangelos Ribeiro Tzaras
a35cd09cdb tests: Remove unused code 2022-09-19 19:14:17 +02:00
Martin
551447c800 Update Slovenian translation 2022-09-18 09:58:48 +00:00
Evangelos Ribeiro Tzaras
39c182ffca i18n: mm-call: Clarify "transfer" and "deflect"
Closes: #499
2022-09-17 09:11:12 +02:00
Daniel Mustieles
fbb1eb6c6c Update Spanish translation 2022-09-12 10:38:16 +00:00
Evangelos Ribeiro Tzaras
a9288a2739 Update libcall-ui to always reset audio profile
The new version contains a fix that makes sure audio profile switching
(using libcallaudio) always gets properly reset.

Closes: #452
2022-09-11 11:05:19 +02:00
Hugo Carvalho
79896af600 Update Portuguese translation 2022-09-07 13:55:05 +00:00