1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-15 21:05:36 +00:00
Commit graph

1800 commits

Author SHA1 Message Date
Evangelos Ribeiro Tzaras
91e5cad939 Document and release 44.2 2023-06-11 00:40:19 +02:00
Evangelos Ribeiro Tzaras
abfa659d16 test-application: Use dummy plugin
The test should not try communicating with any modem through ModemManager.

Fixes: #576
(cherry picked from commit e26e6640d8)
2023-06-11 00:39:26 +02:00
Evangelos Ribeiro Tzaras
f6a4acb3dd sip-provider: Add debugging to password lookup
(cherry picked from commit 9c5d7a58a1)
2023-06-11 00:39:26 +02:00
Evangelos Ribeiro Tzaras
23239e5f56 ci: Allow nightly jobs to fail
Apparently the publish jobs try to run even though the needed flatpak
job failed, so disable these too.

Fixes: b550617de2
(cherry picked from commit b32f3185a1)
2023-06-11 00:39:26 +02:00
Evangelos Ribeiro Tzaras
09d3e8798f mm-origin: Don't unref origin in call_deleted_cb
Fixes: 72a85d62fa
Closes: #573
(cherry picked from commit 3e699275a4)
2023-05-10 21:36:33 +02:00
Evangelos Ribeiro Tzaras
4d07205edf Document and release 44.1 2023-04-21 10:44:07 +02:00
Evangelos Ribeiro Tzaras
dcb57537a5 manager: Respect object life cycle for signal handlers 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
cd8797e35f contacts-provider: Disconnect signals on finalize 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
22635d418e account-row: Guard calls_account_row_new() against invalid provider 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
f2ca24a6f1 sip-origin: Prefer named constant over magic numbers 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
9ffbcb01ad sip-origin: Don't leak address 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
5fa8c958b1 sip-origin: Include SIP address in debugging
This makes it easier to see if all accounts are being disposed
2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
8bba206df6 sip-origin: Keep sofia running to allow unregistering on dispose
sofia-sip needs to keep iterating its' main loop in order to
unregister as well as process the response from the server.

Closes: #554
2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
d2a5c14b77 sip-origin: Use g_clear_pointer() instead of emulating it 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
ae687b02aa manager: Clear providers after origins
Fixes a segmentation fault on shutdown in nua_unregister()
2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
8312eb92f8 main-window: Use gtk_widget_destroy() for windows
Top level widgets should typically call gtk_widget_destroy()
2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
b53d22fced account-overview: Respect object life cycle for signal handlers
Prevents the following failed assertion when shutting down Calls:

CallsAccountOverview:ERROR:../src/calls-account-overview.c:222:update_account_list: assertion failed: (CALLS_IS_ACCOUNT_OVERVIEW (self))
2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
93ff933569 manager: Respect object life cycle for signal handlers
Don't call signal handlers after the manager has been disposed.
2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
f9d238f988 application: Initialize objects before parsing options
This helps making object life cycles clearer and
with logging already set up we won't miss any early debugging messages.
2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
81370a9a1e application: Handle setting verbosity first
We want logging verbosity to be set before other command line options
are handled as we might be missing messages otherwise.
2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
cbde9e779a application: Don't leak CallsManager 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
81b8928b16 new-call-box: Don't leak CallsOrigin
get_selected_origin () does not need to take a reference on CallsOrigin
2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
2cebcbf957 new-call-box: Use STR_IS_NULL_OR_EMPTY macro 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
fee8f8ba9f manager: Use STR_IS_NULL_OR_EMPTY macro 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
7809ec2349 call-window: Remove dead code 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
8b2b18fc65 application: Remove unused macro 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
9b87cd4334 test-manager: Remove unused include 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
b6746e64a6 test-manager: Remove unused variable 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
a25ae2dfd2 main-window: Codestyle 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
f0b03019b0 main-window: Sort includes 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
6225748b9d resources: Sort alphabetically 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
9da86179f4 build: Sort enum headers 2023-04-21 10:35:13 +02:00
Evangelos Ribeiro Tzaras
cf0d026adf test-contacts: Add more test cases
Testing lookup of both empty string and NULL ensures we won't regress.
2023-04-21 10:34:31 +02:00
Evangelos Ribeiro Tzaras
2587d7d738 best-match: Don't special case NULL best match
We always get a valid best match, even for NULL or empty ids,
so there is no more need to special case it.
2023-04-21 10:34:31 +02:00
Evangelos Ribeiro Tzaras
a478be1795 contacts-provider: Handle NULL and empty strings graceful in lookup
Fixes a crash where we asserted on best match when the id was NULL or
empty.

Closes: #567
2023-04-21 10:34:31 +02:00
Evangelos Ribeiro Tzaras
0da19790c5 contacts-provider: Simplify refcounting in lookup_id()
g_autoptr usage was a bit pointless here since
calls_contacts_provider_lookup_id() is transfer full
2023-04-21 10:34:31 +02:00
Evangelos Ribeiro Tzaras
343eb5919e best-match: Add gtk-doc annotations to the public API
Notably this adds ownership and nullable annotations, where appropriate.
2023-04-21 10:34:31 +02:00
Evangelos Ribeiro Tzaras
1b8ec26185 best-match: Allow both NULL and empty strings as phone number
This allows us to get rid of some special casing when retrieving
primary and secondary display information.
2023-04-21 10:34:31 +02:00
Evangelos Ribeiro Tzaras
bbf7e2353a sip-provider: Chain up to constructed early 2023-04-21 10:34:18 +02:00
Evangelos Ribeiro Tzaras
a8852bcc45 sip-provider: Improve debugging of account loading
This should help diagnosing why the flatpak sometimes fails to add SIP accounts.
2023-04-21 10:34:16 +02:00
Evangelos Ribeiro Tzaras
d160365ea4 sip-provider: Don't leak keyfile
The reference taken in new_origin_from_keyfile_secret() was never
released in the async callback.
2023-04-21 10:34:12 +02:00
Evangelos Ribeiro Tzaras
6bd0733e78 sip-provider: Remove unused variables 2023-04-21 10:34:09 +02:00
Evangelos Ribeiro Tzaras
117846fe70 tests: Add CALLS_SIP_ACCOUNT_FILE to environment
Otherwise the application test will try using the users
configured SIP accounts.
2023-04-21 10:34:07 +02:00
Guido Günther
a78ca7e8de emergency-calls-manager: Don't leak origin
g_list_model_get_item is transfer full
2023-04-21 10:33:08 +02:00
Evangelos Ribeiro Tzaras
c8f0100172 Update libcall-ui to v0.1.0
From NEWS:
  * Breaking change: Drop deprecated call states
  * Fix audio-mode reset
  * Improve keyboard navigation

Also includes updates to translations.
2023-04-21 10:32:47 +02:00
Guido Günther
fd542dd43b build: Run tests under C locale
This allows us to check for strings that contain translations.
We could also force a locale (see phosh's screenshot tests) at
a later point.
2023-04-21 10:32:39 +02:00
Evangelos Ribeiro Tzaras
8963218478 Document and release 44.0 2023-03-17 11:36:29 +01:00
Alexander Shopov
898d3ac530 Add Bulgarian translation 2023-03-12 15:14:57 +00:00
Alan Mortensen
dfd2edfff6 Update Danish translation 2023-03-07 13:59:54 +00:00
Alan Paris
e8b5322749 Update French translation 2023-03-07 13:38:17 +00:00