summaryrefslogtreecommitdiff
path: root/src/shared/directoryentry.cpp
Commit message (Collapse)AuthorAgeFilesLines
* filter on filename column only because loading the meta for every file takes ↵isanae2020-02-051-8/+18
| | | | | | forever some small optimizations when enabling mods
* don't get meta for fields that are not usedisanae2020-02-041-4/+17
| | | | | show compressed file size if available remember file sizes for files in archives
* fixed bad path for alternate originsisanae2020-02-041-3/+11
| | | | finished ShellMenuCollection, had to split a bunch of things
* preparing for multiple origins shell menusisanae2020-02-041-0/+16
| | | | split exec() from createMenu()
* removed LEAK_TRACE stuffisanae2020-02-041-126/+93
| | | | | refactored DirectoryEntry for lookup maps filetreemodel: made ensureLoaded() a no-op while refreshing, faster processing for removing rows
* missing toStdString() from mergeisanae2020-02-041-1/+1
|
* refactoring: moved member functions in the same order as the headerisanae2020-02-041-551/+545
|
* refactoring: whitespace, newlines, auto, removed commented out codeisanae2020-02-041-215/+274
|
* refactoring: whitespace and newlinesisanae2020-02-041-4/+6
|
* renamed ToLower() to avoid confusion with in-place vs copyisanae2020-02-041-14/+111
| | | | pre-hashed file lookup in DirectoryEntry
* added a map for directories in DirectoryEntryisanae2020-02-041-10/+46
| | | | more optimizations for filetree
* some optimizations to avoid case conversions and memory allocationsisanae2020-02-041-2/+4
|
* initial implementation for updating file tree, buggyisanae2020-02-041-0/+5
|
* added a few missing constsisanae2020-02-041-1/+1
| | | | | removed incorrect assert about an empty game edition added FileTree to wrap a QTreeView and a FileTreeModel, moved some context menu actions over
* Fix problem with translated unmanaged mods and origin namesSilarn2019-12-141-9/+10
| | | | - (Also adds translatable strings to directoryentry.cpp)
* changed qCritical() to log::error()isanae2019-07-221-10/+13
| | | | removed now unused vlog()
* removed unused or redundant stuff in error_report.hisanae2019-07-221-6/+6
| | | | | | | 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
* conflict lists:isanae2019-05-311-0/+5
| | | | | | - the file index is now stored in the row data - the alternate origins are now added to the context menu in a "go to" submenu - context menu items are now visually disabled instead of omitted from the menu
* Fix origin determination for the case of a lower priority, loose files mod ↵LostDragonist2019-03-221-4/+14
| | | | being added after a higher priority, archived files mod.
* Performance improvements:Al2019-02-121-7/+7
| | | | | * Avoid accessing disk for finding archives if archive parsing is disabled. * Avoid very expensive createFile() call in removeOrigin(), after disabling a mod or closing modinfodialog.
* Change find_if to remove_ifLostDragonist2019-01-011-1/+1
|
* Fixed mainwindow.cpp so that Qt Creator does not break it anymore.Al12rs2018-12-121-5/+26
| | | | | | | | | | | We should be able to normally use Creator now without having to worry about breaking the build. Partial fix for conflict information getting messd up after opening infodialog or disabling a mod. Icons still get messed up but conflict tab remains consistent at first inspection. Reverted main tab to plugins Changed version of Archive conflicts branch to 2.2.0 pre-alpha.
* Initial archive conflict parsingSilarn2018-12-121-36/+78
| | | | | | | | | Squashed commit: Basic archive conflict parsing - pass 1 Merge fixes for archive parsing Basic archive conflict parsing - pass 1 Merge fixes for archive parsing Should fix conflict detection for archive files
* Revert "Applied clang-format on source"Sandro Jäckel2018-02-231-592/+720
| | | | This reverts commit 5e5c9c07291f6b09623d31c92b1fb61c4ede576e.
* Applied clang-format on sourceSandro Jäckel2018-02-221-720/+592
|
* Fix rare crash when deactiving modsEran Mizrahi2017-12-241-3/+3
|
* Implement file priority for loose files > archivesJeremy Rimpo2017-12-171-32/+36
|
* replaced boost&qt foreach-implementations by the c++11 variantTannin2016-02-091-3/+2
|
* first work on interfacing with usvfsTannin2015-11-171-2/+2
|
* small stuffTannin2015-06-121-2/+2
|
* - some code cleanup and modernization trying to fix "dr memory" reportsTannin2015-05-171-29/+35
| | | | | | (though they were almost certainly false positives) - there is now a 50ms timeout on logging messages - bugfix: leaked handles after directory searches
* tons of code cleanup and minor fixes to harden the code (mostly suggestions ↵Tannin2015-02-251-3/+5
| | | | from static code analysis)
* Merge with branch1.2Tannin2015-01-241-8/+3
|\
| * updated version numberTannin2015-01-241-3/+1
| |
| * cleanup (mostly removing unused includes)Tannin2015-01-221-5/+2
| |
* | MergeTannin2015-01-041-28/+28
|\ \ | |/ |/|
| * replaced all uses of NULL with nullptrTannin2014-11-281-28/+28
| | | | | | | | fixed a few placed where NULL was used as a number or boolean
| * - moved the hook-recursion-protection to tlsTannin2014-09-291-6/+4
| | | | | | | | | | | | | | | | | | - some code cleanup and consolidation - hook.dll will now report all of its own exceptions - some more logging during startup - changed the way urls are encoded for download requests - now displaying (one of the) process name(s) while waiting for a program to end - bugfix: spawned processes were forced to leave the job
| * - several style fixes suggested by static analysisTannin2014-09-241-3/+3
| | | | | | | | - will now support up to 4 levels of version numbers (major.minor.subminor.subsubminor
| * - re-enabled building of loot_cli and started developing against the new apiTannin2014-09-081-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - extended set of default categories - more tolerand bbcode parser - added a few colors for the bbcode parser - more fixes to qt5 compatibility - started work on ability to unloading (and thus re-loading) of plugins - names of plugins are no longer localizable (because those names are also used to store settings) - added settings to disable individual diagnosis settings - path of dependencies is now configured in a .pri file instead of environment variablees - bugfix: if the modid-input is canceled, the id was saved as -1 and wasn't re-requested from the user - bugfix: moving files with the SHFileOperation-Api didn't update the vfs correctly (still not perfect but better) - bugfix: attempt to remove the deleter-file seems to have caused error messages for some users - bugfix: fixed a couple of cases that might have caused the tutorial to hang
| * - performance optimizations for detection of file changes in mod directoriesTannin2014-08-011-9/+65
| | | | | | | | | | | | - 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: broke qt4 compatibility in trying to support qt5Tannin2014-07-171-1/+1
| | | | | | | | | | - bugfix: overwrite dialog displayed system drives if the overwrite directory didn't exist - bugfix: ini tweak activation wasn't saved
| * - qt 5 compatibility fixesTannin2014-07-151-6/+11
| | | | | | | | - detection for support of optimized find no longer depends on deprecated api
* | - added error handling when a file can't be deleted from vfsTannin2014-12-011-4/+8
| | | | | | | | - minor bugfixes
* | - moved the hook-recursion-protection to tlsTannin2014-09-291-6/+4
| | | | | | | | | | | | | | | | | | - some code cleanup and consolidation - hook.dll will now report all of its own exceptions - some more logging during startup - changed the way urls are encoded for download requests - now displaying (one of the) process name(s) while waiting for a program to end - bugfix: spawned processes were forced to leave the job
* | - several style fixes suggested by static analysisTannin2014-09-241-3/+3
| | | | | | | | - will now support up to 4 levels of version numbers (major.minor.subminor.subsubminor
* | - re-enabled building of loot_cli and started developing against the new apiTannin2014-09-081-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - extended set of default categories - more tolerand bbcode parser - added a few colors for the bbcode parser - more fixes to qt5 compatibility - started work on ability to unloading (and thus re-loading) of plugins - names of plugins are no longer localizable (because those names are also used to store settings) - added settings to disable individual diagnosis settings - path of dependencies is now configured in a .pri file instead of environment variablees - bugfix: if the modid-input is canceled, the id was saved as -1 and wasn't re-requested from the user - bugfix: moving files with the SHFileOperation-Api didn't update the vfs correctly (still not perfect but better) - bugfix: attempt to remove the deleter-file seems to have caused error messages for some users - bugfix: fixed a couple of cases that might have caused the tutorial to hang
* | - performance optimizations for detection of file changes in mod directoriesTannin2014-08-011-9/+65
| | | | | | | | | | | | - 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: broke qt4 compatibility in trying to support qt5Tannin2014-07-171-1/+1
| | | | | | | | | | - bugfix: overwrite dialog displayed system drives if the overwrite directory didn't exist - bugfix: ini tweak activation wasn't saved
* | - qt 5 compatibility fixesTannin2014-07-151-6/+11
|/ | | | - detection for support of optimized find no longer depends on deprecated api