Commit graph

8877 commits

Author SHA1 Message Date
Mathieu Comandon
59151f0cbe Some simplifications / refactorizations 2023-09-14 14:57:58 -07:00
Mathieu Comandon
23c413322f Remove ability to cancel runtime updates 2023-09-14 13:53:36 -07:00
Mathieu Comandon
038fbb2d66 Remove all_levels + unneeded exception (make config.py as small as possible!) 2023-09-14 13:24:00 -07:00
Mathieu Comandon
9867b8215b Show progress for runtime downloads 2023-09-14 12:38:11 -07:00
Mathieu Comandon
e2fee9f38a Remove migrate() from init dialog, already in Application 2023-09-13 19:03:03 -07:00
Mathieu Comandon
7a3884f4a1 Typing and refactoring 2023-09-13 18:59:28 -07:00
Mathieu Comandon
faccec5721 Standardize Pico8 installation 2023-09-13 17:22:44 -07:00
Mathieu Comandon
7cda2ff51a Typo fix, remove extra return statement, take note of code ugliness 2023-09-12 18:01:20 -07:00
Mathieu Comandon
58dfa870fe Load default runner versions from versions.json 2023-09-12 17:13:41 -07:00
Mathieu Comandon
af9ceaa31a Remove extra os.path.join 2023-09-11 20:25:25 -07:00
Mathieu Comandon
0bd92fbbdb Save runner versions to cache 2023-09-11 20:18:33 -07:00
Mathieu Comandon
afe6639ee1 Update lutris.spec to use Meson 2023-09-11 19:01:08 -07:00
Mathieu Comandon
1488dcb73d Revert "Distinguish between service type and service ID, where the ID contains extra information to distingish between different service accounts"
This reverts commit 5eb0d11dfa.
2023-09-06 22:30:59 -07:00
Mathieu Comandon
e14ad284a6 Revert "Rename id to service_id as id is a reserved keyword"
This reverts commit e06508566e.
2023-09-06 22:30:30 -07:00
Mathieu Comandon
56fdb6e0f1 Fix filtering in unpack_dependencies 2023-09-06 22:10:11 -07:00
Mathieu Comandon
e06508566e Rename id to service_id as id is a reserved keyword 2023-09-06 21:51:55 -07:00
Yuki Schlarb
5eb0d11dfa Distinguish between service type and service ID, where the ID contains extra information to distingish between different service accounts 2023-09-06 20:58:58 -07:00
Mathieu Comandon
3c6245546c Create folder for Ubisoft auth files (Fixes #5011) 2023-09-06 19:54:15 -07:00
Mathieu Comandon
b88f9b9612 Update path for Steam flatpak (Fixes #3248) 2023-09-06 19:20:00 -07:00
anatoly techtonik
6e45eae2c6 Detect config from Steam snap
https://github.com/canonical/steam-snap
2023-09-06 19:14:58 -07:00
Mathieu Comandon
595b53a25e Update DLL manager version file when new version is downloaded 2023-09-06 00:53:35 -07:00
Daniel Johnson
80719ab5a7 Enable the 'break' keystroke to stop a running game.
GTK calls it break, but it's ctrl-pause on my keyboard.

This is useful when a game won't go of the mouse, but the keyboard can be used. Deus Ex: Human Revolution does this; this keystroke will let me kill it and get control again.
2023-09-03 13:21:28 -04:00
Daniel Johnson
66f58f2770 Re-enable the keyboard short 'del' to remove games.
No need for a signal for this, we can use the GameActions.
2023-09-03 12:59:15 -04:00
Daniel Johnson
097b076694 Merge remote-tracking branch 'origin/master' 2023-08-29 08:56:31 -04:00
Daniel Johnson
8cd0c27346 Downloader should stay cancelled!
If you cancel a download this can result in an error- it closes the file, which can result in an exception from the download. If this happens, we should report this as cancelled, not an error.

This way, the multi-file download UI will not retry automatically, but will just cancel out.
2023-08-29 08:56:25 -04:00
Mathieu Comandon
25d1320467 Remove unused tmp_path setting 2023-08-28 19:15:22 -07:00
Mathieu Comandon
0281d1520c Define search_call earlier in the __init__ method since it gets accessed in the methods initializing it 2023-08-28 18:07:47 -07:00
Mathieu Comandon
9edc777145 That's plain disrespectful 2023-08-27 12:33:37 -07:00
Mathieu Comandon
7613f995ff You don't say (insert Nicolas Cage meme) 2023-08-27 12:31:45 -07:00
Mathieu Comandon
9e604ec008 Remove CLI arguments from tooltips 2023-08-27 12:26:42 -07:00
Daniel Johnson
5455b54def get_platform() will now return None for MAME if MAME is not ready to provide platform data yet.
This avoids a crash when supplying missing platforms during startup. A later start-up should succeed though- MAME will have eventually generated the missing XML file.

Resolves #5003
2023-08-27 09:28:59 -04:00
Daniel Johnson
e36219f7cb Placate flake8!
Yes, I'm going to keep using that commit message until a better one comes along.
2023-08-26 08:00:30 -04:00
Daniel Johnson
9f9709d868 Fix text scaling issue when 'Missing' badges are shown.
Resolves #4988

We need to take special effort to restore the scaling after drawing the missing badge, or all text after that is rendered too small.

It's weird, but the integration between Pango and Cairo is not too clean and needs help.
2023-08-26 07:59:22 -04:00
Daniel Johnson
3d0098f2ce Merge remote-tracking branch 'origin/master' 2023-08-26 07:49:45 -04:00
Daniel Johnson
a2ec0a11a6 Hide 'Missing' badge along with platform badges 2023-08-26 07:49:39 -04:00
Mathieu Comandon
713a083f98 Move get_missing_games outside of the init method 2023-08-26 02:17:27 -07:00
Mathieu Comandon
b5adcf3ca0 Minor fixes 2023-08-26 02:11:48 -07:00
Mathieu Comandon
41e71caa2a Add typing to string module 2023-08-26 01:54:48 -07:00
Mathieu Comandon
fcf8c45f6f Update Nvidia minimum version to something more current 2023-08-26 01:30:09 -07:00
Mathieu Comandon
6fc6d9512a Add mypy to checks 2023-08-26 01:07:48 -07:00
Mathieu Comandon
2f066a1339 Fix Mypy issues 2023-08-26 01:02:28 -07:00
Mathieu Comandon
724b7623ae Avoid logging GPU info on startup 2023-08-26 00:53:25 -07:00
Alex Lowe
9f466f49ec Sample mypy configuration (with baselines)
This was brought up by discussion in #4866 about
use of type annotations - here's how I'd handle mypy
to hopefully have it provide utility without causing
headaches.
2023-08-26 00:16:44 -07:00
Mathieu Comandon
ca572aec9a Make default resoution configurable 2023-08-26 00:12:44 -07:00
JulienDlq
60a82e5a98 Update README.rst 2023-08-25 22:45:57 -07:00
JulienDlq
0ce7155a2a Update application.py 2023-08-25 22:45:57 -07:00
Mathieu Comandon
d83234b423 Remove 32bit dependencies from the install guide 2023-08-25 18:22:19 -07:00
Mathieu Comandon
97600fdca7 Remove 'and' between hours and minutes 2023-08-25 17:00:39 -07:00
Daniel Johnson
011024c1f2 Mark a few overlooked things as requiring translation. 2023-08-25 16:58:19 -04:00
Mathieu Comandon
55d65d00c0 Tell the truth 2023-08-24 16:07:39 -07:00