Commit Graph
50 Commits
Author SHA1 Message Date
Jordan Petridis 9bc6df2cba Made Disel NewModels private. 2017-11-22 05:50:25 +02:00
Jordan Petridis 5ad52fa4b2 Refactored to remove from Database refferences. 2017-11-19 23:32:37 +02:00
Jordan Petridis 494761beaf Removed id function from diesel models.
It's automaticly declared upon derive identifiable,
And there's no need to overwrite it.
2017-11-18 15:23:40 +02:00
Jordan Petridis 1ec4370c7b Moved Database type-alias into hammond-data/src/lib.rs. 2017-11-17 21:37:55 +02:00
Jordan Petridis 8b4701f1a1 Renamed Gresource path in order to be less confusing. 2017-11-15 14:55:26 +02:00
Jordan Petridis f2476cde65 Refactored empty view logic. 2017-11-10 16:15:53 +02:00
Jordan Petridis 07c1395c29 Cleanup of downloader module. 2017-11-09 17:47:38 +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 8d17d30c82 Completed #6, switch to gresource instead of include_str! macro. 2017-11-06 17:17:55 +02:00
Jordan Petridis 944156d6fe #6 Switched to using the safe api for GResource. 2017-11-06 14:56:59 +02:00
Jordan Petridis 79d9f62da5 Draft of implementation using gresources safe api. 2017-11-06 14:35:50 +02:00
Jordan Petridis 60a3b39339 Initial implementation of #6 Gresource support. 2017-11-06 12:19:10 +02:00
Jordan Petridis 7b5bca2162 Partial cleanup of dbqueries. 2017-11-05 14:56:24 +02:00
Jordan Petridis 27c73e3d30 Flowbox polish. 2017-11-05 11:36:41 +02:00
Jordan Petridis 0e2d8ffd37 Removed the grid from the podcasts_view. 2017-11-05 10:59:56 +02:00
Jordan Petridis ed0bbfe1ba Flobox bug fix, connect_child_activated was connected only on the initial flowobx. 2017-11-04 21:40:22 +02:00
Jordan Petridis e2d1466073 Changed the transition type of the stack. 2017-11-04 18:46:43 +02:00
Jordan Petridis b0369974da Restructe of podcast_widget and podcasts_view modules. 2017-11-04 18:40:54 +02:00
Jordan Petridis a31dc069de Fixed #1. Though it's an ugly hack for now. 2017-11-04 17:57:50 +02:00
Jordan Petridis 7e8f39119d Moved banner.png from assets into hammond-gtk/gtk 2017-11-04 11:28:10 +02:00
Jordan Petridis 72ac709cda Removed the multiple declarations of the clone macro. 2017-11-03 17:42:48 +02:00
Jordan Petridis 422e3fc638 Crappy and ugly prototype of an episode banner prototype. 2017-11-02 13:25:35 +02:00
Jordan Petridis 300fe86dc5 Refactored create_flowbox_child constructor to use Podcast struct instead of raw strings/pixbuf. 2017-11-02 10:10:02 +02:00
Jordan Petridis 0e6b6b2cce Update dependancies. 2017-11-01 10:54:36 +02:00
Jordan Petridis 401c13eee7 Refactored podcast_widget constructor. 2017-10-31 12:25:15 +02:00
Jordan Petridis e6ceb86201 Completed functionality of the delete buttons. 2017-10-27 04:31:39 +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 6accae0fbe Cleaned up Gtk::Application a bit. 2017-10-22 07:45:29 +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 716806e0e9 Trying out storeless designt. 2017-10-22 04:09:44 +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 f58ad6bd8c applied some clippy suggestions. 2017-10-21 21:24:19 +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 a6f03ff27c Added empty view. 2017-10-21 01:06:55 +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 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
Jordan Petridis 0ed6fee39f Initial split of podcastsview. 2017-10-18 20:52:24 +03:00
Jordan Petridis 52f2fa8791 More modulation of the gtk client. 2017-10-18 18:32:39 +03:00