summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix getFileOriginsLostDragonist2019-03-261-4/+3
|
* Add more protection against missing game pluginsLostDragonist2019-03-251-1/+1
|
* Add parameters to startApplication to allow control of custom overwriteLostDragonist2019-03-241-19/+32
|
* Improve failed login checks on start upLostDragonist2019-03-061-1/+1
|
* Add function to get configured mods directoryLostDragonist2019-02-231-5/+10
|
* Remove the spoofed NMM versionLostDragonist2019-02-221-1/+0
| | | | The new API does not require this and it serves no purpose to keep it.
* Fix for Steam being run as administratorLostDragonist2019-02-191-44/+99
| | | | | | | | | | Previously, when Steam was run as administrator, MO couldn't access the process therefore couldn't detect it. Now, an alternative method for listing processes is now being used in order to determine if Steam is running. Additionally, MO will detect if Steam is admin and MO is not and prompt the user if they want to restart MO as admin.
* Several Nexus API-related changesSilarn2019-02-181-2/+2
| | | | | | | | * Added 30-second ping so Nexus doesn't close our connection * Set an overall 5 minute timeout before we give up listening for auth * Fixed some old signal and slot connections * Added a button to revoke the current API authorization * Updated bulk endorsement function with new API changes
* Initial Nexus API changes:Silarn2019-02-181-2485/+2461
| | | | | - Switch to SSO with WebSocket - Update endpoints (all but version checking)
* Reject new mod installations if another one is already runningKrzysztof Starecki2019-02-151-0/+14
|
* Write currentProfile to Ini file on profile change. Exclusively for outside ↵Al2019-02-151-0/+7
| | | | detection of profile change.
* Make logs more consistent in format and contentLostDragonist2019-01-301-11/+11
|
* Make logs more consistent in format and contentLostDragonist2019-01-301-5/+5
|
* Change modsSortedByProfilePriority to not return overwrite or backup modsLostDragonist2019-01-281-1/+5
|
* Merge remote-tracking branch 'remotes/origin/Develop' into archive_conflicts_2LostDragonist2019-01-221-58/+130
|\
| * Use the optimized function that was createdLostDragonist2019-01-221-3/+1
| |
| * Reduce file I/O operations when enabling/disabling multiple modsLostDragonist2019-01-221-58/+132
| |
| * Fix forced libraries when using shortcutsLostDragonist2019-01-191-1/+1
| |
* | Fix forced libraries when using shortcutsLostDragonist2019-01-191-1/+1
| |
* | Merge remote-tracking branch 'origin/Develop' into archive_conflicts_2Silarn2019-01-181-7/+30
|\|
| * Delete the settings array before writing a new oneLostDragonist2019-01-111-0/+1
| |
| * Fix regex warningLostDragonist2019-01-111-1/+1
| |
| * Support for force loading librariesLostDragonist2019-01-111-6/+28
| |
* | Merge remote-tracking branch 'origin/Develop' into archive_conflicts_2Silarn2019-01-051-13/+20
|\|
| * Change qPrintable to qUtf8Printable to better support non-ASCII textLostDragonist2019-01-051-12/+12
| |
| * Improve performance by removing redundant actions when changing mod statesLostDragonist2019-01-051-1/+8
| |
* | Merge branch 'Develop' into archive_conflicts_2Project5792018-12-291-6/+13
|\| | | | | | | Updating to 2.1.7alpha1
| * Allow some functions to pass in empty paths to check the root folderLostDragonist2018-12-281-6/+9
| |