summaryrefslogtreecommitdiff
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* removed helper.h and helper.cpp, merged into spawnisanae2019-09-191-1/+0
|
* now logs in utc, added year to avoid confusionisanae2019-09-091-1/+6
|
* log desktop geometryisanae2019-09-091-1/+4
| | | | log more info on game plugin
* added missing include guardsisanae2019-09-091-2/+1
| | | | log free space on drives involved in paths
* split settings into a bunch of classesisanae2019-09-021-13/+13
| | | | removed "get" from the getters that had it
* StatusBar now inherits from QStatusBar to handle hide/show eventsisanae2019-08-161-2/+0
| | | | | merged settings into saveVisibility() and restoreVisibility() call MainWindow::storeSettings() earlier so widget visibility is still valid
* moved all geometry save, restore and reset to GeometrySettingsisanae2019-08-161-4/+8
| | | | changed reset button in settings to restart immediately
* merged toolbars into restoreToolbars() and saveToolbars()isanae2019-08-161-10/+1
| | | | | | added centerOnMainWindowMonitor(), now also used by validation dialog added overloads for splitter, used by main splitter fixed saveState() for QMainWindow calling the wrong function
* moved settings updates to Settings::processUpdates()isanae2019-08-041-1/+1
|
* split into GeometrySettingsisanae2019-08-041-39/+57
| | | | | | | removed most of storeSettings() from OrganizerCore: QSettings handles saving by itself, no need for that removed topLevelSplitter from ui, unused since the log widget is in a dock removed QSettings from MainWindow::readSettings() replaced return values for some of the new getters in Settings to std::optional
* removed mentions of QSettings from main.cppisanae2019-08-041-102/+83
| | | | added necessary member functions in Settings
* create log directory sooner to handle creating new instancesisanae2019-08-021-6/+10
| | | | | reset the log file in case MO is restarted and the previously selected instance is deleted switched back to single `mo_interface.log` file
* Merge pull request #807 from isanae/logging-reworkJeremy Rimpo2019-08-021-95/+184
|\ | | | | Logging rework
| * removed some useless loggingisanae2019-07-221-2/+0
| | | | | | | | initializing usvfs logging now logs strings for log level and crash dump type
| * replaced formatSystemMessageQ() with formatSystemMessage()isanae2019-07-221-1/+1
| | | | | | | | replaced windowsErrorString() with formatSystemMessage()
| * split envisanae2019-07-221-0/+2
| |
| * fixed bad compare for nahimicisanae2019-07-221-1/+1
| | | | | | | | log displays on startup
| * moved environment dump to member functionisanae2019-07-221-24/+27
| | | | | | | | added check for nahimic
| * check for files likely to be eaten by an AV on startupisanae2019-07-221-2/+25
| |
| * dump executables on startupisanae2019-07-221-12/+23
| |
| * reversed log level menu actions to fit settings comboboxisanae2019-07-221-7/+4
| | | | | | | | replaced qWarnings() and qCritical()
| * moved Settings out of OrganizerCore so it can be created by itself to access ↵isanae2019-07-221-50/+50
| | | | | | | | | | | | | | settings early set log level on startup replaced more qDebug()
| * logging initialized early, log file set laterisanae2019-07-221-36/+44
| | | | | | | | replaced a few qDebug()
| * moved Console to utilisanae2019-07-221-38/+1
| |
| * renamed logbuffer files to loglistisanae2019-07-221-1/+1
| |
| * removed unused or redundant stuff in error_report.hisanae2019-07-221-18/+98
| | | | | | | | | | | | | | renamed log() to vlog() for now extracted console creation to Console class rewrote LogBuffer to work with logging from uibase, renamed to LogModel added fmt dependency