Commit graph

52 commits

Author SHA1 Message Date
Mathieu Comandon 38fbe9f05e Ruff reformat 2024-02-24 21:02:06 -08:00
Mathieu Comandon 85444a0b77 Rename common.py to game_common.py 2023-12-28 15:29:42 -08:00
Daniel Johnson 382d5681d5 Fix "scope" option and restore "Default installation folder"
This was the only option to use the 'scope' feature, and in 0.5.14 it was available in system and runner options, but not games.

This fix restores that behavior.

The trick is to pass the config_level through to the various option boxes, not just the config_section. The first is which dialog you are in (roughly) and the second is which tab.
2023-12-12 18:47:46 -05:00
Mathieu Comandon 021a687fea Build a cache with game paths 2023-01-30 19:25:16 -08:00
Daniel Johnson bcc69327cc Placate flake8!
These imports were using for tests that have been removed.
2022-10-30 15:00:25 -04:00
Mathieu Comandon 90b83caa4a Remove broken tests 2022-10-25 11:15:32 -07:00
Alexander Ravenheart f5e8e007b3 - Replaced pipenv with poetry
- Updated min version check in setup.py to Python 3.6
- Updated isort config file and calls to align with v5.x
- Added init-hook for gi imports in .pylintrc to avoid invalid no-member issues
- Makefile: added lock, show-tree, bandit, black, mypy; updated test, cover, dev, isort, autopep8, check, isort-check, flake8, pylint; removed req, requirements;
- Updated .travis.yml to use poetry and make
- Added my email in AUTHORS
- Updated CONTRIBUTING.md
- Updated lint_python.yml to use poetry and make, reorganized instructions to have all install related steps first
- sorted imports: lutris, lutris-wrapper, cleanup_prefix.py and multiple files in tests dir
2021-11-17 21:17:43 -08:00
Mathieu Comandon ff33ab73c2 Fix tests 2021-04-26 22:42:38 -07:00
Mathieu Comandon 1d5569ba16 Fix unit tests 2021-02-19 15:44:12 -08:00
Mathieu Comandon 838b46d0e1 Further configuration to skip initialization during tests 2021-02-15 16:23:07 -08:00
Mathieu Comandon 427ef2f8ec Allow downloading of GOG extras (Closes #2945) 2020-10-11 17:10:19 -07:00
Mathieu Comandon d6c81d7977 Deprecate pga module and create database package 2020-10-03 04:51:11 -07:00
Mathieu Comandon 764033fcd3 Remove check for __all__ presence + other fixes 2020-07-11 22:53:10 -07:00
Jayme Howard 24582a348d Add an explicit assert in an attempt to placate CodeFactor 2019-05-18 15:49:04 -07:00
Jayme Howard 77c31f80b1 Fix sorting (Closes: #2046) 2019-05-18 15:49:04 -07:00
Mathieu Comandon 67451ef5f4 Remove file_chooser_dlg attribute on FileChooserEntry 2019-04-03 19:36:16 -07:00
Mathieu Comandon c4b56e54a6 Run lutris initialization earlier 2019-03-18 17:02:17 -07:00
Mathieu Comandon 6e5ae75aec Minor cleanup 2019-01-23 06:41:10 -08:00
Mathieu Comandon 3c5873c1f5 Move startup checks to their own module 2019-01-16 22:39:06 -08:00
Mathieu Comandon 39645c0a4a Split config dialog classes in modules 2018-12-21 02:26:14 -08:00
Mathieu Comandon acbd4681e2 Merge master in next (Warning: it's broken) 2018-11-06 22:19:45 -08:00
Mathieu Comandon ff01f29643 Fix FileChooserEntry tests 2018-10-18 20:36:25 -07:00
Patrick Griffis 86504710e8 gui: Kill off VBox/HBox usage 2017-06-18 19:51:11 -07:00
Mathieu Comandon 241f28fc54 Persist platforms to database to avoid major slowdowns 2017-04-06 22:17:05 -07:00
Mathieu Comandon dfe1dad1fe Update tests 2017-03-03 11:13:59 -08:00
Mathieu Comandon b1788f4e9e Make application a mandatory parameter of LutrisWindow + fix tests 2017-01-29 21:48:32 -08:00
Patrick Griffis 47589137d7 gui: Use template for application window 2017-01-02 21:40:05 -05:00
Mathieu Comandon b023c0ca92 Update tests for new dialog button label 2016-11-21 12:47:59 -08:00
Mathieu Comandon 2b2a9fe789 Fix tests 2016-08-04 15:49:38 -07:00
Xodetaetl 228e23586f Update test 2015-12-21 20:57:07 +01:00
Mathieu Comandon 3697c0f6f2 This test makes no sense 2015-11-28 14:03:24 -08:00
Mathieu Comandon c3559726cc Fix tests 2015-11-11 10:48:40 -08:00
Mathieu Comandon faba79f7ac Gtk structure differs between Ubuntu 14.04 and 15.10 2015-10-31 15:04:42 -07:00
Mathieu Comandon 41cd69e070 Test AddGameDialog button container classes 2015-10-31 14:56:29 -07:00
Mathieu Comandon a7b1bfceb5 Fix tests 2015-10-31 01:50:28 -07:00
Mathieu Comandon 014218f0dd Set parent window for AddGameDialog 2015-10-07 13:25:49 -07:00
Xodetaetl 966c5a05ff Update tests more 2015-10-01 12:08:14 +02:00
Xodetaetl 854a9a3eb1 Update tests (add game) 2015-09-30 19:48:02 +02:00
Xodetaetl 639ddbb26b Update tests 2015-05-04 14:55:06 +02:00
Xodetaetl 8451483c93 Renaming more stuff in LutrisConfig
Ok the term "config type" doesn't exist anymore :). Now it's "config
section", which is more explicit.

Other changes:

game > game_slug
runner > runner_slug

game_config > game_level
runner_config > runner_level
system > system_level

I sliced through a bigger bunch of changes to create this commit (for
clarity) but couldn't slice in an exactly meaningful way so there are
a couple places that only make sense with the next commit.
2015-04-22 18:57:56 +02:00
Mathieu Comandon ad1868d5ea Display slug in game info 2014-10-12 20:07:35 +02:00
Mathieu Comandon ea4b6739ca Add game info tab 2014-10-12 18:54:51 +02:00
Mathieu Comandon d8ada60596 Update tests 2014-10-09 22:20:30 +02:00
Mathieu Comandon 6540609d23 Right, we don't know what runner is actually installed 2014-08-18 12:22:41 +02:00
Mathieu Comandon b1f4954e7b Fuck you Jenkins, fuck you, DIAF 2014-08-18 12:19:36 +02:00
Mathieu Comandon 4094fab961 Dammit! 2014-08-18 12:17:11 +02:00
Mathieu Comandon c0620c4fe0 Create DATA_DIR for Mr. Jenkins 2014-08-18 12:15:47 +02:00
Mathieu Comandon 1ff4656f1a Ok, don't use test database then… 2014-08-18 12:05:23 +02:00
Mathieu Comandon b4f7df7d4f Use test database for tests 2014-08-18 12:02:35 +02:00
Mathieu Comandon 5db34df75e Test manual game creation 2014-08-18 11:02:19 +02:00