Commit Graph
42 Commits
Author SHA1 Message Date
Guido GüntherandGuido Gunther d0e3e580c9 gitlab-ci: Fail when C files are missing from POTFILES.in
If there are translation in C files but not in POTFILES.in
fail the pipeline.
2020-11-13 08:08:38 +00:00
Guido GüntherandGuido Gunther 6921a104c8 po: Add calls-notifier.c
It has translatable strings.
2020-11-13 08:08:38 +00:00
Guido Günther aa98fa3471 Document changes and release 0.1.8 2020-09-18 13:03:25 +02:00
Guido Günther 4ebede421b doap: Fix sytnax
Wrap each person within <maintainer/>
2020-09-18 10:33:39 +02:00
Guido Günther 04e8998a0f doap: Add devrtz to list of maintainers
He's been the most active contributor recently.
2020-09-14 19:37:28 +02:00
Guido GüntherandGuido Gunther 4227e29009 calls-main-window: Bring back old error string when no modem is present
Calls can't tell the difference between no SIM and no modem
atm.

Closes: #159, #152
2020-09-10 08:58:25 +00:00
Guido GüntherandGuido Gunther 91cdde3ac9 main-window: Allow the in app notification to wrap
Othewise we overflow the window. Center it too.
2020-09-10 08:58:25 +00:00
Guido GüntherandGuido Gunther 78921fadea gitlab-ci: Allow to only build a package 2020-09-10 08:58:24 +00:00
Guido Günther 4a617b2485 po: Add Spanish to LINGUAS 2020-08-14 10:07:14 +02:00
Guido GüntherandGuido Gunther b95de5c9e0 calls-call-record-row: Ignore anonymous callsers
These have an empty string which leads to

    Error parsing phone number `': Keine Telefonnumme
2020-07-22 06:52:07 +00:00
Guido GüntherandGuido Gunther 1f8435f4dd call-record-row: Use g_autoptr for the GError 2020-07-22 06:52:07 +00:00
Guido Günther 829972183d po: Add Hungarian to LINGUAS 2020-07-20 10:46:27 +02:00
Guido Günther 99fb1981d0 Document changes and release 0.1.7 2020-07-02 12:26:10 +02:00
Guido Günther 803cec41a5 calls-call-record-row: Set call back button insensitive for anonymous caller
They can't be called back, we don't have a number

See: #144
2020-07-02 12:10:10 +02:00
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
Guido Günther e74891557e Document changes and release 0.1.6 2020-06-11 18:16:55 +02:00
Guido Günther 281ccbd8e6 Show notification on missed calls
Closes: #153
2020-06-09 13:44:57 +02:00
Guido GüntherandGuido Gunther 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
Guido GüntherandMohammed Sadiq 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üntherandMohammed Sadiq 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
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
Guido GüntherandGuido Gunther 11cc1a219a Build against Debian bullseye 2020-05-12 10:49:44 +00:00
Guido Günther d18bd0fc66 Update POTFILES.in
See: #146
2020-04-10 12:25:18 +02:00
Guido Günther 9f4c0cf3d0 Add potfile
Generated via

   ninja  -C _build/ calls-pot
2020-01-14 18:19:21 +01:00
Guido Günther 3db2a8aa5c po: Update pofiles.in
Closes: #76
2020-01-14 18:18:17 +01:00
Guido Günther ad56f9aa85 gitlab-ci: Build package and run autopkgtest / lintian
Use prebuilt pipelines to build debs for arm64 and amd64. Test
the amd64 ones using (potential) autopkgtests and lintian.
2020-01-13 12:19:46 +01:00
Guido Günther a85710869c gitlab-ci: Specify stages
We want proper ordering on the to be added stages
2020-01-13 12:19:46 +01:00
Guido Günther f66e947554 debian: Add superficial autopkgtest
This makes sure we have all the dependencies to start the program.
2020-01-13 12:19:46 +01:00
Guido Günther 5752101582 mm-provider: Clarify warning a bit
We're only looking for modems with voice capabilities. Warning that
there are no modems available at all might be confusing to the person
trying to track down a problem.
2018-10-01 12:05:39 +02:00
Guido Günther 7bc5f0ed90 main: Set program name to APP_ID
This makes sure we end up with the correct xdg app_id in Wayland:

before:

    [943832,359] -> xdg_toplevel@27.set_app_id("calls")

after:

    [1180814,499] -> xdg_toplevel@27.set_app_id("sm.puri.Calls")

Closes #8
2018-08-29 13:32:09 +02:00
Guido Günther e0ef7f6f59 main: Factor out the appliction ID 2018-08-29 13:30:51 +02:00
Guido Günther f21d82101b meson: Bump required version
This avoids

  WARNING: Project targetting '>= 0.40.1' but tried to use feature introduced in '0.42.0': gnome.mkenums_simple

0.42 is fairly old already and 0.40 isn't in a stable Debian release
either.
2018-07-31 13:58:32 +02:00
Guido Günther 153a0d6f9e Test compilation and run unit tests via gitlab-ci 2018-07-27 10:18:10 +02:00
Guido Günther 7f2e32585d meson: use gnome.gdbus_codegen 2018-05-18 17:15:27 +02:00