1
0
Fork 0
mirror of synced 2024-06-25 17:50:45 +12:00
Commit graph

24 commits

Author SHA1 Message Date
loathingKernel 490f0dc69f
Shop: Rename module to store 2023-12-12 13:02:07 +02:00
loathingKernel 0ef2497afb
QtRequests: Handle multiple requests concurrently and use caching
It is still junky but less so. It allows us to use QNetworkRequest's
caching mechanism instead of doing so on our own per-case.
2023-12-12 12:41:18 +02:00
loathingKernel 5748d0e6ee
RareCore: Manage initialization in RareCore instead of LaunchDialog
This is the last change of the `backend_refactor` branch. This makes
`RareCore` the centerpiece of Rare by moving initialization before the UI
is brought up. RareCore is now in control of creating and querying `RareGame`
objects, re-introducing the ability (incomplete) to refresh the games library.
As a result, ApiResults has been removed.

Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-03-07 17:11:21 +02:00
loathingKernel 34a13ea3b2 ApiResults: Mirror the way RareCore from refactor_backend handles non asset items
`LegendaryCore.get_non_asset_library_items()` returns the same tuple
for `game_list, dlc_dict` as for regular games with assets, so
keep the result for API completeness, since `RareGame` can handle those
games properly.
2023-02-07 13:04:33 +02:00
Stelios Tsampas d5d795ce79 Paths: Query paths after the OrganizationName and ApplicationName have been set
At the point they were evaluated, `OrganizationName` and `ApplicationName` are unset
resulting in wrong paths. As a quick fix, explicitly set them to their later values
Per OS examples:
Windows:
	before:
		data: C:\Users\<user>\AppData\Local
		cache: C:\Users\<user>\AppData\Local\cache
	after:
		data: C:\Users\<user>\AppData\Local\Rare\Rare
		cache: C:\Users\<user>\AppData\Local\Rare\Rare\cache
2022-09-08 01:27:37 +03:00
Stelios Tsampas d6ef44b2f9
Rare: Implement global objects as functions that return a single instance 2022-02-25 20:22:45 +02:00
Dummerle 2e6890bfd9
Move appdata paths to utils/paths.py to avoid crashes, if PyQt5 does not exist (deb workflow) 2022-02-17 00:04:53 +01:00
Stelios Tsampas 8f89eb6e88
Rare: pass through Black formatter 2021-12-27 00:37:13 +01:00
Dummerle 026d5374a3
Add Multiplatform support for MacOS and Win32 2021-12-05 19:47:03 +01:00
Dummerle b60fb43568
Some fixes and optimization 2021-11-29 01:23:33 +01:00
Dummerle bb4f08691a Fix set locale to legendary locale + reformatting 2021-09-13 20:24:09 +02:00
Dummerle d11cc7abf3 add legendary submodule and rename custom_legendary to legendary in imports 2021-09-06 21:10:18 +02:00
Dummerle cc54474e75 Add Wishlist tab in store 2021-08-25 20:25:10 +02:00
Dummerle 8fbf0bcacf Merge Browse and free games in one tab 2021-08-25 00:01:53 +02:00
Dummerle df5da90292 New api core for store requests 2021-08-22 22:22:17 +02:00
Dummerle ff0ba4c544 Add wishlist offers in Store 2021-08-18 22:17:14 +02:00
Dummerle 59a7359e19 Set cache_dir and data_dir in one place (xdg) 2021-08-08 00:49:27 +02:00
Dummerle 983e80a4c6 Some optimizations 2021-08-07 23:42:40 +02:00
Dummerle 72457c8b27 Load browse_games.py when tab clicked 2021-06-18 00:29:36 +02:00
Dummerle c063e9a92a Add browse games function 2021-06-14 22:30:57 +02:00
Dummerle 676c253a13 Some improvements 2021-06-10 19:58:35 +02:00
Dummerle 89afebd9fd Show search results: Not pretty: no images 2021-06-09 00:00:00 +02:00
Dummerle bcce9487cd Shop info works now 2021-06-04 18:16:27 +02:00
Dummerle b31080a5ae Add basic store 2021-06-03 23:23:55 +02:00