updated demos

This commit is contained in:
mattias 2019-03-16 22:02:58 +00:00
parent 1a4412c115
commit d936dcfe15
5 changed files with 64 additions and 53 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<CONFIG> <CONFIG>
<ProjectOptions> <ProjectOptions BuildModesCount="1">
<Version Value="12"/> <Version Value="12"/>
<General> <General>
<Flags> <Flags>
@ -8,19 +8,18 @@
<MainUnitHasTitleStatement Value="False"/> <MainUnitHasTitleStatement Value="False"/>
<MainUnitHasScaledStatement Value="False"/> <MainUnitHasScaledStatement Value="False"/>
<Runnable Value="False"/> <Runnable Value="False"/>
<CompatibilityMode Value="True"/>
</Flags> </Flags>
<SessionStorage Value="InProjectDir"/> <SessionStorage Value="InProjectDir"/>
<MainUnit Value="0"/>
<Title Value="hotreload"/> <Title Value="hotreload"/>
<UseAppBundle Value="False"/> <UseAppBundle Value="False"/>
<ResourceType Value="res"/> <ResourceType Value="res"/>
</General> </General>
<CustomData Count="2"> <CustomData Count="1">
<Item0 Name="PasJSPort" Value="0"/> <Item0 Name="PasJSWebBrowserProject" Value="1"/>
<Item1 Name="PasJSWebBrowserProject" Value="1"/>
</CustomData> </CustomData>
<BuildModes> <BuildModes>
<Item Name="Default" Default="True"/> <Item1 Name="default" Default="True"/>
</BuildModes> </BuildModes>
<PublishOptions> <PublishOptions>
<Version Value="2"/> <Version Value="2"/>
@ -30,11 +29,11 @@
<FormatVersion Value="2"/> <FormatVersion Value="2"/>
<Modes Count="0"/> <Modes Count="0"/>
</RunParams> </RunParams>
<Units> <Units Count="1">
<Unit> <Unit0>
<Filename Value="hotreload.lpr"/> <Filename Value="hotreload.lpr"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
</Unit> </Unit0>
</Units> </Units>
</ProjectOptions> </ProjectOptions>
<CompilerOptions> <CompilerOptions>
@ -43,6 +42,7 @@
<Filename Value="hotreload"/> <Filename Value="hotreload"/>
</Target> </Target>
<SearchPaths> <SearchPaths>
<IncludeFiles Value="$(ProjOutDir)"/>
<UnitOutputDirectory Value="js"/> <UnitOutputDirectory Value="js"/>
</SearchPaths> </SearchPaths>
<Parsing> <Parsing>

View File

