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
Марко Костић
4d9d72a27a
Update Serbian translation
2023-02-17 06:29:04 +00:00
Дилян Палаузов
242efcc06a
SIP:calls_sdp_crypto_context_generate_answer() accept the first supporetd a=crypto: line
2023-02-12 12:06:06 +00:00
Evangelos Ribeiro Tzaras
d6619d68c9
tests: Don't override XDG_CONFIG_HOME
...
It was introduced in 4b51f340c8
to prevent accessing user home during tests:
The only place where this the home is currently accessed is when loading
SIP accounts and these can already be overriden with
CALLS_SIP_ACCOUNT_FILE.
It seems that XDG_CONFIG_HOME is propagated to the flatpak runner,
even though it was only overriden for the test suite.
========================================================================
Building module calls in /builds/devrtz/calls/.flatpak-builder/build/calls-1
========================================================================
Error: module calls: Error opening directory '/builds/devrtz/calls/_build/calls': Permission denied
Reported at https://gitlab.gnome.org/Infrastructure/GitLab/-/issues/596#note_1654082
2023-02-12 10:26:48 +01:00
Evangelos Ribeiro Tzaras
d790e35bc3
sip-provider: Remove duplicated check
...
init() already checked if CALLS_SIP_TEST was set,
no need to do it again in constructed()
2023-02-12 10:26:46 +01:00
Evangelos Ribeiro Tzaras
4d402d2f79
sip-provider: Use STR_IS_NULL_OR_EMPTY macro
2023-02-12 10:26:46 +01:00
Guido Günther
372aa452c3
tests: Add emergency call DBus test
...
Make sure the API gets exported and we can query numbers
2023-02-12 08:00:56 +00:00
Guido Günther
ca4e77a8b0
tests/dbus: Check for error early
...
This gives a detailed error messages whereas checking if `proxy`
is `NULL` tells us only that on error.
2023-02-12 08:00:56 +00:00
Guido Günther
8a4a7c6131
mm: Implement empty emegency call property
...
This allows the tests to pass.
2023-02-12 08:00:56 +00:00
Guido Günther
75cbc30dc0
sip: Implement empty emegency call property
...
This allows the tests to pass.
2023-02-12 08:00:56 +00:00
Guido Günther
d5cba4db7f
emergency-calls-manager: Query origins for numbers
...
When the origins change we notify that emergency numbers
might have changed.
2023-02-12 08:00:56 +00:00
Guido Günther
9af09a0db9
dummy: Support getting emergency call numbers
2023-02-12 08:00:56 +00:00
Guido Günther
df9d541968
origin: Add interface to get emergency numbers
2023-02-12 08:00:56 +00:00
Guido Günther
e3d1193f7f
dbus-manager: Use emergency-call manager
2023-02-12 08:00:56 +00:00