mirror of
https://github.com/ModOrganizer2/modorganizer-diagnose_basic.git
synced 2026-07-27 14:03:10 -07:00
Compare commits
78
Commits
release_v1.3.5
...
2_3_0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d46fd9725 | ||
|
|
3c71a048d7 | ||
|
|
76d722710c | ||
|
|
9bc94001ff | ||
|
|
a56e18142a | ||
|
|
ef723d00f6 | ||
|
|
c2ee9b8e96 | ||
|
|
6d8b834e78 | ||
|
|
ea4c9de3f9 | ||
|
|
366aee53c0 | ||
|
|
c80335182d | ||
|
|
953ce74950 | ||
|
|
56eee7d629 | ||
|
|
7716eae9a7 | ||
|
|
151f75b75e | ||
|
|
1428e898d3 | ||
|
|
ba5bf967cf | ||
|
|
d82f7fcc4b | ||
|
|
8990fd9cf8 | ||
|
|
5818f32c36 | ||
|
|
b75a1600e6 | ||
|
|
9f6f754bc7 | ||
|
|
b7f4cd75c4 | ||
|
|
7de65e7abf | ||
|
|
87c1e464c5 | ||
|
|
15bc7ff731 | ||
|
|
80d4b2374e | ||
|
|
4c59d53dd2 | ||
|
|
edf8e49475 | ||
|
|
f82b49bf28 | ||
|
|
7557a27acf | ||
|
|
85c5e4c5e5 | ||
|
|
6792102fc9 | ||
|
|
bfeb51ff15 | ||
|
|
fd86bd6501 | ||
|
|
e0543a5048 | ||
|
|
e44513c31b | ||
|
|
bbeb26b459 | ||
|
|
0e8e61c1dc | ||
|
|
e161beab23 | ||
|
|
cc69866248 | ||
|
|
c20f112f14 | ||
|
|
8c311f06cf | ||
|
|
fcc76b9436 | ||
|
|
e562c428ab | ||
|
|
b099c92188 | ||
|
|
0a11edc584 | ||
|
|
a9f50bc4a3 | ||
|
|
121e0d07ae | ||
|
|
353629500b | ||
|
|
f344672d9d | ||
|
|
50c13dd864 | ||
|
|
2e687bea6e | ||
|
|
bc24f6f3d7 | ||
|
|
8ea35f7a47 | ||
|
|
0cd3f8232e | ||
|
|
985fbb604d | ||
|
|
f712240fef | ||
|
|
72ab614431 | ||
|
|
d1c34257cd | ||
|
|
6d078bab60 | ||
|
|
d9e26399d1 | ||
|
|
a577d4a519 | ||
|
|
d349de2cac | ||
|
|
0a1be591d3 | ||
|
|
603b723b7a | ||
|
|
cfc7ea1ef5 | ||
|
|
5dc33c4dcd | ||
|
|
e1bdfcaaea | ||
|
|
043f45ab70 | ||
|
|
fb294651c3 | ||
|
|
f4e1b296ad | ||
|
|
bd55424d8e | ||
|
|
d56a520815 | ||
|
|
fe8966e279 | ||
|
|
98bd1d4780 | ||
|
|
c345cacbc9 | ||
|
|
b78ae57ed4 |
@@ -0,0 +1,6 @@
|
||||
CMakeLists.txt.user
|
||||
edit
|
||||
*.bak
|
||||
/msbuild.log
|
||||
/*std*.log
|
||||
/*build
|
||||
@@ -0,0 +1,12 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(diagnose_basic)
|
||||
set(project_type plugin)
|
||||
set(enable_warnings OFF)
|
||||
|
||||
if(DEFINED DEPENDENCIES_DIR)
|
||||
include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/project.cmake)
|
||||
else()
|
||||
include(../cmake_common/project.cmake)
|
||||
endif()
|
||||
add_subdirectory(src)
|
||||
@@ -0,0 +1,32 @@
|
||||
version: 1.0.{build}
|
||||
skip_branch_with_pr: true
|
||||
image: Visual Studio 2019
|
||||
environment:
|
||||
WEBHOOK_URL:
|
||||
secure: gOKbXaZM9ImtMD5XrYITvdyZUW/az082G9OIN1EC1Vbg57wBaeLhi49uGjxPw5GVujHku6kxN6ab89zhbS5GVeluR76GM83IbKV4Sh7udXzoYZZdg6YudtYHzdhCgUeiedpswbuczTq9ceIkkfSEWZuh/lMAAVVwvcGsJAnoPFw=
|
||||
build_script:
|
||||
- cmd: >-
|
||||
git clone --depth=1 --branch=%APPVEYOR_REPO_BRANCH% https://github.com/ModOrganizer2/modorganizer-umbrella.git c:\projects\modorganizer-umbrella 2> $null
|
||||
|
||||
mkdir c:\projects\modorganizer-build -type directory
|
||||
|
||||
cd c:\projects\modorganizer-umbrella
|
||||
|
||||
C:\Python37-x64\python.exe unimake.py -d c:\projects\modorganizer-build -s Appveyor_Build=True %APPVEYOR_PROJECT_NAME%
|
||||
artifacts:
|
||||
- path: build\src\diagnose_basic.dll
|
||||
name: diagnose_basic_dll
|
||||
- path: build\src\diagnose_basic.pdb
|
||||
name: diagnose_basic_pdb
|
||||
- path: build\src\diagnose_basic.lib
|
||||
name: diagnose_basic_lib
|
||||
on_success:
|
||||
- ps: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER
|
||||
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
|
||||
- ps: ./send.ps1 success $env:WEBHOOK_URL
|
||||
on_failure:
|
||||
- ps: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER
|
||||
- ps: Push-AppveyorArtifact ${env:APPVEYOR_BUILD_FOLDER}\stdout.log
|
||||
- ps: Push-AppveyorArtifact ${env:APPVEYOR_BUILD_FOLDER}\stderr.log
|
||||
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
|
||||
- ps: ./send.ps1 failure $env:WEBHOOK_URL
|
||||
@@ -0,0 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
if(DEFINED DEPENDENCIES_DIR)
|
||||
include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/src.cmake)
|
||||
else()
|
||||
include(../../cmake_common/src.cmake)
|
||||
endif()
|
||||
@@ -9,6 +9,10 @@ env.AppendUnique(CPPDEFINES = [
|
||||
'_SCL_SECURE_NO_WARNINGS'
|
||||
])
|
||||
|
||||
# Boost produces very long names with msvc truncates. Doesn't seem to cause
|
||||
# problems.
|
||||
env.AppendUnique(CPPFLAGS = [ '-wd4503' ])
|
||||
|
||||
env.AppendUnique(CPPPATH = [
|
||||
'${BOOSTPATH}'
|
||||
])
|
||||
|
||||
File diff suppressed because one or more lines are too long
+696
-640
File diff suppressed because it is too large
Load Diff
+5
-2
@@ -67,6 +67,8 @@ private:
|
||||
bool nitpickInstalled() const;
|
||||
bool assetOrder() const;
|
||||
bool missingMasters() const;
|
||||
bool alternateGame() const;
|
||||
bool fileAttributes(const QString &executable) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -74,9 +76,9 @@ private:
|
||||
static const unsigned int PROBLEM_OVERWRITE = 2;
|
||||
static const unsigned int PROBLEM_INVALIDFONT = 3;
|
||||
static const unsigned int PROBLEM_NITPICKINSTALLED = 4;
|
||||
static const unsigned int PROBLEM_ASSETORDER = 5;
|
||||
static const unsigned int PROBLEM_PROFILETWEAKS = 7;
|
||||
static const unsigned int PROBLEM_MISSINGMASTERS = 8;
|
||||
static const unsigned int PROBLEM_ALTERNATE = 9;
|
||||
|
||||
static const unsigned int NUM_CONTEXT_ROWS = 5;
|
||||
|
||||
@@ -124,14 +126,15 @@ private:
|
||||
private:
|
||||
|
||||
void topoSort(std::vector<ListElement> &list) const;
|
||||
bool checkEmpty(const QString &path) const;
|
||||
|
||||
private:
|
||||
|
||||
MOBase::IOrganizer *m_MOInfo;
|
||||
mutable QString m_ErrorMessage;
|
||||
mutable std::vector <Move> m_SuggestedMoves;
|
||||
mutable QString m_NewestModlistBackup;
|
||||
mutable std::set<QString> m_MissingMasters;
|
||||
mutable std::map<QString, std::set<QString>> m_PluginChildren;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user