@ -1,20 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<CONFIG> <CONFIG>
<ProjectOptions> <ProjectOptions BuildModesCount="1">
<Version Value="11"/> <Version Value="12"/>
<General> <General>
<Flags> <Flags>
<MainUnitHasCreateFormStatements Value="False"/> <MainUnitHasCreateFormStatements Value="False"/>
<MainUnitHasTitleStatement Value="False"/> <MainUnitHasTitleStatement Value="False"/>
<MainUnitHasScaledStatement Value="False"/> <MainUnitHasScaledStatement Value="False"/>
<CompatibilityMode Value="True"/>
</Flags> </Flags>
<SessionStorage Value="InProjectDir"/> <SessionStorage Value="InProjectDir"/>
<MainUnit Value="0"/>
<Title Value="demoadd"/> <Title Value="demoadd"/>
<UseAppBundle Value="False"/> <UseAppBundle Value="False"/>
<ResourceType Value="res"/> <ResourceType Value="res"/>
</General> </General>
<BuildModes Count="1"> <BuildModes>
<Item1 Name="Default" Default="True"/> <Item1 Name="Default" Default="True"/>
</BuildModes> </BuildModes>
<PublishOptions> <PublishOptions>
@ -26,11 +26,6 @@
<Mode0 Name="default"/> <Mode0 Name="default"/>
</Modes> </Modes>
</RunParams> </RunParams>
<RequiredPackages Count="1">
<Item1>
<PackageName Value="pas2js_rtl"/>
</Item1>
</RequiredPackages>
<Units Count="1"> <Units Count="1">
<Unit0> <Unit0>
<Filename Value="demoadd.pas"/> <Filename Value="demoadd.pas"/>
@ -46,13 +41,26 @@
<SearchPaths> <SearchPaths>
<IncludeFiles Value="$(ProjOutDir)"/> <IncludeFiles Value="$(ProjOutDir)"/>
</SearchPaths> </SearchPaths>
<Parsing>
<SyntaxOptions>
<AllowLabel Value="False"/>
<UseAnsiStrings Value="False"/>
</SyntaxOptions>
</Parsing>
<Linking>
<Debugging>
<GenerateDebugInfo Value="False"/>
</Debugging>
</Linking>
<Other> <Other>
<CustomOptions Value="-Jc -Jirtl.js -Jminclude"/>
<CompilerPath Value="$(pas2js)"/>
<ExecuteBefore> <ExecuteBefore>
<Command Value="$MakeExe(pas2js) -Jirtl.js -Tbrowser -Fu$(ProjUnitPath) -o$NameOnly($(ProjFile)).js $Name($(ProjFile)) -O-"/> <Command Value="$MakeExe(pas2js) -Jirtl.js -Tbrowser -Fu$(ProjUnitPath) -o$NameOnly($(ProjFile)).js $Name($(ProjFile)) -O-"/>
<ScanForFPCMsgs Value="True"/> <ScanForFPCMsgs Value="True"/>
<CompileReasons Compile="False" Build="False" Run="False"/>
</ExecuteBefore> </ExecuteBefore>
</Other> </Other>
<CompileReasons Compile="False" Build="False" Run="False"/>
</CompilerOptions> </CompilerOptions>
<Debugging> <Debugging>
<Exceptions Count="3"> <Exceptions Count="3">

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<CONFIG> <CONFIG>
<ProjectOptions> <ProjectOptions>
<Version Value="11"/> <Version Value="12"/>
<General> <General>
<Flags> <Flags>
<SaveOnlyProjectUnits Value="True"/> <SaveOnlyProjectUnits Value="True"/>
@ -10,7 +10,6 @@
<MainUnitHasScaledStatement Value="False"/> <MainUnitHasScaledStatement Value="False"/>
<Runnable Value="False"/> <Runnable Value="False"/>
</Flags> </Flags>
<MainUnit Value="0"/>
<Title Value="basic"/> <Title Value="basic"/>
<UseAppBundle Value="False"/> <UseAppBundle Value="False"/>
<ResourceType Value="res"/> <ResourceType Value="res"/>
@ -19,8 +18,8 @@
<Item0 Name="MaintainHTML" Value="1"/> <Item0 Name="MaintainHTML" Value="1"/>
<Item1 Name="PasJSWebBrowserProject" Value="1"/> <Item1 Name="PasJSWebBrowserProject" Value="1"/>
</CustomData> </CustomData>
<BuildModes Count="1" Active="Default"> <BuildModes Active="Default">
<Item1 Name="Default" Default="True"/> <Item Name="Default" Default="True"/>
</BuildModes> </BuildModes>
<PublishOptions> <PublishOptions>
<Version Value="2"/> <Version Value="2"/>
@ -30,20 +29,16 @@
<FormatVersion Value="2"/> <FormatVersion Value="2"/>
<Modes Count="0"/> <Modes Count="0"/>
</RunParams> </RunParams>
<RequiredPackages Count="1"> <Units>
<Item1> <Unit>
<PackageName Value="pas2js_rtl"/>
</Item1>
</RequiredPackages>
<Units Count="2">
<Unit0>
<Filename Value="basic.lpr"/> <Filename Value="basic.lpr"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<CursorPos X="126" Y="6"/> <IsVisibleTab Value="True"/>
<CursorPos X="55" Y="16"/>
<UsageCount Value="20"/> <UsageCount Value="20"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit0> </Unit>
<Unit1> <Unit>
<Filename Value="basic.html"/> <Filename Value="basic.html"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<CustomData Count="1"> <CustomData Count="1">
@ -51,7 +46,7 @@
</CustomData> </CustomData>
<UsageCount Value="20"/> <UsageCount Value="20"/>
<DefaultSyntaxHighlighter Value="HTML"/> <DefaultSyntaxHighlighter Value="HTML"/>
</Unit1> </Unit>
</Units> </Units>
</ProjectOptions> </ProjectOptions>
<CompilerOptions> <CompilerOptions>
@ -79,7 +74,7 @@
</Debugging> </Debugging>
</Linking> </Linking>
<Other> <Other>
<CustomOptions Value="-Jc -Jirtl.js -Jminclude -Jeutf-8 -Tbrowser"/> <CustomOptions Value="-Jc -Jirtl.js -Jminclude -Jeutf-8"/>
<CompilerPath Value="$(pas2js)"/> <CompilerPath Value="$(pas2js)"/>
</Other> </Other>
</CompilerOptions> </CompilerOptions>

