1
0
Fork 0
mirror of synced 2024-09-29 17:02:20 +13:00
Commit graph

963 commits

Author SHA1 Message Date
loathingKernel
d7a5404517 VerifyWorker: Move to rare/shared/workers
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-02-04 17:38:06 +02:00
loathingKernel
c5e2893f64 UninstalledInfoTabs: Remove
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-02-04 17:38:06 +02:00
loathingKernel
a58e385f8b GameInfo: Add all currently available tabs to GameInfo
Prepares for removal of dedicated UninstalledGameInfo tab

Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-02-04 17:38:06 +02:00
loathingKernel
4239acea24 GameDlc: Replace double inheritance with UI member class
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-02-04 17:38:06 +02:00
loathingKernel
652968b6bf RareGame: Introduce RareGame from refactor_backend branch
Shared: Move WineResolver to `rare/shared/workers`
PathSpec: Move to `rare/models`

Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-02-04 17:38:06 +02:00
lanmaster53
db1691b694
Fixed a bug that caused a UI crash on Mac-based systems. (#267) 2023-02-04 15:23:07 +01:00
lennard
41be89cbb5
Update translations 2023-01-31 19:27:59 +01:00
lennard
afea6a663a
Make error text in install dialog selectable 2023-01-27 15:51:00 +01:00
lennard
f210d7df60
Bump version 2023-01-22 21:14:18 +01:00
lennard
7d0ac98a7c
Add a workaround for Fall Guys 2023-01-09 18:12:44 +01:00
lennard
e46ae0f91e
Fix "Offline" text in account widget 2023-01-08 20:41:02 +01:00
lennard
16775fb661
Bump version 2022-12-08 21:33:31 +01:00
ondrej.ivanko
de236ea397 fix ValueError: 'mutable default X for field indirect_status is not allowed: use default_factory' 2022-12-05 20:09:17 +01:00
lennard
a90d6ba7c8
Fix too high download speed 2022-12-01 00:12:12 +01:00
lennard
f31d9424bc
Bump version 2022-11-04 22:09:28 +01:00
loathingKernel
cb49e8b678 Integrations: EOS -> Epic Overlay 2022-11-04 02:44:45 +02:00
loathingKernel
b84d8a5c67 ImportSync: Rename to Integrations due to expanding their use. 2022-11-03 22:50:21 +02:00
loathingKernel
61749f9acd EOSWidget/UbiActivationHelper: Move them from Settings to ImportSync 2022-11-03 22:34:50 +02:00
loathingKernel
692ffa99bc CollapsibleWidget: Resize the widget when contents change
Currently this is achieved by toggling the checked state twice
in a programmatic way. This ensures correct animations until
a better solution is found.

In addition, now both CollapsibleFrame and CollapsibleGroupBox
inherit their common methods from the abstract class CollapsibleBase.
2022-11-03 21:23:48 +02:00
loathingKernel
da79519e80 GameListHeadBar: Combine the "Import" and "EGL Sync" buttons into a menu
The "EOS and Ubisoft" tab is currently empy
2022-11-03 14:53:58 +02:00
loathingKernel
891804ae37 AccountWidget: Remove dead signals after the offline mode fix
Signals, if they carry the same datatype, can be chained simply
with `signal.connect(othersignal)` without the need to use a `lambda`
expression and `emit()`

TabWidget: Fix error because the `exit_app` signal was called directly
2022-10-31 17:00:01 +02:00
loathingKernel
435d560b5c InstallDialog: Update the collapsible widget to take a widget instead of a layout
This change makes it more inline with how QScrollArea operates on a central widget.
Other changes include using a QFrame instead of a QWidget as a base and
adding a QLabel for the title instead of the horizontal line.

The advanced options were split into their own separate widget. Right now
their class operates only as a container with the logic remaining in the
InstallDialog.
2022-10-31 16:59:55 +02:00
loathingKernel
ae43fd7ea3 StyleSheets: Apply padding to QGroupBox 2022-10-29 14:50:18 +03:00
loathingKernel
eae2bdaa8a StyleSheets: Add padding to checkable QGroupBox to align it 2022-10-29 14:50:18 +03:00
loathingKernel
5370355e5d Lgndr: Restructure module to follow legendary's file hierarchy
Move overloaded class files into the folders following
legendary's structure. Move Rare's integration classes into
their own subfolder.
2022-10-29 14:50:18 +03:00
loathingKernel
e6ff2bb41e ImportGroup: Enable the button when "Import DLCs" changes 2022-10-29 14:50:18 +03:00
loathingKernel
a5c8d92e24 Application: set HiDPi scaling attribute 2022-10-29 14:50:18 +03:00
loathingKernel
9fcb924ae8 Widgets: Correct CollapsibleWidget name 2022-10-29 14:50:18 +03:00
loathingKernel
47b474a31a StyleSheets: Remove last use of custom noBorder property
Instead, use `QFrame.NoFrame` as `FrameShape` to set `0px` border width.
2022-10-29 14:50:18 +03:00
lennard
ca45c62414
Fix offline mode 2022-10-29 12:23:50 +02:00
lennard
e208daf545
Fix wrong import from migration 2022-10-26 21:57:04 +02:00
lennard
923aa1b90d
Migrate to legendary 0.20.30 2022-10-26 21:36:16 +02:00
lennard
59f134f815
Bump version 2022-10-23 22:58:38 +02:00
lennard
97157646a1
Fix some translation strings 2022-10-23 22:52:49 +02:00
lennard
8e721cc324
Include Origin games in get_wine_prefixes() 2022-10-23 22:52:39 +02:00
loathingKernel
3291100709 InstallDialog: Set irrelevant widgets as disabled.
Do not hide irrelevant options, show them as disabled instea.
This like the install directory are still informational despite
not being editable.

Also homogenize variable and widget naming.
2022-10-23 21:36:44 +03:00
loathingKernel
c1a008dce1 MainWindow: Don't connect to the global exit signal
Instead of connecting to the global `exit_app` signal, pass the signals
through their respective widgets. Because signals are queued by
default, this ensures that slots are executed in the order they are
connected. Makes it cleaner to do cleanup procedures where they should
make sense, unlike the global signal, where it has to be inferred by
the widget instantiating order.
2022-10-23 16:08:27 +03:00
loathingKernel
3c413c4e1f AccountWidget: Refuse to logout if there are active downloads
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-10-23 00:54:11 +03:00
loathingKernel
28b2b7ea9b MainWindow: Handle active downloads when exiting through WM's close button.
When the closed through the WM's close button, `closeEvent()` is
 used directly. In this case the dialog in the `on_exit_app`
slot was skipped.

There is a mishandled case. If coming from logout while there
is an active download (Yes to logout -> No to stop download)
we end up in a weird state which I haven't investigated yet.

Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-10-23 00:01:30 +03:00
loathingKernel
ef65e8ce09 DownloadsTab: Show the update version of InstallDialog if it is an update
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-10-22 15:44:22 +03:00
loathingKernel
e9fab53aff UninstallDialog: If the game has selectable downloads, default to keeping configuration
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-10-22 15:41:49 +03:00
Stelios Tsampas
53cab3ecb9 GameInfo: Add missing space 2022-10-19 17:53:37 +03:00
lennard
b6786171ae
Fix game launch on windows 2022-10-18 23:02:38 +02:00
lennard
68868c6259
Set game to not running, if an error occurred 2022-10-18 21:26:48 +02:00
lennard
378d876c3b
Add Ukrainian language 2022-10-17 20:00:46 +02:00
lennard
4cadc263e6
Fix --skip-update-check option for launch helper 2022-10-01 00:45:22 +02:00
lennard
a55ad96fbc
bump version 2022-09-27 22:22:07 +02:00
lennard
ebd567e665
Disable pypresence settings if not installed 2022-09-27 21:55:57 +02:00
lennard
fbd16b99ae
Update translations 2022-09-27 21:48:44 +02:00
lennard
780bd798a9
Rename rare code name to new name 2022-09-27 21:10:44 +02:00
lennard
24774b07c0
Fix move game on Windows 2022-09-27 21:09:41 +02:00
lennard
829da4f93b
Bump version 2022-09-19 23:10:03 +02:00
Dummerle
5d24c672b2 Catch Permission errors, when disabling and enabling EOS overlay 2022-09-19 01:00:17 +02:00
loathingKernel
83551f9b9e DownloadThread: Don't mark prerequisites as installed if the user selected not to install them
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-09-18 20:52:59 +03:00
Stelios Tsampas
0960cbbdd3 DownloadThread: args is a string! 2022-09-18 15:07:42 +03:00
Stelios Tsampas
14eda1c246 DownloadThread: Weirdly setNativeArguments doesn't exist despite the docs saying that is should be available on Windows 2022-09-18 12:52:15 +03:00
loathingKernel
2f5da4e628 GameLaunchHelper: actually exit when game has finished 2022-09-16 17:33:26 +03:00
loathingKernel
1137d75e79 Lgndr: Update to legendary 0.20.29 2022-09-16 15:26:31 +03:00
loathingKernel
7d2e1ddac2 Lgndr: Keep legendary's logger name 2022-09-13 12:38:43 +03:00
loathingKernel
e621955a22 RareSettings: Handle permission error when deleting logs 2022-09-13 12:38:43 +03:00
Stelios Tsampas
9d28680804 Build: enable console output on windows if it is a test build 2022-09-13 12:38:43 +03:00
Dummerle
e45f392652
Bump version 2022-09-12 17:23:09 +02:00
loathingKernel
f7e9375964 LaunchDialog: Make the split 75/25 2022-09-11 19:45:17 +03:00
loathingKernel
cf5fd415e5 LaunchDialog: Add a middle-ground solution for concurrent image downloads 2022-09-11 14:51:37 +03:00
loathingKernel
52108688d3 LaunchDialog: Use ElideLabel for progress information 2022-09-10 22:42:47 +03:00
Stelios Tsampas
cbf4c38564 Redirect stdout and stderr to os.devnull if we are in a frozen GUI application form 2022-09-10 22:05:00 +03:00
Stelios Tsampas
7a1935335e GameInfo: Work-around slowdown on widget update_game() request 2022-09-10 19:04:40 +03:00
Stelios Tsampas
21ea2af8e1 App: Move timer initialization after LaunchDialog has finished 2022-09-10 18:07:32 +03:00
Stelios Tsampas
74a3d9458d LaunchDialog: Show validation progress separately from download progress. 2022-09-10 17:27:37 +03:00
Stelios Tsampas
cc74767f0a App: Move verification requirement check into launch dialog 2022-09-10 15:33:48 +03:00
Stelios Tsampas
c3e192cbbe Add requirements-full.txt with everything 2022-09-09 20:49:30 +03:00
loathingKernel
b7b96f79b2 Apply fix for "403 Client Error" by applying pending https://github.com/derrod/legendary/pull/477 2022-09-08 20:43:03 +03:00
loathingKernel
c8586d2beb Always return the absolute path to the exectuble 2022-09-08 20:25:55 +03:00
loathingKernel
70328d6472 Console: Minimize instead of keeping open if game is running
DesktopShortcuts: Normalize StartWMClasss with application name
2022-09-08 16:57:43 +03:00
Stelios Tsampas
afcb3f7e7a GameLaunchHelper: Allow closing the window only if the application has exited or crashed 2022-09-08 16:02:17 +03:00
Stelios Tsampas
8d9f02eab5 Initialize logging in RareApp and log both Rare and GameLaunchHelper 2022-09-08 15:33:36 +03:00
Stelios Tsampas
e4638c2fa3 Console: Center window on show() 2022-09-08 13:34:47 +03:00
Stelios Tsampas
c6b9f5c64f Fix shortcut creation on windows 2022-09-08 13:16:15 +03:00
Stelios Tsampas
7ebeee0d1e App: Log both to file and to stderr 2022-09-08 02:13:10 +03: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
377fd486dc stupid quotes 2022-09-07 20:46:56 +03:00
Stelios Tsampas
6a2af0be7c Quote executable path for Windows 2022-09-07 19:19:14 +03:00
loathingKernel
5029921b09 Move a bunch of class attributes to instance attributes 2022-09-07 18:21:50 +03:00
Dummerle
26e8a235cc
Bump version 2022-09-05 22:55:50 +02:00
Dummerle
4f91c6b422
Move widgets and uninstalled_games attributes to __init__() 2022-09-05 22:46:44 +02:00
Dummerle
333bb40ad7
Fix wrong origin classification for ue plugins without assets 2022-09-05 20:50:10 +02:00
Dummerle
0d43f1103d
Include source directory, when running from source 2022-09-05 20:18:40 +02:00
Dummerle
4a28fd3d0d
Fix config_helper.py 2022-09-04 22:49:43 +02:00
loathingKernel
aa9cf4c5b5 GameLaunchHelper: Remove LegendaryCoreSingleton usage 2022-09-04 21:40:41 +03:00
loathingKernel
1ebd0b18d8 Introduce a very basic RareCore to handle signletons and their cleanup. 2022-09-04 20:39:03 +03:00
loathingKernel
7020141148 LaunchDialog: Move update check before login() 2022-09-04 19:51:23 +03:00
loathingKernel
afcdc1dea1 App: Move legendary initialization to the singleton
App: Move tray to MainWindow
Shared: Add destructor for singleton instances
2022-09-04 01:14:43 +03:00
loathingKernel
4951743bbf ConfigHelper: Protect name space from globals 2022-09-02 17:53:56 +03:00
loathingKernel
0a89f0e0b8 Make launch and alias for start 2022-09-02 13:17:05 +03:00
loathingKernel
48867a8656 DebugSettings: Add restart button, thanks Dummerle! 2022-09-02 00:31:10 +03:00
loathingKernel
dfb388a9ba App: Do a bit more cleanup to avoid crashes 2022-09-02 00:20:04 +03:00
loathingKernel
3c5575fda9 LaunchDialog: Don't explicitly delete LoginDialog 2022-09-02 00:04:39 +03:00
loathingKernel
345ee443ed ImportLogin: Only add the first part of the split 2022-09-02 00:02:20 +03:00
loathingKernel
b3348a1eca ImportLogin: Check if programdata is set 2022-09-01 23:48:30 +03:00
loathingKernel
0388d4bf9d ImportLogin: Fix failure to login using EGL data 2022-09-01 22:49:09 +03:00