1
0
Fork 0
mirror of synced 2024-05-18 19:42:54 +12:00
Commit graph

2038 commits

Author SHA1 Message Date
Stelios Tsampas 42341d5c81
Merge pull request #404 from RareDevs/loathingKernel-patch-1
Create codeql.yml
2024-05-17 23:42:43 +03:00
Stelios Tsampas 4dea963154
Merge pull request #403 from loathingKernel/develop
RareLauncher: Fix wrong arguments in pre-launch command `QProcess.start()`
2024-05-17 23:40:24 +03:00
Stelios Tsampas 87b0ae0540
Create codeql.yml 2024-05-17 23:36:22 +03:00
loathingKernel 9b476afe8c RareLauncher: Fix wrong arguments in pre-launch command QProcess.start() 2024-05-17 23:29:35 +03:00
loathingKernel 95e760791b DetailsWidget: Rename to StoreDetailsWidget
In continuation of the previous change, prepend `Store` to the name to
specify the difference.

The goal is to add `StoreDetailsWidget` as a second view in `GameDetails`
with information sourced from the Epic Games Store.
2024-05-17 13:34:24 +03:00
loathingKernel fec4e3c0e1 GameDetails: Refactor file structure
`GameInfo` has been renamed to `GameDetails` to align it with
the similar `StoreDetails` page while making the difference clearer.

Remove the `game_` prefix from the file names to reduce noise. The path
should be enough to provide scope.
2024-05-17 13:31:48 +03:00
Stelios Tsampas fb736fa47b
Merge pull request #401 from loathingKernel/develop
Address pylint errors
2024-05-16 19:32:44 +03:00
loathingKernel 3b721fdd13 WinePathResolver: Disable pylint check (possibly-used-before-assignment) 2024-05-16 19:29:14 +03:00
loathingKernel f9cc1b48f1 GameSettings: Fix pylint errors (possibly-used-before-assignment) 2024-05-16 19:27:59 +03:00
loathingKernel 9017826b16 StoreAPI: Log exception 2024-05-16 13:58:59 +03:00
loathingKernel 4bb1fb10ee SteamGrades: Print an error message instead of the exception 2024-05-16 13:58:10 +03:00
loathingKernel beb4f6c310 Workflows: Update Windows packages to python 3.12
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2024-05-16 13:57:30 +03:00
loathingKernel 337d753d0c Workflows: Disable fail-fast for pylint checks 2024-05-16 13:38:16 +03:00
loathingKernel 4497a1c712 Project: Use vdf package on all platforms
Useful on Windows too, to export games to Steam as "Non-Steam Game"
2024-05-16 13:32:00 +03:00
loathingKernel 07fa7890cf RareGame: Update protondb grade every 3 days even if it already exists. 2024-05-16 13:18:05 +03:00
loathingKernel 1d8ae15ea9 SteamGrades: Fix exception when trying to get file timestamp
if the file does not exist.

At the same time fix some pylint warnings.
2024-05-16 13:15:48 +03:00
loathingKernel b9d034eef7 Project: Add pylint configuration file 2024-05-16 11:42:32 +03:00
Stelios Tsampas 9f67f930a9
Merge pull request #400 from loathingKernel/develop
LoadingWidget: Start playing movie once the widget is visible if `autostart` is enabled
2024-05-15 22:50:02 +03:00
loathingKernel 8ebcc3a700 LoadingWidget: Start playing movie once the widget is visible if autostart is enabled
Fixes a subtle bug that would cause increased CPU usage due to spawning
multiple singleshot times with very short timeouts (15ms) until the Store
tab was loaded.
2024-05-15 22:48:52 +03:00
Stelios Tsampas 0ddd5a0674
Merge pull request #399 from loathingKernel/develop
WineResolver: Do not unset 'DISPLAY' when running silently
2024-05-15 15:18:14 +03:00
loathingKernel 0c848c41b0 WineResolver: Do not unset 'DISPLAY' when running silently
When unsetting DISPLAY, Wine hangs after executing a command, and doesn't
allow for other instances of wine to start, i.e. games do not launch, with
a cryptic error. This also fixes the previously observed issues with
`winepath.exe` and `reg.exe` never exiting.