View File

@ -10,13 +10,21 @@
<SearchPaths> <SearchPaths>
<UnitOutputDirectory Value="."/> <UnitOutputDirectory Value="."/>
</SearchPaths> </SearchPaths>
<Parsing>
<SyntaxOptions>
<AllowLabel Value="False"/>
<UseAnsiStrings Value="False"/>
</SyntaxOptions>
</Parsing>
<Linking>
<Debugging>
<GenerateDebugInfo Value="False"/>
</Debugging>
</Linking>
<Other> <Other>
<ExecuteBefore> <CustomOptions Value="-Jc"/>
<Command Value="$MakeExe(IDE,pas2js) -O- -Jc -vbq fcl_base_pas2js.pas"/> <CompilerPath Value="$(pas2js)"/>
<ScanForFPCMsgs Value="True"/>
</ExecuteBefore>
</Other> </Other>
<SkipCompiler Value="True"/>
</CompilerOptions> </CompilerOptions>
<Description Value="Free Pascal Component Library - Base <Description Value="Free Pascal Component Library - Base
Port to pas2js."/> Port to pas2js."/>
@ -40,11 +48,6 @@ Port to pas2js."/>
<UnitName Value="fpexprpars"/> <UnitName Value="fpexprpars"/>
</Item4> </Item4>
</Files> </Files>
<RequiredPkgs Count="1">
<Item1>
<PackageName Value="pas2js_rtl"/>
</Item1>
</RequiredPkgs>
<UsageOptions> <UsageOptions>
<UnitPath Value="$(PkgOutDir)"/> <UnitPath Value="$(PkgOutDir)"/>
</UsageOptions> </UsageOptions>

View File

@ -9,11 +9,19 @@
<SearchPaths> <SearchPaths>
<UnitOutputDirectory Value="js"/> <UnitOutputDirectory Value="js"/>
</SearchPaths> </SearchPaths>
<Parsing>
<SyntaxOptions>
<AllowLabel Value="False"/>
<UseAnsiStrings Value="False"/>
</SyntaxOptions>
</Parsing>
<Linking>
<Debugging>
<GenerateDebugInfo Value="False"/>
</Debugging>
</Linking>
<Other> <Other>
<ExecuteBefore> <CustomOptions Value="-Jc"/>
<Command Value="$MakeExe(pas2js) -O- -Jc -vbq fpcunit_pas2js.pas"/>
<ScanForFPCMsgs Value="True"/>
</ExecuteBefore>
</Other> </Other>
<SkipCompiler Value="True"/> <SkipCompiler Value="True"/>
</CompilerOptions> </CompilerOptions>
@ -53,13 +61,10 @@
<UnitName Value="htmltestreport"/> <UnitName Value="htmltestreport"/>
</Item8> </Item8>
</Files> </Files>
<RequiredPkgs Count="2"> <RequiredPkgs Count="1">
<Item1> <Item1>
<PackageName Value="fcl_base_pas2js"/> <PackageName Value="fcl_base_pas2js"/>
</Item1> </Item1>
<Item2>
<PackageName Value="pas2js_rtl"/>
</Item2>
</RequiredPkgs> </RequiredPkgs>
<UsageOptions> <UsageOptions>
<UnitPath Value="."/> <UnitPath Value="."/>