Jordan Petridis
e42cb49cbe
EpisodeWidget: Hide total_size if request fails
...
This moves the rest of the methods of Progress struct to the downloader
trait and cancels the Progress if the request does nto succed.
Close #90
2018-09-08 20:17:47 +03:00
Jordan Petridis
678b0b9db1
BaseView: Set minimum width to 360
...
While the HomeView and ShowView can't yet scale that low,
the ShowWidget could get to about 270p already which is not
desirable.
This commit sets the minimum width of all the Views to 360p,
which is our mobile target size.
2018-09-08 20:17:47 +03:00
gogo
0476b67b2f
Add Croatian translation
2018-09-06 18:29:14 +00:00
Balázs Meskó
2751a828e0
Add Hungarian translation
2018-09-05 22:09:46 +00:00
Fabio Tomat
60e09c0dd7
Add Friulian translation
2018-09-04 18:18:27 +00:00
Milo Casagrande
a23297e56a
Add Italian translation
2018-09-03 13:42:38 +00:00
Daniel Mustieles
f59be31ded
Update Spanish translation
2018-09-03 06:32:14 +00:00
Anders Jonsson
2e527250de
Add Swedish translation
2018-09-02 23:35:41 +00:00
Piotr Drąg
91dd378f5d
Update Polish translation
2018-09-01 17:49:54 +00:00
Jiri Grönroos
f5b3d033a3
Update Finnish translation
2018-09-01 16:59:07 +00:00
Rafael Fontenelle
db98e3b722
Add Brazilian Portuguese translation
2018-09-01 13:29:55 +00:00
Mario Blättermann
586cf16fdc
Update German translation
2018-08-31 19:05:31 +00:00
Jordan Petridis
064d877205
Appdata: add release notes
2018-08-31 21:00:18 +03:00
Jordan Petridis
fbf8cc87c9
Version bump
2018-08-31 14:14:17 +00:00
Seong-ho Cho
36f169635a
Add Korean translation
2018-08-31 00:56:44 +00:00
Jordan Petridis
3f509f44a1
Update dependancies.
2018-08-30 20:45:53 +03:00
Jordan Petridis
abfe98283b
EpisodeWidget: Allow size labels to elipsize
2018-08-30 20:21:10 +03:00
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
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
Piotr Drąg
2a888f0bce
Update POTFILES.in
2018-08-28 19:44:34 +02: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
Emin Tufan Çetin
a2d8b88337
Update Turkish translation
2018-08-27 08:43:08 +00: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
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
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
Emin Tufan Çetin
547fdef9c4
Update Turkish translation
2018-08-19 14:54:27 +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
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
Tobias Bernard
0dfb48593e
App icon: orange -> red
2018-08-17 12:49:44 +02:00
Mario Blättermann
6b6c390cb8
Add German translation
2018-08-15 17:19:11 +00:00
Jordan Petridis
cd937c4844
utils: Refactor refresh_feed
...
Move channel creation inside the thread.
Drop the Result return type as its not needed anymore.
2018-08-14 15:24:25 +03:00
Jordan Petridis
cc1a5783fd
App: Do not update the db if its empty
...
If the source table is empty skipp the database refresh.
2018-08-14 15:19:31 +03:00
Jordan Petridis
cb122cbc61
ShowWidget: Change description wrap mode
2018-08-14 13:59:42 +03:00
Jordan Petridis
03754c56c6
Fix the test-suite
2018-08-14 13:40:37 +03:00
Jordan Petridis
471f6ff93b
Source: Remove ignore_etags option
...
This is never used anywhere else apart from the testsuite. Instead
of ignoring etags we should instead not save them if the feed does
not return 200 or 304. See #64 .
2018-08-14 13:40:33 +03:00
Jordan Petridis
c53ad56a6d
Remove TODOs and FIXMEs
...
They are either no longer relevant or just forgotten
2018-08-14 13:40:28 +03:00
Jordan Petridis
ae7f65e938
InAppNotif: Switch the timer to milliseconds
...
This allows for more responsive updates. The implementation still
sucks though. Ideally we would pass a receiver in the callback
and have an even lower timeout_add.
2018-08-14 07:58:29 +03:00