Update release folder (NOT READY)

This commit is contained in:
Zihan Chen
2017-08-26 00:49:53 -07:00
parent 33cef4030a
commit c7b1ed33db
28 changed files with 118468 additions and 104029 deletions
+25144 -33473
View File
File diff suppressed because it is too large Load Diff
+6384 -9116
View File
File diff suppressed because it is too large Load Diff
+3180 -2827
View File
File diff suppressed because one or more lines are too long
+176 -122
View File
@@ -2,14 +2,119 @@
THIS FILE IS AUTOMATICALLY GENERATED. DO NOT MODIFY
DEVELOPER: Zihan Chen(vczh)
***********************************************************************/
#include "Vlpp.h"
#include "VlppWorkflow.h"
#include "VlppWorkflowCompiler.h"
#include "GacUI.h"
#include "GacUIReflection.h"
#include "Vlpp.h"
#include "VlppWorkflowCompiler.h"
#include "VlppWorkflow.h"
/***********************************************************************
INSTANCEQUERY\GUIINSTANCEQUERY_AST.H
.\GUIINSTANCEHELPERTYPES.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
Developer: Zihan Chen(vczh)
GacUI Reflection: Instance Helper Types
Interfaces:
***********************************************************************/
#ifndef VCZH_PRESENTATION_REFLECTION_GUIINSTANCEHELPERTYPES
#define VCZH_PRESENTATION_REFLECTION_GUIINSTANCEHELPERTYPES
#if defined(__APPLE__) || defined(__APPLE_CC__)
using namespace vl;
using namespace vl::presentation;
using namespace vl::presentation::elements;
using namespace vl::presentation::compositions;
using namespace vl::presentation::controls;
using namespace vl::presentation::templates;
using namespace vl::presentation::theme;
#endif
namespace vl
{
namespace presentation
{
/***********************************************************************
Helper Types
***********************************************************************/
namespace helper_types
{
struct SiteValue
{
vint row = 0;
vint column = 0;
vint rowSpan = 1;
vint columnSpan = 1;
};
}
}
#ifndef VCZH_DEBUG_NO_REFLECTION
namespace reflection
{
namespace description
{
/***********************************************************************
Type List
***********************************************************************/
#define GUIREFLECTIONHELPERTYPES_TYPELIST(F)\
F(presentation::helper_types::SiteValue)\
GUIREFLECTIONHELPERTYPES_TYPELIST(DECL_TYPE_INFO)
}
}
#endif
}
#endif
/***********************************************************************
.\GUIINSTANCESHAREDSCRIPT.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
Developer: Zihan Chen(vczh)
GacUI Reflection: Shared Script
Interfaces:
***********************************************************************/
#ifndef VCZH_PRESENTATION_REFLECTION_GUIINSTANCESHAREDSCRIPT
#define VCZH_PRESENTATION_REFLECTION_GUIINSTANCESHAREDSCRIPT
namespace vl
{
namespace presentation
{
class GuiInstanceSharedScript :public Object, public Description<GuiInstanceSharedScript>
{
public:
WString language;
WString code;
GuiResourceTextPos codePosition;
static Ptr<GuiInstanceSharedScript> LoadFromXml(Ptr<GuiResourceItem> resource, Ptr<parsing::xml::XmlDocument> xml, GuiResourceError::List& errors);
Ptr<parsing::xml::XmlElement> SaveToXml();
};
}
}
#endif
/***********************************************************************
.\INSTANCEQUERY\GUIINSTANCEQUERY_AST.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
@@ -166,7 +271,7 @@ namespace vl
#endif
/***********************************************************************
INSTANCEQUERY\GUIINSTANCEQUERY_PARSER.H
.\INSTANCEQUERY\GUIINSTANCEQUERY_PARSER.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
@@ -197,7 +302,7 @@ namespace vl
#endif
/***********************************************************************
GUIINSTANCEREPRESENTATION.H
.\GUIINSTANCEREPRESENTATION.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
@@ -437,78 +542,88 @@ Instance Style Context
#endif
/***********************************************************************
GUIINSTANCEHELPERTYPES.H
.\INSTANCEQUERY\GUIINSTANCEQUERY.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
Developer: Zihan Chen(vczh)
GacUI Reflection: Instance Helper Types
GacUI Reflection: Instance Query
Interfaces:
***********************************************************************/
#ifndef VCZH_PRESENTATION_REFLECTION_GUIINSTANCEHELPERTYPES
#define VCZH_PRESENTATION_REFLECTION_GUIINSTANCEHELPERTYPES
#ifndef VCZH_PRESENTATION_REFLECTION_INSTANCEQUERY_GUIINSTANCEQUERY
#define VCZH_PRESENTATION_REFLECTION_INSTANCEQUERY_GUIINSTANCEQUERY
#if defined(__APPLE__) || defined(__APPLE_CC__)
using namespace vl;
using namespace vl::presentation;
using namespace vl::presentation::elements;
using namespace vl::presentation::compositions;
using namespace vl::presentation::controls;
using namespace vl::presentation::templates;
using namespace vl::presentation::theme;
#endif
namespace vl
{
namespace presentation
{
/***********************************************************************
Helper Types
***********************************************************************/
namespace helper_types
{
struct SiteValue
{
vint row = 0;
vint column = 0;
vint rowSpan = 1;
vint columnSpan = 1;
};
}
extern void ExecuteQuery(Ptr<GuiIqQuery> query, Ptr<GuiInstanceContext> context, collections::List<Ptr<GuiConstructorRepr>>& input, collections::List<Ptr<GuiConstructorRepr>>& output);
extern void ExecuteQuery(Ptr<GuiIqQuery> query, Ptr<GuiInstanceContext> context, collections::List<Ptr<GuiConstructorRepr>>& output);
extern void ApplyStyle(Ptr<GuiInstanceStyle> style, Ptr<GuiConstructorRepr> ctor);
extern void GuiIqPrint(Ptr<GuiIqQuery> query, stream::StreamWriter& writer);
}
#ifndef VCZH_DEBUG_NO_REFLECTION
namespace reflection
{
namespace description
{
/***********************************************************************
Type List
***********************************************************************/
#define GUIREFLECTIONHELPERTYPES_TYPELIST(F)\
F(presentation::helper_types::SiteValue)\
GUIREFLECTIONHELPERTYPES_TYPELIST(DECL_TYPE_INFO)
}
}
#endif
}
#endif
/***********************************************************************
GUIINSTANCELOADER.H
.\GUICPPGEN.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
Developer: Zihan Chen(vczh)
GacUI Reflection: Instance Loader
Interfaces:
***********************************************************************/
#ifndef VCZH_PRESENTATION_REFLECTION_GUICPPGEN
#define VCZH_PRESENTATION_REFLECTION_GUICPPGEN
namespace vl
{
namespace presentation
{
using namespace reflection;
extern Ptr<GuiResourceFolder> PrecompileAndWriteErrors(
Ptr<GuiResource> resource,
IGuiResourcePrecompileCallback* callback,
collections::List<GuiResourceError>& errors,
const filesystem::FilePath& errorPath);
extern Ptr<GuiInstanceCompiledWorkflow> WriteWorkflowScript(
Ptr<GuiResourceFolder> precompiledFolder,
const filesystem::FilePath& workflowPath);
extern Ptr<workflow::cppcodegen::WfCppOutput> WriteCppCodesToFile(
Ptr<GuiInstanceCompiledWorkflow> compiled,
Ptr<workflow::cppcodegen::WfCppInput> cppInput,
const filesystem::FilePath& cppFolder);
extern bool WriteBinaryResource(
Ptr<GuiResource> resource,
bool compress,
bool workflow,
const filesystem::FilePath& filePath);
extern bool WriteEmbeddedResource(Ptr<GuiResource> resource,
Ptr<workflow::cppcodegen::WfCppInput> cppInput,
Ptr<workflow::cppcodegen::WfCppOutput> cppOutput,
bool compress,
const filesystem::FilePath& filePath);
}
}
#endif#pragma once
/***********************************************************************
.\GUIINSTANCELOADER.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
@@ -719,7 +834,7 @@ Instance Loader Manager
#endif
/***********************************************************************
WORKFLOWCODEGEN\GUIINSTANCELOADER_WORKFLOWCODEGEN.H
.\WORKFLOWCODEGEN\GUIINSTANCELOADER_WORKFLOWCODEGEN.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
@@ -896,69 +1011,7 @@ WorkflowCompiler (ScriptPosition)
#endif
/***********************************************************************
INSTANCEQUERY\GUIINSTANCEQUERY.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
Developer: Zihan Chen(vczh)
GacUI Reflection: Instance Query
Interfaces:
***********************************************************************/
#ifndef VCZH_PRESENTATION_REFLECTION_INSTANCEQUERY_GUIINSTANCEQUERY
#define VCZH_PRESENTATION_REFLECTION_INSTANCEQUERY_GUIINSTANCEQUERY
namespace vl
{
namespace presentation
{
extern void ExecuteQuery(Ptr<GuiIqQuery> query, Ptr<GuiInstanceContext> context, collections::List<Ptr<GuiConstructorRepr>>& input, collections::List<Ptr<GuiConstructorRepr>>& output);
extern void ExecuteQuery(Ptr<GuiIqQuery> query, Ptr<GuiInstanceContext> context, collections::List<Ptr<GuiConstructorRepr>>& output);
extern void ApplyStyle(Ptr<GuiInstanceStyle> style, Ptr<GuiConstructorRepr> ctor);
extern void GuiIqPrint(Ptr<GuiIqQuery> query, stream::StreamWriter& writer);
}
}
#endif
/***********************************************************************
GUIINSTANCESHAREDSCRIPT.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
Developer: Zihan Chen(vczh)
GacUI Reflection: Shared Script
Interfaces:
***********************************************************************/
#ifndef VCZH_PRESENTATION_REFLECTION_GUIINSTANCESHAREDSCRIPT
#define VCZH_PRESENTATION_REFLECTION_GUIINSTANCESHAREDSCRIPT
namespace vl
{
namespace presentation
{
class GuiInstanceSharedScript :public Object, public Description<GuiInstanceSharedScript>
{
public:
WString language;
WString code;
GuiResourceTextPos codePosition;
static Ptr<GuiInstanceSharedScript> LoadFromXml(Ptr<GuiResourceItem> resource, Ptr<parsing::xml::XmlDocument> xml, GuiResourceError::List& errors);
Ptr<parsing::xml::XmlElement> SaveToXml();
};
}
}
#endif
/***********************************************************************
INSTANCELOADERS\GUIINSTANCELOADER_TEMPLATECONTROL.H
.\INSTANCELOADERS\GUIINSTANCELOADER_TEMPLATECONTROL.H
***********************************************************************/
#ifndef VCZH_PRESENTATION_REFLECTION_INSTANCELOADERS_GUIINSTANCELOADER_TEMPLATECONTROL
@@ -1217,3 +1270,4 @@ GuiVrtualTypeInstanceLoader
}
}
#endif
+69 -25
View File
@@ -5,7 +5,7 @@ DEVELOPER: Zihan Chen(vczh)
#include "GacUIReflection.h"
/***********************************************************************
GUIINSTANCECOMPILEDWORKFLOW.CPP
.\GUIINSTANCECOMPILEDWORKFLOW.CPP
***********************************************************************/
namespace vl
@@ -140,15 +140,13 @@ Plugin
class GuiRuntimeTypeResolversPlugin : public Object, public IGuiPlugin
{
public:
GuiRuntimeTypeResolversPlugin()
GUI_PLUGIN_NAME(GacUI_Compiler_WorkflowTypeResolvers)
{
GUI_PLUGIN_DEPEND(GacUI_Res_ResourceResolver);
}
void Load()override
{
}
void AfterLoad()override
{
IGuiResourceResolverManager* manager = GetResourceResolverManager();
manager->SetTypeResolver(new GuiResourceCompiledWorkflowTypeResolver);
@@ -163,7 +161,7 @@ Plugin
}
/***********************************************************************
TYPEDESCRIPTORS\GUIREFLECTIONBASIC.CPP
.\TYPEDESCRIPTORS\GUIREFLECTIONBASIC.CPP
***********************************************************************/
namespace vl
@@ -804,7 +802,7 @@ Type Loader
}
/***********************************************************************
TYPEDESCRIPTORS\GUIREFLECTIONCOMPOSITIONS.CPP
.\TYPEDESCRIPTORS\GUIREFLECTIONCOMPOSITIONS.CPP
***********************************************************************/
namespace vl
@@ -1241,7 +1239,7 @@ Type Loader
}
/***********************************************************************
TYPEDESCRIPTORS\GUIREFLECTIONCONTROLS.CPP
.\TYPEDESCRIPTORS\GUIREFLECTIONCONTROLS.CPP
***********************************************************************/
namespace vl
@@ -1300,9 +1298,8 @@ Type Declaration
BEGIN_INTERFACE_MEMBER_NOPROXY(ITheme)
CLASS_MEMBER_STATIC_EXTERNALMETHOD(GetCurrentTheme, NO_PARAMETER, ITheme*(*)(), vl::presentation::theme::GetCurrentTheme)
CLASS_MEMBER_STATIC_EXTERNALMETHOD(SetCurrentTheme, {L"theme"}, void(*)(ITheme*), vl::presentation::theme::SetCurrentTheme)
CLASS_MEMBER_STATIC_EXTERNALMETHOD(CreateWin7Theme, NO_PARAMETER, Ptr<ITheme>(*)(), vl::reflection::description::CreateWin7Theme)
CLASS_MEMBER_STATIC_EXTERNALMETHOD(CreateWin8Theme, NO_PARAMETER, Ptr<ITheme>(*)(), vl::reflection::description::CreateWin8Theme)
CLASS_MEMBER_STATIC_EXTERNALMETHOD(RegisterTheme, {L"name" _ L"theme"}, bool(*)(const WString&, Ptr<ThemeTemplates>), vl::presentation::theme::RegisterTheme)
CLASS_MEMBER_STATIC_EXTERNALMETHOD(UnrgisterTheme, {L"name"}, Ptr<ThemeTemplates>(*)(const WString&), vl::presentation::theme::UnregisterTheme)
CLASS_MEMBER_METHOD(CreateWindowStyle, NO_PARAMETER)
CLASS_MEMBER_METHOD(CreateCustomControlStyle, NO_PARAMETER)
@@ -1315,7 +1312,6 @@ Type Declaration
CLASS_MEMBER_METHOD(CreateComboBoxStyle, NO_PARAMETER)
CLASS_MEMBER_METHOD(CreateMultilineTextBoxStyle, NO_PARAMETER)
CLASS_MEMBER_METHOD(CreateTextBoxStyle, NO_PARAMETER)
CLASS_MEMBER_METHOD(GetDefaultTextBoxColorEntry, NO_PARAMETER)
CLASS_MEMBER_METHOD(CreateDocumentViewerStyle, NO_PARAMETER)
CLASS_MEMBER_METHOD(CreateDocumentLabelStyle, NO_PARAMETER)
CLASS_MEMBER_METHOD(CreateDocumentTextBoxStyle, NO_PARAMETER)
@@ -1345,14 +1341,58 @@ Type Declaration
CLASS_MEMBER_METHOD(CreateHTrackerStyle, NO_PARAMETER)
CLASS_MEMBER_METHOD(CreateVTrackerStyle, NO_PARAMETER)
CLASS_MEMBER_METHOD(CreateProgressBarStyle, NO_PARAMETER)
CLASS_MEMBER_METHOD(GetScrollDefaultSize, NO_PARAMETER)
CLASS_MEMBER_METHOD(GetTrackerDefaultSize, NO_PARAMETER)
CLASS_MEMBER_METHOD(CreateTextListStyle, NO_PARAMETER)
CLASS_MEMBER_METHOD(CreateCheckTextListItemStyle, NO_PARAMETER)
CLASS_MEMBER_METHOD(CreateRadioTextListItemStyle, NO_PARAMETER)
END_INTERFACE_MEMBER(ITheme)
BEGIN_CLASS_MEMBER(ThemeTemplates)
CLASS_MEMBER_BASE(GuiInstanceRootObject)
CLASS_MEMBER_CONSTRUCTOR(Ptr<ThemeTemplates>(), NO_PARAMETER)
CLASS_MEMBER_FIELD(window)
CLASS_MEMBER_FIELD(customControl)
CLASS_MEMBER_FIELD(tooltip)
CLASS_MEMBER_FIELD(label)
CLASS_MEMBER_FIELD(shortcutKey)
CLASS_MEMBER_FIELD(scrollView)
CLASS_MEMBER_FIELD(groupBox)
CLASS_MEMBER_FIELD(tab)
CLASS_MEMBER_FIELD(comboBox)
CLASS_MEMBER_FIELD(multilineTextBox)
CLASS_MEMBER_FIELD(singlelineTextBox)
CLASS_MEMBER_FIELD(documentViewer)
CLASS_MEMBER_FIELD(documentLabel)
CLASS_MEMBER_FIELD(documentTextBox)
CLASS_MEMBER_FIELD(listView)
CLASS_MEMBER_FIELD(treeView)
CLASS_MEMBER_FIELD(textList)
CLASS_MEMBER_FIELD(listItemBackground)
CLASS_MEMBER_FIELD(treeItemExpander)
CLASS_MEMBER_FIELD(checkTextListItem)
CLASS_MEMBER_FIELD(radioTextListItem)
CLASS_MEMBER_FIELD(menu)
CLASS_MEMBER_FIELD(menuBar)
CLASS_MEMBER_FIELD(menuSplitter)
CLASS_MEMBER_FIELD(menuBarButton)
CLASS_MEMBER_FIELD(menuItemButton)
CLASS_MEMBER_FIELD(toolBar)
CLASS_MEMBER_FIELD(toolBarButton)
CLASS_MEMBER_FIELD(toolBarDropdownButton)
CLASS_MEMBER_FIELD(toolBarSplitButton)
CLASS_MEMBER_FIELD(toolBarSplitter)
CLASS_MEMBER_FIELD(button)
CLASS_MEMBER_FIELD(checkBox)
CLASS_MEMBER_FIELD(radioButton)
CLASS_MEMBER_FIELD(datePicker)
CLASS_MEMBER_FIELD(hScroll)
CLASS_MEMBER_FIELD(vScroll)
CLASS_MEMBER_FIELD(hTracker)
CLASS_MEMBER_FIELD(vTracker)
CLASS_MEMBER_FIELD(progressBar)
END_CLASS_MEMBER(ThemeTemplates)
BEGIN_CLASS_MEMBER(GuiDialogBase)
CLASS_MEMBER_BASE(GuiComponent)
END_CLASS_MEMBER(GuiDialogBase)
@@ -2752,8 +2792,9 @@ Type Loader
}
}
/***********************************************************************
TYPEDESCRIPTORS\GUIREFLECTIONELEMENTS.CPP
.\TYPEDESCRIPTORS\GUIREFLECTIONELEMENTS.CPP
***********************************************************************/
namespace vl
@@ -3035,7 +3076,7 @@ Type Loader
}
/***********************************************************************
TYPEDESCRIPTORS\GUIREFLECTIONEVENTS.CPP
.\TYPEDESCRIPTORS\GUIREFLECTIONEVENTS.CPP
***********************************************************************/
namespace vl
@@ -3177,7 +3218,7 @@ Type Loader
}
/***********************************************************************
TYPEDESCRIPTORS\GUIREFLECTIONPLUGIN.CPP
.\TYPEDESCRIPTORS\GUIREFLECTIONPLUGIN.CPP
***********************************************************************/
/***********************************************************************
@@ -3209,6 +3250,11 @@ namespace vl
class GuiReflectionPlugin : public Object, public IGuiPlugin
{
public:
GUI_PLUGIN_NAME(GacUI_Instance_Reflection)
{
}
void Load()override
{
LoadPredefinedTypes();
@@ -3223,10 +3269,6 @@ namespace vl
LoadGuiControlTypes();
}
void AfterLoad()override
{
}
void Unload()override
{
}
@@ -3237,7 +3279,7 @@ namespace vl
}
/***********************************************************************
TYPEDESCRIPTORS\GUIREFLECTIONTEMPLATES.CPP
.\TYPEDESCRIPTORS\GUIREFLECTIONTEMPLATES.CPP
***********************************************************************/
namespace vl
@@ -3305,8 +3347,10 @@ Type Declaration
END_CLASS_MEMBER(GuiComponent)
BEGIN_CLASS_MEMBER(GuiInstanceRootObject)
CLASS_MEMBER_METHOD_OVERLOAD(FinalizeInstanceRecursively, {L"thisObject"}, void(GuiInstanceRootObject::*)(GuiGraphicsComposition*))
CLASS_MEMBER_METHOD_OVERLOAD(FinalizeInstanceRecursively, {L"thisObject"}, void(GuiInstanceRootObject::*)(GuiControl*))
CLASS_MEMBER_METHOD_OVERLOAD(FinalizeInstanceRecursively, {L"thisObject"}, void(GuiInstanceRootObject::*)(GuiTemplate*))
CLASS_MEMBER_METHOD_OVERLOAD(FinalizeInstanceRecursively, {L"thisObject"}, void(GuiInstanceRootObject::*)(GuiCustomControl*))
CLASS_MEMBER_METHOD_OVERLOAD(FinalizeInstanceRecursively, {L"thisObject"}, void(GuiInstanceRootObject::*)(GuiControlHost*))
CLASS_MEMBER_METHOD(FinalizeGeneralInstance, {L"thisObject"})
CLASS_MEMBER_METHOD(SetResourceResolver, {L"resolver"})
CLASS_MEMBER_METHOD(ResolveResource, {L"protocol" _ L"path" _ L"ensureExist"})
+61 -60
View File
@@ -2,13 +2,69 @@
THIS FILE IS AUTOMATICALLY GENERATED. DO NOT MODIFY
DEVELOPER: Zihan Chen(vczh)
***********************************************************************/
#include "Vlpp.h"
#include "VlppWorkflow.h"
#include "VlppWorkflowCompiler.h"
#include "GacUI.h"
#include "Vlpp.h"
#include "VlppWorkflowCompiler.h"
#include "VlppWorkflow.h"
/***********************************************************************
TYPEDESCRIPTORS\GUIREFLECTIONPLUGIN.H
.\GUIINSTANCECOMPILEDWORKFLOW.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
Developer: Zihan Chen(vczh)
GacUI Reflection: Shared Script
Interfaces:
***********************************************************************/
#ifndef VCZH_PRESENTATION_REFLECTION_GUIINSTANCECOMPILEDWORKFLOW
#define VCZH_PRESENTATION_REFLECTION_GUIINSTANCECOMPILEDWORKFLOW
namespace vl
{
namespace workflow
{
class WfModule;
}
namespace presentation
{
class GuiInstanceCompiledWorkflow : public Object, public Description<GuiInstanceCompiledWorkflow>
{
public:
enum AssemblyType
{
Shared,
InstanceClass,
TemporaryClass,
};
struct ModuleRecord
{
Ptr<workflow::WfModule> module;
GuiResourceTextPos position;
bool shared = false;
};
collections::List<ModuleRecord> modules;
Ptr<workflow::analyzer::WfLexicalScopeManager> metadata;
Ptr<stream::MemoryStream> binaryToLoad;
AssemblyType type = AssemblyType::Shared;
Ptr<workflow::runtime::WfAssembly> assembly;
Ptr<workflow::runtime::WfRuntimeGlobalContext> context;
void Initialize(bool initializeContext);
};
}
}
#endif
/***********************************************************************
.\TYPEDESCRIPTORS\GUIREFLECTIONPLUGIN.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
@@ -260,6 +316,7 @@ Type List (Controls)
#define GUIREFLECTIONCONTROLS_TYPELIST(F)\
F(presentation::controls::GuiApplication)\
F(presentation::theme::ITheme)\
F(presentation::theme::ThemeTemplates)\
F(presentation::controls::GuiDialogBase)\
F(presentation::controls::GuiMessageDialog)\
F(presentation::controls::GuiColorDialog)\
@@ -1109,59 +1166,3 @@ Interface Proxy (Controls)
}
#endif
/***********************************************************************
GUIINSTANCECOMPILEDWORKFLOW.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
Developer: Zihan Chen(vczh)
GacUI Reflection: Shared Script
Interfaces:
***********************************************************************/
#ifndef VCZH_PRESENTATION_REFLECTION_GUIINSTANCECOMPILEDWORKFLOW
#define VCZH_PRESENTATION_REFLECTION_GUIINSTANCECOMPILEDWORKFLOW
namespace vl
{
namespace workflow
{
class WfModule;
}
namespace presentation
{
class GuiInstanceCompiledWorkflow : public Object, public Description<GuiInstanceCompiledWorkflow>
{
public:
enum AssemblyType
{
Shared,
InstanceClass,
TemporaryClass,
};
struct ModuleRecord
{
Ptr<workflow::WfModule> module;
GuiResourceTextPos position;
bool shared = false;
};
collections::List<ModuleRecord> modules;
Ptr<workflow::analyzer::WfLexicalScopeManager> metadata;
Ptr<stream::MemoryStream> binaryToLoad;
AssemblyType type = AssemblyType::Shared;
Ptr<workflow::runtime::WfAssembly> assembly;
Ptr<workflow::runtime::WfRuntimeGlobalContext> context;
void Initialize(bool initializeContext);
};
}
}
#endif
+8739 -8763
View File
File diff suppressed because it is too large Load Diff
+947 -947
View File
File diff suppressed because it is too large Load Diff
+5 -2
View File
@@ -1,6 +1,9 @@
mkdir Skins
mkdir Skins\DarkSkin
copy ..\..\Vlpp\Release\*.h .
copy ..\..\Vlpp\Release\*.cpp .
copy ..\..\Workflow\Release\*.h .
copy ..\..\Workflow\Release\*.cpp .
copy ..\..\GacUI\Release\*.h .
copy ..\..\GacUI\Release\*.cpp .
copy ..\..\GacUI\Release\Gac*.h .
copy ..\..\GacUI\Release\Gac*.cpp .
copy ..\..\GacUI\Release\DarkSkin* .\Skins\DarkSkin\
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+165
View File
@@ -0,0 +1,165 @@
/***********************************************************************
THIS FILE IS AUTOMATICALLY GENERATED. DO NOT MODIFY
DEVELOPER: Zihan Chen(vczh)
***********************************************************************/
#include "DarkSkin.h"
#include "GacUI.h"
#include "GacUIReflection.h"
#include "Vlpp.h"
/***********************************************************************
.\DARKSKINREFLECTION.H
***********************************************************************/
/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
GacGen.exe Resource.xml
This file is generated by Workflow compiler
https://github.com/vczh-libraries
***********************************************************************/
#ifndef VCZH_WORKFLOW_COMPILER_GENERATED_DARKSKINREFLECTION
#define VCZH_WORKFLOW_COMPILER_GENERATED_DARKSKINREFLECTION
#ifndef VCZH_DEBUG_NO_REFLECTION
#endif
#if defined( _MSC_VER)
#pragma warning(push)
#pragma warning(disable:4250)
#elif defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wparentheses-equality"
#elif defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wparentheses-equality"
#endif
/***********************************************************************
Reflection
***********************************************************************/
namespace vl
{
namespace reflection
{
namespace description
{
#ifndef VCZH_DEBUG_NO_REFLECTION
DECL_TYPE_INFO(::ScrollTemplateScript)
DECL_TYPE_INFO(::darkskin::BottomScrollButtonTemplate)
DECL_TYPE_INFO(::darkskin::BottomScrollButtonTemplateConstructor)
DECL_TYPE_INFO(::darkskin::ButtonTemplate)
DECL_TYPE_INFO(::darkskin::ButtonTemplateConstructor)
DECL_TYPE_INFO(::darkskin::CheckBoxTemplate)
DECL_TYPE_INFO(::darkskin::CheckBoxTemplateConstructor)
DECL_TYPE_INFO(::darkskin::CheckItemBackgroundTemplate)
DECL_TYPE_INFO(::darkskin::CheckItemBackgroundTemplateConstructor)
DECL_TYPE_INFO(::darkskin::ComboBoxTemplate)
DECL_TYPE_INFO(::darkskin::ComboBoxTemplateConstructor)
DECL_TYPE_INFO(::darkskin::CustomControlTemplate)
DECL_TYPE_INFO(::darkskin::CustomControlTemplateConstructor)
DECL_TYPE_INFO(::darkskin::DatePickerTemplate)
DECL_TYPE_INFO(::darkskin::DatePickerTemplateConstructor)
DECL_TYPE_INFO(::darkskin::DocumentLabelTemplate)
DECL_TYPE_INFO(::darkskin::DocumentLabelTemplateConstructor)
DECL_TYPE_INFO(::darkskin::DocumentTextBoxTemplate)
DECL_TYPE_INFO(::darkskin::DocumentTextBoxTemplateConstructor)
DECL_TYPE_INFO(::darkskin::DocumentViewerTemplate)
DECL_TYPE_INFO(::darkskin::DocumentViewerTemplateConstructor)
DECL_TYPE_INFO(::darkskin::ExpandingDecoratorTemplate)
DECL_TYPE_INFO(::darkskin::ExpandingDecoratorTemplateConstructor)
DECL_TYPE_INFO(::darkskin::GroupBoxTemplate)
DECL_TYPE_INFO(::darkskin::GroupBoxTemplateConstructor)
DECL_TYPE_INFO(::darkskin::HScrollHandleTemplate)
DECL_TYPE_INFO(::darkskin::HScrollHandleTemplateConstructor)
DECL_TYPE_INFO(::darkskin::HScrollTemplate)
DECL_TYPE_INFO(::darkskin::HScrollTemplateConstructor)
DECL_TYPE_INFO(::darkskin::HTrackerTemplate)
DECL_TYPE_INFO(::darkskin::HTrackerTemplateConstructor)
DECL_TYPE_INFO(::darkskin::ItemBackgroundTemplate)
DECL_TYPE_INFO(::darkskin::ItemBackgroundTemplateConstructor)
DECL_TYPE_INFO(::darkskin::LabelTemplate)
DECL_TYPE_INFO(::darkskin::LabelTemplateConstructor)
DECL_TYPE_INFO(::darkskin::LeftScrollButtonTemplate)
DECL_TYPE_INFO(::darkskin::LeftScrollButtonTemplateConstructor)
DECL_TYPE_INFO(::darkskin::ListViewColumnHeaderTemplate)
DECL_TYPE_INFO(::darkskin::ListViewColumnHeaderTemplateConstructor)
DECL_TYPE_INFO(::darkskin::ListViewTemplate)
DECL_TYPE_INFO(::darkskin::ListViewTemplateConstructor)
DECL_TYPE_INFO(::darkskin::MenuBarButtonTemplate)
DECL_TYPE_INFO(::darkskin::MenuBarButtonTemplateConstructor)
DECL_TYPE_INFO(::darkskin::MenuItemButtonTemplate)
DECL_TYPE_INFO(::darkskin::MenuItemButtonTemplateConstructor)
DECL_TYPE_INFO(::darkskin::MenuSplitterTemplate)
DECL_TYPE_INFO(::darkskin::MenuSplitterTemplateConstructor)
DECL_TYPE_INFO(::darkskin::MultilineTextBoxTemplate)
DECL_TYPE_INFO(::darkskin::MultilineTextBoxTemplateConstructor)
DECL_TYPE_INFO(::darkskin::ProgressBarTemplate)
DECL_TYPE_INFO(::darkskin::ProgressBarTemplateConstructor)
DECL_TYPE_INFO(::darkskin::RadioButtonTemplate)
DECL_TYPE_INFO(::darkskin::RadioButtonTemplateConstructor)
DECL_TYPE_INFO(::darkskin::RightScrollButtonTemplate)
DECL_TYPE_INFO(::darkskin::RightScrollButtonTemplateConstructor)
DECL_TYPE_INFO(::darkskin::ScrollViewTemplate)
DECL_TYPE_INFO(::darkskin::ScrollViewTemplateConstructor)
DECL_TYPE_INFO(::darkskin::ShortcutKeyTemplate)
DECL_TYPE_INFO(::darkskin::ShortcutKeyTemplateConstructor)
DECL_TYPE_INFO(::darkskin::SinglelineTextBoxTemplate)
DECL_TYPE_INFO(::darkskin::SinglelineTextBoxTemplateConstructor)
DECL_TYPE_INFO(::darkskin::TabDropdownTemplate)
DECL_TYPE_INFO(::darkskin::TabDropdownTemplateConstructor)
DECL_TYPE_INFO(::darkskin::TabHeaderTemplate)
DECL_TYPE_INFO(::darkskin::TabHeaderTemplateConstructor)
DECL_TYPE_INFO(::darkskin::TabTemplate)
DECL_TYPE_INFO(::darkskin::TabTemplateConstructor)
DECL_TYPE_INFO(::darkskin::TextListTemplate)
DECL_TYPE_INFO(::darkskin::TextListTemplateConstructor)
DECL_TYPE_INFO(::darkskin::Theme)
DECL_TYPE_INFO(::darkskin::ThemeConstructor)
DECL_TYPE_INFO(::darkskin::ToolstripButtonTemplate)
DECL_TYPE_INFO(::darkskin::ToolstripButtonTemplateConstructor)
DECL_TYPE_INFO(::darkskin::ToolstripDropdownButtonTemplate)
DECL_TYPE_INFO(::darkskin::ToolstripDropdownButtonTemplateConstructor)
DECL_TYPE_INFO(::darkskin::ToolstripMenuTemplate)
DECL_TYPE_INFO(::darkskin::ToolstripMenuTemplateConstructor)
DECL_TYPE_INFO(::darkskin::ToolstripSplitArrowTemplate)
DECL_TYPE_INFO(::darkskin::ToolstripSplitArrowTemplateConstructor)
DECL_TYPE_INFO(::darkskin::ToolstripSplitButtonTemplate)
DECL_TYPE_INFO(::darkskin::ToolstripSplitButtonTemplateConstructor)
DECL_TYPE_INFO(::darkskin::ToolstripSplitterTemplate)
DECL_TYPE_INFO(::darkskin::ToolstripSplitterTemplateConstructor)
DECL_TYPE_INFO(::darkskin::ToolstripTemplate)
DECL_TYPE_INFO(::darkskin::ToolstripTemplateConstructor)
DECL_TYPE_INFO(::darkskin::TooltipTemplate)
DECL_TYPE_INFO(::darkskin::TooltipTemplateConstructor)
DECL_TYPE_INFO(::darkskin::TopScrollButtonTemplate)
DECL_TYPE_INFO(::darkskin::TopScrollButtonTemplateConstructor)
DECL_TYPE_INFO(::darkskin::TreeViewTemplate)
DECL_TYPE_INFO(::darkskin::TreeViewTemplateConstructor)
DECL_TYPE_INFO(::darkskin::VScrollHandleTemplate)
DECL_TYPE_INFO(::darkskin::VScrollHandleTemplateConstructor)
DECL_TYPE_INFO(::darkskin::VScrollTemplate)
DECL_TYPE_INFO(::darkskin::VScrollTemplateConstructor)
DECL_TYPE_INFO(::darkskin::VTrackerTemplate)
DECL_TYPE_INFO(::darkskin::VTrackerTemplateConstructor)
DECL_TYPE_INFO(::darkskin::WindowTemplate)
DECL_TYPE_INFO(::darkskin::WindowTemplateConstructor)
#endif
extern bool LoadDarkSkinTypes();
}
}
}
#if defined( _MSC_VER)
#pragma warning(pop)
#elif defined(__GNUC__)
#pragma GCC diagnostic pop
#elif defined(__clang__)
#pragma clang diagnostic pop
#endif
#endif
+18258 -18234
View File
File diff suppressed because one or more lines are too long
+7087 -7069
View File
File diff suppressed because it is too large Load Diff
+9 -7
View File
@@ -5,7 +5,7 @@ DEVELOPER: Zihan Chen(vczh)
#include "VlppWorkflow.h"
/***********************************************************************
.CPP
.\WFRUNTIME.CPP
***********************************************************************/
namespace vl
@@ -559,7 +559,7 @@ WfRuntimeThreadContext
}
/***********************************************************************
ASSEMBLY.CPP
.\WFRUNTIMEASSEMBLY.CPP
***********************************************************************/
namespace vl
@@ -2228,8 +2228,9 @@ WfAssembly
}
}
/***********************************************************************
CONSTRUCTIONS.CPP
.\WFRUNTIMECONSTRUCTIONS.CPP
***********************************************************************/
namespace vl
@@ -2313,7 +2314,7 @@ WfRuntimeInterfaceInstance
}
/***********************************************************************
DEBUGGER.CPP
.\WFRUNTIMEDEBUGGER.CPP
***********************************************************************/
#include <math.h>
@@ -3073,7 +3074,7 @@ Helper Functions
}
/***********************************************************************
EXECUTION.CPP
.\WFRUNTIMEEXECUTION.CPP
***********************************************************************/
namespace vl
@@ -4319,7 +4320,7 @@ WfRuntimeThreadContext
}
/***********************************************************************
INSTRUCTION.CPP
.\WFRUNTIMEINSTRUCTION.CPP
***********************************************************************/
namespace vl
@@ -4510,8 +4511,9 @@ WfInstruction
}
}
/***********************************************************************
TYPEDESCRIPTOR.CPP
.\WFRUNTIMETYPEDESCRIPTOR.CPP
***********************************************************************/
namespace vl
+12 -6
View File
@@ -5,7 +5,7 @@ DEVELOPER: Zihan Chen(vczh)
#include "Vlpp.h"
/***********************************************************************
INSTRUCTION.H
.\WFRUNTIMEINSTRUCTION.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
@@ -267,8 +267,9 @@ Instruction
#endif
/***********************************************************************
TYPEDESCRIPTOR.H
.\WFRUNTIMETYPEDESCRIPTOR.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
@@ -800,8 +801,9 @@ Plugin
#endif
/***********************************************************************
ASSEMBLY.H
.\WFRUNTIMEASSEMBLY.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
@@ -895,8 +897,9 @@ Assembly
#endif
/***********************************************************************
CONSTRUCTIONS.H
.\WFRUNTIMECONSTRUCTIONS.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
@@ -1013,8 +1016,9 @@ InterfaceInstance
#endif
/***********************************************************************
DEBUGGER.H
.\WFRUNTIMEDEBUGGER.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
@@ -1373,8 +1377,9 @@ Debugger
#endif
/***********************************************************************
.H
.\WFRUNTIME.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
@@ -1664,3 +1669,4 @@ Helper Functions
}
#endif
+23191 -23105
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
copy ..\..\Tools\Tools\ParserGen.exe .
copy ..\..\Tools\Tools\GacGen32.exe .
copy ..\..\Tools\Tools\GacGen64.exe .
copy ..\..\Tools\Tools\CppMerge.exe .
copy ..\..\Tools\Tools\RunAndLock.bat .
copy ..\..\Tools\Tools\WaitForLock.bat .
copy ..\..\Tools\Tools\GacGen.bat .
copy ..\..\Tools\Tools\GacMerge.bat .
+16
View File
@@ -0,0 +1,16 @@
del *.wait.tmp
start %~dp0RunAndLock %RANDOM% "%~dp0GacGen32.exe /P %1"
start %~dp0RunAndLock %RANDOM% "%~dp0GacGen64.exe /P %1"
call %~dp0WaitForLock
@if exist %1.log\x32\Error.txt (
@echo "Error occurs: %1.log\x32\Error.txt"
@exit
)
@if exist %1.log\x64\Error.txt (
@echo "Error occurs: %1.log\x64\Error.txt"
@exit
)
call %~dp0GacMerge %1
Binary file not shown.
Binary file not shown.
+5
View File
@@ -0,0 +1,5 @@
@set /P CppOutput=< %1.log\x32\CppOutput.txt
@for %%i in (%1.log\x32\Source\*.*) do @(
echo Processing %%~nxi ...
%~dp0CppMerge.exe %1.log\x32\Source\%%~nxi %1.log\x64\Source\%%~nxi %CppOutput%\%%~nxi
)
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
echo > %1.wait.tmp
call %~2
del %1.wait.tmp
exit
+6
View File
@@ -0,0 +1,6 @@
@timeout 1 > nul
:wait_for_lock
@if not exist *.wait.tmp goto :finish_lock
@timeout 1 > nul
@goto wait_for_lock
:finish_lock