Commit graph

1627 commits

Author SHA1 Message Date
Xodetaetl 55f87c3657 Add runtime and terminal option to installer's execute task 2015-05-04 23:58:47 +02:00
Xodetaetl c0f63b1621 Refactor: deal with os.environ in LutrisThread 2015-05-04 23:46:54 +02:00
Xodetaetl 80be6620cf Fix installer's execute command 2015-05-04 19:53:22 +02:00
Xodetaetl 82295dc446 Update test test_script_with_correct_values_is_valid 2015-05-04 19:23:36 +02:00
Xodetaetl eae78f0522 Fix a few unicode encoding issues (Fix #178) 2015-05-04 19:17:18 +02:00
Xodetaetl 639ddbb26b Update tests 2015-05-04 14:55:06 +02:00
Xodetaetl ba8c22a96a Do manual library sync asynchronously (fix #151) 2015-05-04 14:10:39 +02:00
Xodetaetl 8eea4cd0f1 Init env to None in LutrisThread (fix Steam game uninstall) 2015-05-04 12:57:44 +02:00
Xodetaetl 77a1c70dd4 Fix winesteam games uninstall 2015-05-04 12:30:23 +02:00
Xodetaetl 39855683d8 Fix game config saving on Add Manually 2015-05-04 12:29:39 +02:00
Xodetaetl eab031eba1 Fix saving game after "Add Manually" from "No Installer" dialog 2015-05-04 11:14:38 +02:00
Xodetaetl bdec36c985 Temp fix to Wine not seen as installed due to mix between i686/i386 2015-05-02 22:13:56 +02:00
Xodetaetl 24ef3d83cb Manage Runners: check install state after opening config/manage dialogs
Fix the runner's label not changing to greyed out/normal state after
closing the Configure or Manage Versions dialogs, depending on the
runner being installed or not.
2015-05-02 21:21:23 +02:00
Mathieu Comandon 7f83579dc9 Hide sidebar when splash screen is displayed 2015-04-30 16:06:54 -07:00
Xodetaetl 8b945460e4 (Re?)set Gens' "Exit with Esc" option to True by default
I kind of recall setting this to false recently, don't know what I was
thinking.
2015-05-01 00:14:20 +02:00
Xodetaetl bd9063b1c2 Fix #180: runner label and install button state not changing after install 2015-05-01 00:11:57 +02:00
Xodetaetl 482c501a58 Installer doc: correct file uri => url 2015-04-30 23:37:12 +02:00
Xodetaetl 6cac66d93f Switch runtime to customized Steam runtime
I'm temporarily hosting the new runtime for debugging.
Read the LUTRIS CHANGES file in the runtime archive for a list of
modifications on the base Steam runtime.
2015-04-30 22:56:43 +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 d3f9e41cd9 Fix download dialog not blocking code flow 2015-04-29 23:14:56 +02:00
Xodetaetl e5b2017f12 Pass wine_path to msiexec when called from winesteam 2015-04-29 19:09:54 +02:00
Xodetaetl 513615ef3c Put stuff in quotes in the script to be run in a terminal 2015-04-29 19:07:44 +02:00
Xodetaetl ad7596e9cd Fix runner.game_config returning None 2015-04-29 13:50:06 +02:00
Xodetaetl 9d1c129a41 Force 'Run in a terminal' option to True for frotz 2015-04-29 00:56:46 +02:00
Xodetaetl 9636797e10 Avoid crash due to config sections == None 2015-04-29 00:31:47 +02:00
Xodetaetl d357dd87df Modify the 'run in terminal' system
This change has 3 effects:
- The terminal won't inherit the game env (i.e. won't be run in the
runtime, which would be prone to incompatibilities).
- The terminal stays open when the game is quit.
- The code to run in a term is now in LutrisThread, so it's accessible
to other parts of the code, not only the game class.
2015-04-28 23:00:00 +02:00
Xodetaetl 85baf8d924 Disable Stop button when game has stopped 2015-04-28 21:59:25 +02:00
Xodetaetl c3d5faa80b Little refactoring in ConfigBox 2015-04-28 21:55:11 +02:00
Xodetaetl d62b63dcdd Split command args with the shlex module 2015-04-27 19:08:55 +02:00
Xodetaetl baf79904c1 Fix runner and system config sections not returned at game level 2015-04-26 23:18:38 +02:00
Xodetaetl 399b5a61c0 Change label for game_path option again 2015-04-25 19:21:57 +02:00
Xodetaetl e7868b4cef Fix system.reverse_expanduser 2015-04-25 18:06:25 +02:00
Xodetaetl 82d1cfda04 Save game output to game_log on heartbeat instead of on game quit 2015-04-25 15:49:46 +02:00
Xodetaetl 5a0fea6809 Wrap text in log window 2015-04-25 14:42:22 +02:00
Xodetaetl 66c9c0eb2d Try /sbin/fuser if /bin/fuser doesn't exist (fix #174) 2015-04-25 14:06:17 +02:00
Xodetaetl 7074426a2b Replace lsof with fuser to get wine's child processes' PID 2015-04-25 11:46:29 +02:00
Xodetaetl 5465114792 Fix resetting Multiple File Selector 2015-04-24 23:29:38 +02:00
Xodetaetl de8c7c4cad Add status bar "Updating runtime" message 2015-04-24 12:22:30 +02:00
Xodetaetl 11486866f2 Refactor ConfigBox.generate_widgets
- Extract call_widget_generator()
- Destroy-regenerate option widgets instead of resetting value when
reset button clicked (20 lines of hairy code saved, wooo!)
- Move methods around to their appropriate place
2015-04-24 11:08:14 +02:00
Xodetaetl 49f1507327 Fix combobox & filechooser option widgets' height 2015-04-23 21:57:30 +02:00
Xodetaetl 896d6a5356 Contract /home/user path to '~' on directory chooser 2015-04-23 21:23:16 +02:00
Xodetaetl 76a68b5aa2 Replace FileChooserButton with Mr Strider's custom FileChooserEntry
Actually it's not for files but for the "directory_chooser" option
type. The stock Gtk chooser doesn't show the folder if the given path
doesn't exist, which is bad for us. And the entry + browse button is
just better anyway: one less click to browse and allows to copy-paste
entire paths.

I have left the Gtk chooser for browsing files though. Not sure what's
better yet. At least this way it clearly differentiates file and
folder choosers.
2015-04-23 18:14:42 +02:00
Xodetaetl aa861002b9 Use "game_path" even if folder doesn't exist (yet) 2015-04-23 13:26:41 +02:00
Xodetaetl 74b957a73e Add defaults to the cascaded config (move code from runner module) 2015-04-23 10:15:17 +02:00
Xodetaetl fa3639e9f1 Add cascading system to LutrisConfig
Beware strycore, the usage of the config is slightly changed, read the
docstring. ;)
2015-04-23 00:37:50 +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
Xodetaetl 2a143aaadd Refactor: fix confusion between config levels and option types
I'm making a clear semantical separation between config level and
option type. Previously, "config type" was the only name for both
things,  which caused confusion and mistakes. Most notably, the config
module doesn't return cascaded values, only the raw values from the
given level. While the cascade is in place externally in the runner
module, it's not used in the config dialogs. I'm going to fix this in
a subsequent commit.
2015-04-20 19:14:16 +02:00
Xodetaetl 53dedecda9 Revert mistakenly commited thread watching changes 2015-04-18 19:08:27 +02:00
Xodetaetl 916991deb9 Fix wine registry keys settings again
But there may be more to do. I'm seeing 100 cpu usage on all wine
games  and I doubt it's always been like this.
2015-04-17 21:09:35 +02:00