Commit graph

202 commits

Author SHA1 Message Date
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
922c7680cf Add winemenubuilder to dll overrides in test 2021-10-16 11:42:36 -07:00
Christian Clauss
cdea86c9b4 Placate flake8 2021-08-02 13:44:18 -07: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
2f170e961f Fix process watcher 2021-02-15 19:36:13 -08:00
Mathieu Comandon
838b46d0e1 Further configuration to skip initialization during tests 2021-02-15 16:23:07 -08:00
Mathieu Comandon
449a00d390 Simplify process watcher 2021-02-02 22:54:09 -08:00
Mathieu Comandon
6131f50a25 Add tests for get_formatted_playtime 2021-01-13 21:12:42 -08:00
Mathieu Comandon
427ef2f8ec Allow downloading of GOG extras (Closes #2945) 2020-10-11 17:10:19 -07:00
Mathieu Comandon
5b9d55d08d Implement save button for logs (Closes #1988) 2020-10-05 23:17:13 -07:00
Mathieu Comandon
0ff96b94ab Sort by suffix first for versions (Closes #3059) 2020-10-05 22:18:10 -07:00
Mathieu Comandon
c6e017f36a Move game bar to the bottom 2020-10-03 04:51:11 -07:00
Mathieu Comandon
6fc9335015 Delegate service media downloads to MediaLoader 2020-10-03 04:51:11 -07:00
Mathieu Comandon
b3236a99d3 Migrate hidden field to database 2020-10-03 04:51:11 -07:00
Mathieu Comandon
d6c81d7977 Deprecate pga module and create database package 2020-10-03 04:51:11 -07:00
Mathieu Comandon
8b1f8d84c0 Remove test for select parameter in pga.get_games 2020-10-03 04:51:11 -07:00
Mathieu Comandon
9aa6b7eb92 Merge branch 'master' into file-picker 2020-07-19 17:21:57 -07:00
Jordan Christiansen
105cb10cbb Add a failing test for slugify
slugify removes all non-ASCII characters. For names that contain only
non-ASCII characters, this is a problem.
2020-07-13 21:00:06 -07:00
Mathieu Comandon
764033fcd3 Remove check for __all__ presence + other fixes 2020-07-11 22:53:10 -07:00
Austin Pua
89eb62dbeb Add tests for pcsx2 runner 2020-06-26 16:28:25 -07:00
Jordan Christiansen
ad50383e5e scummvm: Add custom data dir runner option
By default, the scummvm runner looks up the data directory relative to
the executable. It expects it to be at ../share/scummvm. That works for
a system-installed version of scummvm, where the binary is in /usr/bin
and the data is in /usr/share/scummvm. However, we shouldn't make
assumptions about the directory structure for a custom executable.

This allows setting a custom data directory in addition to the custom
executable.
2020-05-30 11:48:29 -07:00
Mathieu Comandon
546d2e4b29 Merge branch 'master' into file-picker 2020-05-29 21:29:31 -07:00
Jordan Christiansen
d431ff3778 Prevent potential sql injection in get_game 2020-05-06 16:36:56 -07:00
Alexandru-Rudi Mățău
f6651bff34 Updated wrapper and tests 2020-04-27 19:52:01 +03:00
Wouter Wijsman
a13cde1303 Updated test to new path
I couldn't test this
2020-03-22 12:33:00 -07:00
Mathieu Comandon
26e476cea3 Gather installer files before installation, present them to the user 2020-01-27 19:37:19 -08:00
Aaron Opfer
d7771ae87e lutris-wrapper: poll for game start and exit
Instead of depending on direct descendants of our process exiting as
a signal for checking the process tree, poll 10 times a second
instead. This allows us to build some sensible "game start detection"
which fixes behaviors when the initial game process is considered
excluded (such steam/winesteam games).

It has a minor consequence of making lutris-wrapper much more
complicated. I tried my best to add some comments to explain what
is going on. I also added another test.
2020-01-01 14:18:07 -08:00
Aaron Opfer
d394a1750f lutris-wrapper: setproctitle to game name
Makes it slightly easier to identify what game a particular
lutris-wrapper instance is responsible for.
2019-12-27 15:25:21 -08: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
Aaron Opfer
16a530ec43 lutris-wrapper: send sigkill if we get 2 sigterms
If `lutris-wrapper` receives and processes a `SIGTERM` but then receives another one, kill all tracked children with `SIGKILL`. This feature is a part of the work necessary to fix #1798.

Added a test for `lutris-wrapper`.
2019-03-14 20:28:01 -07:00
Mathieu Comandon
dd382a06ba Move parse_installer_url to api module 2019-02-07 09:22:07 -08:00
Mathieu Comandon
6e5ae75aec Minor cleanup 2019-01-23 06:41:10 -08:00
Mathieu Comandon
91397f58e7 Move DownloadDialog to the dialogs package 2019-01-18 15:15:56 -08:00
Mathieu Comandon
3c5873c1f5 Move startup checks to their own module 2019-01-16 22:39:06 -08:00
Mathieu Comandon
a635849253 Add parser for glxinfo 2019-01-16 18:51:33 -08:00
Mathieu Comandon
33279735fb Add glxinfo and vulkaninfo examples for Nvidia 2019-01-16 16:55:01 -08:00
Mathieu Comandon
fe655fb037 Add example of AMD vulkaninfo 2019-01-16 16:52:10 -08:00
Mathieu Comandon
392f35e1ec Add example of AMD glxinfo output 2019-01-16 16:50:56 -08:00
Mathieu Comandon
7be6264aad Return better formatted play times (Closes #1562) 2019-01-12 02:24:03 -08:00
Mathieu Comandon
39645c0a4a Split config dialog classes in modules 2018-12-21 02:26:14 -08:00
Mathieu Comandon
3c6d019040 Remove calls to threads_init 2018-12-14 21:31:17 -08:00
Mathieu Comandon
4af3b6b68b Create util.wine package 2018-11-18 22:55:28 -08:00
Mathieu Comandon
f06b1d41d4 Create utility package for Steam 2018-11-18 22:21:47 -08:00
Mathieu Comandon
96a78ffafa Don't make GOG field mandatory 2018-11-18 17:53:10 -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