Skip to content

Commit

Permalink
remove all traces of hscript
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Aug 5, 2021
1 parent 47fbc74 commit 6b77905
Show file tree
Hide file tree
Showing 34 changed files with 5 additions and 351 deletions.
3 changes: 0 additions & 3 deletions .github/commands/dox.hxml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
-lib hscript
#-lib actuate
-lib haxeui-blank
#-lib yaml

#-main haxe.ui.Dox
-cp .
Expand Down
3 changes: 1 addition & 2 deletions cli/src/installs/kha/KhaInstall.hx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ class KhaInstall extends HaxeLibInstall {
public function new() {
super([
"haxeui-core",
"haxeui-kha",
"hscript"
"haxeui-kha"
]);
}

Expand Down
3 changes: 1 addition & 2 deletions cli/src/updates/kha/KhaUpdate.hx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ class KhaUpdate extends HaxeLibUpdate {
public function new() {
super([
"haxeui-core",
"haxeui-kha",
"hscript"
"haxeui-kha"
]);
}

Expand Down
1 change: 0 additions & 1 deletion cli/templates/android/android.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

-lib haxeui-core
-lib haxeui-android
-lib hscript

-java-lib ::ANDROID_HOME::\platforms\android-21\android.jar

Expand Down
1 change: 0 additions & 1 deletion cli/templates/electron-shared/electron.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@

-lib haxeui-core
-lib haxeui-html5
-lib hscript

-js build/electron/::output::.js
60 changes: 0 additions & 60 deletions cli/templates/flixel-flash-develop/_flixel.hxproj

This file was deleted.

3 changes: 1 addition & 2 deletions cli/templates/flixel-flash-develop/flixel.hxproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</classpaths>
<!-- Build options -->
<build>
<option directives="flixel=4.5.1&#xA;openfl=8.7.0&#xA;lime=7.2.0&#xA;haxeui-core=0.0.3&#xA;hscript=2.3.0&#xA;haxeui-flixel=0.0.0&#xA;lime-openal&#xA;FLX_NO_GAMEPAD&#xA;native&#xA;lime-curl&#xA;openfl-native&#xA;lime-harfbuzz&#xA;FLX_NO_FOCUS_LOST_SCREEN&#xA;tools=7.2.0&#xA;lime-cairo&#xA;FLX_NO_DEBUG&#xA;lime-opengl&#xA;no-compilation&#xA;FLX_NO_TOUCH&#xA;lime-native&#xA;lime-vorbis&#xA;FLX_NO_SOUND_TRAY&#xA;lime-cffi&#xA;windows&#xA;desktop" />
<option directives="flixel=4.5.1&#xA;openfl=8.7.0&#xA;lime=7.2.0&#xA;haxeui-core=0.0.3&#xA;haxeui-flixel=0.0.0&#xA;lime-openal&#xA;FLX_NO_GAMEPAD&#xA;native&#xA;lime-curl&#xA;openfl-native&#xA;lime-harfbuzz&#xA;FLX_NO_FOCUS_LOST_SCREEN&#xA;tools=7.2.0&#xA;lime-cairo&#xA;FLX_NO_DEBUG&#xA;lime-opengl&#xA;no-compilation&#xA;FLX_NO_TOUCH&#xA;lime-native&#xA;lime-vorbis&#xA;FLX_NO_SOUND_TRAY&#xA;lime-cffi&#xA;windows&#xA;desktop" />
<option flashStrict="False" />
<option noInlineOnDebug="False" />
<option mainClass="ApplicationMain" />
Expand All @@ -28,7 +28,6 @@
</build>
<!-- haxelib libraries -->
<haxelib>
<library name="hscript" />
</haxelib>
<!-- Class files to compile (other referenced classes will automatically be included) -->
<compileTargets>
Expand Down
1 change: 0 additions & 1 deletion cli/templates/flixel-shared/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
<!--In case you want to use nape with flixel-->
<!-- <haxelib name="nape" /> -->

<haxelib name="hscript" />
<haxelib name="haxeui-core" />
<haxelib name="haxeui-flixel" />

Expand Down
1 change: 0 additions & 1 deletion cli/templates/heaps/heaps-hl.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
-lib hlsdl
-lib haxeui-core
-lib haxeui-heaps
-lib hscript

-D resourcesPath=assets

Expand Down
1 change: 0 additions & 1 deletion cli/templates/heaps/heaps-js.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
-lib heaps
-lib haxeui-core
-lib haxeui-heaps
-lib hscript

-D resourcesPath=assets

Expand Down
1 change: 0 additions & 1 deletion cli/templates/html5/html5.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@

-lib haxeui-core
-lib haxeui-html5
-lib hscript

-js build/html5/::output::.js
1 change: 0 additions & 1 deletion cli/templates/hxwidgets-flash-develop/hxwidgets.hxproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<!-- haxelib libraries -->
<haxelib>
<library name="hxWidgets" />
<library name="hscript" />
<library name="haxeui-core" />
<library name="haxeui-hxwidgets" />
</haxelib>
Expand Down
1 change: 0 additions & 1 deletion cli/templates/hxwidgets/hxwidgets.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
-lib haxeui-core
-lib haxeui-hxwidgets
-lib hxWidgets
-lib hscript

-D ABI=-MD
-D WXSTATIC
Expand Down
1 change: 0 additions & 1 deletion cli/templates/kha-shared/khafile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ project.addSources('./src');

project.addLibrary('haxeui-core');
project.addLibrary('haxeui-kha');
project.addLibrary('hscript');

resolve(project);
1 change: 0 additions & 1 deletion cli/templates/nme-shared/project.nmml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

<haxelib name="nme" />
<haxelib name="actuate" />
<haxelib name="hscript" />

<haxelib name="haxeui-core" />
<haxelib name="haxeui-nme" />
Expand Down
1 change: 0 additions & 1 deletion cli/templates/openfl-flash-develop/openfl.hxproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
</build>
<!-- haxelib libraries -->
<haxelib>
<library name="hscript" />
</haxelib>
<!-- Class files to compile (other referenced classes will automatically be included) -->
<compileTargets>
Expand Down
1 change: 0 additions & 1 deletion cli/templates/pdcurses-flash-develop/pdcurses.hxproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
</build>
<!-- haxelib libraries -->
<haxelib>
<library name="hscript" />
<library name="haxeui-core" />
<library name="haxeui-pdcurses" />
</haxelib>
Expand Down
1 change: 0 additions & 1 deletion cli/templates/pdcurses/pdcurses.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@

-lib haxeui-core
-lib haxeui-pdcurses
-lib hscript

-cpp build/pdcurses
1 change: 0 additions & 1 deletion cli/templates/pixijs-flash-develop/pixijs.hxproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
<library name="pixijs" />
<library name="haxeui-core" />
<library name="haxeui-pixijs" />
<library name="hscript" />
<library name="actuate" />
</haxelib>
<!-- Class files to compile (other referenced classes will automatically be included) -->
Expand Down
1 change: 0 additions & 1 deletion cli/templates/pixijs/pixijs.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

-lib haxeui-core
-lib haxeui-pixijs
-lib hscript
-lib pixijs

-js build/pixijs/::output::.js
1 change: 0 additions & 1 deletion cli/templates/qt-flash-develop/qt.hxproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<!-- haxelib libraries -->
<haxelib>
<library name="hxQt" />
<library name="hscript" />
<library name="haxeui-core" />
<library name="haxeui-qt" />
</haxelib>
Expand Down
1 change: 0 additions & 1 deletion cli/templates/qt/qt.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
-lib haxeui-core
-lib haxeui-qt
-lib hxQt
-lib hscript

-D HXCPP_M64

Expand Down
1 change: 0 additions & 1 deletion cli/templates/raylib-flash-develop/raylib.hxproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<!-- haxelib libraries -->
<haxelib>
<library name="raylib-haxe" />
<library name="hscript" />
<library name="haxeui-core" />
<library name="haxeui-raylib" />
</haxelib>
Expand Down
1 change: 0 additions & 1 deletion cli/templates/raylib/raylib.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
-lib haxeui-core
-lib haxeui-raylib
-lib raylib-haxe
-lib hscript

-cpp build/raylib
1 change: 0 additions & 1 deletion cli/templates/winforms-flash-develop/winforms.hxproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
</build>
<!-- haxelib libraries -->
<haxelib>
<library name="hscript" />
<library name="haxeui-core" />
<library name="haxeui-winforms" />
</haxelib>
Expand Down
1 change: 0 additions & 1 deletion cli/templates/winforms/winforms.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@

-lib haxeui-core
-lib haxeui-winforms
-lib hscript

-cs build/winforms
1 change: 0 additions & 1 deletion extraParams.hxml
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
-lib hscript
4 changes: 2 additions & 2 deletions haxe/ui/Toolkit.hx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class Toolkit {
fullScript += scriptString;
}

component.script = fullScript;
//component.script = fullScript;

return component;
}
Expand Down Expand Up @@ -246,7 +246,7 @@ class Toolkit {
var propValue:Dynamic = c.properties.get(propName);
propName = ComponentFieldMap.mapField(propName);
if (StringTools.startsWith(propName, "on")) {
component.addScriptEvent(propName, propValue);
//component.addScriptEvent(propName, propValue);
} else {
propValue = TypeConverter.convertFrom(propValue);
Reflect.setProperty(component, propName, propValue);
Expand Down
Loading

0 comments on commit 6b77905

Please sign in to comment.