Commit Graph
100 Commits
Author SHA1 Message Date
Jordan Petridis be7b89dffb NOT WORKING. Intial flatpak manifest. 2017-11-13 10:23:05 +02:00
Jordan Petridis c2d0254a06 Initial draft of contributing.md. 2017-11-13 09:47:09 +02:00
Jordan Petridis f635f60ad8 Updated .gitlab-ci.yml 2017-11-12 14:35:29 +02:00
Jordan Petridis 23fb297200 Downloads now use temp folders. 2017-11-11 17:13:08 +02:00
Jordan Petridis 2339b4db45 Merge branch 'wip/meson' into 'master'
Build with meson.

See merge request alatiera/Hammond!1
2017-11-11 14:06:15 +00:00
Jordan Petridis 49bf8f3d04 Disabled meson builds from the ci. 2017-11-11 15:34:46 +02:00
Jordan Petridis 4e4a9d799a Added meson build into the gitlab-ci. 2017-11-11 14:47:22 +02:00
Jordan Petridis b39f635cf5 Updated readme. 2017-11-11 14:39:03 +02:00
Jordan Petridis 021f616aef Added make release option. 2017-11-11 14:30:29 +02:00
Jordan Petridis 825f751bc2 .desktop file fix. 2017-11-11 13:38:09 +02:00
Jordan Petridis 1199c9aa81 Now building with meson. 2017-11-11 13:29:11 +02:00
Jordan Petridis bc6da31178 Initial meson build. 2017-11-10 17:53:09 +02:00
Jordan Petridis b82e4c8932 Home button tweak. 2017-11-10 16:25:40 +02:00
Jordan Petridis f2476cde65 Refactored empty view logic. 2017-11-10 16:15:53 +02:00
Jordan Petridis fe571df1d5 Changed the XDG folder from Hammond to hammond, Added make tar. 2017-11-10 14:09:05 +02:00
Jordan Petridis acd2f1411e Cover image caching fix. 2017-11-10 13:30:06 +02:00
Jordan Petridis d46c3716b4 Close #11, Added notes for manual installation. 2017-11-10 12:54:09 +02:00
Jordan Petridis 8f020c92c0 Added .desktop and an initial Makefile. 2017-11-10 12:37:42 +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 86dac216d6 Updated Readme. 2017-11-06 18:25:31 +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 80ae1b0c88 Accidently included .gresource file into the git repo. Added gitignore rule. 2017-11-06 12:27:53 +02:00
Jordan Petridis 60a3b39339 Initial implementation of #6 Gresource support. 2017-11-06 12:19:10 +02:00
Jordan Petridis 36271afcdd Error types cleanup. 2017-11-05 15:36:54 +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 456134ab41 Hide mark_played bttn after play button is pressed. 2017-11-04 16:36:45 +02:00
Jordan Petridis ab5802cca7 Implemented updater_on_startup and refresh_feed sleep. 2017-11-04 14:40:36 +02:00
Jordan Petridis a9dec8dbe8 Refactored refresh_feed. 2017-11-04 13:56:23 +02:00
Jordan Petridis 7a1b272d9e Removed code duplication and combined refresh_feed and refresh_db. 2017-11-04 13:36:25 +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 9787ce7979 Added an overview to README.md . 2017-11-03 15:33:21 +02:00
Jordan Petridis 81af6765f1 Minor Podcast widget improvment. 2017-11-03 10:07:30 +02:00
Jordan Petridis 02ae6b4aef Changed the flowbox cover and banners size to 256x256 px. 2017-11-03 09:28:44 +02:00
Jordan Petridis 79fb8c2290 Minor home button change. 2017-11-02 17:29:53 +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 4da1ee8f10 Update TODO.md. 2017-11-02 08:33:02 +02:00
Jordan Petridis fc761a963d Replaced description labels with TextViews. 2017-11-01 17:36:47 +02:00
Jordan Petridis 0e6b6b2cce Update dependancies. 2017-11-01 10:54:36 +02:00
Jordan Petridis c942e357b7 Moved a batch update into a db transaction. 2017-10-31 13:10:36 +02:00
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 86c686bba6 Added watched field into the Episodes table. 2017-10-28 04:58:35 +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 f79ccdcecd Updated dependancies and minor readme and todo fixes. 2017-10-24 09:00:50 +03:00
Jordan Petridis 8c6324bb4e Added TODO.md file. 2017-10-24 07:35:48 +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 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