summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | lock widget now moves between dialogs and the main window when closing dialogsisanae2019-11-061-20/+52
| | | | | | | | | |
* | | | | | | | | | moved LockWidget back to OrganizerCore to support having multiple locks activeisanae2019-11-066-180/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | moved the ui out of LockWidget into LockInterface added LockWidget::Session to manage multi locks
* | | | | | | | | | commentsisanae2019-11-061-0/+18
| | | | | | | | | |
* | | | | | | | | | removed redundant checkBinary(), which used to check for non existing ↵isanae2019-11-065-120/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | binaries, that's handled when spawning removed useless checkEnvironment(), which checked for EventLog removed CREATE_BREAKAWAY_FROM_JOB from CreateProcess() calls, didn't do anything fixed setFromFileOrExecutable() when running just a filename that's not an executable name split run() fixed lock widget being disabled when running without a ui
* | | | | | | | | | removed unused filesisanae2019-11-0615-651/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed handle leak when starting steam
* | | | | | | | | | refresh ui after running an exe from 1) an external message, and 2) the data tabisanae2019-11-062-2/+2
| | | | | | | | | |
* | | | | | | | | | removed unused SpawnedProcessisanae2019-11-064-69/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lock widget now interprets closing the dialog as a forced unlock
* | | | | | | | | | added a ForceWait flag to bypass disabled lockingisanae2019-11-067-107/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | merged a bunch of unnecessary functions in ProcessRunner
* | | | | | | | | | added waitForAllUSVFSProcesses() wrapper in OrganizerCore, the fact that ↵isanae2019-11-063-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it's in ProcessRunner is a bit of a hack
* | | | | | | | | | added attachToProcess(), made waitForApplication() privateisanae2019-11-063-26/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changed OrganizerProxy::startApplication() so it _doesn't_ wait for completion, which is its original behaviour
* | | | | | | | | | removed runExecutableOrExecutableFile()isanae2019-11-066-47/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | log the actual spawning and requests to start as well as wait from plugins raise the lock widget when it's a dialog
* | | | | | | | | | removed runShortcut()isanae2019-11-065-18/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changed lock widget text when running without a ui
* | | | | | | | | | removed runExecutable()isanae2019-11-063-13/+6
| | | | | | | | | |
* | | | | | | | | | removed runExecutableFile()isanae2019-11-063-66/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | turns out on_startButton_clicked() had redundant code
* | | | | | | | | | explicit refresh parameter for setWaitForCompletion(), some parts of the ui ↵isanae2019-11-066-50/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | will crash if things refresh unexpectedly removed runFile() fixed crash when unlocking if some widgets were destroyed in the meantime lock widget will now pick the active window and disable all top levels
* | | | | | | | | | added lockwidget to replace all the other dialogsisanae2019-11-0613-381/+806
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rewrote ProcessRunner to have a bunch of setters and then a run() fixed bad exit code when waiting on a process that's already completed removed lock()/unlock() from main window, ProcessRunner is in charge of that now
* | | | | | | | | | return failure if the user has unlocked in waitForApplication()isanae2019-11-062-19/+18
| | | | | | | | | |
* | | | | | | | | | always wait until completion in waitForApplication(), regardless of lock settingisanae2019-11-061-7/+14
| | | | | | | | | |
* | | | | | | | | | recheck the process tree if the current process is not that interestingisanae2019-11-061-58/+165
| | | | | | | | | |
* | | | | | | | | | refactored waiting into waitForProcesses()isanae2019-11-062-175/+116
| | | | | | | | | |
* | | | | | | | | | split to processrunnerisanae2019-11-0613-786/+892
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added IUserInterface::qtWidget() put back IUserInterface in OrganizerCore now that there's a way to get the widget
* | | | | | | | | | replaced uilock by a progress callback in spawnisanae2019-11-0611-91/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | waiting for process now gets the whole process tree to find an interesting process
* | | | | | | | | | split to getRunningUSVFSProcesses()isanae2019-11-067-173/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simplified waitForAllUSVFSProcesses() to always get the list of running processes after one process completes
* | | | | | | | | | spawning an executable now only waits for that particular processisanae2019-11-067-90/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added waitForAllUSVFSProcesses() to OrganizerCore, used when closing MO
* | | | | | | | | | wait for executable when opening filesisanae2019-11-063-5/+26
| | | | | | | | | |
* | | | | | | | | | moved findJavaInstallation() and getFileExecutionContext() to spawnisanae2019-11-067-227/+349
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed env::get() returning garbage after value
* | | | | | | | | | renamed startApplication() to runExecutableOrExecutableFile()isanae2019-11-064-26/+34
| | | | | | | | | |
* | | | | | | | | | renamed runExecutable() to runExecutablefile()isanae2019-11-064-56/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added runExecutable() for Executable class, also used by runShortcut()
* | | | | | | | | | renamed executeFileVirtualized() to runFile()isanae2019-11-062-46/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | renamed spawnBinary() to runExecutable() renamed spawnBinaryDirect() to spawnAndWait()
* | | | | | | | | | merged spawnBinaryDirect() and spawnBinaryProcess()isanae2019-11-062-65/+56
| | | | | | | | | |
* | | | | | | | | | initial Spawner and SpawnedProcessisanae2019-11-066-141/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added steam app id to spawn parameters removed threadHandle, unused moved most of the stuff from OrganizerCore::spawnBinaryProcess() to Spawner replaced m_UserInterface by m_MainWindow
* | | | | | | | | | added crash dump path to parameters, if a mechanism to customize it is ever ↵isanae2019-11-014-49/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | created moved toString() for log level and dump type to usvfs, which needs them for logging
* | | | | | | | | | Merge pull request #884 from isanae/failed-to-receive-fixisanae2019-10-311-2/+19
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | Fix for "failed to receive data from secondary instance"
| * | | | | | | | | make sure all the data is sent before disconnectingisanae2019-10-311-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't fail if waitForReadyRead() returns false but there's data available
* | | | | | | | | | Improve automatic naming of new executablesLostDragonist2019-10-222-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using the "Add from file..." option, the extension will be removed. E.g., "zEdit 1.2.3.exe" will be shortened to "zEdit 1.2.3". When using the "Add empty" option and subsequently browsing for a binary, the complete base name will be used instead of just the base name. E.g., "zEdit 1.2.3.exe" will be shorted to "zEdit 1.2.3" instead of "zEdit 1". When using the "Add as Executable" option of the data tab, the complete base name will be used instead of just the base name. E.g., "zEdit 1.2.3.exe" will be shorted to "zEdit 1.2.3" instead of "zEdit 1".
* | | | | | | | | | Update version to 2.2.2alpha5LostDragonist2019-10-191-2/+2
| | | | | | | | | |
* | | | | | | | | | Add button in modinfo image preview to use preview plugin dialogSilarn2019-10-193-6/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Disabled if no compatible preview is found - Now renders an image for unsupported formats instructing the user
* | | | | | | | | | Remove mention of 32-bit JavaLostDragonist2019-10-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MO doesn't really care about which version of Java is installed. Saying that 32-bit Java is required is misleading.
* | | | | | | | | | Improve selection of mod ID when querying infoLostDragonist2019-10-181-40/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mod ID selection was fairly unreliable when the mod author decided to use certain values in the mod name or filename. A filename of "K-9 - Armor-1-2-3" would automatically set the mod ID to 9 with no chance for the user to correct it. Other filenames would only present 2 choices of mod ID to the user, neither being correct. The primary intent of this change is to present the user with all the numbers found in the filename as options for the mod ID. This should allow the correct mod ID to be easily chosen in all cases.
* | | | | | | | | | Only flag plugins as light if the game supports light pluginsLostDragonist2019-10-152-6/+8
| | | | | | | | | |
* | | | | | | | | | title wasn't always trimmed, did all sorts of weird thingsisanae2019-10-141-1/+1
|/ / / / / / / / /
* | | | | | | | | fixed loot not being hookedisanae2019-10-122-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bumped to alpha 4.1
* | | | | | | | | Merge pull request #866 from isanae/new-usvfs-parametersisanae2019-10-114-16/+38
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Uses new usvfsParameters, also updates spawn delay
| * | | | | | | | | uses new usvfsParameters, also updates spawn delayisanae2019-10-104-16/+38
| | | | | | | | | |
* | | | | | | | | | visible property was falseisanae2019-10-101-3/+0
|/ / / / / / / / /
* | | | | | | | | Merge pull request #863 from isanae/executables-fixesisanae2019-10-1016-120/+430
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Executables fixes
| * | | | | | | | | theme fixes for QToolButton with a menuisanae2019-10-087-0/+47
| | | | | | | | | |
| * | | | | | | | | added hide flag to executablesisanae2019-10-086-53/+149
| | | | | | | | | |
| * | | | | | | | | fixed tab orderisanae2019-10-083-9/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed list items being selected, but not focused, which broke keyboard nav
| * | | | | | | | | remove separators and backups from mod list in the edit executables dialogisanae2019-10-083-6/+38
| | | | | | | | | |