Changed AS1/2 direct editation no longer marked as experimental

This commit is contained in:
Jindra Petřík
2021-11-29 17:14:36 +01:00
parent 7dab721e09
commit 2f6626d2b1
4 changed files with 6 additions and 9 deletions

View File

@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
### Added
- Frame dependencies
### Changed
- AS1/2 direct editation no longer marked as experimental
### Fixed
- AS1/2 - switch with getvariable decompilation
- AS1/2 - call action parameters as string

View File

@@ -124,8 +124,6 @@ public class ActionPanel extends JPanel implements SearchListener<ScriptSearchRe
public JButton cancelButton = new JButton(AppStrings.translate("button.cancel"), View.getIcon("cancel16"));
public JLabel experimentalLabel = new JLabel(AppStrings.translate("action.edit.experimental"));
public JButton editDecompiledButton = new JButton(AppStrings.translate("button.edit.script.decompiled"), View.getIcon("edit16"));
public JButton saveDecompiledButton = new JButton(AppStrings.translate("button.save"), View.getIcon("save16"));
@@ -751,7 +749,6 @@ public class ActionPanel extends JPanel implements SearchListener<ScriptSearchRe
JPanel decButtonsPan = new JPanel(new FlowLayout());
decButtonsPan.add(editDecompiledButton);
decButtonsPan.add(experimentalLabel);
decButtonsPan.add(saveDecompiledButton);
decButtonsPan.add(cancelDecompiledButton);
@@ -965,7 +962,6 @@ public class ActionPanel extends JPanel implements SearchListener<ScriptSearchRe
saveDecompiledButton.setVisible(val);
saveDecompiledButton.setEnabled(false);
editDecompiledButton.setVisible(!val);
experimentalLabel.setVisible(!val);
cancelDecompiledButton.setVisible(val);
decompiledEditor.getCaret().setVisible(true);
@@ -1073,9 +1069,7 @@ public class ActionPanel extends JPanel implements SearchListener<ScriptSearchRe
}
private void editDecompiledButtonActionPerformed(ActionEvent evt) {
if (ViewMessages.showConfirmDialog(this, AppStrings.translate("message.confirm.experimental.function"), AppStrings.translate("message.warning"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.WARNING_MESSAGE, Configuration.warningExperimentalAS12Edit, JOptionPane.OK_OPTION) == JOptionPane.OK_OPTION) {
setDecompiledEditMode(true);
}
setDecompiledEditMode(true);
}
private void cancelDecompiledButtonActionPerformed(ActionEvent evt) {

View File

@@ -834,7 +834,7 @@ message.info = Information
message.info.importScripts = During importing scripts, you need to select a FOLDER.\r\n \
The folder must contain "scripts" subfolder and its tree must match existing script tree in current selected SWF.\r\n \
The best way to get the structure right is to export scripts in current SWF file first. \r\n\r\n \
Also note that this import uses same EXPERIMENTAL compiler as in standard AS editation in FFDec window.
Also note that this import uses same compiler as in standard AS editation in FFDec window (Experimental for AS3).
message.info.importTexts = During importing text, you need to select a FOLDER.\r\n \
The folder must contain "texts" subfolder and filenames inside must match existing texts in current selected SWF.\r\n \

View File

@@ -810,7 +810,7 @@ message.info = Informace
message.info.importScripts = B\u011bhem importu skript\u016f mus\u00edte vybrat SLO\u017dKU.\r\n \
Slo\u017eka mus\u00ed obsahovat podslo\u017eku "scripts" a jej\u00ed strom mus\u00ed souhlasit s existuj\u00edc\u00edm stromem skript\u016f v pr\u00e1v\u011b vybran\u00e9m SWF.\r\n \
Nejlep\u0161\u00ed zp\u016fsob jak m\u00edt tuto strukturu spr\u00e1vn\u011b je nejprve exportovat skripty v aktu\u00e1ln\u00edm SWF souboru. \r\n\r\n \
Tak\u00e9 nezapome\u0148te, \u017ee tento import pou\u017e\u00edv\u00e1 stejn\u00fd EXPERIMENT\u00c1LN\u00cd kompil\u00e1tor jako p\u0159i standardn\u00ed AS editaci v okn\u011b FFDec.
Tak\u00e9 nezapome\u0148te, \u017ee tento import pou\u017e\u00edv\u00e1 stejn\u00fd kompil\u00e1tor jako p\u0159i standardn\u00ed AS editaci v okn\u011b FFDec (Experiment\u00e1ln\u00ed pro AS3).
message.info.importTexts = B\u011bhem importu text\u016f mus\u00edte vybrat SLO\u017dKU.\r\n \
Slo\u017eka mus\u00ed obsahovat podslo\u017eku "texts" a n\u00e1zvy soubor\u016f v n\u00ed mus\u00ed souhlasit s existuj\u00edc\u00edmi texty v pr\u00e1v\u011b vybran\u00e9m SWF.\r\n \