summaryrefslogtreecommitdiff
path: root/src/instancemanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Migrating to OAuth Authentication (#2374)Jeremy Rimpo2026-05-121-2/+4
| | | | Co-authored-by: aglowinthefield <146008217+aglowinthefield@users.noreply.github.com> Co-authored-by: Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com>
* Add instance manager to plugin API (#2335)Jonathan Feenstra2026-02-081-10/+55
|
* Only list instance directory with a MO INI file (#1965)Jeroen Ruigrok van der Werven2024-06-081-3/+5
|
* Ignore Qt-created 'cache' directoryJeroen Ruigrok van der Werven2023-12-311-1/+1
|
* Apply clang-format.Mikaël Capelle2023-07-091-197/+141
|
* First pass for Qt6 compatibilityJeremy Rimpo2022-04-191-1/+1
|
* Remove from instance ignore listQudix2021-10-151-3/+1
|
* Sanitize download file namesChris Bessent2021-04-291-30/+2
| | | | Also switch instance name sanitizer to MOBase version
* - renamed instance::name() to displayName() to reduce confusion with ↵isanae2021-02-121-8/+8
| | | | | | | portable instances - better errors when running incorrect shortcuts - fixed shortcuts being created with moshortcut://Portable:exe instead of an empty instance name for portable instances
* moved criticalOnTop() to uibaseisanae2021-01-181-5/+4
| | | | | | changed all calls to reportError(), which now uses the main window if it exists as a parent, or calls criticalOnTop() added errors when running something from the command line for a different instance/profile removed unused crap
* split run() into setup() and run()isanae2021-01-181-5/+5
| | | | | this is so command line processing can happen outside of MOApplication many important objects were local to run(), so they're not members of MOApplication instead
* allow selecting another instance when the game/variant isn't foundisanae2020-12-261-2/+2
|
* fixed instanceIcon() so it works when game plugins fail auto detection but ↵isanae2020-12-221-0/+7
| | | | | | the instance has a custom path had to change PluginContainer to non const in a few places
* fixed a bunch of instance and command line stuffisanae2020-11-121-0/+6
| | | | | | | | | - clear instance manager overrides when restarting, or switching instances after starting MO with moshortcut://instance: won't do anything - clear overrides when the last selected instance can't be opened; MO would keep trying to open shortcuts even after selecting a different instance - command line was cleared too early, before the first run, so shortcuts were broken - the instance manager dialog can be opened without an instance loaded if the last selected instance doesn't exist, createNew() would throw because it tried to access the global Settings - fixed some problems with parts of MO wanting to restart and others expecting flow to continue - fixed create instance dialog using settings pointer to decide whether to restart; it restarts when it's the first created instance, which is not always the case even if the settings are null, so just check whether there are instances
* refactored setupInstance(), commentsisanae2020-11-071-64/+109
| | | | ok -> okay
* moved instance setup/selection to instancemanager.cppisanae2020-11-071-1/+156
| | | | comments
* added ... to the "Delete Instance" button to make it less scaryisanae2020-11-071-30/+248
| | | | | | | merged InstanceInfo into Instance, most of it was redundant added logging before deleting instance added Instance::readFromIni(), contains stuff that used to be in setup(), used by instance dialog replaced QDir with QString in a few places, I hate QDir
* removed some redundant functions in InstanceManager, made them all non-staticisanae2020-11-071-47/+51
| | | | documentation
* renamed InstanceManager::instance() to singleton() to avoid confusionisanae2020-11-061-1/+1
|
* added IPlugin::registered()isanae2020-11-041-7/+1
| | | | | | | | removed useless dummy interfaces because init() isn't called anymore python plugins currently broken because init() isn't called on them fixed create instance dialog being shown on startup even if portable instance existed display a message when the last instance can't be found fixed instance manager dialog failing to open the portable instance
* InstanceManager now returns new Instance struct instead of instance nameisanae2020-11-031-458/+249
| | | | | moved most of the figuring out of instance parameters from InstanceManager to Instance, separated all the ui from it and put it in main.cpp added ways to show single pages in the create instance dialog so they can be used when info is missing
* game icons in the instance listisanae2020-11-031-0/+59
|
* filter, explore buttons, instance renameisanae2020-11-031-0/+9
|
* disable portable instance button if one existsisanae2020-11-031-3/+2
|
* moved switch to instance to InstanceManagerisanae2020-11-031-0/+7
| | | | double-click an instance to switch to it (disabled for now, not sure I want that)
* new GlobalSettings class to manage the registryisanae2020-11-031-27/+3
| | | | close the create instance dialog when launch is unchecked
* PathChecker is unnecessary, refactored its guts into NamePage and PathsPageisanae2020-11-031-1/+6
| | | | made existing paths just a warning, don't check for portable instances
* instance name pageisanae2020-11-031-0/+21
|
* added empty instance manager dialogisanae2020-11-031-10/+20
|
* rewrote the delete instance dialog textisanae2020-11-031-17/+20
|
* deleteLocalInstance() now uses TaskDialogisanae2020-11-031-28/+59
|
* moved registry key from "Tannin" to "Mod Organizer Team"isanae2020-11-031-6/+25
|
* moved profile, current game and game edition checks to InstanceManagerisanae2020-11-031-1/+231
| | | | trying to centralize all of this stuff
* now using new common cmakefilesisanae2020-04-231-1/+1
| | | | | fixed includes because shared/ isn't in the path anymore removed unused modeltest files
* ignore some instance folders like "cache" and "qtwebengine"isanae2019-11-261-1/+16
|
* only log a warning for symlinks instead of exiting MOisanae2019-10-051-1/+6
| | | | | added logs: when dmp files are present, for portable instances, and the ini path clear the log widget when switching instances
* Add portable lock featureLostDragonist2019-09-111-0/+21
| | | | | | | If the file "portable.txt" is present in the application directory, MO will force itself to be launched as a portable instance. The change game button and menu item are hidden to prevent the user from changing out of the portable instance.
* changed qDebug() to log::debug()isanae2019-07-221-1/+1
| | | | removed some commented out logging
* replaced qWarning()isanae2019-07-221-5/+9
|
* Force instance selection window on topSilarn2019-07-031-0/+2
|
* Correcting minor spelling mistakes in the UI + add contributorMatte A2019-06-231-1/+1
|
* fixes for /permissive-:isanae2019-05-261-1/+1
| | | | | | - no implicit conversions for enum classes - can't bind rvalue to non-const ref - string literals are const
* Added enderal to instance selection nameAl2019-02-131-1/+1
|
* Improved Choose Instance name dialog to avoid confusionAl2019-01-201-1/+2
|
* Change qPrintable to qUtf8Printable to better support non-ASCII textLostDragonist2019-01-051-1/+1
|
* Added missing games to the suggested names list.Al12rs2018-12-081-3/+4
| | | | Imroved dialog description.
* Allow switching instances when MO is launched with moshortcut://<instance>:LostDragonist2018-11-021-1/+2
|
* Allow more characters in instance names and add an error messageLostDragonist2018-07-221-3/+32
| | | | | Previously allowed: "A-Za-z0-9 " Now allowed: "A-Za-z0-9 !@#$%^()_+-=[]{};'."
* Prevent instances from ending in a spaceLostDragonist2018-06-091-1/+1
| | | | | | Windows directories are not allowed to end in a space. Allowing this creates a broken directory that is difficult for the user to remove.
* Various text and ui changes:Al12rs2018-03-161-2/+2
| | | | | | | Added description to CSV export. Added line to delete instance error message. Changed delete instance icon for the list of instances. Added red X in the resources, thanks to twizz0r.