Updated test, removed unnecessary library, new icons

This commit is contained in:
Jindra Petk
2010-09-04 17:55:59 +02:00
parent f565f82f4e
commit 4e3ab44c6e
9 changed files with 648 additions and 81 deletions

8
trunk/.idea/ant.xml generated
View File

@@ -2,6 +2,14 @@
<project version="4">
<component name="AntConfiguration">
<defaultAnt bundledAnt="true" />
<buildFile url="file://$PROJECT_DIR$/build.xml">
<additionalClassPath />
<antReference projectDefault="true" />
<customJdkName value="" />
<maximumHeapSize value="128" />
<maximumStackSize value="2" />
<properties />
</buildFile>
</component>
</project>

View File

@@ -1,7 +1,6 @@
<component name="libraryTable">
<library name="lib1">
<library name="lib">
<CLASSES>
<root url="jar://$PROJECT_DIR$/lib/commons-codec-1.3.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/jsyntaxpane-0.9.5.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/jpproxy.jar!/" />
</CLASSES>

View File

@@ -74,6 +74,7 @@
<option name="changedFiles">
<list>
<option value="$PROJECT_DIR$/src/com/jpexs/asdec/Main.java" />
<option value="$PROJECT_DIR$/test/com/jpexs/asdec/TestRecompile.java" />
</list>
</option>
</component>
@@ -133,38 +134,6 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="trunk" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="trunk" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="libsrc" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="trunk" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="trunk" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="libsrc" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="jpproxy" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
</subPane>
</pane>
</panes>
@@ -172,8 +141,10 @@
<component name="PropertiesComponent">
<property name="project.structure.last.edited" value="Modules" />
<property name="GoToFile.includeJavaFiles" value="false" />
<property name="OverrideImplement.combined" value="true" />
<property name="project.structure.proportion" value="0.15" />
<property name="options.splitter.main.proportions" value="0.3" />
<property name="recentsLimit" value="5" />
<property name="MemberChooser.sorted" value="false" />
<property name="options.lastSelected" value="preferences.pluginManager" />
<property name="project.structure.side.proportion" value="0.2" />
@@ -181,10 +152,11 @@
<property name="GoToClass.toSaveIncludeLibraries" value="false" />
<property name="MemberChooser.showClasses" value="true" />
<property name="GoToClass.includeLibraries" value="false" />
<property name="options.splitter.details.proportions" value="0.2" />
<property name="dynamic.classpath" value="false" />
<property name="options.searchVisible" value="true" />
<property name="options.splitter.details.proportions" value="0.2" />
</component>
<component name="RunManager">
<component name="RunManager" selected="Application.Basic run">
<configuration default="true" type="Remote" factoryName="Remote">
<option name="USE_SOCKET_TRANSPORT" value="true" />
<option name="SERVER_MODE" value="false" />
@@ -293,7 +265,42 @@
<option name="Maven.BeforeRunTask" enabled="false" />
</method>
</configuration>
<list size="0" />
<configuration default="false" name="Basic run" type="Application" factoryName="Application">
<extension name="snapshooter" />
<option name="MAIN_CLASS_NAME" value="com.jpexs.asdec.Main" />
<option name="VM_PARAMETERS" value="" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<module name="ASDec" />
<envs />
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
<configuration default="false" name="Proxy" type="Application" factoryName="Application">
<extension name="snapshooter" />
<option name="MAIN_CLASS_NAME" value="com.jpexs.asdec.Main" />
<option name="VM_PARAMETERS" value="" />
<option name="PROGRAM_PARAMETERS" value="-proxy" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<module name="ASDec" />
<envs />
<method />
</configuration>
<list size="2">
<item index="0" class="java.lang.String" itemvalue="Application.Basic run" />
<item index="1" class="java.lang.String" itemvalue="Application.Proxy" />
</list>
<configuration name="&lt;template&gt;" type="WebApp" default="true" selected="false">
<Host>localhost</Host>
<Port>5050</Port>
@@ -319,24 +326,24 @@
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1382" height="744" extended-state="6" />
<editor active="true" />
<editor active="false" />
<layout>
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.33206686" sideWeight="0.65924656" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25" sideWeight="0.65924656" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32876712" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.33206686" sideWeight="0.65924656" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32876712" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32876712" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
</layout>
@@ -374,32 +381,51 @@
<component name="antWorkspaceConfiguration">
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
<option name="FILTER_TARGETS" value="false" />
<buildFile url="file://$PROJECT_DIR$/build.xml">
<antCommandLine value="" />
<runInBackground value="true" />
<targetFilters />
<treeView value="true" />
<verbose value="true" />
<viewClosedWhenNoErrors value="false" />
</buildFile>
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/ASDec.iml">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/com/jpexs/asdec/Main.java">
<provider selected="true" editor-type-id="text-editor">
<state line="32" column="0" selection-start="847" selection-end="847" vertical-scroll-proportion="0.44237918">
<folding />
</state>
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/build.xml">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
<folding />
</state>
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/libsrc/jpproxy/build.xml">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/com/jpexs/asdec/Main.java">
<provider selected="true" editor-type-id="text-editor">
<state line="35" column="41" selection-start="979" selection-end="979" vertical-scroll-proportion="0.5371747" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/test/com/jpexs/asdec/TestRecompile.java">
<provider selected="true" editor-type-id="text-editor">
<state line="18" column="39" selection-start="594" selection-end="594" vertical-scroll-proportion="0.42882884" />
</provider>
</entry>
<entry file="jar://C:/Program Files/Java/jdk1.6.0_21/src.zip!/java/lang/ref/ReferenceQueue.java">
<provider selected="true" editor-type-id="text-editor">
<state line="117" column="0" selection-start="3523" selection-end="3523" vertical-scroll-proportion="0.33333334">
<folding />
</state>
</provider>
</entry>
<entry file="jar://C:/Program Files/Java/jdk1.6.0_21/src.zip!/java/lang/Thread.java">
<provider selected="true" editor-type-id="text-editor">
<state line="618" column="0" selection-start="23472" selection-end="23472" vertical-scroll-proportion="0.33333334">
<folding />
</state>
</provider>

