Commit Graph
100 Commits
Author SHA1 Message Date
Jordan Petridis f9c5ff5e8c Ui minor polish. 2017-10-23 04:00:32 +03:00
Jordan Petridis b17f9eb89b Initial draft of README.md 2017-10-23 03:54:55 +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 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 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 74715292b3 Updated reqwest depencancy. 2017-10-20 05:10:14 +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 3d98bf12f3 Added Feed cover extraction from itunes extension. 2017-10-20 00:59:58 +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 c3d7a11975 minor headerbar improvments. 2017-10-18 18:57:29 +03:00
Jordan Petridis c0c6301e11 Split headerbar into its own module. 2017-10-18 18:50:38 +03:00
Jordan Petridis b6d2be3ff5 Split stuff into a utils.rs module. 2017-10-18 18:49:35 +03:00
Jordan Petridis 52f2fa8791 More modulation of the gtk client. 2017-10-18 18:32:39 +03:00
Jordan Petridis ddf62711c7 Initial split of the gtk+ client monolithic main. 2017-10-18 17:47:38 +03:00
Jordan Petridis e03aa9dd74 Factored out thread spawning db update. 2017-10-18 06:05:00 +03:00
Jordan Petridis 0e8ea41ca7 Wired add button, Fixed db refresh and changed the index API. 2017-10-18 05:53:52 +03:00
Jordan Petridis eb0ee994fe Wired the download button. 2017-10-18 04:28:00 +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 80f0f138f3 Wired playbutton to use xdg-open for the files. 2017-10-18 03:13:16 +03:00
Jordan Petridis e3c1464a67 Spawn a separate thread to update the db and dont freeze the gui. 2017-10-18 02:34:59 +03:00
Jordan Petridis 4d77fa47d8 Make rustfmt ci test a requirement. 2017-10-17 23:08:30 +03:00
Jordan Petridis 952fe6b9da Episode widget layout tweaks. 2017-10-17 22:52:11 +03:00
Jordan Petridis 339aeb40fa gitlab-ci rustfmt fix? 2017-10-17 22:30:26 +03:00
Jordan Petridis 31ad416c25 Prototype of an Episode List widget. 2017-10-17 22:26:59 +03:00
Jordan Petridis 90c252b34e Populating podcast_widget. 2017-10-16 20:54:21 +03:00
Jordan Petridis 5ef27d1072 Updated dependancies. 2017-10-16 05:03:48 +03:00
Jordan Petridis f7fb991b9c Stole the add feed button from gnome-news project, but It's not wired up yet. 2017-10-16 03:23:21 +03:00
Jordan Petridis 1277c90f8b Moved to a Gio Application and replaced window1 with a GtkApplicatioNWindow. 2017-10-16 02:38:23 +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 a8084e1bdf Switched back to a ListStore for now.
The dream would be to use One TStroe for all/many views,
but that seem to be expensive and not pleasant to work with.
Might also completly drop all stores, or at least some,
since I could construct the views using just Diesel models.
2017-10-15 00:56:31 +03:00
Jordan Petridis 970b151353 Forgot to add then glade file :3 2017-10-14 22:00:56 +03:00
Jordan Petridis 430b8c3995 Added PodcasWidget and prototype stack switch on flowbox_child activation. 2017-10-14 21:59:34 +03:00
Jordan Petridis 648ac9f63f Hello world of flowbox child activation. 2017-10-14 20:56:46 +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 dcc6c0202b Removed TreeStoreView. 2017-10-14 17:43:18 +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 ac51370088 Split headerbar on it's own glade.ui file. 2017-10-12 15:41:30 +03:00
Jordan Petridis a4e2944622 Extend TreeStore. 2017-10-12 15:16:05 +03:00
Jordan Petridis 67a6d9ec65 Switched to a TreeStore instead of a ListStore. 2017-10-11 18:52:52 +03:00
Jordan Petridis 23753708c6 Build time speedup. 2017-10-11 18:34:30 +03:00
Jordan Petridis 52a8c6fe5c Getting a hang of list and tree stores. 2017-10-11 15:31:21 +03:00
Jordan Petridis 1915198282 local before_scipt was completly overwritting the global one. 2017-10-10 17:00:46 +03:00
Jordan Petridis e466d252fc CI fixes. 2017-10-10 16:22:25 +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 c8b6d3faa8 Trying out clippy and rustfmt CI-integrations. 2017-10-10 15:50:31 +03:00
Jordan Petridis 920fda13f0 Headerbar tweaks. 2017-10-10 01:59:23 +03:00
Jordan Petridis 9e7a6f5ecd IT DISPLAYS STUFF!! 2017-10-10 01:26:16 +03:00
Jordan Petridis 10fd018f1f Babysteps vol. 3. 2017-10-10 01:07:22 +03:00
Jordan Petridis fda21cdf16 More babysteps. 2017-10-09 20:21:16 +03:00
Jordan Petridis 6b7b7085b5 Gtk+ baby steps 2017-10-09 19:24:06 +03:00
Jordan Petridis f1d3cd5e25 Applied some clippy suggestions. 2017-10-09 16:49:00 +03:00
Jordan Petridis 2c1b55c2fb Fix gitlab-ci gtk dependancies. 2017-10-05 22:53:29 +03:00
Jordan Petridis c890da9979 Gtk+ Hello World. 2017-10-05 21:15:53 +03:00
Jordan Petridis 423e0a6e7b Cleaned some minor TODO's. 2017-10-05 19:09:59 +03:00
Jordan Petridis 78454f6474 Fixed Episode pub_date setter to accept &str again. 2017-10-05 18:41:51 +03:00
Jordan Petridis cbc0692482 Added an etag bypass when updating the feeds. 2017-10-05 18:29:37 +03:00
Jordan Petridis 3b4acf9fc3 Improved get_temp_db helper func. 2017-10-05 18:02:15 +03:00
Jordan Petridis dce7fc1468 Updated .gitlab-ci.yml 2017-10-05 16:24:59 +03:00
Jordan Petridis 8d17976b8a Dependancy cleanup. 2017-10-05 16:03:51 +03:00
Jordan Petridis 078331c15f Split hammond_data::errors to its own file. 2017-10-05 15:07:40 +03:00
Jordan Petridis 93027e5530 Final crate restructure I hope. 2017-10-05 15:02:19 +03:00
Jordan Petridis 77797ee027 More crate splitting. 2017-10-05 00:22:05 +03:00
Jordan Petridis bf9e544a2b Error handling cleanup. 2017-10-04 23:51:53 +03:00
Jordan Petridis f25ce64e34 Initial split into workspaces in order to be more flexible. 2017-10-04 22:41:17 +03:00
Jordan Petridis 98f7f6e37a I hate everything. 2017-10-04 12:20:07 +03:00
Jordan Petridis 3e2471953b Revert "Codecov take 2."
This reverts commit 693def007a.
2017-10-04 12:16:23 +03:00
Jordan Petridis 693def007a Codecov take 2. 2017-10-04 11:49:41 +03:00
Jordan Petridis b6879f82b6 Added some, lacking but better than nothing, integration tests. 2017-10-04 11:45:13 +03:00