Removed: Option to preview flash items via ActiveX component is no longer available. FFDec now supports its internal flash viewer only.

This commit is contained in:
Jindra Petřík
2025-05-08 23:12:47 +02:00
parent 1971fe9753
commit a1e28f8e88
15 changed files with 96 additions and 227 deletions

View File

@@ -112,6 +112,7 @@ public final class Configuration {
*/
@ConfigurationDefaultBoolean(false)
@ConfigurationInternal
@ConfigurationRemoved
public static ConfigurationItem<Boolean> useAdobeFlashPlayerForPreviews = null;
@ConfigurationDefaultInt(1000)
@@ -565,6 +566,7 @@ public final class Configuration {
@ConfigurationDefaultBoolean(false)
//@ConfigurationCategory("script")
@ConfigurationRemoved
public static ConfigurationItem<Boolean> enableScriptInitializerDisplay = null;
@ConfigurationDefaultBoolean(false)
@@ -788,6 +790,7 @@ public final class Configuration {
@ConfigurationDefaultBoolean(false)
@ConfigurationCategory("display")
@ConfigurationRemoved
public static ConfigurationItem<Boolean> allowMiterClipLinestyle = null;
@ConfigurationDefaultBoolean(true)
@@ -1554,6 +1557,10 @@ public final class Configuration {
Field[] fields = Configuration.class.getDeclaredFields();
Map<String, Field> result = new HashMap<>();
for (Field field : fields) {
ConfigurationRemoved removedAnnotation = field.getAnnotation(ConfigurationRemoved.class);
if (removedAnnotation != null) {
continue;
}
if (ConfigurationItem.class.isAssignableFrom(field.getType())) {
String name = ConfigurationItem.getName(field);
if (lowerCaseNames) {

View File

@@ -0,0 +1,32 @@
/*
* Copyright (C) 2010-2024 JPEXS, All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
*/
package com.jpexs.decompiler.flash.configuration;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Configuration removed annotation.
*
* @author JPEXS
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface ConfigurationRemoved {
}