View File

@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/build/classes" />
<output-test url="file://$MODULE_DIR$/build/test" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
@@ -9,7 +11,16 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="testlib" level="project" />
<orderEntry type="library" name="lib1" level="project" />
<orderEntry type="module-library">
<library name="lib">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/jpproxy.jar!/" />
<root url="jar://$MODULE_DIR$/lib/jsyntaxpane-0.9.5.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
</component>
</module>

246
trunk/graphics/codelogo.svg Normal file
View File

@@ -0,0 +1,246 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="153"
height="55"
id="svg2"
inkscape:label="Pozadí"
version="1.1"
inkscape:version="0.47 r22583"
sodipodi:docname="codelogo.svg"
inkscape:export-filename="D:\Dokumenty\Programovani\JavaSE\ASDec\trunk\graphics\codelogo.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs3">
<linearGradient
inkscape:collect="always"
id="linearGradient3589">
<stop
style="stop-color:#ffffff;stop-opacity:1"
offset="0"
id="stop3591" />
<stop
style="stop-color:#666666;stop-opacity:1"
offset="1"
id="stop3593" />
</linearGradient>
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective9" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3589"
id="linearGradient3595"
x1="150"
y1="1052.3622"
x2="150"
y2="1002.3622"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.51,0,0,1.1,0,-105.23622)" />
<inkscape:perspective
id="perspective3609"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3635"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3660"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3685"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<filter
inkscape:collect="always"
id="filter3706"
color-interpolation-filters="sRGB">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.83384766"
id="feGaussianBlur3708" />
</filter>
<inkscape:perspective
id="perspective3718"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<filter
inkscape:collect="always"
id="filter3823"
x="-0.021163423"
width="1.0423268"
y="-0.12042073"
height="1.2408415"
color-interpolation-filters="sRGB">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="1.157168"
id="feGaussianBlur3825" />
</filter>
<inkscape:perspective
id="perspective3835"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3860"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<filter
inkscape:collect="always"
id="filter3901"
color-interpolation-filters="sRGB">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.73429527"
id="feGaussianBlur3903" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.979899"
inkscape:cx="139.78674"
inkscape:cy="29.956997"
inkscape:document-units="px"
inkscape:current-layer="layer2"
showgrid="false"
inkscape:window-width="1366"
inkscape:window-height="706"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1" />
<metadata
id="metadata6">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Vrstva 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-997.3622)"
sodipodi:insensitive="true">
<rect
style="fill:url(#linearGradient3595);fill-opacity:1;stroke:none"
id="rect2815"
width="153"
height="55"
x="0"
y="997.36218" />
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
x="164.76456"
y="1030.4779"
id="text3597-1"><tspan
sodipodi:role="line"
id="tspan3599-7"
x="164.76456"
y="1030.4779"
style="font-size:28px" /></text>
</g>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="text"
transform="translate(0,5)">
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#595959;fill-opacity:1;stroke:none;filter:url(#filter3706);font-family:Bitstream Vera Sans"
x="6.3993211"
y="36.770775"
id="text3597-9"
transform="matrix(0.90498335,0,0,1.0513578,5.9724797,-17.799149)"><tspan
sodipodi:role="line"
id="tspan3599-4"
x="6.3993211"
y="36.770775"
style="font-size:24px;fill:#595959;fill-opacity:1;font-family:Verdana;-inkscape-font-specification:Verdana">ActionScript</tspan></text>
<text
xml:space="preserve"
style="font-size:39.01714706px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
x="10.4857"
y="17.562189"
id="text3597"
transform="scale(0.92778003,1.0778417)"><tspan
sodipodi:role="line"
id="tspan3599"
x="10.4857"
y="17.562189"
style="font-size:23.41029167px;font-family:Verdana;-inkscape-font-specification:Verdana">ActionScript</tspan></text>
<g
id="g3805"
transform="matrix(0.83039113,0,0,0.96470084,-110.12379,9.3886447)">
<text
id="text3597-4-8"
y="36.500076"
x="159.39526"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#6c0000;fill-opacity:1;stroke:none;filter:url(#filter3823);font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
style="font-size:24px;fill:#6c0000;fill-opacity:1;font-family:Verdana;-inkscape-font-specification:Verdana"
y="36.500076"
x="159.39526"
id="tspan3599-0-8"
sodipodi:role="line">decompiler</tspan></text>
<text
id="text3597-4"
y="34.750473"
x="157.41711"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#ff0000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
style="font-size:24px;fill:#ff0000;font-family:Verdana;-inkscape-font-specification:Verdana"
y="34.750473"
x="157.41711"
id="tspan3599-0"
sodipodi:role="line">decompiler</tspan></text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.2 KiB

