Commit graph

121 commits

Author SHA1 Message Date
Aaron Opfer 64a24405f9 speed up detection of wine process exit
This changeset installs a `SIGCHLD` signal handler which reaps child processes, and on successful child process reaping, triggers an early execution of `watch_children` to evaluate the new process state. This also removes the cycle count requirement for marking a process as exited since we now have more reliable ways to determine the state of the application. It also adds more background wine processes to the exclude list by default. Combined, these changes mean much more rapid detection of an exited wine game.

This should significantly help #1012.
2018-12-19 17:56:26 -08:00
Mathieu Comandon 14e6d658dd Document monitor_max_cycles option 2018-12-17 23:33:17 -08:00
Mathieu Comandon 9ae36e6793 Remove disable_monitoring option 2018-12-17 23:15:18 -08:00
Mathieu Comandon acbd4681e2 Merge master in next (Warning: it's broken) 2018-11-06 22:19:45 -08:00
Mathieu Comandon 16e40ed2e7 Remove extra dollar signs from installer documentation 2018-11-02 21:08:17 -07:00
Medath 92298db75f document the copy command 2018-10-14 13:43:55 -07:00
Mathieu Comandon 0930b98299 Fix documentation formatting issues in example scripts (Closes #1166) 2018-10-09 00:10:11 -07:00
luthub 2ca90c41d6 Change example urls in installer documentation to https and example.com
Not sure what to do with line 34, because I don't actually know what a referer is
2018-08-16 00:25:59 -07:00
daniel-j d3384d276d Add data and merge parameters to write_config installer command 2018-06-18 14:06:18 +02:00
cxf d0b2242982 Update installers.rst
Wine Steam runner uses `winesteam:` not `wine:`

Linux Steam installers use the `steam` runner.
2018-06-18 09:37:29 +02:00
nastys 6dc34a53d7 Optimize code and enable desktop effects by default 2018-05-24 10:07:34 +02:00
nastys 2f24a87a89 Added an option to disable the compositor/desktop effects for better performance on KDE, MATE and XFCE 2018-05-23 13:57:25 +02:00
Mathieu Comandon f3f0298bf5 Update default wine arch in documentation 2018-05-16 16:46:21 -07:00
Mathieu Comandon eb13f57aeb Add custom-name directive to scripts (Fixes #715) 2018-05-08 00:24:18 -07:00
Mathieu Comandon 36ab7c01f1 Add require-binaries directive to scripts (Fixes #716) 2018-05-07 23:50:47 -07:00
soredake d2d75ab940 Big docs update 2018-02-26 22:42:17 -08:00
Mathieu Comandon dcb13ab0ba Add note about YAML formatting 2017-12-30 12:25:20 -08:00
Mathieu Comandon c2fc40a6a8 Document mode option for write_file + substitute file content 2017-12-30 12:24:47 -08:00
Lucki 751d0c845d Update installers.rst 2017-12-09 14:55:11 -08:00
soredake a188103a2e update 2017-11-27 14:15:10 -08:00
soredake 30af6e5cc5 Improve installer docs:
add new functions
add `arch` note because of broken `detect_prefix_arch` function
improve some docs and links
2017-11-27 14:15:10 -08:00
daniel-j ab1f3ead8a Update docs 2017-09-05 08:52:23 -07:00
daniel-j 70f0beadce Simplify installer docs 2017-09-03 16:00:29 -07:00
daniel-j a6800b42ea Improve installer tasks and installer documentation. 2017-09-03 16:00:29 -07:00
Mathieu Comandon a9df5a47cf Add example for files with url/filename arguments 2017-06-18 17:35:24 -07:00
Mathieu Comandon 2a92208cf4 No TODOs in the published docs 2016-09-28 23:34:33 -07:00
Mathieu Comandon 5285a624b1 More confusing than helpful 2016-09-28 23:33:56 -07:00
Mathieu Comandon c9c9266f94 Document the 'silent' option for Winetricks (Fixes #317) 2016-08-04 12:37:39 -07:00
Xodetaetl 747377e5d9 Add working_dir param to "execute" directive 2016-04-25 12:15:44 +02:00
Xodetaetl 448d7bee30 chmodx only if necessary in "execute" directive 2016-04-25 12:15:44 +02:00
Xodetaetl 598fc61d5a Revert "Revert "Fix forgotten inherited functions in winesteam from wine""
This reverts commit 60ca17a209.
2015-12-31 21:31:18 -08:00
Xodetaetl 60ca17a209 Revert "Fix forgotten inherited functions in winesteam from wine"
This reverts commit 8be9f19d12.
2015-12-27 01:48:59 +01:00
Xodetaetl 8be9f19d12 Fix forgotten inherited functions in winesteam from wine 2015-12-26 23:33:38 +01:00
Mathieu Comandon 885fd8a391 Implement get_app_states 2015-09-05 15:50:33 -07:00
Xodetaetl 1e3b73da23 Minor mistake in installer doc 2015-08-29 19:16:12 +02:00
Xodetaetl 55f87c3657 Add runtime and terminal option to installer's execute task 2015-05-04 23:58:47 +02:00
Xodetaetl 482c501a58 Installer doc: correct file uri => url 2015-04-30 23:37:12 +02:00
Xodetaetl e611b90f49 Recommend use of $ character before File ID in install scripts 2015-04-30 00:07:16 +02:00
Xodetaetl f63d5e7432 Correct installer doc about 'extract' using file path 2015-04-30 00:03:46 +02:00
Xodetaetl 6b66064831 Add args, exit and working_dir options to dosexec 2015-03-21 12:12:01 +01:00
Xodetaetl 2a512fde00 Update installer doc (add create_prefix + fix oversights) 2015-03-19 11:27:53 +01:00
Xodetaetl 44144898e3 oops 2015-02-08 00:09:50 +01:00
Xodetaetl a488bd9543 Add "input_menu" installer directive
Read the installers.rst changes for a full description.
A test installer is available at https://lutris.net/games/test/
2015-02-08 00:04:52 +01:00
Mathieu Comandon 74bce7c330 Add a set_regedit_file task 2015-02-06 00:48:45 +01:00
Xodetaetl 123d7a763f Add missing doc in installer writing guide 2014-11-24 16:44:00 +01:00
Xodetaetl d6952578d3 Return True after winesteam's installed, so play() goes on 2014-11-11 19:26:47 +01:00
Xodetaetl ffe29da194 Move back insert_disc as installer task 2014-10-28 01:09:30 +01:00
Xodetaetl aaa03dbb66 Document the dot syntax in installer tasks 2014-10-19 14:39:33 +02:00
Xodetaetl 05ed438ea0 Add write_config installer directive 2014-10-19 02:11:47 +02:00
Xodetaetl e698042410 Add support for value type to set_regedit()
And indent this raw text output. :)
2014-10-09 16:14:15 +02:00
Xodetaetl 6d87bec133 Fix indent in installer doc 2014-09-18 18:20:52 +02:00
Xodetaetl 657bd5018a Add working_dir setting to Wine and Linux runners 2014-09-04 14:08:21 +02:00
Xodetaetl 8b54e3118f Support file paths in the execute task
Support entering a file path in the 'file' key of the execute task.
And expand variables in the path –>  Fixes #70.
2014-08-21 21:25:08 +02:00
Xodetaetl e66bdeb2cc Rename wineexec option "workdir" => "working_dir" 2014-08-13 00:15:03 +02:00
Xodetaetl f4b15d6a9a Update installers.rst
A couple mistakes I've left out
2014-03-15 23:26:22 +01:00
Xodetaetl 26d2de5a70 Update installer writing doc 2014-03-15 22:02:17 +01:00
Xodetaetl 9a779fda46 Update installers.rst
I said bullshit, I take it back.
2014-02-09 14:39:39 +01:00
Mathieu Comandon 93627c76c1 Add documentation for format option 2014-02-09 12:29:27 +01:00
Xodetaetl 35d77aa832 Added workdir to wineexec
Might want to add it to execute() in installer.py but it's using
subprocess.call() which doesn't seem to have a working dir argument,
contrary to subprocess.Popen()
2014-01-24 23:05:15 +01:00
Xodetaetl 11c95cc289 Update installers.rst
Of course, don't hesitate to correct my changes.
Regarding "execute", can the "file" parameter be a path ? I wasn't sure, I didn't say it.
2014-01-24 13:05:24 +01:00
Mathieu Comandon 78927e3799 Use preformatted text for AppStates
Signed-off-by: Mathieu Comandon <strycore@gmail.com>
2014-01-10 20:08:47 +01:00
Mathieu Comandon d03141b9d8 Reformat Steam AppStates 2014-01-10 20:07:09 +01:00
Mathieu Comandon e8d30424bb Add steam utils 2013-11-17 05:27:33 +01:00
Mathieu Comandon ad33eacb8c Add custom message for N/A files 2013-07-11 18:15:32 +02:00
Mathieu Comandon f03d145558 Add examples to the documentation 2013-06-28 12:15:37 +02:00
Mathieu Comandon 282ac32177 First support for add-ons 2013-06-18 02:13:03 +02:00
Mathieu Comandon 4499c95566 More complete installer docs 2013-06-18 00:05:32 +02:00
Mathieu Comandon 8d174fce00 Steam data in installers WIP 2013-06-10 00:00:52 +02:00
Mathieu Comandon b3a85220cb Installer rewriting almost complete + Gio mounts handled in Downloader 2013-05-26 18:43:42 +02:00
Mathieu Comandon 14a6881627 Installer rewrite (WIP) 2013-05-25 13:08:39 +02:00
Mathieu Comandon 26f59c9bc7 Scripting interpreter rewrite (WIP) 2013-05-25 07:48:03 +02:00