Commit Graph

18 Commits

Author SHA1 Message Date
kramo
3ebd2dd883 Merge branch 'main' into libadwaita-1.4 2023-08-13 13:02:56 +02:00
Geoffrey Coulaud
1aff1347e3 Managers refactor (#164)
The main reason for this is the compositing of both local and online covers with the same logic.  
It was a problem raised in #146 with some covers getting stretched.

Changes:
- Renamed and simplified managers methods
- Created a generic `cover manager`
- Added more retryable errors to `steam api manager`
- Removed `local cover manager` and `online cover manager`
- Reduced dependency on `PIL`
2023-07-31 18:44:18 +02:00
kramo
e7d27cc1c4 Implement source filtering 2023-07-07 21:25:08 +02:00
kramo
5fd6ea20f4 Initial port to Libadwaita 1.4 2023-07-04 18:49:06 +02:00
GeoffreyCoulaud
8d082ab158 Removed win.games 2023-07-01 02:56:40 +02:00
kramo
2e97edcdb5 Please pylint once and for all 2023-06-18 13:15:03 +02:00
kramo
9d7a6d8ea4 Add copyright headers 2023-06-17 16:27:10 +02:00
kramo
39bc64c136 Use signals for updating and saving games 2023-06-15 17:37:54 +02:00
kramo
de3ef53148 Make pylint happy 2023-06-10 19:34:00 +02:00
GeoffreyCoulaud
e7fd01f509 🎨 Made manager attributes more flexible
Changed run_after, retryable_on and continue_on to be type Container.
We don't need them to be sets.

The performance gain of sets over small tuples is nonexistant
for in checks and the  syntax is more verbose.
2023-06-10 12:03:16 +02:00
GeoffreyCoulaud
5dc6ec899a 🎨 Various changes
- Changed source additional data to dict
- Moved local cover saving into a manager
- Added stub for itch cover manager
2023-06-07 15:00:42 +02:00
GeoffreyCoulaud
98f02da36c 🎨 SourceIterator can yield addtitional data
SourceIterator-s can yield a game and a tuple of additional data.
This data will be passed to the Store, Pipeline and Managers.
2023-06-07 14:01:06 +02:00
GeoffreyCoulaud
d204737339 🚧 More work on resilient managers 2023-05-31 16:54:51 +02:00
GeoffreyCoulaud
0645808ac4 🐛 Fixed GTK race condition in pipelines 2023-05-29 01:38:36 +02:00
GeoffreyCoulaud
b99c058cd7 Added blocking/async managers 2023-05-29 00:05:44 +02:00
GeoffreyCoulaud
7220852291 🎨 Reorganized game loading from disk 2023-05-24 17:08:34 +02:00
kramo
36b6bc17bd Cleanups 2023-05-24 15:36:25 +02:00
GeoffreyCoulaud
a11569014d ♻️ Restructured sources and managers 2023-05-24 15:35:48 +02:00