Compare commits

..
Author SHA1 Message Date
Jeremy Rimpo 4987d478a8 Add fonts_cclub.swf to font config check 2024-08-05 10:14:48 -05:00
Mikaël Capelle 7fc98c5d4e Update translations. (#18) 2024-07-21 15:56:54 +02:00
Mikaël Capelle 3b0e5c44ed Merge pull request #16 from Liderate/SSE_InvalidFontConfig
Fix SSE check in invalidFontConfig
2024-05-25 14:32:39 +02:00
Liderate cde4731e5e Fix SSE check in invalidFontConfig 2023-11-29 14:24:14 -05:00
Mikaël Capelle 51099bed28 Merge pull request #15 from Liderate/master
Clear m_PluginChildren to prevent stale entries.
2023-10-13 18:59:06 +02:00
Liderate 5b3d2adac5 Clear m_PluginChildren to prevent stale entries. 2023-10-12 02:17:06 -04:00
Mikaël Capelle d56d51e37c Merge pull request #14 from ModOrganizer2/update-cmake-common-qt6
Update following cmake_common changes.
2022-04-28 17:55:15 +02:00
Mikaël Capelle 8d4c514c4d Update following cmake_common changes. 2022-04-19 23:30:01 +02:00
Mikaël Capelle aa1b0d725c Update translation file. 2021-02-02 20:39:12 +01:00
Jeremy Rimpo e508f7bcd7 [ci skip] Update artifacts paths for msbuild 2021-01-29 10:53:35 -06:00
Mikaël Capelle 477aa4c034 Merge pull request #13 from Holt59/better-log-files-detection
Consider file ending with .log0, .log1, ..., as proper log files.
2020-11-26 22:13:35 +01:00
Mikaël Capelle 33c2867336 Check for dot before extension of log files. 2020-11-24 09:20:35 +01:00
Mikaël Capelle dd93b7e35e Consider file ending with .log0, .log1, ..., as proper log files. 2020-11-22 18:03:55 +01:00
Mikaël Capelle c893767bb2 Merge pull request #12 from Holt59/imodlist-updates
IModList updates
2020-10-26 21:37:58 +01:00
Mikaël Capelle cccdc4ece9 Fix for getMod(). 2020-10-25 17:44:44 +01:00
Mikaël Capelle 6b1f817f29 Merge pull request #11 from Holt59/fix-ipluginlist-callbacks
Update following onPluginStateChanged change.
2020-09-27 14:55:56 +02:00
Jeremy Rimpo 409850c044 [skip ci] Use PR branch for umbrella repo (if it exists) 2020-09-25 00:34:16 -05:00
Jeremy Rimpo 1c8895ed3c [skip ci] Force exit PS with last exit code after umbrella build error 2020-09-21 06:25:03 -05:00
Jeremy Rimpo 9a9181621a [skip ci] Pull data from all branches 2020-09-21 05:02:22 -05:00
Jeremy Rimpo 9d4ba2d0d1 Finalize appveyor script update 2020-09-20 22:34:31 -05:00
Jeremy Rimpo 78b7a0a523 Trying to suppress git stderr is not working 2020-09-20 22:25:30 -05:00
Jeremy Rimpo ba0a2df34f Finalize build script updates 2020-09-20 22:13:03 -05:00
Jeremy Rimpo 6a037f89a3 Convert scripts to PowerShell 2020-09-20 19:56:37 -05:00
Jeremy Rimpo 253c2ad05f Need extra space for second command 2020-09-20 19:11:50 -05:00
Jeremy Rimpo 3e2067a185 Update to checkout current branch in umbrella if it exists 2020-09-20 19:02:33 -05:00
Mikaël Capelle 941ce462e1 Update following onPluginStateChanged change. 2020-09-05 13:59:19 +02:00
Al 9d9172b7d1 Merge pull request #10 from Holt59/modstatechanged-change
Update following onModStateChanged change.
2020-09-01 03:59:39 -07:00
Mikaël Capelle d0acab52df Update following onModStateChanged change. 2020-08-29 19:33:12 +02:00
Al 8d46fd9725 Merge pull request #9 from Holt59/new-filetree
Replace usage of FileNameString and Qt::CaseInsensitive.
2020-05-20 13:03:51 +02:00
Mikaël Capelle 3c71a048d7 Replace usage of FileNameString and Qt::CaseInsensitive. 2020-05-01 17:16:54 +02:00
Silarn 76d722710c Appveyor CMAKE fix 2020-05-01 04:58:59 -05:00
isanae 9bc94001ff Merge pull request #8 from isanae/new-cmakefiles
New cmakefiles
2020-04-26 02:54:49 -04:00
isanae a56e18142a now using new cmakefiles 2020-04-24 21:37:21 -04:00
Chris Bessent ef723d00f6 Merge pull request #7 from ModOrganizer2/2_2_2
Pull in 2.2.2.1 changes
2020-01-13 23:03:08 -07:00
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
Tannin d983c908ee minor stuff 2015-05-11 21:41:00 +02:00
Tannin 0cc077b8c4 Merge 2015-05-09 21:46:40 +02:00
Tannin b245bc2ce3 enabling/disabling a plugin should now immediately cause a check for problems 2015-04-08 18:53:43 +02:00
Tannin 0a1707fa9c Merge in changes by Tom Tanner 2015-03-27 18:24:37 +01:00
Tom Tanner b10b1f28ff Fixed Scons build for existing bits.
Changed pynedit.pro to fetch from 'standard' install location
Changed saveas code to use organizer report rather than uibase - this way it's
not dependant on the vagaries of the include path, and works the same as the
rest of the organiser directory
2015-03-20 10:34:30 +00:00
Tom Tanner 59c10d78cd Merge 2015-03-19 16:48:21 +00:00
Tannin 7dd29a68e2 overwrite is now ignored when determining potential mod order conflicts 2015-03-18 19:38:24 +01:00
Tom Tanner ce0dc685ca Merge with branch1.2 2015-03-18 17:40:29 +00:00
Tom Tanner e426d8efb4 Refactoring and cleanup. 2015-03-18 14:16:04 +00:00
Tom Tanner bf00944706 Every plugin now built 2015-03-17 16:31:15 +00:00
Tannin 97c8769334 Merge with branch1.2 2015-01-24 19:34:12 +01:00
Tannin 05d1782cf1 cleanup (mostly removing unused includes) 2015-01-22 19:44:38 +01:00
Tannin f114b3ee60 bugfix: translations for some plugins weren't loaded 2015-01-11 11:14:58 +01:00
8 changed files with 947 additions and 668 deletions
+6
View File
@@ -0,0 +1,6 @@
CMakeLists.txt.user
edit
*.bak
/msbuild.log
/*std*.log
/*build
+10
View File
@@ -0,0 +1,10 @@
cmake_minimum_required(VERSION 3.16)
if(DEFINED DEPENDENCIES_DIR)
include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/mo2.cmake)
else()
include(${CMAKE_CURRENT_LIST_DIR}/../cmake_common/mo2.cmake)
endif()
project(diagnose_basic)
add_subdirectory(src)
+40
View File
@@ -0,0 +1,40 @@
version: 1.0.{build}
skip_branch_with_pr: true
image: Visual Studio 2019
environment:
WEBHOOK_URL:
secure: gOKbXaZM9ImtMD5XrYITvdyZUW/az082G9OIN1EC1Vbg57wBaeLhi49uGjxPw5GVujHku6kxN6ab89zhbS5GVeluR76GM83IbKV4Sh7udXzoYZZdg6YudtYHzdhCgUeiedpswbuczTq9ceIkkfSEWZuh/lMAAVVwvcGsJAnoPFw=
build_script:
- pwsh: >-
$ErrorActionPreference = 'Stop'
git clone --depth=1 --no-single-branch https://github.com/ModOrganizer2/modorganizer-umbrella.git c:\projects\modorganizer-umbrella
New-Item -ItemType Directory -Path c:\projects\modorganizer-build
cd c:\projects\modorganizer-umbrella
($env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH -eq $null) ? ($branch = $env:APPVEYOR_REPO_BRANCH) : ($branch = $env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH)
git checkout $(git show-ref --verify --quiet refs/remotes/origin/${branch} || echo '-b') ${branch}
C:\Python37-x64\python.exe unimake.py -d c:\projects\modorganizer-build -s Appveyor_Build=True ${env:APPVEYOR_PROJECT_NAME}
if($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode ) }
artifacts:
- path: vsbuild\src\RelWithDebInfo\diagnose_basic.dll
name: diagnose_basic_dll
- path: vsbuild\src\RelWithDebInfo\diagnose_basic.pdb
name: diagnose_basic_pdb
- path: vsbuild\src\RelWithDebInfo\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
+5
View File
@@ -0,0 +1,5 @@
cmake_minimum_required(VERSION 3.16)
add_library(diagnose_basic SHARED)
mo2_configure_plugin(diagnose_basic WARNINGS OFF PRIVATE_DEPENDS boost)
mo2_install_target(diagnose_basic)
-34
View File
@@ -1,34 +0,0 @@
#-------------------------------------------------
#
# Project created by QtCreator 2013-04-05T21:08:10
#
#-------------------------------------------------
TARGET = diagnoseBasic
TEMPLATE = lib
CONFIG += plugins
CONFIG += dll
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
DEFINES += DIAGNOSEBASIC_LIBRARY
DEFINES += NOMINMAX
# suppress a few warnings caused by boost vs vc++ paranoia
DEFINES += _SCL_SECURE_NO_WARNINGS
SOURCES += diagnosebasic.cpp
HEADERS += diagnosebasic.h
include(../plugin_template.pri)
INCLUDEPATH += "$${BOOSTPATH}"
#CONFIG += dll
#DEFINES += INIEDITOR_LIBRARY
OTHER_FILES += \
diagnosebasic.json
File diff suppressed because one or more lines are too long
+699 -631
View File
File diff suppressed because it is too large Load Diff
+9 -3
View File
@@ -27,9 +27,10 @@ along with this plugin. If not, see <http://www.gnu.org/licenses/>.
#include <imodlist.h>
#include <QString>
#include <QSet>
#include <QRegularExpression>
class DiagnoseBasic : public QObject, MOBase::IPlugin, MOBase::IPluginDiagnose
class DiagnoseBasic : public QObject, public MOBase::IPlugin, public MOBase::IPluginDiagnose
{
Q_OBJECT
Q_INTERFACES(MOBase::IPlugin MOBase::IPluginDiagnose)
@@ -67,6 +68,8 @@ private:
bool nitpickInstalled() const;
bool assetOrder() const;
bool missingMasters() const;
bool alternateGame() const;
bool fileAttributes(const QString &executable) const;
private:
@@ -74,12 +77,14 @@ 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;
static const QRegularExpression RE_LOG_FILE;
private:
struct ListElement {
@@ -124,14 +129,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;
};