diff --git a/trunk/libsrc/jpproxy/nbproject/build-impl.xml b/trunk/libsrc/jpproxy/nbproject/build-impl.xml index 0531152f7..a51342e44 100644 --- a/trunk/libsrc/jpproxy/nbproject/build-impl.xml +++ b/trunk/libsrc/jpproxy/nbproject/build-impl.xml @@ -20,10 +20,10 @@ is divided into following sections: --> - + - + @@ -55,7 +55,14 @@ is divided into following sections: - + + + + + + + + @@ -70,8 +77,14 @@ is divided into following sections: + + + + + + @@ -84,40 +97,41 @@ is divided into following sections: - - - - - - - - - - - + + + + + + + + + + + + - - - - - + + + + + - - - - - + + + + + @@ -171,8 +185,18 @@ is divided into following sections: - + + + + + + + + + + + @@ -288,14 +312,19 @@ is divided into following sections: Must set javac.includes - + + + - + + + + @@ -306,7 +335,8 @@ is divided into following sections: - + + @@ -318,11 +348,57 @@ is divided into following sections: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + @@ -417,6 +493,7 @@ is divided into following sections: + @@ -432,7 +509,7 @@ is divided into following sections: - + @@ -561,10 +638,10 @@ is divided into following sections: - + - + @@ -573,44 +650,53 @@ is divided into following sections: - To run this application from the command line without Ant, try: + To run this application from the command line without Ant, try: - java -cp "${run.classpath.with.dist.jar}" ${main.class} + java -cp "${run.classpath.with.dist.jar}" ${main.class} - + + + + + + + + + + + + + + - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" + + + - - - - - - - To run this application from the command line without Ant, try: + + + To run this application from the command line without Ant, try: - java -jar "${dist.jar.resolved}" + java -jar "${dist.jar.resolved}" + + + + + + - + + + + + + + + + + + Must select one file in the IDE or set profile.class + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + @@ -721,7 +883,7 @@ is divided into following sections: - + @@ -734,7 +896,7 @@ is divided into following sections: - + Must select some files in the IDE or set javac.includes diff --git a/trunk/libsrc/jpproxy/nbproject/genfiles.properties b/trunk/libsrc/jpproxy/nbproject/genfiles.properties index 595e665fc..314e01228 100644 --- a/trunk/libsrc/jpproxy/nbproject/genfiles.properties +++ b/trunk/libsrc/jpproxy/nbproject/genfiles.properties @@ -4,5 +4,5 @@ nbbuild.xml.stylesheet.CRC32=28e38971@1.38.2.45 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. nbproject/build-impl.xml.data.CRC32=0a5363c8 -nbproject/build-impl.xml.script.CRC32=dee28151 -nbproject/build-impl.xml.stylesheet.CRC32=f33e10ff@1.38.2.45 +nbproject/build-impl.xml.script.CRC32=a674d967 +nbproject/build-impl.xml.stylesheet.CRC32=fcddb364@1.50.1.46 diff --git a/trunk/nbproject/build-impl.xml b/trunk/nbproject/build-impl.xml index c8a3f5119..0f3ccd714 100644 --- a/trunk/nbproject/build-impl.xml +++ b/trunk/nbproject/build-impl.xml @@ -20,10 +20,10 @@ is divided into following sections: --> - + - + @@ -55,7 +55,14 @@ is divided into following sections: - + + + + + + + + @@ -70,8 +77,14 @@ is divided into following sections: + + + + + + @@ -84,40 +97,41 @@ is divided into following sections: - - - - - - - - - - - + + + + + + + + + + + + - - - - - + + + + + - - - - - + + + + + @@ -173,8 +187,18 @@ is divided into following sections: - + + + + + + + + + + + @@ -302,7 +326,9 @@ is divided into following sections: - + + + @@ -312,7 +338,8 @@ is divided into following sections: - + + @@ -328,11 +355,57 @@ is divided into following sections: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + @@ -427,6 +500,7 @@ is divided into following sections: + @@ -442,7 +516,7 @@ is divided into following sections: - + @@ -571,10 +645,10 @@ is divided into following sections: - + - + @@ -583,44 +657,53 @@ is divided into following sections: - To run this application from the command line without Ant, try: + To run this application from the command line without Ant, try: - java -cp "${run.classpath.with.dist.jar}" ${main.class} + java -cp "${run.classpath.with.dist.jar}" ${main.class} - + + + + + + + + + + + + + + - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" + + + - - - - - - - To run this application from the command line without Ant, try: + + + To run this application from the command line without Ant, try: - java -jar "${dist.jar.resolved}" + java -jar "${dist.jar.resolved}" + + + + + + - + + + + + + + + + + + Must select one file in the IDE or set profile.class + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + @@ -731,7 +890,7 @@ is divided into following sections: - + @@ -746,7 +905,7 @@ is divided into following sections: - + Must select some files in the IDE or set javac.includes diff --git a/trunk/nbproject/configs/as3.properties b/trunk/nbproject/configs/as3.properties index b7ea418bf..e69de29bb 100644 --- a/trunk/nbproject/configs/as3.properties +++ b/trunk/nbproject/configs/as3.properties @@ -1 +0,0 @@ -main.class=com.jpexs.asdec.Main diff --git a/trunk/nbproject/configs/as3_secure.swf.properties b/trunk/nbproject/configs/as3_secure.swf.properties deleted file mode 100644 index b7ea418bf..000000000 --- a/trunk/nbproject/configs/as3_secure.swf.properties +++ /dev/null @@ -1 +0,0 @@ -main.class=com.jpexs.asdec.Main diff --git a/trunk/nbproject/genfiles.properties b/trunk/nbproject/genfiles.properties index 2bd22b1b3..e217d429a 100644 --- a/trunk/nbproject/genfiles.properties +++ b/trunk/nbproject/genfiles.properties @@ -4,5 +4,5 @@ nbbuild.xml.stylesheet.CRC32=28e38971@1.38.2.45 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. nbproject/build-impl.xml.data.CRC32=6767af7d -nbproject/build-impl.xml.script.CRC32=ad555744 -nbproject/build-impl.xml.stylesheet.CRC32=229523de@1.38.3.45 +nbproject/build-impl.xml.script.CRC32=f6bb2604 +nbproject/build-impl.xml.stylesheet.CRC32=fcddb364@1.50.1.46 diff --git a/trunk/nbproject/project.properties b/trunk/nbproject/project.properties index dc08bc221..94d76c458 100644 --- a/trunk/nbproject/project.properties +++ b/trunk/nbproject/project.properties @@ -1,5 +1,6 @@ annotation.processing.enabled=true annotation.processing.enabled.in.editor=false +annotation.processing.processors.list= annotation.processing.run.all.processors=true annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output application.title=ASDec @@ -68,6 +69,7 @@ javadoc.windowtitle= main.class=com.jpexs.asdec.Main manifest.file=manifest.mf meta.inf.dir=${src.dir}/META-INF +mkdist.disabled=false platform.active=default_platform run.classpath=\ ${javac.classpath}:\ diff --git a/trunk/testdata/as2.fla b/trunk/testdata/as2/as2.fla similarity index 100% rename from trunk/testdata/as2.fla rename to trunk/testdata/as2/as2.fla diff --git a/trunk/testdata/as2.html b/trunk/testdata/as2/as2.html similarity index 100% rename from trunk/testdata/as2.html rename to trunk/testdata/as2/as2.html diff --git a/trunk/testdata/as2.swf b/trunk/testdata/as2/as2.swf similarity index 100% rename from trunk/testdata/as2.swf rename to trunk/testdata/as2/as2.swf diff --git a/trunk/testdata/as3.fla b/trunk/testdata/as3.fla deleted file mode 100644 index ab0a7b511..000000000 Binary files a/trunk/testdata/as3.fla and /dev/null differ diff --git a/trunk/testdata/as3.html b/trunk/testdata/as3.html deleted file mode 100644 index 2cb16b28d..000000000 --- a/trunk/testdata/as3.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - as3 - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - Get Adobe Flash player - - - - - -
- - diff --git a/trunk/testdata/as3.swf b/trunk/testdata/as3.swf deleted file mode 100644 index 45f6ee64c..000000000 Binary files a/trunk/testdata/as3.swf and /dev/null differ diff --git a/trunk/testdata/as3/TestMovie.as b/trunk/testdata/as3/TestMovie.as new file mode 100644 index 000000000..53e6f4798 --- /dev/null +++ b/trunk/testdata/as3/TestMovie.as @@ -0,0 +1,17 @@ +package { + import flash.display.Sprite; + import flash.text.TextField; + import classes.Test; + public class TestMovie extends Sprite + { + + public function TestMovie() + { + var display_txt:TextField = new TextField(); + display_txt.text = "Hello World!"; + addChild(display_txt); + var t:Test=new Test(); + t.testHello(); + } + } +} \ No newline at end of file diff --git a/trunk/testdata/as3/TestMovie.html b/trunk/testdata/as3/TestMovie.html new file mode 100644 index 000000000..c80483d3b --- /dev/null +++ b/trunk/testdata/as3/TestMovie.html @@ -0,0 +1,318 @@ + + + +TestMovie + + + + + + + + + + diff --git a/trunk/testdata/as3/TestMovie.swf b/trunk/testdata/as3/TestMovie.swf new file mode 100644 index 000000000..48c9e7397 Binary files /dev/null and b/trunk/testdata/as3/TestMovie.swf differ diff --git a/trunk/testdata/as3/build.bat b/trunk/testdata/as3/build.bat new file mode 100644 index 000000000..71f104168 --- /dev/null +++ b/trunk/testdata/as3/build.bat @@ -0,0 +1,19 @@ +@echo off +set ISDEBUG=false +if "%1" == "debug" goto blockset +goto block2 +:blockset +set ISDEBUG=true +:block2 +set COMPILERPATH=..\..\flex_sdk\bin\mxmlc.exe +if not exist %COMPILERPATH% goto notex +%COMPILERPATH% -warnings=false -debug=%ISDEBUG% TestMovie.as>out.txt +start notepad out.txt +if errorlevel==1 goto failed +goto end +:notex +echo Flex SDK not found. Download and unpack Flex SDK into trunk\flex_sdk directory, then run build again +goto end +:failed +pause +:end \ No newline at end of file diff --git a/trunk/testdata/as3/build_debug.bat b/trunk/testdata/as3/build_debug.bat new file mode 100644 index 000000000..f71ae89e3 --- /dev/null +++ b/trunk/testdata/as3/build_debug.bat @@ -0,0 +1,2 @@ +@echo off +build.bat debug \ No newline at end of file diff --git a/trunk/testdata/classes/Test.as b/trunk/testdata/as3/classes/Test.as similarity index 92% rename from trunk/testdata/classes/Test.as rename to trunk/testdata/as3/classes/Test.as index 5ed248f33..f9bc3ed44 100644 --- a/trunk/testdata/classes/Test.as +++ b/trunk/testdata/as3/classes/Test.as @@ -1,5 +1,4 @@ package classes { - public class Test { private var testPriv:int=5; protected var testProt:int=9; @@ -399,5 +398,25 @@ public class Test { } } + public function testParamsCount(firstp:int,secondp:int,thirdp:int):int + { + return firstp; + } + + + public function testCalcStackSize() { + var a=[1]; + var b=[2]; + a[0]++; + b[0]++; + //b=c[2]++; + /*trace("--arr"); + b=--c[2]; + trace("arr--"); + b=c[2]--;*/ + + return; + } + } } \ No newline at end of file diff --git a/trunk/testdata/classes/TestClass1.as b/trunk/testdata/as3/classes/TestClass1.as similarity index 69% rename from trunk/testdata/classes/TestClass1.as rename to trunk/testdata/as3/classes/TestClass1.as index 575deee7c..18e5379a6 100644 --- a/trunk/testdata/classes/TestClass1.as +++ b/trunk/testdata/as3/classes/TestClass1.as @@ -1,6 +1,10 @@ package classes{ public dynamic class TestClass1{ public var attrib:int=5; + + public function testHello(){ + trace("hello2"); + } public function metoda(i:int):int {