Jordan Petridis
|
b172aa7aa3
|
Remove forgotten unwrap().
|
2018-02-08 04:39:51 +02:00 |
|
Jordan Petridis
|
e2a1762af4
|
EpisodeWidget: Use refference counting intead of unnecessary clones.
Pass owenership of EpisodeWidgetQuery and use Atomic Ref counting
to pass to the callbacks. This should avoid extra allocations.
|
2018-02-07 18:40:22 +02:00 |
|
Jordan Petridis
|
1c84f0d721
|
hammond-gtk::manager: Switch the add function to return a Result<(), Error>.
|
2018-02-06 22:03:17 +02:00 |
|
Jordan Petridis
|
0dc16dab9a
|
EpisodeWidget: Refactor to return Result<T, Error> wherever possible.
|
2018-02-06 02:31:53 +02:00 |
|
Jordan Petridis
|
de43cae015
|
Switch rest stuff of data/downloader to Failure Crate.
|
2018-02-04 17:36:27 +02:00 |
|
Jordan Petridis
|
2f062afb07
|
Clippy suggestions
|
2018-01-29 19:09:53 +02:00 |
|
Jordan Petridis
|
a7e3b1b99e
|
GtkApplication: Headbar and Content constructors now return Self instead of Arc<Self>.
|
2018-01-26 19:05:19 +02:00 |
|
Jordan Petridis
|
574cfae5c6
|
rustfmt: enable reorder imports.
|
2018-01-17 08:57:02 +02:00 |
|
Jordan Petridis
|
8e367b7e86
|
Dont ask me how this is working.
|
2018-01-12 08:50:16 +02:00 |
|
Jordan Petridis
|
8a90de3c0e
|
Implement download cancel action. #24
|
2018-01-10 09:43:38 +02:00 |
|
Jordan Petridis
|
955845110b
|
Merge branch 'master' into 33-downloader-re-work
|
2018-01-09 12:06:38 +02:00 |
|
Jordan Petridis
|
0ba5e14d7f
|
EpisodeWidget: Only update if it's visible.
|
2018-01-09 10:10:54 +02:00 |
|
Jordan Petridis
|
ea70addbc6
|
Removed some unwrap()s.
|
2018-01-09 09:21:07 +02:00 |
|
Jordan Petridis
|
87a259e1a4
|
Minor cleanup.
|
2018-01-09 07:21:38 +02:00 |
|
Jordan Petridis
|
68d7c621d3
|
EpisodeWidget: Update the local_size label.
|
2018-01-09 06:15:41 +02:00 |
|
Jordan Petridis
|
c54f29e82a
|
EpisodeWidget: Modulate callbacks.
|
2018-01-09 04:20:38 +02:00 |
|
Jordan Petridis
|
9dafb0ae9e
|
EpisodeWidget: Add local_size label that shows the amount of bytes downloaded.
|
2018-01-09 03:58:13 +02:00 |
|
Jordan Petridis
|
193117f579
|
Downloader: Update the progress index of downloads.
|
2018-01-08 12:29:47 +02:00 |
|
Jordan Petridis
|
eef83fc98c
|
EpisodeWidget: Implement API to update the progress bar.
|
2018-01-08 05:11:37 +02:00 |
|
Jordan Petridis
|
81b1ec810c
|
Apply clippy suggestions.
|
2018-01-07 08:36:02 +02:00 |
|
Jordan Petridis
|
074284d286
|
Move unsub show logic and get_download_folder func to hammond-data::utils.
|
2018-01-07 08:26:38 +02:00 |
|
Jordan Petridis
|
6bd391d89e
|
I hate global mutable state..
|
2018-01-07 05:51:29 +02:00 |
|
Jordan Petridis
|
e961d5f8b0
|
Use lazystatic to cache the current chrono date. This will backfire on every new year's eve.
|
2018-01-06 03:49:26 +02:00 |
|
Jordan Petridis
|
5fed283ff4
|
EpisodeWidget: Hide duration label if its equal to 0.
|
2018-01-06 03:18:28 +02:00 |
|
Jordan Petridis
|
da459707be
|
Wire up the callbacks to the client.
|
2018-01-05 23:57:48 +02:00 |
|
Jordan Petridis
|
13ba2762ad
|
Move the download manager to the gtk crate.
|
2018-01-05 22:02:06 +02:00 |
|
Jordan Petridis
|
e9dd297bf3
|
Merge branch 'master' into 33-downloader-re-work
|
2018-01-05 21:43:41 +02:00 |
|
Jordan Petridis
|
d8d4b08252
|
EpisodeWidget: Trim date label to avoid date/title miss alignment on single digit dates.
|
2018-01-05 18:46:22 +02:00 |
|
Jordan Petridis
|
750abb519b
|
GtkApplication: Change the action channel polling interval.
|
2018-01-04 16:42:17 +02:00 |
|
Jordan Petridis
|
c33b493dcd
|
Migrate Headerbar transitions into Channel actions.
|
2018-01-03 08:02:06 +02:00 |
|
Jordan Petridis
|
33cd6e69ff
|
EpisodeWidget: Migrate to use a Channel Action instead of simple Action.
|
2018-01-03 06:53:19 +02:00 |
|
Jordan Petridis
|
f54ae2f1d5
|
EpisodeWidget: Code cleanup and splitting.
|
2018-01-03 03:02:46 +02:00 |
|
Jordan Petridis
|
c67c6e463e
|
EpisodeWidget: Its still a mess, but a bit cleaner.
|
2018-01-02 08:19:24 +02:00 |
|
Jordan Petridis
|
c61d322569
|
EpisodeWidget: Implement shared download state.
|
2018-01-02 08:00:38 +02:00 |
|
Jordan Petridis
|
37e9b6fbf0
|
'How hard could it be'
|
2018-01-02 07:23:53 +02:00 |
|
Jordan Petridis
|
1d78ab7c42
|
Cargo upgrade.
|
2017-12-28 23:19:36 +02:00 |
|
Jordan Petridis
|
ada73a616f
|
EpisodeWidget: Make cancel button insensitive.
|
2017-12-27 15:13:09 +02:00 |
|
Jordan Petridis
|
0a7825dfff
|
EpisodeWidget: Remove delete button and hide cancel button till refactor.
|
2017-12-26 21:36:18 +02:00 |
|
Jordan Petridis
|
2d6f02c407
|
EpisodeWidget: Do not display size if it's 0 bytes.
|
2017-12-23 15:44:28 +02:00 |
|
Julian Sparber
|
95c290df50
|
[ui] add custom style and [fix] draw List separators with css
|
2017-12-22 21:54:28 +01:00 |
|
Jordan Petridis
|
0129efb02e
|
EpisodeWidget: Display episode's duration. Closes #21.
|
2017-12-22 17:49:15 +02:00 |
|
Jordan Petridis
|
b7e160f735
|
EpisodeWidget: Change date representation based on it's year. Closes #19.
|
2017-12-21 21:50:50 +02:00 |
|
Jordan Petridis
|
4a033e6d89
|
EpisodeWidget: Remove the decimal places in the size label.
|
2017-12-21 21:37:51 +02:00 |
|
Jordan Petridis
|
378b8609aa
|
EpisodeWidget: Change the byte unit based on the size. Closes #18.
|
2017-12-21 21:31:25 +02:00 |
|
Jordan Petridis
|
db59bed69d
|
hammond-data::utils: Modified EpisodeCleaner Diesel model to also be used with played_cleaner.
|
2017-12-20 19:18:20 +02:00 |
|
Jordan Petridis
|
bda09c032a
|
EpisodeWidget: Update the progrress bar only when download clicked.
|
2017-12-20 13:18:29 +02:00 |
|
Jordan Petridis
|
61bd7893c7
|
EpisodeWidget: Remove Podcast depndancy from new() method.
|
2017-12-18 19:10:50 +02:00 |
|
Jordan Petridis
|
32cd24fc7b
|
EpisodesView: Added glade files and initial yak shaving.
|
2017-12-18 18:20:40 +02:00 |
|
Jordan Petridis
|
945600b20d
|
Merge branch 'master' into 'master'
Set dim-label for secondary labels of EpisodeWidget in Glade.
See merge request alatiera/Hammond!7
|
2017-12-17 14:30:10 +00:00 |
|
Constantin Nickel
|
681b91d368
|
Set dim-label for secondary labels of EpisodeWidget in Glade.
|
2017-12-17 13:17:04 +01:00 |
|