Jordan Petridis
f8ae2dcffe
Update rustfmt.toml and remove rustfmt warnings.
2017-12-16 18:22:35 +02:00
Jordan Petridis
0ac78fcff1
Added date label into EpisodeWidget.
2017-12-14 18:03:37 +02:00
Jordan Petridis
d74aa9c625
Wire Headerbar back button and change initialiazation order.
2017-12-13 16:36:40 +02:00
Jordan Petridis
01310ee7fa
Working non-state machine stack implementation.
...
Removed the stack state-machines. It was confusing trying to both
implement statemachines and re-design the stack architecture at the same time.
2017-12-12 16:01:19 +02:00
Jordan Petridis
ddb195db3c
Wired up refresh button.
2017-12-11 13:51:16 +02:00
Jordan Petridis
fa33138d66
Start switching to the new stack architecture.
2017-12-11 11:53:29 +02:00
Jordan Petridis
5b19274e6a
Ignore the stack state machine until TryInto trait is stabilized.
2017-12-08 10:00:21 +02:00
Jordan Petridis
1266c6e971
Switch to a Generic Struct instead of an Enum.
2017-12-07 15:24:15 +02:00
Jordan Petridis
2b2f44b10e
Attempt n42 of implementing a StateMachine.
2017-12-07 08:50:20 +02:00
Jordan Petridis
d7af108833
WIP markup to html parser func.
2017-12-07 06:41:10 +02:00
Jordan Petridis
0359e9dd35
Convert EpisodeWidget into a Composed struct.
2017-12-01 07:13:41 +02:00
Jordan Petridis
326ee75cd8
Remove old implementation.
2017-12-01 02:57:55 +02:00
Jordan Petridis
b4b2f24c77
Use content struct instead of plain stack.
2017-12-01 01:30:19 +02:00
Jordan Petridis
5414dbdb37
Wire and use the new Header struct instead.
2017-12-01 01:20:49 +02:00
Jordan Petridis
dd0034327b
Add Content Struct.
2017-12-01 01:12:25 +02:00
Jordan Petridis
b32e35c574
Rename podcasts_view module.
2017-11-30 21:10:05 +02:00
Jordan Petridis
c92e40e3cf
Run download cleaner on startup. Closes #3 .
2017-11-28 10:23:19 +02:00
Jordan Petridis
9e03aaae27
Upgrade gtk-rs crates.
2017-11-26 21:25:46 +02:00
Jordan Petridis
ce29602431
I hate everything.
2017-11-20 16:57:27 +02:00
Jordan Petridis
5ad52fa4b2
Refactored to remove from Database refferences.
2017-11-19 23:32:37 +02:00
Jordan Petridis
a6dbf65575
Move stuff from hammond_data/src/lib.rs into utils.
2017-11-18 20:55:19 +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
3c6176b1c0
Renamed hammond-data/src/dbcheckup.rs into utils.rs
2017-11-16 23:32:40 +02:00
Jordan Petridis
b042205a3b
Flatpak Runtime crash fix.
...
The application was trying to register a name different than the one
declared in the flatpak manifest.
Changin the name to org.gnome.Hammond like on manifest should fix it.
2017-11-13 15:06:56 +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
60a3b39339
Initial implementation of #6 Gresource support.
2017-11-06 12:19:10 +02:00
Jordan Petridis
e2d1466073
Changed the transition type of the stack.
2017-11-04 18:46:43 +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
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
72ac709cda
Removed the multiple declarations of the clone macro.
2017-11-03 17:42:48 +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
4da1ee8f10
Update TODO.md.
2017-11-02 08:33:02 +02:00
Jordan Petridis
401c13eee7
Refactored podcast_widget constructor.
2017-10-31 12:25:15 +02:00
Jordan Petridis
25344aa613
Applied clippy suggestions.
2017-10-30 13:15:44 +02:00
Jordan Petridis
1cdae2b8b0
Temporary exposed download cleaner into the gui.
2017-10-28 08:51:59 +03:00
Jordan Petridis
e2a06fc074
Removed ListStore entirely.
2017-10-24 00:25:48 +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
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
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
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
90c637ed53
Cleaned up unnecessary clone() calls.
2017-10-21 09:08:03 +03:00
Jordan Petridis
5fb783c0c0
Favor explicit refference cloning, as suggested by clippy.
2017-10-21 05:35:54 +03:00