summaryrefslogtreecommitdiff
path: root/src/shared/directoryentry.cpp
Commit message (Collapse)AuthorAgeFilesLines
* now using new common cmakefilesisanae2020-04-231-1/+1
| | | | | fixed includes because shared/ isn't in the path anymore removed unused modeltest files
* error handling for last modified timeisanae2020-02-181-1/+11
|
* re-enabled archive parsingisanae2020-02-181-69/+92
|
* removed directoryrefresher.h from organizercore.hisanae2020-02-181-99/+0
|
* cleanup, typedefsisanae2020-02-181-12/+11
|
* split directoryentryisanae2020-02-181-721/+24
| | | | made classes noncopyable, fixed a few unintended copies
* error checking in dump()isanae2020-02-181-5/+29
| | | | removed a bunch of "{} saved" in the logs
* moved dump() to DirectoryEntryisanae2020-02-181-33/+98
| | | | static functions instead of lambdas
* fixed crash when disabling modisanae2020-02-181-3/+5
|
* removed lastAccessed from FileEntry, not usedisanae2020-02-181-83/+93
| | | | FileRegister keeps a vector instead of a map
* removed some unnecessary countersisanae2020-02-181-48/+0
| | | | delete old structure in thread
* thread-safe OriginConnectionisanae2020-02-181-21/+80
| | | | | ThreadPool now keeps threads running keep ModThreads around so avoid reallocating buffers
* more instrumentationisanae2020-02-181-126/+156
| | | | tighter mutexes, required thread-safe FileEntry
* thread-safe directory entryisanae2020-02-181-21/+66
|
* faster getSubDirectory() for env::Directory, added lcnameisanae2020-02-181-37/+276
| | | | instrumentation
* removed dead insertFile()isanae2020-02-181-20/+25
| | | | | avoided a few string copies lowercase filename in thread
* threaded refresherisanae2020-02-181-0/+27
|
* don't lowercase twiceisanae2020-02-181-4/+6
|
* wstring_view when possibleisanae2020-02-181-22/+54
| | | | first implementation of NtQueryDirectoryFile
* 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