This is likely due to the newly introduced Wayland driver. This behavior
can be observed when Wayland support is compiled into Wine and the wayland
driver is enabled in the prefix's registry. In this case, if running under
X11 and DISPLAY is not set, Wine will hang, and the process never returns.
2024-05-15 15:13:51 +03:00
Stelios Tsampas 8f018cb162
Merge pull request #396 from ARez2/main
Fix typo in README
2024-04-13 06:40:38 +03:00
ARez 34abca2a4e
Fix typo in README 2024-04-13 01:34:09 +02:00
Stelios Tsampas cb919ed69f
Merge pull request #392 from loathingKernel/next
commands: add `__init__.py` for module discovery
2024-03-06 17:59:27 +02:00
loathingKernel 1c886535a5
commands: add __init__.py for module discovery 2024-03-06 17:57:48 +02:00
Stelios Tsampas a35e430539
Merge pull request #388 from loathingKernel/shop_refactor
Refactor the Store page
2024-02-26 12:47:24 +02:00
loathingKernel 14bde0a23c
WishlistWidget: re-order comboboxes to match the order in the library
* Move filter combobox at the beginning of the top panel and move the order
combobox after it to replicate the order in the library view.
2024-02-25 21:35:45 +02:00
loathingKernel 89340f331b
StoreAPI: comment unused and erroneous code 2024-02-25 21:35:45 +02:00
loathingKernel fb0d5bbe10
Store: Fix various wishlist issues.
* Use horizontal scrollarea for free games. Based on the same idea as
WrapperSettings scrollarea. Both need some adjustments.

* Remove debugging dialogs. Need a better way anyways to debug.
2024-02-25 21:35:45 +02:00
loathingKernel 766557924a
Store: Unset autoFillBackground for some scrollareas 2024-02-25 21:35:45 +02:00
loathingKernel 1fab13fd92
Store: Fix rebase errors 2024-02-25 21:35:44 +02:00
loathingKernel 7a2a6458ed
Store: Update details page 2024-02-25 21:35:44 +02:00
loathingKernel 9ec349e2d1
WIP 2024-02-25 21:35:44 +02:00
loathingKernel 2a2458bacb
Store: Update details page
* Add a big back button in details page.

* Add static CSS to render QPushButtons as flat when the `flat` property is set

* Remove outer scroll areas from details page since the page is already adjustable

* Remove scroll area from the requirements widget because ElideLabels are already used in it.

* Fix crash when sorting the wishlist
2024-02-25 21:35:44 +02:00
loathingKernel 816c5f3de9
Store: adapt image sized 2024-02-25 21:35:44 +02:00
loathingKernel b4a26b5932
Store: Finalize store design 2024-02-25 21:35:43 +02:00
loathingKernel fda82b17cf
Shop: Use a single QGridLayout instead of left and right VBoxLayouts 2024-02-25 21:35:43 +02:00
loathingKernel 91af16b76d
Store: Exploratory changes for GraphQL API 2024-02-25 21:35:43 +02:00
loathingKernel f6396f488a
Store: Exploratory changes to the store page
Important changes:
* Refactored QtRequests to accept parameters for `GET` operations
* Infer response data type from content-type header
* Support caching to disk, a manager with this set prefers the cache
* Support multiple handlers for a single request (unused, possibly pointeless)

* Subclass `ShopImageWidget` for all widgets used in the shop
* Request a resized image instead of the original one
* Fix the search and browse functions
2024-02-25 21:35:43 +02:00
loathingKernel 7246078df3
ShopGameInfo: Design it to me similar to GameInfo 2024-02-25 21:35:43 +02:00
loathingKernel 247b2c947a
ShopImageWidget: Design it to me similar to IconGameWidget 2024-02-25 21:35:43 +02:00
loathingKernel b6458b1bfc
SearchResultItem: Use ShopImageWidget as a base 2024-02-25 21:35:42 +02:00
loathingKernel d76fc2b68b
ShopWidget: Fix layouting again 2024-02-25 21:35:42 +02:00
loathingKernel 2db34324af
ShopWidget: Cleanup shop layout 2024-02-25 21:35:42 +02:00
loathingKernel b812e38fb8
Wishlist: Remove embedded title 2024-02-25 21:35:42 +02:00
loathingKernel d3b591952f
Store: Use ElideLabel for requirements 2024-02-25 21:35:42 +02:00
loathingKernel 6b15c0f2cf
Store: Clean up store UI by using library widgets 2024-02-25 21:35:41 +02:00
Stelios Tsampas 784fadb2da
Merge pull request #389 from loathingKernel/next
Fix action button positions in QueueBaseWidgets
2024-02-25 15:49:57 +02:00
loathingKernel c768b6ac3b
Repo: fix malformed gitattributes 2024-02-25 15:46:25 +02:00
loathingKernel c1b92c3ae5
QueueBaseWidget: fix button positioning 2024-02-25 15:36:00 +02:00