Commit Graph
1714 Commits
Author SHA1 Message Date
Jordan Petridis b2b0b0f2c8 update dependencies 2019-05-10 15:57:55 +02:00
Jordan Petridis 42e73cb7e9 use mpris-player from crates.io 2019-05-10 15:56:28 +02:00
Jordan Petridis 89c3733ce8 Merge branch 'fix-#114' into 'master'
utils: use generic image when a show has no cover

See merge request World/podcasts!103
2019-05-10 13:40:59 +00:00
ZephOne 4be473dcea utils: use generic image when a show has no cover
When an episode from a show that has a cover is played. Switching to an
episode of a show that has no cover does not load the generic image in the
player. utils::set_image_from_path implementation does not deal with
DownloadError::NoImageLocation

utils::set_image_from_path deals with DownloadError::NoImageLocation,
this generic is set in this case.

https://gitlab.gnome.org/World/podcasts/issues/114
2019-05-10 14:01:47 +01:00
Jordan Petridis 97bdc32cce Merge branch 'master' into 'master'
Update CONTRIBUTING.md

See merge request World/podcasts!99
2019-04-07 15:55:20 +00:00
Julian Hofer d2da46854e Update CONTRIBUTING.md 2019-04-07 13:17:39 +02:00
Jordan Petridis 150d3622e4 Merge branch 'patch-1' into 'master'
Fix  small errors in CONTRIBUTING.md

See merge request World/podcasts!98
2019-04-06 21:23:05 +00:00
Julian Hofer 990ab29200 Update CONTRIBUTING.md 2019-04-06 20:55:16 +00:00
Jordan Petridis 80d3bc84b8 cargo fmt 2019-04-06 23:54:17 +03:00
Jordan Petridis b31c79431e Fix the tests for Rust 2018 for real this time 2019-04-06 22:58:03 +03:00
Jordan Petridis 73587ff47b Fix tests for Rust2018 2019-04-06 22:22:03 +03:00
Jordan Petridis 53e9db2f42 scripts/test.sh: export the rust binaries iniside flatpak environments
This allows the script to be able to be run directly from GNOME Builder's
build terminals.
2019-04-06 22:22:02 +03:00
Jordan Petridis b290441956 scripts/cargo: fix debug build check 2019-04-06 21:33:42 +03:00
Jordan Petridis 9d0d20afbd update deps 2019-03-30 18:13:39 +02:00
Jordan Petridis 4a7d3d5fc2 Use 2018 edition for the crates 2019-03-30 17:49:29 +02:00
Jordan Petridis 32ecb05902 don't export private macro 2019-03-30 17:08:28 +02:00
Jordan Petridis 644ca7d0d0 widgets/episode: replace deprecated method 2019-03-30 16:59:15 +02:00
Jordan Petridis 7dc1b25ee7 don't error on warnings
Nice and all when you keep up with development,
but can cause random errors by the addition of new
errors to the compiler.
2019-03-30 16:34:55 +02:00
Goran Vidović 3f28b9abc4 Update Croatian translation 2019-03-27 15:20:05 +00:00
Jordan Petridis cf36d91da4 Merge branch 'patch-1' into 'master'
Fix typo in README.md

See merge request World/podcasts!97
2019-03-25 09:23:30 +00:00
Torkel Rogstad 8c1465d3a2 Fix typo in README.md 2019-03-25 08:52:22 +00:00
Jordan Petridis bed7a4d6be CI: fix the app_id that I forgot in the last commit 2019-03-20 23:54:40 +02:00
Jordan Petridis 23a91cca16 CI: fix the flatpak manifest path 2019-03-20 23:23:00 +02:00
Jordan Petridis 82c99e2cfa meson: remove outdated fixme 2019-03-20 23:17:34 +02:00
Jordan Petridis 7d745179d4 app: Use a dot to separate the .Devel suffix in the app-id 2019-03-20 23:15:20 +02:00
Jordan Petridis 78283e51f6 app: remove .present() workaround
This should no longer be needed now.
https://gitlab.gnome.org/GNOME/gtk/issues/1754
2019-03-20 23:06:44 +02:00
Jordan Petridis 5a9ff8e331 Merge branch 'piotrdrag/update-potfiles-190307' into 'master'
Update POTFILES.in

