Commit Graph
52 Commits
Author SHA1 Message Date
isanae d7dc13e3b9 fixes plugin executables having empty fields when upgrading from 2.2.0 2019-06-15 14:40:40 -04:00
isanae 7671725436 removed concept of custom executables, everything is modifiable
added apply button to dialog
added reset button that re-adds plugin executables and renames existing ones if needed
moved executables files to their filter in visual studio
2019-06-15 14:40:40 -04:00
isanae 5e65325772 fixed plugin executables not overriding if the custom attribute was inadvertently set 2019-06-15 14:40:40 -04:00
isanae cd2fefca19 save steam app id, custom overwrite and application icon
custom overwrite directories now set locally, will be written to profile when closing the dialog
2019-06-15 14:40:40 -04:00
isanae 39d953c838 load plugin executables after settings, allows for changing the order
added warning that an executable is provided by a plugin, disable widgets that can't be changed
refactoring EditExecutablesDialog
2019-06-15 14:40:40 -04:00
isanae fafdb14600 fixed EditExecutablesDialog being opened without a parent
removed Executable's constructor with values, replaced with default ctor + setters, all these strings were much too error-prone
added Executable ctor overload to convert from ExecutableInfo
plugin executables now override most of the custom changes
renamed browseButton to browseBinaryButton to avoid confusion with the other browseDirButton
fixed both browse dialogs not handling cancel
EditExecutablesDialog's list used to change the text color for custom executables, replaced with italics
2019-06-15 14:40:39 -04:00
isanae 65ad374d97 removed temporary setters in Executable, unnecessary now that it has mergeFrom() 2019-06-15 14:40:39 -04:00
isanae 617a600545 ExecutablesList:
- merged addExecutable(), updateExecutable() and addExecutableInternal() into a new setExecutable()
 - setExecutable() adds the executable to the list if not found, or forwards to Executable::mergeFrom()
 - mergeFrom() handles merging from/to plugin executables
2019-06-15 14:40:39 -04:00
isanae 26786da96d moved store/load to ExecutablesList 2019-06-15 14:40:39 -04:00
isanae 4f01b94f01 replaced ExecutablesList::getExecutables() by a standard container interface
renamed ExecutablesList::init() to addFromPlugin()
renamed ExecutablesList::find() to get() and added a find() that returns an iterator
changed some calls from get() to find() so they can handle failure because they didn't seem to handle std::runtime_error at all
2019-06-15 14:40:39 -04:00
isanae 5fb26b2dcb made Executable members private, added member function to get and set them 2019-06-15 14:40:27 -04:00
LostDragonist 149c38d54d Add protection against non-existent working directory for executables 2019-04-15 05:25:22 -05:00
Al 105a112f3c Add "Explore Virtual Folder" (name subject to change) as a default executable. 2019-03-10 17:46:36 +01:00
LostDragonist 4b522f40e8 Make logs more consistent in format and content 2019-01-30 20:32:48 -06:00
Sandro Jäckel ea6292168a Revert "Applied clang-format on source"
This reverts commit 5e5c9c0729.
2018-02-23 01:45:58 +01:00
Sandro Jäckel 5e5c9c0729 Applied clang-format on source 2018-02-22 16:54:34 +01:00
Eran Mizrahi cb1c9f5e83 Tie moshortcuts to a specific instance 2017-12-19 15:44:27 +02:00
Eran Mizrahi ebf378cda0 Turn on application icon for executables by default 2017-12-10 23:45:20 +02:00
Tannin 568b2abc12 removed close-mo feature 2015-12-18 20:16:28 +01:00
Thomas Tanner 82e6c98043 Replace last occurrence of GameInfo::getNexusGameID and remove a whole load of gameinfo.h includes 2015-11-26 07:39:35 +00:00
Thomas Tanner b9b12ca765 Bunch of const correctness changes. There shouldn't be any update of plugin games once MO has started 2015-11-25 14:23:58 +00:00
Tannin 2a22461f14 bugfix: auto-discovered executables couldn't be customized 2015-08-31 21:24:04 +02:00
Tom Tanner 821f95b8ab Clean up of fixes for custom executable window 2015-08-13 22:37:33 +01:00
Tom Tanner 8e7ac4e064 Fix the executable configuration flags going awry from Customise window 2015-08-13 20:07:21 +01:00
Tannin a7d6eb75c2 reverted most changes of changeset 626da419828a as I don't agree with them 2015-08-09 15:16:57 +02:00