summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* moved all spawn dialogs into a namespaceisanae2019-09-131-4/+0
| | | | | | | starting steam with spawn() instead of QProcess dialogs for bad steam registry key and failure refactored credentials code, added logging add environment variables to env
* made SpawnParameters public, changed to Qt typesisanae2019-09-121-7/+17
| | | | removed 'suspended', not used
* split spawnBinaryProcess() into spawn, no changesisanae2019-09-121-275/+11
|
* documentation for settingsisanae2019-09-081-5/+5
| | | | renamed some PluginSettings members and moved them around
* split settings into a bunch of classesisanae2019-09-021-53/+59
| | | | removed "get" from the getters that had it
* moved plugins to settingsisanae2019-09-021-5/+5
|
* changed total speed and count to a list of the last 5 downloadsisanae2019-08-261-1/+0
| | | | | existing servers now merged when retrieving the download links download manager doesn't store the servers any more, queries the settings every time
* moved preferred servers into ServerListisanae2019-08-261-1/+1
|
* changed crash dump type to use enum instead of intisanae2019-08-241-3/+3
| | | | | | added ColorSettings settings dialog general and diag tabs don't use qsettings anymore removed logging of setting changes, will be added back to Settings class
* made member variables in SettingsTab private, added accessorsisanae2019-08-171-7/+2
| | | | SettingsDialog now uses GeometrySaver
* passes callbacks to QuestionBoxMemory so it doesn't access the ini directlyisanae2019-08-171-2/+0
| | | | | fixed selected executable being empty after closing the edit dialog put backup_install inside Settings
* StatusBar now inherits from QStatusBar to handle hide/show eventsisanae2019-08-161-4/+0
| | | | | merged settings into saveVisibility() and restoreVisibility() call MainWindow::storeSettings() earlier so widget visibility is still valid
* moved geometry handling to PreviewDialogisanae2019-08-041-20/+3
| | | | fixed dialogs not having a parent
* split into GeometrySettingsisanae2019-08-041-71/+19
| | | | | | | 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-2/+2
| | | | added necessary member functions in Settings
* moved setLogLevel() to OrganizerCoreisanae2019-07-221-0/+12
| | | | moved context menu to LogList
* removed some useless loggingisanae2019-07-221-15/+10
| | | | initializing usvfs logging now logs strings for log level and crash dump type
* replaced formatSystemMessageQ() with formatSystemMessage()isanae2019-07-221-2/+4
| | | | replaced windowsErrorString() with formatSystemMessage()
* changed qDebug() to log::debug()isanae2019-07-221-19/+22
| | | | removed some commented out logging
* changed qCritical() to log::error()isanae2019-07-221-11/+11
| | | | removed now unused vlog()
* replaced qWarning()isanae2019-07-221-23/+23
|
* moved Settings out of OrganizerCore so it can be created by itself to access ↵isanae2019-07-221-3/+3
| | | | | | | settings early set log level on startup replaced more qDebug()
* use log::Levels instead of intsisanae2019-07-221-1/+3
| | | | | create log level combobox in code, set selected index based on value instead added log level to context menu in log list
* renamed logbuffer files to loglistisanae2019-07-221-1/+0
|
* removed unused or redundant stuff in error_report.hisanae2019-07-221-1/+0
| | | | | | | 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
* nexus info and stats in settingsisanae2019-07-121-1/+1
| | | | | | cleaned up double logging for github reset validation progress dialog parent just before the main window dies removed unused APIStats from APIUserAccount, added isValid()
* extracted api key validator from NXMAccessManagerisanae2019-07-111-1/+2
| | | | api key now part of ApiUserAccount
* removed useless validationFailed() callback in MainWindowisanae2019-07-101-0/+2
| | | | moved the log that was in it to organizer core
* Add some basic checks for symlinksSilarn2019-07-081-1/+16
|
* added modinfodialogfwd.h, mostly for the enum that's used in various placesisanae2019-07-021-4/+4
| | | | | renamed ETabs to ModInfoTabIDs and changed all ints to use the enum instead added ModInfoPtr to avoid having to include modinfo.h just to get ModInfo::Ptr
* split nexus tabisanae2019-07-021-0/+15
| | | | | | added OrganizerCore::loggedInAction() to execute a function only when logged in, replaces a bunch of copy/pasted stuff in mainwindow moved common variables in ModInfoDialogTab moved DescriptionPage to modinfodialognexus.h, renamed to NexusTabWebpage, deleted now empty descriptionpage.h
* Correcting minor spelling mistakes in the UI + add contributorMatte A2019-06-231-3/+3
|
* pulled java installation detection out of getFileExecutionContext() and into ↵isanae2019-06-151-32/+38
| | | | | | | findJavaInstallation() because it was copy/pasted into EditExecutablesDialog fixed FileDialogMemory::getOpenFileName() to also use the given directory correctly handle browse binary button
* moved store/load to ExecutablesListisanae2019-06-151-43/+4
|
* replaced ExecutablesList::getExecutables() by a standard container interfaceisanae2019-06-151-8/+8
| | | | | | 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
* made Executable members private, added member function to get and set themisanae2019-06-151-21/+21
|
* replaced all the manual UserRole stuff with a few constants and helper functionsisanae2019-05-311-0/+2
| | | | | | | setConflictItem() is now used by all conflict lists to setup the data (filename, archive, etc.) and visuals (italic for archives) merged openDataFile() and previewDataFile() into their caller as they weren't used anywhere else previewDataFile() used to do a fromNativeSeparators() before previewing, moved that to previewFileWithAlternatives() instead brought overwrittenTree double click in line with overwriteTree, there's no difference between apply() and close() because there's only a close button
* Merge pull request #739 from isanae/hide-conflict-itemsAl2019-05-291-4/+37
|\ | | | | Share context menu between conflict lists
| * added selectedOrigin to previewFileWithAlternatives()isanae2019-05-281-4/+37
| | | | | | | | | | this is so that an origin other than the primary can be shown first and is used from previewDataFile() in ModInfoDialog since showing a preview for a conflicting file could initially show the file from the wrong mod removed unused, uninitialized and dangerous ModInfoDialog::m_OriginID
* | Merge pull request #734 from isanae/permissive-flagAl2019-05-281-1/+1
|\ \ | |/ |/| Permissive flag
| * 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
* | moved shell functions to uibaseisanae2019-05-261-163/+0
| |
* | moved getFileExecutionContext() and its enum into OrganizerCoreisanae2019-05-261-64/+63
| |
* | changed enum case to follow conventionisanae2019-05-261-6/+6
| |
* | changed rest of ShellExecuteW() calls to use shell::Execute(), ↵isanae2019-05-261-0/+14
| | | | | | | | shell::OpenLink() or shell::OpenFile()
* | put explore and open functions in namespace shellisanae2019-05-251-11/+217
| | | | | | | | | | | | previewDataFile() was duplicated in both MainWindow and ModInfoDialog, moved to OrganizerCore added preview menu item to filetree better logging when shell operations fail
* | ExploreFile() will select the file in explorer when the path is a fileisanae2019-05-251-5/+39
| | | | | | | | replaced more ShellExecute() calls with ExploreFile()
* | moved GetFileExecutionContext() out of OrganizerCore, no reason for it to be ↵isanae2019-05-251-64/+86
| | | | | | | | | | | | there added ExploreFile(), changed all mentions of ShellExecute() in MainWindow to use it
* | a copy of getBinaryExecuteInfo() and openDataFile() was in both mainwindow ↵isanae2019-05-251-0/+96
|/ | | | | | and modinfodialog, it's now moved to organizercore and renamed getFileExecutionContext() and executefile() getFileExecutionContext() is also changed to return an enum instead of a 0-1-2 int
* Don't log warnings when files can't be found (moves responsibility to caller)LostDragonist2019-04-131-4/+0
|