Moved language docs to GhidraDocs project

This commit is contained in:
ghidra1 2019-04-26 18:01:29 -04:00
parent 2207c2c14d
commit 657c9d1f63
25 changed files with 27 additions and 29 deletions

View File

@ -18,7 +18,7 @@ apply plugin: 'c'
// Unclear if we can rely on the VisualCpp plugin to identify the correct Visual Studio paths
project.ext.VISUAL_STUDIO_BASE_DIR = "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017"
project.ext.WINDOWS_KITS_DIR = "C:/Program Files (x86)/Windows Kits/10"
project.ext.WINDOWS_KITS_DIR = "C:\\Program Files (x86)\\Windows Kits\\10"
/****************************************************************************
* Method for extracting value from <name>=<value> pairs
@ -44,11 +44,6 @@ project.ext.VISUAL_STUDIO_VCVARS_CMD = "UNKNOWN"
project.ext.MSVC_SDK_VERSION = "UNKNOWN"
project.ext.MSVC_TOOLS_VERSION = "UNKNOWN"
// Ok, this is stupid, but mac and linux can't handle files paths that start with c:
// These paths are actually only used when running on windows, but the paths gets evaulated
// as a file no matter what platform you run gradle on. So the best solution I can think of is as
// follows.
/*
if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
project.ext.VISUAL_STUDIO_INSTALL_DIR = project.ext.VISUAL_STUDIO_BASE_DIR + "\\Professional"
@ -108,13 +103,16 @@ model {
* Task: verify presence of correct tool chain version for current platform
******************************************************************************************/
task CheckToolChain {
// Native C/Cpp plugins will trigger failure if no tool chain found
doFirst {
if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
// ensure that required MS Visual Studio is installed where expected
String msg = "Microsoft Visual Studio install not found: ${project.ext.VISUAL_STUDIO_BASE_DIR}\n" +
String msg = "Microsoft Visual Studio install not found: ${VISUAL_STUDIO_BASE_DIR}\n" +
"Adjust path in Ghidra/GPL/nativeBuildProperties.gradle if needed."
assert file(project.ext.VISUAL_STUDIO_BASE_DIR).exists() : msg
assert file(project.ext.VISUAL_STUDIO_INSTALL_DIR).exists() : msg
if (!file(VISUAL_STUDIO_BASE_DIR).exists() ||
!file(VISUAL_STUDIO_INSTALL_DIR).exists()) {
throw new GradleException(msg);
}
}
}
}

View File

@ -7,26 +7,6 @@ data/PDB_SYMBOL_SERVER_URLS.pdburl||GHIDRA||||END|
src/global/docs/ChangeHistory.html||GHIDRA||||END|
src/global/docs/UserAgreement.html||GHIDRA||||END|
src/global/docs/WhatsNew.html||GHIDRA||||END|
src/global/docs/languages/html/Diagram1.png||GHIDRA||||END|
src/global/docs/languages/html/Diagram2.png||GHIDRA||||END|
src/global/docs/languages/html/Diagram3.png||GHIDRA||||END|
src/global/docs/languages/html/additionalpcode.html||GHIDRA||||END|
src/global/docs/languages/html/pcodedescription.html||GHIDRA||||END|
src/global/docs/languages/html/pcoderef.html||GHIDRA||||END|
src/global/docs/languages/html/pseudo-ops.html||GHIDRA||||END|
src/global/docs/languages/html/reference.html||GHIDRA||||END|
src/global/docs/languages/html/sleigh.html||GHIDRA||||END|
src/global/docs/languages/html/sleigh_constructors.html||GHIDRA||||END|
src/global/docs/languages/html/sleigh_context.html||GHIDRA||||END|
src/global/docs/languages/html/sleigh_definitions.html||GHIDRA||||END|
src/global/docs/languages/html/sleigh_layout.html||GHIDRA||||END|
src/global/docs/languages/html/sleigh_preprocessing.html||GHIDRA||||END|
src/global/docs/languages/html/sleigh_ref.html||GHIDRA||||END|
src/global/docs/languages/html/sleigh_symbols.html||GHIDRA||||END|
src/global/docs/languages/html/sleigh_tokens.html||GHIDRA||||END|
src/global/docs/languages/index.html||GHIDRA||||END|
src/global/docs/languages/manual_index.txt||GHIDRA||||END|
src/global/docs/languages/versioning.html||GHIDRA||||END|
src/main/resources/UserAgreement.html||GHIDRA||||END|
src/main/resources/defaultTools/CodeBrowser.tool||GHIDRA||||END|
src/main/resources/splash.txt||GHIDRA||||END|

View File

@ -105,3 +105,23 @@ images/table_go.png||FAMFAMFAM Icons - CC 2.5||||END|
images/undo.png||GHIDRA||||END|
images/up.png||GHIDRA||||END|
images/viewmagfit.png||Nuvola Icons - LGPL 2.1||||END|
languages/html/Diagram1.png||GHIDRA||||END|
languages/html/Diagram2.png||GHIDRA||||END|
languages/html/Diagram3.png||GHIDRA||||END|
languages/html/additionalpcode.html||GHIDRA||||END|
languages/html/pcodedescription.html||GHIDRA||||END|
languages/html/pcoderef.html||GHIDRA||||END|
languages/html/pseudo-ops.html||GHIDRA||||END|
languages/html/reference.html||GHIDRA||||END|
languages/html/sleigh.html||GHIDRA||||END|
languages/html/sleigh_constructors.html||GHIDRA||||END|
languages/html/sleigh_context.html||GHIDRA||||END|
languages/html/sleigh_definitions.html||GHIDRA||||END|
languages/html/sleigh_layout.html||GHIDRA||||END|
languages/html/sleigh_preprocessing.html||GHIDRA||||END|
languages/html/sleigh_ref.html||GHIDRA||||END|
languages/html/sleigh_symbols.html||GHIDRA||||END|
languages/html/sleigh_tokens.html||GHIDRA||||END|
languages/index.html||GHIDRA||||END|
languages/manual_index.txt||GHIDRA||||END|
languages/versioning.html||GHIDRA||||END|

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB