1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-12 15:47:35 +00:00
Commit graph

756 commits

Author SHA1 Message Date
Guido Günther
0bc8c7bc4e calls-call-record-row: Print 'Anonymous caller' on empty numbers
If no number is present use `Anonymous caller` instead of an
empty label in the call history.

See: #144
2020-07-02 12:10:10 +02:00
Emin Tufan Çetin
1ce13ba903 po: Add Turkish to LINGUAS 2020-07-02 10:59:36 +02:00
Emin Tufan Çetin
6513118d27 po: Add Turkish translation 2020-07-02 10:59:36 +02:00
Yuri Chornoivan
cb2e2266d6 po: Update Ukrainian translation 2020-06-28 09:07:40 +03:00
Evangelos Ribeiro Tzaras
9fc8ec5e1a Implement contact name lookup for call display
* src/calls-manager.h: Add lookup function to header
* src/calls-manager.c: Implement lookup function to be used for the call
  history, call notifier and call display
* src/calls-call-holder.c: Use calls_manager_get_contact_name ()
* src/calls-notifier.c: Use calls_manager_get_contact_name ()
2020-06-27 17:35:54 +02:00
Evangelos Ribeiro Tzaras
0f0d10e3f2 Make CallsContacts a singleton
Since passing a CallsContacts pointer down to every class it needs, started to
become laborous - especially since the intermediates classes don't need
the reference themselves - it was made a singleton

* src/calls-contacts.c: Added calls_contacts_get_default () function and
  removed calls_contacts_new ()
* src/calls-contacts.h: Added _get_default () prototype and removed the
  _new () prototype
* src/calls-application.c: Use calls_contacts_get_default () now
* src/calls-history-box.c: Removed self->contacts completely
* src/calls-history-box.h: Got rid of CallsContacts argument in _new()
* src/calls-main-window.c: Removed self->contacts completely
* src/calls-main-window.h: Got rid of CallsContacts argument in _new()
* src/calls-call-record-row.c: Use calls_contacts_get_default () now
* src/calls-call-record-row.h: Got rid of CallsContacts argument in
  _new()
* src/calls-call-holder.c: Use calls_contacts_get_default () now
* src/calls-call-holder.h: Got rid of CallsContacts argument in _new()
* src/calls-call-window.c: Removed self->contacts completely
* src/calls-call-window.h: Got rid of CallsContacts argument in _new()
* src/calls-notifier.c: Use calls_contacts_get_default () now
* src/calls-notifier.h: Got rid of CallsContacts argument in _new()
2020-06-23 17:43:19 +02:00
Yuri Chornoivan
17e8e4bd24 po: Update Ukrainian translation 2020-06-20 08:47:22 +03:00
Guido Günther
e74891557e Document changes and release 0.1.6 2020-06-11 18:16:55 +02:00
Evangelos Ribeiro Tzaras
4bf5cd5232 Implement delete call with context menu on longpress
* src/ui/call-record-row.ui: Add menu, GtkPopover. Surround existing
  elements with GtkEventBox to capture longpress/rightclicks
* src/calls-call-record-row.c: Provide functions emiting "call-delete"
  signal, add widgets from ui file
* src/calls-record.c: Add "call-delete" signal
* src/calls-history-box.c: Add callback for "call-delete" signal
* src/calls-record-store.c: Add callback for "call-delete" signal
* src/util.c: Add convenience function calls_find_in_store for finding
  items in ListModel
* src/util.h: Add declaration of calls_find_in_store
2020-06-10 20:49:44 +02:00
Evangelos Ribeiro Tzaras
b15c2876da record-store: Use g_autoptr(GError) to avoid having to g_error_free 2020-06-10 20:49:44 +02:00
Yuri Chornoivan
1d00c4bada Use an ellipsis in translation for Ukrainian 2020-06-10 17:26:03 +00:00
Guido Günther
281ccbd8e6 Show notification on missed calls
Closes: #153
2020-06-09 13:44:57 +02:00
Guido Günther
c3e6a444db tests: Disable atk bridge
Otherwise this can trigger test failures. Similar to what we
did in libhandy.

Fixes errors like:
---
G_DEBUG='gc-friendly,fatal-warnings' G_TEST_BUILDDIR='/home/purism/builds/calls/_build/tests' PYTHONDONTWRITEBYTECODE='yes' MALLOC_CHECK_='2' GSETTINGS_BACKEND='memory' G_TEST_SRCDIR='/home/purism/builds/calls/tests' /home/purism/builds/calls/_build/tests/manager
--- stderr ---

(/home/purism/builds/calls/_build/tests/manager:10212): dbind-WARNING **: 12:01:50.237: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
-------
2020-06-08 09:46:58 +00:00
Guido Günther
ecca21b0ed ringer: Use libfeedback
This triggers e.g. haptic feeback as well and can later on be used
for LED feedback.

We can drop the audio theme setting completely since feedbackd picks up
the global GNOME setting.

