1
0
Fork 0
mirror of synced 2024-09-06 12:51:41 +12:00
Commit graph

369 commits

Author SHA1 Message Date
Dummerle
6ba445158d Remove login successful page and auto parse sid 2021-10-07 21:58:50 +02:00
Dummerle
862e09fedd Update version 2021-10-07 21:16:01 +02:00
Dummerle
3bf6692760 Add shared.py 2021-10-07 20:19:24 +02:00
Dummerle
3796db83c1 Fix updates; Fix dlc tab; Fix Game list update 2021-10-07 19:42:27 +02:00
Dummerle
57ee0ddd0c Revert "Remove border from dlc tab"
This reverts commit 7db26a743c.
2021-10-04 21:51:39 +02:00
Dummerle
22e51e096f Fix bug after download finished 2021-10-04 21:51:25 +02:00
Dummerle
87ab3ca4a6 Fix bug, if api request fails 2021-10-04 21:01:45 +02:00
Dummerle
7db26a743c Remove border from dlc tab 2021-10-04 20:32:22 +02:00
Dummerle
9273c4c645 Login Dialog: Set Max thread count 2021-10-03 22:20:54 +02:00
Dummerle
06c803fd69 Fix small bug 2021-10-03 22:18:54 +02:00
Dummerle
df7964a79f Move api requests to login dialog 2021-10-03 21:29:33 +02:00
Dummerle
0324202d9f Update Legendary 2021-10-03 19:37:46 +02:00
Dummerle
4b5a0b0084 Add a new signal system 2021-09-29 23:22:47 +02:00
Dummerle
a143971385 Update Games list to ui file 2021-09-26 16:43:56 +02:00
Dummerle
a94042f566 moved tab files to rare/components/tabs directory 2021-09-19 20:56:55 +02:00
Dummerle
b07f70060b Fix Bug, that requirements are not visible 2021-09-19 20:41:03 +02:00
Dummerle
8b1352edb5 Fix Bug when updating game list 2021-09-19 12:52:07 +02:00
Dummerle
bcb15ffec2 Optimize Startup part 1 2021-09-19 12:48:34 +02:00
Dummerle
e79bee57c0 Some fixes for pylint and workflow 2021-09-18 17:21:43 +02:00
Dummerle
b7af237935 Disable game action buttons on Origin Games 2021-09-18 16:50:13 +02:00
BuildTools
740153bd0d Fix create startmenu/desktop link 2021-09-18 16:34:43 +02:00
Stelios Tsampas
6f0ff87610 Delete verify thread after finish 2021-09-16 01:29:12 +03:00
Dummerle
ffa5976805 Many fixes, optimizations and improvements: Gameinfo page for origin games 2021-09-15 22:16:50 +02:00
Dummerle
b951c1af5f Fix locale and update pylint test 2021-09-14 17:56:55 +02:00
Dummerle
ba05cf3d2e some fixes for pylint 2021-09-13 22:44:59 +02:00
Dummerle
1bb33d911c You can now launch and link origin games 2021-09-13 22:27:37 +02:00
Dummerle
bb4f08691a Fix set locale to legendary locale + reformatting 2021-09-13 20:24:09 +02:00
Dummerle
c1338b7526 Add locale settings 2021-09-13 19:46:50 +02:00
Dummerle
c07992b982 Fix some memory leaks and some other errors 2021-09-12 23:28:54 +02:00
Dummerle
152c1a326d Some fixes in shop: Images, try/except 2021-09-12 21:38:48 +02:00
Stelios Tsampas
f6308dd4b4 Adjust imports based on PyLint 2021-09-12 14:46:48 +03:00
Stelios Tsampas
228c3ab03e Move EGL Sync page into the main LegendarySettings page and make it useful. (WIP)
Move GameInfo to its own file.
Use get_pixmap in GameDlcWidget to get the pixmap.
Remove unused function from RareSettings.
Convert About to FormLayout.
2021-09-12 14:23:40 +03:00
Stelios Tsampas
7a9daad2b1 Add more download options in legedary settings tab 2021-09-11 16:08:50 +03:00
Stelios Tsampas
35cbd21bb7 Fix memory leaks in DLC tab. 2021-09-11 00:57:43 +03:00
Stelios Tsampas
45dc4b8e7c Adjust for one-line PathEdit
Make Console font monospaced.
Revert changes in Rare settings because they weren't working.
Replace a few GridLayouts with FormLayouts
2021-09-11 00:57:43 +03:00
Dummerle
9bec942358 Fix error on double download when update without settings 2021-09-10 23:30:59 +02:00
Dummerle
9570b52eed Add some options for debug; fix error in sync_widget.py; fix pylint workflow 2021-09-10 22:41:30 +02:00
Dummerle
18570511c4 Remove save button at PathEdit. Save on change 2021-09-09 20:00:12 +02:00
Dummerle
6a01ddef6b Add option to reload image for uninstalled widgets too 2021-09-09 20:00:12 +02:00
Dummerle
158d98957c Add option to reload image 2021-09-09 20:00:12 +02:00
Dummerle
d11cc7abf3 add legendary submodule and rename custom_legendary to legendary in imports 2021-09-06 21:10:18 +02:00
Dummerle
648fd6fd7f Add price to game widget 2021-09-05 21:52:47 +02:00
Dummerle
f8560b206f Add socail links to game info 2021-09-05 21:25:57 +02:00
Dummerle
f7f7f83101
Merge branch 'main' into dev 2021-09-04 22:49:08 +02:00
Dummerle
718bfa0278 Fix installing game widget 2021-09-02 23:32:25 +02:00
Dummerle
134c06a726 Update translation and remove notify-py as dependency 2021-09-01 22:12:27 +02:00
Dummerle
b8be750c6c Add non asset games in gamelist 2021-09-01 19:41:01 +02:00
Dummerle
b799241357 Fix Space bug in Icon layout; Remove config sections on uninstall; Remove unused Widget 2021-08-30 15:14:40 +02:00
Dummerle
c2ae188745 Fix color of icons 2021-08-28 20:03:25 +02:00
Dummerle
2c2c1cc9ad Remove debug prints 2021-08-28 19:43:54 +02:00
Dummerle
83ad8f0982 Icon color depends on theme 2021-08-28 16:01:36 +02:00
Dummerle
b3cc412142 Add an installing game widget to icon list 2021-08-28 00:16:17 +02:00
Dummerle
be8ce667eb Some fixes 2021-08-25 22:08:24 +02:00
Dummerle
9048e4790e Fix some issues 2021-08-25 20:41:10 +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
82627a799e Add tab shortcuts alt + 1/2... 2021-08-23 17:03:42 +02:00
Dummerle
a63a46ded5 Fix some merge bugs 2021-08-23 16:55:21 +02:00
Dummerle
c212904cc0
Merge branch 'shop' into update_shop 2021-08-22 22:43:08 +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
ea78aa7b64 Fix Desktop links (Appimages, wrong path) 2021-08-17 16:54:55 +02:00
Dummerle
363fda6d5e Fix download bugs 2021-08-17 16:05:00 +02:00
Dummerle
d6b318d9ef Fix some errors 2021-08-17 15:09:46 +02:00
Dummerle
48768fd905 Fix login from merge 2021-08-16 23:20:21 +02:00
Dummerle
258fdabfec add get_pixmap function 2021-08-16 23:08:15 +02:00
Dummerle
4cfe2bf336 merge branches 2021-08-16 22:50:31 +02:00
Dummerle
96806274f9 Some fixes: Update gamelist; dl_tab.finished; AppImageBuilder.yml; install_dialog: auto verify 2021-08-16 20:41:33 +02:00
Dummerle
e1c6e03812 Add a debug console for games 2021-08-13 22:51:36 +02:00
Dummerle
5dcaa3f8af Update steam ratings (Only update if need) 2021-08-13 21:24:03 +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
ChemicalXandco
7af64f1b83 add import platform 2021-07-01 19:08:04 +01:00
Dummerle
2233c7f338 Some optimizations 2021-06-30 00:38:42 +02:00
Dummerle
c521d11948 Fix a bug with byte decoding 2021-06-30 00:03:03 +02:00
Dummerle
4c950aa229 Update images and readme 2021-06-24 23:38:08 +02:00
Stelios Tsampas
23252fb0e2 Fix game verify and repair. 2021-06-24 20:08:22 +03:00
Stelios Tsampas
1365b36b08 Delegate opening browser to a function (futureproofing) 2021-06-24 20:08:22 +03:00
Stelios Tsampas
c29cc06e70 Display Ready message when each thread has finished. 2021-06-24 20:08:22 +03:00
Stelios Tsampas
dc2a99c2ee Terminate threads and handle cleanup.
* Set the `WA_DeleteOnClose` attribute for the MainWindow.
* Handle the case where `programdata_path` exists but is empty.
* Emit a signal from `LaunchDialog` instead of using `exit()`.
* Remove `LoginThread` as it was never deleted and caused a `SIGSEGV` on exit.
* Handle termination and deletion of `SteamThread` and `ImageThread`.
* Rename `finished` to `completed`, to not override the inherited `finished` signal.
* Emit a signal from Account widget to do cleanup instead of immediately quitting.
2021-06-24 20:08:22 +03:00
Stelios Tsampas
09d9e0f9a0 Raise ValueError when failing to login so it can be logged. 2021-06-24 20:08:22 +03:00
Stelios Tsampas
be8ee8b955 Add check options message in InstallDialog. 2021-06-24 20:08:22 +03:00
Stelios Tsampas
cac7d0c809 Refresh wrapper QTextEdit when proton wrapper is un-selected
and disable the save button
2021-06-24 20:08:22 +03:00
Stelios Tsampas
ff3aa1929c Handle install and uninstall colors in qss. Make tab_bar more consistent 2021-06-24 20:08:22 +03:00
Stelios Tsampas
e8dadb6b00 Update the RareStyle to handle radiobutton, disabled widgets, etc.
* Add RareStyle qrc with the icons needed for comboboxes and spinboxes
* Add images as svg
* Refactor `styles` to `resources` since it contains more things now.
* Add stylesheet folders, each folder must contain a `stylesheet.qss` file.
* Don't use QResources, instead add an identifier in the qss url() which can
  replaced later with the full path.