280
trunk/graphics/icon.svg Normal file
View File

@@ -0,0 +1,280 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="50"
height="50"
id="svg2"
inkscape:label="Pozadí"
version="1.1"
inkscape:version="0.47 r22583"
sodipodi:docname="icon.svg"
inkscape:export-filename="D:\Dokumenty\Programovani\JavaSE\ASDec\trunk\graphics\logo55.png"
inkscape:export-xdpi="99"
inkscape:export-ydpi="99">
<defs
id="defs3">
<linearGradient
inkscape:collect="always"
id="linearGradient3589">
<stop
style="stop-color:#ffffff;stop-opacity:1"
offset="0"
id="stop3591" />
<stop
style="stop-color:#666666;stop-opacity:1"
offset="1"
id="stop3593" />
</linearGradient>
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective9" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3589"
id="linearGradient3595"
x1="150"
y1="1052.3622"
x2="150"
y2="1002.3622"
gradientUnits="userSpaceOnUse"
gradientTransform="scale(0.16666667,1)" />
<inkscape:perspective
id="perspective3609"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3635"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3660"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3685"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<filter
inkscape:collect="always"
id="filter3706"
color-interpolation-filters="sRGB">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.83384766"
id="feGaussianBlur3708" />
</filter>
<inkscape:perspective
id="perspective3718"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<filter
inkscape:collect="always"
id="filter3823"
x="-0.021163423"
width="1.0423268"
y="-0.12042073"
height="1.2408415"
color-interpolation-filters="sRGB">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="1.157168"
id="feGaussianBlur3825" />
</filter>
<inkscape:perspective
id="perspective3835"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3860"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<filter
inkscape:collect="always"
id="filter3901"
color-interpolation-filters="sRGB">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.73429527"
id="feGaussianBlur3903" />
</filter>
<inkscape:perspective
id="perspective2858"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<filter
inkscape:collect="always"
id="filter3663">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.83097753"
id="feGaussianBlur3665" />
</filter>
<inkscape:perspective
id="perspective3675"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<filter
inkscape:collect="always"
id="filter3719">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.57000693"
id="feGaussianBlur3721" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.6"
inkscape:cx="30.425972"
inkscape:cy="30.93268"
inkscape:document-units="px"
inkscape:current-layer="layer2"
showgrid="false"
inkscape:window-width="1366"
inkscape:window-height="706"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1" />
<metadata
id="metadata6">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Vrstva 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1002.3622)"
sodipodi:insensitive="true">
<rect
style="fill:url(#linearGradient3595);fill-opacity:1;stroke:none"
id="rect2815"
width="50"
height="50"
x="0"
y="1002.3622" />
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
x="164.76456"
y="1030.4779"
id="text3597-1"><tspan
sodipodi:role="line"
id="tspan3599-7"
x="164.76456"
y="1030.4779"
style="font-size:28px" /></text>
</g>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="text">
<g
id="g3805-0"
transform="matrix(0.79808925,0,0,0.92717437,-88.075569,12.286392)"
style="fill:#800000;filter:url(#filter3719)">
<text
id="text3597-4-9"
y="37.368259"
x="122.13925"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#800000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
style="font-size:24px;fill:#800000;font-family:Verdana;-inkscape-font-specification:Verdana"
y="37.368259"
x="122.13925"
id="tspan3599-0-4"
sodipodi:role="line">dec</tspan></text>
</g>
<text
xml:space="preserve"
style="font-size:54.9784584px;font-style:normal;font-weight:normal;fill:#333333;fill-opacity:1;stroke:none;filter:url(#filter3663);font-family:Bitstream Vera Sans"
x="8.1327343"
y="27.453064"
id="text3597-17"
transform="matrix(0.92778003,0,0,1.0778417,-2.0203051,-0.25253813)"><tspan
sodipodi:role="line"
id="tspan3599-4"
x="8.1327343"
y="27.453064"
style="font-size:32.98707962px;fill:#333333;font-family:Verdana;-inkscape-font-specification:Verdana">AS</tspan></text>
<text
xml:space="preserve"
style="font-size:54.9784584px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
x="4.3584051"
y="25.999577"
id="text3597"
transform="scale(0.92778003,1.0778417)"><tspan
sodipodi:role="line"
id="tspan3599"
x="4.3584051"
y="25.999577"
style="font-size:32.98707962px;font-family:Verdana;-inkscape-font-specification:Verdana">AS</tspan></text>
<g
id="g3805"
transform="matrix(0.79808925,0,0,0.92717437,-89.834856,10.873899)">
<text
id="text3597-4"
y="37.368259"
x="122.13925"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#ff0000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
style="font-size:24px;fill:#ff0000;font-family:Verdana;-inkscape-font-specification:Verdana"
y="37.368259"
x="122.13925"
id="tspan3599-0"
sodipodi:role="line">dec</tspan></text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

