Commit Graph
542 Commits
Author SHA1 Message Date
Jordan Petridis 893218346d unwrap handling. 2017-10-31 13:08:53 +02:00
Jordan Petridis 401c13eee7 Refactored podcast_widget constructor. 2017-10-31 12:25:15 +02:00
Jordan Petridis faf4a4bce0 Renamed watched field in the episode table of the database to played. 2017-10-30 14:13:36 +02:00
Jordan Petridis 25344aa613 Applied clippy suggestions. 2017-10-30 13:15:44 +02:00
Jordan Petridis ac80ab04d4 Added the ability to mark episodes of a Podcast as watched/played. 2017-10-30 13:02:35 +02:00
Jordan Petridis 9c032a7f17 On download completion also show the delete button for the episode widget. 2017-10-28 09:08:18 +03:00
Jordan Petridis 1cdae2b8b0 Temporary exposed download cleaner into the gui. 2017-10-28 08:51:59 +03:00
Jordan Petridis eb8fdb2edb Implemented a downloaded/watched cleaner. 2017-10-28 06:57:32 +03:00
Jordan Petridis e6ceb86201 Completed functionality of the delete buttons. 2017-10-27 04:31:39 +03:00
Jordan Petridis 0137e1e49b Implemented Partial feed deletion.
Cleans up the db but it leaves behind the downloaded content atm.
2017-10-26 15:02:44 +03:00
Jordan Petridis 674b233805 Wired and implemented the functionality for episde delete button. 2017-10-26 14:00:33 +03:00
Jordan Petridis 7989555a87 Added Delete buttons for podcast and episodes in the ui. 2017-10-26 10:06:51 +03:00
Jordan Petridis c9b22ea6e2 Improved Readme. 2017-10-24 07:34:18 +03:00
Jordan Petridis 9655ad6084 Removed Searchbutton from the Headerbar.
Removed until there is a working search implementation,
I am not intrested in working on one yet.
2017-10-24 00:45:15 +03:00
Jordan Petridis e2a06fc074 Removed ListStore entirely. 2017-10-24 00:25:48 +03:00
Jordan Petridis 8a313c145b Made a type allias for Arc<Mutex<SqliteConnection>. 2017-10-23 12:29:04 +03:00
Jordan Petridis 0e5d976514 Database optimizations. 2017-10-23 10:47:54 +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 539a5eae2f Implemented the recommended clone macro from gtk-rs docs. 2017-10-23 07:09:23 +03:00
Jordan Petridis 91c6a98e1e Better declaration of icon to be used in the glade *.ui files. 2017-10-23 04:45:55 +03:00
Jordan Petridis b2a8091f05 Fixed Another play button fuckup. 2017-10-23 04:44:46 +03:00
Jordan Petridis f9c5ff5e8c Ui minor polish. 2017-10-23 04:00:32 +03:00
Jordan Petridis 51c1391d7d Fixed a play button bug.
The local_uri value for the play button was assigned at parent widget evaluation,
instead when being clicked, and so when downloading something it would not be able
to open the file without reloading the parent widget and refreshing the value.
2017-10-23 00:27:16 +03:00
Jordan Petridis 14484f6128 Removed hammond-cli crate, as it not longer needed. 2017-10-22 09:12:12 +03:00
Jordan Petridis 6accae0fbe Cleaned up Gtk::Application a bit. 2017-10-22 07:45:29 +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 cbe50c9163 OK OK, neat trick, clone on &A/RC<T> gives back A/RC<T>. 2017-10-22 04:32:03 +03:00
Jordan Petridis 41a836dd7b Factor out add_button method of headerbar. 2017-10-22 04:25:07 +03:00
Jordan Petridis 716806e0e9 Trying out storeless designt. 2017-10-22 04:09:44 +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 28a10ac462 Async update refinements, Stack transition refinements. 2017-10-21 23:27:53 +03:00
Jordan Petridis 2077215491 Changed arguments Arc<T> to bepassed by value, clone on arc just copies the refference anyway. 2017-10-21 22:53:04 +03:00
Jordan Petridis 7b0a8f0e25 Added a probably terrible way to update podcast_view async. 2017-10-21 22:34:20 +03:00
Jordan Petridis f58ad6bd8c applied some clippy suggestions. 2017-10-21 21:24:19 +03:00
Jordan Petridis 5f3d2d5bdd Minor readability imprvments. 2017-10-21 21:21:06 +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 86019710a1 Episode widgets update upon download. 2017-10-21 08:05:00 +03:00
Jordan Petridis 5fb783c0c0 Favor explicit refference cloning, as suggested by clippy. 2017-10-21 05:35:54 +03:00
Jordan Petridis 048d4800da Improved of hanling of some Result types in hammond-data crate. 2017-10-21 04:58:15 +03:00
Jordan Petridis a6f03ff27c Added empty view. 2017-10-21 01:06:55 +03:00
Jordan Petridis 486e0ff5e4 Now Upon feed addition only that feed is indexed/updated. 2017-10-21 00:12:24 +03:00
Jordan Petridis 753cdae08f Minor podcast_view tweak. 2017-10-20 22:56:05 +03:00
Jordan Petridis 63af61d9f6 Update podcast view after db refresh. 2017-10-20 20:09:36 +03:00
Jordan Petridis b6fd0ed7ce renamed gtk/podcasts_grid.ui to gtk/podcasts_view.ui 2017-10-20 04:58:45 +03:00
Jordan Petridis ff31ad668f Overall impromvment into episode_widget.
Parse html into plain text for the episode widget.
Implement on per episode/child description evaluation.
Minor episode_widget tweaks.
2017-10-20 04:51:02 +03:00
Jordan Petridis 31d986880b Fixed bug where it would panic on startup if there was an epty liststroe. 2017-10-20 01:22:38 +03:00
Jordan Petridis 590e99b7e8 Small refinements, handling of unwraps, addin of TODOs and other Notes. 2017-10-19 17:22:17 +03:00
Jordan Petridis 70d1f44147 podcasts_view further refactoring. 2017-10-18 22:24:05 +03:00