Kukuh Syafaat
ded0224f51
Add Indonesian translation
2018-08-30 10:43:20 +00:00
Fran Dieguez
0060a634d2
Add Galician translation
2018-08-30 08:45:45 +00:00
Jordan Petridis
d34005e04f
Merge branch 'chng-readme' into 'master'
...
README.md: Change instructions for translators
See merge request World/podcasts!68
2018-08-29 08:43:48 +00:00
Rafael Fontenelle
c734bd48b5
README.md: Change instructions for translators
...
Change translation instructions to steer the translator to the translation platform D-L, to follow the proper workflow of the language teams.
2018-08-29 07:29:38 +00:00
Jordan Petridis
174c814541
Merge branch 'alatiera/cover_load_perf' into 'master'
...
Cover loading performance improvments
See merge request World/podcasts!67
2018-08-29 07:29:17 +00:00
Jordan Petridis
993b6e9d0a
Utils: only queue a single cover download
...
Before we were inserting the id of the cover into the registry
from a rayon thread. But rayon will only execute N threads at the
same time and let the rest into a queue. This would casue mutliple
jobs being queued since the cover id was not inserted in the
registry until the downloading had started.
This fixes said behavior by having the main thread block and write
in the id in the registry.
2018-08-28 21:15:52 +00:00
Jordan Petridis
273c9f7b99
Utils: Change the priority of the cover caches
...
Since loadign a pixbuf from the pre-rendered cache is the most
common operation and it does not affect the behavior we can
first check that and then if the cover is midway downloading.
This avoids a mutex lock for the most common path.
2018-08-28 21:15:52 +00:00
Jordan Petridis
822deb2867
Utils: do not block the cover_dl registry
...
Accidently after f21398357b when a download would start,
it would lock the cover_dl_registry hashmap till it had finished.
Since the registry.read() happens on the main thread this would
cause the UI to block until the download was and the mutex guard
from the download thread dropped.
2018-08-28 21:15:52 +00:00
Merge Bot
132e2afce0
Merge branch 'wip/piotrdrag/update-potfiles-180828' into 'master'
...
Update POTFILES.in
See merge request World/podcasts!66
2018-08-28 20:54:09 +00:00
Piotr Drąg
2a888f0bce
Update POTFILES.in
2018-08-28 19:44:34 +02:00
Jordan Petridis
f8202a7add
Merge branch 'alatiera/meson-stuff' into 'master'
...
Parallel installation and meson cleanups
See merge request World/podcasts!64
2018-08-28 16:13:31 +00:00
Jordan Petridis
87e8d0b775
Fix the test-suite
2018-08-28 17:50:57 +03:00
Jordan Petridis
569c00ff5f
Allow for parallel development instance
...
This adds a configuration option in meson, if set it changes the
application ID allowing for stable and development version to be
run at the same time.
2018-08-28 17:22:13 +03:00
Jordan Petridis
15457e1db4
App/Build: Use env! macro to fetch the variable
...
env! is resolved at compile time which means we don't need to read
and set LOCALDI from build.rs
2018-08-28 17:22:13 +03:00
Jordan Petridis
0ae1eb9578
build: Translate desktop and appdata files
2018-08-28 17:22:13 +03:00
Jordan Petridis
aa1d0161d3
cargo fmt
2018-08-27 21:08:29 +03:00
Emin Tufan Çetin
a2d8b88337
Update Turkish translation
2018-08-27 08:43:08 +00:00
Jordan Petridis
a1b4306954
Merge remote-tracking branch 'zander/master'
...
See !65 for more.
2018-08-27 10:53:07 +03:00
Zander Brown
88e07031a6
Workaround for FileChooserNative oddness
2018-08-27 07:52:09 +00:00
Piotr Drąg
cb4daa1ba1
Update Polish translation
2018-08-26 16:31:44 +00:00
Jordan Petridis
46cfa79e89
Update .gitignore
2018-08-26 12:39:26 +03:00
Jordan Petridis
a480f47cea
cargo fmt
2018-08-26 12:38:36 +03:00
Jordan Petridis
4ef789e7b9
Meson: Fix build_always deprication warning
...
build_always has been replaced by build_always_stale and
build_by_default is assumed now.
https://mesonbuild.com/Reference-manual.html#custom_target
2018-08-26 12:38:36 +03:00
Mario Blättermann
05d6d8399d
Update German translation
2018-08-25 21:27:45 +00:00
Jordan Petridis
8bc81d6b5e
Update pot files
2018-08-22 08:29:30 +03:00
Jordan Petridis
6c5cb8f07d
AboutDialog: Translate website label
2018-08-22 08:29:12 +03:00
Jordan Petridis
70e79e50d6
Change the website to point to the wiki page
...
Thanks a lot to @svito for creating the page!
2018-08-21 20:11:38 +03:00
Jordan Petridis
d2c6c6cc4d
Update pot files
2018-08-20 14:09:34 +03:00
Jordan Petridis
ba5e22bd21
README: Add flathub banner
2018-08-20 13:55:15 +03:00
Jordan Petridis
9d0bfdea44
README: Update build instructions
2018-08-20 13:41:19 +03:00
Jordan Petridis
92ae681517
Add gtk tests
...
Currently we only test the GtkBuilder files.
Also I can't find a way to get gtk to uninitialize and reinitialize
in a different thread.
Close #56
2018-08-20 13:14:41 +03:00
Jordan Petridis
3afa8c4441
Flatpak: avoid the git redirect
2018-08-20 05:27:31 +03:00
Emin Tufan Çetin
547fdef9c4
Update Turkish translation
2018-08-19 14:54:27 +00:00
Merge Bot
152c250300
Merge branch 'alatiera/content_states' into 'master'
...
content states
Closes #71
See merge request World/podcasts!63
2018-08-19 11:56:06 +00:00
Jordan Petridis
04161284a7
Headerbar: Make the switcher insensitive if empty
...
If there are no shows/episodes to display, there isn't any point
to being able to hit the switcher.
2018-08-19 14:31:27 +03:00
Jordan Petridis
14d4818867
App: Disable refresh action while in empty state
...
Close #71
2018-08-19 14:25:41 +03:00
Jordan Petridis
9f42e91088
Refactor content state with Application actions
...
Instead of each view/widget determening if its populated on its own,
make add Application Actions and apply the state globally.
2018-08-19 13:44:11 +03:00
Jordan Petridis
79ac3b9700
Update dependancies
2018-08-18 18:33:26 +03:00
Jordan Petridis
7a3178896b
Remove criterion
...
Haven't been able to use it effectivly with futures. Maybe will
revisit it again at a later time. For now it just adds extra
build time.
2018-08-18 18:02:28 +03:00
Jordan Petridis
ee95512321
Update .gitignore
2018-08-18 17:37:06 +03:00
Jordan Petridis
55519b1855
scripts/test.sh: avoid conlfict with vanila cargo
...
I am not sure why, but cargo does not like it if flatpak-builder
and gnome Builder try to use the same target/ directory, even
though the environment should be almost identical.
The only difference is that Builder uses flatpak build instead of
flatpak-builder as far as I can see.
2018-08-18 17:34:49 +03:00
Jordan Petridis
89b99614a0
Refactor the tests to use ? operator
...
As of ructc 1.27 #[test] can return errors. This improves a great
deal the ergonomics.
2018-08-18 17:02:31 +03:00
Jordan Petridis
7bbd9a1a4f
Update the test script
2018-08-18 16:25:43 +03:00
Tobias Bernard
0dfb48593e
App icon: orange -> red
2018-08-17 12:49:44 +02:00
Jordan Petridis
3abe0803d6
Source: Remove reduntant save() call
...
Source::clear_etags does a save already, so it's not needed to call
it twice.
2018-08-17 09:57:49 +03:00
Merge Bot
1e0a919dc7
Merge branch 'alatiera/source-redirects-85' into 'master'
...
Source: Improve http redirections handling
Closes #85
See merge request World/podcasts!62
2018-08-17 04:33:12 +00:00
Jordan Petridis
489e8aa4b3
Source: Improve http redirections handling
...
We should follow all redirects, and update the Source uri for
301, 302 and 308 codes.
Closes #85
2018-08-17 07:09:12 +03:00
Merge Bot
5058f2f8d8
Merge branch 'alatiera/source-etags-71' into 'master'
...
Source: Only save Etag headers upon succesful requests
Closes #64
See merge request World/podcasts!61
2018-08-17 02:56:04 +00:00
Jordan Petridis
49aff9f22e
Source: Only save Etag headers upon succesful requests
...
Additionally clear the Etags if the returned code is not 200 or 304.
Just to be extra safe. This is not as clean as it should, as this is
a temporary workaround until the API is reworked.
Related to #64
2018-08-17 05:36:34 +03:00
Jordan Petridis
775d4accf7
Flatpak: switch to master branch of the runtime
2018-08-16 08:30:46 +03:00