View File

@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/build/classes" />
<output-test url="file://$MODULE_DIR$/build/test" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />

View File

@@ -4,15 +4,12 @@ import com.jpexs.asdec.abc.NotSameException;
import junit.framework.TestCase;
import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.*;
public class TestRecompile extends TestCase {
public static final String TESTDATADIR = "testdata";
private void testRecompile(String filename) {
private void testRecompileOne(String filename) {
try {
SWF swf = new SWF(new FileInputStream(TESTDATADIR + File.separator + filename));
Main.DEBUG_COPY = true;
@@ -20,23 +17,21 @@ public class TestRecompile extends TestCase {
} catch (IOException ex) {
fail();
} catch (NotSameException ex) {
//ex.printStackTrace();
fail("File is different after recompiling: " + filename);
}
}
@Test
public void testRecompile1() {
testRecompile("01.swf");
public void testRecompile() {
File dir=new File(TESTDATADIR);
File files[]=dir.listFiles(new FilenameFilter(){
public boolean accept(File dir, String name) {
return name.toLowerCase().endsWith(".swf");
}
});
for(File f:files){
testRecompileOne(f.getAbsolutePath());
}
}
@Test
public void testRecompile2() {
testRecompile("02.swf");
}
@Test
public void testRecompile3() {
testRecompile("03.swf");
}
}