summaryrefslogtreecommitdiff
path: root/src/shared/util.h
Commit message (Collapse)AuthorAgeFilesLines
* Move to VCPKG (#2068)Mikaël Capelle2025-05-291-3/+4
| | | | | | | | | * Remove SConscript related files. * Force-load translations from uibase and gamebryo/creation. * Bring githubpp here and add a standalone preset. * Switch VersionInfo -> Version for ModOrganizer2. (#2063) * Add pre-commit hook. * Use 7zip build from VCPKG registry. * Use archive.dll from the bin folder instead of dlls.
* Apply clang-format.Mikaël Capelle2023-07-091-13/+13
|
* Convert everything to CRLF.Mikaël Capelle2023-07-091-89/+89
|
* force instance selection when the current instance cannot be usedisanae2021-02-131-0/+1
| | | | the problem is that an empty instance name means the portable instance, but MO clears the name when it needs instance selection, which can create a loop if the portable instance can't be used
* add warning when profile given with -p doesn't existisanae2020-11-031-0/+2
| | | | implemented moshortcut, nxm links and executable names as command line options
* moved TimeThis to uibaseisanae2020-02-181-14/+1
| | | | fixed progress bar
* re-enabled archive parsingisanae2020-02-181-0/+10
|
* wstring_view when possibleisanae2020-02-181-0/+1
| | | | first implementation of NtQueryDirectoryFile
* hidden unique_ptr into FileTreeItemisanae2020-02-041-0/+1
| | | | | | refactored pruning don't show shell menu for directories added collapse all in context menu
* renamed ToLower() to avoid confusion with in-place vs copyisanae2020-02-041-4/+4
| | | | pre-hashed file lookup in DirectoryEntry
* put expensive logging in an optional functionisanae2020-02-041-0/+14
|
* initial implementation for updating file tree, buggyisanae2020-02-041-0/+2
|
* fixed exiting before QThread joins when pressing the X twiceisanae2019-12-151-0/+1
|
* added usvfs version in log and about dialogisanae2019-10-091-0/+1
|
* added ExitModOrganizer(), used instead of qApp->exit()isanae2019-10-071-0/+18
| | | | | | | 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
* split envisanae2019-07-221-443/+0
|
* log guid for security productsisanae2019-07-221-1/+5
|
* fixed bad compare for nahimicisanae2019-07-221-0/+27
| | | | log displays on startup
* moved environment dump to member functionisanae2019-07-221-1/+5
| | | | added check for nahimic
* moved Console to utilisanae2019-07-221-0/+14
|
* put the error message in the ShellLinkException insteadisanae2019-07-061-0/+13
| | | | added more debug logging when creating and deleting shortcuts
* added new Shortcut class, moved stuff that was in MainWindow into itisanae2019-07-061-0/+96
| | | | | added more error handling and logging, some was missing removed some redundancy of setting the menu icons for add/remove, they're all set when clicking the button anyway
* a few more commentsisanae2019-07-011-0/+15
|
* now handles windows firewall, which apparently doens't report itself to wmiisanae2019-07-011-8/+18
| | | | some more error checking
* added --crashdump to generate dumps of a running MO processisanae2019-07-011-0/+17
| | | | added dump_running_process.bat to start another instance of MO with that flag
* security productsisanae2019-07-011-0/+21
|
* comments, some refactoringisanae2019-06-291-13/+146
| | | | switched to qDebug()
* added a warning when running in compatibility modeisanae2019-06-291-0/+1
|
* log windows versionisanae2019-06-291-30/+64
|
* lower case paths, sorted list, md5 for some filesisanae2019-06-291-0/+4
|
* refactored preloadSsl() into preloadDll()isanae2019-06-291-2/+48
| | | | | | removed old HGID check moved formatSystemMessage() to uibase added Environment class, lists loaded modules, logged at startup
* Move improved version parsing to util.h and use it everywhere.AnyOldName32018-05-161-0/+3
|
* Change how the VersionInfo object is created from version.rc such that ↵AnyOldName32018-05-151-0/+1
| | | | non-release builds are possible and get labelled as such
* Revert "Applied clang-format on source"Sandro Jäckel2018-02-231-11/+12
| | | | This reverts commit 5e5c9c07291f6b09623d31c92b1fb61c4ede576e.
* Applied clang-format on sourceSandro Jäckel2018-02-221-12/+11
|
* - some code cleanup and modernization trying to fix "dr memory" reportsTannin2015-05-171-0/+2
| | | | | | (though they were almost certainly false positives) - there is now a 50ms timeout on logging messages - bugfix: leaked handles after directory searches
* cleanup (mostly removing unused includes)Tannin2015-01-221-6/+0
|
* different way to check for file existenceTannin2015-01-111-0/+1
|
* - added hook for ansi version of SHFileOperation, this function may not be ↵Tannin2013-05-281-1/+1
| | | | routed to the unicode version in every windows variant
* - some more safety checks in the ini-limit removal codeTannin2013-03-131-1/+2
| | | | | | | | | | | - some code cleanup and minor bug fixes based on results from static code analysis - added naemfilter for the esp list - bsa changes are now stored automatically but delayed by up to 0.5 seconds (for performance reasons) - bugfix: buffer overrun when certain functions are called with empty file names - bugfix: reroute for the ini-limit fix was placed in the data segment - bugfix: mod list got mixed up when the mod directory was changed externally - bugfix: plugins.txt reroute on skyrim didn't work on winXP - bugfix: MO could become unresponsive if the tutorial script couldn't be interpreted
* - bugfix: update on overwrite directory leads files incorrectly being ↵Tannin2013-02-221-0/+3
| | | | | | | | | | | | | | assigned to it - bugfix: getfullpathname reroute now correctly handles relative paths - bugfix: cwd change to overwrite is now handled too - bugfix: using the external fomod installer to merge a mod caused error messages because directories couldn't be renamed - bugfix: The memory for file dialogs wasn't saved to the ini file - file category (main, update, optional, old) is now stored with the download for future use - when overwriting a mod, the version of the mod is only increased, never reduced. This is less correct for the unusual case that the user is downgrading but more correct for the more commen case he is installing an optional file with incorrect version number - the install mod dialog now uses the file dialog memory
* - moved shared and uibase libraries to namespacesTannin2013-02-171-19/+23
| | | | - bugfix: the "fix mods" function was accessing the save game data incorrectly, causing a crash
* initial commit to mercurial repository.Tannin2013-02-031-0/+46
Corresponds to MO version 0.12.6