Since feedbackd currently does not cancel gsound's via a cancellable
this might make the phone ring a bit too long atm but that will be fixed
on the feedbackd side
(https://source.puri.sm/Librem5/feedbackd/-/issues/10)
2020-06-05 16:42:24 +02:00
Guido Günther
1fcc5f585e debian: Build-depend on libfeedback-dev 2020-06-05 16:37:01 +02:00
Guido Günther
f96ad96b3f ringer: Make more functions static 2020-06-05 16:37:01 +02:00
Guido Günther
f7185ea70e build: Specifify glib versions
This avoids deprecation warnings due to GTimeVal used in
libebook-contacts.h

See https://tecnocode.co.uk/2019/08/24/gtimeval-deprecation-in-glib-2-61-2/

It's already fixed in newer eds so we can drop
this once we move to a newer stack.
2020-06-05 16:36:32 +02:00
Guido Günther
09cbdf4181 calls-call-record-row: Ref the returned contact
calls_contacts_lookup_phone_number is transfer-none
2020-06-05 14:59:37 +02:00
Guido Günther
fb73046e71 calls-contacts: Document lookup_phone_number
This makes sure we have clear ownership rules
2020-06-05 14:59:37 +02:00
Scott Anecito
09da409a2d po: Add ja.po to LINGUAS 2020-06-02 10:34:08 +02:00
Scott Anecito
4f1c2db846 po: Add Japanese translation 2020-06-02 10:33:43 +02:00
Rafael Fontenelle
449f254616 Add Brazilian Portuguese translation 2020-06-02 08:14:32 +00:00
Mohammed Sadiq
ba00b174f9 call-display: Use real ellipsis
See https://wiki.gnome.org/Design/OS/Typography
2020-05-31 19:24:25 +05:30
Mohammed Sadiq
8f9c683158 main-window: Don’t set program-name in about dialog
program-name will be retrieved with g_get_application_name().
Let’s not do it explicitly so that there is one less string
to translate
2020-05-31 19:18:52 +05:30
Guido Günther
89c91c8271 po: Update pot file
Update the pot file after marking many strings as not needing
translation.
2020-05-29 13:11:44 +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
Guido Günther
0b35ca102a po: Add plugins to POTFILES.skip
They're not meant to be translated
2020-05-28 11:19:27 +02:00
Valéry Febvre
50a8e79cc7 po: Add French translation 2020-05-27 11:37:46 +02:00
Daniel Șerbănescu
8dc742adc4 po: Add Romanian translation 2020-05-27 11:07:05 +02:00
Antonio Pandolfo
d02c85b045 po: Add Italian translation 2020-05-27 10:11:38 +02:00
Zander Brown
22537ce5bd
po: Add British English translation 2020-05-23 18:00:44 +01:00
Guido Günther
30a4bee445 debian: Add gbp.conf
This makes correct taging so much simpler
2020-05-18 16:15:10 +02:00
Guido Günther
e9c9bf65ff Document changes and release 0.1.5 2020-05-18 11:01:43 +02:00
Yuri Chornoivan
060ddac0fc po: Add Ukrainian translation 2020-05-16 15:56:44 +03:00
Sebastian Rasmussen
6235ec00e3 po: Add Swedish translation 2020-05-16 12:29:20 +02:00
Danial Behzadi
b45c75399a po: fa: Update some strings 2020-05-16 12:29:15 +02:00
Evangelos Ribeiro Tzaras
31fa887f04 Build "ugly code" in calls-call-display conditionally
* meson_options.txt: Added option librem5-hack, defaults to true
* src/meson.build: Added conditional define USE_UGLY_CODE which will be
  set when librem5-hack option is used
* src/calls-call-display.c: ifdef'ed ugly_hacks call
2020-05-15 22:59:00 +02:00
Evangelos Ribeiro Tzaras
f6db8cb5ba data: Clarify metainfo copyright to be CC0-1.0
Adust debian/copyright accordingly.
2020-05-15 16:49:23 +02:00
David Heidelberg
b95cccd510
data: rename appdata to metainfo
Appstream nowadays prefers `.metainfo.xml`:
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
2020-05-13 11:34:55 +02:00
Guido Günther
11cc1a219a Build against Debian bullseye 2020-05-12 10:49:44 +00:00
Danial Behzadi
e08d52cfc0 Add Persian 2020-05-12 09:37:26 +00:00
Guido Günther
d18bd0fc66 Update POTFILES.in
See: #146
2020-04-10 12:25:18 +02:00
Julian Sparber
b9e1aef601
Release Calls 0.1.4
Signed-off-by: Julian Sparber <julian@sparber.net>
2020-04-02 11:06:00 +02:00
Julian Sparber
0b44f6471f
History: Make avatars 48px big
Signed-off-by: Julian Sparber <julian@sparber.net>
2020-03-31 16:31:38 +02:00
Julian Sparber
4f03ab0441
History: use HdyAvatar
This disables the custom avatar. It will be added back later.

Signed-off-by: Julian Sparber <julian@sparber.net>
2020-03-31 16:31:38 +02:00
Julian Sparber
63e5bc8504
Add HdyAvatar
Signed-off-by: Julian Sparber <julian@sparber.net>
2020-03-31 12:00:18 +02:00
Julian Sparber
a9bd1ebae6 MainWindow: show error message when making calls isn't possible 2020-03-30 15:00:06 +00:00
Julian Sparber
f63936d772
HistoryBox: remove new-call property
The property wasn't removed correctly in f1f848c5f3

Signed-off-by: Julian Sparber <julian@sparber.net>
2020-03-30 11:35:58 +02:00
Julian Sparber
f603f5be51
Remove Enumerate and EnumerateParams class
This classes where fully replaced by Manager
2020-03-27 12:05:35 +01:00
Julian Sparber
1a2c2f3036
RecordStore: Use Manager 2020-03-27 12:05:34 +01:00