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

1794 commits

Author SHA1 Message Date
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
Changwoo Ryu
994495d88f Add Korean translation 2023-03-06 12:54:25 +00:00
Ngọc Quân Trần
7d027bda27 Add Vietnamese translation 2023-03-01 02:20:21 +00:00
Daniel
407569c232 Updated Spanish translation 2023-02-21 11:51:17 +01:00
Quentin PAGÈS
08d22abaf5 Update Occitan translation 2023-02-19 17:53:47 +00:00
Aurimas Černius
45033ffdf2 Update Lithuanian translation 2023-02-18 20:29:52 +00:00
Danial Behzadi
d9a5e23faf Update Persian translation 2023-02-18 15:31:38 +00:00