diff --git a/trunk/src/com/jpexs/asdec/gui/graphics/icon16.png b/trunk/src/com/jpexs/asdec/gui/graphics/icon16.png
deleted file mode 100644
index af1b033c3..000000000
Binary files a/trunk/src/com/jpexs/asdec/gui/graphics/icon16.png and /dev/null differ
diff --git a/trunk/src/com/jpexs/asdec/gui/graphics/icon256.png b/trunk/src/com/jpexs/asdec/gui/graphics/icon256.png
deleted file mode 100644
index 795fbf28b..000000000
Binary files a/trunk/src/com/jpexs/asdec/gui/graphics/icon256.png and /dev/null differ
diff --git a/trunk/src/com/jpexs/asdec/gui/graphics/icon32.png b/trunk/src/com/jpexs/asdec/gui/graphics/icon32.png
deleted file mode 100644
index 341abba8d..000000000
Binary files a/trunk/src/com/jpexs/asdec/gui/graphics/icon32.png and /dev/null differ
diff --git a/trunk/src/com/jpexs/asdec/gui/graphics/icon48.png b/trunk/src/com/jpexs/asdec/gui/graphics/icon48.png
deleted file mode 100644
index f99cff7e0..000000000
Binary files a/trunk/src/com/jpexs/asdec/gui/graphics/icon48.png and /dev/null differ
diff --git a/trunk/src/com/jpexs/asdec/gui/graphics/logo.png b/trunk/src/com/jpexs/asdec/gui/graphics/logo.png
deleted file mode 100644
index bb1fbccb2..000000000
Binary files a/trunk/src/com/jpexs/asdec/gui/graphics/logo.png and /dev/null differ
diff --git a/trunk/src/com/jpexs/asdec/Configuration.java b/trunk/src/com/jpexs/decompiler/flash/Configuration.java
similarity index 96%
rename from trunk/src/com/jpexs/asdec/Configuration.java
rename to trunk/src/com/jpexs/decompiler/flash/Configuration.java
index 86e3f2d55..c746e9423 100644
--- a/trunk/src/com/jpexs/asdec/Configuration.java
+++ b/trunk/src/com/jpexs/decompiler/flash/Configuration.java
@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec;
+package com.jpexs.decompiler.flash;
import com.jpexs.proxy.Replacement;
import java.io.*;
diff --git a/trunk/src/com/jpexs/asdec/EventListener.java b/trunk/src/com/jpexs/decompiler/flash/EventListener.java
similarity index 92%
rename from trunk/src/com/jpexs/asdec/EventListener.java
rename to trunk/src/com/jpexs/decompiler/flash/EventListener.java
index 3c35b7e78..246a5df3f 100644
--- a/trunk/src/com/jpexs/asdec/EventListener.java
+++ b/trunk/src/com/jpexs/decompiler/flash/EventListener.java
@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec;
+package com.jpexs.decompiler.flash;
/**
*
diff --git a/trunk/src/com/jpexs/asdec/Main.java b/trunk/src/com/jpexs/decompiler/flash/Main.java
similarity index 93%
rename from trunk/src/com/jpexs/asdec/Main.java
rename to trunk/src/com/jpexs/decompiler/flash/Main.java
index 5576d7eba..71350cecb 100644
--- a/trunk/src/com/jpexs/asdec/Main.java
+++ b/trunk/src/com/jpexs/decompiler/flash/Main.java
@@ -14,17 +14,17 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec;
+package com.jpexs.decompiler.flash;
-import com.jpexs.asdec.abc.avm2.AVM2Code;
-import com.jpexs.asdec.abc.types.MethodBody;
-import com.jpexs.asdec.gui.AboutDialog;
-import com.jpexs.asdec.gui.LoadingDialog;
-import com.jpexs.asdec.gui.MainFrame;
-import com.jpexs.asdec.gui.ModeFrame;
-import com.jpexs.asdec.gui.View;
-import com.jpexs.asdec.gui.proxy.ProxyFrame;
-import com.jpexs.asdec.helpers.Highlighting;
+import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
+import com.jpexs.decompiler.flash.abc.types.MethodBody;
+import com.jpexs.decompiler.flash.gui.AboutDialog;
+import com.jpexs.decompiler.flash.gui.LoadingDialog;
+import com.jpexs.decompiler.flash.gui.MainFrame;
+import com.jpexs.decompiler.flash.gui.ModeFrame;
+import com.jpexs.decompiler.flash.gui.View;
+import com.jpexs.decompiler.flash.gui.proxy.ProxyFrame;
+import com.jpexs.decompiler.flash.helpers.Highlighting;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
@@ -63,11 +63,11 @@ public class Main {
public static String file;
public static String maskURL;
public static SWF swf;
- public static final String version = "1.2.0u1";
- public static final String applicationName = "JP ActionScript Decompiler v." + version;
- public static final String shortApplicationName = "ASDec";
+ public static final String version = "1.3";
+ public static final String applicationName = "JPEXS Free Flash Decompiler v." + version;
+ public static final String shortApplicationName = "FFDec";
public static final String shortApplicationVerName = shortApplicationName + " v." + version;
- public static final String projectPage = "http://code.google.com/p/asdec/";
+ public static final String projectPage = "http://www.free-decompiler.com/flash";
public static LoadingDialog loadingDialog;
public static ModeFrame modeFrame;
private static boolean working = false;
@@ -416,14 +416,14 @@ public class Main {
System.out.println(" ...Decompress infile and save it to outfile");
System.out.println();
System.out.println("Examples:");
- System.out.println("java -jar ASDec.jar myfile.swf");
- System.out.println("java -jar ASDec.jar -proxy");
- System.out.println("java -jar ASDec.jar -proxy -P1234");
- System.out.println("java -jar ASDec.jar -export as \"C:\\decompiled\\\" myfile.swf");
- System.out.println("java -jar ASDec.jar -export pcode \"C:\\decompiled\\\" myfile.swf");
- System.out.println("java -jar ASDec.jar -dumpSWF myfile.swf");
- System.out.println("java -jar ASDec.jar -compress myfile.swf myfiledec.swf");
- System.out.println("java -jar ASDec.jar -decompress myfiledec.swf myfile.swf");
+ System.out.println("java -jar FFDec.jar myfile.swf");
+ System.out.println("java -jar FFDec.jar -proxy");
+ System.out.println("java -jar FFDec.jar -proxy -P1234");
+ System.out.println("java -jar FFDec.jar -export as \"C:\\decompiled\\\" myfile.swf");
+ System.out.println("java -jar FFDec.jar -export pcode \"C:\\decompiled\\\" myfile.swf");
+ System.out.println("java -jar FFDec.jar -dumpSWF myfile.swf");
+ System.out.println("java -jar FFDec.jar -compress myfile.swf myfiledec.swf");
+ System.out.println("java -jar FFDec.jar -decompress myfiledec.swf myfile.swf");
}
private static void copyFile(String from, String to) throws IOException {
@@ -661,7 +661,7 @@ public class Main {
}
if (SystemTray.isSupported()) {
SystemTray tray = SystemTray.getSystemTray();
- trayIcon = new TrayIcon(View.loadImage("com/jpexs/asdec/gui/graphics/proxy16.png"), "JP ASDec Proxy");
+ trayIcon = new TrayIcon(View.loadImage("com/jpexs/decompiler/flash/gui/graphics/proxy16.png"), "JP ASDec Proxy");
trayIcon.setImageAutoSize(true);
PopupMenu trayPopup = new PopupMenu();
diff --git a/trunk/src/com/jpexs/asdec/PercentListener.java b/trunk/src/com/jpexs/decompiler/flash/PercentListener.java
similarity index 92%
rename from trunk/src/com/jpexs/asdec/PercentListener.java
rename to trunk/src/com/jpexs/decompiler/flash/PercentListener.java
index 4f7bfc06d..a85c5ab4f 100644
--- a/trunk/src/com/jpexs/asdec/PercentListener.java
+++ b/trunk/src/com/jpexs/decompiler/flash/PercentListener.java
@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec;
+package com.jpexs.decompiler.flash;
/**
*
diff --git a/trunk/src/com/jpexs/asdec/ReReadableInputStream.java b/trunk/src/com/jpexs/decompiler/flash/ReReadableInputStream.java
similarity index 94%
rename from trunk/src/com/jpexs/asdec/ReReadableInputStream.java
rename to trunk/src/com/jpexs/decompiler/flash/ReReadableInputStream.java
index c8b438a10..d5ded8387 100644
--- a/trunk/src/com/jpexs/asdec/ReReadableInputStream.java
+++ b/trunk/src/com/jpexs/decompiler/flash/ReReadableInputStream.java
@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec;
+package com.jpexs.decompiler.flash;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
diff --git a/trunk/src/com/jpexs/asdec/SWF.java b/trunk/src/com/jpexs/decompiler/flash/SWF.java
similarity index 93%
rename from trunk/src/com/jpexs/asdec/SWF.java
rename to trunk/src/com/jpexs/decompiler/flash/SWF.java
index 05ec97387..540cf421c 100644
--- a/trunk/src/com/jpexs/asdec/SWF.java
+++ b/trunk/src/com/jpexs/decompiler/flash/SWF.java
@@ -14,20 +14,20 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec;
+package com.jpexs.decompiler.flash;
import SevenZip.Compression.LZMA.Encoder;
-import com.jpexs.asdec.action.TagNode;
-import com.jpexs.asdec.tags.DefineBitsJPEG2Tag;
-import com.jpexs.asdec.tags.DefineBitsJPEG3Tag;
-import com.jpexs.asdec.tags.DefineBitsJPEG4Tag;
-import com.jpexs.asdec.tags.DefineBitsLossless2Tag;
-import com.jpexs.asdec.tags.DefineBitsLosslessTag;
-import com.jpexs.asdec.tags.DefineBitsTag;
-import com.jpexs.asdec.tags.DoABCTag;
-import com.jpexs.asdec.tags.JPEGTablesTag;
-import com.jpexs.asdec.tags.Tag;
-import com.jpexs.asdec.types.RECT;
+import com.jpexs.decompiler.flash.action.TagNode;
+import com.jpexs.decompiler.flash.tags.DefineBitsJPEG2Tag;
+import com.jpexs.decompiler.flash.tags.DefineBitsJPEG3Tag;
+import com.jpexs.decompiler.flash.tags.DefineBitsJPEG4Tag;
+import com.jpexs.decompiler.flash.tags.DefineBitsLossless2Tag;
+import com.jpexs.decompiler.flash.tags.DefineBitsLosslessTag;
+import com.jpexs.decompiler.flash.tags.DefineBitsTag;
+import com.jpexs.decompiler.flash.tags.DoABCTag;
+import com.jpexs.decompiler.flash.tags.JPEGTablesTag;
+import com.jpexs.decompiler.flash.tags.Tag;
+import com.jpexs.decompiler.flash.types.RECT;
import java.io.*;
import java.util.ArrayList;
import java.util.HashSet;
diff --git a/trunk/src/com/jpexs/asdec/SWFInputStream.java b/trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java
similarity index 94%
rename from trunk/src/com/jpexs/asdec/SWFInputStream.java
rename to trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java
index d656343db..137afe89d 100644
--- a/trunk/src/com/jpexs/asdec/SWFInputStream.java
+++ b/trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java
@@ -14,30 +14,38 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec;
+package com.jpexs.decompiler.flash;
-import com.jpexs.asdec.action.Action;
-import com.jpexs.asdec.action.IgnoredPair;
-import com.jpexs.asdec.action.parser.ASMParser;
-import com.jpexs.asdec.action.parser.ParseException;
-import com.jpexs.asdec.action.special.ActionNop;
-import com.jpexs.asdec.action.swf3.*;
-import com.jpexs.asdec.action.swf4.*;
-import com.jpexs.asdec.action.swf5.*;
-import com.jpexs.asdec.action.swf6.*;
-import com.jpexs.asdec.action.swf7.*;
-import com.jpexs.asdec.action.treemodel.ConstantPool;
-import com.jpexs.asdec.action.treemodel.TreeItem;
-import com.jpexs.asdec.helpers.Helper;
-import com.jpexs.asdec.helpers.Highlighting;
-import com.jpexs.asdec.tags.*;
-import com.jpexs.asdec.types.*;
-import com.jpexs.asdec.types.filters.*;
-import com.jpexs.asdec.types.shaperecords.CurvedEdgeRecord;
-import com.jpexs.asdec.types.shaperecords.EndShapeRecord;
-import com.jpexs.asdec.types.shaperecords.SHAPERECORD;
-import com.jpexs.asdec.types.shaperecords.StraightEdgeRecord;
-import com.jpexs.asdec.types.shaperecords.StyleChangeRecord;
+import com.jpexs.decompiler.flash.types.filters.GLOWFILTER;
+import com.jpexs.decompiler.flash.types.filters.BLURFILTER;
+import com.jpexs.decompiler.flash.types.filters.COLORMATRIXFILTER;
+import com.jpexs.decompiler.flash.types.filters.CONVOLUTIONFILTER;
+import com.jpexs.decompiler.flash.types.filters.FILTER;
+import com.jpexs.decompiler.flash.types.filters.DROPSHADOWFILTER;
+import com.jpexs.decompiler.flash.types.filters.GRADIENTGLOWFILTER;
+import com.jpexs.decompiler.flash.types.filters.BEVELFILTER;
+import com.jpexs.decompiler.flash.types.filters.GRADIENTBEVELFILTER;
+import com.jpexs.decompiler.flash.action.Action;
+import com.jpexs.decompiler.flash.action.IgnoredPair;
+import com.jpexs.decompiler.flash.action.parser.ASMParser;
+import com.jpexs.decompiler.flash.action.parser.ParseException;
+import com.jpexs.decompiler.flash.action.special.ActionNop;
+import com.jpexs.decompiler.flash.action.swf3.*;
+import com.jpexs.decompiler.flash.action.swf4.*;
+import com.jpexs.decompiler.flash.action.swf5.*;
+import com.jpexs.decompiler.flash.action.swf6.*;
+import com.jpexs.decompiler.flash.action.swf7.*;
+import com.jpexs.decompiler.flash.action.treemodel.ConstantPool;
+import com.jpexs.decompiler.flash.action.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.helpers.Helper;
+import com.jpexs.decompiler.flash.helpers.Highlighting;
+import com.jpexs.decompiler.flash.tags.*;
+import com.jpexs.decompiler.flash.types.*;
+import com.jpexs.decompiler.flash.types.shaperecords.CurvedEdgeRecord;
+import com.jpexs.decompiler.flash.types.shaperecords.EndShapeRecord;
+import com.jpexs.decompiler.flash.types.shaperecords.SHAPERECORD;
+import com.jpexs.decompiler.flash.types.shaperecords.StraightEdgeRecord;
+import com.jpexs.decompiler.flash.types.shaperecords.StyleChangeRecord;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
diff --git a/trunk/src/com/jpexs/asdec/SWFOutputStream.java b/trunk/src/com/jpexs/decompiler/flash/SWFOutputStream.java
similarity index 94%
rename from trunk/src/com/jpexs/asdec/SWFOutputStream.java
rename to trunk/src/com/jpexs/decompiler/flash/SWFOutputStream.java
index a35359223..537c1de57 100644
--- a/trunk/src/com/jpexs/asdec/SWFOutputStream.java
+++ b/trunk/src/com/jpexs/decompiler/flash/SWFOutputStream.java
@@ -14,16 +14,24 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec;
+package com.jpexs.decompiler.flash;
-import com.jpexs.asdec.tags.Tag;
-import com.jpexs.asdec.types.*;
-import com.jpexs.asdec.types.filters.*;
-import com.jpexs.asdec.types.shaperecords.CurvedEdgeRecord;
-import com.jpexs.asdec.types.shaperecords.EndShapeRecord;
-import com.jpexs.asdec.types.shaperecords.SHAPERECORD;
-import com.jpexs.asdec.types.shaperecords.StraightEdgeRecord;
-import com.jpexs.asdec.types.shaperecords.StyleChangeRecord;
+import com.jpexs.decompiler.flash.types.filters.GLOWFILTER;
+import com.jpexs.decompiler.flash.types.filters.BLURFILTER;
+import com.jpexs.decompiler.flash.types.filters.COLORMATRIXFILTER;
+import com.jpexs.decompiler.flash.types.filters.CONVOLUTIONFILTER;
+import com.jpexs.decompiler.flash.types.filters.FILTER;
+import com.jpexs.decompiler.flash.types.filters.DROPSHADOWFILTER;
+import com.jpexs.decompiler.flash.types.filters.GRADIENTGLOWFILTER;
+import com.jpexs.decompiler.flash.types.filters.BEVELFILTER;
+import com.jpexs.decompiler.flash.types.filters.GRADIENTBEVELFILTER;
+import com.jpexs.decompiler.flash.tags.Tag;
+import com.jpexs.decompiler.flash.types.*;
+import com.jpexs.decompiler.flash.types.shaperecords.CurvedEdgeRecord;
+import com.jpexs.decompiler.flash.types.shaperecords.EndShapeRecord;
+import com.jpexs.decompiler.flash.types.shaperecords.SHAPERECORD;
+import com.jpexs.decompiler.flash.types.shaperecords.StraightEdgeRecord;
+import com.jpexs.decompiler.flash.types.shaperecords.StyleChangeRecord;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
diff --git a/trunk/src/com/jpexs/asdec/abc/ABC.java b/trunk/src/com/jpexs/decompiler/flash/abc/ABC.java
similarity index 95%
rename from trunk/src/com/jpexs/asdec/abc/ABC.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/ABC.java
index a030f39e0..e24cdd082 100644
--- a/trunk/src/com/jpexs/asdec/abc/ABC.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/ABC.java
@@ -14,20 +14,20 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc;
+package com.jpexs.decompiler.flash.abc;
-import com.jpexs.asdec.EventListener;
-import com.jpexs.asdec.abc.avm2.AVM2Code;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.UnknownInstructionCode;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.types.*;
-import com.jpexs.asdec.abc.types.traits.Trait;
-import com.jpexs.asdec.abc.types.traits.TraitMethodGetterSetter;
-import com.jpexs.asdec.abc.types.traits.TraitSlotConst;
-import com.jpexs.asdec.abc.types.traits.Traits;
-import com.jpexs.asdec.abc.usages.*;
-import com.jpexs.asdec.tags.DoABCTag;
+import com.jpexs.decompiler.flash.EventListener;
+import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.UnknownInstructionCode;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.types.*;
+import com.jpexs.decompiler.flash.abc.types.traits.Trait;
+import com.jpexs.decompiler.flash.abc.types.traits.TraitMethodGetterSetter;
+import com.jpexs.decompiler.flash.abc.types.traits.TraitSlotConst;
+import com.jpexs.decompiler.flash.abc.types.traits.Traits;
+import com.jpexs.decompiler.flash.abc.usages.*;
+import com.jpexs.decompiler.flash.tags.DoABCTag;
import java.io.*;
import java.util.ArrayList;
import java.util.HashMap;
diff --git a/trunk/src/com/jpexs/asdec/abc/ABCInputStream.java b/trunk/src/com/jpexs/decompiler/flash/abc/ABCInputStream.java
similarity index 95%
rename from trunk/src/com/jpexs/asdec/abc/ABCInputStream.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/ABCInputStream.java
index fafe7ad1d..21de85312 100644
--- a/trunk/src/com/jpexs/asdec/abc/ABCInputStream.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/ABCInputStream.java
@@ -14,10 +14,10 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc;
+package com.jpexs.decompiler.flash.abc;
-import com.jpexs.asdec.abc.types.*;
-import com.jpexs.asdec.abc.types.traits.*;
+import com.jpexs.decompiler.flash.abc.types.*;
+import com.jpexs.decompiler.flash.abc.types.traits.*;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
diff --git a/trunk/src/com/jpexs/asdec/abc/ABCOutputStream.java b/trunk/src/com/jpexs/decompiler/flash/abc/ABCOutputStream.java
similarity index 94%
rename from trunk/src/com/jpexs/asdec/abc/ABCOutputStream.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/ABCOutputStream.java
index c7188d8b5..c0c46c160 100644
--- a/trunk/src/com/jpexs/asdec/abc/ABCOutputStream.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/ABCOutputStream.java
@@ -14,10 +14,10 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc;
+package com.jpexs.decompiler.flash.abc;
-import com.jpexs.asdec.abc.types.*;
-import com.jpexs.asdec.abc.types.traits.*;
+import com.jpexs.decompiler.flash.abc.types.*;
+import com.jpexs.decompiler.flash.abc.types.traits.*;
import java.io.IOException;
import java.io.OutputStream;
diff --git a/trunk/src/com/jpexs/asdec/abc/CopyOutputStream.java b/trunk/src/com/jpexs/decompiler/flash/abc/CopyOutputStream.java
similarity index 95%
rename from trunk/src/com/jpexs/asdec/abc/CopyOutputStream.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/CopyOutputStream.java
index fa60ab8e3..f49f4b617 100644
--- a/trunk/src/com/jpexs/asdec/abc/CopyOutputStream.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/CopyOutputStream.java
@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc;
+package com.jpexs.decompiler.flash.abc;
import java.io.IOException;
import java.io.InputStream;
diff --git a/trunk/src/com/jpexs/asdec/abc/NotSameException.java b/trunk/src/com/jpexs/decompiler/flash/abc/NotSameException.java
similarity index 88%
rename from trunk/src/com/jpexs/asdec/abc/NotSameException.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/NotSameException.java
index 22f173d98..919413780 100644
--- a/trunk/src/com/jpexs/asdec/abc/NotSameException.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/NotSameException.java
@@ -14,9 +14,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc;
+package com.jpexs.decompiler.flash.abc;
-import com.jpexs.asdec.helpers.Helper;
+import com.jpexs.decompiler.flash.helpers.Helper;
public class NotSameException extends RuntimeException {
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/AVM2Code.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/AVM2Code.java
similarity index 94%
rename from trunk/src/com/jpexs/asdec/abc/avm2/AVM2Code.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/AVM2Code.java
index b288e6a13..94e364694 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/AVM2Code.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/AVM2Code.java
@@ -14,44 +14,44 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2;
+package com.jpexs.decompiler.flash.abc.avm2;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.ABCInputStream;
-import com.jpexs.asdec.abc.CopyOutputStream;
-import com.jpexs.asdec.abc.avm2.graph.AVM2Graph;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.IfTypeIns;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.instructions.arithmetic.*;
-import com.jpexs.asdec.abc.avm2.instructions.bitwise.*;
-import com.jpexs.asdec.abc.avm2.instructions.comparsion.*;
-import com.jpexs.asdec.abc.avm2.instructions.construction.*;
-import com.jpexs.asdec.abc.avm2.instructions.debug.DebugFileIns;
-import com.jpexs.asdec.abc.avm2.instructions.debug.DebugIns;
-import com.jpexs.asdec.abc.avm2.instructions.debug.DebugLineIns;
-import com.jpexs.asdec.abc.avm2.instructions.executing.*;
-import com.jpexs.asdec.abc.avm2.instructions.jumps.*;
-import com.jpexs.asdec.abc.avm2.instructions.localregs.*;
-import com.jpexs.asdec.abc.avm2.instructions.other.*;
-import com.jpexs.asdec.abc.avm2.instructions.stack.*;
-import com.jpexs.asdec.abc.avm2.instructions.types.*;
-import com.jpexs.asdec.abc.avm2.instructions.xml.*;
-import com.jpexs.asdec.abc.avm2.parser.ASM3Parser;
-import com.jpexs.asdec.abc.avm2.parser.ParseException;
-import com.jpexs.asdec.abc.avm2.treemodel.*;
-import com.jpexs.asdec.abc.avm2.treemodel.clauses.*;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.AndTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.OrTreeItem;
-import com.jpexs.asdec.abc.types.ABCException;
-import com.jpexs.asdec.abc.types.MethodBody;
-import com.jpexs.asdec.abc.types.MethodInfo;
-import com.jpexs.asdec.abc.types.Multiname;
-import com.jpexs.asdec.abc.types.traits.Trait;
-import com.jpexs.asdec.abc.types.traits.TraitSlotConst;
-import com.jpexs.asdec.abc.types.traits.Traits;
-import com.jpexs.asdec.helpers.Helper;
-import com.jpexs.asdec.helpers.Highlighting;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.ABCInputStream;
+import com.jpexs.decompiler.flash.abc.CopyOutputStream;
+import com.jpexs.decompiler.flash.abc.avm2.graph.AVM2Graph;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.IfTypeIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic.*;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.bitwise.*;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.comparsion.*;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.construction.*;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.debug.DebugFileIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.debug.DebugIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.debug.DebugLineIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.executing.*;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.jumps.*;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.*;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.other.*;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.stack.*;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.types.*;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.xml.*;
+import com.jpexs.decompiler.flash.abc.avm2.parser.ASM3Parser;
+import com.jpexs.decompiler.flash.abc.avm2.parser.ParseException;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.*;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.clauses.*;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.AndTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.OrTreeItem;
+import com.jpexs.decompiler.flash.abc.types.ABCException;
+import com.jpexs.decompiler.flash.abc.types.MethodBody;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.types.Multiname;
+import com.jpexs.decompiler.flash.abc.types.traits.Trait;
+import com.jpexs.decompiler.flash.abc.types.traits.TraitSlotConst;
+import com.jpexs.decompiler.flash.abc.types.traits.Traits;
+import com.jpexs.decompiler.flash.helpers.Helper;
+import com.jpexs.decompiler.flash.helpers.Highlighting;
import java.io.*;
import java.util.*;
import java.util.logging.Level;
@@ -2086,43 +2086,6 @@ public class AVM2Code implements Serializable {
return ret;
}
- public static void main(String[] args) {
- FileInputStream fis = null;
- try {
- fis = new FileInputStream("src/asdec/abc/avm2/AVM2Code.java");
- byte[] data = new byte[fis.available()];
- fis.read(data);
-
- String content = new String(data);
- Pattern partPat = Pattern.compile("private static InstructionDefinition instructionSet(.*)endoflist", Pattern.MULTILINE | Pattern.DOTALL);
- Matcher m = partPat.matcher(content);
- if (m.find()) {
- System.out.println("1 found");
- content = m.group(1);
- System.out.println(content);
- Pattern part2Pat = Pattern.compile("new InstructionDefinition(\\([^\\)]*\"([^\"]*)\"[^\\)]*\\))\\{(.*)\\},", Pattern.MULTILINE | Pattern.DOTALL);
- m = part2Pat.matcher(content);
- while (m.find()) {
- System.out.println("2 found");
- String superCall = m.group(1);
- String name = m.group(2);
- String methods = m.group(3);
- FileOutputStream fos = new FileOutputStream("src/asdec/abc/avm2/instructions/generated/" + name + "Ins.java");
- String out = "public class " + name + "Ins extends InstructionDefinition {\r\n public " + name + "Ins(){\r\nsuper" + superCall + ";\r\n}" + methods + "}";
- fos.write(out.getBytes());
- fos.close();
- }
- }
- } catch (IOException ex) {
- } finally {
- try {
- fis.close();
- } catch (IOException ex) {
- Logger.getLogger(AVM2Code.class.getName()).log(Level.SEVERE, null, ex);
- }
- }
- }
-
public void removeInstruction(int pos, MethodBody body) {
if ((pos < 0) || (pos >= code.size())) {
throw new IndexOutOfBoundsException();
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/CodeStats.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/CodeStats.java
similarity index 92%
rename from trunk/src/com/jpexs/asdec/abc/avm2/CodeStats.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/CodeStats.java
index a9a829f05..665729c18 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/CodeStats.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/CodeStats.java
@@ -14,9 +14,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2;
+package com.jpexs.decompiler.flash.abc.avm2;
-import com.jpexs.asdec.abc.ABC;
+import com.jpexs.decompiler.flash.abc.ABC;
import java.util.List;
/**
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/ConstantPool.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/ConstantPool.java
similarity index 91%
rename from trunk/src/com/jpexs/asdec/abc/avm2/ConstantPool.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/ConstantPool.java
index 4f06fc43d..9392103b5 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/ConstantPool.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/ConstantPool.java
@@ -14,12 +14,12 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2;
+package com.jpexs.decompiler.flash.abc.avm2;
-import com.jpexs.asdec.abc.types.Decimal;
-import com.jpexs.asdec.abc.types.Multiname;
-import com.jpexs.asdec.abc.types.Namespace;
-import com.jpexs.asdec.abc.types.NamespaceSet;
+import com.jpexs.decompiler.flash.abc.types.Decimal;
+import com.jpexs.decompiler.flash.abc.types.Multiname;
+import com.jpexs.decompiler.flash.abc.types.Namespace;
+import com.jpexs.decompiler.flash.abc.types.NamespaceSet;
import java.io.OutputStream;
import java.io.PrintStream;
import java.util.ArrayList;
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/ConvertException.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/ConvertException.java
similarity index 92%
rename from trunk/src/com/jpexs/asdec/abc/avm2/ConvertException.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/ConvertException.java
index e77418449..15c06a2a8 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/ConvertException.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/ConvertException.java
@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2;
+package com.jpexs.decompiler.flash.abc.avm2;
public class ConvertException extends RuntimeException {
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/ConvertOutput.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/ConvertOutput.java
similarity index 87%
rename from trunk/src/com/jpexs/asdec/abc/avm2/ConvertOutput.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/ConvertOutput.java
index 1f26d098b..1935adc01 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/ConvertOutput.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/ConvertOutput.java
@@ -14,9 +14,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2;
+package com.jpexs.decompiler.flash.abc.avm2;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
import java.util.List;
import java.util.Stack;
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/InstructionStats.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/InstructionStats.java
similarity index 86%
rename from trunk/src/com/jpexs/asdec/abc/avm2/InstructionStats.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/InstructionStats.java
index 2f67de812..a22868e26 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/InstructionStats.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/InstructionStats.java
@@ -14,9 +14,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2;
+package com.jpexs.decompiler.flash.abc.avm2;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
/**
*
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/InvalidInstructionArguments.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/InvalidInstructionArguments.java
similarity index 92%
rename from trunk/src/com/jpexs/asdec/abc/avm2/InvalidInstructionArguments.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/InvalidInstructionArguments.java
index 0963068ab..07bce8826 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/InvalidInstructionArguments.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/InvalidInstructionArguments.java
@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2;
+package com.jpexs.decompiler.flash.abc.avm2;
public class InvalidInstructionArguments extends RuntimeException {
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/LocalDataArea.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/LocalDataArea.java
similarity index 92%
rename from trunk/src/com/jpexs/asdec/abc/avm2/LocalDataArea.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/LocalDataArea.java
index b83250fe8..b9ca45ac2 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/LocalDataArea.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/LocalDataArea.java
@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2;
+package com.jpexs.decompiler.flash.abc.avm2;
import java.util.HashMap;
import java.util.Stack;
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/UnknownInstructionCode.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/UnknownInstructionCode.java
similarity index 92%
rename from trunk/src/com/jpexs/asdec/abc/avm2/UnknownInstructionCode.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/UnknownInstructionCode.java
index 6cccef251..58d33aac3 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/UnknownInstructionCode.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/UnknownInstructionCode.java
@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2;
+package com.jpexs.decompiler.flash.abc.avm2;
public class UnknownInstructionCode extends RuntimeException {
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/UnknownJumpException.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/UnknownJumpException.java
similarity index 88%
rename from trunk/src/com/jpexs/asdec/abc/avm2/UnknownJumpException.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/UnknownJumpException.java
index 3491b1f16..4aafc2d94 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/UnknownJumpException.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/UnknownJumpException.java
@@ -14,9 +14,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2;
+package com.jpexs.decompiler.flash.abc.avm2;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
import java.util.List;
import java.util.Stack;
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/graph/AVM2Graph.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/graph/AVM2Graph.java
similarity index 90%
rename from trunk/src/com/jpexs/asdec/abc/avm2/graph/AVM2Graph.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/graph/AVM2Graph.java
index 159373eda..8e053186c 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/graph/AVM2Graph.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/graph/AVM2Graph.java
@@ -14,66 +14,66 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.graph;
+package com.jpexs.decompiler.flash.abc.avm2.graph;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.AVM2Code;
-import com.jpexs.asdec.abc.avm2.ConvertException;
-import com.jpexs.asdec.abc.avm2.ConvertOutput;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.IfTypeIns;
-import com.jpexs.asdec.abc.avm2.instructions.jumps.IfFalseIns;
-import com.jpexs.asdec.abc.avm2.instructions.jumps.IfStrictEqIns;
-import com.jpexs.asdec.abc.avm2.instructions.jumps.IfStrictNeIns;
-import com.jpexs.asdec.abc.avm2.instructions.jumps.IfTrueIns;
-import com.jpexs.asdec.abc.avm2.instructions.jumps.JumpIns;
-import com.jpexs.asdec.abc.avm2.instructions.jumps.LookupSwitchIns;
-import com.jpexs.asdec.abc.avm2.instructions.localregs.GetLocalTypeIns;
-import com.jpexs.asdec.abc.avm2.instructions.localregs.KillIns;
-import com.jpexs.asdec.abc.avm2.instructions.other.LabelIns;
-import com.jpexs.asdec.abc.avm2.instructions.other.ReturnValueIns;
-import com.jpexs.asdec.abc.avm2.instructions.other.ReturnVoidIns;
-import com.jpexs.asdec.abc.avm2.instructions.other.ThrowIns;
-import com.jpexs.asdec.abc.avm2.instructions.stack.*;
-import com.jpexs.asdec.abc.avm2.treemodel.BooleanTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.BreakTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.CommentTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.ContinueTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.FilteredCheckTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.HasNextTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.InTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.IntegerValueTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.LocalRegTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.NextNameTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.NextValueTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.NullTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.ReturnValueTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.ReturnVoidTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.SetLocalTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.SetPropertyTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.SetTypeTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.WithTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.clauses.DoWhileTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.clauses.ExceptionTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.clauses.FilterTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.clauses.ForEachInTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.clauses.ForInTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.clauses.ForTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.clauses.IfTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.clauses.SwitchTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.clauses.TernarOpTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.clauses.TryTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.clauses.WhileTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.AndTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.LogicalOp;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.OrTreeItem;
-import com.jpexs.asdec.abc.types.ABCException;
-import com.jpexs.asdec.abc.types.MethodBody;
-import com.jpexs.asdec.graph.Graph;
-import com.jpexs.asdec.graph.GraphPart;
-import com.jpexs.asdec.graph.GraphPartMulti;
-import com.jpexs.asdec.graph.Loop;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
+import com.jpexs.decompiler.flash.abc.avm2.ConvertException;
+import com.jpexs.decompiler.flash.abc.avm2.ConvertOutput;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.IfTypeIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.jumps.IfFalseIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.jumps.IfStrictEqIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.jumps.IfStrictNeIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.jumps.IfTrueIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.jumps.JumpIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.jumps.LookupSwitchIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.GetLocalTypeIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.KillIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.other.LabelIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.other.ReturnValueIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.other.ReturnVoidIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.other.ThrowIns;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.stack.*;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.BooleanTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.BreakTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.CommentTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.ContinueTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.FilteredCheckTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.HasNextTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.InTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.IntegerValueTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.LocalRegTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.NextNameTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.NextValueTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.NullTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.ReturnValueTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.ReturnVoidTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.SetLocalTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.SetPropertyTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.SetTypeTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.WithTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.clauses.DoWhileTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.clauses.ExceptionTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.clauses.FilterTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.clauses.ForEachInTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.clauses.ForInTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.clauses.ForTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.clauses.IfTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.clauses.SwitchTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.clauses.TernarOpTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.clauses.TryTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.clauses.WhileTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.AndTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.LogicalOp;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.OrTreeItem;
+import com.jpexs.decompiler.flash.abc.types.ABCException;
+import com.jpexs.decompiler.flash.abc.types.MethodBody;
+import com.jpexs.decompiler.flash.graph.Graph;
+import com.jpexs.decompiler.flash.graph.GraphPart;
+import com.jpexs.decompiler.flash.graph.GraphPartMulti;
+import com.jpexs.decompiler.flash.graph.Loop;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
@@ -237,7 +237,6 @@ public class AVM2Graph extends Graph {
List loopContinues = getLoopsContinues(loops);
loopContinues.add(part);
if (sp1.leadsTo(sp0, loopContinues)) {
-
} else if (sp0.leadsTo(sp1, loopContinues)) {
reversed = true;
}
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/graph/ForException.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/graph/ForException.java
similarity index 84%
rename from trunk/src/com/jpexs/asdec/abc/avm2/graph/ForException.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/graph/ForException.java
index 7b046ea06..a828fe8d3 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/graph/ForException.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/graph/ForException.java
@@ -14,10 +14,10 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.graph;
+package com.jpexs.decompiler.flash.abc.avm2.graph;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.graph.GraphPart;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.graph.GraphPart;
import java.util.List;
/**
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/AVM2Instruction.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/AVM2Instruction.java
similarity index 93%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/AVM2Instruction.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/AVM2Instruction.java
index 91c85216f..98e30c1d4 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/AVM2Instruction.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/AVM2Instruction.java
@@ -14,12 +14,12 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions;
+package com.jpexs.decompiler.flash.abc.avm2.instructions;
-import com.jpexs.asdec.abc.ABCOutputStream;
-import com.jpexs.asdec.abc.avm2.AVM2Code;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.helpers.Helper;
+import com.jpexs.decompiler.flash.abc.ABCOutputStream;
+import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.helpers.Helper;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.Serializable;
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/IfTypeIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/IfTypeIns.java
similarity index 85%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/IfTypeIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/IfTypeIns.java
index 49c29022f..f74cf2c8b 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/IfTypeIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/IfTypeIns.java
@@ -14,9 +14,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions;
+package com.jpexs.decompiler.flash.abc.avm2.instructions;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
import java.util.Stack;
public interface IfTypeIns {
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/InstructionDefinition.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/InstructionDefinition.java
similarity index 83%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/InstructionDefinition.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/InstructionDefinition.java
index 6654b33c8..c806be6d9 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/InstructionDefinition.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/InstructionDefinition.java
@@ -14,16 +14,16 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions;
+package com.jpexs.decompiler.flash.abc.avm2.instructions;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.AVM2Code;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.LocalDataArea;
-import com.jpexs.asdec.abc.avm2.treemodel.FullMultinameTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
-import com.jpexs.asdec.helpers.Highlighting;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.FullMultinameTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.helpers.Highlighting;
import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
@@ -71,7 +71,7 @@ public class InstructionDefinition implements Serializable {
throw new UnsupportedOperationException("Instruction " + instructionName + " not implemented");
}
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
}
protected FullMultinameTreeItem resolveMultiname(Stack stack, ConstantPool constants, int multinameIndex, AVM2Instruction ins) {
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/SetTypeIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/SetTypeIns.java
similarity index 70%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/SetTypeIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/SetTypeIns.java
index 893122160..090ad83b4 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/SetTypeIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/SetTypeIns.java
@@ -14,15 +14,15 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions;
+package com.jpexs.decompiler.flash.abc.avm2.instructions;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
public interface SetTypeIns {
- public abstract String getObject(Stack stack, ABC abc, AVM2Instruction ins, List output, com.jpexs.asdec.abc.types.MethodBody body, HashMap localRegNames, List fullyQualifiedNames);
+ public abstract String getObject(Stack stack, ABC abc, AVM2Instruction ins, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, HashMap localRegNames, List fullyQualifiedNames);
}
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/TagInstruction.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/TagInstruction.java
similarity index 91%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/TagInstruction.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/TagInstruction.java
index 71db40d07..00c358658 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/TagInstruction.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/TagInstruction.java
@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions;
+package com.jpexs.decompiler.flash.abc.avm2.instructions;
/**
*
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/AddIIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/AddIIns.java
similarity index 68%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/AddIIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/AddIIns.java
index 4dd3ef2e1..668591a5b 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/AddIIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/AddIIns.java
@@ -14,14 +14,14 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.arithmetic;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.AddTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.AddTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -34,7 +34,7 @@ public class AddIIns extends AddIns {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
TreeItem v2 = (TreeItem) stack.pop();
TreeItem v1 = (TreeItem) stack.pop();
stack.push(new AddTreeItem(ins, v1, v2));
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/AddIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/AddIns.java
similarity index 75%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/AddIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/AddIns.java
index 89d79cdb9..40cc8b077 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/AddIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/AddIns.java
@@ -14,16 +14,16 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.arithmetic;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.LocalDataArea;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.AddTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.AddTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -57,7 +57,7 @@ public class AddIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
TreeItem v2 = (TreeItem) stack.pop();
TreeItem v1 = (TreeItem) stack.pop();
stack.push(new AddTreeItem(ins, v1, v2));
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/DecrementIIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/DecrementIIns.java
similarity index 71%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/DecrementIIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/DecrementIIns.java
index 99484a2a7..8b98a9a70 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/DecrementIIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/DecrementIIns.java
@@ -14,16 +14,16 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.arithmetic;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.LocalDataArea;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.DecrementTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.DecrementTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -53,7 +53,7 @@ public class DecrementIIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
stack.push(new DecrementTreeItem(ins, (TreeItem) stack.pop()));
}
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/DecrementIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/DecrementIns.java
similarity index 71%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/DecrementIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/DecrementIns.java
index bfbb47f34..cf343d9cc 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/DecrementIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/DecrementIns.java
@@ -14,16 +14,16 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.arithmetic;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.LocalDataArea;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.DecrementTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.DecrementTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -53,7 +53,7 @@ public class DecrementIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
stack.push(new DecrementTreeItem(ins, (TreeItem) stack.pop()));
}
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/DivideIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/DivideIns.java
similarity index 74%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/DivideIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/DivideIns.java
index 700897207..dadbf9c0e 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/DivideIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/DivideIns.java
@@ -14,16 +14,16 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.arithmetic;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.LocalDataArea;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.DivideTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.DivideTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -56,7 +56,7 @@ public class DivideIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
TreeItem v2 = (TreeItem) stack.pop();
TreeItem v1 = (TreeItem) stack.pop();
stack.push(new DivideTreeItem(ins, v1, v2));
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/IncrementIIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/IncrementIIns.java
similarity index 65%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/IncrementIIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/IncrementIIns.java
index de85ae8f2..5c06a4d3c 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/IncrementIIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/IncrementIIns.java
@@ -14,15 +14,15 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.arithmetic;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.IncrementTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.IncrementTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -34,7 +34,7 @@ public class IncrementIIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
stack.push(new IncrementTreeItem(ins, (TreeItem) stack.pop()));
}
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/IncrementIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/IncrementIns.java
similarity index 64%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/IncrementIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/IncrementIns.java
index 80f0d85ae..1792bba20 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/IncrementIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/IncrementIns.java
@@ -14,15 +14,15 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.arithmetic;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.IncrementTreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.IncrementTreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -34,7 +34,7 @@ public class IncrementIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
stack.push(new IncrementTreeItem(ins, (TreeItem) stack.pop()));
}
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/ModuloIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/ModuloIns.java
similarity index 69%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/ModuloIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/ModuloIns.java
index 6cb75e811..14f102f51 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/ModuloIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/ModuloIns.java
@@ -14,16 +14,16 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.arithmetic;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.LocalDataArea;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.ModuloTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.ModuloTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -48,7 +48,7 @@ public class ModuloIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
TreeItem v2 = (TreeItem) stack.pop();
TreeItem v1 = (TreeItem) stack.pop();
stack.push(new ModuloTreeItem(ins, v1, v2));
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/MultiplyIIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/MultiplyIIns.java
similarity index 65%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/MultiplyIIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/MultiplyIIns.java
index aab30cfd8..8a2ad46ca 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/MultiplyIIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/MultiplyIIns.java
@@ -14,15 +14,15 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.arithmetic;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.MultiplyTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.MultiplyTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -34,7 +34,7 @@ public class MultiplyIIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
TreeItem v2 = (TreeItem) stack.pop();
TreeItem v1 = (TreeItem) stack.pop();
stack.push(new MultiplyTreeItem(ins, v1, v2));
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/MultiplyIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/MultiplyIns.java
similarity index 74%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/MultiplyIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/MultiplyIns.java
index ed0580a02..0a68db6a8 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/MultiplyIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/MultiplyIns.java
@@ -14,16 +14,16 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.arithmetic;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.LocalDataArea;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.MultiplyTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.MultiplyTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -56,7 +56,7 @@ public class MultiplyIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
TreeItem v2 = (TreeItem) stack.pop();
TreeItem v1 = (TreeItem) stack.pop();
stack.push(new MultiplyTreeItem(ins, v1, v2));
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/NegateIIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/NegateIIns.java
similarity index 64%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/NegateIIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/NegateIIns.java
index c8c5ec6ea..fb35bc90b 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/NegateIIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/NegateIIns.java
@@ -14,15 +14,15 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.arithmetic;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.NegTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.NegTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -34,7 +34,7 @@ public class NegateIIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
TreeItem v = (TreeItem) stack.pop();
stack.push(new NegTreeItem(ins, v));
}
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/NegateIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/NegateIns.java
similarity index 64%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/NegateIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/NegateIns.java
index de7632cc1..a0f602892 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/NegateIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/NegateIns.java
@@ -14,15 +14,15 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.arithmetic;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.NegTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.NegTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -34,7 +34,7 @@ public class NegateIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
TreeItem v = (TreeItem) stack.pop();
stack.push(new NegTreeItem(ins, v));
}
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/NotIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/NotIns.java
similarity index 64%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/NotIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/NotIns.java
index 8cc86b51a..5ef89310a 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/NotIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/NotIns.java
@@ -14,15 +14,15 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.arithmetic;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.NotTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.NotTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -34,7 +34,7 @@ public class NotIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
TreeItem v = (TreeItem) stack.pop();
stack.push(new NotTreeItem(ins, v));
}
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/SubtractIIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/SubtractIIns.java
similarity index 65%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/SubtractIIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/SubtractIIns.java
index e6ea6da16..abfc47179 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/SubtractIIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/SubtractIIns.java
@@ -14,15 +14,15 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.arithmetic;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.SubtractTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.SubtractTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -34,7 +34,7 @@ public class SubtractIIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
TreeItem v2 = (TreeItem) stack.pop();
TreeItem v1 = (TreeItem) stack.pop();
stack.push(new SubtractTreeItem(ins, v1, v2));
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/SubtractIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/SubtractIns.java
similarity index 65%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/SubtractIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/SubtractIns.java
index 95fb40aef..09a982632 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/arithmetic/SubtractIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/arithmetic/SubtractIns.java
@@ -14,15 +14,15 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.arithmetic;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.arithmetic;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.SubtractTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.SubtractTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -34,7 +34,7 @@ public class SubtractIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
TreeItem v2 = (TreeItem) stack.pop();
TreeItem v1 = (TreeItem) stack.pop();
stack.push(new SubtractTreeItem(ins, v1, v2));
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/bitwise/BitAndIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/bitwise/BitAndIns.java
similarity index 67%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/bitwise/BitAndIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/bitwise/BitAndIns.java
index ab11410db..8c69b5ba9 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/bitwise/BitAndIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/bitwise/BitAndIns.java
@@ -14,16 +14,16 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.bitwise;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.bitwise;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.LocalDataArea;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.BitAndTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.BitAndTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -43,7 +43,7 @@ public class BitAndIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
TreeItem v2 = (TreeItem) stack.pop();
TreeItem v1 = (TreeItem) stack.pop();
stack.push(new BitAndTreeItem(ins, v1, v2));
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/bitwise/BitNotIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/bitwise/BitNotIns.java
similarity index 66%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/bitwise/BitNotIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/bitwise/BitNotIns.java
index 14b7fa18d..18833c57c 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/bitwise/BitNotIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/bitwise/BitNotIns.java
@@ -14,16 +14,16 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.bitwise;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.bitwise;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.LocalDataArea;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.BitNotTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.BitNotTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -42,7 +42,7 @@ public class BitNotIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
TreeItem v = (TreeItem) stack.pop();
stack.push(new BitNotTreeItem(ins, v));
}
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/bitwise/BitOrIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/bitwise/BitOrIns.java
similarity index 67%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/bitwise/BitOrIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/bitwise/BitOrIns.java
index c32031742..e8f8f61e4 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/bitwise/BitOrIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/bitwise/BitOrIns.java
@@ -14,16 +14,16 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.bitwise;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.bitwise;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.LocalDataArea;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.BitOrTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.BitOrTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -43,7 +43,7 @@ public class BitOrIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
TreeItem v2 = (TreeItem) stack.pop();
TreeItem v1 = (TreeItem) stack.pop();
stack.push(new BitOrTreeItem(ins, v1, v2));
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/bitwise/BitXorIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/bitwise/BitXorIns.java
similarity index 67%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/bitwise/BitXorIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/bitwise/BitXorIns.java
index 35910fed3..fde1197cb 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/bitwise/BitXorIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/bitwise/BitXorIns.java
@@ -14,16 +14,16 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.bitwise;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.bitwise;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.LocalDataArea;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.BitXorTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.BitXorTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -43,7 +43,7 @@ public class BitXorIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
+ public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.decompiler.flash.abc.types.MethodBody body, com.jpexs.decompiler.flash.abc.ABC abc, HashMap localRegNames, List fullyQualifiedNames) {
TreeItem v2 = (TreeItem) stack.pop();
TreeItem v1 = (TreeItem) stack.pop();
stack.push(new BitXorTreeItem(ins, v1, v2));
diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/bitwise/LShiftIns.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/bitwise/LShiftIns.java
similarity index 65%
rename from trunk/src/com/jpexs/asdec/abc/avm2/instructions/bitwise/LShiftIns.java
rename to trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/bitwise/LShiftIns.java
index cc27e91ce..efc942f34 100644
--- a/trunk/src/com/jpexs/asdec/abc/avm2/instructions/bitwise/LShiftIns.java
+++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/bitwise/LShiftIns.java
@@ -14,15 +14,15 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package com.jpexs.asdec.abc.avm2.instructions.bitwise;
+package com.jpexs.decompiler.flash.abc.avm2.instructions.bitwise;
-import com.jpexs.asdec.abc.ABC;
-import com.jpexs.asdec.abc.avm2.ConstantPool;
-import com.jpexs.asdec.abc.avm2.instructions.AVM2Instruction;
-import com.jpexs.asdec.abc.avm2.instructions.InstructionDefinition;
-import com.jpexs.asdec.abc.avm2.treemodel.TreeItem;
-import com.jpexs.asdec.abc.avm2.treemodel.operations.LShiftTreeItem;
-import com.jpexs.asdec.abc.types.MethodInfo;
+import com.jpexs.decompiler.flash.abc.ABC;
+import com.jpexs.decompiler.flash.abc.avm2.ConstantPool;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
+import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.TreeItem;
+import com.jpexs.decompiler.flash.abc.avm2.treemodel.operations.LShiftTreeItem;
+import com.jpexs.decompiler.flash.abc.types.MethodInfo;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
@@ -34,7 +34,7 @@ public class LShiftIns extends InstructionDefinition {
}
@Override
- public void translate(boolean isStatic, int classIndex, java.util.HashMap localRegs, Stack stack, java.util.Stack scopeStack, ConstantPool constants, AVM2Instruction ins, MethodInfo[] method_info, List output, com.jpexs.asdec.abc.types.MethodBody body, com.jpexs.asdec.abc.ABC abc, HashMap