* Update RareStyle with SVG images for better quality.
2021-06-24 20:08:04 +03:00
Stelios Tsampas
f49cc413dd Add prefix path select dialog to LoginDialog.
* Make exception handling more general in InstallDialog.
* Fix the title of PathEdit file selection dialog.
2021-06-24 20:07:18 +03:00
Stelios Tsampas
90ac9a1574 Re-implement LoginDialog. 2021-06-24 20:07:18 +03:00
Tabulate
9dcba184d0
Fix green button hardcoding (#87)
* Fix green button hardcoding and add material design stylesheet

* rebase onto dev
2021-06-24 10:03:35 +02:00
Dummerle
98386f0bbb Add button to search bar in shop main widget 2021-06-20 22:22:36 +02:00
Dummerle
52bea4e43f Add warning, if desktop link not supported 2021-06-20 22:03:14 +02:00
Dummerle
a5997f62ab replace os.name with platform.system() to differentiate between mac and linux 2021-06-20 21:55:31 +02:00
Dummerle
38cf30417b Fix bug with psutil Zombie Process 2021-06-20 21:13:17 +02:00
Dummerle
303bcf998b Fix bug with psutil Zombie Process 2021-06-20 21:10:55 +02:00
Dummerle
beb181c175 Some fixes 2021-06-18 12:24:56 +02:00
Dummerle
72457c8b27 Load browse_games.py when tab clicked 2021-06-18 00:29:36 +02:00
Dummerle
374e8193ac Fix weird bug with images in ImageLabel 2021-06-18 00:17:01 +02:00
Dummerle
e7038be33a Better Code to browse games, use PIL images to save smaller 2021-06-17 00:34:23 +02:00
Dummerle
c0f4577870 Add tags in shop_info.py 2021-06-16 19:03:18 +02:00
Dummerle
9fb63e4360 Some fixes 2021-06-15 23:50:51 +02:00
Dummerle
421451b140 Fix bug 2021-06-15 18:31:33 +02:00
Dummerle
2549d92fe3 Fix cloud saves bug and some protondb fixes 2021-06-15 18:26:58 +02:00
Dummerle
7cf4f15122 Fix bug if change filter too fast 2021-06-14 23:17:21 +02:00
Dummerle
6b32b28240 Fix savepath in sync_widget.py 2021-06-14 22:33:53 +02:00
Dummerle
c063e9a92a Add browse games function 2021-06-14 22:30:57 +02:00
Dummerle
0f6a4c5ae6 Fix Cload save bug, if save_path is None 2021-06-14 20:22:39 +02:00
Dummerle
e1bef2a47c Fix offline mode 2021-06-13 20:57:51 +02:00
Dummerle
c077e57a26 Read games from api 2021-06-13 15:06:29 +02:00
Dummerle
0d0b858a8f Optimize search requests and option to cache images 2021-06-13 14:33:17 +02:00
BuildTools
254a8a48e7 Fix developer and title of some games 2021-06-13 00:05:14 +02:00
Dummerle
0246b96c40 Fix offline mode 2021-06-12 00:29:55 +02:00
Dummerle
bc6b9e5ae2 Added other games,set type to scrollarea 2021-06-11 13:37:09 +02:00
Dummerle
bd6e195e37 Fix some bugs with images 2021-06-11 12:56:25 +02:00
Dummerle
676c253a13 Some improvements 2021-06-10 19:58:35 +02:00
Dummerle
337b738599 Nice look of search results; better look for shop info; added ImageLabel in extra_widgets.py 2021-06-10 14:13:28 +02:00
Dummerle
9d02187d2f Add requirements for shop 2021-06-09 23:12:49 +02:00
Dummerle
6355dd47c1 Add support for bundles 2021-06-09 13:25:57 +02:00
Dummerle
44b7a0a37f Show images on shop game widget; move shop models to shop_models.py 2021-06-09 13:08:25 +02:00
Dummerle
0cca799ae5 Remove wine rating from installed_list_widget.py 2021-06-09 12:07:37 +02:00
Dummerle
89afebd9fd Show search results: Not pretty: no images 2021-06-09 00:00:00 +02:00
Dummerle
838783c1fb Show error message and warnings after core.prepare_download 2021-06-07 15:42:49 +02:00
Dummerle
bcce9487cd Shop info works now 2021-06-04 18:16:27 +02:00
Dummerle
f8b467cd6d Add ~/.steam/compatibilitytools.d in find_proton_wrappers() 2021-06-04 12:03:27 +02:00
Dummerle
654788410a Shop info does not work, but the app does not crash 2021-06-04 00:01:54 +02:00
Dummerle
21e3478c1b Delete dialogs on close 2021-06-03 23:33:36 +02:00
Dummerle
b31080a5ae Add basic store 2021-06-03 23:23:55 +02:00
Dummerle
7b44b91b72 Show error, if sync failed 2021-05-31 11:55:54 +02:00
Dummerle
d6f826cd0d Merge branch 'main' of github.com:Dummerle/Rare 2021-05-30 00:38:00 +02:00
Dummerle
460b8cf534 Fix endless sync download on error; auto sync on game installed 2021-05-30 00:37:40 +02:00
Dummerle
a2bc9ced09
Merge pull request #63 from loathingKernel/dialogs
Redesign Install/Update dialog
2021-05-27 13:14:27 +02:00
Dummerle
77dc6edd71 Fix library reload bug 2021-05-27 12:58:34 +02:00
Stelios Tsampas
9a307856f6 Ensure the result signal has been connected 2021-05-26 15:40:23 +03:00
Stelios Tsampas
5b2cc055ff Close at the correct signals 2021-05-25 23:52:25 +03:00
Stelios Tsampas
0200347e72 Convert InstallDialog to modeless so it doesn't block the main UI any more. 2021-05-25 23:52:25 +03:00
Stelios Tsampas
c1d5c98945 Disable cancel button when thread is running. 2021-05-25 23:52:25 +03:00
Stelios Tsampas
e019c2ab7e Don't disable cancel button, wait for thread instead. 2021-05-25 23:52:25 +03:00
Stelios Tsampas
fd84065fcb Add verify button to not block on every change.
Add some behavioral safeguards until thread can be stopped.
2021-05-25 23:52:25 +03:00
Stelios Tsampas
181636f2be Connect all widgets to the get_download_info function. 2021-05-25 23:52:25 +03:00
Stelios Tsampas
b0ec5c5fcb Move all download preparations inside InstallDialog.
InstallDialog now returns a InstallQueueItemModel ready
to be downloaded or queued.

Renamed a few model attributes to match legendary's names.

InstallDialog can be run silently for auto-downloads.
2021-05-25 23:52:25 +03:00
Stelios Tsampas
376d3e0eba Don't use global threadpool as it gets deleted when exiting the dialog
Woops...
2021-05-25 23:52:25 +03:00
Stelios Tsampas
148cf0ff8e Add models for the download queue.
The addition of download_only option broke the download queue
due to different positional arguments and tuple indices. Since
using indices is awkward, models to represent the download
and each item in the queue itself were added.
2021-05-25 23:52:25 +03:00
Stelios Tsampas
494e078522 Fix remaining issues with the install dialog.
* Fix race condition between the sdl checkboxes.
* Fix default tag not been included in the list of tags.
* Delete InstallDialog on close.
* Specify parent for InstallDialog.
2021-05-25 23:52:25 +03:00
Stelios Tsampas
eb461529f7 While we are here, adjust UninstalledInfo to match GameInfo. Make it easier to unify them in the future. 2021-05-25 23:52:25 +03:00
Stelios Tsampas
1131edda20 Add selective downloads 2021-05-25 23:52:25 +03:00
Stelios Tsampas
5ccf73d737 Update install dialog and remove the extraneous install info dialog 2021-05-25 23:52:25 +03:00
Dummerle
432cdede3a Add logir buttons with functions; optimize repair 2021-05-22 20:28:50 +02:00
BuildTools
0b74eb95e6 Some fixes for Windows 2021-05-21 16:22:30 +02:00
Dummerle
3a39bac09c Reformatting and update german translation 2021-05-21 13:40:10 +02:00
Dummerle
9edfd302bd
Merge branch 'main' into dev 2021-05-21 13:20:58 +02:00
Dummerle
2e148aebff Add protondb grades and option to disable it 2021-05-21 13:09:26 +02:00
Dummerle
d50ccc6e55 Add option for download only 2021-05-20 23:00:38 +02:00