Commit Graph

39 Commits

Author SHA1 Message Date
Jordan Petridis
1e45adc034
Added some comments into the downloader module. 2017-11-13 18:48:37 +02:00
Jordan Petridis
4f23c4cd7f
Improved the match of mime-types to file-extensions. 2017-11-13 13:02:50 +02:00
Jordan Petridis
23fb297200
Downloads now use temp folders. 2017-11-11 17:13:08 +02:00
Jordan Petridis
f2476cde65
Refactored empty view logic. 2017-11-10 16:15:53 +02:00
Jordan Petridis
acd2f1411e
Cover image caching fix. 2017-11-10 13:30:06 +02:00
Jordan Petridis
1fbacad8b9
Updated rayon. 2017-11-10 11:42:11 +02:00
Jordan Petridis
d3beb30f00
Closed #5. Proper guessing of the file extension from the mime-type. 2017-11-10 11:35:58 +02:00
Jordan Petridis
ba97dbf5df
Not sure if this makes #5 better or worse. 2017-11-09 20:50:26 +02:00
Jordan Petridis
07c1395c29
Cleanup of downloader module. 2017-11-09 17:47:38 +02:00
Jordan Petridis
3660fe0350
Typo fix. 2017-11-08 21:04:11 +02:00
Jordan Petridis
8c5cdf75a7
Cleaned up a bit the downloader moduel and added some unit tests. 2017-11-08 20:22:07 +02:00
Jordan Petridis
4e6ed416ee
Disabled http refers. 2017-11-07 10:28:04 +02:00
Jordan Petridis
674b233805
Wired and implemented the functionality for episde delete button. 2017-10-26 14:00:33 +03:00
Jordan Petridis
8a313c145b
Made a type allias for Arc<Mutex<SqliteConnection>. 2017-10-23 12:29:04 +03:00
Jordan Petridis
9beea21a4f
Code cleanup.
Converted rest of .clone() s on ref pointer to use the macro instead.
Stopped ignoring clippy clone_on_ref_pointer warnings since there shouldn't
be any, anymore.
2017-10-23 07:37:07 +03:00
Jordan Petridis
02cce8b915
I hate Arcs and Rcs. 2017-10-22 05:15:41 +03:00
Jordan Petridis
6ffacaa6d8
Final2, I swear, when dealing with Arc/rc always use references. 2017-10-22 04:51:34 +03:00
Jordan Petridis
51f52c3408
Async update of the download and play buttons upon download finished. 2017-10-22 01:02:48 +03:00
Jordan Petridis
24d088ffc3
Minor readability imprvments. 2017-10-21 18:56:18 +03:00
Jordan Petridis
90c637ed53
Cleaned up unnecessary clone() calls. 2017-10-21 09:08:03 +03:00
Jordan Petridis
64cd388aeb
Messy fix unti we got url sanitization.
Fixed a bug where program would panic if the Get Request
to where the feed image is would fail.
2017-10-21 08:12:28 +03:00
Jordan Petridis
86019710a1
Episode widgets update upon download. 2017-10-21 08:05:00 +03:00
Jordan Petridis
74715292b3
Updated reqwest depencancy. 2017-10-20 05:10:14 +03:00
Jordan Petridis
eccbbf0fc1
Refactor to use Arc's and a mutex instead of plain Rc<&Sqlcon>. 2017-10-18 04:14:09 +03:00
Jordan Petridis
5d01b735d6
Incoplete dl_button wiring. 2017-10-18 03:36:07 +03:00
Jordan Petridis
c98c7d00df
Mapped home button to switch the stack to the grid containing the flowbox. 2017-10-16 01:46:12 +03:00
Jordan Petridis
910896cc08
Fixed minor bug where a double '/' would be inserted into the path. 2017-10-14 20:46:08 +03:00
Jordan Petridis
2955579f6d
Split flowbox child into its own glade file, and wrapped them into event box. 2017-10-14 17:27:31 +03:00
Jordan Petridis
460345f49a
Use TreeStore to feed the flowbox view. 2017-10-13 13:41:36 +03:00
Jordan Petridis
9df1e65951
Prototype image cache. 2017-10-13 10:21:06 +03:00
Jordan Petridis
fc3c8588a3
Factoring out some part of the downloader. 2017-10-13 04:24:08 +03:00
Jordan Petridis
e39a89d63d
Replaced some map/fold with for_each now that it hit stable! 2017-10-13 02:49:14 +03:00
Jordan Petridis
b176f334c3
Rustfmt changes. 2017-10-13 02:33:37 +03:00
Jordan Petridis
23753708c6
Build time speedup. 2017-10-11 18:34:30 +03:00
Jordan Petridis
1c508798c9
Updated dependancies. 2017-10-10 16:19:07 +03:00
Jordan Petridis
3fe3776b32
In clippy we trust! 2017-10-10 16:01:01 +03:00
Jordan Petridis
f1d3cd5e25
Applied some clippy suggestions. 2017-10-09 16:49:00 +03:00
Jordan Petridis
8d17976b8a
Dependancy cleanup. 2017-10-05 16:03:51 +03:00
Jordan Petridis
93027e5530
Final crate restructure I hope. 2017-10-05 15:02:19 +03:00