flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [06/13] git commit: Added advanced-telemetry as a valid option
Date Fri, 12 Apr 2013 08:29:21 GMT
Added advanced-telemetry as a valid option


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/88bfdfb2
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/88bfdfb2
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/88bfdfb2

Branch: refs/heads/develop
Commit: 88bfdfb2363cf07bf1164f02258baeb060e111e9
Parents: fd7f94c
Author: Justin Mclean <jmclean@apache.org>
Authored: Fri Apr 12 18:15:46 2013 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Fri Apr 12 18:15:46 2013 +1000

----------------------------------------------------------------------
 .../java/flex2/compiler/as3/As3Configuration.java  |    4 ++-
 .../compiler/common/CompilerConfiguration.java     |   21 +++++++++++++++
 .../java/flex2/compiler/common/Configuration.java  |   12 ++++++++
 .../src/java/flex2/compiler/i18n/I18nCompiler.java |    1 +
 .../flex2/compiler/mxml/InterfaceCompiler.java     |    1 +
 5 files changed, 38 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/88bfdfb2/modules/compiler/src/java/flex2/compiler/as3/As3Configuration.java
----------------------------------------------------------------------
diff --git a/modules/compiler/src/java/flex2/compiler/as3/As3Configuration.java b/modules/compiler/src/java/flex2/compiler/as3/As3Configuration.java
index fefe28a..eddad63 100644
--- a/modules/compiler/src/java/flex2/compiler/as3/As3Configuration.java
+++ b/modules/compiler/src/java/flex2/compiler/as3/As3Configuration.java
@@ -160,5 +160,7 @@ public interface As3Configuration
 
 	public boolean warn_xml_class_has_changed();
 
-    public boolean keepEmbedMetadata();
+	public boolean keepEmbedMetadata();
+	
+	public boolean getAdvancedTelemetry();
 }

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/88bfdfb2/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java b/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
index 19d6269..c10dec9 100644
--- a/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
+++ b/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
@@ -3259,6 +3259,27 @@ public class CompilerConfiguration implements As3Configuration,
         };
     }
     
+    //
+    // 'compiler.advanced-telemetry' option
+    //
+
+    private boolean advancedTelemetry;
+
+    public boolean getAdvancedTelemetry()
+    {
+        return advancedTelemetry;
+    }
+
+    public void setAdvancedTelemetry(boolean accessible)
+    {
+        this.advancedTelemetry = advancedTelemetry;
+    }
+
+    public void cfgAdvancedTelemetry( ConfigurationValue cv, boolean advancedTelemetry )
+    {
+        this.advancedTelemetry = advancedTelemetry;
+    }
+    
     @Override
     public Object clone()
         throws CloneNotSupportedException

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/88bfdfb2/modules/compiler/src/java/flex2/compiler/common/Configuration.java
----------------------------------------------------------------------
diff --git a/modules/compiler/src/java/flex2/compiler/common/Configuration.java b/modules/compiler/src/java/flex2/compiler/common/Configuration.java
index 93a6309..321ac84 100644
--- a/modules/compiler/src/java/flex2/compiler/common/Configuration.java
+++ b/modules/compiler/src/java/flex2/compiler/common/Configuration.java
@@ -2009,7 +2009,19 @@ public class Configuration implements LinkerConfiguration, Cloneable
                                                                  cv.getSource(),
                                                                  cv.getLine() );
     }
+    
+    public void setAdvancedTelemetry(boolean enableTelemetry)
+    {
+    	compilerConfiguration.setAdvancedTelemetry(enableTelemetry);
+    }
+
+
+ 	public boolean getAdvancedTelemetry()
+	{
+		return compilerConfiguration.getAdvancedTelemetry();
+	}
 
+ 	
  	@Override
  	public Configuration clone()
  	    throws CloneNotSupportedException

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/88bfdfb2/modules/compiler/src/java/flex2/compiler/i18n/I18nCompiler.java
----------------------------------------------------------------------
diff --git a/modules/compiler/src/java/flex2/compiler/i18n/I18nCompiler.java b/modules/compiler/src/java/flex2/compiler/i18n/I18nCompiler.java
index 39685a2..3480688 100644
--- a/modules/compiler/src/java/flex2/compiler/i18n/I18nCompiler.java
+++ b/modules/compiler/src/java/flex2/compiler/i18n/I18nCompiler.java
@@ -80,6 +80,7 @@ public class I18nCompiler extends AbstractSubCompiler implements flex2.compiler.
             public boolean getGenerateAbstractSyntaxTree() { return false; }
 	        public String getEncoding() { return null; }
             public boolean metadataExport() { return false; }
+            public boolean getAdvancedTelemetry() { return false; }
             public boolean showDeprecationWarnings() { return false; }
 	        public boolean warn_array_tostring_changes() { return false; }
 	        public boolean warn_assignment_within_conditional() { return false; }

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/88bfdfb2/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
----------------------------------------------------------------------
diff --git a/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java b/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
index 94d25cf..9cf6715 100644
--- a/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
+++ b/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
@@ -151,6 +151,7 @@ public class InterfaceCompiler extends flex2.compiler.AbstractSubCompiler
implem
             public boolean getGenerateAbstractSyntaxTree() { return ascConfiguration.getGenerateAbstractSyntaxTree();
}
             public String getEncoding() { return null; }
             public boolean metadataExport() { return false; }
+            public boolean getAdvancedTelemetry() { return false; }
             public boolean showDeprecationWarnings() { return false; }
             public boolean warn_array_tostring_changes() { return false; }
             public boolean warn_assignment_within_conditional() { return false; }


Mime
View raw message