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
Yurii Kolesnykov
2cb47fdd5c
don't hardcode python3 path
2018-09-24 19:54:06 -07:00
Mathieu Comandon
2063b9d9ac
Merge branch 'master' into next
2018-05-22 10:38:19 -07:00
Mathieu Comandon
280ddbafcf
Revert 3df60ef51
and add test to prevent further breakage
2018-05-19 00:49:35 -07:00
Mathieu Comandon
2ef1c3706f
Merge branch 'master' into next
2018-05-14 17:55:23 -07:00
Mathieu Comandon
d21ea2f740
Fix registry parsing test
2018-05-14 09:30:36 -07:00
Mathieu Comandon
308e6741ae
Extract parse_version from version_sort
2018-05-08 02:50:49 -07:00
Mathieu Comandon
000cec595c
Remove attribute from ScriptInterpreter
2018-05-08 00:14:23 -07:00
Mathieu Comandon
1a750889a6
Fix substitutions on keys with dashes
2017-12-13 22:37:07 -08:00
Patrick Griffis
86504710e8
gui: Kill off VBox/HBox usage
2017-06-18 19:51:11 -07:00
Mathieu Comandon
1e82f2a889
Create migration to update lutris shortcuts urls
2017-05-15 23:43:56 -07:00
Mathieu Comandon
d36ff5cc1c
Add support for actions in Lutris urls
2017-05-15 10:01:48 -07:00
Mathieu Comandon
f41c4b7e6d
Remove PCSX-R runner
2017-05-14 18:03:35 -07:00
Mathieu Comandon
bcfa4f4a16
Fix get_overrides_env output
2017-05-03 22:26:26 -07:00
Mathieu Comandon
241312a4db
Implement basic layout of x360ce.ini files
2017-05-02 02:37:20 -07:00
Mathieu Comandon
f739fcd591
Add x360ce sample configs
2017-05-01 23:45:52 -07:00
Mathieu Comandon
e667c3a6c3
Update tests
2017-05-01 02:17:33 -07:00
Mathieu Comandon
d99e942557
Add version to test installers
2017-04-18 17:45:17 -07:00
Mathieu Comandon
f0d6563067
Fix tests for new installer structure
2017-04-13 19:33:12 -07:00
Mathieu Comandon
241f28fc54
Persist platforms to database to avoid major slowdowns
2017-04-06 22:17:05 -07:00
Mathieu Comandon
99614a470f
Fix registry parsing with keys ending with double backslashes ( Fixes #541 )
2017-03-13 21:08:12 -07:00
Mathieu Comandon
dfe1dad1fe
Update tests
2017-03-03 11:13:59 -08:00
Mathieu Comandon
bc01ab0347
Make codebase pass flake8
2017-03-02 19:28:05 -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
79bdc122fe
The installer section is not a string nor a dict
2016-10-31 17:11:55 -07:00
Mathieu Comandon
6f42b6366d
Add method to clear registry keys
2016-10-27 12:02:57 -07:00
Mathieu Comandon
412211be24
Test adding new keys to WineRegistry
2016-10-26 21:43:44 -07:00
Mathieu Comandon
2f582f3966
Fix WineRegistryKey to allow setting keys correctly
2016-10-26 21:27:09 -07:00
Mathieu Comandon
a619602130
Allow creation of WineRegistryKeys by definition or by path
2016-10-26 20:45:28 -07:00
Mathieu Comandon
b088d0593f
Also validate ~/.wine
2016-10-25 16:57:52 -07:00
Mathieu Comandon
4496b9a65f
Compare registries with Meld when they don't match
2016-10-25 16:55:50 -07:00
Mathieu Comandon
1a8f25fd1f
Remove registry temp file in tests
2016-10-25 16:20:38 -07:00
Mathieu Comandon
5bf06f1a19
Allow multiline values in registry subkeys
2016-10-25 15:26:40 -07:00
Mathieu Comandon
f00348f1f7
Catch prefix parsing errors
2016-10-25 14:59:01 -07:00
Mathieu Comandon
46ff0c2cde
Make check_prefixes executable
2016-10-25 14:56:47 -07:00
Mathieu Comandon
7c402022ab
Add tool to check real world prefixes
2016-10-25 14:53:49 -07:00
Mathieu Comandon
fa67361a68
Add render method to registry
2016-10-25 14:38:29 -07:00
Mathieu Comandon
ca9de01538
Convert WineRegistry keys to OrderedDict
2016-10-25 14:18:03 -07:00
Mathieu Comandon
1f535d0fb2
Test version and arch
2016-10-25 14:13:36 -07:00
Mathieu Comandon
7ea8795bd1
Rename WineRegistry values to subkeys
2016-10-25 13:52:45 -07:00
Mathieu Comandon
e4126f2c5d
Add render method to wine registry key
2016-10-25 13:46:53 -07:00
Mathieu Comandon
6ad63c45da
Add support for dword registry keys
2016-10-25 13:00:53 -07:00
Mathieu Comandon
01e3c5f637
Add metas to registry keys
2016-10-25 12:54:47 -07:00
Mathieu Comandon
63347be383
Handle registry timestamps as ints or floats
2016-10-25 12:38:01 -07:00
Mathieu Comandon
c01f2c9ccc
Add tests for WineRegistry
2016-10-25 12:12:40 -07:00
Mathieu Comandon
dda8db1e35
Add wine registry test fixtures
2016-10-25 11:50:40 -07:00
Mathieu Comandon
e01cb320b3
Add unpack_dependencies function
2016-10-20 15:48:33 -07:00
Mathieu Comandon
096714821f
Remove test for download_asset
2016-10-10 13:04:07 -07:00
Mathieu Comandon
d08c725708
Remove test for pga.set_installed_games
2016-09-28 17:24:07 -07:00
Mathieu Comandon
19846caebd
Write ConfigParser content as byte ( Fixes #369 )
2016-09-28 14:44:52 -07:00
Mathieu Comandon
1030d16862
Add version_sort utility function
2016-08-19 20:23:34 -07:00
Mathieu Comandon
b71bc73112
Test benchmark cleanup
2016-08-05 17:35:47 -07:00
Mathieu Comandon
6490ce840a
Update benchmark test file for python3
2016-08-05 17:20:24 -07:00
Mathieu Comandon
2b2a9fe789
Fix tests
2016-08-04 15:49:38 -07:00