Commit Graph

65 Commits (c263bbf0f68aa66891efadb7d09bc2f31706f088)

Author SHA1 Message Date
Petr Mikheev ded8997362 Avoid problems if `builtin.omwscripts` is above `Morrowind.esm` in content list. 3 years ago
Evil Eye 099cd8a20c Force alphabetical order per data dir 3 years ago
Evil Eye a3e039d862 Explicitely sort by file name after adding all data dirs 3 years ago
Evil Eye ad44142dda Modify the content file sorting algorithm to finish in finite time when encountering circular dependencies 3 years ago
Petr Mikheev 37386f417e Support *.omwscripts in openmw-launcher 3 years ago
Petr Mikheev 413ac067ec Allow creating omwaddons without a dependency on an omwgame 3 years ago
jvoisin 9db7d0278a Sprinkle some const ref 4 years ago
Andrei Kortunov 8084a336b5 Replace zeroes and nulls by nullptrs 4 years ago
elsid 045ceeac11
Replace foreach macro by for-loop 5 years ago
Capostrophic 0fcb75fb21 Achieve CHIM and get rid of the loop 6 years ago
Capostrophic 5cd781b3eb Experimental folder handling rewrite 6 years ago
Capostrophic 2fbed21f83 Avoid a memory leak 6 years ago
Capostrophic e14ada8f36 Make file name comparison case-insensitive 6 years ago
Capostrophic ebe5448816 Content selector: drop duplicates of the added file (bug #2395) 6 years ago
Alexander Kolodeev 7c3ef213ce Fix error when create new OpenCS addon 6 years ago
Andrei Kortunov ad36834671 Fix some compiler warnings 6 years ago
Capostrophic d967983f5c Assume Morrowind.esm dependency for dependency-less content addons (fixes #2829) 7 years ago
Allofich 3420121c3f Fix shadowing warnings 8 years ago
scrawl daa94cc50e Fix cppcheck warnings 9 years ago
Arthur Moore c66fd69c47 Fix #include error 9 years ago
cc9cii cccf6c6bdd Rebuild the list of available content files when opening the open/new dialogues. Should resolve Bug #2644. 10 years ago
scrawl c04f6cf167 Remove unused code 10 years ago
scrawl f7ecda68c9 Fix for unicode filenames in ContentModel (Fixes #2451) 10 years ago
cc9cii 1ee6153940 Remove unnecessary boolean passing between objects. 10 years ago
cc9cii c4625b94e5 Fix OpenCS crashing since commit 9d6145 by showing gamefiles if the content selector was created from OpenCS. 10 years ago
dteviot 54e3ebde63 addon list in launcher shows addon files with no dependencies (Fixes #2348)
Also, game files must end with ".esm" or ".omwgame".
10 years ago
dteviot 9d61457956 AddOn files can be checked if game file is checked, but dependencies do not exist. 10 years ago
dteviot 6878e317a7 launcher: decouple Combo Box model from Plug-ins model.
fixes bug reported by scrawl
1. openmw.cfg had content files in order 'Bloodmoon.esm, Tribunal.esm, Morrowind.esm'
2. Blank_ESM_2.0.esm is in the Data Files directory
3. Do an ini file import.
4. Imported profile will have Blank_ESM_2.0.esm as the game file.  Should be Morrowind.esm.

Root cause: Game File combo box and Plugins Grid shared same data model, so changing plug-in file order also changed order of Game File combo box.
10 years ago
dteviot 63af9d848a Add constraint: Bloodmoon.esm requires Tribunal.esm. 10 years ago
dteviot 6dc202cba3 Removed unneeded parameter from ContentModel::setContentList() 10 years ago
scrawl 03257ecae5 QString encoding fix 10 years ago
scrawl 4c6b9f8266 Remove redundant decoder in ContentModel 10 years ago
scrawl ab9100fa90 Prevent dropping item on itself in ContentModel (Fixes #2334)
Also improves the drop indicator, it is now shown in between items instead of on an item.
10 years ago
Marc Zinnschlag fa4718283d Merge remote-tracking branch 'scrawl/contentselector' 10 years ago
dteviot 71700d2cb1 Bugfix: OpenCS segfault when plug-in dependency not found.
When a file that a plug-in depends on cannot be found, the OpenCS file dialog crashes.
Similar problem exists in omwlauncher's "Data Files" dialog.
10 years ago
dteviot 017e4cd4ef OpenCS shows plug-ins with load order issues.
1. FileDiaog in OpenCS now shows warning icon beside .esm./.esp files with load order problems.
2. omwlaucher -> replaced "stop" icon with "warning" icon for files with load order problems.
10 years ago
dteviot e95b513cfc Use icon to show files with problem (Fixes #2268)
Launcher now indicates files with problem using an icon.
Using red text for files with load order issue removed because it doesn't work well with dark themes.
10 years ago
dteviot 9d6efcecff Merge remote-tracking branch 'OpenMW/master' into FixLoadOrderReset
Fixed Conflict:
	components/contentselector/model/contentmodel.cpp
10 years ago
dteviot 083de62be5 Fixed issues found by Zinnschlag.
1. Errors found are added to default tool tip text. (Instead of replacing it.)
2. If multiple errors are found, all are shown in tool tip text, not just first one.
3. Load Order Errors are updated when files are activated/deactivated, not just when the files have their position in list changed.
10 years ago
dteviot fb671fed20 Corrected issues found by Scrawl. 10 years ago
dteviot 93bbd7463a Fixed errors and warnings from Travis CI. 10 years ago
dteviot dfbd470613 Adjust plug-in order to match profile loading.
Also marks plug-ins with load order problems in red and changes tool tip to describe error.
10 years ago
scrawl 363d1f9207 Merge remote-tracking branch 'upstream/master' 10 years ago
scrawl f931ba2efc Fix some static analysis issues (coverity) 10 years ago
MiroslavR 3cc32b641a Fix some memory leaks 10 years ago
scrawl e413bebe99 Toggle addon files when activated or clicked on checkbox rather than clicked (Fixes #1980) 10 years ago
scrawl 4b8ea25cf0 Add missing case folding for dependency filenames (Fixes #1940) 10 years ago
scrawl 7252cb63a6 Fix cppcheck issues 10 years ago
scrawl 4d39d77eaa Fix incompatible encoding names in ContentModel (bug uncovered by 41c17bccb6) 11 years ago
scrawl 47172fb8a2 ContentModel: Don't confuse file path with file name (Fixes #1352) 11 years ago