Commit Graph

153 Commits

Author SHA1 Message Date
Jordan Petridis
c140e5a163
downloader: remove unused dependency on error-chain 2020-06-21 18:12:23 +03:00
Jordan Petridis
d9792e99c1
Revert 096197cf81
It breaks the testsuite 'sometime' which is fairly annoying.
The whole testuite setup is crap though and likely needs to be
fixed first.

Will re-revert the changes once a new stable release of the app
is done.
2020-06-21 17:03:36 +03:00
Jordan Petridis
59e1c7d6f4
cargo update deps 2020-06-19 12:05:03 +03:00
Julian Hofer
429356a217 Use tokio main-macro 2020-03-18 01:09:11 +00:00
Julian Hofer
636e2aefde Add tokio features and remove lazy keyword 2020-03-18 01:09:11 +00:00
Julian Hofer
933ba62f39 Upgrade to Futures 0.3 2020-03-18 01:09:11 +00:00
Jordan Petridis
f319851753
Upgrade gtk-rs stack 2020-02-07 20:48:04 +02:00
Jordan Petridis
ce424977c0 cargo update 2020-02-07 18:20:19 +00:00
James Westman
8081990895 Improve show description UI
Instead of being a scroll window inside a scroll window, the show
description now shows just the first paragraph by default, then displays
a "Read More" button if there is more to the description. Clicking the
button reveals the rest.

Currently, to keep the button from glitching when updating it from the
size-allocate signal, a GtkRevealer with a transition-duration of
1 millisecond is used. It's a hacky workaround but I'm not quite sure
how to do it better.

Fixes #81
2019-12-08 19:26:25 +00:00
Jordan Petridis
95055dea1d
update cargo deps 2019-10-23 19:22:48 +03:00
Jordan Petridis
073d00b45b
Update cargo deps 2019-10-20 20:21:32 +03:00
Jordan Petridis
1192642811
update cargo deps 2019-09-13 02:55:10 +03:00
Jordan Petridis
d8090a8172
Upgrade some cargo deps 2019-09-02 23:55:56 +03:00
Zander Brown
c8a194cf32
Use gtk-rs 0.7.0 2019-09-02 23:55:56 +03:00
Christopher Davis
a77c0e5f32 build: Update Cargo.lock
Fixes https://gitlab.gnome.org/World/podcasts/issues/147
2019-08-04 04:04:15 -07:00
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
9d0d20afbd
update deps 2019-03-30 18:13:39 +02:00
Jordan Petridis
0ed6c8979e Upgrade crossbeam-channel 2019-03-03 17:45:43 +02:00
Jordan Petridis
54e049874c html2text: Use upstream git repo 2019-03-03 04:54:42 +02:00
Jordan Petridis
c4c6ba9ea4
Update dependencies 2019-03-03 04:46:19 +02:00
Jordan Petridis
a77bf0b8fb
Update gtk-rs family of crates 2019-03-03 04:46:19 +02:00
Jordan Petridis
b1e8663ba9
cargo update 2019-01-21 03:13:51 +02:00
Jordan Petridis
2cb6bf2b98
p-gtk: Update the libhandy bindings 2019-01-21 03:13:51 +02:00
Jordan Petridis
fdb064ffc8
Update dependancies 2018-11-29 11:57:27 +02:00
Jordan Petridis
0888da2197 Upgrade dependencies 2018-11-18 12:59:02 +00:00
Jordan Petridis
2d231ad989 Update dependancies 2018-11-18 12:59:01 +00:00
Jordan Petridis
40186ce155
Update dependancies 2018-10-06 11:29:52 +03:00
Felix Häcker
fed0edbf16 Player: use crates.io package of mpris 2018-10-04 02:19:56 +00:00
Felix Häcker
d066e8939d Player: implement mpris play/pause callbacks 2018-10-04 02:19:56 +00:00
Felix Häcker
e4c3435d34 Player: add basic mpris support 2018-10-04 02:19:56 +00:00
Jordan Petridis
a2b6d622de
Update dependancies 2018-09-29 13:58:45 +03:00
Jordan Petridis
0887789f5e
Pipeline: Complete the move to Tokio Runtime 2018-09-29 13:35:45 +03:00
Jordan Petridis
8d44649a1e
Update dependancies 2018-09-29 09:54:06 +03:00
Jordan Petridis
f4d0c51dc2
podcasts-downloader: Upgrade reqwests to 0.9 2018-09-29 09:54:06 +03:00
Jordan Petridis
ba60db9977
podcasts-gtk: Upgrade reqwests to 0.9 2018-09-29 09:54:06 +03:00
Jordan Petridis
0a5a7a684d
podcasts-downloader: Remove direct dependancy on hyper 2018-09-29 09:54:06 +03:00
Christopher Davis
7181c46ed5
podcasts-data: Upgrade hyper to 12.X
This also allows us to bump hyper_tls and native_tls, bringing
support for openssl 1.1.
2018-09-29 09:54:06 +03:00
Jordan Petridis
208f0c248d
Update rest of the dependancies 2018-09-13 15:47:40 +03:00
Jordan Petridis
c0e034726a
Upgrade gtk-rs and friends
Upgrade gtk-rs, and everything dependings on it like gst-rs and
libhandy bindigns
2018-09-13 15:47:40 +03:00
Jordan Petridis
2e4a9eaaeb
Update dependancies 2018-09-08 21:41:39 +03:00
Jordan Petridis
dac303e33b
Pipeline: Use a custom tokio threadpool
This reverts commit e64883eecb
and 40dd2d6923

Seems like core.run() returns once its done even if there
are still tasks in the Runtime underneath. A way to solve that
would be to call the shutdown_on_idle method.

We need ownership of the threadpool in order to invoke
`shutdown_on_idle` method but core.runtime only returns a
referrence so we need to create our own threadpool.
2018-09-08 20:17:46 +03:00
Jordan Petridis
a991d9f512
DataError: Remove unused error variant
This was added due to Threadpool::spawn returning errors, but its
no longer used.
2018-09-08 20:17:46 +03:00
Jordan Petridis
674b3b54dc
Pipeline: reuse the prexisting runtime executor
Instead of creating our own threadpool, we should reuse the executor
of the tokio::runtime::Runtime that backs the tokio::reactor::Core.
2018-09-08 20:17:46 +03:00
Jordan Petridis
0b8a0695f7
Pipeline: Use tokio threadpool to index feeds 2018-09-08 20:17:46 +03:00
Jordan Petridis
a7c95d5718
Pipeline: Remove dependancy on rayon_futures
This requires a RUSTFLAG to be set before hand for rayon to build.
This brakes a lot of tools like rls and clippy by default and
require special configs for itnegration.

Additionally, rayon_futures is still 0.1 and not much work seem
to have gone into it. Ideally it should be replased with the tokio
runtime/threadpool.
2018-09-08 20:17:46 +03:00
Jordan Petridis
3f509f44a1
Update dependancies. 2018-08-30 20:45:53 +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
ac75205933
ShowWidget: Initial prototype w/ libhandy::Column 2018-08-10 13:47:59 +03:00