diff --git a/LPHP-Preprocessor/LPHP_Preprocessor/LPHPCompiler.cs b/LPHP-Preprocessor/LPHP_Preprocessor/LPHPCompiler.cs index a899ecc..0a73f9a 100644 --- a/LPHP-Preprocessor/LPHP_Preprocessor/LPHPCompiler.cs +++ b/LPHP-Preprocessor/LPHP_Preprocessor/LPHPCompiler.cs @@ -15,22 +15,6 @@ namespace LPHP_Preprocessor { public class LPHPCompiler { - /// - /// Removes HTML-Tags () from the output - /// - private static bool COMP_REMOVE_HTML_COMMENTS { get; set; } = true; - - /// - /// Enable Min-Output (*.min.php) - /// - private static bool COMP_MIN_OUTPUT_ENABLED { get; set; } = true; - - /// - /// Enable XML-Foramted output with linebreaks and indents - /// - private static bool COMP_XML_OUTPUT_ENABLED { get; set; } = false; - - private static Dictionary COMPOPT = null; private static readonly List instructionSessionBuffer = new List(); @@ -518,7 +502,6 @@ private static void SaveFile(string pOriginalFilename, string pFileContent) bool fileGenerated = false; - string selectedFileExt; if ((bool)COMPOPT["MIN_OUTPUT_ENABLED"]) { diff --git a/LPHP-Preprocessor/LPHP_Preprocessor/LPHPWatchdog.cs b/LPHP-Preprocessor/LPHP_Preprocessor/LPHPWatchdog.cs index 65ad500..b69021b 100644 --- a/LPHP-Preprocessor/LPHP_Preprocessor/LPHPWatchdog.cs +++ b/LPHP-Preprocessor/LPHP_Preprocessor/LPHPWatchdog.cs @@ -18,19 +18,21 @@ static void Main(string[] args) Console.ForegroundColor = ConsoleColor.Cyan; Console.BackgroundColor = ConsoleColor.Black; - Console.WriteLine("================================================="); - Console.WriteLine(" LPHP Preprocessor "); - Console.WriteLine(" Version " + typeof(LPHPCompiler).Assembly.GetName().Version.ToString(3) + " ALPHA"); - Console.WriteLine(" (c) Copyright 2020 Tobias Hattinger "); - Console.WriteLine(" "); - Console.WriteLine(" Visit "); + Console.WriteLine("====================================================="); + Console.WriteLine("* LPHP Preprocessor *"); + Console.WriteLine("* Version " + typeof(LPHPCompiler).Assembly.GetName().Version.ToString(3) + " ALPHA *"); + Console.WriteLine("* (c) Copyright 2020 Tobias Hattinger *"); + Console.WriteLine("* *"); + Console.WriteLine("* Visit *"); + Console.Write("* "); Console.ForegroundColor = ConsoleColor.Blue; Console.BackgroundColor = ConsoleColor.Gray; - Console.WriteLine("https://github.com/TobiHatti/LPHP-Engine/releases"); + Console.Write("https://github.com/TobiHatti/LPHP-Engine/releases"); Console.ForegroundColor = ConsoleColor.Cyan; Console.BackgroundColor = ConsoleColor.Black; - Console.WriteLine(" for updates "); - Console.WriteLine("=================================================\r\n\r\n"); + Console.WriteLine(" *"); + Console.WriteLine("* for updates *"); + Console.WriteLine("=====================================================\r\n\r\n"); Console.ForegroundColor = ConsoleColor.White; Console.BackgroundColor = ConsoleColor.Black; @@ -62,7 +64,7 @@ static void Main(string[] args) } #if DEBUG - watchFolder = @"H:\Git\Endev-Web\PHP-Final\EndevWebsite"; + watchFolder = @"..."; #endif #if !DEBUG diff --git a/LPHP-Preprocessor/LPHP_Preprocessor/Properties/AssemblyInfo.cs b/LPHP-Preprocessor/LPHP_Preprocessor/Properties/AssemblyInfo.cs index 3cb5e4b..bff6e8c 100644 --- a/LPHP-Preprocessor/LPHP_Preprocessor/Properties/AssemblyInfo.cs +++ b/LPHP-Preprocessor/LPHP_Preprocessor/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, // indem Sie "*" wie unten gezeigt eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.1.2.0")] -[assembly: AssemblyFileVersion("0.1.2.0")] +[assembly: AssemblyVersion("0.2.0.0")] +[assembly: AssemblyFileVersion("0.2.0.0")] diff --git a/LPHP-Preprocessor/LPHP_Preprocessor/bin/Debug/LPHP.ini b/LPHP-Preprocessor/LPHP_Preprocessor/bin/Debug/LPHP.ini index cd9d83d..811e878 100644 --- a/LPHP-Preprocessor/LPHP_Preprocessor/bin/Debug/LPHP.ini +++ b/LPHP-Preprocessor/LPHP_Preprocessor/bin/Debug/LPHP.ini @@ -1,3 +1,3 @@ REMOVE_HTML_COMMENTS=True -MIN_OUTPUT_ENABLED=False +MIN_OUTPUT_ENABLED=True XML_OUTPUT_ENABLED=False diff --git a/LPHP-Preprocessor/LPHP_Preprocessor/bin/Debug/LPHP_Preprocessor.exe b/LPHP-Preprocessor/LPHP_Preprocessor/bin/Debug/LPHP_Preprocessor.exe index b3df7df..bcaf92b 100644 Binary files a/LPHP-Preprocessor/LPHP_Preprocessor/bin/Debug/LPHP_Preprocessor.exe and b/LPHP-Preprocessor/LPHP_Preprocessor/bin/Debug/LPHP_Preprocessor.exe differ diff --git a/LPHP-Preprocessor/LPHP_Preprocessor/bin/Debug/LPHP_Preprocessor.pdb b/LPHP-Preprocessor/LPHP_Preprocessor/bin/Debug/LPHP_Preprocessor.pdb index 2ef84a6..633cc91 100644 Binary files a/LPHP-Preprocessor/LPHP_Preprocessor/bin/Debug/LPHP_Preprocessor.pdb and b/LPHP-Preprocessor/LPHP_Preprocessor/bin/Debug/LPHP_Preprocessor.pdb differ diff --git a/LPHP-Preprocessor/LPHP_Preprocessor/bin/Release/LPHP_Preprocessor.exe b/LPHP-Preprocessor/LPHP_Preprocessor/bin/Release/LPHP_Preprocessor.exe index 2ad12ae..4904b69 100644 Binary files a/LPHP-Preprocessor/LPHP_Preprocessor/bin/Release/LPHP_Preprocessor.exe and b/LPHP-Preprocessor/LPHP_Preprocessor/bin/Release/LPHP_Preprocessor.exe differ diff --git a/LPHP-Preprocessor/LPHP_Preprocessor/bin/Release/LPHP_Preprocessor.pdb b/LPHP-Preprocessor/LPHP_Preprocessor/bin/Release/LPHP_Preprocessor.pdb index 0f3e9ed..fcfee94 100644 Binary files a/LPHP-Preprocessor/LPHP_Preprocessor/bin/Release/LPHP_Preprocessor.pdb and b/LPHP-Preprocessor/LPHP_Preprocessor/bin/Release/LPHP_Preprocessor.pdb differ diff --git a/LPHP-Preprocessor/LPHP_Preprocessor/obj/Debug/LPHP_Preprocessor.csprojAssemblyReference.cache b/LPHP-Preprocessor/LPHP_Preprocessor/obj/Debug/LPHP_Preprocessor.csprojAssemblyReference.cache index 5d85f2a..c668252 100644 Binary files a/LPHP-Preprocessor/LPHP_Preprocessor/obj/Debug/LPHP_Preprocessor.csprojAssemblyReference.cache and b/LPHP-Preprocessor/LPHP_Preprocessor/obj/Debug/LPHP_Preprocessor.csprojAssemblyReference.cache differ diff --git a/LPHP-Preprocessor/LPHP_Preprocessor/obj/Debug/LPHP_Preprocessor.exe b/LPHP-Preprocessor/LPHP_Preprocessor/obj/Debug/LPHP_Preprocessor.exe index b3df7df..bcaf92b 100644 Binary files a/LPHP-Preprocessor/LPHP_Preprocessor/obj/Debug/LPHP_Preprocessor.exe and b/LPHP-Preprocessor/LPHP_Preprocessor/obj/Debug/LPHP_Preprocessor.exe differ diff --git a/LPHP-Preprocessor/LPHP_Preprocessor/obj/Debug/LPHP_Preprocessor.pdb b/LPHP-Preprocessor/LPHP_Preprocessor/obj/Debug/LPHP_Preprocessor.pdb index 2ef84a6..633cc91 100644 Binary files a/LPHP-Preprocessor/LPHP_Preprocessor/obj/Debug/LPHP_Preprocessor.pdb and b/LPHP-Preprocessor/LPHP_Preprocessor/obj/Debug/LPHP_Preprocessor.pdb differ diff --git a/LPHP-Preprocessor/LPHP_Preprocessor/obj/Release/LPHP_Preprocessor.csprojAssemblyReference.cache b/LPHP-Preprocessor/LPHP_Preprocessor/obj/Release/LPHP_Preprocessor.csprojAssemblyReference.cache index 5485901..475b168 100644 Binary files a/LPHP-Preprocessor/LPHP_Preprocessor/obj/Release/LPHP_Preprocessor.csprojAssemblyReference.cache and b/LPHP-Preprocessor/LPHP_Preprocessor/obj/Release/LPHP_Preprocessor.csprojAssemblyReference.cache differ diff --git a/LPHP-Preprocessor/LPHP_Preprocessor/obj/Release/LPHP_Preprocessor.exe b/LPHP-Preprocessor/LPHP_Preprocessor/obj/Release/LPHP_Preprocessor.exe index 2ad12ae..4904b69 100644 Binary files a/LPHP-Preprocessor/LPHP_Preprocessor/obj/Release/LPHP_Preprocessor.exe and b/LPHP-Preprocessor/LPHP_Preprocessor/obj/Release/LPHP_Preprocessor.exe differ diff --git a/LPHP-Preprocessor/LPHP_Preprocessor/obj/Release/LPHP_Preprocessor.pdb b/LPHP-Preprocessor/LPHP_Preprocessor/obj/Release/LPHP_Preprocessor.pdb index 0f3e9ed..fcfee94 100644 Binary files a/LPHP-Preprocessor/LPHP_Preprocessor/obj/Release/LPHP_Preprocessor.pdb and b/LPHP-Preprocessor/LPHP_Preprocessor/obj/Release/LPHP_Preprocessor.pdb differ