summaryrefslogtreecommitdiff
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fixed settings doing weird stuff with multiple instancesisanae2020-11-031-4/+6
| | | | | sort games by name added intro and confirmation pages
* started create instance dialogisanae2020-11-031-0/+9
| | | | | allow for multiple instances of Settings fill in information in instance manager
* fixed splash not trying the default oneisanae2020-11-031-6/+20
|
* moved profile, current game and game edition checks to InstanceManagerisanae2020-11-031-224/+10
| | | | trying to centralize all of this stuff
* refactored stuff into determineGameEdition() and handleCommandLine()isanae2020-11-031-71/+100
|
* more refactoring:isanae2020-11-031-94/+119
| | | | | - moved splash stuff together - moved stuff in the main loop into doOneRun()
* removed flags from SingleInstance because there's only one leftisanae2020-11-031-114/+111
| | | | | | refactoring in main.cpp: - moved stuff to loglist.cpp and moapplication.cpp - split main() into a few functions
* moved initLogging() to loglist.cppisanae2020-11-031-65/+2
|
* removed unused HaveWriteAccess()isanae2020-11-031-99/+2
| | | | stop useless preloading of ssl dlls
* cleaned up includesisanae2020-11-031-56/+5
|
* fixed handling of profile names with different casing than on the filesystemisanae2020-11-031-2/+4
| | | | added --instance
* add warning when profile given with -p doesn't existisanae2020-11-031-65/+52
| | | | implemented moshortcut, nxm links and executable names as command line options
* removed unused `update` parameterisanae2020-11-031-6/+1
| | | | moved --multiple to CommandLine
* implemented `launch` as a commandisanae2020-11-031-65/+4
|
* new CommandLine classisanae2020-11-031-26/+5
| | | | | implemented crashdump as a command, fixed dump_running_process.bat to use it attach to console if present instead of always create one
* added --multiple to allow launching multiple instancesisanae2020-11-031-19/+28
|
* Compatibility fix for Qt 5.15.xJeremy Rimpo2020-09-091-1/+1
|
* always call the previous terminate handler, which should abortisanae2020-08-131-1/+8
| | | | without it, execution just resumes and dumps are created endlessly
* revert font scaling:isanae2020-08-011-12/+1
| | | | | | | | | | - users report low quality splash screen - sticking with qt's default is better in the long run - can still use the environment variable revert network timer: - users report error in log every second - was a blind fix anyway, can't reliably reproduce it
* fixed bad font scalingisanae2020-07-311-1/+12
|
* added startSafeThread() to get core dumps for threads other than the main threadisanae2020-07-311-4/+26
| | | | added terminate handler
* Manually unload plugins to avoid issue with automatic unloading.Mikaël Capelle2020-06-111-8/+8
|
* now using new common cmakefilesisanae2020-04-231-3/+3
| | | | | fixed includes because shared/ isn't in the path anymore removed unused modeltest files
* log command lineisanae2020-04-171-0/+2
|
* update available log is now info instead of debugisanae2020-04-171-1/+4
| | | | added AV warning when a game plugin is no longer available
* dump a bunch of counts for mods when selecting a profileisanae2020-04-171-2/+0
|
* Fix "Failed to setup data paths" loop by showing the choose instance dialog ↵AL2020-03-301-0/+3
| | | | | | for next startup. This could sometimes happen if users changed a drive letter or removed a drive with one of the Mo2 paths on it making Mo2 error on startup. Only fix was to manually edit the modorganizer.ini file or manually deleting the instance. This allows users to create or use other instances even if that particular instance still needs manual fixing.
* categories were loaded too lateisanae2020-02-181-0/+1
|
* added more timingsisanae2020-02-181-2/+10
| | | | missed fileregisterfwd.h in cmake list
* split directoryentryisanae2020-02-181-0/+1
| | | | made classes noncopyable, fixed a few unintended copies
* wstring_view when possibleisanae2020-02-181-0/+2
| | | | first implementation of NtQueryDirectoryFile
* Add setting to disable splash since it can cause load time increaseAL2020-02-171-15/+27
| | | | use_spash=true by default. It's not exposed to the ui for now.
* Reduce overhead introduced by splashscreenAL2020-02-171-4/+3
| | | | by not letting it wait on the mainwindow and instead immediately close
* Move modInfo loadFromDisc to it's own functionAL2020-02-161-0/+1
|
* added a few missing constsisanae2020-02-041-2/+0
| | | | | removed incorrect assert about an empty game edition added FileTree to wrap a QTreeView and a FileTreeModel, moved some context menu actions over
* temporary fix to keep MO locked for all processes when closingisanae2019-12-151-1/+0
| | | | save main window settings in closeEvent()
* Rework column insertion to move to the intended position post-factoSilarn2019-12-081-2/+0
|
* added checks on startup for directories in program filesisanae2019-11-271-0/+3
|
* added rivatuner to sanity checksisanae2019-11-261-1/+3
| | | | | now also checks modules loaded after startup fixed crash on w7 when checking some modules
* log new modules being loaded after startupisanae2019-11-261-0/+4
|
* only log crash dumps message on startupisanae2019-11-261-0/+14
|
* added a ForceWait flag to bypass disabled lockingisanae2019-11-061-2/+2
| | | | merged a bunch of unnecessary functions in ProcessRunner
* removed runExecutableOrExecutableFile()isanae2019-11-061-5/+11
| | | | | 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-061-1/+5
| | | | changed lock widget text when running without a ui
* split to processrunnerisanae2019-11-061-2/+2
| | | | | added IUserInterface::qtWidget() put back IUserInterface in OrganizerCore now that there's a way to get the widget
* renamed startApplication() to runExecutableOrExecutableFile()isanae2019-11-061-1/+2
|
* added usvfs version in log and about dialogisanae2019-10-091-2/+3
|
* added ExitModOrganizer(), used instead of qApp->exit()isanae2019-10-071-3/+9
| | | | | | | reset geometry uses TaskDialog moved restart code for the settings dialog to MainWindow fixed settings sometimes not being saved when restarting don't log "crash dumps present" every time the settings dialog is closed
* only log a warning for symlinks instead of exiting MOisanae2019-10-051-0/+8
| | | | | added logs: when dmp files are present, for portable instances, and the ini path clear the log widget when switching instances
* moved checks to sanitychecks.cppisanae2019-10-051-43/+3
| | | | added check for blocked files, only logs