See merge request World/podcasts!95
2019-03-16 12:42:21 +00:00
Piotr Drąg 814ddaa532 Update POTFILES.in 2019-03-16 12:29:47 +00:00
Bruce Cowan b927b5fac2 Add British English translation 2019-03-16 11:47:15 +00:00
Anders Jonsson e9cf140177 Update Swedish translation 2019-03-13 22:01:05 +00:00
Jordan Petridis 9ee9de7911 Flatpak: use ☢ emoji instead of the Nightly prefix 2019-03-10 21:07:29 +02:00
Nathan Follens 53844aa0ff Add Dutch translation 2019-03-10 12:54:18 +00:00
Jordan Petridis f527f743fc build: Require libhandy 0.0.9
Else libhandy breaks tranlations
2019-03-10 13:18:36 +01:00
Rafael Fontenelle 5801736955 Update Brazilian Portuguese translation 2019-03-10 01:32:30 +00:00
Tim Sabsch 11afc4c37d Update German translation 2019-03-09 18:58:46 +00:00
Jordan Petridis 5f1427cabd Merge branch 'wip/christopherdavis/tighten-meson-integration' into 'master'
build: Tighten integration between cargo and meson

Closes #55

See merge request World/podcasts!94
2019-03-07 05:16:03 +00:00
Jordan Petridis 27008e0f18 Flatpak: add builddir: true to the manifests
GNOME Builder carries a reimplementation of flatpak-builder.
flatpak-builder assumes that builddir is true for meson, but
Builder does not since it also supports out-of-tre builds.

This helps indicated to Builder that builddir can indeed be used.
2019-03-07 07:04:24 +02:00
Christopher Davis 8898fd6e2f build: use build_by_default in cargo-build target
build_always_stale is deprecated and build_by_default can be
used now that we don't have build.rs.

Requires that we list our sources.
2019-03-07 07:04:24 +02:00
Christopher Davis 96d4cd50d4 CI: create blank versions of configured files before lint
Required now that we have dynamically generated
sources.
2019-03-07 07:04:24 +02:00
Christopher Davis 7a77f31aa3 build: Place target in meson build dir
Instead of putting target/ and target_test/ in the source
directory, we can tell our cargo script to put both target
and our cargo-home in meson's build directory.

In addition, makes tests and builds use the same target
directory, significantly reducing the time it takes to run tests.
2019-03-07 07:04:23 +02:00
Christopher Davis 78f29e726e build: use add_dist_script for vendoring
Our workaround for getting meson and cargo working together
included a separate 'release' target that replaced
'ninja dist' so that we could vendor dependencies.

Now we use meson's add_dist_script to vendor the
dependencies as part of 'ninja dist', so we no longer need
the 'release' target.
2019-03-07 07:04:23 +02:00
Christopher Davis 92e2006782 build: hook up tests with meson
Adds our cargo test to meson's testing system so that
`ninja test` runs it in addition to our resource validation tests.
2019-03-07 07:04:23 +02:00
Christopher Davis 5b2edc73ec build: Build resources with meson instead of build.rs
Allows us to get rid of build.rs, which was only used to
compile resources. static_resource.rs is now created by
meson, and the meson path is used for include_bytes!.

Closes https://gitlab.gnome.org/World/podcasts/issues/55
2019-03-07 04:35:31 +00:00
Christopher Davis 395e31ff85 build: Use config.rs instead of env! macro
Previously we were using the env! macro to determine
build-time variables like version, app ID, and locale dir.
Instead of relying on env vars, we can create a configuration
file with meson and import it.
2019-03-07 04:35:31 +00:00
Sabri Ünal dd0d828794 Update Turkish translation 2019-03-06 10:46:39 +00:00
Jordan Petridis 15bb1a2335 Merge branch 'escape-opml-export' into 'master'
p-data: Escape titles in OPML exports

See merge request World/podcasts!93
2019-03-04 04:26:38 +00:00
Christopher Davis 0a7b7880da opml: escape characters when exporting
OPML is XML after all and parsers yell at us when we don't
escape &amps.
2019-03-04 05:54:01 +02:00
Jordan Petridis 277f324cf0 cargo fmt 2019-03-03 17:47:11 +02:00
Jordan Petridis e496d5bf36 cargo: build debug symbols for release builds as well 2019-03-03 17:46:33 +02:00
Jordan Petridis 0ed6c8979e Upgrade crossbeam-channel 2019-03-03 17:45:43 +02:00