Compare commits

...
72 Commits
Author SHA1 Message Date
Chris Bessent c2ee9b8e96 Merge pull request #6 from ModOrganizer2/Develop
Stage for release 2.2.2
2020-01-06 05:01:32 -07:00
Silarn 6d8b834e78 Update Appveyor to official VS 2019 image 2019-09-28 00:41:38 -05:00
Jeremy Rimpo ea4c9de3f9 Merge pull request #5 from ModOrganizer2/Develop
Stage for release 2.2.1
2019-07-14 17:56:38 -05:00
Silarn 366aee53c0 Set optimization for release builds 2019-05-22 02:04:20 -05:00
Silarn c80335182d Add logs to build artifacts on CI fail, commit translation changes 2019-05-21 23:46:05 -05:00
Silarn 953ce74950 Switch to local build files as appveyor can't use installed files 2019-05-21 02:27:56 -05:00
Silarn 56eee7d629 Unify artifacts source path to install path 2019-05-21 01:37:17 -05:00
Silarn 7716eae9a7 Set appveyor image to VS 2019 Preview 2019-05-08 23:10:32 -05:00
LostDragonist 151f75b75e Merge pull request #4 from ModOrganizer2/Develop
Stage for Release 2.2.0
2019-05-03 20:40:15 -05:00
LostDragonist 1428e898d3 Update translation file 2019-04-29 14:28:59 -05:00
Brian Munro ba5bf967cf Merge pull request #3 from ModOrganizer2/Appveyor
Support Appveyor
2019-04-29 10:49:43 +02:00
LePresidente d82f7fcc4b Fixed CMakeLists file to use DEPENDENCIES_DIR variable. 2019-04-27 20:36:21 +02:00
Lepresidente 8990fd9cf8 Support Appveyor 2019-04-26 14:48:02 +02:00
LostDragonist 5818f32c36 Add the plugins that require the masters to the missing masters notification 2019-04-15 04:55:37 -05:00
LostDragonist b75a1600e6 Update translation file 2019-03-18 06:10:05 -05:00
LostDragonist 9f6f754bc7 Don't report overall failure if archive flag is set 2019-03-12 20:07:09 -05:00
LostDragonist b7f4cd75c4 All else fails, set the archive attribute on files 2019-03-12 20:01:51 -05:00
LostDragonist 7de65e7abf Update translation file 2019-03-07 18:21:31 -06:00
LostDragonist 87c1e464c5 Use DeviceIoControl to remove file sparseness 2019-02-23 17:50:16 -06:00
LostDragonist 15bc7ff731 Use DeviceIoControl to remove file compression 2019-02-23 17:15:42 -06:00
LostDragonist 80d4b2374e Update translation file 2019-01-30 22:44:00 -06:00
Silarn 4c59d53dd2 New translation file for updated overwrite description 2019-01-14 13:20:07 -06:00
Silarn edf8e49475 Updated overwrite description 2019-01-14 13:19:08 -06:00
LostDragonist f82b49bf28 Change qPrintable to qUtf8Printable to better support non-ASCII text 2019-01-05 16:33:58 -06:00
LostDragonist 7557a27acf Don't trigger on directories and add debug output 2018-12-29 21:57:03 -06:00
LostDragonist 85c5e4c5e5 Updates based on new information
Default to disabled
Trigger on all games due to being disabled by default
Trigger on all attributes
Clear all attributes
2018-12-29 03:06:49 -06:00
LostDragonist 6792102fc9 Check and fix file attributes when launching an executable 2018-12-28 16:33:10 -06:00
Brian Munro bfeb51ff15 Merge pull request #2 from Modorganizer2/Develop
Stage for 2.1.3 release
2018-05-08 12:20:16 +02:00
Silarn fd86bd6501 Updating gitignore 2018-05-04 00:28:39 -05:00
Silarn e0543a5048 Updated strings. 2018-05-03 17:15:09 -05:00
Silarn e44513c31b Allow for primary game sources and marking mods as converted/working 2018-05-03 16:17:38 -05:00
Silarn bbeb26b459 Update translation files 2018-05-01 16:59:34 -05:00
Silarn 0e8e61c1dc Disable the alternate game check by default 2018-05-01 12:43:27 -05:00
Silarn e161beab23 Add alternative game flag and check 2018-04-27 01:57:58 -05:00
Silarn cc69866248 Remove remnants of QtScript and fix some CMake issues 2018-04-19 01:43:54 -05:00
Brian Munro c20f112f14 Merge pull request #1 from Modorganizer2/Develop
Merge to Master for Release
2018-04-13 08:54:59 +02:00
Jeremy Rimpo 8c311f06cf Remove extraneous search code 2018-04-13 00:38:20 -05:00
Silarn fcc76b9436 Prep for Qt 5.11 (backward-compatible) 2018-04-10 23:28:25 -05:00
Silarn e562c428ab Fix up CMAKE to use /MP and allow building through umbrella 2018-04-07 17:12:17 -05:00
Brian Munro b099c92188 Merge pull request #3 from Silarn/mainline_dev
ESL updates
2017-10-30 12:43:12 +02:00
Jeremy Rimpo 0a11edc584 Add ESL to problem message 2017-10-29 23:56:29 -05:00
Jeremy Rimpo a9f50bc4a3 Basic ESL updates 2017-10-20 20:27:03 -05:00
LePresidente 121e0d07ae Updated cmakelists to get the QT5 location from the QT_ROOT variable, instead of expecting it in DEPENDENCIES_DIR. 2017-09-21 16:54:25 +02:00
Brian Munro 353629500b Merge pull request #2 from ZachHaber/master
Fixed Log Path
2017-01-20 13:08:56 -08:00
ZachHaber f344672d9d Fixed Log Path
I was mistaken as to where the logs were created, diagnose basic should
now look in the location they are created, in the appdata path.
2017-01-20 13:53:53 -06:00
Brian Munro 50c13dd864 Merge pull request #1 from ZachHaber/master
Fixed overwrite and logs
2017-01-17 20:23:45 -08:00
ZachHaber 2e687bea6e Fixed overwrite and logs
Diagnose basic should now see the correct overwrite and log folders,
rather than the default ones.
2017-01-17 16:34:45 -06:00
Brian Munro bc24f6f3d7 Update diagnosebasic.cpp
Fixed if statement, as it was always returning true.
2016-12-22 06:40:33 +02:00
LePresidente 8ea35f7a47 skyrimSE edit. 2016-12-20 03:39:25 -08:00
Tannin 0cd3f8232e translation 2016-06-04 18:11:39 +02:00
Tannin 985fbb604d updated cmake script 2016-05-06 22:50:19 +02:00
Tannin f712240fef using optimization flags from cmake settings 2016-01-10 19:51:58 +01:00
TanninOne 72ab614431 Merge pull request #1 from ThosRTanner/issue/356
Refactor gameinfo & 'shared' library to use game plugins (12 of 17)
2015-12-06 13:05:48 +01:00
Thomas Tanner d1c34257cd Merge remote-tracking branch 'refs/remotes/TanninOne/master' into issue/356 2015-12-05 11:46:55 +00:00
Tannin 6d078bab60 removed potential mod order detection code 2015-12-01 21:05:39 +01:00
Thomas Tanner d9e26399d1 Removes igameinfo.h from everywhere apart from (sort of) the pythonrunner plugin. 2015-11-22 08:48:48 +00:00
Thomas Tanner a577d4a519 Merge remote-tracking branch 'refs/remotes/TanninOne/master' 2015-11-18 20:50:22 +00:00
Tannin d349de2cac updated build scripts 2015-11-16 21:39:49 +01:00
Thomas Tanner 0a1be591d3 Merge remote-tracking branch 'TanninOne/master' 2015-10-10 13:53:26 +01:00
Tannin 603b723b7a more work on build system 2015-10-09 18:57:54 +02:00
Tannin cfc7ea1ef5 fixed build system 2015-09-26 23:53:39 +02:00
Tannin 5dc33c4dcd updated build system 2015-09-24 18:14:10 +02:00
convert-repo e1bdfcaaea update tags 2015-09-07 17:38:51 +00:00
Tannin 043f45ab70 Merge 2015-08-31 21:26:47 +02:00
Tom Tanner fb294651c3 Merge 2015-08-28 20:04:15 +01:00
Tannin f4e1b296ad Merge 2015-08-27 20:59:37 +02:00
Tom Tanner bd55424d8e Small fix to shut up messages about long boost names 2015-08-20 19:53:39 +01:00
Tannin d56a520815 Simplified the PMOP message 2015-08-19 19:05:15 +02:00
Tannin fe8966e279 small code beautification 2015-07-07 20:53:38 +02:00
Tom Tanner 98bd1d4780 And now I find the place I should have altered.
Added some options to the diagnosis plugin to ignore .log files and empty
directories in overwrite folder
2015-06-24 20:46:31 +01:00
Tom Tanner c345cacbc9 and now I find out I don't need to do it at all 2015-06-23 20:27:38 +01:00
Tom Tanner b78ae57ed4 Factor out general, nexis, plugins tab code into individual classes
Add some code and page to control what is/isn't significant in overwrite
2015-06-20 15:37:32 +01:00
8 changed files with 999 additions and 642 deletions
+6
View File
@@ -0,0 +1,6 @@
CMakeLists.txt.user
edit
*.bak
/msbuild.log
/*std*.log
/*build
+13
View File
@@ -0,0 +1,13 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
ADD_COMPILE_OPTIONS($<$<CXX_COMPILER_ID:MSVC>:/MP> $<$<CXX_COMPILER_ID:MSVC>:$<$<CONFIG:RELEASE>:/O2>> $<$<CXX_COMPILER_ID:MSVC>:$<$<CONFIG:RELWITHDEBINFO>:/O2>>)
SET(PROJ_NAME diagnose_basic)
PROJECT(${PROJ_NAME})
SET(DEPENDENCIES_DIR CACHE PATH "")
# hint to find qt in dependencies path
LIST(APPEND CMAKE_PREFIX_PATH ${QT_ROOT}/lib/cmake)
ADD_SUBDIRECTORY(src)
+32
View File
@@ -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
+65
View File
@@ -0,0 +1,65 @@
CMAKE_MINIMUM_REQUIRED (VERSION 2.8.11)
CMAKE_POLICY(SET CMP0020 NEW)
CMAKE_POLICY(SET CMP0043 NEW)
FILE(GLOB ${PROJ_NAME}_SRCS *.cpp)
FILE(GLOB ${PROJ_NAME}_HDRS *.h)
FILE(GLOB ${PROJ_NAME}_FORMS *.ui)
SET(CMAKE_INCLUDE_CURRENT_DIR ON)
SET(CMAKE_AUTOMOC ON)
SET(CMAKE_AUTOUIC ON)
FIND_PACKAGE(Qt5Widgets REQUIRED)
FIND_PACKAGE(Qt5LinguistTools)
QT5_WRAP_UI(${PROJ_NAME}_UIHDRS ${${PROJ_NAME}_FORMS})
QT5_CREATE_TRANSLATION(${PROJ_NAME}_translations_qm ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/src/diagnose_basic_en.ts)
SET(Boost_USE_STATIC_LIBS ON)
SET(Boost_USE_MULTITHREADED ON)
SET(Boost_USE_STATIC_RUNTIME OFF)
FIND_PACKAGE(Boost)
IF (Boost_FOUND)
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
ENDIF (Boost_FOUND)
SET(default_project_path "${DEPENDENCIES_DIR}/modorganizer_super")
GET_FILENAME_COMPONENT(${default_project_path} ${default_project_path} REALPATH)
SET(project_path "${default_project_path}" CACHE PATH "path to the other mo projects")
SET(lib_path "${project_path}/../../install/libs")
INCLUDE_DIRECTORIES(${project_path}/uibase/src)
LINK_DIRECTORIES(${lib_path})
ADD_DEFINITIONS(-DUNICODE -D_UNICODE)
ADD_LIBRARY(${PROJ_NAME} SHARED ${${PROJ_NAME}_HDRS} ${${PROJ_NAME}_SRCS} ${${PROJ_NAME}_UIHDRS} ${${PROJ_NAME}_translations_qm})
TARGET_LINK_LIBRARIES(${PROJ_NAME}
Qt5::Widgets
${Boost_LIBRARIES}
uibase)
IF (MSVC)
SET_TARGET_PROPERTIES(${PROJ_NAME} PROPERTIES COMPILE_FLAGS "/std:c++latest")
ENDIF()
IF (MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 4)
# 32 bits
SET_TARGET_PROPERTIES(${PROJ_NAME} PROPERTIES LINK_FLAGS "/LARGEADDRESSAWARE")
ENDIF()
IF (NOT "${OPTIMIZE_COMPILE_FLAGS}" STREQUAL "")
SET_TARGET_PROPERTIES(${PROJ_NAME} PROPERTIES COMPILE_FLAGS_RELWITHDEBINFO ${OPTIMIZE_COMPILE_FLAGS})
ENDIF()
IF (NOT "${OPTIMIZE_LINK_FLAGS}" STREQUAL "")
SET_TARGET_PROPERTIES(${PROJ_NAME} PROPERTIES LINK_FLAGS_RELWITHDEBINFO ${OPTIMIZE_LINK_FLAGS})
ENDIF()
###############
## Installation
INSTALL(TARGETS ${PROJ_NAME}
RUNTIME DESTINATION bin/plugins)
INSTALL(FILES $<TARGET_PDB_FILE:${PROJ_NAME}>
DESTINATION pdb)
+4
View File
@@ -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
View File
File diff suppressed because it is too large Load Diff
+5 -2
View File
@@ -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;
};