summaryrefslogtreecommitdiff
path: root/src/shared/util.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve ToLower() performance significally.Al2019-01-051-4/+8
|
* Fix version reporting to allow non-alpha buildsLostDragonist2018-12-201-1/+1
|
* Move improved version parsing to util.h and use it everywhere.AnyOldName32018-05-161-0/+46
|
* Change how the VersionInfo object is created from version.rc such that ↵AnyOldName32018-05-151-0/+28
| | | | non-release builds are possible and get labelled as such
* Revert "Applied clang-format on source"Sandro Jäckel2018-02-231-90/+115
| | | | This reverts commit 5e5c9c07291f6b09623d31c92b1fb61c4ede576e.
* Applied clang-format on sourceSandro Jäckel2018-02-221-115/+90
|
* cleanupTannin2016-05-071-2/+6
|
* - some code cleanup and modernization trying to fix "dr memory" reportsTannin2015-05-171-2/+17
| | | | | | (though they were almost certainly false positives) - there is now a 50ms timeout on logging messages - bugfix: leaked handles after directory searches
* fixes to make MO compile with mingw (also fixes some warnings generated by ↵Tannin2015-05-161-5/+3
| | | | mingw)
* - bugfix: case conversion could produce different local-dependent resultsTannin2015-05-101-4/+14
| | | | between the time the vfs lookup map is set up and later when querying it.
* tons of code cleanup and minor fixes to harden the code (mostly suggestions ↵Tannin2015-02-251-3/+10
| | | | from static code analysis)
* Merge with branch1.2Tannin2015-01-241-62/+6
|\
| * cleanup (mostly removing unused includes)Tannin2015-01-221-44/+0
| |
| * different way to check for file existenceTannin2015-01-111-18/+6
| |
* | MergeTannin2015-01-041-8/+8
|\ \ | |/ |/|
| * replaced all uses of NULL with nullptrTannin2014-11-281-8/+8
| | | | | | | | fixed a few placed where NULL was used as a number or boolean
| * - archive library can now query for password during extraction (seems to be ↵Tannin2014-11-051-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | necessary for rars) - process blacklist is now taken from a file if there is one, not hardcoded - removed workaround for the papyrus compiler - updated loot client to work with the actual api - loot client now links with loot32.dll at runtime - loot client now produces its output in a (json-)file which includes all plugin messages and dirty flags - fomod installer now tries to parse the xml with several encodings - fomod installer will now display a diagnostics warning if the jpg imageformat isn't supported - base preview plugin now tries to be a bit smarter about resizing images to fit the screen - bugfix: fomod installer no longer tries to open an image even after detecting its invalid - bugfix: potential null-pointer dereferentiation in getprivateprofile... hooks - bugfix: potential null-pointer dereferentiation in download manager - bugfix: internal origin name showed up in one more place - bugfix: ToString function produced strings that were one (zero-termination-)character too long
| * - removed a use of wostringstream which seems to have been involved in a ↵Tannin2014-09-191-12/+17
| | | | | | | | | | | | bug. Still not sure how - rewrote widechar <-> multibyte conversion functions to handle arbitrary string lengths
| * - performance optimizations for detection of file changes in mod directoriesTannin2014-08-011-10/+8
| | | | | | | | | | | | - added a workaround for download-link handling in chrome - MO will now create a profile even if the game-launcher has never been run - bugfix: files weren't cleanly removed from vfs file register
* | - bugfix: no exec info returned for .exeTannin2015-01-031-14/+20
| | | | | | | | - bugfix: wide string conversion functions seem to have failed for empty string
* | - archive library can now query for password during extraction (seems to be ↵Tannin2014-11-051-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | necessary for rars) - process blacklist is now taken from a file if there is one, not hardcoded - removed workaround for the papyrus compiler - updated loot client to work with the actual api - loot client now links with loot32.dll at runtime - loot client now produces its output in a (json-)file which includes all plugin messages and dirty flags - fomod installer now tries to parse the xml with several encodings - fomod installer will now display a diagnostics warning if the jpg imageformat isn't supported - base preview plugin now tries to be a bit smarter about resizing images to fit the screen - bugfix: fomod installer no longer tries to open an image even after detecting its invalid - bugfix: potential null-pointer dereferentiation in getprivateprofile... hooks - bugfix: potential null-pointer dereferentiation in download manager - bugfix: internal origin name showed up in one more place - bugfix: ToString function produced strings that were one (zero-termination-)character too long
* | - removed a use of wostringstream which seems to have been involved in a ↵Tannin2014-09-191-12/+17
| | | | | | | | | | | | bug. Still not sure how - rewrote widechar <-> multibyte conversion functions to handle arbitrary string lengths
* | - performance optimizations for detection of file changes in mod directoriesTannin2014-08-011-10/+8
|/ | | | | | - added a workaround for download-link handling in chrome - MO will now create a profile even if the game-launcher has never been run - bugfix: files weren't cleanly removed from vfs file register
* - plugin list now highlights plugins with attached ini filesTannin2013-12-141-3/+0
| | | | - bugfix: opening nexus through the globe icon used the nmm.nexusmods.com url
* - now avoids a few unnecessary copy operations during generation of the ↵Tannin2013-07-171-10/+25
| | | | | | | directory structure - bugfix: circular dependency caused a memory leak - bugfix: removing a single mod lead to the wrong mod being deleted
* - added hook for ansi version of SHFileOperation, this function may not be ↵Tannin2013-05-281-0/+13
| | | | routed to the unicode version in every windows variant
* - some more safety checks in the ini-limit removal codeTannin2013-03-131-0/+7
| | | | | | | | | | | - 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-1/+35
| | | | | | | | | | | | | | 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/+22
| | | | - bugfix: the "fix mods" function was accessing the save game data incorrectly, causing a crash
* initial commit to mercurial repository.Tannin2013-02-031-0/+119
Corresponds to MO version 0.12.6