Evangelos Ribeiro Tzaras
bb6b76107c
build: Rename util.{c,h} to calls-util.{c,h}
...
"util" is a very generic name. This guards against accidentally
including similarly named headers from elsewhere.
2023-01-22 07:33:02 +00:00
Evangelos Ribeiro Tzaras
7ac862155b
Uncrustify sources
...
Ran `find src plugins -iname '*.[c|h]' -print0 | xargs -0 uncrustify --no-backup`
with some minimal manual intervention.
2022-04-24 12:59:42 +02:00
Evangelos Ribeiro Tzaras
7f40314810
best-match: Add property for primary and secondary display information
...
This allows to get rid of any special casing that the users of the
calls_best_match_get_name() and calls_best_match_get_id() had to do previously.
We also allow passing in NULL for *_get_primary_info ()
and *_get_secondary_info () for the anonymous caller case.
2022-02-18 10:55:53 +01:00
Evangelos Ribeiro Tzaras
690ac121e9
best-match: Assert CALLS_IS_BEST_MATCH in private functions
2022-02-18 10:55:53 +01:00
Evangelos Ribeiro Tzaras
51598700d7
best-match: Codestyle
2022-02-18 10:55:53 +01:00
Evangelos Ribeiro Tzaras
c594726ce5
best-match: Fix potential memory leak
...
We would leak memory if calls_best_match_set_phone_number would be called a
second time with a SIP address.
2022-01-20 10:23:09 +00:00
Evangelos Ribeiro Tzaras
da648829b4
best-match: Rename best_match variable to matched_individual
...
This makes it a bit clearer what the variable is used for.
2021-11-19 15:56:45 +01:00
Evangelos Ribeiro Tzaras
4593a82b21
number-query: Fall back to string comparison if parsing EPhoneNumber fails
...
Fixes #345
2021-10-27 11:07:54 +00:00
Evangelos Ribeiro Tzaras
33ad4dbe86
Simplify country code handling
2021-09-27 08:46:09 +00:00
Evangelos Ribeiro Tzaras
9d27d5bae6
best-match: Don't free unowned data
...
Fixes #331
2021-09-24 05:13:31 +02:00
Evangelos Ribeiro Tzaras
d9e5c6a252
best-match: codestyle
2021-09-24 05:13:31 +02:00
Evangelos Ribeiro Tzaras
bd045be4e4
number-query: Take country code into account
...
Fixes #312
2021-09-23 09:54:44 +02:00
Evangelos Ribeiro Tzaras
c293b7029d
best-match: Preliminary handling of SIP addresses
...
This does not perform any contact lookup, but instead introduces a benign
hack to be able to get something sensible when calling
`calls_best_match_get_name()` and avoids unnecessary warnings.
2021-07-01 02:01:32 +02:00
Evangelos Ribeiro Tzaras
fd45f04886
best-match: codestyle
2021-07-01 02:00:52 +02:00
Evangelos Ribeiro Tzaras
21666fc7d4
best-match: Don't set NULL phone numbers when updating country code
...
Also related to #255
2021-04-12 14:02:26 +02:00
Evangelos Ribeiro Tzaras
a072d8c7e3
best-match: avoid using NULL phone number
...
Fixes #255
2021-04-12 14:02:19 +02:00
Evangelos Ribeiro Tzaras
9703b1e43e
best-match: disconnect old signal handlers
2021-04-06 14:27:26 +00:00
Evangelos Ribeiro Tzaras
0bd6d7f2a5
best-match: Lookup contact if country code changed
...
Closes #217
2021-04-06 14:27:26 +00:00
Evangelos Ribeiro Tzaras
622827d293
best-match: Use the country code
2021-04-06 14:27:26 +00:00
Evangelos Ribeiro Tzaras
69b170ecfe
best-match: g_return_if_fail if not GeeCollection
...
Closes #254
Closes #227
2021-04-06 14:27:26 +00:00
Julian Sparber
6d3b75262d
BestMatch: add has-individual property
2021-02-03 23:58:31 +00:00
Julian Sparber
f1946aff79
BestMatch: remove BestMatchView to reduce vala code
2021-02-03 23:58:31 +00:00
Julian Sparber
2a85b60f7c
BestMatch: Simplify code for updating new best matching individual
2021-02-03 23:58:31 +00:00
Julian Sparber
339b71a233
BestMatch: Allways return a name
...
If no matching contact is found the phone number is used, and when no
phone number was given "Anonymous caller" is returned.
2021-02-03 23:58:31 +00:00
Julian Sparber
d75d39dc66
BestMatch: Move SearchView creation inside the class
2021-02-03 23:58:31 +00:00
Julian Sparber
99e427a529
BestMatch: Turn avatar into a property
2021-02-03 23:58:31 +00:00
Guido Günther
956916ae1f
Drop translations from property names and descriptions
...
They're never used anywhere.
Closes : #155 , #121
2020-05-29 13:11:44 +00:00
Bob Ham
cc41df44d6
Add initial avatar support
...
We change the code for dealing with contacts quite significantly,
adding a new class, CallsBestMatch, in order to encapsulate a lot of
the functionality that was in CallsCallRecordRow.
At present avatars are not rounded and there are no auto-generated
avatars for contacts with no avatar. This work is awaiting discussion
of Apps_Issues#164.
2019-12-10 14:46:31 +00:00