You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/04/06 17:05:59 UTC
[01/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - attempt
to manually inject ASJS Ant Builders
Repository: flex-asjs
Updated Branches:
refs/heads/master caa9ed54d -> 2766a71ad
attempt to manually inject ASJS Ant Builders
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/5303fe04
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/5303fe04
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/5303fe04
Branch: refs/heads/master
Commit: 5303fe04f09c41a8766a1ab10e01bc895454d76e
Parents: b3a62dd
Author: Alex Harui <ah...@apache.org>
Authored: Fri Feb 5 15:20:06 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Feb 5 15:20:06 2016 -0800
----------------------------------------------------------------------
.../.externalToolBuilders/BindingASJS.launch | 26 ++++++++++++++++++
frameworks/projects/Binding/.project | 28 +++++++-------------
.../.externalToolBuilders/ChartsASJS.launch | 26 ++++++++++++++++++
frameworks/projects/Charts/.project | 10 +++++++
.../CollectionsASJS.launch | 26 ++++++++++++++++++
frameworks/projects/Collections/.project | 10 +++++++
.../Core/.externalToolBuilders/CoreASJS.launch | 26 ++++++++++++++++++
frameworks/projects/Core/.project | 28 +++++++-------------
.../.externalToolBuilders/CreateJSASJS.launch | 26 ++++++++++++++++++
frameworks/projects/CreateJS/.project | 10 +++++++
.../.externalToolBuilders/DragDropASJS.launch | 26 ++++++++++++++++++
frameworks/projects/DragDrop/.project | 10 +++++++
.../.externalToolBuilders/EffectsASJS.launch | 26 ++++++++++++++++++
frameworks/projects/Effects/.project | 10 +++++++
.../Flat/.externalToolBuilders/FlatASJS.launch | 26 ++++++++++++++++++
frameworks/projects/Flat/.project | 28 ++++++++++++++++++++
.../.externalToolBuilders/FormattersASJS.launch | 26 ++++++++++++++++++
frameworks/projects/Formatters/.project | 10 +++++++
.../.externalToolBuilders/GoogleMapsASJS.launch | 26 ++++++++++++++++++
frameworks/projects/GoogleMaps/.project | 10 +++++++
.../.externalToolBuilders/GraphicsASJS.launch | 26 ++++++++++++++++++
frameworks/projects/Graphics/.project | 10 +++++++
.../HTML/.externalToolBuilders/HTMLASJS.launch | 26 ++++++++++++++++++
frameworks/projects/HTML/.project | 10 +++++++
.../.externalToolBuilders/HTML5ASJS.launch | 26 ++++++++++++++++++
frameworks/projects/HTML5/.project | 28 ++++++++++++++++++++
.../.externalToolBuilders/JQueryASJS.launch | 26 ++++++++++++++++++
frameworks/projects/JQuery/.project | 10 +++++++
.../.externalToolBuilders/MobileASJS.launch | 26 ++++++++++++++++++
frameworks/projects/Mobile/.project | 10 +++++++
.../.externalToolBuilders/NetworkASJS.launch | 26 ++++++++++++++++++
frameworks/projects/Network/.project | 10 +++++++
.../.externalToolBuilders/ReflectionASJS.launch | 26 ++++++++++++++++++
frameworks/projects/Reflection/.project | 28 ++++++++++++++++++++
34 files changed, 666 insertions(+), 36 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Binding/.externalToolBuilders/BindingASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/.externalToolBuilders/BindingASJS.launch b/frameworks/projects/Binding/.externalToolBuilders/BindingASJS.launch
new file mode 100644
index 0000000..e3bf578
--- /dev/null
+++ b/frameworks/projects/Binding/.externalToolBuilders/BindingASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Binding"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Binding/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/.project b/frameworks/projects/Binding/.project
index 27c35bc..a952412 100644
--- a/frameworks/projects/Binding/.project
+++ b/frameworks/projects/Binding/.project
@@ -1,22 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
<projectDescription>
<name>Binding</name>
<comment></comment>
@@ -24,6 +6,16 @@
</projects>
<buildSpec>
<buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/BindingASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>com.adobe.flexbuilder.project.flexbuilder</name>
<arguments>
</arguments>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Charts/.externalToolBuilders/ChartsASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/.externalToolBuilders/ChartsASJS.launch b/frameworks/projects/Charts/.externalToolBuilders/ChartsASJS.launch
new file mode 100644
index 0000000..a28e30d
--- /dev/null
+++ b/frameworks/projects/Charts/.externalToolBuilders/ChartsASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Charts"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Charts/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/.project b/frameworks/projects/Charts/.project
index 6c26e1a..4b06514 100644
--- a/frameworks/projects/Charts/.project
+++ b/frameworks/projects/Charts/.project
@@ -24,6 +24,16 @@
</projects>
<buildSpec>
<buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/ChartsASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>com.adobe.flexbuilder.project.flexbuilder</name>
<arguments>
</arguments>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Collections/.externalToolBuilders/CollectionsASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/.externalToolBuilders/CollectionsASJS.launch b/frameworks/projects/Collections/.externalToolBuilders/CollectionsASJS.launch
new file mode 100644
index 0000000..e779b88
--- /dev/null
+++ b/frameworks/projects/Collections/.externalToolBuilders/CollectionsASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Collections"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Collections/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/.project b/frameworks/projects/Collections/.project
index eebe7eb..f8f6ad5 100644
--- a/frameworks/projects/Collections/.project
+++ b/frameworks/projects/Collections/.project
@@ -24,6 +24,16 @@
</projects>
<buildSpec>
<buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/CollectionsASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>com.adobe.flexbuilder.project.flexbuilder</name>
<arguments>
</arguments>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Core/.externalToolBuilders/CoreASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/.externalToolBuilders/CoreASJS.launch b/frameworks/projects/Core/.externalToolBuilders/CoreASJS.launch
new file mode 100644
index 0000000..e1c0301
--- /dev/null
+++ b/frameworks/projects/Core/.externalToolBuilders/CoreASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Core"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Core/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/.project b/frameworks/projects/Core/.project
index 086f583..3618b50 100644
--- a/frameworks/projects/Core/.project
+++ b/frameworks/projects/Core/.project
@@ -1,22 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
<projectDescription>
<name>Core</name>
<comment></comment>
@@ -24,6 +6,16 @@
</projects>
<buildSpec>
<buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/CoreASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>com.adobe.flexbuilder.project.flexbuilder</name>
<arguments>
</arguments>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/CreateJS/.externalToolBuilders/CreateJSASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/.externalToolBuilders/CreateJSASJS.launch b/frameworks/projects/CreateJS/.externalToolBuilders/CreateJSASJS.launch
new file mode 100644
index 0000000..d823dad
--- /dev/null
+++ b/frameworks/projects/CreateJS/.externalToolBuilders/CreateJSASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="CreateJS"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/CreateJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/.project b/frameworks/projects/CreateJS/.project
index ee9629a..fec8803 100644
--- a/frameworks/projects/CreateJS/.project
+++ b/frameworks/projects/CreateJS/.project
@@ -24,6 +24,16 @@
</projects>
<buildSpec>
<buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/CreateJSASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>com.adobe.flexbuilder.project.flexbuilder</name>
<arguments>
</arguments>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/DragDrop/.externalToolBuilders/DragDropASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/.externalToolBuilders/DragDropASJS.launch b/frameworks/projects/DragDrop/.externalToolBuilders/DragDropASJS.launch
new file mode 100644
index 0000000..010870a
--- /dev/null
+++ b/frameworks/projects/DragDrop/.externalToolBuilders/DragDropASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="DragDrop"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/DragDrop/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/.project b/frameworks/projects/DragDrop/.project
index c4712e0..edd0211 100644
--- a/frameworks/projects/DragDrop/.project
+++ b/frameworks/projects/DragDrop/.project
@@ -24,6 +24,16 @@
</projects>
<buildSpec>
<buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/DragDropASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>com.adobe.flexbuilder.project.flexbuilder</name>
<arguments>
</arguments>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Effects/.externalToolBuilders/EffectsASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/.externalToolBuilders/EffectsASJS.launch b/frameworks/projects/Effects/.externalToolBuilders/EffectsASJS.launch
new file mode 100644
index 0000000..168f374
--- /dev/null
+++ b/frameworks/projects/Effects/.externalToolBuilders/EffectsASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Effects"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Effects/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/.project b/frameworks/projects/Effects/.project
index d98e8c9..6d2cc70 100644
--- a/frameworks/projects/Effects/.project
+++ b/frameworks/projects/Effects/.project
@@ -24,6 +24,16 @@
</projects>
<buildSpec>
<buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/EffectsASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>com.adobe.flexbuilder.project.flexbuilder</name>
<arguments>
</arguments>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Flat/.externalToolBuilders/FlatASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/.externalToolBuilders/FlatASJS.launch b/frameworks/projects/Flat/.externalToolBuilders/FlatASJS.launch
new file mode 100644
index 0000000..86b7678
--- /dev/null
+++ b/frameworks/projects/Flat/.externalToolBuilders/FlatASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Flat"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Flat/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/.project b/frameworks/projects/Flat/.project
new file mode 100644
index 0000000..b702a58
--- /dev/null
+++ b/frameworks/projects/Flat/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>Flat</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/FlatASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Formatters/.externalToolBuilders/FormattersASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/.externalToolBuilders/FormattersASJS.launch b/frameworks/projects/Formatters/.externalToolBuilders/FormattersASJS.launch
new file mode 100644
index 0000000..5afb7f6
--- /dev/null
+++ b/frameworks/projects/Formatters/.externalToolBuilders/FormattersASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Formatters"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Formatters/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/.project b/frameworks/projects/Formatters/.project
index 1556774..da6638a 100644
--- a/frameworks/projects/Formatters/.project
+++ b/frameworks/projects/Formatters/.project
@@ -24,6 +24,16 @@
</projects>
<buildSpec>
<buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/FormattersASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>com.adobe.flexbuilder.project.flexbuilder</name>
<arguments>
</arguments>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/GoogleMaps/.externalToolBuilders/GoogleMapsASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/.externalToolBuilders/GoogleMapsASJS.launch b/frameworks/projects/GoogleMaps/.externalToolBuilders/GoogleMapsASJS.launch
new file mode 100644
index 0000000..6caed81
--- /dev/null
+++ b/frameworks/projects/GoogleMaps/.externalToolBuilders/GoogleMapsASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="GoogleMaps"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/GoogleMaps/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/.project b/frameworks/projects/GoogleMaps/.project
index 6ecc2ad..404a38b 100644
--- a/frameworks/projects/GoogleMaps/.project
+++ b/frameworks/projects/GoogleMaps/.project
@@ -24,6 +24,16 @@
</projects>
<buildSpec>
<buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/GoogleMapsASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>com.adobe.flexbuilder.project.flexbuilder</name>
<arguments>
</arguments>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Graphics/.externalToolBuilders/GraphicsASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/.externalToolBuilders/GraphicsASJS.launch b/frameworks/projects/Graphics/.externalToolBuilders/GraphicsASJS.launch
new file mode 100644
index 0000000..d7a749a
--- /dev/null
+++ b/frameworks/projects/Graphics/.externalToolBuilders/GraphicsASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Graphics"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Graphics/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/.project b/frameworks/projects/Graphics/.project
index 61dd05a..197e0b6 100644
--- a/frameworks/projects/Graphics/.project
+++ b/frameworks/projects/Graphics/.project
@@ -24,6 +24,16 @@
</projects>
<buildSpec>
<buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/GraphicsASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>com.adobe.flexbuilder.project.flexbuilder</name>
<arguments>
</arguments>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/HTML/.externalToolBuilders/HTMLASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/.externalToolBuilders/HTMLASJS.launch b/frameworks/projects/HTML/.externalToolBuilders/HTMLASJS.launch
new file mode 100644
index 0000000..683b23c
--- /dev/null
+++ b/frameworks/projects/HTML/.externalToolBuilders/HTMLASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="HTML"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/HTML/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/.project b/frameworks/projects/HTML/.project
index e36f729..a90358e 100644
--- a/frameworks/projects/HTML/.project
+++ b/frameworks/projects/HTML/.project
@@ -24,6 +24,16 @@
</projects>
<buildSpec>
<buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/HTMLASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>com.adobe.flexbuilder.project.flexbuilder</name>
<arguments>
</arguments>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/HTML5/.externalToolBuilders/HTML5ASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/.externalToolBuilders/HTML5ASJS.launch b/frameworks/projects/HTML5/.externalToolBuilders/HTML5ASJS.launch
new file mode 100644
index 0000000..3d21243
--- /dev/null
+++ b/frameworks/projects/HTML5/.externalToolBuilders/HTML5ASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="HTML5"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/HTML5/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/.project b/frameworks/projects/HTML5/.project
new file mode 100644
index 0000000..e1acb8f
--- /dev/null
+++ b/frameworks/projects/HTML5/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>HTML5</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/HTML5ASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/JQuery/.externalToolBuilders/JQueryASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/.externalToolBuilders/JQueryASJS.launch b/frameworks/projects/JQuery/.externalToolBuilders/JQueryASJS.launch
new file mode 100644
index 0000000..d438ac9
--- /dev/null
+++ b/frameworks/projects/JQuery/.externalToolBuilders/JQueryASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="JQuery"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/JQuery/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/.project b/frameworks/projects/JQuery/.project
index d50e0cd..0f4b8ea 100644
--- a/frameworks/projects/JQuery/.project
+++ b/frameworks/projects/JQuery/.project
@@ -24,6 +24,16 @@
</projects>
<buildSpec>
<buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/JQueryASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>com.adobe.flexbuilder.project.flexbuilder</name>
<arguments>
</arguments>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Mobile/.externalToolBuilders/MobileASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/.externalToolBuilders/MobileASJS.launch b/frameworks/projects/Mobile/.externalToolBuilders/MobileASJS.launch
new file mode 100644
index 0000000..b2df529
--- /dev/null
+++ b/frameworks/projects/Mobile/.externalToolBuilders/MobileASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Mobile"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Mobile/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/.project b/frameworks/projects/Mobile/.project
index 22ec46d..118444c 100644
--- a/frameworks/projects/Mobile/.project
+++ b/frameworks/projects/Mobile/.project
@@ -24,6 +24,16 @@
</projects>
<buildSpec>
<buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/MobileASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>com.adobe.flexbuilder.project.flexbuilder</name>
<arguments>
</arguments>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Network/.externalToolBuilders/NetworkASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/.externalToolBuilders/NetworkASJS.launch b/frameworks/projects/Network/.externalToolBuilders/NetworkASJS.launch
new file mode 100644
index 0000000..808d858
--- /dev/null
+++ b/frameworks/projects/Network/.externalToolBuilders/NetworkASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Network"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Network/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/.project b/frameworks/projects/Network/.project
index b9a0ef9..3f20545 100644
--- a/frameworks/projects/Network/.project
+++ b/frameworks/projects/Network/.project
@@ -24,6 +24,16 @@
</projects>
<buildSpec>
<buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/NetworkASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>com.adobe.flexbuilder.project.flexbuilder</name>
<arguments>
</arguments>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Reflection/.externalToolBuilders/ReflectionASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/.externalToolBuilders/ReflectionASJS.launch b/frameworks/projects/Reflection/.externalToolBuilders/ReflectionASJS.launch
new file mode 100644
index 0000000..46955d1
--- /dev/null
+++ b/frameworks/projects/Reflection/.externalToolBuilders/ReflectionASJS.launch
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 1.7"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Reflection"/>
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTIES">
+<mapEntry key="eclipse.home" value="/Applications/Adobe Flash Builder 4.7/eclipse"/>
+<mapEntry key="eclipse.running" value="true"/>
+<mapEntry key="fb.running" value="true"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5303fe04/frameworks/projects/Reflection/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/.project b/frameworks/projects/Reflection/.project
new file mode 100644
index 0000000..cf8dbb5
--- /dev/null
+++ b/frameworks/projects/Reflection/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>Reflection</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/ReflectionASJS.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
[40/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - switch
to newer rat from maven
Posted by ah...@apache.org.
switch to newer rat from maven
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/164ec03e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/164ec03e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/164ec03e
Branch: refs/heads/master
Commit: 164ec03e9231789041b50ed80d6f28f724b86288
Parents: f742bc2
Author: Alex Harui <ah...@apache.org>
Authored: Mon Mar 28 21:15:35 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Mar 28 21:15:35 2016 -0700
----------------------------------------------------------------------
ApproveFlexJS.xml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/164ec03e/ApproveFlexJS.xml
----------------------------------------------------------------------
diff --git a/ApproveFlexJS.xml b/ApproveFlexJS.xml
index b01029b..f6dccd1 100644
--- a/ApproveFlexJS.xml
+++ b/ApproveFlexJS.xml
@@ -54,9 +54,10 @@
<property name="src.rat.report" value="${basedir}/rat-report-src.txt"/>
<property name="bin.rat.report" value="${basedir}/rat-report-bin.txt"/>
- <property name="apache.rat.jar" value="apache-rat-0.8.jar" />
- <property name="apache.rat.tasks.jar" value="apache-rat-tasks-0.8.jar" />
- <property name="apache.rat.url" value="http://people.apache.org/~aharui/rat" />
+ <property name="apache.rat.jar" value="apache-rat-0.11.jar" />
+ <property name="apache.rat.tasks.jar" value="apache-rat-tasks-0.11.jar" />
+ <property name="apache.rat.url" value="http://search.maven.org/remotecontent?filepath=org/apache/rat/apache-rat/0.11" />
+ <property name="apache.rat.tasks.url" value="http://search.maven.org/remotecontent?filepath=org/apache/rat/apache-rat-tasks/0.11" />
<property file="${basedir}/approvefalcon.properties"/>
@@ -187,7 +188,7 @@
<get src="${apache.rat.url}/${apache.rat.jar}" dest="${env.ANT_HOME}/lib/${apache.rat.jar}" />
</target>
<target name="install-rat.tasks.jar" unless="apache.rat.tasks.found">
- <get src="${apache.rat.url}/${apache.rat.tasks.jar}" dest="${env.ANT_HOME}/lib/${apache.rat.tasks.jar}" />
+ <get src="${apache.rat.tasks.url}/${apache.rat.tasks.jar}" dest="${env.ANT_HOME}/lib/${apache.rat.tasks.jar}" />
</target>
<target name="rat-taskdef" description="Rat taskdef">
[27/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - missing
headers
Posted by ah...@apache.org.
missing headers
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/ba233ad9
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ba233ad9
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ba233ad9
Branch: refs/heads/master
Commit: ba233ad9860fbef611665353143a8b30a0b86a9d
Parents: b4f5011
Author: Alex Harui <ah...@apache.org>
Authored: Fri Mar 11 12:03:35 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Mar 11 12:03:35 2016 -0800
----------------------------------------------------------------------
.../org/apache/flex/core/HTMLElementWrapper.as | 18 ++++++++++++++++++
.../flex/org/apache/flex/core/IFlexJSElement.as | 18 ++++++++++++++++++
.../org/apache/flex/core/WrappedHTMLElement.as | 18 ++++++++++++++++++
3 files changed, 54 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ba233ad9/frameworks/projects/Core/src/main/flex/org/apache/flex/core/HTMLElementWrapper.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/HTMLElementWrapper.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/HTMLElementWrapper.as
index bc8e224..4d4999b 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/HTMLElementWrapper.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/HTMLElementWrapper.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.core
{
COMPILE::AS3
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ba233ad9/frameworks/projects/Core/src/main/flex/org/apache/flex/core/IFlexJSElement.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/IFlexJSElement.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/IFlexJSElement.as
index ae0cdb1..ff9295b 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/IFlexJSElement.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/IFlexJSElement.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.core
{
COMPILE::AS3
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ba233ad9/frameworks/projects/Core/src/main/flex/org/apache/flex/core/WrappedHTMLElement.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/WrappedHTMLElement.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/WrappedHTMLElement.as
index e765e01..b5ff7ba 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/WrappedHTMLElement.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/WrappedHTMLElement.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.core
{
COMPILE::JS
[20/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - make
event constructors match
Posted by ah...@apache.org.
make event constructors match
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/063ac08e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/063ac08e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/063ac08e
Branch: refs/heads/master
Commit: 063ac08e0a5a6c15b06606e5e159ed3154d72648
Parents: 75ee02d
Author: Alex Harui <ah...@apache.org>
Authored: Mon Feb 29 17:51:56 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Feb 29 17:51:56 2016 -0800
----------------------------------------------------------------------
.../flex/org/apache/flex/events/CustomEvent.as | 9 +--------
.../src/main/flex/org/apache/flex/events/Event.as | 17 +++++++++--------
.../flex/org/apache/flex/events/EventDispatcher.as | 14 ++++++++++++++
.../main/flex/org/apache/flex/events/MouseEvent.as | 2 +-
.../org/apache/flex/events/ValueChangeEvent.as | 9 +--------
.../main/flex/org/apache/flex/events/ValueEvent.as | 10 +---------
6 files changed, 27 insertions(+), 34 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/063ac08e/frameworks/projects/Core/src/main/flex/org/apache/flex/events/CustomEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/CustomEvent.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/CustomEvent.as
index a7921df..ab3e173 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/CustomEvent.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/CustomEvent.as
@@ -51,14 +51,7 @@ package org.apache.flex.events
*/
public function CustomEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
{
- COMPILE::AS3
- {
- super(type, bubbles, cancelable);
- }
- COMPILE::JS
- {
- super(type);
- }
+ super(type, bubbles, cancelable);
}
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/063ac08e/frameworks/projects/Core/src/main/flex/org/apache/flex/events/Event.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/Event.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/Event.as
index 008909b..8076c66 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/Event.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/Event.as
@@ -105,14 +105,15 @@ package org.apache.flex.events
public static const CHANGE:String = "change";
- public function Event(type:String, target:Object = null) {
- super(type, target);
+ public function Event(type:String, bubbles:Boolean = false, cancelable:Boolean = false) {
+ super(type);
+ this.bubbles = true;
+ this.cancelable = true;
}
- public function init(type:String):void {
- this.type = type;
- }
-
+ public var bubbles:Boolean;
+ public var cancelable:Boolean;
+
/**
* Google Closure doesn't seem to support stopImmediatePropagation, but
* actually the HTMLElementWrapper fireListener override sends a
@@ -122,12 +123,12 @@ package org.apache.flex.events
*/
public function stopImmediatePropagation():void
{
- // do nothing
+ throw new Error("stopImmediatePropagation");
}
public function cloneEvent():org.apache.flex.events.Event
{
- return this;
+ return new org.apache.flex.events.Event(type, bubbles, cancelable);
}
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/063ac08e/frameworks/projects/Core/src/main/flex/org/apache/flex/events/EventDispatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/EventDispatcher.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/EventDispatcher.as
index ceec8ee..f6e635b 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/EventDispatcher.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/EventDispatcher.as
@@ -62,5 +62,19 @@ package org.apache.flex.events
{
return goog.events.hasListener(this, type);
}
+
+ override public function dispatchEvent(event:Object):Boolean
+ {
+ try
+ {
+ return super.dispatchEvent(event);
+ }
+ catch (e:Error)
+ {
+ if (e.name != "stopImmediatePropagation")
+ throw e;
+ }
+ return false;
+ }
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/063ac08e/frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as
index 63bad5c..605885d 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as
@@ -170,7 +170,7 @@ package org.apache.flex.events
commandKey:Boolean = false, controlKey:Boolean = false,
clickCount:int = 0)
{
- super(type);
+ super(type, bubbles, cancelable);
this.localX = localX;
this.localY = localY;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/063ac08e/frameworks/projects/Core/src/main/flex/org/apache/flex/events/ValueChangeEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/ValueChangeEvent.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/ValueChangeEvent.as
index 45fabbd..e7c93b0 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/ValueChangeEvent.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/ValueChangeEvent.as
@@ -42,14 +42,7 @@ package org.apache.flex.events
public function ValueChangeEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false,
oldValue:Object = null, newValue:Object = null)
{
- COMPILE::AS3
- {
- super(type, bubbles, cancelable);
- }
- COMPILE::JS
- {
- super(type);
- }
+ super(type, bubbles, cancelable);
this.oldValue = oldValue;
this.newValue = newValue;
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/063ac08e/frameworks/projects/Core/src/main/flex/org/apache/flex/events/ValueEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/ValueEvent.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/ValueEvent.as
index 6088680..889f079 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/ValueEvent.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/ValueEvent.as
@@ -41,15 +41,7 @@ package org.apache.flex.events
public function ValueEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false,
value:Object = null)
{
- COMPILE::AS3
- {
- super(type, bubbles, cancelable);
- }
-
- COMPILE::JS
- {
- super(type);
- }
+ super(type, bubbles, cancelable);
this.value = value;
}
[21/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - fix
example
Posted by ah...@apache.org.
fix example
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/c313d706
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/c313d706
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/c313d706
Branch: refs/heads/master
Commit: c313d70661022e8b14a474cd33eb4db57d655df8
Parents: 063ac08
Author: Alex Harui <ah...@apache.org>
Authored: Mon Feb 29 17:52:12 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Feb 29 17:52:12 2016 -0800
----------------------------------------------------------------------
.../src/productsView/CatalogTitleButtons.mxml | 8 +++++---
.../src/productsView/ProductCatalogThumbnail.mxml | 2 +-
.../src/productsView/ProductListItem.mxml | 10 ++++++++++
3 files changed, 16 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c313d706/examples/flexjs/FlexJSStore_jquery/src/productsView/CatalogTitleButtons.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/productsView/CatalogTitleButtons.mxml b/examples/flexjs/FlexJSStore_jquery/src/productsView/CatalogTitleButtons.mxml
index 77456be..af9cfd1 100755
--- a/examples/flexjs/FlexJSStore_jquery/src/productsView/CatalogTitleButtons.mxml
+++ b/examples/flexjs/FlexJSStore_jquery/src/productsView/CatalogTitleButtons.mxml
@@ -35,12 +35,14 @@ limitations under the License.
[Bindable]
public var cartCount:int;
- private function rollOverLabel(event:Event):void
+ private function rollOverLabel(event:MouseEvent):void
{
- Label(event.target).className = "catalogTitleButtonHighlighted";
+ try {
+ Label(event.target).className = "catalogTitleButtonHighlighted";
+ } catch (e:Error) {}
}
- private function rollOutLabel(event:Event):void
+ private function rollOutLabel(event:MouseEvent):void
{
Label(event.target).className = "catalogTitleButtonDeselected";
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c313d706/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml
index 1d8ce8f..7b415da 100755
--- a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml
+++ b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml
@@ -118,7 +118,7 @@ limitations under the License.
}
}
- public function clickHandler(event:org.apache.flex.events.Event):void
+ public function clickHandler(event:org.apache.flex.events.MouseEvent):void
{
if (event.target != purchase &&
event.target != compare &&
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c313d706/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductListItem.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductListItem.mxml b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductListItem.mxml
index 2864cca..8e98c3b 100755
--- a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductListItem.mxml
+++ b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductListItem.mxml
@@ -60,6 +60,16 @@ limitations under the License.
{
_data = value;
}
+
+ public function get listData():Object
+ {
+ return null;
+ }
+
+ public function set listData(value:Object):void
+ {
+ // not used
+ }
private var _itemRendererParent:Object;
[24/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Added
StorageExample to FlexJS examples.
Posted by ah...@apache.org.
Added StorageExample to FlexJS examples.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1c69a390
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1c69a390
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1c69a390
Branch: refs/heads/master
Commit: 1c69a390af29678d4797d3e9648b06b69ed87510
Parents: 1bc555d
Author: Peter Ent <pe...@apache.org>
Authored: Wed Mar 9 11:13:26 2016 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Mar 9 11:13:26 2016 -0500
----------------------------------------------------------------------
examples/build.xml | 2 +
examples/flexjs/StorageExample/README.txt | 81 ++++++
.../StorageExample/StorageExample-app.xml | 252 +++++++++++++++++++
examples/flexjs/StorageExample/build.xml | 77 ++++++
examples/flexjs/StorageExample/pom.xml | 50 ++++
.../StorageExample/src/MyInitialView.mxml | 131 ++++++++++
.../StorageExample/src/StorageExample.mxml | 42 ++++
.../flexjs/StorageExample/src/models/MyModel.as | 58 +++++
8 files changed, 693 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c69a390/examples/build.xml
----------------------------------------------------------------------
diff --git a/examples/build.xml b/examples/build.xml
index 7efccfc..27d1816 100644
--- a/examples/build.xml
+++ b/examples/build.xml
@@ -85,6 +85,7 @@
<ant dir="${basedir}/flexjs/MapSearch"/>
<ant dir="${basedir}/flexjs/MobileTrader"/>
<ant dir="${basedir}/flexjs/ChartExample"/>
+ <ant dir="${basedir}/flexjs/StorageExample"/>
<ant dir="${basedir}/flexjs/TodoListSampleApp"/>
<ant dir="${basedir}/flexjs/TreeExample"/>
<ant dir="${basedir}/native/ButtonExample"/>
@@ -113,6 +114,7 @@
<ant dir="${basedir}/flexjs/MapSearch" target="clean"/>
<ant dir="${basedir}/flexjs/MobileTrader" target="clean"/>
<ant dir="${basedir}/flexjs/ChartExample" target="clean"/>
+ <ant dir="${basedir}/flexjs/StorageExample" target="clean"/>
<ant dir="${basedir}/flexjs/TodoListSampleApp" target="clean"/>
<ant dir="${basedir}/flexjs/TreeExample" target="clean"/>
<ant dir="${basedir}/native/ButtonExample" target="clean"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c69a390/examples/flexjs/StorageExample/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/README.txt b/examples/flexjs/StorageExample/README.txt
new file mode 100644
index 0000000..12cb609
--- /dev/null
+++ b/examples/flexjs/StorageExample/README.txt
@@ -0,0 +1,81 @@
+Storage Example
+
+The StorageExample is designed to show you have to read and write simple, but permanent files using
+the FlexJS Storage framework.
+
+Permanent storage is available when the target platform is either Adobe AIR (desktop or mobile device)
+or Apache Cordova (mobile devices).
+
+Build the Example
+
+1. Run the build (ant)
+
+This will build both the AIR and Cordova-compatible versions. The AIR version will be in the
+bin-debug directory. The Cordova-compatible versions will be in the js-debug and js-release
+directories.
+
+Running on Adobe AIR
+
+1. Run the example (ant run).
+
+This will launch the SWF as an AIR application.
+
+Running on an Android Device using Cordova
+
+This is a somewhat complex process. The JavaScript and HTML files that were built (bin/js-debug)
+need to be moved into a Cordova project. Once there, the application can be deployed to a device
+or run in an emulator.
+
+1. In a clean directory, outside of the flex-asjs directories, use the cordova command line
+interface to build an empty application:
+
+cordova create filetest org.apache.flex "FileTest"
+cd filetest
+
+2. Add in the Android platform and the Cordova File plugin:
+
+cordova platform add android
+cordova plugin add cordova-plugin-file
+
+3. Go to the StorageExample/bin/js-debug directory and copy all of the files and directories
+into the filetest/www directory:
+
+index.html (replaces the index.html from the generated cordova app)
+MyInitialView.js
+StorageExample.css
+StorageExample.js
+externs/
+library/
+models/
+org/
+
+
+4. Open filetest/www/index.html and replace the <body> element with this:
+
+<body onload="startup()">
+ <script type="text/javascript" src="cordova.js"></script>
+ <script type="text/javascript">
+ function startup() {
+ document.addEventListener('deviceready', this.onDeviceReady, false);
+ }
+ function onDeviceReady() {
+ new StorageExample().start();
+ }
+ </script>
+</body>
+
+
+5. Build the Cordova app from the top filetest directory:
+
+cordova build
+
+6. You can run it either in an emulator on a connected device:
+
+(emulator): cordova emulate android
+(device): cordova run android
+
+The filetest/platforms/android directory can be opened from Android Studio if you want to
+use an Android IDE. If you need to make changes, do that in the filetest/www directory,
+then run "cordova build" again. Android Studio will detect the change, ask you to re-sync,
+and after that, you can re-redeploy the changed app to the device.
+
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c69a390/examples/flexjs/StorageExample/StorageExample-app.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/StorageExample-app.xml b/examples/flexjs/StorageExample/StorageExample-app.xml
new file mode 100644
index 0000000..62657d2
--- /dev/null
+++ b/examples/flexjs/StorageExample/StorageExample-app.xml
@@ -0,0 +1,252 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/16.0">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/3.8
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- A universally unique application identifier. Must be unique across all AIR applications.
+ Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
+ <id>org.apache.flexjs.storageexample</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>Apache FlexJS Storage Example</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>Apache FlexJS Storage Example</name>
+
+ <!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
+ Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
+ An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
+ <versionNumber>0.6.0</versionNumber>
+
+ <!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
+ <!-- <versionLabel></versionLabel> -->
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <copyright>Copyright 2015 The Apache Software Foundation.</copyright>
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>StorageExample.swf</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <width>640</width>
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <height>720</height>
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+
+ <!-- The initial aspect ratio of the app when launched (either "portrait" or "landscape"). Optional. Mobile only. Default is the natural orientation of the device -->
+
+ <!-- <aspectRatio></aspectRatio> -->
+
+ <!-- Whether the app will begin auto-orienting on launch. Optional. Mobile only. Default false -->
+
+ <!-- <autoOrients></autoOrients> -->
+
+ <!-- Whether the app launches in full screen. Optional. Mobile only. Default false -->
+
+ <!-- <fullScreen></fullScreen> -->
+
+ <!-- The render mode for the app (either auto, cpu, gpu, or direct). Optional. Default auto -->
+
+ <!-- <renderMode></renderMode> -->
+
+ <!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none"). Optional. Defaults "pan." -->
+ <!-- <softKeyboardBehavior></softKeyboardBehavior> -->
+ <autoOrients>false</autoOrients>
+ <fullScreen>false</fullScreen>
+ <visible>true</visible>
+ </initialWindow>
+
+ <!-- We recommend omitting the supportedProfiles element, -->
+ <!-- which in turn permits your application to be deployed to all -->
+ <!-- devices supported by AIR. If you wish to restrict deployment -->
+ <!-- (i.e., to only mobile devices) then add this element and list -->
+ <!-- only the profiles which your application does support. -->
+ <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
+ <supportedProfiles>extendedDesktop desktop</supportedProfiles>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <installFolder>Apache Flex</installFolder>
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <programMenuFolder>Apache Flex</programMenuFolder>
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <icon>
+ <image16x16>assets/icons/16.png</image16x16>
+ <image29x29>assets/icons/29.png</image29x29>
+ <image32x32>assets/icons/32.png</image32x32>
+ <image36x36>assets/icons/36.png</image36x36>
+ <image48x48>assets/icons/48.png</image48x48>
+ <image57x57>assets/icons/57.png</image57x57>
+ <image72x72>assets/icons/72.png</image72x72>
+ <image114x114>assets/icons/114.png</image114x114>
+ <image128x128>assets/icons/128.png</image128x128>
+ </icon>
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+ <!-- iOS specific capabilities -->
+ <!-- <iPhone> -->
+ <!-- A list of plist key/value pairs to be added to the application Info.plist -->
+ <!-- <InfoAdditions>
+ <![CDATA[
+ <key>UIDeviceFamily</key>
+ <array>
+ <string>1</string>
+ <string>2</string>
+ </array>
+ <key>UIStatusBarStyle</key>
+ <string>UIStatusBarStyleBlackOpaque</string>
+ <key>UIRequiresPersistentWiFi</key>
+ <string>YES</string>
+ ]]>
+ </InfoAdditions> -->
+ <!-- A list of plist key/value pairs to be added to the application Entitlements.plist -->
+ <!-- <Entitlements>
+ <![CDATA[
+ <key>keychain-access-groups</key>
+ <array>
+ <string></string>
+ <string></string>
+ </array>
+ ]]>
+ </Entitlements> -->
+ <!-- Display Resolution for the app (either "standard" or "high"). Optional. Default "standard" -->
+ <!-- <requestedDisplayResolution></requestedDisplayResolution> -->
+ <!-- </iPhone> -->
+
+ <!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
+ <!--<android> -->
+ <!-- <manifestAdditions>
+ <![CDATA[
+ <manifest android:installLocation="auto">
+ <uses-permission android:name="android.permission.INTERNET"/>
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
+ <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
+ <application android:enabled="true">
+ <activity android:excludeFromRecents="false">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.LAUNCHER"/>
+ </intent-filter>
+ </activity>
+ </application>
+ </manifest>
+ ]]>
+ </manifestAdditions> -->
+ <!-- Color depth for the app (either "32bit" or "16bit"). Optional. Default 16bit before namespace 3.0, 32bit after -->
+ <!-- <colorDepth></colorDepth> -->
+ <!-- </android> -->
+ <!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c69a390/examples/flexjs/StorageExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/build.xml b/examples/flexjs/StorageExample/build.xml
new file mode 100644
index 0000000..a976cad
--- /dev/null
+++ b/examples/flexjs/StorageExample/build.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+
+
+<project name="storageexample" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../.."/>
+ <property name="example" value="StorageExample" />
+
+ <!-- this project needs AIR 3.4 FP 11.4 -->
+ <property name="swf.version" value="17" />
+ <property name="playerglobal.version" value="11.4" />
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="AIR_HOME" value="${env.AIR_HOME}"/>
+
+ <condition property="adl" value="adl.exe">
+ <os family="windows"/>
+ </condition>
+
+ <condition property="adl" value="adl">
+ <os family="mac"/>
+ </condition>
+
+ <condition property="runtime" value="win">
+ <os family="windows"/>
+ </condition>
+
+ <condition property="runtime" value="mac">
+ <os family="mac"/>
+ </condition>
+
+ <include file="${basedir}/../../build_example.xml" />
+
+ <property name="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../externs/cordova/out/bin/cordova.swc"/>
+ <property name="opt1_arg" value="-remove-circulars" />
+
+<!-- build_example.compileair, -->
+ <target name="main" depends="clean,build_example.compileair,build_example.compilejsair" description="Clean build of ${example}">
+ </target>
+
+ <target name="clean">
+ <echo>playerglobal.version = ${playerglobal.version}</echo>
+ <delete dir="${basedir}/bin" failonerror="false" />
+ <delete dir="${basedir}/bin-debug" failonerror="false" />
+ <delete dir="${basedir}/bin-release" failonerror="false" />
+ </target>
+
+ <target name="run">
+ <exec executable="${AIR_HOME}/bin/${adl}" dir="${basedir}/bin-debug" failonerror="true">
+ <arg value="-runtime" />
+ <arg value="${AIR_HOME}/runtimes/air/${runtime}" />
+ <arg value="-profile" />
+ <arg value="extendedDesktop" />
+ <arg value="${basedir}/bin-debug/${example}-app.xml" />
+ </exec>
+ </target>
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c69a390/examples/flexjs/StorageExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/pom.xml b/examples/flexjs/StorageExample/pom.xml
new file mode 100644
index 0000000..06ac9b2
--- /dev/null
+++ b/examples/flexjs/StorageExample/pom.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.examples.flexjs</groupId>
+ <artifactId>examples</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>StorageExample</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <sourceFile>StorageExample.mxml</sourceFile>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c69a390/examples/flexjs/StorageExample/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/src/MyInitialView.mxml b/examples/flexjs/StorageExample/src/MyInitialView.mxml
new file mode 100644
index 0000000..2bb6b7a
--- /dev/null
+++ b/examples/flexjs/StorageExample/src/MyInitialView.mxml
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
+ xmlns:local="*"
+ initComplete="startup()">
+ <fx:Script>
+ <![CDATA[
+ import org.apache.flex.storage.PermanentStorage;
+ import org.apache.flex.storage.events.FileReadEvent;
+ import org.apache.flex.storage.events.FileWriteEvent;
+
+ private function startup():void
+ {
+ trace("Starting up");
+ }
+
+ private function onRead():void
+ {
+ var storage:PermanentStorage = new PermanentStorage();
+
+ var useFile:String = readFileNameField.text;
+
+ storage.addEventListener("COMPLETE", handleRead);
+ storage.addEventListener("ERROR", handleRead);
+ storage.readTextFromDataFile( useFile );
+ }
+
+ private function handleRead(event:FileReadEvent):void
+ {
+ trace("Read event type: "+event.type);
+ if (event.type == "ERROR") {
+ status.text = "Error: "+event.errorMessage;
+ readContent.text = "";
+ }
+ else {
+ trace(event.data);
+ status.text = "Read Success!";
+ readContent.text = String(event.data);
+ }
+ }
+
+ private function onSave():void
+ {
+ var storage:PermanentStorage = new PermanentStorage();
+ var today:Date = new Date();
+
+ var useFile:String = writeFileNameField.text;
+ var useContent:String = today.toString() + " " + contentField.text;
+
+ storage.addEventListener("COMPLETE", handleSave);
+ storage.writeTextToDataFile(useFile, useContent);
+ }
+
+ private function handleSave(event:FileWriteEvent):void
+ {
+ if (event.type == "ERROR") {
+ status.text = "Error: "+event.errorMessage;
+ } else {
+ status.text = "Write Success!";
+ }
+ }
+ ]]>
+ </fx:Script>
+
+ <fx:Style>
+
+ .labelStyle {
+ color: #9999FF;
+ }
+
+ .contentStyle {
+ font-size: 18pt;
+ }
+
+ </fx:Style>
+
+ <js:beads>
+ <js:ViewBaseDataBinding />
+ </js:beads>
+
+ <js:VContainer width="100%" height="100%">
+ <js:Label text="Storage Example" width="100%" />
+ <js:Spacer height="20" />
+
+ <js:HContainer>
+ <js:Label text="Write File Name:" className="labelStyle" />
+ <js:TextInput id="writeFileNameField" text="testfile.txt" />
+ </js:HContainer>
+ <js:HContainer>
+ <js:Label text="Content:" className="labelStyle" />
+ <js:TextInput id="contentField" />
+ </js:HContainer>
+ <js:TextButton text="SAVE" click="onSave()" />
+ <js:Spacer height="20" />
+
+ <js:Label id="status" />
+ <js:Spacer height="20" />
+
+ <js:HContainer>
+ <js:Label text="Read File Name:" className="labelStyle" />
+ <js:TextInput id="readFileNameField" text="testfile.txt" />
+ </js:HContainer>
+ <js:TextButton text="READ" click="onRead()" />
+ <js:HContainer>
+ <js:Label text="Content:" className="labelStyle" />
+ </js:HContainer>
+ <js:HContainer>
+ <js:Label id="readContent" className="contentStyle" />
+ </js:HContainer>
+ </js:VContainer>
+
+
+</js:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c69a390/examples/flexjs/StorageExample/src/StorageExample.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/src/StorageExample.mxml b/examples/flexjs/StorageExample/src/StorageExample.mxml
new file mode 100644
index 0000000..1b9842a
--- /dev/null
+++ b/examples/flexjs/StorageExample/src/StorageExample.mxml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!---
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+-->
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:local="*"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
+ >
+
+ <!-- This application demonstrates how to use the Google MAP API
+ on both the AIR and JavaScript/browser platform. After cross-
+ compiling this application for JavaScript, edit the index.html
+ file and include your Google developer API token.
+ -->
+
+ <js:valuesImpl>
+ <js:SimpleCSSValuesImpl />
+ </js:valuesImpl>
+ <js:initialView>
+ <local:MyInitialView />
+ </js:initialView>
+ <js:beads>
+ <js:MixinManager />
+ </js:beads>
+
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c69a390/examples/flexjs/StorageExample/src/models/MyModel.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/src/models/MyModel.as b/examples/flexjs/StorageExample/src/models/MyModel.as
new file mode 100644
index 0000000..e0dab68
--- /dev/null
+++ b/examples/flexjs/StorageExample/src/models/MyModel.as
@@ -0,0 +1,58 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package models
+{
+ import org.apache.flex.core.IBeadModel;
+ import org.apache.flex.core.IStrand;
+ import org.apache.flex.events.Event;
+ import org.apache.flex.events.EventDispatcher;
+
+ public class MyModel extends EventDispatcher implements IBeadModel
+ {
+ public function MyModel()
+ {
+ super();
+ }
+
+ private var _strand:IStrand;
+
+ public function set strand(value:IStrand):void
+ {
+ _strand = value;
+ }
+
+ private var _cities:Array = ["Sydney", "NYC", "Mexico City", "London", "Rio de Janeiro"];
+
+ [Bindable]
+ public function get cities():Array
+ {
+ return _cities;
+ }
+
+ private var _coordinates:Array = [{lat:-33.86, lng:151.211},
+ {lat:40.712, lng:-74.0059},
+ {lat:19.26, lng:-99.03},
+ {lat:51.4, lng:-0.1},
+ {lat:-22.95, lng:-43.12}];
+ public function get coordinates():Array
+ {
+ return _coordinates;
+ }
+ }
+}
\ No newline at end of file
[26/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - initial
support for QName and Namespaces in JS
Posted by ah...@apache.org.
initial support for QName and Namespaces in JS
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b4f50115
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b4f50115
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b4f50115
Branch: refs/heads/master
Commit: b4f50115d5169b90212f51254b0710430ad218f3
Parents: 1c4d36c
Author: Alex Harui <ah...@apache.org>
Authored: Thu Mar 10 19:28:11 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Mar 10 19:28:20 2016 -0800
----------------------------------------------------------------------
.../projects/Core/src/main/flex/CoreClasses.as | 2 +
.../projects/Core/src/main/flex/Namespace.as | 50 ++++++++++++++++++
frameworks/projects/Core/src/main/flex/QName.as | 53 ++++++++++++++++++++
manualtests/LanguageTests/src/LanguageTests.as | 26 ++++++++--
4 files changed, 128 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b4f50115/frameworks/projects/Core/src/main/flex/CoreClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/CoreClasses.as b/frameworks/projects/Core/src/main/flex/CoreClasses.as
index 5ad1688..b806f68 100644
--- a/frameworks/projects/Core/src/main/flex/CoreClasses.as
+++ b/frameworks/projects/Core/src/main/flex/CoreClasses.as
@@ -145,6 +145,8 @@ internal class CoreClasses
COMPILE::JS
{
import org.apache.flex.utils.Language; Language;
+ import QName; QName;
+ import Namespace; Namespace;
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b4f50115/frameworks/projects/Core/src/main/flex/Namespace.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/Namespace.as b/frameworks/projects/Core/src/main/flex/Namespace.as
new file mode 100644
index 0000000..305d88c
--- /dev/null
+++ b/frameworks/projects/Core/src/main/flex/Namespace.as
@@ -0,0 +1,50 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package {
+
+/**
+ * Namespace implementation for JS
+ */
+public class Namespace
+{
+ public function Namespace(param1:*, param2:* = undefined)
+ {
+ if (param2 !== undefined)
+ {
+ uri = param2;
+ prefix = param1;
+ }
+ else
+ {
+ uri = param1;
+ }
+ }
+
+ public var uri:String;
+ public var prefix:String;
+
+ public function toString():String
+ {
+ return uri;
+ }
+
+}
+
+}
+
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b4f50115/frameworks/projects/Core/src/main/flex/QName.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/QName.as b/frameworks/projects/Core/src/main/flex/QName.as
new file mode 100644
index 0000000..26c398b
--- /dev/null
+++ b/frameworks/projects/Core/src/main/flex/QName.as
@@ -0,0 +1,53 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package {
+
+/**
+ * QName implementation for JS
+ */
+public class QName
+{
+ public function QName(param1:Object, localName:String = null)
+ {
+ if (param1 is QName)
+ {
+ var q:QName = param1 as QName;
+ uri = q.uri;
+ localName = q.localName;
+ }
+ else if (param1 is Namespace)
+ {
+ var n:Namespace = param1 as Namespace;
+ uri = n.uri;
+ this.localName = localName;
+ }
+ }
+
+ public var uri:String;
+ public var localName:String;
+
+ public function toString():String
+ {
+ return uri + "::" + localName;
+ }
+
+}
+
+}
+
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b4f50115/manualtests/LanguageTests/src/LanguageTests.as
----------------------------------------------------------------------
diff --git a/manualtests/LanguageTests/src/LanguageTests.as b/manualtests/LanguageTests/src/LanguageTests.as
index 1343abe..8ed9c38 100644
--- a/manualtests/LanguageTests/src/LanguageTests.as
+++ b/manualtests/LanguageTests/src/LanguageTests.as
@@ -19,9 +19,6 @@
package
{
-import org.apache.flex.core.SimpleApplication;
-import org.apache.flex.events.Event;
-
import classes.B;
import interfaces.IA;
@@ -31,6 +28,9 @@ import interfaces.ID;
import interfaces.IE;
import interfaces.IF;
+import org.apache.flex.core.SimpleApplication;
+import org.apache.flex.events.Event;
+
public class LanguageTests extends SimpleApplication implements IA, IE
{
public function LanguageTests()
@@ -149,6 +149,19 @@ public class LanguageTests extends SimpleApplication implements IA, IE
trace("removeEventListener worked");
else
trace("This shouldn't show!");
+
+ var n:Namespace = new Namespace("my_ns", "http://www.apache.org/2016/flex/ns/internal");
+ trace("Namespace.prefix (should be my_ns): ", n.prefix);
+ trace("Namespace.uri (should be http://www.apache.org/2016/flex/ns/internal): ", n.uri);
+ var q:QName = new QName(n, "my_namespaced_property");
+ trace("QName.localName (should be my_namespaced_property): ", q.localName);
+ trace("QName.uri (should be http://www.apache.org/2016/flex/ns/internal): ", q.uri);
+ var o:MyDynamicClass = new MyDynamicClass;
+ o[q] = "value_of_namespaced_property";
+ trace("Get namespaced property via []: ", o[q]);
+ trace("Get namespaced property via ::: ", o.n::my_namespaced_property);
+ trace("Get namespaced property via my_ns: ", o.my_ns::my_namespaced_property);
+
}
public function eventHandler(e:Event):void
@@ -156,4 +169,11 @@ public class LanguageTests extends SimpleApplication implements IA, IE
}
}
+}
+
+namespace my_ns = "http://www.apache.org/2016/flex/ns/internal";
+
+dynamic class MyDynamicClass
+{
+ my_ns var my_namespaced_property:String;
}
\ No newline at end of file
[06/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Added
WebBrowser component. For SWF, it uses HTMLLoader. For JS,
it uses iFrame. In the Mobile project, a special view bead uses StageWebView.
Posted by ah...@apache.org.
Added WebBrowser component. For SWF, it uses HTMLLoader. For JS, it uses iFrame. In the Mobile project, a special view bead uses StageWebView.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/18deeaec
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/18deeaec
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/18deeaec
Branch: refs/heads/master
Commit: 18deeaecfef2035032ef56f2f1b12bba70bedd59
Parents: 9080199
Author: Peter Ent <pe...@apache.org>
Authored: Tue Feb 9 16:50:52 2016 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Tue Feb 9 16:50:52 2016 -0500
----------------------------------------------------------------------
.../projects/HTML/src/main/flex/HTMLClasses.as | 3 +
.../flex/org/apache/flex/html/WebBrowser.as | 145 ++++++++++++++
.../apache/flex/html/beads/WebBrowserView.as | 198 +++++++++++++++++++
.../flex/html/beads/models/WebBrowserModel.as | 100 ++++++++++
.../HTML/src/main/resources/basic-manifest.xml | 2 +
.../HTML/src/main/resources/defaults.css | 6 +
.../Mobile/src/main/flex/MobileClasses.as | 4 +
.../flex/mobile/beads/MobileWebBrowserView.as | 129 ++++++++++++
8 files changed, 587 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/18deeaec/frameworks/projects/HTML/src/main/flex/HTMLClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/HTMLClasses.as b/frameworks/projects/HTML/src/main/flex/HTMLClasses.as
index 052ab95..80073e7 100644
--- a/frameworks/projects/HTML/src/main/flex/HTMLClasses.as
+++ b/frameworks/projects/HTML/src/main/flex/HTMLClasses.as
@@ -163,6 +163,9 @@ internal class HTMLClasses
import org.apache.flex.html.MXMLBeadViewBase; MXMLBeadViewBase;
import org.apache.flex.html.beads.TitleBarView; TitleBarView;
import org.apache.flex.html.beads.TitleBarMeasurementBead; TitleBarMeasurementBead;
+
+ import org.apache.flex.html.beads.WebBrowserView; WebBrowserView;
+ import org.apache.flex.html.beads.models.WebBrowserModel; WebBrowserModel;
COMPILE::AS3
{
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/18deeaec/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/WebBrowser.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/WebBrowser.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/WebBrowser.as
new file mode 100644
index 0000000..009a508
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/WebBrowser.as
@@ -0,0 +1,145 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.html
+{
+ COMPILE::AS3 {
+ import flash.events.Event;
+ import flash.html.HTMLLoader;
+ import flash.net.URLRequest;
+
+ import org.apache.flex.events.utils.IHandlesOriginalEvent;
+ }
+ COMPILE::JS
+ {
+ import org.apache.flex.core.WrappedHTMLElement;
+ }
+
+ import org.apache.flex.core.UIBase
+ import org.apache.flex.html.beads.models.WebBrowserModel;
+
+ /**
+ * Dispatched whenever the WebBrowser's location has been changed.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ [Event(name="locationChanged", type="org.apache.flex.events.Event")]
+
+ /**
+ * The WebBrowser provides a space in which to display a web page within
+ * a FlexJS application. Use the url property to change the location of
+ * the web page being displayed.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ COMPILE::AS3
+ public class WebBrowser extends UIBase implements IHandlesOriginalEvent
+ {
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function WebBrowser()
+ {
+ super();
+ }
+
+ /**
+ * The location of the web page to display. Security restrictions may
+ * apply.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get url():String
+ {
+ return (model as WebBrowserModel).url;
+ }
+
+ public function set url(value:String):void
+ {
+ (model as WebBrowserModel).url = value;
+ }
+ }
+
+ COMPILE::JS
+ public class WebBrowser extends UIBase
+ {
+ /**
+ * Constructor
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function WebBrowser()
+ {
+ super();
+ }
+
+ /**
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ */
+ override protected function createElement():WrappedHTMLElement
+ {
+ element = document.createElement('iframe') as WrappedHTMLElement;
+ element.flexjs_wrapper = this;
+
+ var iframe:HTMLIFrameElement = element as HTMLIFrameElement;
+ iframe.frameBorder = "0";
+ iframe.src = "JavaScript:''";
+ iframe.sandbox = "allow-top-navigation allow-forms allow-scripts";
+
+ positioner = element;
+
+ return element;
+ }
+
+ /**
+ * The location of the web page to display. Security restrictions may
+ * apply.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get url():String
+ {
+ return (model as WebBrowserModel).url;
+ }
+
+ public function set url(value:String):void
+ {
+ (model as WebBrowserModel).url = value;
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/18deeaec/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/WebBrowserView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/WebBrowserView.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/WebBrowserView.as
new file mode 100644
index 0000000..cb14971
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/WebBrowserView.as
@@ -0,0 +1,198 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.html.beads
+{
+ COMPILE::AS3 {
+ import flash.events.Event;
+ import flash.html.HTMLLoader;
+ import flash.net.URLRequest;
+ }
+
+ import org.apache.flex.core.IBeadView;
+ import org.apache.flex.core.IStrand;
+ import org.apache.flex.core.IUIBase;
+ import org.apache.flex.core.UIBase;
+ import org.apache.flex.events.Event;
+ import org.apache.flex.events.IEventDispatcher;
+ import org.apache.flex.html.beads.models.WebBrowserModel;
+
+ /**
+ * The WebBrowserView creates an instance of HTMLLoader to load
+ * web pages into AIR application.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ COMPILE::AS3
+ public class WebBrowserView implements IBeadView
+ {
+ /**
+ * constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function WebBrowserView()
+ {
+ loader = new HTMLLoader();
+ loader.placeLoadStringContentInApplicationSandbox = false;
+
+ loader.addEventListener(flash.events.LocationChangeEvent.LOCATION_CHANGE, handleLocationChange);
+ }
+
+ private var _strand:IStrand;
+
+ private var loader:HTMLLoader;
+
+ /**
+ * @private
+ */
+ public function get host():IUIBase
+ {
+ return _strand as IUIBase;
+ }
+
+ /**
+ * @copy org.apache.flex.core.IBead#strand
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function set strand(value:IStrand):void
+ {
+ _strand = value;
+
+ (host as UIBase).addEventListener("widthChanged", handleSizeChange);
+ (host as UIBase).addEventListener("heightChanged", handleSizeChange);
+
+ var model:IEventDispatcher = (host as UIBase).model as IEventDispatcher;
+ model.addEventListener("urlChanged", loadPage);
+
+ loader.x = 0;
+ loader.y = 0;
+ loader.width = host.width;
+ loader.height = host.height;
+ (host as UIBase).addElement(loader);
+ }
+
+ /**
+ * @private
+ */
+ private function loadPage(event:org.apache.flex.events.Event):void
+ {
+ var model:WebBrowserModel = (host as UIBase).model as WebBrowserModel;
+ loader.load(new URLRequest(model.url));
+ }
+
+ /**
+ * @private
+ */
+ private function handleSizeChange(event:org.apache.flex.events.Event):void
+ {
+ loader.width = host.width;
+ loader.height = host.height;
+ }
+
+ /**
+ * @private
+ */
+ private function handleLocationChange(event:flash.events.LocationChangeEvent):void
+ {
+ var model:WebBrowserModel = (host as UIBase).model as WebBrowserModel;
+ model.setURL(loader.location);
+ host.dispatchEvent(new org.apache.flex.events.Event("locationChanged"));
+ }
+ }
+
+ COMPILE::JS
+ public class WebBrowserView implements IBeadView
+ {
+ /**
+ * Constructor
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function WebBrowserView()
+ {
+
+ }
+
+ private var _strand:IStrand;
+
+ /**
+ * @private
+ */
+ public function get host():IUIBase
+ {
+ return _strand as IUIBase;
+ }
+
+ /**
+ * @copy org.apache.flex.core.IBead#strand
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function set strand(value:IStrand):void
+ {
+ _strand = value;
+
+ var model:IEventDispatcher = (host as UIBase).model as IEventDispatcher;
+ model.addEventListener("urlChanged", loadPage);
+
+ var iframe:HTMLIFrameElement = (host as UIBase).element as HTMLIFrameElement;
+ iframe.addEventListener("pageshow", handlePageShow, false);
+ }
+
+ /**
+ * @private
+ */
+ private function loadPage(event:Event):void
+ {
+ var model:WebBrowserModel = (host as UIBase).model as WebBrowserModel;
+
+ var iframe:HTMLIFrameElement = (host as UIBase).element as HTMLIFrameElement;
+ iframe.src = model.url;
+ }
+
+ /**
+ * @private
+ */
+ private function handlePageShow(event:Event):void
+ {
+ var model:WebBrowserModel = (host as UIBase).model as WebBrowserModel;
+ var iframe:HTMLIFrameElement = (host as UIBase).element as HTMLIFrameElement;
+
+ model.setURL(iframe.src);
+ host.dispatchEvent(new org.apache.flex.events.Event("locationChanged"));
+ }
+ }
+}
+
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/18deeaec/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/models/WebBrowserModel.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/models/WebBrowserModel.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/models/WebBrowserModel.as
new file mode 100644
index 0000000..fbd823a
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/models/WebBrowserModel.as
@@ -0,0 +1,100 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.html.beads.models
+{
+ import org.apache.flex.core.IBeadModel;
+ import org.apache.flex.core.IStrand;
+ import org.apache.flex.events.Event;
+ import org.apache.flex.events.EventDispatcher;
+
+ /**
+ * The WebBrowserModel class bead defines the data associated with an org.apache.flex.html.WebBrowser
+ * component.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public class WebBrowserModel extends EventDispatcher implements IBeadModel
+ {
+ /**
+ * constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function WebBrowserModel()
+ {
+ super();
+ }
+
+ private var _strand:IStrand;
+
+ /**
+ * @copy org.apache.flex.core.IBead#strand
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function set strand(value:IStrand):void
+ {
+ _strand = value;
+ }
+
+ private var _url:String;
+
+ /**
+ * The URL to load into the WebBrowser.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get url():String
+ {
+ return _url;
+ }
+ public function set url(value:String):void
+ {
+ if (value != _url) {
+ _url = value;
+ dispatchEvent( new Event("urlChanged") );
+ }
+ }
+
+ /**
+ * Sets the URL value without dispatching an event.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function setURL(value:String):void
+ {
+ _url = value;
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/18deeaec/frameworks/projects/HTML/src/main/resources/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/resources/basic-manifest.xml b/frameworks/projects/HTML/src/main/resources/basic-manifest.xml
index 23dcccc..3b72af6 100644
--- a/frameworks/projects/HTML/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/HTML/src/main/resources/basic-manifest.xml
@@ -101,5 +101,7 @@
<component id="MXMLBeadViewBase" class="org.apache.flex.html.MXMLBeadViewBase"/>
<component id="Border" class="org.apache.flex.html.supportClasses.Border"/>
+
+ <component id="WebBrowser" class="org.apache.flex.html.WebBrowser" />
</componentPackage>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/18deeaec/frameworks/projects/HTML/src/main/resources/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/resources/defaults.css b/frameworks/projects/HTML/src/main/resources/defaults.css
index bb8ca6e..13d7418 100644
--- a/frameworks/projects/HTML/src/main/resources/defaults.css
+++ b/frameworks/projects/HTML/src/main/resources/defaults.css
@@ -336,6 +336,12 @@ ViewBase
IViewportModel: ClassReference("org.apache.flex.html.beads.models.ViewportModel");
}
+WebBrowser
+{
+ IBeadView: ClassReference("org.apache.flex.html.beads.WebBrowserView");
+ IBeadModel: ClassReference("org.apache.flex.html.beads.models.WebBrowserModel");
+}
+
/* Global Style Declaration */
global
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/18deeaec/frameworks/projects/Mobile/src/main/flex/MobileClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/flex/MobileClasses.as b/frameworks/projects/Mobile/src/main/flex/MobileClasses.as
index fc933aa..8643954 100644
--- a/frameworks/projects/Mobile/src/main/flex/MobileClasses.as
+++ b/frameworks/projects/Mobile/src/main/flex/MobileClasses.as
@@ -37,6 +37,10 @@ internal class MobileClasses
import org.apache.flex.mobile.chrome.TabBar; TabBar;
import org.apache.flex.mobile.chrome.ToolBar; ToolBar;
import org.apache.flex.mobile.models.ViewManagerModel; ViewManagerModel;
+
+ COMPILE::AS3 {
+ import org.apache.flex.mobile.beads.MobileWebBrowserView; MobileWebBrowserView;
+ }
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/18deeaec/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/MobileWebBrowserView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/MobileWebBrowserView.as b/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/MobileWebBrowserView.as
new file mode 100644
index 0000000..686d94f
--- /dev/null
+++ b/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/MobileWebBrowserView.as
@@ -0,0 +1,129 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.mobile.beads
+{
+ import flash.events.Event;
+ import flash.media.StageWebView;
+ import flash.geom.Rectangle;
+ import flash.geom.Point;
+
+ import org.apache.flex.core.IBeadView;
+ import org.apache.flex.core.IStrand;
+ import org.apache.flex.core.IUIBase;
+ import org.apache.flex.core.UIBase;
+ import org.apache.flex.events.Event;
+ import org.apache.flex.events.IEventDispatcher;
+ import org.apache.flex.html.beads.models.WebBrowserModel;
+
+ /**
+ * The MobileWebBrowserView creates an instance of StageWebView to load
+ * web pages into a mobile application. This class is available only
+ * for AS3 compiled mode. Note that StageWebView is attached directly to
+ * the stage and may obscure other components.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public class MobileWebBrowserView implements IBeadView
+ {
+ /**
+ * constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function MobileWebBrowserView()
+ {
+ stageWebView = new StageWebView();
+
+ stageWebView.addEventListener(flash.events.Event.COMPLETE, handleLocationChange);
+ }
+
+ private var _strand:IStrand;
+
+ private var stageWebView:StageWebView;
+
+ /**
+ * @private
+ */
+ public function get host():IUIBase
+ {
+ return _strand as IUIBase;
+ }
+
+ /**
+ * @copy org.apache.flex.core.IBead#strand
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function set strand(value:IStrand):void
+ {
+ _strand = value;
+
+ (host as UIBase).addEventListener("widthChanged", handleSizeChange);
+ (host as UIBase).addEventListener("heightChanged", handleSizeChange);
+
+ var model:IEventDispatcher = (host as UIBase).model as IEventDispatcher;
+ model.addEventListener("urlChanged", loadPage);
+
+ stageWebView.stage = (host as UIBase).stage;
+
+ var hostOrigin:Point = new Point(0,0);
+ var hostPosition:Point = (host as UIBase).localToGlobal(hostOrigin);
+ stageWebView.viewPort = new Rectangle( hostPosition.x, hostPosition.y, host.width, host.height );
+ }
+
+ /**
+ * @private
+ */
+ private function loadPage(event:org.apache.flex.events.Event):void
+ {
+ var model:WebBrowserModel = (host as UIBase).model as WebBrowserModel;
+ stageWebView.loadURL(model.url);
+ }
+
+ /**
+ * @private
+ */
+ private function handleSizeChange(event:org.apache.flex.events.Event):void
+ {
+ var hostOrigin:Point = new Point(0,0);
+ var hostPosition:Point = (host as UIBase).localToGlobal(hostOrigin);
+ stageWebView.viewPort = new Rectangle( hostPosition.x, hostPosition.y, host.width, host.height );
+ }
+
+ /**
+ * @private
+ */
+ private function handleLocationChange(event:flash.events.Event):void
+ {
+ var model:WebBrowserModel = (host as UIBase).model as WebBrowserModel;
+ model.setURL(stageWebView.location);
+ host.dispatchEvent(new org.apache.flex.events.Event("locationChanged"));
+ }
+ }
+}
+
[38/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - fix up
ant scripts to hanlde both repo folder structure and binary package folder
structure
Posted by ah...@apache.org.
fix up ant scripts to hanlde both repo folder structure and binary package folder structure
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a97af6eb
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a97af6eb
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a97af6eb
Branch: refs/heads/master
Commit: a97af6eb23f73609601ab8b8227a15e3ab64f4a1
Parents: d3f59fa
Author: Alex Harui <ah...@apache.org>
Authored: Wed Mar 23 17:33:49 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Mar 23 17:34:01 2016 -0700
----------------------------------------------------------------------
examples/flexjs/ChartExample/build.xml | 16 ++++++++++++++++
examples/flexjs/DataGridExample/build.xml | 16 ++++++++++++++++
examples/flexjs/FlexJSStore_jquery/build.xml | 16 ++++++++++++++++
examples/flexjs/MapSearch/build.xml | 16 ++++++++++++++++
examples/flexjs/MobileTrader/build.xml | 16 ++++++++++++++++
examples/flexjs/StorageExample/build.xml | 16 ++++++++++++++++
examples/flexjs/TreeExample/build.xml | 16 ++++++++++++++++
frameworks/projects/Binding/build.xml | 7 +++++++
frameworks/projects/Charts/build.xml | 7 +++++++
frameworks/projects/Collections/build.xml | 7 +++++++
frameworks/projects/Core/build.xml | 7 +++++++
frameworks/projects/CreateJS/build.xml | 11 ++++++++++-
frameworks/projects/DragDrop/build.xml | 7 +++++++
frameworks/projects/Effects/build.xml | 7 +++++++
frameworks/projects/Flat/build.xml | 7 +++++++
frameworks/projects/Formatters/build.xml | 6 ++++++
frameworks/projects/GoogleMaps/build.xml | 11 ++++++++++-
frameworks/projects/Graphics/build.xml | 6 ++++++
frameworks/projects/HTML/build.xml | 6 ++++++
frameworks/projects/HTML5/build.xml | 6 ++++++
frameworks/projects/JQuery/build.xml | 11 ++++++++++-
frameworks/projects/Mobile/build.xml | 6 ++++++
frameworks/projects/Network/build.xml | 6 ++++++
frameworks/projects/Reflection/build.xml | 6 ++++++
frameworks/projects/Storage/build.xml | 9 +++++++++
25 files changed, 242 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/examples/flexjs/ChartExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/ChartExample/build.xml b/examples/flexjs/ChartExample/build.xml
index 3eaa208..dc88d34 100644
--- a/examples/flexjs/ChartExample/build.xml
+++ b/examples/flexjs/ChartExample/build.xml
@@ -30,6 +30,22 @@
<include file="${basedir}/../../build_example.xml" />
+ <condition property="extlib_arg" value="-external-library-path=${FLEXJS_HOME}/js/libs/js.swc" >
+ <and>
+ <not>
+ <isset property="extlib_arg" />
+ </not>
+ <available file="${FLEXJS_HOME}/js/libs/js.swc" type="file" />
+ </and>
+ </condition>
+ <condition property="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../js/libs/js.swc" >
+ <and>
+ <not>
+ <isset property="extlib_arg" />
+ </not>
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" type="file" />
+ </and>
+ </condition>
<property name="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../externs/js/out/bin/js.swc"/>
<!-- temp remove build_example.compilejs -->
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/examples/flexjs/DataGridExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataGridExample/build.xml b/examples/flexjs/DataGridExample/build.xml
index 34c9abf..bb8bfca 100644
--- a/examples/flexjs/DataGridExample/build.xml
+++ b/examples/flexjs/DataGridExample/build.xml
@@ -30,6 +30,22 @@
<include file="${basedir}/../../build_example.xml" />
+ <condition property="extlib_arg" value="-external-library-path=${FLEXJS_HOME}/js/libs/js.swc" >
+ <and>
+ <not>
+ <isset property="extlib_arg" />
+ </not>
+ <available file="${FLEXJS_HOME}/js/libs/js.swc" type="file" />
+ </and>
+ </condition>
+ <condition property="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../js/libs/js.swc" >
+ <and>
+ <not>
+ <isset property="extlib_arg" />
+ </not>
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" type="file" />
+ </and>
+ </condition>
<property name="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../externs/js/out/bin/js.swc"/>
<target name="main" depends="clean,build_example.compile,build_example.compilejs" description="Clean build of ${example}">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/examples/flexjs/FlexJSStore_jquery/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/build.xml b/examples/flexjs/FlexJSStore_jquery/build.xml
index 53f5caf..4bd6297 100644
--- a/examples/flexjs/FlexJSStore_jquery/build.xml
+++ b/examples/flexjs/FlexJSStore_jquery/build.xml
@@ -30,6 +30,22 @@
<include file="${basedir}/../../build_example.xml" />
+ <condition property="extlib_arg" value="-external-library-path=${FLEXJS_HOME}/js/libs/jquery.swc" >
+ <and>
+ <not>
+ <isset property="extlib_arg" />
+ </not>
+ <available file="${FLEXJS_HOME}/js/libs/jquery.swc" type="file" />
+ </and>
+ </condition>
+ <condition property="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../js/libs/jquery.swc" >
+ <and>
+ <not>
+ <isset property="extlib_arg" />
+ </not>
+ <available file="${FALCONJX_HOME}/../js/libs/jquery.swc" type="file" />
+ </and>
+ </condition>
<property name="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../externs/jquery/out/bin/jquery-1.9.swc"/>
<property name="opt1_arg" value="-js-output-optimization=skipFunctionCoercions" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/examples/flexjs/MapSearch/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MapSearch/build.xml b/examples/flexjs/MapSearch/build.xml
index c35e408..b6be693 100644
--- a/examples/flexjs/MapSearch/build.xml
+++ b/examples/flexjs/MapSearch/build.xml
@@ -51,6 +51,22 @@
<include file="${basedir}/../../build_example.xml" />
+ <condition property="extlib_arg" value="-external-library-path=${FLEXJS_HOME}/js/libs/google_maps.swc" >
+ <and>
+ <not>
+ <isset property="extlib_arg" />
+ </not>
+ <available file="${FLEXJS_HOME}/js/libs/google_maps.swc" type="file" />
+ </and>
+ </condition>
+ <condition property="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../js/libs/google_maps.swc" >
+ <and>
+ <not>
+ <isset property="extlib_arg" />
+ </not>
+ <available file="${FALCONJX_HOME}/../js/libs/google_maps.swc" type="file" />
+ </and>
+ </condition>
<property name="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../externs/google_maps/out/bin/google_maps.swc"/>
<property name="opt1_arg" value="-remove-circulars" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/examples/flexjs/MobileTrader/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/build.xml b/examples/flexjs/MobileTrader/build.xml
index e1b9c97..9c9b677 100644
--- a/examples/flexjs/MobileTrader/build.xml
+++ b/examples/flexjs/MobileTrader/build.xml
@@ -30,6 +30,22 @@
<include file="${basedir}/../../build_example.xml" />
+ <condition property="extlib_arg" value="-external-library-path=${FLEXJS_HOME}/js/libs/js.swc" >
+ <and>
+ <not>
+ <isset property="extlib_arg" />
+ </not>
+ <available file="${FLEXJS_HOME}/js/libs/js.swc" type="file" />
+ </and>
+ </condition>
+ <condition property="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../js/libs/js.swc" >
+ <and>
+ <not>
+ <isset property="extlib_arg" />
+ </not>
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" type="file" />
+ </and>
+ </condition>
<property name="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../externs/js/out/bin/js.swc"/>
<target name="main" depends="clean,build_example.compile,build_example.compilejs" description="Clean build of ${example}">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/examples/flexjs/StorageExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/build.xml b/examples/flexjs/StorageExample/build.xml
index a976cad..dcb2948 100644
--- a/examples/flexjs/StorageExample/build.xml
+++ b/examples/flexjs/StorageExample/build.xml
@@ -51,6 +51,22 @@
<include file="${basedir}/../../build_example.xml" />
+ <condition property="extlib_arg" value="-external-library-path=${FLEXJS_HOME}/js/libs/cordova.swc" >
+ <and>
+ <not>
+ <isset property="extlib_arg" />
+ </not>
+ <available file="${FLEXJS_HOME}/js/libs/cordova.swc" type="file" />
+ </and>
+ </condition>
+ <condition property="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../js/libs/cordova.swc" >
+ <and>
+ <not>
+ <isset property="extlib_arg" />
+ </not>
+ <available file="${FALCONJX_HOME}/../js/libs/cordova.swc" type="file" />
+ </and>
+ </condition>
<property name="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../externs/cordova/out/bin/cordova.swc"/>
<property name="opt1_arg" value="-remove-circulars" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/examples/flexjs/TreeExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/TreeExample/build.xml b/examples/flexjs/TreeExample/build.xml
index c2fcd0d..449e778 100644
--- a/examples/flexjs/TreeExample/build.xml
+++ b/examples/flexjs/TreeExample/build.xml
@@ -30,6 +30,22 @@
<include file="${basedir}/../../build_example.xml" />
+ <condition property="extlib_arg" value="-external-library-path=${FLEXJS_HOME}/js/libs/js.swc" >
+ <and>
+ <not>
+ <isset property="extlib_arg" />
+ </not>
+ <available file="${FLEXJS_HOME}/js/libs/js.swc" type="file" />
+ </and>
+ </condition>
+ <condition property="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../js/libs/js.swc" >
+ <and>
+ <not>
+ <isset property="extlib_arg" />
+ </not>
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" type="file" />
+ </and>
+ </condition>
<property name="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../externs/js/out/bin/js.swc"/>
<target name="main" depends="clean,build_example.compile,build_example.compilejs" description="Clean build of ${example}">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/Binding/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/build.xml b/frameworks/projects/Binding/build.xml
index 06c7c40..29ffbe4 100644
--- a/frameworks/projects/Binding/build.xml
+++ b/frameworks/projects/Binding/build.xml
@@ -28,8 +28,15 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+
<property name="target.name" value="Binding-${release.version}.swc" />
<property name="target.name.no.version" value="Binding.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/Charts/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/build.xml b/frameworks/projects/Charts/build.xml
index ce3de72..268eaab 100644
--- a/frameworks/projects/Charts/build.xml
+++ b/frameworks/projects/Charts/build.xml
@@ -28,8 +28,15 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+
<property name="target.name" value="Charts-${release.version}.swc" />
<property name="target.name.no.version" value="Charts.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/Collections/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/build.xml b/frameworks/projects/Collections/build.xml
index b94ec18..90e8757 100644
--- a/frameworks/projects/Collections/build.xml
+++ b/frameworks/projects/Collections/build.xml
@@ -28,8 +28,15 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+
<property name="target.name" value="Collections-${release.version}.swc" />
<property name="target.name.no.version" value="Collections.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/Core/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/build.xml b/frameworks/projects/Core/build.xml
index 009ab52..2d1b251 100644
--- a/frameworks/projects/Core/build.xml
+++ b/frameworks/projects/Core/build.xml
@@ -28,8 +28,15 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+
<property name="target.name" value="Core-${release.version}.swc" />
<property name="target.name.no.version" value="Core.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/CreateJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/build.xml b/frameworks/projects/CreateJS/build.xml
index 2d0018e..caed5c7 100644
--- a/frameworks/projects/CreateJS/build.xml
+++ b/frameworks/projects/CreateJS/build.xml
@@ -28,9 +28,18 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
- <property name="CREATEJS.SWC" value="${FALCONJX_HOME}/../externs/createjs/out/bin/createjs.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <condition property="CREATEJS.SWC" value="${FALCONJX_HOME}/../js/libs/createjs.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/createjs.swc" />
+ </condition>
+ <property name="CREATEJS.SWC" value="${FALCONJX_HOME}/../externs/createjs/out/bin/createjs.swc" />
<condition property="no.lint" value="true">
<os family="windows"/>
</condition>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/DragDrop/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/build.xml b/frameworks/projects/DragDrop/build.xml
index 930716f..ef605af 100644
--- a/frameworks/projects/DragDrop/build.xml
+++ b/frameworks/projects/DragDrop/build.xml
@@ -28,8 +28,15 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+
<property name="target.name" value="DragDrop-${release.version}.swc" />
<property name="target.name.no.version" value="DragDrop.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/Effects/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/build.xml b/frameworks/projects/Effects/build.xml
index 84062df..a469f5e 100644
--- a/frameworks/projects/Effects/build.xml
+++ b/frameworks/projects/Effects/build.xml
@@ -28,8 +28,15 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+
<property name="target.name" value="Effects-${release.version}.swc" />
<property name="target.name.no.version" value="Effects.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/Flat/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/build.xml b/frameworks/projects/Flat/build.xml
index 858b6d2..9bc139f 100644
--- a/frameworks/projects/Flat/build.xml
+++ b/frameworks/projects/Flat/build.xml
@@ -28,8 +28,15 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+
<property name="target.name" value="Flat-${release.version}.swc" />
<property name="target.name.no.version" value="Flat.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/Formatters/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/build.xml b/frameworks/projects/Formatters/build.xml
index 2048821..9f57088 100644
--- a/frameworks/projects/Formatters/build.xml
+++ b/frameworks/projects/Formatters/build.xml
@@ -28,7 +28,13 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
<property name="target.name" value="Formatters-${release.version}.swc" />
<property name="target.name.no.version" value="Formatters.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/GoogleMaps/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/build.xml b/frameworks/projects/GoogleMaps/build.xml
index f9e3654..2bdd19d 100644
--- a/frameworks/projects/GoogleMaps/build.xml
+++ b/frameworks/projects/GoogleMaps/build.xml
@@ -28,9 +28,18 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
- <property name="GOOGLEMAPS.SWC" value="${FALCONJX_HOME}/../externs/google_maps/out/bin/google_maps.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <condition property="GOOGLEMAPS.SWC" value="${FALCONJX_HOME}/../js/libs/google_maps.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/google_maps.swc" />
+ </condition>
+ <property name="GOOGLEMAPS.SWC" value="${FALCONJX_HOME}/../externs/google_maps/out/bin/google_maps.swc" />
<property name="target.name" value="GoogleMaps-${release.version}.swc" />
<property name="target.name.no.version" value="GoogleMaps.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/Graphics/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/build.xml b/frameworks/projects/Graphics/build.xml
index 25463f7..c05b49a 100644
--- a/frameworks/projects/Graphics/build.xml
+++ b/frameworks/projects/Graphics/build.xml
@@ -28,7 +28,13 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
<property name="target.name" value="Graphics-${release.version}.swc" />
<property name="target.name.no.version" value="Graphics.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/HTML/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/build.xml b/frameworks/projects/HTML/build.xml
index 3305178..a70c56f 100644
--- a/frameworks/projects/HTML/build.xml
+++ b/frameworks/projects/HTML/build.xml
@@ -28,7 +28,13 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
<property name="target.name" value="HTML-${release.version}.swc" />
<property name="target.name.no.version" value="HTML.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/HTML5/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/build.xml b/frameworks/projects/HTML5/build.xml
index 11d0829..a316de6 100644
--- a/frameworks/projects/HTML5/build.xml
+++ b/frameworks/projects/HTML5/build.xml
@@ -28,7 +28,13 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
<property name="target.name" value="HTML5-${release.version}.swc" />
<property name="target.name.no.version" value="HTML5.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/JQuery/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/build.xml b/frameworks/projects/JQuery/build.xml
index ba3a857..754b23a 100644
--- a/frameworks/projects/JQuery/build.xml
+++ b/frameworks/projects/JQuery/build.xml
@@ -28,9 +28,18 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
- <property name="JQUERY.SWC" value="${FALCONJX_HOME}/../externs/jquery/out/bin/jquery-1.9.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <condition property="JQUERY.SWC" value="${FALCONJX_HOME}/../js/libs/jquery.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/jquery.swc" />
+ </condition>
+ <property name="JQUERY.SWC" value="${FALCONJX_HOME}/../externs/jquery/out/bin/jquery-1.9.swc" />
<property name="target.name" value="JQuery-${release.version}.swc" />
<property name="target.name.no.version" value="JQuery.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/Mobile/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/build.xml b/frameworks/projects/Mobile/build.xml
index 9666013..3def2bf 100644
--- a/frameworks/projects/Mobile/build.xml
+++ b/frameworks/projects/Mobile/build.xml
@@ -28,7 +28,13 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
<property name="target.name" value="Mobile-${release.version}.swc" />
<property name="target.name.no.version" value="Mobile.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/Network/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/build.xml b/frameworks/projects/Network/build.xml
index b7696a2..8a2e7fd 100644
--- a/frameworks/projects/Network/build.xml
+++ b/frameworks/projects/Network/build.xml
@@ -28,7 +28,13 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
<property name="target.name" value="Network-${release.version}.swc" />
<property name="target.name.no.version" value="Network.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/Reflection/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/build.xml b/frameworks/projects/Reflection/build.xml
index b15f68a..3b5038c 100644
--- a/frameworks/projects/Reflection/build.xml
+++ b/frameworks/projects/Reflection/build.xml
@@ -28,7 +28,13 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
<property name="target.name" value="Reflection-${release.version}.swc" />
<property name="target.name.no.version" value="Reflection.swc" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a97af6eb/frameworks/projects/Storage/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/build.xml b/frameworks/projects/Storage/build.xml
index 6fc0ed5..66508c1 100644
--- a/frameworks/projects/Storage/build.xml
+++ b/frameworks/projects/Storage/build.xml
@@ -28,8 +28,17 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/js.swc" />
+ </condition>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
+ </condition>
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <condition property="CORDOVA.SWC" value="${FALCONJX_HOME}/../js/libs/cordova.swc" >
+ <available file="${FALCONJX_HOME}/../js/libs/cordova.swc" />
+ </condition>
<property name="CORDOVA.SWC" value="${FALCONJX_HOME}/../externs/cordova/out/bin/cordova.swc" />
<property name="target.name" value="Storage-${release.version}.swc" />
<property name="target.name.no.version" value="Storage.swc" />
[16/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Initial
Proxy implementation for FlexJS
Posted by ah...@apache.org.
Initial Proxy implementation for FlexJS
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d5ee78af
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d5ee78af
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d5ee78af
Branch: refs/heads/master
Commit: d5ee78af8021529921a760abbd1806c2d20657ee
Parents: 4c73001
Author: Alex Harui <ah...@apache.org>
Authored: Sun Feb 21 22:03:43 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Sun Feb 21 22:03:43 2016 -0800
----------------------------------------------------------------------
.../projects/Core/src/main/flex/CoreClasses.as | 2 +
.../main/flex/org/apache/flex/utils/Proxy.as | 152 +++++++++++++++++++
manualtests/ProxyTest/build.xml | 72 +++++++++
manualtests/ProxyTest/src/MyInitialView.mxml | 67 ++++++++
manualtests/ProxyTest/src/ProxyTest.mxml | 40 +++++
manualtests/ProxyTest/src/README.txt | 45 ++++++
.../ProxyTest/src/controllers/MyController.as | 52 +++++++
manualtests/ProxyTest/src/models/MyModel.as | 125 +++++++++++++++
8 files changed, 555 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d5ee78af/frameworks/projects/Core/src/main/flex/CoreClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/CoreClasses.as b/frameworks/projects/Core/src/main/flex/CoreClasses.as
index ee984aa..5ad1688 100644
--- a/frameworks/projects/Core/src/main/flex/CoreClasses.as
+++ b/frameworks/projects/Core/src/main/flex/CoreClasses.as
@@ -140,6 +140,8 @@ internal class CoreClasses
import org.apache.flex.core.ParentDocumentBead; ParentDocumentBead;
import org.apache.flex.utils.CSSUtils; CSSUtils;
+ import org.apache.flex.utils.Proxy; Proxy;
+
COMPILE::JS
{
import org.apache.flex.utils.Language; Language;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d5ee78af/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Proxy.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Proxy.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Proxy.as
new file mode 100644
index 0000000..39b6945
--- /dev/null
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Proxy.as
@@ -0,0 +1,152 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.utils
+{
+COMPILE::AS3
+{
+ import flash.utils.Proxy;
+ import flash.utils.flash_proxy;
+}
+
+COMPILE::JS
+{
+ import org.apache.flex.events.EventDispatcher;
+}
+
+//--------------------------------------
+// Events
+//--------------------------------------
+
+/**
+ * The Proxy class calls methods when properties
+ * are set and read and deleted.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+COMPILE::AS3
+public dynamic class Proxy extends flash.utils.Proxy
+{
+ private var valueMap:Object = {};
+
+ override flash_proxy function getProperty(propName:*):*
+ {
+ return valueMap[propName];
+ }
+
+ override flash_proxy function setProperty(propName:*, value:*):void
+ {
+ valueMap[propName] = value;
+ }
+
+ override flash_proxy function hasProperty(propName:*):Boolean
+ {
+ return valueMap.hasOwnProperty(propName);
+ }
+
+ override flash_proxy function deleteProperty(propName:*):Boolean
+ {
+ return delete valueMap[propName];
+ }
+
+ private var names:Array;
+
+ override flash_proxy function nextNameIndex (index:int):int
+ {
+ // initial call
+ if (index == 0) {
+ names = new Array();
+ for (var p:* in valueMap) {
+ names.push(p);
+ }
+ }
+
+ if (index < names.length) {
+ return index + 1;
+ } else {
+ return 0;
+ }
+ }
+
+ override flash_proxy function nextName(index:int):String
+ {
+ return names[index - 1];
+ }
+
+ override flash_proxy function nextValue(index:int):*
+ {
+ return valueMap[names[index - 1]];
+ }
+}
+
+COMPILE::JS
+public dynamic class Proxy extends EventDispatcher
+{
+ /**
+ * Constructor.
+ *
+ * @param delay The number of milliseconds
+ * to wait before dispatching the event.
+ * @param repeatCount The number of times to dispatch
+ * the event. If 0, keep dispatching forever.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function Proxy()
+ {
+ }
+
+
+ private var valueMap:Object = {};
+
+ public function getProperty(propName:String):*
+ {
+ return valueMap[propName];
+ }
+
+ public function setProperty(propName:String, value:*):void
+ {
+ valueMap[propName] = value;
+ }
+
+ public function hasProperty(propName:String):Boolean
+ {
+ return valueMap.hasOwnProperty(propName);
+ }
+
+ public function deleteProperty(propName:String):void
+ {
+ delete valueMap[propName];
+ }
+
+ public function elementNames():Array
+ {
+ var names:Array = [];
+ for (var p:String in valueMap)
+ names.push(p);
+ return names;
+ }
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d5ee78af/manualtests/ProxyTest/build.xml
----------------------------------------------------------------------
diff --git a/manualtests/ProxyTest/build.xml b/manualtests/ProxyTest/build.xml
new file mode 100644
index 0000000..2e1bcb7
--- /dev/null
+++ b/manualtests/ProxyTest/build.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+
+
+<project name="proxytest" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../.."/>
+ <property name="example" value="ProxyTest" />
+
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <!-- use this to add keep metadata option -->
+ <property name="theme_arg" value="-keep-as3-metadata+=Event" />
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/generated/dist/sdk/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler/generated/dist/sdk"/>
+
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${env.FALCONJX_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler.jx/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler.jx"/>
+
+ <available file="${env.GOOG_HOME}/closure/goog/base.js"
+ type="file"
+ property="GOOG_HOME"
+ value="${env.GOOG_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/js/lib/google/closure-library/closure/goog/base.js"
+ type="file"
+ property="GOOG_HOME"
+ value="${FLEXJS_HOME}/js/lib/google/closure-library"/>
+
+ <include file="${basedir}/../build_example.xml" />
+
+ <target name="main" depends="clean,build_example.compile,build_example.compilejs" description="Clean build of FlexJSUI.swc">
+ </target>
+
+ <target name="clean">
+ <delete dir="${basedir}/bin" failonerror="false" />
+ <delete dir="${basedir}/bin-debug" failonerror="false" />
+ <delete dir="${basedir}/bin-release" failonerror="false" />
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d5ee78af/manualtests/ProxyTest/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/manualtests/ProxyTest/src/MyInitialView.mxml b/manualtests/ProxyTest/src/MyInitialView.mxml
new file mode 100644
index 0000000..9b51ed8
--- /dev/null
+++ b/manualtests/ProxyTest/src/MyInitialView.mxml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
+ xmlns:local="*"
+ xmlns:models="models.*"
+ xmlns:acc="org.apache.flex.html.accessories.*">
+
+ <fx:Style>
+ .title {
+ font-size: 14pt;
+ font-weight: bold;
+ }
+
+ </fx:Style>
+
+ <fx:Script>
+ <![CDATA[
+ import org.apache.flex.core.IPopUpHost;
+ import org.apache.flex.events.Event;
+ import org.apache.flex.utils.UIUtils;
+
+ import org.apache.flex.utils.Proxy;
+
+ public function runTest():void
+ {
+ var p:Proxy = new Proxy();
+ p.foo = "bar";
+ trace(p.foo);
+ var o:Object = p;
+ // in SWF, this should work, but in JS you should get undefined
+ trace(o.foo);
+ var s:String = p.foo + "bar";
+ trace(s); // barbar
+ p.foo += "bar";
+ trace(p.foo); // barbar
+ }
+ ]]>
+ </fx:Script>
+
+ <js:Container id="cont" width="600" height="700" x="50" y="50">
+ <js:beads>
+ <js:VerticalLayout />
+ </js:beads>
+
+ <js:Label text="Proxy Test" className="title" />
+ <js:TextButton text="Test" click="runTest()" />
+ </js:Container>
+
+</js:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d5ee78af/manualtests/ProxyTest/src/ProxyTest.mxml
----------------------------------------------------------------------
diff --git a/manualtests/ProxyTest/src/ProxyTest.mxml b/manualtests/ProxyTest/src/ProxyTest.mxml
new file mode 100644
index 0000000..27e97b5
--- /dev/null
+++ b/manualtests/ProxyTest/src/ProxyTest.mxml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!---
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+-->
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:local="*"
+ xmlns:models="models.*"
+ xmlns:controllers="controllers.*"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
+ >
+
+ <js:valuesImpl>
+ <js:SimpleCSSValuesImpl />
+ </js:valuesImpl>
+ <js:controller>
+ <controllers:MyController />
+ </js:controller>
+ <js:model>
+ <models:MyModel />
+ </js:model>
+ <js:initialView>
+ <local:MyInitialView />
+ </js:initialView>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d5ee78af/manualtests/ProxyTest/src/README.txt
----------------------------------------------------------------------
diff --git a/manualtests/ProxyTest/src/README.txt b/manualtests/ProxyTest/src/README.txt
new file mode 100644
index 0000000..f38df7f
--- /dev/null
+++ b/manualtests/ProxyTest/src/README.txt
@@ -0,0 +1,45 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+DESCRIPTION
+
+The FormExample application demonstrates several FlexJS components and how they
+can be aligned in a column, much like you would see in a form.
+
+This Flex application may be run as a Flash SWF or cross-compiled (using Falcon JX)
+into JavaScript and HTML and run without Flash.
+
+The components are placed into a Container with a VerticalColumnLayout bead. This bead
+examines each of the children in the Container and aligns them in two columns.
+
+COMPONENTS and BEADS
+
+- Container
+- DateField
+- Label
+- TextInput
+
+- NonVirtualVerticalLayout
+- NumericOnlyTextInputBead
+- VerticalColumnLayout
+
+NOTES
+
+The cross-compilation to JavaScript often results in non-fatal warnings. Some of these warnings
+should be addressed in future releases of the Falcon JX compiler.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d5ee78af/manualtests/ProxyTest/src/controllers/MyController.as
----------------------------------------------------------------------
diff --git a/manualtests/ProxyTest/src/controllers/MyController.as b/manualtests/ProxyTest/src/controllers/MyController.as
new file mode 100644
index 0000000..0d72c69
--- /dev/null
+++ b/manualtests/ProxyTest/src/controllers/MyController.as
@@ -0,0 +1,52 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package controllers
+{
+ import org.apache.flex.events.Event;
+
+ import org.apache.flex.core.Application;
+ import org.apache.flex.core.IDocument;
+
+ import models.MyModel;
+
+ public class MyController implements IDocument
+ {
+ public function MyController(app:Application = null)
+ {
+ if (app)
+ {
+ this.app = app as ProxyTest;
+ app.addEventListener("viewChanged", viewChangeHandler);
+ }
+ }
+
+ private var app:ProxyTest;
+
+ private function viewChangeHandler(event:Event):void
+ {
+ }
+
+ public function setDocument(document:Object, id:String = null):void
+ {
+ this.app = document as ProxyTest;
+ app.addEventListener("viewChanged", viewChangeHandler);
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d5ee78af/manualtests/ProxyTest/src/models/MyModel.as
----------------------------------------------------------------------
diff --git a/manualtests/ProxyTest/src/models/MyModel.as b/manualtests/ProxyTest/src/models/MyModel.as
new file mode 100644
index 0000000..5a16d02
--- /dev/null
+++ b/manualtests/ProxyTest/src/models/MyModel.as
@@ -0,0 +1,125 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package models
+{
+ import org.apache.flex.events.Event;
+ import org.apache.flex.events.EventDispatcher;
+
+ public class MyModel extends EventDispatcher
+ {
+ public function MyModel()
+ {
+ }
+
+ private var _requestedField:String = "Ask";
+
+ [Bindable("requestedFieldChanged")]
+ public function get requestedField():String
+ {
+ return _requestedField;
+ }
+
+ public function set requestedField(value:String):void
+ {
+ if (value != _requestedField)
+ {
+ _requestedField = value;
+ dispatchEvent(new Event("requestedFieldChanged"));
+ if (_responseData)
+ dispatchEvent(new Event("responseTextChanged"));
+ }
+ }
+
+ [Bindable("responseTextChanged")]
+ public function get responseText():String
+ {
+ if (_responseData == null)
+ return "";
+ if (_responseData == "No Data")
+ return _responseData as String;
+ var s:String = _responseData[_requestedField];
+ if (s == null)
+ {
+ if (_requestedField == "Ask")
+ s = _responseData["Bid"];
+ }
+ return s;
+ }
+
+ private var _responseData:Object;
+
+ [Bindable("responseDataChanged")]
+ public function get responseData():Object
+ {
+ return _responseData;
+ }
+
+ public function set responseData(value:Object):void
+ {
+ if (value != _responseData)
+ {
+ _responseData = value;
+ _allData = "";
+ dispatchEvent(new Event("responseDataChanged"));
+ dispatchEvent(new Event("responseTextChanged"));
+ }
+ }
+
+ private var _allData:String = "";
+
+ [Bindable("responseDataChanged")]
+ public function get allData():String
+ {
+ if (_allData == "" && _responseData != null)
+ {
+ for (var p:String in _responseData)
+ {
+ _allData += p + ": " + _responseData[p] + "\n";
+ }
+ }
+ return _allData;
+ }
+
+
+ private var _stockSymbol:String;
+
+ [Bindable("stockSymbolChanged")]
+ public function get stockSymbol():String
+ {
+ return _stockSymbol;
+ }
+
+ public function set stockSymbol(value:String):void
+ {
+ if (value != _stockSymbol)
+ {
+ _stockSymbol = value;
+ dispatchEvent(new Event("stockSymbolChanged"));
+ }
+ }
+
+ private var _strings:Array = ["AAPL", "ADBE", "GOOG", "MSFT", "YHOO"];
+ [Bindable("__NoChangeEvent__")]
+ public function get strings():Array
+ {
+ return _strings;
+ }
+
+ }
+}
\ No newline at end of file
[09/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] -
intellij-config.xml: updated paths to manifests to match
frameworks/projects/flex-config.xml
Posted by ah...@apache.org.
intellij-config.xml: updated paths to manifests to match frameworks/projects/flex-config.xml
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8156e98b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8156e98b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8156e98b
Branch: refs/heads/master
Commit: 8156e98b355df265954692625d76883389168182
Parents: 4d0f00f
Author: Josh Tynjala <jo...@apache.org>
Authored: Fri Feb 12 09:36:36 2016 -0800
Committer: Josh Tynjala <jo...@apache.org>
Committed: Fri Feb 12 09:36:36 2016 -0800
----------------------------------------------------------------------
ide/IDEA/intellij-config.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8156e98b/ide/IDEA/intellij-config.xml
----------------------------------------------------------------------
diff --git a/ide/IDEA/intellij-config.xml b/ide/IDEA/intellij-config.xml
index 42ff4d4..e472ee4 100644
--- a/ide/IDEA/intellij-config.xml
+++ b/ide/IDEA/intellij-config.xml
@@ -49,18 +49,18 @@
<namespace>
<uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>../../frameworks/projects/Core/basic-manifest.xml</manifest>
+ <manifest>../../frameworks/projects/Core/src/main/resources/basic-manifest.xml</manifest>
</namespace>
<namespace>
<uri>library://ns.apache.org/flexjs/html5</uri>
- <manifest>../../frameworks/projects/HTML5/html5-manifest.xml</manifest>
+ <manifest>../../frameworks/projects/HTML5/src/main/resources/html5-manifest.xml</manifest>
</namespace>
<namespace>
<uri>library://ns.apache.org/flexjs/svg</uri>
- <manifest>../../frameworks/projects/HTML/svg-manifest.xml</manifest>
+ <manifest>../../frameworks/projects/HTML/src/main/resources/svg-manifest.xml</manifest>
</namespace>
</namespaces>
[46/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - fix
issues with release packaging, installation and approval
Posted by ah...@apache.org.
fix issues with release packaging, installation and approval
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/4c94b551
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/4c94b551
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/4c94b551
Branch: refs/heads/master
Commit: 4c94b5519f00cdda6410ec62ef268d40cd1c0a01
Parents: fcb2372
Author: Alex Harui <ah...@apache.org>
Authored: Tue Mar 29 17:39:13 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Mar 29 17:39:13 2016 -0700
----------------------------------------------------------------------
ApproveFlexJS.xml | 116 ++++++++++++++-
LICENSE.base | 203 +++++++++++++++++++++++++++
LICENSE.bin | 4 -
apache-flex-flexjs-installer-config.xml | 2 +-
build.xml | 12 +-
installer.xml | 18 ++-
6 files changed, 334 insertions(+), 21 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4c94b551/ApproveFlexJS.xml
----------------------------------------------------------------------
diff --git a/ApproveFlexJS.xml b/ApproveFlexJS.xml
index 727d6c3..2c2a436 100644
--- a/ApproveFlexJS.xml
+++ b/ApproveFlexJS.xml
@@ -54,6 +54,7 @@
<property name="src.rat.report" value="${basedir}/rat-report-src.txt"/>
<property name="bin.rat.report" value="${basedir}/rat-report-bin.txt"/>
+ <property name="doc.rat.report" value="${basedir}/rat-report-doc.txt"/>
<property name="apache.rat.jar" value="apache-rat-0.11.jar" />
<property name="apache.rat.tasks.jar" value="apache-rat-tasks-0.11.jar" />
<property name="apache.rat.url" value="http://search.maven.org/remotecontent?filepath=org/apache/rat/apache-rat/0.11" />
@@ -146,11 +147,19 @@
<isset property="rc" />
</not>
</condition>
+ <condition property="doc.package.url.path"
+ value="${package.url.path}">
+ <not>
+ <isset property="rc" />
+ </not>
+ </condition>
<property name="package.url.path" value="https://dist.apache.org/repos/dist/dev/flex/flexjs/${release.version}/rc${rc}" />
<property name="package.url.name" value="apache-flex-flexjs-${release.version}-src" />
<property name="bin.package.url.path" value="${package.url.path}/binaries" />
<property name="bin.package.url.name" value="apache-flex-flexjs-${release.version}-bin" />
+ <property name="doc.package.url.path" value="${package.url.path}/doc" />
+ <property name="doc.package.url.name" value="apache-flex-flexjs-${release.version}-asdocs" />
<condition property="zip.package">
<equals arg1="zip" arg2="${package.suffix}" />
@@ -197,10 +206,10 @@
classpathref="anttask.classpath"/>
</target>
- <target name="main" depends="install-rat,download,check-sigs,uncompress,rat-check,binary-rat,check-notices,build,approve" description="Perform required release approval steps">
+ <target name="main" depends="install-rat,download,check-sigs,uncompress,rat-check,binary-rat,doc-rat,check-notices,build,approve" description="Perform required release approval steps">
</target>
- <target name="main-no-download" depends="install-rat,check-sigs,uncompress,rat-check,binary-rat,check-notices,build,approve" description="Perform required release approval steps">
+ <target name="main-no-download" depends="install-rat,check-sigs,uncompress,rat-check,binary-rat,doc-rat,check-notices,build,approve" description="Perform required release approval steps">
</target>
<target name="test" >
@@ -229,6 +238,10 @@
dest="${basedir}/${bin.package.url.name}.${package.suffix}" />
<get src="${bin.package.url.path}/${bin.package.url.name}.${package.suffix}.md5"
dest="${basedir}/${bin.package.url.name}.${package.suffix}.md5" />
+ <get src="${doc.package.url.path}/${doc.package.url.name}.zip"
+ dest="${basedir}/${doc.package.url.name}.zip" />
+ <get src="${doc.package.url.path}/${doc.package.url.name}.zip.md5"
+ dest="${basedir}/${doc.package.url.name}.zip.md5" />
<antcall target="get_asc" />
</target>
@@ -237,6 +250,8 @@
dest="${basedir}/${package.url.name}.${package.suffix}.asc" />
<get src="${bin.package.url.path}/${bin.package.url.name}.${package.suffix}.asc"
dest="${basedir}/${bin.package.url.name}.${package.suffix}.asc" />
+ <get src="${doc.package.url.path}/${doc.package.url.name}.zip.asc"
+ dest="${basedir}/${doc.package.url.name}.zip.asc" />
</target>
<target name="check-sigs" description="check md5 and gpg sigs">
@@ -258,6 +273,15 @@
</not>
</condition>
<fail message="Binary Package MD5 checksum did not match" if="BinaryMD5Invalid" />
+ <replace file="${basedir}/${doc.package.url.name}.zip.md5"
+ token=" " />
+ <checksum file="${basedir}/${doc.package.url.name}.zip" algorithm="md5" verifyproperty="doc.md5.ok" />
+ <condition property="DocMD5Invalid">
+ <not>
+ <equals arg1="${doc.md5.ok}" arg2="true" />
+ </not>
+ </condition>
+ <fail message="Doc Package MD5 checksum did not match" if="DocMD5Invalid" />
<antcall target="gpg_check" />
</target>
@@ -272,6 +296,11 @@
<arg value="${basedir}/${bin.package.url.name}.${package.suffix}.asc" />
<arg value="${basedir}/${bin.package.url.name}.${package.suffix}" />
</exec>
+ <exec executable="gpg" failonerror="true">
+ <arg value="--verify" />
+ <arg value="${basedir}/${doc.package.url.name}.${package.suffix}.asc" />
+ <arg value="${basedir}/${doc.package.url.name}.${package.suffix}" />
+ </exec>
</target>
<target name="uncompress" depends="pre-clean, untar-file, unzip-file" />
@@ -279,6 +308,7 @@
<target name="pre-clean" description="remove old uncompressed package" >
<delete dir="${basedir}/${package.url.name}" failonerror="false" />
<delete dir="${basedir}/${bin.package.url.name}" failonerror="false" />
+ <delete dir="${basedir}/${doc.package.url.name}" failonerror="false" />
</target>
<target name="untar-file" unless="zip.package" description="Untars zipFile">
@@ -286,6 +316,8 @@
dest="${basedir}" compression="gzip"/>
<untar src="${basedir}/${bin.package.url.name}.${package.suffix}"
dest="${basedir}" compression="gzip"/>
+ <unzip src="${basedir}/${doc.package.url.name}.zip"
+ dest="${basedir}/${doc.package.url.name}"/>
</target>
<target name="unzip-file" if="zip.package" description="Unzips zipFile">
@@ -293,6 +325,8 @@
dest="${basedir}/${package.url.name}"/>
<unzip src="${basedir}/${bin.package.url.name}.${package.suffix}"
dest="${basedir}/${bin.package.url.name}"/>
+ <unzip src="${basedir}/${doc.package.url.name}.${package.suffix}"
+ dest="${basedir}/${doc.package.url.name}"/>
</target>
<target name="rat-check" >
@@ -315,6 +349,7 @@
<exclude name="frameworks/js/.jshintrc"/>
<!-- fragments -->
<exclude name="LICENSE.bin"/>
+ <exclude name="LICENSE.base"/>
</fileset>
</rat:report>
<antcall target="display-text" >
@@ -357,6 +392,7 @@
<exclude name="frameworks/js/.jshintrc"/>
<!-- fragments -->
<exclude name="LICENSE.bin"/>
+ <exclude name="LICENSE.base"/>
<!-- Google Closure Library -->
<exclude name="js/lib/google/**"/>
<!-- compiled output -->
@@ -423,6 +459,50 @@
addproperty="rat.bin.binaries.ok"/>
</target>
+ <target name="doc-rat" >
+ <echo message="Checking files at ${basedir}/${doc.package.url.name}, report is ${doc.rat.report}"/>
+ <rat:report xmlns:rat="antlib:org.apache.rat.anttasks"
+ reportFile="${doc.rat.report}">
+ <fileset dir="${basedir}/${doc.package.url.name}">
+ <!-- exclude generated html -->
+ <exclude name="asdoc/index.html"/>
+ <exclude name="asdoc/index-*.html"/>
+ <exclude name="asdoc/google/maps/**/*.html"/>
+ <exclude name="asdoc/org/**/*.html"/>
+ <exclude name="asdoc/package*.html"/>
+ <exclude name="asdoc/all-classes.html"/>
+ <exclude name="asdoc/all-index*.html"/>
+ <exclude name="asdoc/class-*.html"/>
+ <exclude name="asdoc/title-bar.html"/>
+ <exclude name="asdoc/Namespace.html"/>
+ <exclude name="asdoc/QName.html"/>
+ <!-- exclude log -->
+ <exclude name="asdoc/validation_errors.log"/>
+ </fileset>
+ </rat:report>
+
+ <antcall target="display-text" >
+ <param name="file" value="${doc.rat.report}" />
+ </antcall>
+ <input
+ message="Check that there are no unknown or unapproved licenses or archives. Is it ok?"
+ validargs="y,n"
+ defaultvalue="y"
+ addproperty="rat.doc.license.ok"/>
+ <echo>filtering out AL files to make it easier to see binary files</echo>
+ <copy file="${doc.rat.report}" tofile="${doc.rat.report}.bin.txt" />
+ <replaceregexp file="${doc.rat.report}.bin.txt" match="..AL.*" replace="__AL" byline="true"/>
+ <replaceregexp file="${doc.rat.report}.bin.txt" flags="gs" match="__AL." replace="" byline="false"/>
+ <antcall target="display-text" >
+ <param name="file" value="${doc.rat.report}.bin.txt" />
+ </antcall>
+ <input
+ message="Check that there are no unexpected binaries. Is it ok?"
+ validargs="y,n"
+ defaultvalue="n"
+ addproperty="rat.doc.binaries.ok"/>
+ </target>
+
<target name="check-notices" description="open each notice file for review, grep for a few things" >
<fail message="README not in package">
<condition>
@@ -487,6 +567,7 @@
validargs="y,n"
defaultvalue="y"
addproperty="license.ok"/>
+
<antcall target="display-text" >
<param name="file" value="${basedir}/${bin.package.url.name}/NOTICE" />
</antcall>
@@ -504,6 +585,24 @@
validargs="y,n"
defaultvalue="y"
addproperty="bin.license.ok"/>
+
+ <antcall target="display-text" >
+ <param name="file" value="${basedir}/${doc.package.url.name}/asdoc/NOTICE" />
+ </antcall>
+ <input
+ message="Check the doc package NOTICE for required notices from third-parties. Is it ok?"
+ validargs="y,n"
+ defaultvalue="y"
+ addproperty="doc.notice.ok"/>
+
+ <antcall target="display-text" >
+ <param name="file" value="${basedir}/${doc.package.url.name}/asdoc/LICENSE" />
+ </antcall>
+ <input
+ message="Check the doc package LICENSE for the Apache License and third-party licenses. Is it ok?"
+ validargs="y,n"
+ defaultvalue="y"
+ addproperty="doc.license.ok"/>
</target>
<target name="ask.build">
@@ -678,12 +777,16 @@
<equals arg1="${rat.binaries.ok}" arg2="y" />
<equals arg1="${rat.bin.license.ok}" arg2="y" />
<equals arg1="${rat.bin.binaries.ok}" arg2="y" />
+ <equals arg1="${rat.doc.license.ok}" arg2="y" />
+ <equals arg1="${rat.doc.binaries.ok}" arg2="y" />
<equals arg1="${readme.ok}" arg2="y" />
<equals arg1="${releasenotes.ok}" arg2="y" />
<equals arg1="${notice.ok}" arg2="y" />
<equals arg1="${license.ok}" arg2="y" />
<equals arg1="${bin.notice.ok}" arg2="y" />
<equals arg1="${bin.license.ok}" arg2="y" />
+ <equals arg1="${doc.notice.ok}" arg2="y" />
+ <equals arg1="${doc.license.ok}" arg2="y" />
</and>
</condition>
<property name="vote" value="-1" />
@@ -707,7 +810,14 @@ NOTICE is ok: ${bin.notice.ok}
LICENSE is ok: ${bin.license.ok}
No unapproved licenses or archives in binary package: ${rat.bin.license.ok}
No unapproved binaries in binary package: ${rat.bin.binaries.ok}
- </echo>
+
+Package ${doc.package.url.path}/${doc.package.url.name}.zip
+Doc kit signatures match: y
+NOTICE is ok: ${doc.notice.ok}
+LICENSE is ok: ${doc.license.ok}
+No unapproved licenses or archives in doc package: ${rat.doc.license.ok}
+No unapproved binaries in doc package: ${rat.doc.binaries.ok}
+ </echo>
<fail>
<condition>
<equals arg1="-1" arg2="${vote}"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4c94b551/LICENSE.base
----------------------------------------------------------------------
diff --git a/LICENSE.base b/LICENSE.base
new file mode 100644
index 0000000..6b0b127
--- /dev/null
+++ b/LICENSE.base
@@ -0,0 +1,203 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4c94b551/LICENSE.bin
----------------------------------------------------------------------
diff --git a/LICENSE.bin b/LICENSE.bin
index 2c5e7a2..6ffda73 100644
--- a/LICENSE.bin
+++ b/LICENSE.bin
@@ -2,10 +2,6 @@ Below are the licenses for components included in the binary distribution.
------------------------------------------------------------------------------------------
-This product bundles designmodo’s (http://designmodo.com/flat-free/)
-Flat UI glyph fonts available under an MIT license. For details, see
-frameworks/fonts/README.md
-
This product bundles Google Closure Library available under Apache License 2.0.
For details see https://developers.google.com/closure/library/
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4c94b551/apache-flex-flexjs-installer-config.xml
----------------------------------------------------------------------
diff --git a/apache-flex-flexjs-installer-config.xml b/apache-flex-flexjs-installer-config.xml
index 7807a0c..42813bf 100755
--- a/apache-flex-flexjs-installer-config.xml
+++ b/apache-flex-flexjs-installer-config.xml
@@ -239,7 +239,7 @@
<license>Adobe Flex SDK 授權合約</license>
</zh_TW>
</component>
- <component id="STEP_REQUIRED_INSTALL_FLAT_FONTS" required="true" property="do.flat.install">
+ <component id="STEP_REQUIRED_INSTALL_FLAT_FONTS" required="false" property="do.flat.install">
<el_GR>
<label>designmodo fonts (Προαιρετικό)</label>
<message>Για το designmodo fonts ισχύει η συμφωνία χρήσης του CC-BY-NC-ND License. Θέλετε να εγκαταστήσετε το designmodo fonts;</message>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4c94b551/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 9bda287..8047641 100644
--- a/build.xml
+++ b/build.xml
@@ -531,6 +531,7 @@
<include name="RELEASE_NOTES"/>
<include name="LICENSE"/>
<include name="LICENSE.bin"/>
+ <include name="LICENSE.base"/>
<include name="NOTICE"/>
</fileset>
</copy>
@@ -742,7 +743,7 @@
<!-- fonts
<copy todir="${basedir}/temp/frameworks/fonts">
<fileset dir="${basedir}/frameworks/fonts" >
- <include name="**/**"/>
+ <include name="**/*.swf"/>
</fileset>
</copy>
-->
@@ -1006,12 +1007,8 @@
<copy todir="${basedir}/temp/asdoc">
<fileset dir="${basedir}/asdoc-output"/>
</copy>
- <copy todir="${basedir}/temp/asdoc">
- <fileset dir="${basedir}">
- <include name="LICENSE" />
- <include name="NOTICE" />
- </fileset>
- </copy>
+ <copy todir="${basedir}/temp/asdoc" file="${basedir}/NOTICE" />
+ <copy tofile="${basedir}/temp/asdoc/LICENSE" file="${basedir}/LICENSE.base" />
<zip file="${basedir}/out/${kit.prefix}-asdocs.zip" basedir="${basedir}/temp"/>
<antcall target="clean-temp"/>
</target>
@@ -1378,6 +1375,7 @@
<rat:report xmlns:rat="antlib:org.apache.rat.anttasks" reportFile="${rat.report}">
<fileset dir="${rat.dir}">
<exclude name="LICENSE.bin"/>
+ <exclude name="LICENSE.base"/>
<!-- Start of binary files -->
<!-- exclude media (png, gif, jpg, mp3, flv) -->
<exclude name="**/*.png"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4c94b551/installer.xml
----------------------------------------------------------------------
diff --git a/installer.xml b/installer.xml
index f0806d1..50b213b 100644
--- a/installer.xml
+++ b/installer.xml
@@ -692,6 +692,8 @@
<!-- Because this requires a network connection it downloads Flash SDK only if it doesn't already exist. -->
<target name="flat-check" description="Checks if Flat fonts has been downloaded.">
+ <!-- make this folder anyway so example scripts don't fail -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/fonts"/>
<available file="${FLEXJS_HOME}/frameworks/fonts/flat-ui-icons-regular.woff" property="skip.flat.install"/>
<condition property="skip.flat.install" value="true">
<not>
@@ -709,19 +711,23 @@
dest="${download.dir}/flat-ui_2_2.zip"
verbose="false"/>
- <mkdir dir="${FLEXJS_HOME}/frameworks/fonts"/>
<mkdir dir="${download.dir}/flat/fonts"/>
<unzip src="${download.dir}/flat-ui_2_2.zip" dest="${download.dir}/flat/fonts" />
<copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.eot"
- todir="${FLEXJS_HOME}/frameworks/fonts"/>
+ tofile="${FLEXJS_HOME}/frameworks/fonts/flat-ui-icons-regular.eot"/>
<copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.ttf"
- todir="${FLEXJS_HOME}/frameworks/fonts"/>
+ tofile="${FLEXJS_HOME}/frameworks/fonts/flat-ui-icons-regular.ttf"/>
<copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.svg"
- todir="${FLEXJS_HOME}/frameworks/fonts"/>
+ tofile="${FLEXJS_HOME}/frameworks/fonts/flat-ui-icons-regular.svg"/>
<copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.woff"
- todir="${FLEXJS_HOME}/frameworks/fonts"/>
+ tofile="${FLEXJS_HOME}/frameworks/fonts/flat-ui-icons-regular.woff"/>
<copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/README.md"
- todir="${FLEXJS_HOME}/frameworks/fonts"/>
+ tofile="${FLEXJS_HOME}/frameworks/fonts/README.md"/>
+
+ <get src="http://apacheflexbuild.cloudapp.net:8080/job/flat-ui-icons-regular.swf/lastSuccessfulBuild/artifact/frameworks/fonts/flat-ui-icons-regular.swf"
+ dest="${FLEXJS_HOME}/frameworks/fonts/flat-ui-icons-regular.swf"
+ verbose="false"/>
+
</target>
<!-- swfobject.js (Version 2.2) -->
[44/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - don't
exclude this anymore
Posted by ah...@apache.org.
don't exclude this anymore
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/c7756da7
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/c7756da7
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/c7756da7
Branch: refs/heads/master
Commit: c7756da71acf51f8edc0da0fb466621a1d23d79f
Parents: 50ae7df
Author: Alex Harui <ah...@apache.org>
Authored: Tue Mar 29 10:08:03 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Mar 29 10:08:03 2016 -0700
----------------------------------------------------------------------
ApproveFlexJS.xml | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c7756da7/ApproveFlexJS.xml
----------------------------------------------------------------------
diff --git a/ApproveFlexJS.xml b/ApproveFlexJS.xml
index f6dccd1..727d6c3 100644
--- a/ApproveFlexJS.xml
+++ b/ApproveFlexJS.xml
@@ -361,8 +361,6 @@
<exclude name="js/lib/google/**"/>
<!-- compiled output -->
<exclude name="frameworks/projects/*/target/**"/>
- <!-- fonts -->
- <exclude name="frameworks/fonts/**"/>
<!-- swcs -->
<exclude name="frameworks/libs/Binding.swc"/>
<exclude name="frameworks/libs/Charts.swc"/>
[35/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Add
dependency on AIR SDK. Need to add a linked resource called AIR_HOME in Flash
Builder/Eclipse and point it to directory where AIR SDK is available.
Posted by ah...@apache.org.
Add dependency on AIR SDK. Need to add a linked resource called AIR_HOME in Flash Builder/Eclipse and point it to directory where AIR SDK is available.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7e67f4bc
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7e67f4bc
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7e67f4bc
Branch: refs/heads/master
Commit: 7e67f4bc8f9736c13868c0a3d3ff4b19a1bb3ee7
Parents: 5980d00
Author: OmPrakash Muppirala <bi...@gmail.com>
Authored: Sun Mar 20 00:58:57 2016 -0700
Committer: OmPrakash Muppirala <bi...@gmail.com>
Committed: Sun Mar 20 00:58:57 2016 -0700
----------------------------------------------------------------------
frameworks/projects/HTML/.actionScriptProperties | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7e67f4bc/frameworks/projects/HTML/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/.actionScriptProperties b/frameworks/projects/HTML/.actionScriptProperties
index eef34a6..d47dcf7 100644
--- a/frameworks/projects/HTML/.actionScriptProperties
+++ b/frameworks/projects/HTML/.actionScriptProperties
@@ -47,6 +47,7 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="/Core/target/Core.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/Graphics/target/Graphics.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/Collections/target/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="1" linkType="1" path="${AIR_HOME}/frameworks/libs/air"/>
</libraryPath>
<sourceAttachmentPath/>
</compiler>
[43/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] -
AntOnAIR doesn't have flattenmapper so try alternative
Posted by ah...@apache.org.
AntOnAIR doesn't have flattenmapper so try alternative
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/50ae7df9
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/50ae7df9
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/50ae7df9
Branch: refs/heads/master
Commit: 50ae7df92601fb920f7b82249bea10070815c5f4
Parents: 7cd1bd4
Author: Alex Harui <ah...@apache.org>
Authored: Tue Mar 29 09:01:16 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Mar 29 09:01:16 2016 -0700
----------------------------------------------------------------------
installer.xml | 29 +++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/50ae7df9/installer.xml
----------------------------------------------------------------------
diff --git a/installer.xml b/installer.xml
index 27ae65f..01d676e 100644
--- a/installer.xml
+++ b/installer.xml
@@ -704,27 +704,24 @@
description="Downloads Flat fonts and copies to correct locations">
<mkdir dir="${download.dir}"/>
- <echo>${INFO_INSTALLING_FLAT_FONTS} ${flat.font.url.server}/${flat.font.url.folder}/${flat.font.url.file}</echo>
+ <echo>${INFO_INSTALLING_FLAT_FONTS} https://github.com/designmodo/Flat-UI/archive/2.2.2.zip</echo>
<get src="https://github.com/designmodo/Flat-UI/archive/2.2.2.zip"
dest="${download.dir}/flat-ui_2_2.zip"
verbose="false"/>
<mkdir dir="${FLEXJS_HOME}/frameworks/fonts"/>
- <unzip src="${download.dir}/flat-ui_2_2.zip" dest="${FLEXJS_HOME}/frameworks/fonts">
- <patternset>
- <include name="Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.eot"/>
- <include name="Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.ttf"/>
- <include name="Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.svg"/>
- <include name="Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.woff"/>
- </patternset>
- <flattenmapper />
- </unzip>
- <unzip src="${download.dir}/flat-ui_2_2.zip" dest="${FLEXJS_HOME}/frameworks/fonts">
- <patternset>
- <include name="Flat-UI-2.2.2/README.md"/>
- </patternset>
- <flattenmapper />
- </unzip>
+ <mkdir dir="${download.dir}/flat/fonts"/>
+ <unzip src="${download.dir}/flat-ui_2_2.zip" dest="${download.dir}/flat/fonts" />
+ <copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.eot"
+ todir="${FLEXJS_HOME/frameworks/fonts"/>
+ <copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.ttf"
+ todir="${FLEXJS_HOME/frameworks/fonts"/>
+ <copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.svg"
+ todir="${FLEXJS_HOME/frameworks/fonts"/>
+ <copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.woff"
+ todir="${FLEXJS_HOME/frameworks/fonts"/>
+ <copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/README.md"
+ todir="${FLEXJS_HOME/frameworks/fonts"/>
</target>
<!-- swfobject.js (Version 2.2) -->
[08/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Added
JavaScript version of MobileWebBrowser so it could be used with
Cordova/PhoneGap.
Posted by ah...@apache.org.
Added JavaScript version of MobileWebBrowser so it could be used with Cordova/PhoneGap.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/4d0f00f1
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/4d0f00f1
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/4d0f00f1
Branch: refs/heads/master
Commit: 4d0f00f1f00aebe6cd7185d4f08526e4ebc31bb3
Parents: 36c14ed
Author: Peter Ent <pe...@apache.org>
Authored: Wed Feb 10 11:34:56 2016 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Feb 10 11:34:56 2016 -0500
----------------------------------------------------------------------
.../Mobile/src/main/flex/MobileClasses.as | 4 +---
.../flex/mobile/beads/MobileWebBrowserView.as | 22 ++++++++++++++++----
2 files changed, 19 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4d0f00f1/frameworks/projects/Mobile/src/main/flex/MobileClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/flex/MobileClasses.as b/frameworks/projects/Mobile/src/main/flex/MobileClasses.as
index 8643954..5a85f94 100644
--- a/frameworks/projects/Mobile/src/main/flex/MobileClasses.as
+++ b/frameworks/projects/Mobile/src/main/flex/MobileClasses.as
@@ -38,9 +38,7 @@ internal class MobileClasses
import org.apache.flex.mobile.chrome.ToolBar; ToolBar;
import org.apache.flex.mobile.models.ViewManagerModel; ViewManagerModel;
- COMPILE::AS3 {
- import org.apache.flex.mobile.beads.MobileWebBrowserView; MobileWebBrowserView;
- }
+ import org.apache.flex.mobile.beads.MobileWebBrowserView; MobileWebBrowserView;
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4d0f00f1/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/MobileWebBrowserView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/MobileWebBrowserView.as b/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/MobileWebBrowserView.as
index 686d94f..7213d00 100644
--- a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/MobileWebBrowserView.as
+++ b/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/MobileWebBrowserView.as
@@ -18,10 +18,12 @@
////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.mobile.beads
{
- import flash.events.Event;
- import flash.media.StageWebView;
- import flash.geom.Rectangle;
- import flash.geom.Point;
+ COMPILE::AS3 {
+ import flash.events.Event;
+ import flash.media.StageWebView;
+ import flash.geom.Rectangle;
+ import flash.geom.Point;
+ }
import org.apache.flex.core.IBeadView;
import org.apache.flex.core.IStrand;
@@ -30,6 +32,10 @@ package org.apache.flex.mobile.beads
import org.apache.flex.events.Event;
import org.apache.flex.events.IEventDispatcher;
import org.apache.flex.html.beads.models.WebBrowserModel;
+
+ COMPILE::JS {
+ import org.apache.flex.html.beads.WebBrowserView;
+ }
/**
* The MobileWebBrowserView creates an instance of StageWebView to load
@@ -42,6 +48,7 @@ package org.apache.flex.mobile.beads
* @playerversion AIR 2.6
* @productversion FlexJS 0.0
*/
+ COMPILE::AS3
public class MobileWebBrowserView implements IBeadView
{
/**
@@ -125,5 +132,12 @@ package org.apache.flex.mobile.beads
host.dispatchEvent(new org.apache.flex.events.Event("locationChanged"));
}
}
+
+ COMPILE::JS
+ public class MobileWebBrowserView extends WebBrowserView
+ {
+ // does nothing but provide a placeholder so JavaScript version
+ // builds and runs
+ }
}
[15/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Better
itemRenderer for Tree.
Posted by ah...@apache.org.
Better itemRenderer for Tree.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/4c730018
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/4c730018
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/4c730018
Branch: refs/heads/master
Commit: 4c7300188a86993cd5823bf1c327e948549090ba
Parents: d0dddc1
Author: Peter Ent <pe...@apache.org>
Authored: Fri Feb 19 11:57:26 2016 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Fri Feb 19 11:57:26 2016 -0500
----------------------------------------------------------------------
.../org/apache/flex/html/supportClasses/TreeItemRenderer.as | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4c730018/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TreeItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TreeItemRenderer.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TreeItemRenderer.as
index bf545b0..7250e82 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TreeItemRenderer.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TreeItemRenderer.as
@@ -47,10 +47,15 @@ package org.apache.flex.html.supportClasses
super.data = value;
var treeData:TreeListData = listData as TreeListData;
+ var indentSpace:String = " ";
- var indent:String = treeData.hasChildren ? (treeData.isOpen ? "-" : "+") : " ";
+ COMPILE::JS {
+ indentSpace = " "
+ }
+
+ var indent:String = treeData.hasChildren ? (treeData.isOpen ? "▼" : "▶") : " ";
for (var i:int=0; i < treeData.depth; i++) {
- indent += " ";
+ indent += indentSpace;
}
this.text = indent + this.text;
[34/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Clean
up asdoc issue surrounding the inclusion of Google Maps stubs.
Posted by ah...@apache.org.
Clean up asdoc issue surrounding the inclusion of Google Maps stubs.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/5980d00d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/5980d00d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/5980d00d
Branch: refs/heads/master
Commit: 5980d00d732dcf9d74e76a14ab4f6f18c2541d69
Parents: dcf3b3b
Author: Peter Ent <pe...@apache.org>
Authored: Wed Mar 16 14:03:22 2016 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Mar 16 14:03:22 2016 -0400
----------------------------------------------------------------------
frameworks/asdoc-config.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5980d00d/frameworks/asdoc-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/asdoc-config.xml b/frameworks/asdoc-config.xml
index 64d6988..c25e1bd 100644
--- a/frameworks/asdoc-config.xml
+++ b/frameworks/asdoc-config.xml
@@ -458,7 +458,7 @@
<path-element>${frameworks_dir}/projects/DragDrop/src/main/flex</path-element>
<path-element>${frameworks_dir}/projects/Effects/src/main/flex</path-element>
<path-element>${frameworks_dir}/projects/Formatters/src/main/flex</path-element>
- <path-element>${frameworks_dir}/projects/GoogleMaps/src/main/flex</path-element>
+ <path-element>${frameworks_dir}/projects/GoogleMaps/src/main/flex/org</path-element>
<path-element>${frameworks_dir}/projects/Graphics/src/main/flex</path-element>
<path-element>${frameworks_dir}/projects/HTML/src/main/flex</path-element>
<path-element>${frameworks_dir}/projects/HTML5/src/main/flex</path-element>
@@ -466,6 +466,7 @@
<path-element>${frameworks_dir}/projects/Mobile/src/main/flex</path-element>
<path-element>${frameworks_dir}/projects/Network/src/main/flex</path-element>
<path-element>${frameworks_dir}/projects/Reflection/src/main/flex</path-element>
+ <path-element>${frameworks_dir}/projects/GoogleMaps/src/main/flex/google/maps/LatLng.as</path-element>
</doc-sources>
</flex-config>
[19/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Updated
Storage project by separating the implementation into a CSS-accessible class
from the developer-facing class. The initial JavaScript implementation
follows the W3C web storage specific
Posted by ah...@apache.org.
Updated Storage project by separating the implementation into a CSS-accessible class from the developer-facing class. The initial JavaScript implementation follows the W3C web storage specification; the Flash side uses SharedObject.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/75ee02d2
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/75ee02d2
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/75ee02d2
Branch: refs/heads/master
Commit: 75ee02d2817d5a5c6bf8e976bfd8a305bb5b09e5
Parents: 392faf5
Author: Peter Ent <pe...@apache.org>
Authored: Thu Feb 25 17:24:22 2016 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Thu Feb 25 17:24:22 2016 -0500
----------------------------------------------------------------------
.../Storage/src/main/flex/StorageClasses.as | 5 +-
.../flex/org/apache/flex/storage/IWebStorage.as | 100 +++++++++
.../org/apache/flex/storage/LocalStorage.as | 120 +++-------
.../storage/providers/LocalStorageProvider.as | 220 +++++++++++++++++++
.../src/main/resources/basic-manifest.xml | 2 +-
.../src/main/resources/compile-asjs-config.xml | 4 +
.../src/main/resources/compile-config.xml | 5 +
.../Storage/src/main/resources/defaults.css | 26 +++
8 files changed, 388 insertions(+), 94 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/75ee02d2/frameworks/projects/Storage/src/main/flex/StorageClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/StorageClasses.as b/frameworks/projects/Storage/src/main/flex/StorageClasses.as
index 1f6b80a..db34477 100644
--- a/frameworks/projects/Storage/src/main/flex/StorageClasses.as
+++ b/frameworks/projects/Storage/src/main/flex/StorageClasses.as
@@ -16,7 +16,7 @@
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
-package
+package
{
/**
@@ -26,8 +26,9 @@ package
* from the classes specified in manifest.xml.
*/
internal class StorageClasses
-{
+{
import org.apache.flex.storage.LocalStorage; LocalStorage;
+ import org.apache.flex.storage.providers.LocalStorageProvider; LocalStorageProvider;
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/75ee02d2/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/IWebStorage.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/IWebStorage.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/IWebStorage.as
new file mode 100644
index 0000000..3bc044d
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/IWebStorage.as
@@ -0,0 +1,100 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage
+{
+/**
+ * The IWebStorage interface provides a template for classes to use that wish
+ * to allow storage of small amounts of data into a web browser or perhaps on a
+ * mobile device.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+public interface IWebStorage
+{
+ /**
+ * Returns true if the platform provides local storage.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ function storageAvailable() : Boolean;
+
+ /**
+ * Stores a value with a key.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ function setItem(key:String, value:String) : Boolean;
+
+ /**
+ * Returns the value of a key, if present. If the key is not
+ * present in the storage area, null or undefined may be returned.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ function getItem(key:String) : String;
+
+ /**
+ * Removes the key=value pair from storage.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ function removeItem(key:String) : Boolean;
+
+ /**
+ * Returns true if there is a value associated with the key.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ function hasItem(key:String) : Boolean;
+
+ /**
+ * Clears the storage area of all key=value pairs.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ function clear() : void;
+}
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/75ee02d2/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/LocalStorage.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/LocalStorage.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/LocalStorage.as
index 9edd82c..1a6018e 100644
--- a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/LocalStorage.as
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/LocalStorage.as
@@ -18,20 +18,25 @@
////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.storage
{
-COMPILE::AS3 {
- import flash.net.SharedObject;
-}
+ import org.apache.flex.storage.providers.LocalStorageProvider;
+ import org.apache.flex.core.ValuesManager;
/**
* The LocalStorage class allows apps to store small amounts of data
* locally, in the browser's permitted storage area. This data will persist
* between browser invocations. The data is stored in key=value pairs.
*
+ * This class uses the ValuesManager to determine a storage provider - an implementation
+ * class the actually does the storing and retrieving. To change the provider implementation,
+ * set a ClassReference for the LocalStorage CSS style. The default is the
+ * org.apache.flex.storage.providers.LocalStorageProvider class.
+ *
+ * @see org.apache.flex.storage.IWebStorage
+ * @see org.apache.flex.storage.provides.LocalStorageProvider
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
* @productversion FlexJS 0.0
- * @flexjsignoreimport window
*/
public class LocalStorage
{
@@ -47,17 +52,13 @@ public class LocalStorage
*/
public function LocalStorage()
{
- COMPILE::AS3 {
- try {
- sharedObject = SharedObject.getLocal("flexjs","/",false);
- } catch(e) {
- sharedObject = null;
- }
- }
+ storageProvider = ValuesManager.valuesImpl.newInstance(this, "iStorageProvider") as IWebStorage;
}
- COMPILE::AS3
- private var sharedObject:SharedObject;
+ /**
+ * The implementation of the storage system.
+ */
+ private var storageProvider:IWebStorage;
/**
* Returns true if the platform provides local storage.
@@ -70,26 +71,11 @@ public class LocalStorage
*/
public function storageAvailable():Boolean
{
- var result:Boolean = false;
-
- COMPILE::AS3 {
- result = (sharedObject != null);
- }
-
- COMPILE::JS {
- try {
- result = 'localStorage' in window && window['localStorage'] !== null;
- } catch(e) {
- result = false;
- }
- }
-
- return result;
+ return storageProvider.storageAvailable();
}
/**
- * Stores a value with a key. The value may be converted to a String, depending
- * on the platform.
+ * Stores a value with a key.
*
* @langversion 3.0
* @playerversion Flash 10.2
@@ -97,20 +83,12 @@ public class LocalStorage
* @productversion FlexJS 0.0
* @flexjsignoreimport window
*/
- public function setItem(key:String, value:String) : Boolean
+ public function setItem(key:String, value:Object) : Boolean
{
- if (!storageAvailable()) return false;
-
- COMPILE::AS3 {
- sharedObject.data[key] = value;
- sharedObject.flush();
- }
-
- COMPILE::JS {
- window.localStorage.setItem(key, value);
- }
-
- return true;
+ // turn the value into a string in some fashion, if possible, return
+ // the knowlege of what type value really is for getItem().
+ var valueAsString:String = value.toString();
+ return storageProvider.setItem(key, valueAsString);
}
/**
@@ -124,21 +102,12 @@ public class LocalStorage
* @productversion FlexJS 0.0
* @flexjsignoreimport window
*/
- public function getItem(key:String) : String
+ public function getItem(key:String) : Object
{
- if (!storageAvailable()) return null;
-
- var result:String = null;
-
- COMPILE::AS3 {
- result = sharedObject.data[key] as String;
- }
-
- COMPILE::JS {
- result = window.localStorage.getItem(key);
- }
-
- return result;
+ var value:Object = storageProvider.getItem(key);
+ // perhaps figure out what value is exactly and return that
+ // object.
+ return value;
}
/**
@@ -154,18 +123,7 @@ public class LocalStorage
*/
public function removeItem(key:String) : Boolean
{
- if (!storageAvailable()) return null;
-
- COMPILE::AS3 {
- delete sharedObject.data[key];
- sharedObject.flush();
- }
-
- COMPILE::JS {
- window.localStorage.removeItem(key);
- }
-
- return true;
+ return storageProvider.removeItem(key);
}
/**
@@ -179,19 +137,7 @@ public class LocalStorage
*/
public function hasItem(key:String) : Boolean
{
- if (!storageAvailable()) return false;
-
- var result:Boolean = false;
-
- COMPILE::AS3 {
- result = sharedObject.data.hasOwnProperty(key);
- }
-
- COMPILE::JS {
- result = (window.localStorage[key] !== null);
- }
-
- return result;
+ return storageProvider.hasItem(key);
}
/**
@@ -205,15 +151,7 @@ public class LocalStorage
*/
public function clear() : void
{
- if (!storageAvailable()) return;
-
- COMPILE::AS3 {
- sharedObject.clear();
- }
-
- COMPILE::JS {
- window.localStorage.clear();
- }
+ storageProvider.clear();
}
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/75ee02d2/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/LocalStorageProvider.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/LocalStorageProvider.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/LocalStorageProvider.as
new file mode 100644
index 0000000..5370923
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/LocalStorageProvider.as
@@ -0,0 +1,220 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage.providers
+{
+ import org.apache.flex.storage.IWebStorage;
+
+COMPILE::AS3 {
+ import flash.net.SharedObject;
+}
+
+/**
+ * The LocalStorageProvider class allows apps to store small amounts of data
+ * locally, in the browser's permitted storage area. This data will persist
+ * between browser invocations. The data is stored in key=value pairs and the
+ * value must be a string.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+public class LocalStorageProvider implements IWebStorage
+{
+
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ public function LocalStorageProvider()
+ {
+ COMPILE::AS3 {
+ try {
+ sharedObject = SharedObject.getLocal("flexjs","/",false);
+ } catch(e) {
+ sharedObject = null;
+ }
+ }
+ }
+
+ COMPILE::AS3
+ private var sharedObject:SharedObject;
+
+ /**
+ * Returns true if the platform provides local storage.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ public function storageAvailable():Boolean
+ {
+ var result:Boolean = false;
+
+ COMPILE::AS3 {
+ result = (sharedObject != null);
+ }
+
+ COMPILE::JS {
+ try {
+ result = 'localStorage' in window && window['localStorage'] !== null;
+ } catch(e) {
+ result = false;
+ }
+ }
+
+ return result;
+ }
+
+ /**
+ * Stores a value with a key.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ public function setItem(key:String, value:String) : Boolean
+ {
+ if (!storageAvailable()) return false;
+
+ COMPILE::AS3 {
+ sharedObject.data[key] = value;
+ sharedObject.flush();
+ }
+
+ COMPILE::JS {
+ window.localStorage.setItem(key, value);
+ }
+
+ return true;
+ }
+
+ /**
+ * Returns the value associated with the key, or undefined if there is
+ * no value stored. Note that a String version of the value is stored.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ public function getItem(key:String) : String
+ {
+ if (!storageAvailable()) return null;
+
+ var result:String = null;
+
+ COMPILE::AS3 {
+ result = sharedObject.data[key] as String;
+ }
+
+ COMPILE::JS {
+ result = window.localStorage.getItem(key);
+ }
+
+ return result;
+ }
+
+ /**
+ * Removed the value and, possibly, the key from local storage. On some
+ * platforms, retriving the value after removing it will be an error, on
+ * others it may return undefined or null.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ public function removeItem(key:String) : Boolean
+ {
+ if (!storageAvailable()) return null;
+
+ COMPILE::AS3 {
+ delete sharedObject.data[key];
+ sharedObject.flush();
+ }
+
+ COMPILE::JS {
+ window.localStorage.removeItem(key);
+ }
+
+ return true;
+ }
+
+ /**
+ * Returns true if there is a value stored for the key.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ public function hasItem(key:String) : Boolean
+ {
+ if (!storageAvailable()) return false;
+
+ var result:Boolean = false;
+
+ COMPILE::AS3 {
+ result = sharedObject.data.hasOwnProperty(key);
+ }
+
+ COMPILE::JS {
+ result = (window.localStorage[key] !== null);
+ }
+
+ return result;
+ }
+
+ /**
+ * Clears all values from local storage.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ public function clear() : void
+ {
+ if (!storageAvailable()) return;
+
+ COMPILE::AS3 {
+ sharedObject.clear();
+ }
+
+ COMPILE::JS {
+ window.localStorage.clear();
+ }
+ }
+}
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/75ee02d2/frameworks/projects/Storage/src/main/resources/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/resources/basic-manifest.xml b/frameworks/projects/Storage/src/main/resources/basic-manifest.xml
index cd0f5b4..b502203 100644
--- a/frameworks/projects/Storage/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Storage/src/main/resources/basic-manifest.xml
@@ -20,5 +20,5 @@
<componentPackage>
-
+ <component id="LocalStorage" class="org.apache.flex.storage.LocalStorage"/>
</componentPackage>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/75ee02d2/frameworks/projects/Storage/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/resources/compile-asjs-config.xml b/frameworks/projects/Storage/src/main/resources/compile-asjs-config.xml
index 0d410aa..6b3c6d5 100644
--- a/frameworks/projects/Storage/src/main/resources/compile-asjs-config.xml
+++ b/frameworks/projects/Storage/src/main/resources/compile-asjs-config.xml
@@ -42,6 +42,10 @@
<locale/>
<library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
</library-path>
<namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/75ee02d2/frameworks/projects/Storage/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/resources/compile-config.xml b/frameworks/projects/Storage/src/main/resources/compile-config.xml
index bdd4048..8ca6f9c 100644
--- a/frameworks/projects/Storage/src/main/resources/compile-config.xml
+++ b/frameworks/projects/Storage/src/main/resources/compile-config.xml
@@ -23,6 +23,7 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
</external-library-path>
<mxml>
@@ -59,6 +60,10 @@
</compiler>
<include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
<name>js/out/*</name>
<path>../../../target/generated-sources/flexjs/*</path>
</include-file>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/75ee02d2/frameworks/projects/Storage/src/main/resources/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/resources/defaults.css b/frameworks/projects/Storage/src/main/resources/defaults.css
new file mode 100644
index 0000000..9d82e6f
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/resources/defaults.css
@@ -0,0 +1,26 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+@namespace "library://ns.apache.org/flexjs/basic";
+@namespace svg "library://ns.apache.org/flexjs/svg";
+
+LocalStorage
+{
+ IStorageProvider: ClassReference("org.apache.flex.storage.providers.LocalStorageProvider");
+}
\ No newline at end of file
[02/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - get ant
building to work
Posted by ah...@apache.org.
get ant building to work
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d17d0e1b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d17d0e1b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d17d0e1b
Branch: refs/heads/master
Commit: d17d0e1bf5808e6a0328da73f969d5e8d21fe386
Parents: 5303fe0
Author: Alex Harui <ah...@apache.org>
Authored: Mon Feb 8 09:07:58 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Feb 8 09:07:58 2016 -0800
----------------------------------------------------------------------
.../projects/Flat/.actionScriptProperties | 38 ++++++++++++++++++++
.../projects/HTML5/.actionScriptProperties | 38 ++++++++++++++++++++
.../projects/Reflection/.actionScriptProperties | 38 ++++++++++++++++++++
3 files changed, 114 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d17d0e1b/frameworks/projects/Flat/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/.actionScriptProperties b/frameworks/projects/Flat/.actionScriptProperties
new file mode 100644
index 0000000..92b0438
--- /dev/null
+++ b/frameworks/projects/Flat/.actionScriptProperties
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<actionScriptProperties analytics="false" mainApplicationPath="Flat.as" projectUUID="ea1b31ea-3d47-4d1e-8e28-ad149f2397e1" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath/>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="Flat.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d17d0e1b/frameworks/projects/HTML5/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/.actionScriptProperties b/frameworks/projects/HTML5/.actionScriptProperties
new file mode 100644
index 0000000..610ef45
--- /dev/null
+++ b/frameworks/projects/HTML5/.actionScriptProperties
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<actionScriptProperties analytics="false" mainApplicationPath="HTML5.as" projectUUID="5f79f743-aaab-4427-9842-97bbd3d20850" version="11">
+ <compiler additionalCompilerArguments="-locale @locale@" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath/>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="HTML5.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d17d0e1b/frameworks/projects/Reflection/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/.actionScriptProperties b/frameworks/projects/Reflection/.actionScriptProperties
new file mode 100644
index 0000000..dec6681
--- /dev/null
+++ b/frameworks/projects/Reflection/.actionScriptProperties
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<actionScriptProperties analytics="false" mainApplicationPath="Reflection.as" projectUUID="86565b55-be36-439b-a583-877632ea28b7" version="11">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath/>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="Reflection.as"/>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+</actionScriptProperties>
[31/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - header
Posted by ah...@apache.org.
header
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/e7013585
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e7013585
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e7013585
Branch: refs/heads/master
Commit: e701358539dc118a95d193487aa40503a3968ead
Parents: 9dfef27
Author: Alex Harui <ah...@apache.org>
Authored: Fri Mar 11 14:56:40 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Mar 11 14:56:40 2016 -0800
----------------------------------------------------------------------
.../src/main/flex/google/maps/MouseEvent.as | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e7013585/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MouseEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MouseEvent.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MouseEvent.as
index f06d7c5..4b0849b 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MouseEvent.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MouseEvent.as
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ * Modifications may have been implemented at the Apache Software Foundation.
+ */
package google.maps {
/**
[33/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Added
file streaming input and output to FlexJS Storage project.
Posted by ah...@apache.org.
Added file streaming input and output to FlexJS Storage project.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/dcf3b3b9
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/dcf3b3b9
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/dcf3b3b9
Branch: refs/heads/master
Commit: dcf3b3b95388b86060c85cd01398eb98e1a17db6
Parents: 3cab6cf
Author: Peter Ent <pe...@apache.org>
Authored: Mon Mar 14 17:15:08 2016 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Mon Mar 14 17:15:08 2016 -0400
----------------------------------------------------------------------
.../StorageExample/src/MyInitialView.mxml | 158 +++++++++++++++---
.../Storage/src/main/flex/StorageClasses.as | 8 +-
.../apache/flex/storage/IPermanentStorage.as | 28 ++++
.../org/apache/flex/storage/PermanentStorage.as | 34 ++++
.../flex/storage/events/FileErrorEvent.as | 80 +++++++++
.../org/apache/flex/storage/events/FileEvent.as | 84 ++++++++++
.../apache/flex/storage/events/FileReadEvent.as | 70 --------
.../flex/storage/events/FileWriteEvent.as | 60 -------
.../apache/flex/storage/file/DataInputStream.as | 146 ++++++++++++++++
.../flex/storage/file/DataOutputStream.as | 165 +++++++++++++++++++
.../org/apache/flex/storage/file/IDataInput.as | 32 ++++
.../org/apache/flex/storage/file/IDataOutput.as | 32 ++++
.../org/apache/flex/storage/file/IDataStream.as | 32 ++++
.../storage/providers/AirStorageProvider.as | 106 +++++++++++-
.../providers/IPermanentStorageProvider.as | 28 ++++
.../storage/providers/WebStorageProvider.as | 116 +++++++++++--
16 files changed, 1001 insertions(+), 178 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/examples/flexjs/StorageExample/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/src/MyInitialView.mxml b/examples/flexjs/StorageExample/src/MyInitialView.mxml
index 2bb6b7a..0717fcd 100644
--- a/examples/flexjs/StorageExample/src/MyInitialView.mxml
+++ b/examples/flexjs/StorageExample/src/MyInitialView.mxml
@@ -24,39 +24,88 @@ limitations under the License.
<fx:Script>
<![CDATA[
import org.apache.flex.storage.PermanentStorage;
- import org.apache.flex.storage.events.FileReadEvent;
- import org.apache.flex.storage.events.FileWriteEvent;
+ import org.apache.flex.storage.events.FileEvent;
+ import org.apache.flex.storage.events.FileErrorEvent;
+ import org.apache.flex.storage.file.IDataInput;
+ import org.apache.flex.storage.file.IDataOutput;
private function startup():void
{
trace("Starting up");
}
+ // READING - PLAIN
+
private function onRead():void
{
var storage:PermanentStorage = new PermanentStorage();
var useFile:String = readFileNameField.text;
- storage.addEventListener("COMPLETE", handleRead);
+ storage.addEventListener("READ", handleRead);
storage.addEventListener("ERROR", handleRead);
storage.readTextFromDataFile( useFile );
}
- private function handleRead(event:FileReadEvent):void
+ private function handleRead(event:FileEvent):void
{
- trace("Read event type: "+event.type);
- if (event.type == "ERROR") {
- status.text = "Error: "+event.errorMessage;
- readContent.text = "";
- }
- else {
- trace(event.data);
- status.text = "Read Success!";
- readContent.text = String(event.data);
- }
+ trace(event.data);
+ status.text = "Read Success!";
+ readContent.text = String(event.data);
+ }
+
+ private function handleReadError(event:FileErrorEvent):void
+ {
+ status.text = "Error: "+event.errorMessage;
+ readContent.text = "";
+ }
+
+ // READING - STREAM
+
+ private function onReadStream():void
+ {
+ var storage:PermanentStorage = new PermanentStorage();
+ var useFile:String = readFileNameField.text;
+
+ storage.addEventListener("READY", handleReadStreamReady);
+ storage.addEventListener("READ", handleReadStreamData);
+ storage.addEventListener("COMPLETE", handleReadStreamComplete);
+ storage.addEventListener("ERROR", handleReadStreamError);
+ storage.openInputDataStream(useFile);
}
+ private function handleReadStreamReady(event:FileEvent):void
+ {
+ trace("INPUT STREAM READY");
+
+ status.text = "Input stream ready";
+
+ var stream:IDataInput = event.stream as IDataInput;
+ stream.readText();
+ }
+
+ private function handleReadStreamData(event:FileEvent):void
+ {
+ trace("INPUT STREAM DATA.");
+ var stream:IDataInput = event.stream as IDataInput;
+
+ status.text = "Input stream reading";
+ readContent.text = String(event.data);
+ }
+
+ private function handleReadStreamComplete(event:FileEvent):void
+ {
+ trace("INPUT STREAM CLOSED");
+ status.text = "Input stream closed";
+ }
+
+ private function handleReadStreamError(event:FileErrorEvent):void
+ {
+ status.text = event.errorMessage;
+ }
+
+ // SAVING - PLAIN
+
private function onSave():void
{
var storage:PermanentStorage = new PermanentStorage();
@@ -65,18 +114,75 @@ limitations under the License.
var useFile:String = writeFileNameField.text;
var useContent:String = today.toString() + " " + contentField.text;
- storage.addEventListener("COMPLETE", handleSave);
+ storage.addEventListener("WRITE", handleSave);
storage.writeTextToDataFile(useFile, useContent);
}
- private function handleSave(event:FileWriteEvent):void
+ private function handleSave(event:FileEvent):void
+ {
+ status.text = "Write Success!";
+ }
+
+ private function handleSaveError(event:FileErrorEvent):void
+ {
+ status.text = "Error: "+event.errorMessage;
+ }
+
+ // SAVING - STREAM
+
+ private var writeCount:Number = 0;
+
+ private function onSaveStream():void
+ {
+ var storage:PermanentStorage = new PermanentStorage();
+ var useFile:String = writeFileNameField.text;
+
+ storage.addEventListener("READY", handleSaveStreamReady);
+ storage.addEventListener("WRITE", handleSaveStreamData);
+ storage.addEventListener("COMPLETE", handleSaveStreamComplete);
+ storage.addEventListener("ERROR", handleSaveStreamError);
+ storage.openOutputDataStream(useFile);
+ }
+
+ private function handleSaveStreamReady(event:FileEvent):void
{
- if (event.type == "ERROR") {
- status.text = "Error: "+event.errorMessage;
- } else {
- status.text = "Write Success!";
+ writeCount = 3;
+ trace("OUTPUT STREAM READY");
+
+ status.text = "Output stream ready";
+ var today:Date = new Date();
+ var useContent:String = "("+String(writeCount)+") "+today.toString() + " " + contentField.text + "\n";
+
+ var stream:IDataOutput = event.stream as IDataOutput;
+ stream.writeText(useContent);
+ }
+
+ private function handleSaveStreamData(event:FileEvent):void
+ {
+ trace("OUTPUT STREAM DATA. Count = "+writeCount);
+ var stream:IDataOutput = event.stream as IDataOutput;
+
+ if (--writeCount == 0) {
+ stream.close();
+ }
+ else {
+ status.text = "Output stream writing";
+ var today:Date = new Date();
+ var useContent:String = "("+String(writeCount)+") "+today.toString() + " " + contentField.text + "\n";
+ stream.writeText(useContent);
}
}
+
+ private function handleSaveStreamComplete(event:FileEvent):void
+ {
+ trace("OUTPUT STREAM CLOSED");
+ status.text = "Output stream closed";
+ }
+
+ private function handleSaveStreamError(event:FileErrorEvent):void
+ {
+ status.text = event.errorMessage;
+ }
]]>
</fx:Script>
@@ -108,7 +214,11 @@ limitations under the License.
<js:Label text="Content:" className="labelStyle" />
<js:TextInput id="contentField" />
</js:HContainer>
- <js:TextButton text="SAVE" click="onSave()" />
+ <js:HContainer>
+ <js:TextButton text="SAVE" click="onSave()" />
+ <js:Spacer width="10" />
+ <js:TextButton text="SAVE STREAM" click="onSaveStream()" />
+ </js:HContainer>
<js:Spacer height="20" />
<js:Label id="status" />
@@ -118,7 +228,11 @@ limitations under the License.
<js:Label text="Read File Name:" className="labelStyle" />
<js:TextInput id="readFileNameField" text="testfile.txt" />
</js:HContainer>
- <js:TextButton text="READ" click="onRead()" />
+ <js:HContainer>
+ <js:TextButton text="READ" click="onRead()" />
+ <js:Spacer width="10" />
+ <js:TextButton text="READ STREAM" click="onReadStream()" />
+ </js:HContainer>
<js:HContainer>
<js:Label text="Content:" className="labelStyle" />
</js:HContainer>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/frameworks/projects/Storage/src/main/flex/StorageClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/StorageClasses.as b/frameworks/projects/Storage/src/main/flex/StorageClasses.as
index 92d9bd4..9fb9ea3 100644
--- a/frameworks/projects/Storage/src/main/flex/StorageClasses.as
+++ b/frameworks/projects/Storage/src/main/flex/StorageClasses.as
@@ -31,11 +31,13 @@ internal class StorageClasses
import org.apache.flex.storage.providers.LocalStorageProvider; LocalStorageProvider;
import org.apache.flex.storage.PermanentStorage; PermanentStorage;
- import org.apache.flex.storage.events.FileReadEvent; FileReadEvent;
- import org.apache.flex.storage.events.FileWriteEvent; FileWriteEvent;
+ import org.apache.flex.storage.events.FileEvent; FileEvent;
+ import org.apache.flex.storage.events.FileErrorEvent; FileErrorEvent;
+
+ import org.apache.flex.storage.file.DataInputStream; DataInputStream;
+ import org.apache.flex.storage.file.DataOutputStream; DataOutputStream;
import org.apache.flex.storage.providers.AirStorageProvider; AirStorageProvider;
-
import org.apache.flex.storage.providers.WebStorageProvider; WebStorageProvider;
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/IPermanentStorage.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/IPermanentStorage.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/IPermanentStorage.as
index d47866b..d461420 100644
--- a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/IPermanentStorage.as
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/IPermanentStorage.as
@@ -59,5 +59,33 @@ package org.apache.flex.storage
* @productversion FlexJS 0.0
*/
function writeTextToDataFile( fileName:String, text:String ) : void;
+
+ /**
+ * Opens an output stream into a file in the data storage directory. A Ready
+ * event is dispatched when the stream has been opened. Use the stream to
+ * write data to the file.
+ *
+ * @param fileName The name of file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function openOutputDataStream( fileName:String ) : void;
+
+ /**
+ * Opens an input stream into a file in the data storage directory. A Ready
+ * event is dispatched when the stream has been opened. Use the stream to
+ * read data from the file.
+ *
+ * @param fileName The name of file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function openInputDataStream( fileName:String ) : void;
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/PermanentStorage.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/PermanentStorage.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/PermanentStorage.as
index d1e8887..178dee8 100644
--- a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/PermanentStorage.as
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/PermanentStorage.as
@@ -93,5 +93,39 @@ package org.apache.flex.storage
{
_storageProvider.writeTextToDataFile( fileName, text );
}
+
+ /**
+ * Opens an output stream into a file in the data storage directory. A Ready
+ * event is dispatched when the stream has been opened. Use the stream to
+ * write data to the file.
+ *
+ * @param fileName The name of file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function openOutputDataStream( fileName:String ) : void
+ {
+ _storageProvider.openOutputDataStream(fileName);
+ }
+
+ /**
+ * Opens an input stream into a file in the data storage directory. A Ready
+ * event is dispatched when the stream has been opened. Use the stream to
+ * read data from the file.
+ *
+ * @param fileName The name of file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function openInputDataStream( fileName:String ) : void
+ {
+ _storageProvider.openInputDataStream(fileName);
+ }
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileErrorEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileErrorEvent.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileErrorEvent.as
new file mode 100644
index 0000000..9491ad2
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileErrorEvent.as
@@ -0,0 +1,80 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage.events
+{
+ import org.apache.flex.events.Event;
+ import org.apache.flex.storage.file.IDataStream;
+
+ /**
+ * The FileErrorEvent class is used to signal varies errors that may occur
+ * while handling a permanent file.
+ *
+ * ERROR - A genric error occurred reading or opening the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public class FileErrorEvent extends Event
+ {
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function FileErrorEvent(type:String)
+ {
+ super(type);
+ }
+
+ /**
+ * Contains the IDataOutput or IDataInput stream on which the error occurred.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var stream:IDataStream;
+
+ /**
+ * If not null, the error that occurred opening or reading the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var errorMessage:String;
+
+ /**
+ * An error code, if any, associated with the error that triggered this event.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var errorCode:Number;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileEvent.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileEvent.as
new file mode 100644
index 0000000..423db20
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileEvent.as
@@ -0,0 +1,84 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage.events
+{
+ import org.apache.flex.events.Event;
+ import org.apache.flex.storage.file.IDataStream;
+
+ /**
+ * The FileEvent class is used to signal varies events in the life and
+ * use of permanent files.
+ *
+ * READY - The file has been created or opened successfully.
+ * READ - Some (or all) of the data has been read.
+ * WRITE - Some (or all) of the data has been written.
+ * COMPLETE - The read or write process has finished and the file is closed.
+ * ERROR - An error occurred reading or opening the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public class FileEvent extends Event
+ {
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function FileEvent(type:String)
+ {
+ super(type);
+ }
+
+ /**
+ * The data read from the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var data:String;
+
+ /**
+ * Contains the IDataOutput or IDataInput stream to use for streaming.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var stream:IDataStream;
+
+ /**
+ * If not null, the error that occurred opening or reading the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var errorMessage:String;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileReadEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileReadEvent.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileReadEvent.as
deleted file mode 100644
index 528c36b..0000000
--- a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileReadEvent.as
+++ /dev/null
@@ -1,70 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.storage.events
-{
- import org.apache.flex.events.Event;
-
- /**
- * The FileReadEvent class is used to signal varies events in the life and
- * use of permanent files.
- *
- * COMPLETE - The file has been completely read.
- * ERROR - An error occurred reading or opening the file.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public class FileReadEvent extends Event
- {
- /**
- * Constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function FileReadEvent(type:String)
- {
- super(type);
- }
-
- /**
- * The data read from the file.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public var data:String;
-
- /**
- * If not null, the error that occurred opening or reading the file.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public var errorMessage:String;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileWriteEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileWriteEvent.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileWriteEvent.as
deleted file mode 100644
index fea4542..0000000
--- a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileWriteEvent.as
+++ /dev/null
@@ -1,60 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.storage.events
-{
- import org.apache.flex.events.Event;
-
- /**
- * The FileWriteEvent class is used to signal varies events in the life and
- * use of permanent files.
- *
- * COMPLETE - The file has been successfully written.
- * ERROR - An error occurred writing or opening the file.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public class FileWriteEvent extends Event
- {
- /**
- * Constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function FileWriteEvent(type:String)
- {
- super(type);
- }
-
- /**
- * If not null, the error that occurred opening or writing the file.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public var errorMessage:String;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/DataInputStream.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/DataInputStream.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/DataInputStream.as
new file mode 100644
index 0000000..369eeb7
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/DataInputStream.as
@@ -0,0 +1,146 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage.file
+{
+import org.apache.flex.events.EventDispatcher;
+import org.apache.flex.events.IEventDispatcher;
+import org.apache.flex.storage.events.FileEvent;
+
+COMPILE::AS3 {
+ import flash.filesystem.File;
+ import flash.filesystem.FileMode;
+ import flash.filesystem.FileStream;
+ import flash.utils.ByteArray;
+ import flash.errors.IOError;
+}
+
+/**
+ * Instances of the DataInputStream by the storage provider are created when a
+ * file is opened for input streaming. That is, its contents are read in chunks.
+ * Events are dispatched when a chunk has been read, if there is an error, and
+ * when the file has been read completely.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+public class DataInputStream extends EventDispatcher implements IDataInput
+{
+ /**
+ * Constructor.
+ *
+ * @param target The object to use as the event dispatch target.
+ * @param fileHandle A platform-specific handle to the file system
+ * @param fileReader A platform-specific handle to the file system
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function DataInputStream(target:IEventDispatcher, fileHandle:Object, fileReader:Object)
+ {
+ super();
+
+ _target = target;
+
+ COMPILE::JS {
+ _fileHandle = fileHandle as File;
+ _fileReader = fileReader as FileReader;
+
+ var self:DataInputStream = this;
+
+ _fileReader.onloadend = function (e):void {
+ var streamEvent:FileEvent = new FileEvent("READ");
+ streamEvent.stream = self;
+ streamEvent.data = this.result;
+ _target.dispatchEvent(streamEvent);
+
+ self.close();
+ };
+ }
+
+ COMPILE::AS3 {
+ _fileHandle = fileHandle as File;
+ _fileReader = fileReader as FileStream;
+ }
+ }
+
+ /**
+ * @target
+ */
+ private var _target:IEventDispatcher;
+
+ COMPILE::JS {
+ private var _fileHandle:File;
+ private var _fileReader:FileReader;
+ }
+ COMPILE::AS3 {
+ private var _fileHandle:File;
+ private var _fileReader:FileStream;
+ }
+
+ /**
+ * Reads a chunk of text. A FileEvent "READ" event is dispatched when
+ * the chunk is read.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function readText():void
+ {
+ COMPILE::JS {
+ _fileReader.readAsText(_fileHandle);
+ }
+ COMPILE::AS3 {
+ var bytes:ByteArray = new ByteArray();
+ _fileReader.readBytes(bytes);
+
+ var text:String = new String(bytes);
+
+ var newEvent:FileEvent = new FileEvent("READ");
+ newEvent.data = text;
+ _target.dispatchEvent(newEvent);
+ }
+ }
+
+ /**
+ * Closes the file (and dispatches a FileEvent "COMPLETE" event).
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function close():void
+ {
+ COMPILE::AS3 {
+ _fileReader.close();
+ }
+
+ var endEvent:FileEvent = new FileEvent("COMPLETE");
+ endEvent.stream = this;
+ _target.dispatchEvent(endEvent);
+ }
+}
+
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/DataOutputStream.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/DataOutputStream.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/DataOutputStream.as
new file mode 100644
index 0000000..e19f4ca
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/DataOutputStream.as
@@ -0,0 +1,165 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage.file
+{
+import org.apache.flex.events.EventDispatcher;
+import org.apache.flex.events.IEventDispatcher;
+import org.apache.flex.storage.events.FileEvent;
+import org.apache.flex.storage.events.FileErrorEvent;
+
+COMPILE::AS3 {
+ import flash.filesystem.File;
+ import flash.filesystem.FileMode;
+ import flash.filesystem.FileStream;
+ import flash.utils.ByteArray;
+ import flash.errors.IOError;
+}
+
+/**
+ * Instances of the DataOutput stream are created by the storage provider when a file
+ * is opened for output streaming. Events are dispatches as the file is opened, written to,
+ * and finally closed.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+public class DataOutputStream extends EventDispatcher implements IDataOutput
+{
+ /**
+ * Constructor.
+ *
+ * @param target The object to as the event dispatch target.
+ * @param fileHandle A reference to a platform-specific file object.
+ * @param fileWriter A reference to a platform-specific file object.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function DataOutputStream(target:IEventDispatcher, fileHandle:Object, fileWriter:Object)
+ {
+ super();
+
+ _target = target;
+
+ COMPILE::JS {
+ _fileHandle = fileHandle as FileEntry;
+ _fileWriter = fileWriter as FileWriter;
+
+ var self:DataOutputStream = this;
+
+ _fileWriter.onwriteend = function (e):void {
+ var newEvent:FileEvent = new FileEvent("WRITE");
+ newEvent.stream = self;
+ _target.dispatchEvent(newEvent);
+ };
+
+ _fileWriter.onerror = function (e):void {
+ var newEvent:FileErrorEvent = new FileErrorEvent("ERROR");
+ newEvent.stream = self;
+ newEvent.errorMessage = "Failed to write the file.";
+ _target.dispatchEvent(newEvent);
+ };
+
+ _fileWriter.truncate(0);
+ }
+
+ COMPILE::AS3 {
+ _fileHandle = fileHandle as File;
+ _fileWriter = fileWriter as FileStream;
+ }
+ }
+
+ /**
+ * @private
+ */
+ private var _target:IEventDispatcher;
+
+ COMPILE::JS {
+ private var _fileHandle:FileEntry;
+ private var _fileWriter:FileWriter;
+ }
+ COMPILE::AS3 {
+ private var _fileHandle:File;
+ private var _fileWriter:FileStream;
+ }
+
+ /**
+ * Writes a chunk of text into the file. When the file is ready to accept the nex
+ * chunk, a FileEvent "WRITE" event is dispatched.
+ *
+ * @param text The string to write into the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function writeText(text:String):void
+ {
+ COMPILE::JS {
+ var blob:Blob = new Blob([text], { type: 'text/plain' });
+ _fileWriter.write(blob);
+ }
+ COMPILE::AS3 {
+ try {
+ _fileWriter.writeUTFBytes(text);
+
+ var newEvent:FileEvent = new FileEvent("WRITE");
+ newEvent.stream = this;
+ _target.dispatchEvent(newEvent);
+
+ } catch(ioerror:IOError) {
+ var ioEvent:FileErrorEvent = new FileErrorEvent("ERROR");
+ ioEvent.errorMessage = "I/O Error";
+ ioEvent.errorCode = 2;
+ _target.dispatchEvent(ioEvent);
+ } catch(secerror:SecurityError) {
+ var secEvent:FileErrorEvent = new FileErrorEvent("ERROR");
+ secEvent.errorMessage = "Security Error";
+ secEvent.errorCode = 3;
+ _target.dispatchEvent(secEvent);
+ }
+ }
+ }
+
+ /**
+ * Closes the file and dispatches a FileEvent "COMPLETE" event.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function close():void
+ {
+ COMPILE::AS3 {
+ _fileWriter.close();
+ }
+
+ var newEvent:FileEvent = new FileEvent("COMPLETE");
+ newEvent.stream = this;
+ _target.dispatchEvent(newEvent);
+ }
+}
+
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/IDataInput.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/IDataInput.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/IDataInput.as
new file mode 100644
index 0000000..0e3b41e
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/IDataInput.as
@@ -0,0 +1,32 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage.file
+{
+
+/**
+ * The File class provides access to a specific file on the device.
+ */
+public interface IDataInput extends IDataStream
+{
+ function readText():void;
+
+ function close():void;
+}
+
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/IDataOutput.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/IDataOutput.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/IDataOutput.as
new file mode 100644
index 0000000..0105c04
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/IDataOutput.as
@@ -0,0 +1,32 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage.file
+{
+
+/**
+ * The File class provides access to a specific file on the device.
+ */
+public interface IDataOutput extends IDataStream
+{
+ function writeText(text:String):void;
+
+ function close():void;
+}
+
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/IDataStream.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/IDataStream.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/IDataStream.as
new file mode 100644
index 0000000..448aef4
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/IDataStream.as
@@ -0,0 +1,32 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage.file
+{
+
+import org.apache.flex.events.IEventDispatcher;
+
+/**
+ * The File class provides access to a specific file on the device.
+ */
+public interface IDataStream
+{
+
+}
+
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/AirStorageProvider.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/AirStorageProvider.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/AirStorageProvider.as
index 185b6a3..7657532 100644
--- a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/AirStorageProvider.as
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/AirStorageProvider.as
@@ -28,14 +28,20 @@ package org.apache.flex.storage.providers
import flash.utils.ByteArray;
import flash.errors.IOError;
}
-
- import org.apache.flex.storage.events.FileReadEvent;
- import org.apache.flex.storage.events.FileWriteEvent;
+
+ import org.apache.flex.storage.events.FileEvent;
+ import org.apache.flex.storage.events.FileErrorEvent;
+ import org.apache.flex.storage.file.DataOutputStream;
+ import org.apache.flex.storage.file.DataInputStream;
/**
* The AirStorageProvider class implements the IPermanentStorageProvider
* interface for saving files to a mobile device using the Adobe(tm) AIR platform.
*
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
* @flexjsignorecoercion FileEntry
* @flexjsignorecoercion FileWriter
* @flexjsignorecoercion window
@@ -100,8 +106,9 @@ package org.apache.flex.storage.providers
var file:File = File.applicationStorageDirectory.resolvePath(fileName);
if (!file.exists) {
- var errEvent:FileReadEvent = new FileReadEvent("ERROR");
+ var errEvent:FileErrorEvent = new FileErrorEvent("ERROR");
errEvent.errorMessage = "File does not exist.";
+ errEvent.errorCode = 1;
_target.dispatchEvent(errEvent);
return;
}
@@ -115,9 +122,46 @@ package org.apache.flex.storage.providers
var text:String = new String(bytes);
- var newEvent:FileReadEvent = new FileReadEvent("COMPLETE");
+ var newEvent:FileEvent = new FileEvent("READ");
newEvent.data = text;
_target.dispatchEvent(newEvent);
+
+ var finEvent:FileEvent = new FileEvent("COMPLETE");
+ _target.dispatchEvent(finEvent);
+ }
+ }
+
+ /**
+ * Opens a file for input streaming. Events are dispatched when the file is ready
+ * for reading, after each read, and when the file is closed.
+ *
+ * @param fileName The name of the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function openInputDataStream( fileName:String ) : void
+ {
+ COMPILE::AS3 {
+ var file:File = File.applicationStorageDirectory.resolvePath(fileName);
+ var stream:FileStream = new FileStream();
+
+ if (!file.exists) {
+ var errEvent:FileErrorEvent = new FileErrorEvent("ERROR");
+ errEvent.errorMessage = "File does not exist.";
+ errEvent.errorCode = 1;
+ _target.dispatchEvent(errEvent);
+ return;
+ }
+
+ var instream:DataInputStream = new DataInputStream(_target, file, stream);
+ stream.open(file, FileMode.READ);
+
+ var newEvent:FileEvent = new FileEvent("READY");
+ newEvent.stream = instream;
+ _target.dispatchEvent(newEvent);
}
}
@@ -146,19 +190,65 @@ package org.apache.flex.storage.providers
stream.writeUTFBytes(text);
stream.close();
} catch(ioerror:IOError) {
- var ioEvent:FileWriteEvent = new FileWriteEvent("ERROR");
+ var ioEvent:FileErrorEvent = new FileErrorEvent("ERROR");
ioEvent.errorMessage = "I/O Error";
+ ioEvent.errorCode = 2;
_target.dispatchEvent(ioEvent);
return;
} catch(secerror:SecurityError) {
- var secEvent:FileWriteEvent = new FileWriteEvent("ERROR");
+ var secEvent:FileErrorEvent = new FileErrorEvent("ERROR");
secEvent.errorMessage = "Security Error";
+ secEvent.errorCode = 3;
_target.dispatchEvent(secEvent);
return;
}
- var newEvent:FileWriteEvent = new FileWriteEvent("COMPLETE");
+ var newEvent:FileEvent = new FileEvent("WRITE");
_target.dispatchEvent(newEvent);
+
+ var finEvent:FileEvent = new FileEvent("COMPLETE");
+ _target.dispatchEvent(finEvent);
+ }
+ }
+
+ /**
+ * Opens a file for output streaming. Events are dispatched when the file is ready
+ * to receive output, after each write to the file, and when the file is closed.
+ *
+ * @param fileName The name of the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function openOutputDataStream( fileName:String ) : void
+ {
+ COMPILE::AS3 {
+ var file:File = File.applicationStorageDirectory.resolvePath(fileName);
+ var stream:FileStream = new FileStream();
+
+ var outstream:DataOutputStream = new DataOutputStream(_target, file, stream);
+ try {
+ stream.open(file, FileMode.WRITE);
+ var newEvent:FileEvent = new FileEvent("READY");
+ newEvent.stream = outstream;
+ _target.dispatchEvent(newEvent);
+
+ } catch(ioerror:IOError) {
+ var ioEvent:FileErrorEvent = new FileErrorEvent("ERROR");
+ ioEvent.errorMessage = "I/O Error";
+ ioEvent.errorCode = 2;
+ _target.dispatchEvent(ioEvent);
+ return;
+
+ } catch(secerror:SecurityError) {
+ var secEvent:FileErrorEvent = new FileErrorEvent("ERROR");
+ secEvent.errorMessage = "Security Error";
+ secEvent.errorCode = 3;
+ _target.dispatchEvent(secEvent);
+ return;
+ }
}
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/IPermanentStorageProvider.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/IPermanentStorageProvider.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/IPermanentStorageProvider.as
index 023b1a7..f5a200d 100644
--- a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/IPermanentStorageProvider.as
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/IPermanentStorageProvider.as
@@ -70,5 +70,33 @@ package org.apache.flex.storage.providers
* @productversion FlexJS 0.0
*/
function writeTextToDataFile( fileName:String, text:String ) : void;
+
+ /**
+ * Opens an output stream into a file in the data storage directory. A Ready
+ * event is dispatched when the stream has been opened. Use the stream to
+ * write data to the file.
+ *
+ * @param fileName The name of file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function openOutputDataStream( fileName:String ) : void;
+
+ /**
+ * Opens an input stream into a file in the data storage directory. A Ready
+ * event is dispatched when the stream has been opened. Use the stream to
+ * read data from the file.
+ *
+ * @param fileName The name of file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function openInputDataStream( fileName:String ) : void;
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcf3b3b9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/WebStorageProvider.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/WebStorageProvider.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/WebStorageProvider.as
index 557b591..df33c16 100644
--- a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/WebStorageProvider.as
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/WebStorageProvider.as
@@ -20,14 +20,20 @@ package org.apache.flex.storage.providers
{
import org.apache.flex.events.EventDispatcher;
import org.apache.flex.events.IEventDispatcher;
-
- import org.apache.flex.storage.events.FileReadEvent;
- import org.apache.flex.storage.events.FileWriteEvent;
+
+ import org.apache.flex.storage.events.FileEvent;
+ import org.apache.flex.storage.events.FileErrorEvent;
+ import org.apache.flex.storage.file.DataInputStream;
+ import org.apache.flex.storage.file.DataOutputStream;
/**
* The WebStorageProvider class implements the IPermanentStorageProvider
* interface for saving files to a mobile device.
*
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
* @flexjsignorecoercion FileEntry
* @flexjsignorecoercion FileWriter
* @flexjsignorecoercion window
@@ -95,20 +101,63 @@ package org.apache.flex.storage.providers
fileEntry.file(function (file):void {
var reader:FileReader = new FileReader();
reader.onloadend = function (e):void {
- var newEvent:FileReadEvent = new FileReadEvent("COMPLETE");
+ var newEvent:FileEvent = new FileEvent("READ");
newEvent.data = this.result;
_target.dispatchEvent(newEvent);
+
+ var finEvent:FileEvent = new FileEvent("COMPLETE");
+ _target.dispatchEvent(finEvent);
};
reader.readAsText(file);
}, function (e):void {
- var errEvent:FileReadEvent = new FileReadEvent("ERROR");
- errEvent.errorMessage = "Cannot open file for reading";
- _target.dispatchEvent(errEvent);
+ var err1Event:FileErrorEvent = new FileErrorEvent("ERROR");
+ err1Event.errorMessage = "Cannot open file for reading";
+ err1Event.errorCode = 2;
+ _target.dispatchEvent(err1Event);
});
}, function (e):void {
- var errEvent:FileReadEvent = new FileReadEvent("ERROR");
- errEvent.errorMessage = "File does not exist";
- _target.dispatchEvent(errEvent);
+ var err2Event:FileErrorEvent = new FileErrorEvent("ERROR");
+ err2Event.errorMessage = "File does not exist";
+ err2Event.errorCode = 1;
+ _target.dispatchEvent(err2Event);
+ });
+ }
+ }
+
+ /**
+ * Opens an input stream into a file in the data storage directory. A Ready
+ * event is dispatched when the stream has been opened. Use the stream to
+ * read data from the file.
+ *
+ * @param fileName The name of file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function openInputDataStream( fileName:String ) : void
+ {
+ COMPILE::JS {
+ var fullPath:String = String(cordova["file"]["dataDirectory"]) + fileName;
+
+ window.resolveLocalFileSystemURL(fullPath, function (fileEntry):void {
+ fileEntry.file(function (file):void {
+ var inputStream:DataInputStream = new DataInputStream(_target, file, new FileReader());
+ var newEvent:FileEvent = new FileEvent("READY");
+ newEvent.stream = inputStream;
+ _target.dispatchEvent(newEvent);
+ }, function (e):void {
+ var err1Event:FileErrorEvent = new FileErrorEvent("ERROR");
+ err1Event.errorMessage = "Cannot open file for reading";
+ err1Event.errorCode = 2;
+ _target.dispatchEvent(err1Event);
+ });
+ }, function (e):void {
+ var err2Event:FileErrorEvent = new FileErrorEvent("ERROR");
+ err2Event.errorMessage = "File does not exist";
+ err2Event.errorCode = 1;
+ _target.dispatchEvent(err2Event);
});
}
}
@@ -136,34 +185,71 @@ package org.apache.flex.storage.providers
directoryEntry.getFile(fileName, { 'create': true }, function (fileEntry):void {
fileEntry.createWriter(function (fileWriter):void {
fileWriter.onwriteend = function (e):void {
- var newEvent:FileWriteEvent = new FileWriteEvent("COMPLETE");
+ var newEvent:FileEvent = new FileEvent("WRITE");
_target.dispatchEvent(newEvent);
+
+ var finEvent:FileEvent = new FileEvent("COMPLETE");
+ _target.dispatchEvent(finEvent);
};
fileWriter.onerror = function (e):void {
- var newEvent:FileWriteEvent = new FileWriteEvent("ERROR");
+ var newEvent:FileErrorEvent = new FileErrorEvent("ERROR");
newEvent.errorMessage = "Failed to write the file.";
+ newEvent.errorCode = 3;
_target.dispatchEvent(newEvent);
};
var blob:Blob = new Blob([text], { type: 'text/plain' });
fileWriter.write(blob);
}, function(e):void {
- var errEvent:FileWriteEvent = new FileWriteEvent("ERROR");
+ var errEvent:FileErrorEvent = new FileErrorEvent("ERROR");
errEvent.errorMessage = "Cannot open file for writing.";
+ errEvent.errorCode = 1;
_target.dispatchEvent(errEvent);
});
}, function(e):void {
- var errEvent:FileWriteEvent = new FileWriteEvent("ERROR");
+ var errEvent:FileErrorEvent = new FileErrorEvent("ERROR");
errEvent.errorMessage = "Cannot create file.";
+ errEvent.errorCode = 4;
_target.dispatchEvent(errEvent);
});
}, function(e):void {
- var errEvent:FileWriteEvent = new FileWriteEvent("ERROR");
+ var errEvent:FileErrorEvent = new FileErrorEvent("ERROR");
errEvent.errorMessage = "Cannot create file.";
+ errEvent.errorCode = 4;
_target.dispatchEvent(errEvent);
});
}
}
+
+ /**
+ * Opens an output stream into a file in the data storage directory. A Ready
+ * event is dispatched when the stream has been opened. Use the stream to
+ * write data to the file.
+ *
+ * @param fileName The name of file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function openOutputDataStream( fileName:String ) : void
+ {
+ COMPILE::JS {
+ var fullPath:String = String(cordova["file"]["dataDirectory"]) + fileName;
+
+ window.resolveLocalFileSystemURL(cordova.file.dataDirectory, function (directoryEntry):void {
+ directoryEntry.getFile(fileName, { 'create': true }, function (fileEntry):void {
+ fileEntry.createWriter(function (fileWriter):void {
+ var outputStream:DataOutputStream = new DataOutputStream(_target, fileEntry, fileWriter);
+ var newEvent:FileEvent = new FileEvent("READY");
+ newEvent.stream = outputStream;
+ _target.dispatchEvent(newEvent);
+ });
+ });
+ });
+ }
+ }
}
}
[42/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - fix
files in LICENSE
Posted by ah...@apache.org.
fix files in LICENSE
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7cd1bd4a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7cd1bd4a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7cd1bd4a
Branch: refs/heads/master
Commit: 7cd1bd4a3bfdfdd4433eb0555d698ef1f19495f6
Parents: fb682e0
Author: Alex Harui <ah...@apache.org>
Authored: Tue Mar 29 08:31:50 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Mar 29 08:31:50 2016 -0700
----------------------------------------------------------------------
LICENSE | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7cd1bd4a/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index a3c1df1..15de483 100644
--- a/LICENSE
+++ b/LICENSE
@@ -210,7 +210,7 @@ separate copyright notices and license terms. Your use of the source
code for the these subcomponents is subject to the terms and
conditions of the following licenses.
-Portions of frameworks/projects/Flat/as/defaults.css is based on
+Portions of frameworks/projects/Flat/src/main/resources/defaults.css is based on
designmodo’s (http://designmodo.com/flat-free/) Flat UI which is
available under an MIT license.
@@ -218,7 +218,7 @@ The map image in examples/flexjs/FlexJSStore/src/assets/427px-Bayarea_map.png
was placed into the Public Domain by its author. See:
https://commons.wikimedia.org/wiki/File:Bayarea_map.png
-The map coordinates in examples/native/USStatesMap/src/MapCoords.js
+The map coordinates in examples/native/USStatesMap/src/MapCoords.as
were placed into the Public Domain by its author. See:
https://en.wikipedia.org/wiki/File:USA_CIA_Map.svg#file
[49/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - remove
GCL crypt folder (and upgrade Selenium)
Posted by ah...@apache.org.
remove GCL crypt folder (and upgrade Selenium)
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/e85d9e13
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e85d9e13
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e85d9e13
Branch: refs/heads/master
Commit: e85d9e134f2ae37acec5eb72a981550b4de58ed7
Parents: bfc904c
Author: Alex Harui <ah...@apache.org>
Authored: Thu Mar 31 19:30:31 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Mar 31 19:30:31 2016 -0700
----------------------------------------------------------------------
build.xml | 26 ++++++++++++++++----------
marmotinni/java/downloads.xml | 6 +++---
2 files changed, 19 insertions(+), 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e85d9e13/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 8047641..651468c 100644
--- a/build.xml
+++ b/build.xml
@@ -782,14 +782,20 @@
<target name="copy-gcl-from-goog-home" if="GOOG_HOME">
<echo message="Copying GCL from ${GOOG_HOME}"></echo>
<copy todir="${basedir}/temp/js/lib/google/closure-library">
- <fileset dir="${GOOG_HOME}" />
+ <fileset dir="${GOOG_HOME}" >
+ <include name="**"/>
+ <exclude name="closure/goog/crypt/**" />
+ </fileset>
</copy>
</target>
<target name="copy-gcl-from-downloaded" unless="GOOG_HOME">
<echo message="Copying GCL from ${basedir}/temp/js/lib/google/closure-library"></echo>
<copy todir="${basedir}/temp/js/lib/google/closure-library">
- <fileset dir="${basedir}/js/lib/google/closure-library" />
+ <fileset dir="${basedir}/js/lib/google/closure-library" >
+ <include name="**"/>
+ <exclude name="closure/goog/crypt/**" />
+ </fileset>
</copy>
</target>
@@ -1064,7 +1070,7 @@
<arg value="script=${basedir}/mustella/tests/basicTests/halo/scripts/CheckBoxTestScript.mxml" />
<!--<arg value="showSteps=true" />-->
<classpath>
- <pathelement location="${basedir}/marmotinni/java/lib/selenium/selenium-java-2.48.2.jar"/>
+ <pathelement location="${basedir}/marmotinni/java/lib/selenium/selenium-java-2.53.0.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/apache-mime4j-0.6.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/bsh-2.0b4.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/cglib-nodep-2.1_3.jar"/>
@@ -1078,7 +1084,7 @@
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-logging-1.2.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/cssparser-0.9.16.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/gson-2.3.1.jar"/>
- <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/guava-18.0.jar"/>
+ <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/guava-19.0.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/hamcrest-core-1.3.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/hamcrest-library-1.3.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/htmlunit-2.18.jar"/>
@@ -1090,7 +1096,7 @@
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jasper-compiler-jdt-5.5.15.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jasper-runtime-5.5.15.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/javax.servlet-api-3.1.0.jar"/>
- <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jcommander-1.29.jar"/>
+ <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jcommander-1.48.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jetty-continuation-9.2.3.v20150730.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jetty-http-9.2.3.v20150730.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jetty-io-9.2.3.v20150730.jar"/>
@@ -1109,7 +1115,7 @@
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/phantomjsdriver-1.2.1.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/sac-1.3.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/serializer-2.7.2.jar"/>
- <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/testng-6.9.6.jar"/>
+ <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/testng-6.9.9.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/websocket-api-9.2.13.v20150730.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/websocket-client-9.2.13.v20150730.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/websocket-common-9.2.13.v20150730.jar"/>
@@ -1163,7 +1169,7 @@
<mkdir dir="${basedir}/mustella/java/bin"/>
<javac srcdir="${basedir}/mustella/java/src/marmotinni" destdir="${basedir}/mustella/java/bin" debug="off" optimize="on">
<classpath>
- <pathelement location="${basedir}/marmotinni/java/lib/selenium/selenium-java-2.48.2.jar"/>
+ <pathelement location="${basedir}/marmotinni/java/lib/selenium/selenium-java-2.53.0.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/apache-mime4j-0.6.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/bsh-2.0b4.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/cglib-nodep-2.1_3.jar"/>
@@ -1177,7 +1183,7 @@
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-logging-1.2.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/cssparser-0.9.16.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/gson-2.3.1.jar"/>
- <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/guava-18.0.jar"/>
+ <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/guava-19.0.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/hamcrest-core-1.3.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/hamcrest-library-1.3.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/htmlunit-2.18.jar"/>
@@ -1189,7 +1195,7 @@
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jasper-compiler-jdt-5.5.15.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jasper-runtime-5.5.15.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/javax.servlet-api-3.1.0.jar"/>
- <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jcommander-1.29.jar"/>
+ <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jcommander-1.48.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jetty-continuation-9.2.3.v20150730.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jetty-http-9.2.3.v20150730.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jetty-io-9.2.3.v20150730.jar"/>
@@ -1208,7 +1214,7 @@
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/phantomjsdriver-1.2.1.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/sac-1.3.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/serializer-2.7.2.jar"/>
- <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/testng-6.9.6.jar"/>
+ <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/testng-6.9.9.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/websocket-api-9.2.13.v20150730.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/websocket-client-9.2.13.v20150730.jar"/>
<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/websocket-common-9.2.13.v20150730.jar"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e85d9e13/marmotinni/java/downloads.xml
----------------------------------------------------------------------
diff --git a/marmotinni/java/downloads.xml b/marmotinni/java/downloads.xml
index 14c0b15..c644c75 100644
--- a/marmotinni/java/downloads.xml
+++ b/marmotinni/java/downloads.xml
@@ -32,9 +32,9 @@
selenium (2.32.0) - Apache 2.0
-->
- <property name="selenium2.jar.dir.name" value="2.48"/>
- <property name="selenium2.jar.name" value="selenium-java-2.48.2"/>
- <property name="selenium2.dir.name" value="selenium-2.48.2"/>
+ <property name="selenium2.jar.dir.name" value="2.53"/>
+ <property name="selenium2.jar.name" value="selenium-java-2.53.0"/>
+ <property name="selenium2.dir.name" value="selenium-2.53.0"/>
<!--
Because the downloads requires a network connection and the JARs don't change very often,
[18/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Changed
Storage package LocalStorage class to use same function names as web storage
API for better cross-compatibility. Also changed storage data type to String
from Object to maintain that c
Posted by ah...@apache.org.
Changed Storage package LocalStorage class to use same function names as web storage API for better cross-compatibility. Also changed storage data type to String from Object to maintain that compatibility and provide a concrete data type.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/392faf58
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/392faf58
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/392faf58
Branch: refs/heads/master
Commit: 392faf58189d864a5b2f7acb5e020e906211925b
Parents: 5479450
Author: Peter Ent <pe...@apache.org>
Authored: Thu Feb 25 14:32:55 2016 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Thu Feb 25 14:32:55 2016 -0500
----------------------------------------------------------------------
.../org/apache/flex/storage/LocalStorage.as | 106 +++++++++++--------
1 file changed, 64 insertions(+), 42 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/392faf58/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/LocalStorage.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/LocalStorage.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/LocalStorage.as
index a3a2b87..9edd82c 100644
--- a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/LocalStorage.as
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/LocalStorage.as
@@ -26,7 +26,7 @@ COMPILE::AS3 {
* The LocalStorage class allows apps to store small amounts of data
* locally, in the browser's permitted storage area. This data will persist
* between browser invocations. The data is stored in key=value pairs.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -35,17 +35,17 @@ COMPILE::AS3 {
*/
public class LocalStorage
{
-
+
/**
* Constructor.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
* @productversion FlexJS 0.0
* @flexjsignoreimport window
*/
- public function LocalStorage()
+ public function LocalStorage()
{
COMPILE::AS3 {
try {
@@ -55,13 +55,13 @@ public class LocalStorage
}
}
}
-
+
COMPILE::AS3
private var sharedObject:SharedObject;
-
+
/**
* Returns true if the platform provides local storage.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -71,11 +71,11 @@ public class LocalStorage
public function storageAvailable():Boolean
{
var result:Boolean = false;
-
+
COMPILE::AS3 {
result = (sharedObject != null);
}
-
+
COMPILE::JS {
try {
result = 'localStorage' in window && window['localStorage'] !== null;
@@ -83,115 +83,137 @@ public class LocalStorage
result = false;
}
}
-
+
return result;
}
-
+
/**
* Stores a value with a key. The value may be converted to a String, depending
* on the platform.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
* @productversion FlexJS 0.0
* @flexjsignoreimport window
*/
- public function setValue(key:String, value:Object) : Boolean
+ public function setItem(key:String, value:String) : Boolean
{
if (!storageAvailable()) return false;
-
+
COMPILE::AS3 {
sharedObject.data[key] = value;
sharedObject.flush();
}
-
+
COMPILE::JS {
- window.localStorage[key] = value;
+ window.localStorage.setItem(key, value);
}
-
+
return true;
}
-
+
/**
* Returns the value associated with the key, or undefined if there is
* no value stored. Note that a String version of the value may have been
* stored, depending on the platform.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
* @productversion FlexJS 0.0
* @flexjsignoreimport window
*/
- public function getValue(key:String) : Object
+ public function getItem(key:String) : String
{
if (!storageAvailable()) return null;
-
- var result:Object = null;
-
+
+ var result:String = null;
+
COMPILE::AS3 {
- result = sharedObject.data[key];
+ result = sharedObject.data[key] as String;
}
-
+
COMPILE::JS {
- result = window.localStorage[key];
+ result = window.localStorage.getItem(key);
}
-
+
return result;
}
-
+
/**
* Removed the value and, possibly, the key from local storage. On some
* platforms, retriving the value after removing it will be an error, on
* others it may return undefined or null.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
* @productversion FlexJS 0.0
* @flexjsignoreimport window
*/
- public function removeValue(key:String) : Boolean
+ public function removeItem(key:String) : Boolean
{
if (!storageAvailable()) return null;
-
+
COMPILE::AS3 {
delete sharedObject.data[key];
sharedObject.flush();
}
-
+
COMPILE::JS {
- window.localStorage[key] = null;
+ window.localStorage.removeItem(key);
}
-
+
return true;
}
-
+
/**
* Returns true if there is a value stored for the key.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
* @productversion FlexJS 0.0
* @flexjsignoreimport window
*/
- public function hasValue(key:String) : Boolean
+ public function hasItem(key:String) : Boolean
{
if (!storageAvailable()) return false;
-
+
var result:Boolean = false;
-
+
COMPILE::AS3 {
result = sharedObject.data.hasOwnProperty(key);
}
-
+
COMPILE::JS {
result = (window.localStorage[key] !== null);
}
-
+
return result;
}
+
+ /**
+ * Clears all values from local storage.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ public function clear() : void
+ {
+ if (!storageAvailable()) return;
+
+ COMPILE::AS3 {
+ sharedObject.clear();
+ }
+
+ COMPILE::JS {
+ window.localStorage.clear();
+ }
+ }
+}
}
-}
\ No newline at end of file
[04/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - get ant
building to work
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Flat/.externalToolBuilders/FlatASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/.externalToolBuilders/FlatASJS.launch b/frameworks/projects/Flat/.externalToolBuilders/FlatASJS.launch
index 86b7678..f68d8a4 100644
--- a/frameworks/projects/Flat/.externalToolBuilders/FlatASJS.launch
+++ b/frameworks/projects/Flat/.externalToolBuilders/FlatASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/Flat/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/Flat}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Flat/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/.flexLibProperties b/frameworks/projects/Flat/.flexLibProperties
new file mode 100644
index 0000000..20339ea
--- /dev/null
+++ b/frameworks/projects/Flat/.flexLibProperties
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
+ <includeClasses/>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Flat/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/.project b/frameworks/projects/Flat/.project
index b702a58..dd82776 100644
--- a/frameworks/projects/Flat/.project
+++ b/frameworks/projects/Flat/.project
@@ -1,8 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<projectDescription>
<name>Flat</name>
<comment></comment>
<projects>
+ <project>Core</project>
+ <project>HTML</project>
</projects>
<buildSpec>
<buildCommand>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Flat/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/.settings/org.eclipse.core.resources.prefs b/frameworks/projects/Flat/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..4b86e86
--- /dev/null
+++ b/frameworks/projects/Flat/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Thu Feb 04 20:48:50 PST 2016
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Formatters/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/.actionScriptProperties b/frameworks/projects/Formatters/.actionScriptProperties
index a5f2930..ceb1f35 100644
--- a/frameworks/projects/Formatters/.actionScriptProperties
+++ b/frameworks/projects/Formatters/.actionScriptProperties
@@ -1,12 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="Formatters.as" projectUUID="187f4b92-5fcd-4cee-ac61-58362a56ba1b" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
<excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/air/airglobal.swc" useDefaultLinkType="false"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Formatters/.externalToolBuilders/FormattersASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/.externalToolBuilders/FormattersASJS.launch b/frameworks/projects/Formatters/.externalToolBuilders/FormattersASJS.launch
index 5afb7f6..e884923 100644
--- a/frameworks/projects/Formatters/.externalToolBuilders/FormattersASJS.launch
+++ b/frameworks/projects/Formatters/.externalToolBuilders/FormattersASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/Formatters/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/Formatters}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Formatters/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/.flexLibProperties b/frameworks/projects/Formatters/.flexLibProperties
index 1fbacb4..20339ea 100644
--- a/frameworks/projects/Formatters/.flexLibProperties
+++ b/frameworks/projects/Formatters/.flexLibProperties
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
<includeClasses/>
<includeResources/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Formatters/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/.project b/frameworks/projects/Formatters/.project
index da6638a..34f76cd 100644
--- a/frameworks/projects/Formatters/.project
+++ b/frameworks/projects/Formatters/.project
@@ -1,26 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
-->
<projectDescription>
<name>Formatters</name>
<comment></comment>
<projects>
+ <project>Core</project>
+ <project>HTML</project>
</projects>
<buildSpec>
<buildCommand>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/GoogleMaps/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/.actionScriptProperties b/frameworks/projects/GoogleMaps/.actionScriptProperties
index 75e7e52..43f6b90 100644
--- a/frameworks/projects/GoogleMaps/.actionScriptProperties
+++ b/frameworks/projects/GoogleMaps/.actionScriptProperties
@@ -1,6 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="GoogleMaps.as" projectUUID="7d907ea6-da29-4573-9741-08d2cf0f85d6" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/GoogleMaps/.externalToolBuilders/GoogleMapsASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/.externalToolBuilders/GoogleMapsASJS.launch b/frameworks/projects/GoogleMaps/.externalToolBuilders/GoogleMapsASJS.launch
index 6caed81..9446575 100644
--- a/frameworks/projects/GoogleMaps/.externalToolBuilders/GoogleMapsASJS.launch
+++ b/frameworks/projects/GoogleMaps/.externalToolBuilders/GoogleMapsASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/GoogleMaps/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/GoogleMaps}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/GoogleMaps/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/.flexLibProperties b/frameworks/projects/GoogleMaps/.flexLibProperties
index 4197211..1ae8bf5 100644
--- a/frameworks/projects/GoogleMaps/.flexLibProperties
+++ b/frameworks/projects/GoogleMaps/.flexLibProperties
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
<flexLibProperties includeAllClasses="false" useMultiPlatformConfig="false" version="3">
<includeClasses>
<classEntry path="GoogleMapsClasses"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/GoogleMaps/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/.project b/frameworks/projects/GoogleMaps/.project
index 404a38b..8dcaebb 100644
--- a/frameworks/projects/GoogleMaps/.project
+++ b/frameworks/projects/GoogleMaps/.project
@@ -1,26 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
-->
<projectDescription>
<name>GoogleMaps</name>
<comment></comment>
<projects>
+ <project>Core</project>
</projects>
<buildSpec>
<buildCommand>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Graphics/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/.actionScriptProperties b/frameworks/projects/Graphics/.actionScriptProperties
index 3d7771e..587f8fc 100644
--- a/frameworks/projects/Graphics/.actionScriptProperties
+++ b/frameworks/projects/Graphics/.actionScriptProperties
@@ -1,12 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="Graphics.as" projectUUID="ff3e0531-b7c9-4b0c-9146-05c27a47f837" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
<excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="1" path="/Core/target/Core.swc" useDefaultLinkType="false"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Graphics/.externalToolBuilders/GraphicsASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/.externalToolBuilders/GraphicsASJS.launch b/frameworks/projects/Graphics/.externalToolBuilders/GraphicsASJS.launch
index d7a749a..5776d1e 100644
--- a/frameworks/projects/Graphics/.externalToolBuilders/GraphicsASJS.launch
+++ b/frameworks/projects/Graphics/.externalToolBuilders/GraphicsASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/Graphics/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/Graphics}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Graphics/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/.flexLibProperties b/frameworks/projects/Graphics/.flexLibProperties
index 1fbacb4..20339ea 100644
--- a/frameworks/projects/Graphics/.flexLibProperties
+++ b/frameworks/projects/Graphics/.flexLibProperties
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
<includeClasses/>
<includeResources/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Graphics/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/.project b/frameworks/projects/Graphics/.project
index 197e0b6..24270f8 100644
--- a/frameworks/projects/Graphics/.project
+++ b/frameworks/projects/Graphics/.project
@@ -1,26 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
-->
<projectDescription>
<name>Graphics</name>
<comment></comment>
<projects>
+ <project>Core</project>
</projects>
<buildSpec>
<buildCommand>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/HTML/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/.actionScriptProperties b/frameworks/projects/HTML/.actionScriptProperties
index e302e40..eef34a6 100644
--- a/frameworks/projects/HTML/.actionScriptProperties
+++ b/frameworks/projects/HTML/.actionScriptProperties
@@ -1,17 +1,52 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="HTML.as" projectUUID="10468643-4626-481f-ba6b-3f035ccbbabb" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
<excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="1" path="/Binding/target/Binding.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/Core/target/Core.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/Graphics/target/Graphics.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/Collections/target/Collections.swc" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath/>
</compiler>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/HTML/.externalToolBuilders/HTMLASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/.externalToolBuilders/HTMLASJS.launch b/frameworks/projects/HTML/.externalToolBuilders/HTMLASJS.launch
index 683b23c..6246495 100644
--- a/frameworks/projects/HTML/.externalToolBuilders/HTMLASJS.launch
+++ b/frameworks/projects/HTML/.externalToolBuilders/HTMLASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/HTML/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/HTML}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/HTML/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/.flexLibProperties b/frameworks/projects/HTML/.flexLibProperties
index 1fbacb4..20339ea 100644
--- a/frameworks/projects/HTML/.flexLibProperties
+++ b/frameworks/projects/HTML/.flexLibProperties
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
<includeClasses/>
<includeResources/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/HTML/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/.project b/frameworks/projects/HTML/.project
index a90358e..85157f9 100644
--- a/frameworks/projects/HTML/.project
+++ b/frameworks/projects/HTML/.project
@@ -1,26 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
-->
<projectDescription>
<name>HTML</name>
<comment></comment>
<projects>
+ <project>Binding</project>
+ <project>Collections</project>
+ <project>Core</project>
+ <project>Graphics</project>
</projects>
<buildSpec>
<buildCommand>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/HTML5/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/.actionScriptProperties b/frameworks/projects/HTML5/.actionScriptProperties
index 610ef45..da43365 100644
--- a/frameworks/projects/HTML5/.actionScriptProperties
+++ b/frameworks/projects/HTML5/.actionScriptProperties
@@ -1,6 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="HTML5.as" projectUUID="5f79f743-aaab-4427-9842-97bbd3d20850" version="11">
- <compiler additionalCompilerArguments="-locale @locale@" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
@@ -25,6 +43,7 @@
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="1" path="/HTML/target/HTML.swc" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath/>
</compiler>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/HTML5/.externalToolBuilders/HTML5ASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/.externalToolBuilders/HTML5ASJS.launch b/frameworks/projects/HTML5/.externalToolBuilders/HTML5ASJS.launch
index 3d21243..90ad1c4 100644
--- a/frameworks/projects/HTML5/.externalToolBuilders/HTML5ASJS.launch
+++ b/frameworks/projects/HTML5/.externalToolBuilders/HTML5ASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/HTML5/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/HTML5}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/HTML5/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/.flexLibProperties b/frameworks/projects/HTML5/.flexLibProperties
new file mode 100644
index 0000000..20339ea
--- /dev/null
+++ b/frameworks/projects/HTML5/.flexLibProperties
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
+ <includeClasses/>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/HTML5/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/.project b/frameworks/projects/HTML5/.project
index e1acb8f..8742dd1 100644
--- a/frameworks/projects/HTML5/.project
+++ b/frameworks/projects/HTML5/.project
@@ -1,8 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<projectDescription>
<name>HTML5</name>
<comment></comment>
<projects>
+ <project>HTML</project>
</projects>
<buildSpec>
<buildCommand>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/HTML5/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/.settings/org.eclipse.core.resources.prefs b/frameworks/projects/HTML5/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..a632ce0
--- /dev/null
+++ b/frameworks/projects/HTML5/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Thu Feb 04 21:04:32 PST 2016
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/JQuery/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/.actionScriptProperties b/frameworks/projects/JQuery/.actionScriptProperties
index c3588b1..e97b96c 100644
--- a/frameworks/projects/JQuery/.actionScriptProperties
+++ b/frameworks/projects/JQuery/.actionScriptProperties
@@ -1,12 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="JQuery.as" projectUUID="edaaba36-aa7e-491c-a242-f619527ec54d" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
<excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/air/airglobal.swc" useDefaultLinkType="false"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/JQuery/.externalToolBuilders/JQueryASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/.externalToolBuilders/JQueryASJS.launch b/frameworks/projects/JQuery/.externalToolBuilders/JQueryASJS.launch
index d438ac9..0233f33 100644
--- a/frameworks/projects/JQuery/.externalToolBuilders/JQueryASJS.launch
+++ b/frameworks/projects/JQuery/.externalToolBuilders/JQueryASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/JQuery/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/JQuery}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/JQuery/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/.flexLibProperties b/frameworks/projects/JQuery/.flexLibProperties
index 1fbacb4..20339ea 100644
--- a/frameworks/projects/JQuery/.flexLibProperties
+++ b/frameworks/projects/JQuery/.flexLibProperties
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
<includeClasses/>
<includeResources/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/JQuery/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/.project b/frameworks/projects/JQuery/.project
index 0f4b8ea..939268d 100644
--- a/frameworks/projects/JQuery/.project
+++ b/frameworks/projects/JQuery/.project
@@ -1,26 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
-->
<projectDescription>
<name>JQuery</name>
<comment></comment>
<projects>
+ <project>Core</project>
+ <project>HTML</project>
</projects>
<buildSpec>
<buildCommand>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Mobile/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/.actionScriptProperties b/frameworks/projects/Mobile/.actionScriptProperties
index 3561610..280df12 100644
--- a/frameworks/projects/Mobile/.actionScriptProperties
+++ b/frameworks/projects/Mobile/.actionScriptProperties
@@ -1,12 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="Mobile.as" projectUUID="b4358e31-bd95-4301-a3d3-f0e67881b93b" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
<excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/air/airglobal.swc" useDefaultLinkType="false"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Mobile/.externalToolBuilders/MobileASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/.externalToolBuilders/MobileASJS.launch b/frameworks/projects/Mobile/.externalToolBuilders/MobileASJS.launch
index b2df529..445fa05 100644
--- a/frameworks/projects/Mobile/.externalToolBuilders/MobileASJS.launch
+++ b/frameworks/projects/Mobile/.externalToolBuilders/MobileASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/Mobile/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/Mobile}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Mobile/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/.flexLibProperties b/frameworks/projects/Mobile/.flexLibProperties
index 1fbacb4..20339ea 100644
--- a/frameworks/projects/Mobile/.flexLibProperties
+++ b/frameworks/projects/Mobile/.flexLibProperties
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
<includeClasses/>
<includeResources/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Mobile/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/.project b/frameworks/projects/Mobile/.project
index 118444c..cdebe1d 100644
--- a/frameworks/projects/Mobile/.project
+++ b/frameworks/projects/Mobile/.project
@@ -1,26 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
-->
<projectDescription>
<name>Mobile</name>
<comment></comment>
<projects>
+ <project>Core</project>
+ <project>HTML</project>
</projects>
<buildSpec>
<buildCommand>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Network/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/.actionScriptProperties b/frameworks/projects/Network/.actionScriptProperties
index 384560e..25290bb 100644
--- a/frameworks/projects/Network/.actionScriptProperties
+++ b/frameworks/projects/Network/.actionScriptProperties
@@ -1,12 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="Network.as" projectUUID="9a67bdd4-1c63-4e33-b469-1af43c3cdf12" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
<excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/air/airglobal.swc" useDefaultLinkType="false"/>
[29/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - try
fixing up headers. Some day,
we should try pulling most of these files from the flex-falcon externs. Most
files are copies with some tweaks to jsdoc to make asdoc happy
Posted by ah...@apache.org.
try fixing up headers. Some day, we should try pulling most of these files from the flex-falcon externs. Most files are copies with some tweaks to jsdoc to make asdoc happy
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/26a26621
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/26a26621
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/26a26621
Branch: refs/heads/master
Commit: 26a26621273081bbf9209bb4224ffb00964d7587
Parents: ba233ad
Author: Alex Harui <ah...@apache.org>
Authored: Fri Mar 11 12:28:19 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Mar 11 12:28:19 2016 -0800
----------------------------------------------------------------------
.../src/main/flex/google/maps/Animation.as | 18 ++++++++++
.../src/main/flex/google/maps/BicyclingLayer.as | 18 ++++++++++
.../src/main/flex/google/maps/Circle.as | 18 ++++++++++
.../main/flex/google/maps/ControlPosition.as | 18 ++++++++++
.../main/flex/google/maps/DirectionsRenderer.as | 18 ++++++++++
.../main/flex/google/maps/DirectionsService.as | 18 ++++++++++
.../main/flex/google/maps/DirectionsStatus.as | 18 ++++++++++
.../google/maps/DistanceMatrixElementStatus.as | 18 ++++++++++
.../flex/google/maps/DistanceMatrixService.as | 18 ++++++++++
.../flex/google/maps/DistanceMatrixStatus.as | 18 ++++++++++
.../main/flex/google/maps/ElevationService.as | 18 ++++++++++
.../main/flex/google/maps/ElevationStatus.as | 18 ++++++++++
.../flex/google/maps/FusionTablesHeatmap.as | 18 ++++++++++
.../main/flex/google/maps/FusionTablesLayer.as | 18 ++++++++++
.../google/maps/FusionTablesMarkerOptions.as | 18 ++++++++++
.../google/maps/FusionTablesPolygonOptions.as | 18 ++++++++++
.../google/maps/FusionTablesPolylineOptions.as | 18 ++++++++++
.../main/flex/google/maps/FusionTablesQuery.as | 18 ++++++++++
.../main/flex/google/maps/FusionTablesStyle.as | 18 ++++++++++
.../src/main/flex/google/maps/Geocoder.as | 18 ++++++++++
.../google/maps/GeocoderAddressComponent.as | 18 ++++++++++
.../main/flex/google/maps/GeocoderGeometry.as | 18 ++++++++++
.../flex/google/maps/GeocoderLocationType.as | 18 ++++++++++
.../src/main/flex/google/maps/GeocoderResult.as | 18 ++++++++++
.../src/main/flex/google/maps/GeocoderStatus.as | 18 ++++++++++
.../src/main/flex/google/maps/GroundOverlay.as | 18 ++++++++++
.../src/main/flex/google/maps/ImageMapType.as | 18 ++++++++++
.../src/main/flex/google/maps/InfoWindow.as | 18 ++++++++++
.../src/main/flex/google/maps/KmlAuthor.as | 18 ++++++++++
.../src/main/flex/google/maps/KmlFeatureData.as | 18 ++++++++++
.../src/main/flex/google/maps/KmlLayer.as | 18 ++++++++++
.../main/flex/google/maps/KmlLayerMetadata.as | 18 ++++++++++
.../src/main/flex/google/maps/KmlLayerStatus.as | 18 ++++++++++
.../src/main/flex/google/maps/KmlMouseEvent.as | 18 ++++++++++
.../src/main/flex/google/maps/LatLng.as | 37 ++++++++++----------
.../src/main/flex/google/maps/LatLngBounds.as | 18 ++++++++++
.../src/main/flex/google/maps/MVCArray.as | 18 ++++++++++
.../src/main/flex/google/maps/MVCObject.as | 19 ++++++++++
.../GoogleMaps/src/main/flex/google/maps/Map.as | 18 ++++++++++
.../flex/google/maps/MapCanvasProjection.as | 18 ++++++++++
.../src/main/flex/google/maps/MapPanes.as | 18 ++++++++++
.../flex/google/maps/MapTypeControlStyle.as | 18 ++++++++++
.../src/main/flex/google/maps/MapTypeId.as | 18 ++++++++++
.../main/flex/google/maps/MapTypeRegistry.as | 18 ++++++++++
.../main/flex/google/maps/MapsEventListener.as | 18 ++++++++++
.../src/main/flex/google/maps/Marker.as | 37 ++++++++++----------
.../src/main/flex/google/maps/MaxZoomService.as | 18 ++++++++++
.../src/main/flex/google/maps/MaxZoomStatus.as | 18 ++++++++++
.../src/main/flex/google/maps/OverlayView.as | 18 ++++++++++
.../src/main/flex/google/maps/Point.as | 18 ++++++++++
.../src/main/flex/google/maps/PolyMouseEvent.as | 18 ++++++++++
.../src/main/flex/google/maps/Polygon.as | 18 ++++++++++
.../src/main/flex/google/maps/Polyline.as | 18 ++++++++++
.../src/main/flex/google/maps/Rectangle.as | 18 ++++++++++
.../main/flex/google/maps/ScaleControlStyle.as | 18 ++++++++++
.../src/main/flex/google/maps/Size.as | 18 ++++++++++
.../flex/google/maps/StreetViewCoverageLayer.as | 18 ++++++++++
.../main/flex/google/maps/StreetViewPanorama.as | 18 ++++++++++
.../src/main/flex/google/maps/StreetViewPov.as | 18 ++++++++++
.../main/flex/google/maps/StreetViewService.as | 18 ++++++++++
.../main/flex/google/maps/StreetViewStatus.as | 18 ++++++++++
.../src/main/flex/google/maps/StrokePosition.as | 18 ++++++++++
.../src/main/flex/google/maps/StyledMapType.as | 18 ++++++++++
.../src/main/flex/google/maps/SymbolPath.as | 18 ++++++++++
.../src/main/flex/google/maps/TrafficLayer.as | 18 ++++++++++
.../src/main/flex/google/maps/TransitLayer.as | 18 ++++++++++
.../src/main/flex/google/maps/TravelMode.as | 18 ++++++++++
.../src/main/flex/google/maps/UnitSystem.as | 18 ++++++++++
.../main/flex/google/maps/ZoomControlStyle.as | 18 ++++++++++
.../src/main/flex/google/maps/adsense.as | 18 ++++++++++
.../main/flex/google/maps/adsense/AdFormat.as | 18 ++++++++++
.../src/main/flex/google/maps/adsense/AdUnit.as | 18 ++++++++++
.../src/main/flex/google/maps/drawing.as | 18 ++++++++++
.../flex/google/maps/drawing/DrawingManager.as | 18 ++++++++++
.../google/maps/drawing/OverlayCompleteEvent.as | 18 ++++++++++
.../flex/google/maps/drawing/OverlayType.as | 18 ++++++++++
.../src/main/flex/google/maps/event.as | 18 ++++++++++
.../src/main/flex/google/maps/geometry.as | 18 ++++++++++
.../main/flex/google/maps/geometry/encoding.as | 18 ++++++++++
.../src/main/flex/google/maps/geometry/poly.as | 18 ++++++++++
.../main/flex/google/maps/geometry/spherical.as | 18 ++++++++++
.../src/main/flex/google/maps/panoramio.as | 18 ++++++++++
.../google/maps/panoramio/PanoramioLayer.as | 18 ++++++++++
.../src/main/flex/google/maps/places.as | 18 ++++++++++
.../flex/google/maps/places/Autocomplete.as | 18 ++++++++++
.../google/maps/places/AutocompleteService.as | 18 ++++++++++
.../google/maps/places/ComponentRestrictions.as | 18 ++++++++++
.../flex/google/maps/places/PhotoOptions.as | 18 ++++++++++
.../google/maps/places/PlaceAspectRating.as | 18 ++++++++++
.../flex/google/maps/places/PlaceGeometry.as | 18 ++++++++++
.../main/flex/google/maps/places/PlaceResult.as | 18 ++++++++++
.../main/flex/google/maps/places/PlaceReview.as | 18 ++++++++++
.../google/maps/places/PlaceSearchPagination.as | 18 ++++++++++
.../flex/google/maps/places/PlacesService.as | 18 ++++++++++
.../google/maps/places/PlacesServiceStatus.as | 18 ++++++++++
.../src/main/flex/google/maps/places/RankBy.as | 18 ++++++++++
.../main/flex/google/maps/places/SearchBox.as | 18 ++++++++++
.../src/main/flex/google/maps/visualization.as | 18 ++++++++++
.../maps/visualization/DemographicsLayer.as | 18 ++++++++++
.../google/maps/visualization/HeatmapLayer.as | 18 ++++++++++
.../maps/visualization/MapsEngineLayer.as | 18 ++++++++++
.../maps/visualization/MapsEngineStatus.as | 18 ++++++++++
.../src/main/flex/google/maps/weather.as | 18 ++++++++++
.../main/flex/google/maps/weather/CloudLayer.as | 18 ++++++++++
.../main/flex/google/maps/weather/LabelColor.as | 18 ++++++++++
.../flex/google/maps/weather/TemperatureUnit.as | 18 ++++++++++
.../flex/google/maps/weather/WeatherLayer.as | 18 ++++++++++
.../flex/google/maps/weather/WindSpeedUnit.as | 18 ++++++++++
.../main/flex/google/pseudo/HTMLInputElement.as | 20 +++++++++++
.../src/main/flex/google/pseudo/Node.as | 20 +++++++++++
110 files changed, 1987 insertions(+), 36 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Animation.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Animation.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Animation.as
index 8a76edf..67e885e 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Animation.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Animation.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/BicyclingLayer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/BicyclingLayer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/BicyclingLayer.as
index 5dab300..07fb859 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/BicyclingLayer.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/BicyclingLayer.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Circle.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Circle.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Circle.as
index 2d95c54..425cedc 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Circle.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Circle.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ControlPosition.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ControlPosition.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ControlPosition.as
index 5ef0a2a..dbd9e27 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ControlPosition.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ControlPosition.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsRenderer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsRenderer.as
index f548646..78d34e9 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsRenderer.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsRenderer.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
import google.pseudo.Node;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsService.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsService.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsService.as
index 3070674..7baa194 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsService.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsService.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsStatus.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsStatus.as
index e34bf53..d0aae71 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsStatus.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsStatus.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixElementStatus.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixElementStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixElementStatus.as
index 510c17f..d65204d 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixElementStatus.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixElementStatus.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixService.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixService.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixService.as
index 035e63d..a6f4d2c 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixService.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixService.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixStatus.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixStatus.as
index b168675..9b671bd 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixStatus.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixStatus.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationService.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationService.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationService.as
index 261da53..6ff4033 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationService.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationService.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationStatus.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationStatus.as
index dfc5e3f..24b2fca 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationStatus.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationStatus.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesHeatmap.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesHeatmap.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesHeatmap.as
index 28400bc..e02ec94 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesHeatmap.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesHeatmap.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesLayer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesLayer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesLayer.as
index f185b75..e7580cc 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesLayer.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesLayer.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesMarkerOptions.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesMarkerOptions.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesMarkerOptions.as
index dcd8a4b..f7ed870 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesMarkerOptions.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesMarkerOptions.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolygonOptions.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolygonOptions.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolygonOptions.as
index 2730d85..dc84ebd 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolygonOptions.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolygonOptions.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolylineOptions.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolylineOptions.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolylineOptions.as
index 4c0ab0b..56898e5 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolylineOptions.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolylineOptions.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesQuery.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesQuery.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesQuery.as
index 83dbe8b..0695d37 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesQuery.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesQuery.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesStyle.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesStyle.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesStyle.as
index 2f428c8..3e95157 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesStyle.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesStyle.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Geocoder.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Geocoder.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Geocoder.as
index f13a2d5..a2f8277 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Geocoder.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Geocoder.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderAddressComponent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderAddressComponent.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderAddressComponent.as
index 60ffa1e..97a942a 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderAddressComponent.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderAddressComponent.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderGeometry.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderGeometry.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderGeometry.as
index 6ba4aff..3c76cf8 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderGeometry.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderGeometry.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderLocationType.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderLocationType.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderLocationType.as
index f1b6379..58bd9f4 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderLocationType.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderLocationType.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderResult.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderResult.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderResult.as
index 773e3f5..5cc79af 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderResult.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderResult.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderStatus.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderStatus.as
index 07b0817..9d68d4d 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderStatus.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderStatus.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GroundOverlay.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GroundOverlay.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GroundOverlay.as
index e82daa6..05fc11a 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GroundOverlay.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GroundOverlay.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ImageMapType.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ImageMapType.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ImageMapType.as
index afd2704..1c61c15 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ImageMapType.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ImageMapType.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/InfoWindow.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/InfoWindow.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/InfoWindow.as
index 99df034..b77203d 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/InfoWindow.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/InfoWindow.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlAuthor.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlAuthor.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlAuthor.as
index 57472e4..9ad3521 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlAuthor.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlAuthor.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlFeatureData.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlFeatureData.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlFeatureData.as
index 4730d83..93f09a4 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlFeatureData.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlFeatureData.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayer.as
index 75b4595..f571e18 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayer.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayer.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerMetadata.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerMetadata.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerMetadata.as
index c224108..53fb2b6 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerMetadata.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerMetadata.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerStatus.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerStatus.as
index e21bcb9..4978e44 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerStatus.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerStatus.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlMouseEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlMouseEvent.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlMouseEvent.as
index 2fe0883..1e26549 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlMouseEvent.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlMouseEvent.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/LatLng.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/LatLng.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/LatLng.as
index fbedaea..688dc91 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/LatLng.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/LatLng.as
@@ -1,21 +1,22 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ * Modifications were implemented at the Apache Software Foundation.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/LatLngBounds.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/LatLngBounds.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/LatLngBounds.as
index 6384733..972badf 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/LatLngBounds.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/LatLngBounds.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MVCArray.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MVCArray.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MVCArray.as
index 356444f..b68ade3 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MVCArray.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MVCArray.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MVCObject.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MVCObject.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MVCObject.as
index ea9d213..d4d30f4 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MVCObject.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MVCObject.as
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ * Modifications were implemented at the Apache Software Foundation.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Map.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Map.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Map.as
index 43ce77b..6ea10cc 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Map.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Map.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapCanvasProjection.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapCanvasProjection.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapCanvasProjection.as
index c63c20f..0178179 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapCanvasProjection.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapCanvasProjection.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapPanes.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapPanes.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapPanes.as
index 7ad8104..2b2c273 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapPanes.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapPanes.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
import google.pseudo.Node;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapTypeControlStyle.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapTypeControlStyle.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapTypeControlStyle.as
index 8bb2221..0dea10a 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapTypeControlStyle.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapTypeControlStyle.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapTypeId.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapTypeId.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapTypeId.as
index b73a3c2..1efa29a 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapTypeId.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapTypeId.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapTypeRegistry.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapTypeRegistry.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapTypeRegistry.as
index 4352140..c0e535f 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapTypeRegistry.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapTypeRegistry.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapsEventListener.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapsEventListener.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapsEventListener.as
index fae3495..c64e1e2 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapsEventListener.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MapsEventListener.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Marker.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Marker.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Marker.as
index 1d48f65..1872cc6 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Marker.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Marker.as
@@ -1,21 +1,22 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ * Modifications were implemented at the Apache Software Foundation.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MaxZoomService.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MaxZoomService.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MaxZoomService.as
index 17bb027..1f162d6 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MaxZoomService.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MaxZoomService.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MaxZoomStatus.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MaxZoomStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MaxZoomStatus.as
index d5ffa09..458e459 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MaxZoomStatus.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/MaxZoomStatus.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/OverlayView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/OverlayView.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/OverlayView.as
index a01a0aa..646c26d 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/OverlayView.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/OverlayView.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Point.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Point.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Point.as
index 0bd9f35..ebc5102 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Point.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Point.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/PolyMouseEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/PolyMouseEvent.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/PolyMouseEvent.as
index b31af4e..e87809d 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/PolyMouseEvent.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/PolyMouseEvent.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Polygon.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Polygon.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Polygon.as
index a467204..a768b2e 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Polygon.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Polygon.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Polyline.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Polyline.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Polyline.as
index c63d3ae..d46c057 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Polyline.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Polyline.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Rectangle.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Rectangle.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Rectangle.as
index 99e0371..2570d56 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Rectangle.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Rectangle.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ScaleControlStyle.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ScaleControlStyle.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ScaleControlStyle.as
index 7db4e10..105796d 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ScaleControlStyle.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ScaleControlStyle.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Size.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Size.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Size.as
index 021d67c..61c362d 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Size.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Size.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewCoverageLayer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewCoverageLayer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewCoverageLayer.as
index 2f08eb8..4bf5a79 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewCoverageLayer.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewCoverageLayer.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewPanorama.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewPanorama.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewPanorama.as
index 6fe67f7..68a7010 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewPanorama.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewPanorama.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewPov.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewPov.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewPov.as
index 02d579f..6439fbf 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewPov.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewPov.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
[22/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - do we
still need this?
Posted by ah...@apache.org.
do we still need this?
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/62710910
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/62710910
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/62710910
Branch: refs/heads/master
Commit: 6271091099b4375ac710ea2bdf19f0ee93a59264
Parents: c313d70
Author: Alex Harui <ah...@apache.org>
Authored: Sat Mar 5 23:41:00 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Mar 5 23:41:00 2016 -0800
----------------------------------------------------------------------
nightly.properties | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/62710910/nightly.properties
----------------------------------------------------------------------
diff --git a/nightly.properties b/nightly.properties
index cc6601a..3b96ceb 100644
--- a/nightly.properties
+++ b/nightly.properties
@@ -25,7 +25,7 @@ falcon.md5.server.url = http://apacheflexbuild.cloudapp.net:8080
falcon.folder = job/flex-falcon/lastSuccessfulBuild/artifact/out
falcon.version = 0.6.0
#need this until Installer 3.2 comes out
-jburg.server=http://downloads.sourceforge.net
-jburg.folder=project/jburg
-jburg.filename=jburg-1.10.1.tar.gz
-jburg.md5=76830ee877cac40b981779325b3fa89f
+#jburg.server=http://downloads.sourceforge.net
+#jburg.folder=project/jburg
+#jburg.filename=jburg-1.10.1.tar.gz
+#jburg.md5=76830ee877cac40b981779325b3fa89f
[11/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Core:
Language now checks for global console variable as final fallback,
which adds trace() support for Node.js release builds
Posted by ah...@apache.org.
Core: Language now checks for global console variable as final fallback, which adds trace() support for Node.js release builds
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/59b8e43f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/59b8e43f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/59b8e43f
Branch: refs/heads/master
Commit: 59b8e43f7e1edad135f77518127f8f3fa51cd6e6
Parents: 9afa2c1
Author: Josh Tynjala <jo...@apache.org>
Authored: Fri Feb 12 11:29:26 2016 -0800
Committer: Josh Tynjala <jo...@apache.org>
Committed: Fri Feb 12 11:29:26 2016 -0800
----------------------------------------------------------------------
.../Core/src/main/flex/org/apache/flex/utils/Language.as | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59b8e43f/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Language.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Language.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Language.as
index e3a318c..2586e77 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Language.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Language.as
@@ -312,6 +312,10 @@ package org.apache.flex.utils
{
theConsole = window.console;
}
+ else if(typeof console !== "undefined")
+ {
+ theConsole = console;
+ }
}
try
[25/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Added
ToggleSwitch UI control to Mobile project.
Posted by ah...@apache.org.
Added ToggleSwitch UI control to Mobile project.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1c4d36c0
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1c4d36c0
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1c4d36c0
Branch: refs/heads/master
Commit: 1c4d36c086434d36f05e54588e1bdb55fe755fd7
Parents: 1c69a39
Author: Peter Ent <pe...@apache.org>
Authored: Wed Mar 9 16:21:19 2016 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Mar 9 16:21:19 2016 -0500
----------------------------------------------------------------------
.../projects/HTML/src/main/flex/HTMLClasses.as | 2 +-
.../Mobile/src/main/flex/MobileClasses.as | 3 +
.../flex/org/apache/flex/mobile/ToggleSwitch.as | 105 +++++++++++
.../flex/mobile/beads/ToggleSwitchView.as | 180 +++++++++++++++++++
.../controllers/ToggleSwitchMouseController.as | 120 +++++++++++++
.../src/main/resources/basic-manifest.xml | 1 +
.../Mobile/src/main/resources/defaults.css | 9 +
7 files changed, 419 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4d36c0/frameworks/projects/HTML/src/main/flex/HTMLClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/HTMLClasses.as b/frameworks/projects/HTML/src/main/flex/HTMLClasses.as
index e5171d4..ad3ba4b 100644
--- a/frameworks/projects/HTML/src/main/flex/HTMLClasses.as
+++ b/frameworks/projects/HTML/src/main/flex/HTMLClasses.as
@@ -107,9 +107,9 @@ internal class HTMLClasses
}
import org.apache.flex.html.beads.models.TextModel; TextModel;
import org.apache.flex.html.beads.models.TitleBarModel; TitleBarModel;
+ import org.apache.flex.html.beads.models.ToggleButtonModel; ToggleButtonModel;
COMPILE::AS3
{
- import org.apache.flex.html.beads.models.ToggleButtonModel; ToggleButtonModel;
import org.apache.flex.html.beads.models.ValueToggleButtonModel; ValueToggleButtonModel;
}
import org.apache.flex.html.beads.models.ViewportModel; ViewportModel;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4d36c0/frameworks/projects/Mobile/src/main/flex/MobileClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/flex/MobileClasses.as b/frameworks/projects/Mobile/src/main/flex/MobileClasses.as
index 5a85f94..b1e6dae 100644
--- a/frameworks/projects/Mobile/src/main/flex/MobileClasses.as
+++ b/frameworks/projects/Mobile/src/main/flex/MobileClasses.as
@@ -29,10 +29,13 @@ internal class MobileClasses
{
import org.apache.flex.mobile.ManagerBase; ManagerBase;
+ import org.apache.flex.mobile.ToggleSwitch; ToggleSwitch;
import org.apache.flex.mobile.ViewManagerBase; ViewManagerBase;
import org.apache.flex.mobile.beads.StackedViewManagerView; StackedViewManagerView;
import org.apache.flex.mobile.beads.TabbedViewManagerView; TabbedViewManagerView;
import org.apache.flex.mobile.beads.ViewManagerView; ViewManagerView;
+ import org.apache.flex.mobile.beads.ToggleSwitchView; ToggleSwitchView;
+ import org.apache.flex.mobile.beads.controllers.ToggleSwitchMouseController; ToggleSwitchMouseController;
import org.apache.flex.mobile.chrome.NavigationBar; NavigationBar;
import org.apache.flex.mobile.chrome.TabBar; TabBar;
import org.apache.flex.mobile.chrome.ToolBar; ToolBar;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4d36c0/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/ToggleSwitch.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/ToggleSwitch.as b/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/ToggleSwitch.as
new file mode 100644
index 0000000..e5f83fb
--- /dev/null
+++ b/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/ToggleSwitch.as
@@ -0,0 +1,105 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.mobile
+{
+ import org.apache.flex.core.IBead;
+ import org.apache.flex.core.IBeadController;
+ import org.apache.flex.core.IToggleButtonModel;
+ import org.apache.flex.core.UIBase;
+ import org.apache.flex.core.ValuesManager;
+
+ /**
+ * The ToggleSwitch is a UI control that displays on/off or yes/no states.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public class ToggleSwitch extends UIBase
+ {
+ /**
+ * Constructor
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function ToggleSwitch()
+ {
+ super();
+
+ COMPILE::JS {
+ setWidthAndHeight(40.0, 25.0, false);
+ }
+ }
+
+ [Bindable("change")]
+ /**
+ * <code>true</code> if the switch is selected.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get selected():Boolean
+ {
+ return IToggleButtonModel(model).selected;
+ }
+
+ /**
+ * @private
+ */
+ public function set selected(value:Boolean):void
+ {
+ IToggleButtonModel(model).selected = value;
+ }
+
+ private var _controller:IBeadController;
+
+ /**
+ * Get the controller for the view.
+ *
+ * @flexjsignorecoercion Class
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get controller():IBeadController
+ {
+ if (_controller == null) {
+ _controller = getBeadByType(IBeadController) as IBeadController;
+ if (_controller == null) {
+ var c:Class = ValuesManager.valuesImpl.getValue(this, "iBeadController") as Class;
+ _controller = new c() as IBeadController;
+ addBead(_controller);
+ }
+ }
+ return _controller;
+ }
+ public function set controller(value:IBeadController):void
+ {
+ _controller = value;
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4d36c0/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/ToggleSwitchView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/ToggleSwitchView.as b/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/ToggleSwitchView.as
new file mode 100644
index 0000000..fe35d45
--- /dev/null
+++ b/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/ToggleSwitchView.as
@@ -0,0 +1,180 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.mobile.beads
+{
+ import org.apache.flex.core.IStrand;
+ import org.apache.flex.core.IBeadView;
+ import org.apache.flex.core.IToggleButtonModel;
+ import org.apache.flex.core.IUIBase;
+ import org.apache.flex.core.UIBase;
+ import org.apache.flex.core.graphics.Rect;
+ import org.apache.flex.core.graphics.SolidColor;
+ import org.apache.flex.core.graphics.SolidColorStroke;
+ import org.apache.flex.events.Event;
+
+ /**
+ * The ToggleSwitchView creates the element used to display the ToggleSwitch
+ * interface.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public class ToggleSwitchView implements IBeadView
+ {
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function ToggleSwitchView()
+ {
+ super();
+ }
+
+ /**
+ * @private
+ */
+ public var boundingBox:Rect;
+
+ /**
+ * @private
+ */
+ public var actualSwitch:Rect;
+
+ /**
+ * @private
+ */
+ public function get host():IUIBase
+ {
+ return _strand as IUIBase;
+ }
+ public function set host(value:IUIBase):void
+ {
+ // not implemented; getter only.
+ }
+
+ private var _strand:IStrand;
+
+ /**
+ * @private
+ */
+ public function get strand():IStrand
+ {
+ return _strand;
+ }
+ public function set strand(value:IStrand):void
+ {
+ _strand = value;
+ UIBase(_strand).addEventListener("sizeChanged", sizeChangedHandler);
+ UIBase(_strand).addEventListener("widthChanged", sizeChangedHandler);
+ UIBase(_strand).addEventListener("heightChanged", sizeChangedHandler);
+
+ var model:IToggleButtonModel = value.getBeadByType(IToggleButtonModel) as IToggleButtonModel;
+ model.addEventListener("selectedChange", toggleChangedHandler);
+
+ boundingBox = new Rect();
+ UIBase(host).addElement(boundingBox, false);
+
+ actualSwitch = new Rect();
+ UIBase(host).addElement(actualSwitch, false);
+
+ layoutChromeElements();
+ }
+
+ /**
+ * @private
+ */
+ protected function toggleChangedHandler(event:Event):void
+ {
+ layoutChromeElements();
+ }
+
+ /**
+ * @private
+ */
+ protected function sizeChangedHandler(event:Event):void
+ {
+ layoutChromeElements();
+ }
+
+ /**
+ * @private
+ */
+ protected function layoutChromeElements():void
+ {
+ sizeViewsToFitContentArea();
+ }
+
+ /**
+ * @private
+ */
+ protected function sizeViewsToFitContentArea():void
+ {
+ var model:IToggleButtonModel = _strand.getBeadByType(IToggleButtonModel) as IToggleButtonModel;
+
+ boundingBox.x = 0;
+ boundingBox.y = 0;
+ boundingBox.setWidthAndHeight(host.width, host.height, false);
+
+ actualSwitch.y = 2;
+ actualSwitch.setWidthAndHeight(host.width/2 - 2, host.height-4, false);
+
+ var fill:SolidColor = new SolidColor();
+ fill.alpha = 2.0;
+
+ var switchFill:SolidColor = new SolidColor();
+ switchFill.alpha = 1.0;
+ switchFill.color = 0xFFFFFF;
+ actualSwitch.fill = switchFill;
+
+ var border:SolidColorStroke = new SolidColorStroke();
+ border.alpha = 1.0;
+ border.color = 0x333333;
+ border.weight = 1.0;
+
+ boundingBox.stroke = border;
+ actualSwitch.stroke = border;
+
+ if (model.selected) {
+ actualSwitch.x = host.width / 2;
+ fill.color = 0x00DD00;
+ boundingBox.fill = fill;
+ } else {
+ actualSwitch.x = 2;
+ fill.color = 0xFFFFFF;
+ boundingBox.fill = fill;
+ }
+
+ COMPILE::AS3 {
+ boundingBox.drawRect(0, 0, boundingBox.width, boundingBox.height);
+ actualSwitch.drawRect(0, 0, actualSwitch.width, actualSwitch.height);
+ }
+ COMPILE::JS {
+ boundingBox.drawRect(0, 0, boundingBox.width, boundingBox.height);
+ actualSwitch.drawRect(actualSwitch.x, actualSwitch.y, actualSwitch.width, actualSwitch.height);
+ }
+
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4d36c0/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/controllers/ToggleSwitchMouseController.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/controllers/ToggleSwitchMouseController.as b/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/controllers/ToggleSwitchMouseController.as
new file mode 100644
index 0000000..d67f14d
--- /dev/null
+++ b/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/controllers/ToggleSwitchMouseController.as
@@ -0,0 +1,120 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.mobile.beads.controllers
+{
+ import org.apache.flex.core.IBeadController;
+ import org.apache.flex.core.IToggleButtonModel;
+ import org.apache.flex.core.IStrand;
+ import org.apache.flex.core.IBeadView;
+ import org.apache.flex.core.UIBase;
+ import org.apache.flex.events.Event;
+ import org.apache.flex.events.IEventDispatcher;
+ import org.apache.flex.events.MouseEvent;
+ import org.apache.flex.mobile.beads.ToggleSwitchView;
+ COMPILE::JS
+ {
+ import goog.events;
+ import goog.events.EventType;
+ }
+
+ /**
+ * The ToggleSwitchMouseController bead handles mouse events on the
+ * ToggleSwitch, allowing the user to use the mouse to change the
+ * state of the ToggleSwitch.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public class ToggleSwitchMouseController implements IBeadController
+ {
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function ToggleSwitchMouseController()
+ {
+ }
+
+ private var model:IToggleButtonModel;
+
+ private var _strand:IStrand;
+
+ /**
+ * @copy org.apache.flex.core.IBead#strand
+ *
+ * @flexjsignorecoercion org.apache.flex.html.Spinner
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function set strand(value:IStrand):void
+ {
+ _strand = value;
+
+ model = UIBase(value).model as IToggleButtonModel;
+
+ COMPILE::AS3
+ {
+ var viewBead:ToggleSwitchView = value.getBeadByType(IBeadView) as ToggleSwitchView;
+ viewBead.boundingBox.addEventListener(MouseEvent.CLICK, asClickHandler);
+ viewBead.actualSwitch.addEventListener(MouseEvent.CLICK, asClickHandler);
+ }
+
+ COMPILE::JS
+ {
+ var viewBead:ToggleSwitchView = value.getBeadByType(IBeadView) as ToggleSwitchView;
+
+ goog.events.listen(viewBead.boundingBox.element, goog.events.EventType.CLICK,
+ jsClickHandler);
+ goog.events.listen(viewBead.actualSwitch.element, goog.events.EventType.CLICK,
+ jsClickHandler);
+
+ }
+ }
+
+ /**
+ * @private
+ */
+ COMPILE::AS3
+ private function asClickHandler( event:MouseEvent ) : void
+ {
+ var oldValue:Boolean = model.selected;
+ model.selected = !oldValue;
+ IEventDispatcher(_strand).dispatchEvent(new Event("valueChanged"));
+ }
+
+ /**
+ * @private
+ */
+ COMPILE::JS
+ private function jsClickHandler( event:Event ) : void
+ {
+ var oldValue:Boolean = model.selected;
+ model.selected = !oldValue;
+ IEventDispatcher(_strand).dispatchEvent(new Event("valueChanged"));
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4d36c0/frameworks/projects/Mobile/src/main/resources/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/resources/basic-manifest.xml b/frameworks/projects/Mobile/src/main/resources/basic-manifest.xml
index 4f54235..a70352f 100644
--- a/frameworks/projects/Mobile/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Mobile/src/main/resources/basic-manifest.xml
@@ -26,4 +26,5 @@
<component id="NavigationBar" class="org.apache.flex.mobile.chrome.NavigationBar" />
<component id="ToolBar" class="org.apache.flex.mobile.chrome.ToolBar" />
<component id="TabBar" class="org.apache.flex.mobile.chrome.TabBar" />
+ <component id="ToggleSwitch" class="org.apache.flex.mobile.ToggleSwitch" />
</componentPackage>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4d36c0/frameworks/projects/Mobile/src/main/resources/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/resources/defaults.css b/frameworks/projects/Mobile/src/main/resources/defaults.css
index d529595..c1e2828 100644
--- a/frameworks/projects/Mobile/src/main/resources/defaults.css
+++ b/frameworks/projects/Mobile/src/main/resources/defaults.css
@@ -31,3 +31,12 @@ TabbedViewManager
IBeadModel: ClassReference("org.apache.flex.mobile.models.ViewManagerModel");
IBeadView: ClassReference("org.apache.flex.mobile.beads.TabbedViewManagerView");
}
+
+ToggleSwitch
+{
+ IBeadModel: ClassReference("org.apache.flex.html.beads.models.ToggleButtonModel");
+ IBeadView: ClassReference("org.apache.flex.mobile.beads.ToggleSwitchView");
+ IBeadController: ClassReference("org.apache.flex.mobile.beads.controllers.ToggleSwitchMouseController");
+ width: 40px;
+ height: 25px;
+}
[10/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] -
trace(): better detection of window.console() so that there isn't a runtime
error in a Node.js release build
Posted by ah...@apache.org.
trace(): better detection of window.console() so that there isn't a runtime error in a Node.js release build
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9afa2c11
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9afa2c11
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9afa2c11
Branch: refs/heads/master
Commit: 9afa2c111e92953c94c9adab10540890252a1f49
Parents: 8156e98
Author: Josh Tynjala <jo...@apache.org>
Authored: Fri Feb 12 11:07:27 2016 -0800
Committer: Josh Tynjala <jo...@apache.org>
Committed: Fri Feb 12 11:07:27 2016 -0800
----------------------------------------------------------------------
.../Core/src/main/flex/org/apache/flex/utils/Language.as | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9afa2c11/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Language.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Language.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Language.as
index 6a26191..e3a318c 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Language.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/Language.as
@@ -308,10 +308,9 @@ package org.apache.flex.utils
if (theConsole === undefined)
{
- var windowConsole:* = window.console;
- if (windowConsole !== undefined)
+ if(typeof window !== "undefined")
{
- theConsole = windowConsole;
+ theConsole = window.console;
}
}
[48/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - fix gpg
check for docs in approval script
Posted by ah...@apache.org.
fix gpg check for docs in approval script
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/bfc904cb
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/bfc904cb
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/bfc904cb
Branch: refs/heads/master
Commit: bfc904cbc1aef3824b9424f42dc69d352f305f0a
Parents: 8009ec0
Author: Alex Harui <ah...@apache.org>
Authored: Tue Mar 29 22:22:08 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Mar 29 22:22:08 2016 -0700
----------------------------------------------------------------------
ApproveFlexJS.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bfc904cb/ApproveFlexJS.xml
----------------------------------------------------------------------
diff --git a/ApproveFlexJS.xml b/ApproveFlexJS.xml
index 2c2a436..12341ad 100644
--- a/ApproveFlexJS.xml
+++ b/ApproveFlexJS.xml
@@ -298,8 +298,8 @@
</exec>
<exec executable="gpg" failonerror="true">
<arg value="--verify" />
- <arg value="${basedir}/${doc.package.url.name}.${package.suffix}.asc" />
- <arg value="${basedir}/${doc.package.url.name}.${package.suffix}" />
+ <arg value="${basedir}/${doc.package.url.name}.zip.asc" />
+ <arg value="${basedir}/${doc.package.url.name}.zip" />
</exec>
</target>
[03/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - get ant
building to work
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Network/.externalToolBuilders/NetworkASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/.externalToolBuilders/NetworkASJS.launch b/frameworks/projects/Network/.externalToolBuilders/NetworkASJS.launch
index 808d858..1b40b61 100644
--- a/frameworks/projects/Network/.externalToolBuilders/NetworkASJS.launch
+++ b/frameworks/projects/Network/.externalToolBuilders/NetworkASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/Network/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/Network}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Network/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/.flexLibProperties b/frameworks/projects/Network/.flexLibProperties
index 1fbacb4..20339ea 100644
--- a/frameworks/projects/Network/.flexLibProperties
+++ b/frameworks/projects/Network/.flexLibProperties
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
<includeClasses/>
<includeResources/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Network/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/.project b/frameworks/projects/Network/.project
index 3f20545..d289d38 100644
--- a/frameworks/projects/Network/.project
+++ b/frameworks/projects/Network/.project
@@ -1,26 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
-->
<projectDescription>
<name>Network</name>
<comment></comment>
<projects>
+ <project>Core</project>
</projects>
<buildSpec>
<buildCommand>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Reflection/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/.actionScriptProperties b/frameworks/projects/Reflection/.actionScriptProperties
index dec6681..7d801d8 100644
--- a/frameworks/projects/Reflection/.actionScriptProperties
+++ b/frameworks/projects/Reflection/.actionScriptProperties
@@ -1,6 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="Reflection.as" projectUUID="86565b55-be36-439b-a583-877632ea28b7" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Reflection/.externalToolBuilders/ReflectionASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/.externalToolBuilders/ReflectionASJS.launch b/frameworks/projects/Reflection/.externalToolBuilders/ReflectionASJS.launch
index 46955d1..246498f 100644
--- a/frameworks/projects/Reflection/.externalToolBuilders/ReflectionASJS.launch
+++ b/frameworks/projects/Reflection/.externalToolBuilders/ReflectionASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/Reflection/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/Reflection}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Reflection/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/.flexLibProperties b/frameworks/projects/Reflection/.flexLibProperties
new file mode 100644
index 0000000..20339ea
--- /dev/null
+++ b/frameworks/projects/Reflection/.flexLibProperties
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
+ <includeClasses/>
+ <includeResources/>
+ <namespaceManifests/>
+</flexLibProperties>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Reflection/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/.project b/frameworks/projects/Reflection/.project
index cf8dbb5..0ec9131 100644
--- a/frameworks/projects/Reflection/.project
+++ b/frameworks/projects/Reflection/.project
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<projectDescription>
<name>Reflection</name>
<comment></comment>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Reflection/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/.settings/org.eclipse.core.resources.prefs b/frameworks/projects/Reflection/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..44d7a61
--- /dev/null
+++ b/frameworks/projects/Reflection/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Thu Feb 04 21:06:49 PST 2016
+eclipse.preferences.version=1
+encoding/<project>=utf-8
[50/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Merge
to master from develop tag 'apache-flex-flexjs-0.6.0'
Posted by ah...@apache.org.
Merge to master from develop tag 'apache-flex-flexjs-0.6.0'
"Official release of apache-flex-flexjs-0.6.0"
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/2766a71a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/2766a71a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/2766a71a
Branch: refs/heads/master
Commit: 2766a71ad2710248709be085972aa79c265607fb
Parents: caa9ed5 e85d9e1
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 6 08:04:20 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 6 08:04:20 2016 -0700
----------------------------------------------------------------------
ApproveFlexJS.xml | 295 ++-
LICENSE | 7 +-
LICENSE.base | 203 +++
LICENSE.bin | 4 -
NOTICE | 2 +-
RELEASE_NOTES | 10 +
apache-flex-flexjs-installer-config.xml | 29 +
asdoc/build.xml | 102 +-
build.properties | 2 +-
build.xml | 204 ++-
examples/build.xml | 4 +
examples/build_example.xml | 100 +-
examples/flexjs/ChartExample/build.xml | 47 +-
.../flexjs/ChartExample/src/MyInitialView.mxml | 2 +-
.../CordovaCameraExample-app.xml | 2 +-
examples/flexjs/CordovaCameraExample/build.xml | 29 -
examples/flexjs/DataBindingExample/build.xml | 30 +-
.../flexjs/DataBindingExample_Flat/build.xml | 30 +-
examples/flexjs/DataBindingExample_as/build.xml | 30 +-
examples/flexjs/DataGridExample/build.xml | 47 +-
examples/flexjs/DesktopMap/DesktopMap-app.xml | 8 +-
examples/flexjs/DesktopMap/build.xml | 34 +-
examples/flexjs/FlexJSStore/build.xml | 30 +-
.../src/productsView/CatalogTitleButtons.mxml | 8 +-
.../productsView/ProductCatalogThumbnail.mxml | 8 +-
.../src/productsView/ProductDetails.mxml | 6 +-
.../src/productsView/ProductListItem.mxml | 12 +-
examples/flexjs/FlexJSStore_jquery/build.xml | 48 +-
.../src/productsView/CatalogTitleButtons.mxml | 8 +-
.../productsView/ProductCatalogThumbnail.mxml | 8 +-
.../src/productsView/ProductDetails.mxml | 6 +-
.../src/productsView/ProductListItem.mxml | 12 +-
.../flexjs/FlexWebsiteStatsViewer/build.xml | 29 -
examples/flexjs/MapSearch/MapSearch-app.xml | 2 +-
examples/flexjs/MapSearch/build.xml | 51 +-
.../flexjs/MapSearch/src/MyInitialView.mxml | 15 +-
examples/flexjs/MobileTrader/build.xml | 48 +-
.../flexjs/MobileTrader/src/MyInitialView.mxml | 60 +-
.../flexjs/MobileTrader/src/models/Asset.as | 77 +
.../MobileTrader/src/models/AssetsModel.as | 18 +-
examples/flexjs/StorageExample/README.txt | 81 +
.../StorageExample/StorageExample-app.xml | 252 +++
examples/flexjs/StorageExample/build.xml | 93 +
examples/flexjs/StorageExample/pom.xml | 50 +
.../StorageExample/src/MyInitialView.mxml | 245 +++
.../StorageExample/src/StorageExample.mxml | 42 +
.../flexjs/StorageExample/src/models/MyModel.as | 58 +
examples/flexjs/TodoListSampleApp/build.xml | 32 +-
examples/flexjs/TreeExample/build.xml | 60 +
examples/flexjs/TreeExample/pom.xml | 50 +
.../flexjs/TreeExample/src/MyInitialView.mxml | 37 +
.../flexjs/TreeExample/src/TreeExample.mxml | 36 +
.../flexjs/TreeExample/src/models/MyModel.as | 72 +
examples/flexjs/pom.xml | 4 +-
examples/native/ButtonExample/build.xml | 69 +-
examples/native/USStatesMap/build.xml | 73 +-
frameworks/air-config-template.xml | 90 +-
frameworks/air-config.xml | 90 +-
frameworks/asdoc-config.xml | 165 +-
frameworks/build.xml | 71 +-
frameworks/downloads.xml | 41 +-
frameworks/fb.properties | 5 +
frameworks/flex-config-template.xml | 125 +-
frameworks/flex-config.xml | 125 +-
.../projects/Binding/.actionScriptProperties | 38 +-
.../.externalToolBuilders/BindingASJS.launch | 44 +
frameworks/projects/Binding/.flexLibProperties | 18 +
frameworks/projects/Binding/.project | 35 +-
.../projects/Binding/as/src/BindingClasses.as | 34 -
.../src/org/apache/flex/binding/ChainBinding.as | 218 ---
.../org/apache/flex/binding/ConstantBinding.as | 168 --
.../org/apache/flex/binding/GenericBinding.as | 234 ---
.../org/apache/flex/binding/PropertyWatcher.as | 229 ---
.../org/apache/flex/binding/SimpleBinding.as | 207 ---
.../apache/flex/binding/ViewBaseDataBinding.as | 329 ----
.../src/org/apache/flex/binding/WatcherBase.as | 315 ----
.../flex/binding/ApplicationDataBinding.as | 338 ----
.../apache/flex/binding/ContainerDataBinding.as | 384 ----
.../flex/binding/MXMLBeadViewBaseDataBinding.as | 333 ----
frameworks/projects/Binding/basic-manifest.xml | 31 -
frameworks/projects/Binding/build.xml | 114 +-
.../projects/Binding/compile-asjs-config.xml | 74 -
frameworks/projects/Binding/compile-config.xml | 83 -
.../src/org/apache/flex/binding/BindingBase.js | 117 --
.../src/org/apache/flex/binding/ChainBinding.js | 207 ---
.../org/apache/flex/binding/ConstantBinding.js | 72 -
.../org/apache/flex/binding/GenericBinding.js | 172 --
.../org/apache/flex/binding/PropertyWatcher.js | 195 --
.../org/apache/flex/binding/SimpleBinding.js | 94 -
.../apache/flex/binding/ViewBaseDataBinding.js | 349 ----
.../src/org/apache/flex/binding/WatcherBase.js | 246 ---
.../Binding/src/main/flex/BindingClasses.as | 34 +
.../flex/binding/ApplicationDataBinding.as | 338 ++++
.../org/apache/flex/binding/ChainBinding.as | 215 +++
.../org/apache/flex/binding/ConstantBinding.as | 195 ++
.../apache/flex/binding/ContainerDataBinding.as | 384 ++++
.../org/apache/flex/binding/GenericBinding.as | 232 +++
.../flex/binding/MXMLBeadViewBaseDataBinding.as | 333 ++++
.../org/apache/flex/binding/PropertyWatcher.as | 229 +++
.../org/apache/flex/binding/SimpleBinding.as | 206 +++
.../apache/flex/binding/ViewBaseDataBinding.as | 329 ++++
.../flex/org/apache/flex/binding/WatcherBase.as | 339 ++++
.../src/main/resources/basic-manifest.xml | 31 +
.../src/main/resources/compile-asjs-config.xml | 79 +
.../src/main/resources/compile-config.xml | 78 +
.../projects/Charts/.actionScriptProperties | 42 +-
.../.externalToolBuilders/ChartsASJS.launch | 44 +
frameworks/projects/Charts/.flexLibProperties | 18 +
frameworks/projects/Charts/.project | 37 +-
.../projects/Charts/as/src/ChartsClasses.as | 48 -
.../apache/flex/charts/core/CartesianChart.as | 85 -
.../org/apache/flex/charts/core/ChartBase.as | 77 -
.../org/apache/flex/charts/core/IAxisBead.as | 58 -
.../org/apache/flex/charts/core/IAxisGroup.as | 42 -
.../flex/charts/core/ICartesianChartLayout.as | 34 -
.../src/org/apache/flex/charts/core/IChart.as | 48 -
.../apache/flex/charts/core/IChartDataGroup.as | 55 -
.../flex/charts/core/IChartItemRenderer.as | 116 --
.../org/apache/flex/charts/core/IChartSeries.as | 69 -
.../flex/charts/core/IConnectedItemRenderer.as | 55 -
.../flex/charts/core/IHorizontalAxisBead.as | 65 -
.../flex/charts/core/IVerticalAxisBead.as | 65 -
.../org/apache/flex/charts/core/PolarChart.as | 66 -
.../charts/supportClasses/ChartAxisGroup.as | 173 --
.../charts/supportClasses/ChartDataGroup.as | 100 -
frameworks/projects/Charts/asjs/defaults.css | 108 --
.../Charts/asjs/src/ChartASJSClasses.as | 61 -
.../asjs/src/org/apache/flex/charts/BarChart.as | 49 -
.../src/org/apache/flex/charts/ColumnChart.as | 48 -
.../src/org/apache/flex/charts/LineChart.as | 48 -
.../asjs/src/org/apache/flex/charts/PieChart.as | 47 -
.../org/apache/flex/charts/StackedBarChart.as | 48 -
.../apache/flex/charts/StackedColumnChart.as | 48 -
.../apache/flex/charts/beads/AxisBaseBead.as | 246 ---
.../charts/beads/ChartItemRendererFactory.as | 155 --
.../org/apache/flex/charts/beads/ChartView.as | 174 --
.../DataItemRendererFactoryForSeriesData.as | 131 --
.../org/apache/flex/charts/beads/DataTipBead.as | 162 --
.../charts/beads/HorizontalCategoryAxisBead.as | 191 --
.../charts/beads/HorizontalLinearAxisBead.as | 246 ---
.../charts/beads/VerticalCategoryAxisBead.as | 198 --
.../flex/charts/beads/VerticalLinearAxisBead.as | 236 ---
.../flex/charts/beads/layouts/BarChartLayout.as | 149 --
.../charts/beads/layouts/ChartBaseLayout.as | 147 --
.../charts/beads/layouts/ColumnChartLayout.as | 140 --
.../layouts/LineChartCategoryVsLinearLayout.as | 152 --
.../layouts/LineChartLinearVsLinearLayout.as | 166 --
.../flex/charts/beads/layouts/PieChartLayout.as | 140 --
.../beads/layouts/StackedBarChartLayout.as | 164 --
.../beads/layouts/StackedColumnChartLayout.as | 161 --
.../flex/charts/optimized/SVGBoxItemRenderer.as | 166 --
.../flex/charts/optimized/SVGChartAxisGroup.as | 142 --
.../flex/charts/optimized/SVGChartDataGroup.as | 192 --
.../optimized/SVGLineSegmentItemRenderer.as | 205 ---
.../charts/optimized/SVGWedgeItemRenderer.as | 281 ---
.../flex/charts/supportClasses/BarSeries.as | 103 --
.../charts/supportClasses/BoxItemRenderer.as | 268 ---
.../flex/charts/supportClasses/ColumnSeries.as | 93 -
.../supportClasses/ILineSegmentItemRenderer.as | 57 -
.../charts/supportClasses/IWedgeItemRenderer.as | 113 --
.../supportClasses/LineSegmentItemRenderer.as | 198 --
.../flex/charts/supportClasses/LineSeries.as | 114 --
.../flex/charts/supportClasses/PieSeries.as | 85 -
.../charts/supportClasses/WedgeItemRenderer.as | 272 ---
frameworks/projects/Charts/basic-manifest.xml | 50 -
frameworks/projects/Charts/build.xml | 125 +-
.../projects/Charts/compile-asjs-config.xml | 73 -
frameworks/projects/Charts/compile-config.xml | 90 -
.../org/apache/flex/charts/core/ChartBase.js | 87 -
.../org/apache/flex/charts/core/IAxisBead.js | 61 -
.../org/apache/flex/charts/core/IAxisGroup.js | 45 -
.../flex/charts/core/ICartesianChartLayout.js | 39 -
.../src/org/apache/flex/charts/core/IChart.js | 48 -
.../org/apache/flex/charts/core/IChartAxis.js | 39 -
.../apache/flex/charts/core/IChartDataGroup.js | 53 -
.../flex/charts/core/IChartItemRenderer.js | 78 -
.../org/apache/flex/charts/core/IChartSeries.js | 65 -
.../flex/charts/core/IHorizontalAxisBead.js | 60 -
.../flex/charts/core/IVerticalAxisBead.js | 59 -
.../charts/supportClasses/ChartAxisGroup.js | 162 --
.../charts/supportClasses/ChartDataGroup.js | 83 -
.../Charts/src/main/flex/ChartsClasses.as | 75 +
.../flex/org/apache/flex/charts/BarChart.as | 49 +
.../flex/org/apache/flex/charts/ColumnChart.as | 48 +
.../flex/org/apache/flex/charts/LineChart.as | 48 +
.../flex/org/apache/flex/charts/PieChart.as | 47 +
.../org/apache/flex/charts/StackedBarChart.as | 48 +
.../apache/flex/charts/StackedColumnChart.as | 48 +
.../apache/flex/charts/beads/AxisBaseBead.as | 246 +++
.../charts/beads/ChartItemRendererFactory.as | 155 ++
.../org/apache/flex/charts/beads/ChartView.as | 174 ++
.../DataItemRendererFactoryForSeriesData.as | 131 ++
.../org/apache/flex/charts/beads/DataTipBead.as | 162 ++
.../charts/beads/HorizontalCategoryAxisBead.as | 191 ++
.../charts/beads/HorizontalLinearAxisBead.as | 246 +++
.../charts/beads/VerticalCategoryAxisBead.as | 198 ++
.../flex/charts/beads/VerticalLinearAxisBead.as | 236 +++
.../flex/charts/beads/layouts/BarChartLayout.as | 149 ++
.../charts/beads/layouts/ChartBaseLayout.as | 147 ++
.../charts/beads/layouts/ColumnChartLayout.as | 140 ++
.../layouts/LineChartCategoryVsLinearLayout.as | 152 ++
.../layouts/LineChartLinearVsLinearLayout.as | 166 ++
.../flex/charts/beads/layouts/PieChartLayout.as | 140 ++
.../beads/layouts/StackedBarChartLayout.as | 164 ++
.../beads/layouts/StackedColumnChartLayout.as | 161 ++
.../apache/flex/charts/core/CartesianChart.as | 85 +
.../org/apache/flex/charts/core/ChartBase.as | 77 +
.../org/apache/flex/charts/core/IAxisBead.as | 58 +
.../org/apache/flex/charts/core/IAxisGroup.as | 42 +
.../flex/charts/core/ICartesianChartLayout.as | 34 +
.../flex/org/apache/flex/charts/core/IChart.as | 48 +
.../apache/flex/charts/core/IChartDataGroup.as | 55 +
.../flex/charts/core/IChartItemRenderer.as | 116 ++
.../org/apache/flex/charts/core/IChartSeries.as | 69 +
.../flex/charts/core/IConnectedItemRenderer.as | 55 +
.../flex/charts/core/IHorizontalAxisBead.as | 65 +
.../flex/charts/core/IVerticalAxisBead.as | 65 +
.../org/apache/flex/charts/core/PolarChart.as | 66 +
.../flex/charts/optimized/SVGBoxItemRenderer.as | 166 ++
.../flex/charts/optimized/SVGChartAxisGroup.as | 142 ++
.../flex/charts/optimized/SVGChartDataGroup.as | 192 ++
.../optimized/SVGLineSegmentItemRenderer.as | 205 +++
.../charts/optimized/SVGWedgeItemRenderer.as | 281 +++
.../flex/charts/supportClasses/BarSeries.as | 103 ++
.../charts/supportClasses/BoxItemRenderer.as | 268 +++
.../charts/supportClasses/ChartAxisGroup.as | 182 ++
.../charts/supportClasses/ChartDataGroup.as | 100 +
.../flex/charts/supportClasses/ColumnSeries.as | 93 +
.../supportClasses/ILineSegmentItemRenderer.as | 57 +
.../charts/supportClasses/IWedgeItemRenderer.as | 113 ++
.../supportClasses/LineSegmentItemRenderer.as | 198 ++
.../flex/charts/supportClasses/LineSeries.as | 114 ++
.../flex/charts/supportClasses/PieSeries.as | 85 +
.../charts/supportClasses/WedgeItemRenderer.as | 272 +++
.../src/main/resources/basic-manifest.xml | 50 +
.../main/resources/compile-as-to-js-config.xml | 76 +
.../src/main/resources/compile-asjs-config.xml | 71 +
.../src/main/resources/compile-config.xml | 84 +
.../src/main/resources/compile-js-config.xml | 87 +
.../Charts/src/main/resources/defaults.css | 108 ++
.../Collections/.actionScriptProperties | 38 +-
.../CollectionsASJS.launch | 44 +
.../projects/Collections/.flexLibProperties | 18 +
frameworks/projects/Collections/.project | 35 +-
.../Collections/as/src/CollectionsClasses.as | 34 -
.../org/apache/flex/collections/ICollection.as | 43 -
.../flex/collections/IStringCollection.as | 43 -
.../apache/flex/collections/LazyCollection.as | 248 ---
.../collections/converters/IItemConverter.as | 49 -
.../collections/converters/JSONItemConverter.as | 74 -
.../flex/collections/parsers/IInputParser.as | 50 -
.../flex/collections/parsers/JSONInputParser.as | 54 -
.../asjs/src/CollectionsASJSClasses.as | 33 -
.../org/apache/flex/collections/ArrayList.as | 396 ----
.../projects/Collections/basic-manifest.xml | 29 -
frameworks/projects/Collections/build.xml | 178 +-
.../Collections/compile-asjs-config.xml | 74 -
.../projects/Collections/compile-config.xml | 84 -
.../org/apache/flex/collections/ICollection.js | 50 -
.../apache/flex/collections/LazyCollection.js | 163 --
.../collections/converters/JSONItemConverter.js | 48 -
.../flex/collections/parsers/JSONInputParser.js | 48 -
.../src/main/flex/CollectionsClasses.as | 37 +
.../org/apache/flex/collections/ArrayList.as | 396 ++++
.../apache/flex/collections/FlattenedList.as | 203 +++
.../apache/flex/collections/HierarchicalData.as | 269 +++
.../org/apache/flex/collections/IArrayList.as | 178 ++
.../org/apache/flex/collections/ICollection.as | 43 +
.../flex/collections/IHierarchicalData.as | 119 ++
.../flex/collections/IStringCollection.as | 43 +
.../apache/flex/collections/LazyCollection.as | 267 +++
.../collections/converters/IItemConverter.as | 49 +
.../collections/converters/JSONItemConverter.as | 74 +
.../flex/collections/parsers/IInputParser.as | 50 +
.../flex/collections/parsers/JSONInputParser.as | 54 +
.../src/main/resources/basic-manifest.xml | 30 +
.../src/main/resources/compile-asjs-config.xml | 69 +
.../src/main/resources/compile-config.xml | 78 +
.../projects/Core/.actionScriptProperties | 36 +-
.../Core/.externalToolBuilders/CoreASJS.launch | 44 +
frameworks/projects/Core/.flexLibProperties | 18 +
frameworks/projects/Core/.project | 34 +-
frameworks/projects/Core/as/src/CoreClasses.as | 112 --
.../as/src/org/apache/flex/core/Application.as | 502 -----
.../as/src/org/apache/flex/core/BeadViewBase.as | 97 -
.../apache/flex/core/BrowserResizeListener.as | 110 --
.../src/org/apache/flex/core/BrowserScroller.as | 80 -
.../src/org/apache/flex/core/BrowserWindow.as | 51 -
.../src/org/apache/flex/core/CSSFontFaceBead.as | 146 --
.../as/src/org/apache/flex/core/CSSShape.as | 162 --
.../as/src/org/apache/flex/core/CSSSprite.as | 162 --
.../as/src/org/apache/flex/core/CSSTextField.as | 155 --
.../src/org/apache/flex/core/CallLaterBead.as | 112 --
.../as/src/org/apache/flex/core/ClassFactory.as | 90 -
.../src/org/apache/flex/core/ContainerBase.as | 413 -----
.../flex/core/ContainerBaseStrandChildren.as | 98 -
.../src/org/apache/flex/core/DataBindingBase.as | 45 -
.../src/org/apache/flex/core/FilledRectangle.as | 106 --
.../as/src/org/apache/flex/core/IAlertModel.as | 135 --
.../Core/as/src/org/apache/flex/core/IBead.as | 47 -
.../src/org/apache/flex/core/IBeadController.as | 37 -
.../as/src/org/apache/flex/core/IBeadLayout.as | 40 -
.../as/src/org/apache/flex/core/IBeadModel.as | 39 -
.../as/src/org/apache/flex/core/IBeadView.as | 46 -
.../as/src/org/apache/flex/core/IBorderModel.as | 45 -
.../Core/as/src/org/apache/flex/core/IChild.as | 44 -
.../Core/as/src/org/apache/flex/core/IChrome.as | 37 -
.../src/org/apache/flex/core/IComboBoxModel.as | 108 --
.../as/src/org/apache/flex/core/IContainer.as | 47 -
.../src/org/apache/flex/core/IContainerView.as | 33 -
.../as/src/org/apache/flex/core/IContentView.as | 38 -
.../org/apache/flex/core/IContentViewHost.as | 35 -
.../core/IDataProviderItemRendererMapper.as | 52 -
.../as/src/org/apache/flex/core/IDocument.as | 48 -
.../src/org/apache/flex/core/IDragInitiator.as | 67 -
.../as/src/org/apache/flex/core/IEffectTimer.as | 68 -
.../as/src/org/apache/flex/core/IFactory.as | 46 -
.../as/src/org/apache/flex/core/IFlexInfo.as | 43 -
.../as/src/org/apache/flex/core/IFormatBead.as | 69 -
.../as/src/org/apache/flex/core/IImageModel.as | 48 -
.../src/org/apache/flex/core/IItemRenderer.as | 57 -
.../flex/core/IItemRendererClassFactory.as | 60 -
.../org/apache/flex/core/IItemRendererParent.as | 52 -
.../as/src/org/apache/flex/core/ILayoutChild.as | 172 --
.../as/src/org/apache/flex/core/ILayoutHost.as | 44 -
.../apache/flex/core/IListPresentationModel.as | 54 -
.../src/org/apache/flex/core/IMXMLDocument.as | 66 -
.../org/apache/flex/core/IMeasurementBead.as | 53 -
.../as/src/org/apache/flex/core/IPanelModel.as | 45 -
.../Core/as/src/org/apache/flex/core/IParent.as | 109 --
.../src/org/apache/flex/core/IParentIUIBase.as | 33 -
.../Core/as/src/org/apache/flex/core/IPopUp.as | 33 -
.../as/src/org/apache/flex/core/IPopUpHost.as | 33 -
.../as/src/org/apache/flex/core/IRangeModel.as | 95 -
.../src/org/apache/flex/core/IRollOverModel.as | 46 -
.../src/org/apache/flex/core/IScrollBarModel.as | 57 -
.../apache/flex/core/ISelectableItemRenderer.as | 95 -
.../src/org/apache/flex/core/ISelectionModel.as | 100 -
.../as/src/org/apache/flex/core/IStatesImpl.as | 37 -
.../src/org/apache/flex/core/IStatesObject.as | 69 -
.../Core/as/src/org/apache/flex/core/IStrand.as | 77 -
.../org/apache/flex/core/IStrandWithModel.as | 50 -
.../as/src/org/apache/flex/core/IStyleObject.as | 45 -
.../org/apache/flex/core/IStyleableObject.as | 71 -
.../as/src/org/apache/flex/core/ITextModel.as | 56 -
.../src/org/apache/flex/core/ITitleBarModel.as | 73 -
.../org/apache/flex/core/IToggleButtonModel.as | 67 -
.../Core/as/src/org/apache/flex/core/IUIBase.as | 133 --
.../apache/flex/core/IValueToggleButtonModel.as | 69 -
.../as/src/org/apache/flex/core/IValuesImpl.as | 137 --
.../as/src/org/apache/flex/core/IViewport.as | 83 -
.../src/org/apache/flex/core/IViewportModel.as | 50 -
.../org/apache/flex/core/IViewportScroller.as | 35 -
.../flex/core/ItemRendererClassFactory.as | 196 --
.../as/src/org/apache/flex/core/ListBase.as | 123 --
.../apache/flex/core/ListBaseStrandChildren.as | 99 -
.../org/apache/flex/core/MXMLDragInitiator.as | 131 --
.../org/apache/flex/core/SimpleApplication.as | 89 -
.../org/apache/flex/core/SimpleCSSValuesImpl.as | 614 -------
.../org/apache/flex/core/SimpleStatesImpl.as | 223 ---
.../org/apache/flex/core/SimpleValuesImpl.as | 182 --
.../as/src/org/apache/flex/core/StageProxy.as | 126 --
.../Core/as/src/org/apache/flex/core/Strand.as | 182 --
.../apache/flex/core/StyleableCSSTextField.as | 200 --
.../Core/as/src/org/apache/flex/core/UIBase.as | 1063 -----------
.../as/src/org/apache/flex/core/UIButtonBase.as | 859 ---------
.../src/org/apache/flex/core/ValuesManager.as | 72 -
.../as/src/org/apache/flex/core/ViewBase.as | 98 -
.../src/org/apache/flex/events/CustomEvent.as | 50 -
.../Core/as/src/org/apache/flex/events/Event.as | 78 -
.../org/apache/flex/events/EventDispatcher.as | 47 -
.../org/apache/flex/events/IEventDispatcher.as | 36 -
.../as/src/org/apache/flex/events/MouseEvent.as | 154 --
.../org/apache/flex/events/ValueChangeEvent.as | 122 --
.../as/src/org/apache/flex/events/ValueEvent.as | 59 -
.../flex/events/utils/MouseEventConverter.as | 165 --
.../org/apache/flex/events/utils/MouseUtils.as | 103 --
.../Core/as/src/org/apache/flex/geom/Point.as | 42 -
.../as/src/org/apache/flex/geom/Rectangle.as | 42 -
.../Core/as/src/org/apache/flex/geom/Size.as | 41 -
.../as/src/org/apache/flex/states/AddItems.as | 101 --
.../org/apache/flex/states/ItemAndDescriptor.as | 70 -
.../org/apache/flex/states/SetEventHandler.as | 79 -
.../src/org/apache/flex/states/SetProperty.as | 81 -
.../Core/as/src/org/apache/flex/states/State.as | 83 -
.../as/src/org/apache/flex/utils/BinaryData.as | 236 ---
.../src/org/apache/flex/utils/CSSBorderUtils.as | 218 ---
.../org/apache/flex/utils/CSSContainerUtils.as | 194 --
.../as/src/org/apache/flex/utils/EffectTimer.as | 95 -
.../apache/flex/utils/MXMLDataInterpreter.as | 417 -----
.../src/org/apache/flex/utils/MixinManager.as | 81 -
.../as/src/org/apache/flex/utils/PNGEncoder.as | 304 ----
.../as/src/org/apache/flex/utils/PointUtils.as | 80 -
.../org/apache/flex/utils/SolidBorderUtil.as | 190 --
.../src/org/apache/flex/utils/StringTrimmer.as | 175 --
.../Core/as/src/org/apache/flex/utils/Timer.as | 80 -
.../as/src/org/apache/flex/utils/UIUtils.as | 107 --
.../flex/utils/ViewSourceContextMenuOption.as | 90 -
.../org/apache/flex/utils/dbg/DOMPathUtil.as | 94 -
.../as/tests/FlexUnitFlexJSApplication.mxml | 46 -
frameworks/projects/Core/as/tests/build.xml | 164 --
.../Core/as/tests/flexUnitTests/StrandTester.as | 27 -
.../as/tests/flexUnitTests/StrandTesterTest.as | 55 -
.../projects/Core/asjs/basic-manifest.xml | 28 -
frameworks/projects/Core/asjs/build.xml | 79 -
.../projects/Core/asjs/compile-config.xml | 76 -
frameworks/projects/Core/asjs/defaults.css | 138 --
.../projects/Core/asjs/src/CoreASJSClasses.as | 38 -
.../org/apache/flex/core/BindableCSSStyles.as | 134 --
.../src/org/apache/flex/core/IDataGridModel.as | 44 -
.../flex/core/IDataGridPresentationModel.as | 45 -
.../org/apache/flex/core/IDateChooserModel.as | 101 --
.../org/apache/flex/core/ParentDocumentBead.as | 127 --
.../src/org/apache/flex/core/SimpleCSSStyles.as | 106 --
.../asjs/src/org/apache/flex/utils/CSSUtils.as | 323 ----
frameworks/projects/Core/basic-manifest.xml | 42 -
frameworks/projects/Core/build.xml | 140 +-
.../projects/Core/compile-asjs-config.xml | 76 -
frameworks/projects/Core/compile-config.xml | 84 -
.../js/src/org/apache/flex/core/Application.js | 176 --
.../js/src/org/apache/flex/core/BeadViewBase.js | 71 -
.../apache/flex/core/BrowserResizeListener.js | 78 -
.../src/org/apache/flex/core/BrowserScroller.js | 55 -
.../src/org/apache/flex/core/BrowserWindow.js | 45 -
.../src/org/apache/flex/core/CSSFontFaceBead.js | 54 -
.../src/org/apache/flex/core/CallLaterBead.js | 93 -
.../js/src/org/apache/flex/core/ClassFactory.js | 64 -
.../src/org/apache/flex/core/ContainerBase.js | 378 ----
.../flex/core/ContainerBaseStrandChildren.js | 112 --
.../src/org/apache/flex/core/DataBindingBase.js | 34 -
.../src/org/apache/flex/core/FilledRectangle.js | 86 -
.../org/apache/flex/core/HTMLElementWrapper.js | 177 --
.../Core/js/src/org/apache/flex/core/IBead.js | 49 -
.../src/org/apache/flex/core/IBeadController.js | 42 -
.../js/src/org/apache/flex/core/IBeadLayout.js | 42 -
.../js/src/org/apache/flex/core/IBeadModel.js | 45 -
.../js/src/org/apache/flex/core/IBeadView.js | 38 -
.../Core/js/src/org/apache/flex/core/IChild.js | 49 -
.../Core/js/src/org/apache/flex/core/IChrome.js | 31 -
.../js/src/org/apache/flex/core/IContainer.js | 52 -
.../src/org/apache/flex/core/IContainerView.js | 44 -
.../js/src/org/apache/flex/core/IContentView.js | 79 -
.../org/apache/flex/core/IContentViewHost.js | 52 -
.../core/IDataProviderItemRendererMapper.js | 53 -
.../js/src/org/apache/flex/core/IDocument.js | 51 -
.../js/src/org/apache/flex/core/IEffectTimer.js | 45 -
.../js/src/org/apache/flex/core/IFactory.js | 45 -
.../js/src/org/apache/flex/core/IFormatBead.js | 62 -
.../src/org/apache/flex/core/IItemRenderer.js | 38 -
.../flex/core/IItemRendererClassFactory.js | 38 -
.../apache/flex/core/IItemRendererFactory.js | 45 -
.../org/apache/flex/core/IItemRendererParent.js | 48 -
.../js/src/org/apache/flex/core/ILayoutChild.js | 42 -
.../js/src/org/apache/flex/core/ILayoutHost.js | 46 -
.../apache/flex/core/IListPresentationModel.js | 60 -
.../src/org/apache/flex/core/IMXMLDocument.js | 41 -
.../org/apache/flex/core/IMeasurementBead.js | 38 -
.../Core/js/src/org/apache/flex/core/IParent.js | 70 -
.../src/org/apache/flex/core/IParentIUIBase.js | 46 -
.../js/src/org/apache/flex/core/IPopUpHost.js | 45 -
.../src/org/apache/flex/core/IRollOverModel.js | 58 -
.../apache/flex/core/ISelectableItemRenderer.js | 75 -
.../src/org/apache/flex/core/ISelectionModel.js | 65 -
.../js/src/org/apache/flex/core/IStatesImpl.js | 47 -
.../Core/js/src/org/apache/flex/core/IStrand.js | 70 -
.../org/apache/flex/core/IStyleableObject.js | 46 -
.../js/src/org/apache/flex/core/ITextModel.js | 54 -
.../Core/js/src/org/apache/flex/core/IUIBase.js | 40 -
.../js/src/org/apache/flex/core/IValuesImpl.js | 73 -
.../js/src/org/apache/flex/core/IViewport.js | 44 -
.../src/org/apache/flex/core/IViewportModel.js | 44 -
.../flex/core/ItemRendererClassFactory.js | 96 -
.../js/src/org/apache/flex/core/ListBase.js | 179 --
.../apache/flex/core/ListBaseStrandChildren.js | 112 --
.../org/apache/flex/core/SimpleApplication.js | 49 -
.../org/apache/flex/core/SimpleCSSValuesImpl.js | 361 ----
.../org/apache/flex/core/SimpleStatesImpl.js | 221 ---
.../org/apache/flex/core/SimpleValuesImpl.js | 33 -
.../Core/js/src/org/apache/flex/core/UIBase.js | 872 ---------
.../src/org/apache/flex/core/ValuesManager.js | 57 -
.../js/src/org/apache/flex/core/ViewBase.js | 143 --
.../src/org/apache/flex/events/BrowserEvent.js | 162 --
.../src/org/apache/flex/events/CustomEvent.js | 58 -
.../src/org/apache/flex/events/ElementEvents.js | 52 -
.../Core/js/src/org/apache/flex/events/Event.js | 71 -
.../org/apache/flex/events/EventDispatcher.js | 138 --
.../org/apache/flex/events/IEventDispatcher.js | 40 -
.../js/src/org/apache/flex/events/MouseEvent.js | 186 --
.../org/apache/flex/events/ValueChangeEvent.js | 119 --
.../js/src/org/apache/flex/events/ValueEvent.js | 69 -
.../org/apache/flex/events/utils/MouseUtils.js | 62 -
.../Core/js/src/org/apache/flex/geom/Point.js | 56 -
.../js/src/org/apache/flex/geom/Rectangle.js | 104 --
.../Core/js/src/org/apache/flex/geom/Size.js | 56 -
.../js/src/org/apache/flex/states/AddItems.js | 249 ---
.../org/apache/flex/states/SetEventHandler.js | 152 --
.../src/org/apache/flex/states/SetProperty.js | 173 --
.../Core/js/src/org/apache/flex/states/State.js | 82 -
.../js/src/org/apache/flex/svg/TextButton.js | 90 -
.../apache/flex/svg/assets/TextButton_Skin.svg | 279 ---
.../js/src/org/apache/flex/utils/BinaryData.js | 223 ---
.../org/apache/flex/utils/CSSContainerUtils.js | 83 -
.../js/src/org/apache/flex/utils/EffectTimer.js | 94 -
.../js/src/org/apache/flex/utils/Language.js | 316 ----
.../apache/flex/utils/MXMLDataInterpreter.js | 412 -----
.../src/org/apache/flex/utils/MixinManager.js | 62 -
.../js/src/org/apache/flex/utils/PointUtils.js | 82 -
.../Core/js/src/org/apache/flex/utils/Timer.js | 148 --
.../js/src/org/apache/flex/utils/UIUtils.js | 84 -
.../flex/utils/ViewSourceContextMenuOption.js | 47 -
.../projects/Core/src/main/flex/CoreClasses.as | 154 ++
.../Core/src/main/flex/CoreJSClasses.as | 99 +
.../projects/Core/src/main/flex/Namespace.as | 50 +
frameworks/projects/Core/src/main/flex/QName.as | 53 +
.../flex/org/apache/flex/core/Application.as | 602 ++++++
.../org/apache/flex/core/ApplicationBase.as | 110 ++
.../flex/org/apache/flex/core/BeadViewBase.as | 97 +
.../org/apache/flex/core/BindableCSSStyles.as | 134 ++
.../apache/flex/core/BrowserResizeListener.as | 138 ++
.../org/apache/flex/core/BrowserScroller.as | 89 +
.../flex/org/apache/flex/core/BrowserWindow.as | 61 +
.../org/apache/flex/core/CSSFontFaceBead.as | 160 ++
.../main/flex/org/apache/flex/core/CSSShape.as | 163 ++
.../main/flex/org/apache/flex/core/CSSSprite.as | 163 ++
.../flex/org/apache/flex/core/CSSTextField.as | 163 ++
.../flex/org/apache/flex/core/CallLaterBead.as | 128 ++
.../flex/org/apache/flex/core/ClassFactory.as | 90 +
.../flex/org/apache/flex/core/ContainerBase.as | 443 +++++
.../flex/core/ContainerBaseStrandChildren.as | 99 +
.../org/apache/flex/core/DataBindingBase.as | 45 +
.../org/apache/flex/core/FilledRectangle.as | 125 ++
.../org/apache/flex/core/HTMLElementWrapper.as | 265 +++
.../flex/org/apache/flex/core/IAlertModel.as | 135 ++
.../org/apache/flex/core/IApplicationView.as | 45 +
.../src/main/flex/org/apache/flex/core/IBead.as | 47 +
.../org/apache/flex/core/IBeadController.as | 37 +
.../flex/org/apache/flex/core/IBeadLayout.as | 40 +
.../flex/org/apache/flex/core/IBeadModel.as | 39 +
.../main/flex/org/apache/flex/core/IBeadView.as | 46 +
.../flex/org/apache/flex/core/IBorderModel.as | 46 +
.../main/flex/org/apache/flex/core/IChild.as | 59 +
.../main/flex/org/apache/flex/core/IChrome.as | 37 +
.../flex/org/apache/flex/core/IComboBoxModel.as | 108 ++
.../flex/org/apache/flex/core/IContainer.as | 47 +
.../flex/org/apache/flex/core/IContainerView.as | 33 +
.../flex/org/apache/flex/core/IContentView.as | 38 +
.../org/apache/flex/core/IContentViewHost.as | 35 +
.../flex/org/apache/flex/core/IDataGridModel.as | 44 +
.../flex/core/IDataGridPresentationModel.as | 45 +
.../core/IDataProviderItemRendererMapper.as | 52 +
.../org/apache/flex/core/IDateChooserModel.as | 101 ++
.../main/flex/org/apache/flex/core/IDocument.as | 48 +
.../flex/org/apache/flex/core/IDragInitiator.as | 67 +
.../flex/org/apache/flex/core/IEffectTimer.as | 68 +
.../main/flex/org/apache/flex/core/IFactory.as | 46 +
.../main/flex/org/apache/flex/core/IFlexInfo.as | 43 +
.../flex/org/apache/flex/core/IFlexJSElement.as | 45 +
.../flex/org/apache/flex/core/IFormatBead.as | 69 +
.../flex/org/apache/flex/core/IImageModel.as | 48 +
.../flex/org/apache/flex/core/IItemRenderer.as | 69 +
.../flex/core/IItemRendererClassFactory.as | 60 +
.../org/apache/flex/core/IItemRendererParent.as | 52 +
.../apache/flex/core/IItemRendererProvider.as | 58 +
.../flex/org/apache/flex/core/ILayoutChild.as | 175 ++
.../flex/org/apache/flex/core/ILayoutHost.as | 44 +
.../apache/flex/core/IListPresentationModel.as | 54 +
.../flex/org/apache/flex/core/IMXMLDocument.as | 66 +
.../org/apache/flex/core/IMeasurementBead.as | 53 +
.../flex/org/apache/flex/core/IPanelModel.as | 45 +
.../main/flex/org/apache/flex/core/IParent.as | 109 ++
.../flex/org/apache/flex/core/IParentIUIBase.as | 37 +
.../main/flex/org/apache/flex/core/IPopUp.as | 33 +
.../flex/org/apache/flex/core/IPopUpHost.as | 33 +
.../flex/org/apache/flex/core/IRangeModel.as | 95 +
.../flex/org/apache/flex/core/IRollOverModel.as | 46 +
.../org/apache/flex/core/IScrollBarModel.as | 58 +
.../apache/flex/core/ISelectableItemRenderer.as | 95 +
.../org/apache/flex/core/ISelectionModel.as | 100 +
.../flex/org/apache/flex/core/IStatesImpl.as | 37 +
.../flex/org/apache/flex/core/IStatesObject.as | 74 +
.../main/flex/org/apache/flex/core/IStrand.as | 77 +
.../org/apache/flex/core/IStrandWithModel.as | 50 +
.../flex/org/apache/flex/core/IStyleObject.as | 45 +
.../org/apache/flex/core/IStyleableObject.as | 71 +
.../flex/org/apache/flex/core/ITextModel.as | 56 +
.../flex/org/apache/flex/core/ITitleBarModel.as | 73 +
.../org/apache/flex/core/IToggleButtonModel.as | 67 +
.../main/flex/org/apache/flex/core/IUIBase.as | 160 ++
.../apache/flex/core/IValueToggleButtonModel.as | 69 +
.../flex/org/apache/flex/core/IValuesImpl.as | 153 ++
.../main/flex/org/apache/flex/core/IViewport.as | 80 +
.../flex/org/apache/flex/core/IViewportModel.as | 50 +
.../org/apache/flex/core/IViewportScroller.as | 36 +
.../flex/core/ItemRendererClassFactory.as | 194 ++
.../main/flex/org/apache/flex/core/ListBase.as | 126 ++
.../apache/flex/core/ListBaseStrandChildren.as | 100 +
.../org/apache/flex/core/MXMLDragInitiator.as | 131 ++
.../org/apache/flex/core/ParentDocumentBead.as | 127 ++
.../org/apache/flex/core/SimpleApplication.as | 102 ++
.../org/apache/flex/core/SimpleCSSStyles.as | 106 ++
.../org/apache/flex/core/SimpleCSSValuesImpl.as | 765 ++++++++
.../org/apache/flex/core/SimpleStatesImpl.as | 222 +++
.../org/apache/flex/core/SimpleValuesImpl.as | 188 ++
.../flex/org/apache/flex/core/StageProxy.as | 127 ++
.../main/flex/org/apache/flex/core/Strand.as | 182 ++
.../apache/flex/core/StyleableCSSTextField.as | 201 ++
.../main/flex/org/apache/flex/core/UIBase.as | 1483 +++++++++++++++
.../flex/org/apache/flex/core/UIButtonBase.as | 860 +++++++++
.../flex/org/apache/flex/core/ValuesManager.as | 72 +
.../main/flex/org/apache/flex/core/ViewBase.as | 98 +
.../org/apache/flex/core/WrappedHTMLElement.as | 39 +
.../flex/org/apache/flex/events/BrowserEvent.as | 475 +++++
.../flex/org/apache/flex/events/CustomEvent.as | 57 +
.../org/apache/flex/events/ElementEvents.as | 51 +
.../main/flex/org/apache/flex/events/Event.as | 134 ++
.../org/apache/flex/events/EventDispatcher.as | 80 +
.../org/apache/flex/events/IEventDispatcher.as | 49 +
.../flex/org/apache/flex/events/MouseEvent.as | 366 ++++
.../org/apache/flex/events/ValueChangeEvent.as | 122 ++
.../flex/org/apache/flex/events/ValueEvent.as | 60 +
.../flex/events/utils/IHandlesOriginalEvent.as | 35 +
.../flex/events/utils/MouseEventConverter.as | 173 ++
.../org/apache/flex/events/utils/MouseUtils.as | 103 ++
.../src/main/flex/org/apache/flex/geom/Point.as | 72 +
.../main/flex/org/apache/flex/geom/Rectangle.as | 95 +
.../src/main/flex/org/apache/flex/geom/Size.as | 41 +
.../flex/org/apache/flex/states/AddItems.as | 101 ++
.../org/apache/flex/states/ItemAndDescriptor.as | 70 +
.../org/apache/flex/states/SetEventHandler.as | 79 +
.../flex/org/apache/flex/states/SetProperty.as | 81 +
.../main/flex/org/apache/flex/states/State.as | 83 +
.../flex/org/apache/flex/utils/BinaryData.as | 391 ++++
.../org/apache/flex/utils/CSSBorderUtils.as | 219 +++
.../org/apache/flex/utils/CSSContainerUtils.as | 194 ++
.../main/flex/org/apache/flex/utils/CSSUtils.as | 328 ++++
.../flex/org/apache/flex/utils/EffectTimer.as | 136 ++
.../flex/org/apache/flex/utils/HTMLLoader.as | 42 +
.../main/flex/org/apache/flex/utils/Language.as | 365 ++++
.../apache/flex/utils/MXMLDataInterpreter.as | 463 +++++
.../flex/org/apache/flex/utils/MixinManager.as | 105 ++
.../flex/org/apache/flex/utils/PNGEncoder.as | 305 ++++
.../flex/org/apache/flex/utils/PointUtils.as | 125 ++
.../main/flex/org/apache/flex/utils/Proxy.as | 152 ++
.../org/apache/flex/utils/SolidBorderUtil.as | 191 ++
.../flex/org/apache/flex/utils/StringTrimmer.as | 176 ++
.../main/flex/org/apache/flex/utils/Timer.as | 148 ++
.../main/flex/org/apache/flex/utils/UIUtils.as | 107 ++
.../flex/utils/ViewSourceContextMenuOption.as | 97 +
.../org/apache/flex/utils/dbg/DOMPathUtil.as | 95 +
.../Core/src/main/resources/basic-manifest.xml | 41 +
.../src/main/resources/compile-asjs-config.xml | 78 +
.../Core/src/main/resources/compile-config.xml | 77 +
.../test/flex/FlexUnitFlexJSApplication.mxml | 46 +
.../projects/Core/src/test/flex/build.xml | 162 ++
.../src/test/flex/flexUnitTests/StrandTester.as | 27 +
.../test/flex/flexUnitTests/StrandTesterTest.as | 55 +
.../projects/CreateJS/.actionScriptProperties | 40 +-
.../.externalToolBuilders/CreateJSASJS.launch | 44 +
frameworks/projects/CreateJS/.flexLibProperties | 18 +
frameworks/projects/CreateJS/.project | 36 +-
frameworks/projects/CreateJS/as/defaults.css | 36 -
.../projects/CreateJS/as/src/CreateJSClasses.as | 33 -
.../src/org/apache/flex/createjs/Application.as | 140 --
.../as/src/org/apache/flex/createjs/CheckBox.as | 26 -
.../as/src/org/apache/flex/createjs/Label.as | 27 -
.../src/org/apache/flex/createjs/TextButton.as | 50 -
.../src/org/apache/flex/createjs/core/UIBase.as | 141 --
.../org/apache/flex/createjs/core/ViewBase.as | 95 -
frameworks/projects/CreateJS/build.xml | 157 +-
frameworks/projects/CreateJS/compile-config.xml | 83 -
.../projects/CreateJS/createjs-manifest.xml | 31 -
.../CreateJS/js/src/createjs_externals.js | 20 -
.../src/org/apache/flex/createjs/Application.js | 121 --
.../js/src/org/apache/flex/createjs/CheckBox.js | 131 --
.../js/src/org/apache/flex/createjs/Label.js | 64 -
.../src/org/apache/flex/createjs/TextButton.js | 91 -
.../src/org/apache/flex/createjs/core/UIBase.js | 136 --
.../org/apache/flex/createjs/core/ViewBase.js | 76 -
.../CreateJS/src/main/flex/CreateJSClasses.as | 33 +
.../org/apache/flex/createjs/Application.as | 120 ++
.../flex/org/apache/flex/createjs/CheckBox.as | 124 ++
.../main/flex/org/apache/flex/createjs/Label.as | 81 +
.../flex/org/apache/flex/createjs/TextButton.as | 118 ++
.../org/apache/flex/createjs/core/UIBase.as | 449 +++++
.../org/apache/flex/createjs/core/ViewBase.as | 206 +++
.../src/main/resources/compile-asjs-config.xml | 83 +
.../src/main/resources/compile-config.xml | 83 +
.../src/main/resources/createjs-manifest.xml | 31 +
.../CreateJS/src/main/resources/defaults.css | 36 +
.../projects/DragDrop/.actionScriptProperties | 38 +-
.../.externalToolBuilders/DragDropASJS.launch | 44 +
frameworks/projects/DragDrop/.flexLibProperties | 18 +
frameworks/projects/DragDrop/.project | 35 +-
.../projects/DragDrop/as/src/DragDropClasses.as | 34 -
.../as/src/org/apache/flex/events/DragEvent.as | 317 ----
.../DragDrop/asjs/src/DragDropASJSClasses.as | 34 -
.../asjs/src/org/apache/flex/core/DropType.as | 64 -
.../beads/controllers/DragMouseController.as | 261 ---
.../beads/controllers/DropMouseController.as | 181 --
frameworks/projects/DragDrop/basic-manifest.xml | 27 -
frameworks/projects/DragDrop/build.xml | 144 +-
.../projects/DragDrop/compile-asjs-config.xml | 74 -
frameworks/projects/DragDrop/compile-config.xml | 84 -
.../js/src/org/apache/flex/events/DragEvent.js | 146 --
.../DragDrop/src/main/flex/DragDropClasses.as | 35 +
.../main/flex/org/apache/flex/core/DropType.as | 64 +
.../flex/org/apache/flex/events/DragEvent.as | 373 ++++
.../org/apache/flex/events/DragEventBase.as | 51 +
.../beads/controllers/DragMouseController.as | 261 +++
.../beads/controllers/DropMouseController.as | 185 ++
.../src/main/resources/basic-manifest.xml | 27 +
.../src/main/resources/compile-asjs-config.xml | 79 +
.../src/main/resources/compile-config.xml | 78 +
.../projects/Effects/.actionScriptProperties | 38 +-
.../.externalToolBuilders/EffectsASJS.launch | 44 +
frameworks/projects/Effects/.flexLibProperties | 18 +
frameworks/projects/Effects/.project | 35 +-
.../projects/Effects/as/src/EffectsClasses.as | 34 -
.../org/apache/flex/effects/PlatformWiper.as | 100 -
.../Effects/asjs/src/EffectsASJSClasses.as | 38 -
.../flex/core/StatesWithTransitionsImpl.as | 346 ----
.../asjs/src/org/apache/flex/effects/Effect.as | 263 ---
.../asjs/src/org/apache/flex/effects/Fade.as | 165 --
.../asjs/src/org/apache/flex/effects/IEffect.as | 136 --
.../asjs/src/org/apache/flex/effects/Move.as | 240 ---
.../src/org/apache/flex/effects/Parallel.as | 152 --
.../asjs/src/org/apache/flex/effects/Resize.as | 197 --
.../src/org/apache/flex/effects/Sequence.as | 152 --
.../asjs/src/org/apache/flex/effects/Tween.as | 665 -------
.../asjs/src/org/apache/flex/effects/Wipe.as | 156 --
.../src/org/apache/flex/states/Transition.as | 80 -
frameworks/projects/Effects/basic-manifest.xml | 32 -
frameworks/projects/Effects/build.xml | 149 +-
.../projects/Effects/compile-asjs-config.xml | 74 -
frameworks/projects/Effects/compile-config.xml | 84 -
.../org/apache/flex/effects/PlatformWiper.js | 85 -
.../Effects/src/main/flex/EffectsClasses.as | 38 +
.../flex/core/StatesWithTransitionsImpl.as | 346 ++++
.../main/flex/org/apache/flex/effects/Effect.as | 263 +++
.../main/flex/org/apache/flex/effects/Fade.as | 165 ++
.../flex/org/apache/flex/effects/IEffect.as | 136 ++
.../main/flex/org/apache/flex/effects/Move.as | 240 +++
.../flex/org/apache/flex/effects/Parallel.as | 152 ++
.../org/apache/flex/effects/PlatformWiper.as | 138 ++
.../main/flex/org/apache/flex/effects/Resize.as | 197 ++
.../flex/org/apache/flex/effects/Sequence.as | 152 ++
.../main/flex/org/apache/flex/effects/Tween.as | 665 +++++++
.../main/flex/org/apache/flex/effects/Wipe.as | 156 ++
.../flex/org/apache/flex/states/Transition.as | 80 +
.../src/main/resources/basic-manifest.xml | 32 +
.../src/main/resources/compile-asjs-config.xml | 79 +
.../src/main/resources/compile-config.xml | 78 +
.../projects/Flat/.actionScriptProperties | 58 +
.../Flat/.externalToolBuilders/FlatASJS.launch | 44 +
frameworks/projects/Flat/.flexLibProperties | 24 +
frameworks/projects/Flat/.project | 48 +
.../.settings/org.eclipse.core.resources.prefs | 3 +
frameworks/projects/Flat/as/defaults.css | 842 ---------
frameworks/projects/Flat/as/src/FlatClasses.as | 37 -
.../as/src/org/apache/flex/flat/CheckBox.as | 47 -
.../as/src/org/apache/flex/flat/DropDownList.as | 46 -
.../as/src/org/apache/flex/flat/RadioButton.as | 47 -
.../beads/CSSContentAndTextToggleButtonView.as | 304 ----
.../flex/flat/beads/CSSScrollBarButtonView.as | 178 --
.../apache/flex/flat/beads/CSSScrollBarView.as | 241 ---
...CheckboxCSSContentAndTextToggleButtonView.as | 48 -
.../apache/flex/flat/beads/DropDownListView.as | 309 ----
.../RadioCSSContentAndTextToggleButtonView.as | 47 -
.../flat/supportClasses/DropDownListList.as | 64 -
.../DropDownListStringItemRenderer.as | 70 -
frameworks/projects/Flat/build.xml | 151 +-
frameworks/projects/Flat/compile-config.xml | 91 -
frameworks/projects/Flat/flat-manifest.xml | 105 --
.../js/src/org/apache/flex/flat/CheckBox.js | 138 --
.../js/src/org/apache/flex/flat/DropDownList.js | 296 ---
.../js/src/org/apache/flex/flat/RadioButton.js | 228 ---
.../projects/Flat/src/main/flex/FlatClasses.as | 44 +
.../main/flex/org/apache/flex/flat/CheckBox.as | 161 ++
.../flex/org/apache/flex/flat/DropDownList.as | 368 ++++
.../flex/org/apache/flex/flat/RadioButton.as | 245 +++
.../beads/CSSContentAndTextToggleButtonView.as | 304 ++++
.../flex/flat/beads/CSSScrollBarButtonView.as | 178 ++
.../apache/flex/flat/beads/CSSScrollBarView.as | 241 +++
...CheckboxCSSContentAndTextToggleButtonView.as | 48 +
.../apache/flex/flat/beads/DropDownListView.as | 309 ++++
.../RadioCSSContentAndTextToggleButtonView.as | 47 +
.../flat/supportClasses/DropDownListList.as | 64 +
.../DropDownListStringItemRenderer.as | 70 +
.../src/main/resources/compile-asjs-config.xml | 80 +
.../Flat/src/main/resources/compile-config.xml | 91 +
.../Flat/src/main/resources/defaults.css | 842 +++++++++
.../src/main/resources/flat-as-manifest.xml | 26 +
.../Flat/src/main/resources/flat-manifest.xml | 99 +
.../projects/Formatters/.actionScriptProperties | 40 +-
.../.externalToolBuilders/FormattersASJS.launch | 44 +
.../projects/Formatters/.flexLibProperties | 18 +
frameworks/projects/Formatters/.project | 36 +-
.../Formatters/as/src/FormattersClasses.as | 34 -
.../as/src/org/apache/flex/core/FormatBase.as | 115 --
.../asjs/src/FormattersASJSClasses.as | 36 -
.../flex/html/accessories/CurrencyFormatter.as | 215 ---
.../html/accessories/DateFormatMMDDYYYYBead.as | 158 --
.../flex/html/accessories/NumberFormatter.as | 210 ---
.../flex/html/beads/FormatableLabelView.as | 90 -
.../flex/html/beads/FormatableTextInputView.as | 91 -
.../projects/Formatters/basic-manifest.xml | 25 -
frameworks/projects/Formatters/build.xml | 164 +-
.../projects/Formatters/compile-asjs-config.xml | 75 -
.../projects/Formatters/compile-config.xml | 85 -
.../js/src/org/apache/flex/core/FormatBase.js | 126 --
.../src/main/flex/FormattersClasses.as | 41 +
.../flex/org/apache/flex/core/FormatBase.as | 113 ++
.../flex/html/accessories/CurrencyFormatter.as | 215 +++
.../html/accessories/DateFormatMMDDYYYYBead.as | 158 ++
.../flex/html/accessories/NumberFormatter.as | 210 +++
.../flex/html/beads/FormatableLabelView.as | 90 +
.../flex/html/beads/FormatableTextInputView.as | 91 +
.../src/main/resources/basic-manifest.xml | 25 +
.../src/main/resources/compile-asjs-config.xml | 80 +
.../src/main/resources/compile-config.xml | 79 +
.../projects/GoogleMaps/.actionScriptProperties | 38 +-
.../.externalToolBuilders/GoogleMapsASJS.launch | 44 +
.../projects/GoogleMaps/.flexLibProperties | 28 +-
frameworks/projects/GoogleMaps/.project | 35 +-
frameworks/projects/GoogleMaps/as/defaults.css | 28 -
.../GoogleMaps/as/src/GoogleMapsClasses.as | 33 -
.../src/org/apache/flex/maps/google/Geometry.as | 30 -
.../src/org/apache/flex/maps/google/LatLng.as | 30 -
.../as/src/org/apache/flex/maps/google/Map.as | 233 ---
.../src/org/apache/flex/maps/google/Marker.as | 32 -
.../as/src/org/apache/flex/maps/google/Place.as | 43 -
.../apache/flex/maps/google/beads/MapView.as | 473 -----
.../apache/flex/maps/google/models/MapModel.as | 150 --
frameworks/projects/GoogleMaps/build.xml | 173 +-
.../projects/GoogleMaps/compile-config.xml | 82 -
.../projects/GoogleMaps/google-manifest.xml | 24 -
.../src/org/apache/flex/maps/google/Geometry.js | 50 -
.../src/org/apache/flex/maps/google/LatLng.js | 53 -
.../js/src/org/apache/flex/maps/google/Map.js | 360 ----
.../src/org/apache/flex/maps/google/Marker.js | 63 -
.../js/src/org/apache/flex/maps/google/Place.js | 93 -
.../apache/flex/maps/google/beads/MapView.js | 67 -
.../apache/flex/maps/google/models/MapModel.js | 108 --
.../src/main/flex/GoogleMapsClasses.as | 36 +
.../src/main/flex/GoogleStubClasses.as | 42 +
.../src/main/flex/google/maps/Animation.as | 42 +
.../src/main/flex/google/maps/BicyclingLayer.as | 47 +
.../src/main/flex/google/maps/Circle.as | 126 ++
.../main/flex/google/maps/ControlPosition.as | 112 ++
.../main/flex/google/maps/DirectionsRenderer.as | 96 +
.../main/flex/google/maps/DirectionsService.as | 42 +
.../main/flex/google/maps/DirectionsStatus.as | 84 +
.../google/maps/DistanceMatrixElementStatus.as | 49 +
.../flex/google/maps/DistanceMatrixService.as | 42 +
.../flex/google/maps/DistanceMatrixStatus.as | 77 +
.../main/flex/google/maps/ElevationService.as | 50 +
.../main/flex/google/maps/ElevationStatus.as | 63 +
.../flex/google/maps/FusionTablesHeatmap.as | 40 +
.../main/flex/google/maps/FusionTablesLayer.as | 55 +
.../google/maps/FusionTablesMarkerOptions.as | 40 +
.../google/maps/FusionTablesPolygonOptions.as | 64 +
.../google/maps/FusionTablesPolylineOptions.as | 52 +
.../main/flex/google/maps/FusionTablesQuery.as | 70 +
.../main/flex/google/maps/FusionTablesStyle.as | 58 +
.../src/main/flex/google/maps/Geocoder.as | 42 +
.../google/maps/GeocoderAddressComponent.as | 52 +
.../main/flex/google/maps/GeocoderGeometry.as | 58 +
.../flex/google/maps/GeocoderLocationType.as | 56 +
.../src/main/flex/google/maps/GeocoderResult.as | 58 +
.../src/main/flex/google/maps/GeocoderStatus.as | 77 +
.../src/main/flex/google/maps/GroundOverlay.as | 75 +
.../src/main/flex/google/maps/ImageMapType.as | 48 +
.../src/main/flex/google/maps/InfoWindow.as | 95 +
.../src/main/flex/google/maps/KmlAuthor.as | 52 +
.../src/main/flex/google/maps/KmlFeatureData.as | 70 +
.../src/main/flex/google/maps/KmlLayer.as | 79 +
.../main/flex/google/maps/KmlLayerMetadata.as | 58 +
.../src/main/flex/google/maps/KmlLayerStatus.as | 91 +
.../src/main/flex/google/maps/KmlMouseEvent.as | 52 +
.../src/main/flex/google/maps/LatLng.as | 79 +
.../src/main/flex/google/maps/LatLngBounds.as | 114 ++
.../src/main/flex/google/maps/MVCArray.as | 103 ++
.../src/main/flex/google/maps/MVCObject.as | 122 ++
.../GoogleMaps/src/main/flex/google/maps/Map.as | 186 ++
.../flex/google/maps/MapCanvasProjection.as | 70 +
.../src/main/flex/google/maps/MapPanes.as | 78 +
.../flex/google/maps/MapTypeControlStyle.as | 49 +
.../src/main/flex/google/maps/MapTypeId.as | 56 +
.../main/flex/google/maps/MapTypeRegistry.as | 35 +
.../main/flex/google/maps/MapsEventListener.as | 34 +
.../src/main/flex/google/maps/Marker.as | 300 +++
.../src/main/flex/google/maps/MaxZoomService.as | 42 +
.../src/main/flex/google/maps/MaxZoomStatus.as | 42 +
.../src/main/flex/google/maps/MouseEvent.as | 47 +
.../src/main/flex/google/maps/OverlayView.as | 77 +
.../src/main/flex/google/maps/Point.as | 61 +
.../src/main/flex/google/maps/PolyMouseEvent.as | 52 +
.../src/main/flex/google/maps/Polygon.as | 120 ++
.../src/main/flex/google/maps/Polyline.as | 107 ++
.../src/main/flex/google/maps/Rectangle.as | 107 ++
.../main/flex/google/maps/ScaleControlStyle.as | 35 +
.../src/main/flex/google/maps/Size.as | 63 +
.../flex/google/maps/StreetViewCoverageLayer.as | 47 +
.../main/flex/google/maps/StreetViewPanorama.as | 126 ++
.../src/main/flex/google/maps/StreetViewPov.as | 46 +
.../main/flex/google/maps/StreetViewService.as | 51 +
.../main/flex/google/maps/StreetViewStatus.as | 49 +
.../src/main/flex/google/maps/StrokePosition.as | 49 +
.../src/main/flex/google/maps/StyledMapType.as | 36 +
.../src/main/flex/google/maps/SymbolPath.as | 63 +
.../src/main/flex/google/maps/TrafficLayer.as | 47 +
.../src/main/flex/google/maps/TransitLayer.as | 47 +
.../src/main/flex/google/maps/TravelMode.as | 56 +
.../src/main/flex/google/maps/UnitSystem.as | 42 +
.../main/flex/google/maps/ZoomControlStyle.as | 49 +
.../src/main/flex/google/maps/adsense.as | 45 +
.../main/flex/google/maps/adsense/AdFormat.as | 154 ++
.../src/main/flex/google/maps/adsense/AdUnit.as | 165 ++
.../src/main/flex/google/maps/drawing.as | 51 +
.../flex/google/maps/drawing/DrawingManager.as | 71 +
.../google/maps/drawing/OverlayCompleteEvent.as | 46 +
.../flex/google/maps/drawing/OverlayType.as | 63 +
.../src/main/flex/google/maps/event.as | 101 ++
.../src/main/flex/google/maps/geometry.as | 51 +
.../main/flex/google/maps/geometry/encoding.as | 46 +
.../src/main/flex/google/maps/geometry/poly.as | 52 +
.../main/flex/google/maps/geometry/spherical.as | 104 ++
.../src/main/flex/google/maps/panoramio.as | 48 +
.../google/maps/panoramio/PanoramioLayer.as | 84 +
.../src/main/flex/google/maps/places.as | 121 ++
.../flex/google/maps/places/Autocomplete.as | 73 +
.../google/maps/places/AutocompleteService.as | 50 +
.../google/maps/places/ComponentRestrictions.as | 40 +
.../flex/google/maps/places/PhotoOptions.as | 46 +
.../google/maps/places/PlaceAspectRating.as | 46 +
.../flex/google/maps/places/PlaceGeometry.as | 49 +
.../main/flex/google/maps/places/PlaceResult.as | 160 ++
.../main/flex/google/maps/places/PlaceReview.as | 58 +
.../google/maps/places/PlaceSearchPagination.as | 46 +
.../flex/google/maps/places/PlacesService.as | 67 +
.../google/maps/places/PlacesServiceStatus.as | 70 +
.../src/main/flex/google/maps/places/RankBy.as | 42 +
.../main/flex/google/maps/places/SearchBox.as | 60 +
.../src/main/flex/google/maps/visualization.as | 92 +
.../maps/visualization/DemographicsLayer.as | 83 +
.../google/maps/visualization/HeatmapLayer.as | 65 +
.../maps/visualization/MapsEngineLayer.as | 109 ++
.../maps/visualization/MapsEngineStatus.as | 49 +
.../src/main/flex/google/maps/weather.as | 78 +
.../main/flex/google/maps/weather/CloudLayer.as | 50 +
.../main/flex/google/maps/weather/LabelColor.as | 42 +
.../flex/google/maps/weather/TemperatureUnit.as | 42 +
.../flex/google/maps/weather/WeatherLayer.as | 58 +
.../flex/google/maps/weather/WindSpeedUnit.as | 49 +
.../main/flex/google/pseudo/HTMLInputElement.as | 25 +
.../src/main/flex/google/pseudo/Node.as | 25 +
.../org/apache/flex/maps/google/GoogleMap.as | 133 ++
.../flex/maps/google/beads/GoogleMapView.as | 866 +++++++++
.../flex/maps/google/beads/MapView_original.as | 515 ++++++
.../apache/flex/maps/google/models/MapModel.as | 165 ++
.../src/main/resources/compile-asjs-config.xml | 75 +
.../src/main/resources/compile-config.xml | 83 +
.../GoogleMaps/src/main/resources/defaults.css | 29 +
.../src/main/resources/google-manifest.xml | 24 +
.../projects/Graphics/.actionScriptProperties | 38 +-
.../.externalToolBuilders/GraphicsASJS.launch | 44 +
frameworks/projects/Graphics/.flexLibProperties | 18 +
frameworks/projects/Graphics/.project | 35 +-
.../projects/Graphics/as/src/GraphicsClasses.as | 45 -
.../src/org/apache/flex/core/graphics/Circle.as | 60 -
.../org/apache/flex/core/graphics/Ellipse.as | 54 -
.../apache/flex/core/graphics/GradientBase.as | 216 ---
.../apache/flex/core/graphics/GradientEntry.as | 127 --
.../apache/flex/core/graphics/GraphicShape.as | 102 --
.../flex/core/graphics/GraphicsContainer.as | 192 --
.../src/org/apache/flex/core/graphics/IFill.as | 25 -
.../org/apache/flex/core/graphics/IStroke.as | 21 -
.../apache/flex/core/graphics/LinearGradient.as | 58 -
.../src/org/apache/flex/core/graphics/Path.as | 72 -
.../src/org/apache/flex/core/graphics/Rect.as | 52 -
.../org/apache/flex/core/graphics/SolidColor.as | 91 -
.../flex/core/graphics/SolidColorStroke.as | 109 --
.../src/org/apache/flex/core/graphics/Text.as | 97 -
.../graphics/utils/AdvancedLayoutFeatures.as | 1140 ------------
.../core/graphics/utils/CompoundTransform.as | 777 --------
.../core/graphics/utils/IAssetLayoutFeatures.as | 371 ----
.../flex/core/graphics/utils/MatrixUtil.as | 1605 ----------------
.../flex/core/graphics/utils/PathHelper.as | 1712 ------------------
.../core/graphics/utils/TransformOffsets.as | 367 ----
frameworks/projects/Graphics/basic-manifest.xml | 34 -
frameworks/projects/Graphics/build.xml | 160 +-
frameworks/projects/Graphics/compile-config.xml | 78 -
.../src/org/apache/flex/core/graphics/Circle.js | 101 --
.../org/apache/flex/core/graphics/Ellipse.js | 80 -
.../apache/flex/core/graphics/GradientBase.js | 141 --
.../apache/flex/core/graphics/GradientEntry.js | 126 --
.../apache/flex/core/graphics/GraphicShape.js | 205 ---
.../flex/core/graphics/GraphicsContainer.js | 250 ---
.../src/org/apache/flex/core/graphics/IFill.js | 52 -
.../org/apache/flex/core/graphics/IStroke.js | 52 -
.../src/org/apache/flex/core/graphics/Line.js | 79 -
.../apache/flex/core/graphics/LinearGradient.js | 125 --
.../src/org/apache/flex/core/graphics/Path.js | 101 --
.../src/org/apache/flex/core/graphics/Rect.js | 80 -
.../org/apache/flex/core/graphics/SolidColor.js | 92 -
.../flex/core/graphics/SolidColorStroke.js | 109 --
.../src/org/apache/flex/core/graphics/Text.js | 70 -
.../Graphics/src/main/flex/GraphicsClasses.as | 44 +
.../org/apache/flex/core/graphics/Circle.as | 98 +
.../org/apache/flex/core/graphics/Ellipse.as | 91 +
.../apache/flex/core/graphics/GradientBase.as | 229 +++
.../apache/flex/core/graphics/GradientEntry.as | 133 ++
.../apache/flex/core/graphics/GraphicShape.as | 213 +++
.../flex/core/graphics/GraphicsContainer.as | 302 +++
.../flex/org/apache/flex/core/graphics/IFill.as | 32 +
.../org/apache/flex/core/graphics/IStroke.as | 29 +
.../apache/flex/core/graphics/LinearGradient.as | 123 ++
.../flex/org/apache/flex/core/graphics/Path.as | 103 ++
.../flex/org/apache/flex/core/graphics/Rect.as | 87 +
.../org/apache/flex/core/graphics/SolidColor.as | 112 ++
.../flex/core/graphics/SolidColorStroke.as | 130 ++
.../flex/org/apache/flex/core/graphics/Text.as | 140 ++
.../graphics/utils/AdvancedLayoutFeatures.as | 1140 ++++++++++++
.../core/graphics/utils/CompoundTransform.as | 777 ++++++++
.../core/graphics/utils/IAssetLayoutFeatures.as | 371 ++++
.../flex/core/graphics/utils/MatrixUtil.as | 1605 ++++++++++++++++
.../flex/core/graphics/utils/PathHelper.as | 1712 ++++++++++++++++++
.../core/graphics/utils/TransformOffsets.as | 367 ++++
.../src/main/resources/basic-manifest.xml | 34 +
.../src/main/resources/compile-asjs-config.xml | 82 +
.../src/main/resources/compile-config.xml | 78 +
.../projects/HTML/.actionScriptProperties | 44 +-
.../HTML/.externalToolBuilders/HTMLASJS.launch | 44 +
frameworks/projects/HTML/.flexLibProperties | 18 +
frameworks/projects/HTML/.project | 38 +-
frameworks/projects/HTML/as/defaults.css | 606 -------
frameworks/projects/HTML/as/src/HTMLClasses.as | 118 --
.../HTML/as/src/org/apache/flex/html/Alert.as | 195 --
.../HTML/as/src/org/apache/flex/html/Button.as | 75 -
.../as/src/org/apache/flex/html/ButtonBar.as | 53 -
.../as/src/org/apache/flex/html/CheckBox.as | 117 --
.../as/src/org/apache/flex/html/CloseButton.as | 45 -
.../as/src/org/apache/flex/html/ComboBox.as | 114 --
.../as/src/org/apache/flex/html/Container.as | 83 -
.../as/src/org/apache/flex/html/ControlBar.as | 76 -
.../as/src/org/apache/flex/html/DropDownList.as | 157 --
.../as/src/org/apache/flex/html/HContainer.as | 64 -
.../HTML/as/src/org/apache/flex/html/HRule.as | 49 -
.../HTML/as/src/org/apache/flex/html/Image.as | 68 -
.../org/apache/flex/html/ImageAndTextButton.as | 70 -
.../HTML/as/src/org/apache/flex/html/Label.as | 115 --
.../HTML/as/src/org/apache/flex/html/List.as | 254 ---
.../src/org/apache/flex/html/MultilineLabel.as | 60 -
.../src/org/apache/flex/html/NumericStepper.as | 145 --
.../HTML/as/src/org/apache/flex/html/Panel.as | 108 --
.../org/apache/flex/html/PanelWithControlBar.as | 121 --
.../as/src/org/apache/flex/html/RadioButton.as | 208 ---
.../as/src/org/apache/flex/html/SimpleAlert.as | 132 --
.../as/src/org/apache/flex/html/SimpleList.as | 46 -
.../HTML/as/src/org/apache/flex/html/Slider.as | 152 --
.../HTML/as/src/org/apache/flex/html/Spacer.as | 49 -
.../HTML/as/src/org/apache/flex/html/Spinner.as | 146 --
.../as/src/org/apache/flex/html/TextArea.as | 91 -
.../as/src/org/apache/flex/html/TextButton.as | 90 -
.../as/src/org/apache/flex/html/TextInput.as | 120 --
.../as/src/org/apache/flex/html/TitleBar.as | 127 --
.../org/apache/flex/html/ToggleTextButton.as | 106 --
.../HTML/as/src/org/apache/flex/html/ToolTip.as | 60 -
.../as/src/org/apache/flex/html/VContainer.as | 65 -
.../HTML/as/src/org/apache/flex/html/VRule.as | 49 -
.../accessories/NumericOnlyTextInputBead.as | 146 --
.../flex/html/accessories/PasswordInputBead.as | 85 -
.../flex/html/accessories/TextPromptBead.as | 131 --
.../flex/html/beads/AlertMeasurementBead.as | 88 -
.../src/org/apache/flex/html/beads/AlertView.as | 226 ---
.../flex/html/beads/BackgroundImageBead.as | 112 --
.../org/apache/flex/html/beads/ButtonBarView.as | 72 -
.../org/apache/flex/html/beads/CSSButtonView.as | 167 --
.../html/beads/CSSImageAndTextButtonView.as | 367 ----
.../apache/flex/html/beads/CSSTextButtonView.as | 347 ----
.../flex/html/beads/CSSTextToggleButtonView.as | 105 --
.../org/apache/flex/html/beads/CheckBoxView.as | 296 ---
.../apache/flex/html/beads/CloseButtonView.as | 101 --
.../org/apache/flex/html/beads/ComboBoxView.as | 247 ---
.../org/apache/flex/html/beads/ContainerView.as | 555 ------
.../html/beads/ControlBarMeasurementBead.as | 116 --
.../DataItemRendererFactoryForArrayData.as | 161 --
.../flex/html/beads/DownArrowButtonView.as | 111 --
.../apache/flex/html/beads/DropDownListView.as | 300 ---
.../src/org/apache/flex/html/beads/HRuleView.as | 87 -
.../flex/html/beads/HScrollBarThumbView.as | 120 --
.../flex/html/beads/HScrollBarTrackView.as | 118 --
.../apache/flex/html/beads/HScrollBarView.as | 99 -
.../apache/flex/html/beads/IBackgroundBead.as | 35 -
.../org/apache/flex/html/beads/IBorderBead.as | 35 -
.../org/apache/flex/html/beads/IComboBoxView.as | 78 -
.../apache/flex/html/beads/IDropDownListView.as | 57 -
.../apache/flex/html/beads/IGraphicsDrawing.as | 36 -
.../src/org/apache/flex/html/beads/IListView.as | 48 -
.../apache/flex/html/beads/IScrollBarView.as | 80 -
.../org/apache/flex/html/beads/ISliderView.as | 56 -
.../org/apache/flex/html/beads/ISpinnerView.as | 56 -
.../apache/flex/html/beads/ITextFieldView.as | 44 -
.../apache/flex/html/beads/ITextItemRenderer.as | 45 -
.../flex/html/beads/ImageAndTextButtonView.as | 276 ---
.../apache/flex/html/beads/ImageButtonView.as | 147 --
.../src/org/apache/flex/html/beads/ImageView.as | 147 --
.../flex/html/beads/LeftArrowButtonView.as | 112 --
.../src/org/apache/flex/html/beads/ListView.as | 210 ---
.../flex/html/beads/MultilineTextFieldView.as | 56 -
.../flex/html/beads/NumericStepperView.as | 185 --
.../src/org/apache/flex/html/beads/PanelView.as | 170 --
.../flex/html/beads/PanelWithControlBarView.as | 207 ---
.../apache/flex/html/beads/RadioButtonView.as | 281 ---
.../flex/html/beads/RightArrowButtonView.as | 112 --
.../org/apache/flex/html/beads/ScrollBarView.as | 216 ---
.../apache/flex/html/beads/SimpleAlertView.as | 149 --
.../flex/html/beads/SingleLineBorderBead.as | 91 -
.../apache/flex/html/beads/SliderThumbView.as | 113 --
.../apache/flex/html/beads/SliderTrackView.as | 113 --
.../org/apache/flex/html/beads/SliderView.as | 179 --
.../flex/html/beads/SolidBackgroundBead.as | 191 --
.../org/apache/flex/html/beads/SpinnerView.as | 135 --
.../org/apache/flex/html/beads/TextAreaView.as | 263 ---
.../html/beads/TextButtonMeasurementBead.as | 86 -
.../apache/flex/html/beads/TextButtonView.as | 217 ---
.../html/beads/TextFieldLabelMeasurementBead.as | 92 -
.../org/apache/flex/html/beads/TextFieldView.as | 54 -
.../apache/flex/html/beads/TextFieldViewBase.as | 404 -----
.../org/apache/flex/html/beads/TextInputView.as | 135 --
.../flex/html/beads/TextInputWithBorderView.as | 100 -
.../TextItemRendererFactoryForArrayData.as | 144 --
...extItemRendererFactoryForStringVectorData.as | 128 --
.../apache/flex/html/beads/UpArrowButtonView.as | 112 --
.../src/org/apache/flex/html/beads/VRuleView.as | 87 -
.../flex/html/beads/VScrollBarThumbView.as | 119 --
.../flex/html/beads/VScrollBarTrackView.as | 118 --
.../apache/flex/html/beads/VScrollBarView.as | 99 -
.../html/beads/controllers/AlertController.as | 88 -
.../controllers/ButtonAutoRepeatController.as | 147 --
.../beads/controllers/ComboBoxController.as | 104 --
.../beads/controllers/DropDownListController.as | 116 --
.../EditableTextKeyboardController.as | 86 -
.../controllers/HScrollBarMouseController.as | 101 --
.../controllers/ItemRendererMouseController.as | 126 --
.../ListSingleSelectionMouseController.as | 129 --
.../controllers/ScrollBarMouseControllerBase.as | 184 --
.../beads/controllers/SliderMouseController.as | 148 --
.../beads/controllers/SpinnerMouseController.as | 97 -
.../controllers/VScrollBarMouseController.as | 101 --
.../flex/html/beads/layouts/BasicLayout.as | 370 ----
.../flex/html/beads/layouts/ButtonBarLayout.as | 143 --
.../flex/html/beads/layouts/HScrollBarLayout.as | 121 --
.../flex/html/beads/layouts/HorizontalLayout.as | 268 ---
.../flex/html/beads/layouts/TileLayout.as | 195 --
.../flex/html/beads/layouts/VScrollBarLayout.as | 122 --
.../flex/html/beads/layouts/VerticalLayout.as | 305 ----
.../apache/flex/html/beads/models/AlertModel.as | 288 ---
.../html/beads/models/ArraySelectionModel.as | 243 ---
.../flex/html/beads/models/ComboBoxModel.as | 100 -
.../flex/html/beads/models/ImageAndTextModel.as | 77 -
.../apache/flex/html/beads/models/ImageModel.as | 89 -
.../html/beads/models/ListPresentationModel.as | 107 --
.../apache/flex/html/beads/models/PanelModel.as | 158 --
.../apache/flex/html/beads/models/RangeModel.as | 222 ---
.../flex/html/beads/models/ScrollBarModel.as | 98 -
.../html/beads/models/SingleLineBorderModel.as | 85 -
.../html/beads/models/StringSelectionModel.as | 221 ---
.../apache/flex/html/beads/models/TextModel.as | 125 --
.../flex/html/beads/models/TitleBarModel.as | 136 --
.../flex/html/beads/models/ToggleButtonModel.as | 145 --
.../html/beads/models/ValueToggleButtonModel.as | 123 --
.../flex/html/beads/models/ViewportModel.as | 72 -
.../apache/flex/html/supportClasses/Border.as | 49 -
.../ButtonBarButtonItemRenderer.as | 135 --
.../html/supportClasses/ContainerContentArea.as | 70 -
.../flex/html/supportClasses/DataGroup.as | 85 -
.../html/supportClasses/DataItemRenderer.as | 131 --
.../html/supportClasses/DropDownListList.as | 63 -
.../flex/html/supportClasses/HScrollBar.as | 49 -
.../flex/html/supportClasses/ScrollBar.as | 50 -
.../html/supportClasses/ScrollingViewport.as | 383 ----
.../html/supportClasses/StringItemRenderer.as | 123 --
.../supportClasses/TextFieldItemRenderer.as | 540 ------
.../html/supportClasses/UIItemRendererBase.as | 282 ---
.../flex/html/supportClasses/VScrollBar.as | 49 -
.../apache/flex/html/supportClasses/Viewport.as | 157 --
.../as/src/org/apache/flex/svg/TextButton.as | 30 -
.../projects/HTML/asjs/src/HTMLASJSClasses.as | 55 -
.../asjs/src/org/apache/flex/html/DataGrid.as | 164 --
.../src/org/apache/flex/html/DateChooser.as | 74 -
.../asjs/src/org/apache/flex/html/DateField.as | 95 -
.../src/org/apache/flex/html/ImageButton.as | 60 -
.../org/apache/flex/html/MXMLBeadViewBase.as | 314 ----
.../apache/flex/html/accessories/ToolTipBead.as | 141 --
.../flex/html/beads/DataGridColumnView.as | 104 --
.../apache/flex/html/beads/DataGridLinesBead.as | 199 --
.../org/apache/flex/html/beads/DataGridView.as | 318 ----
.../DataItemRendererFactoryForArrayList.as | 174 --
.../DataItemRendererFactoryForColumnData.as | 142 --
.../html/beads/DataProviderChangeNotifier.as | 154 --
.../apache/flex/html/beads/DateChooserView.as | 256 ---
.../org/apache/flex/html/beads/DateFieldView.as | 192 --
.../flex/html/beads/TitleBarMeasurementBead.as | 108 --
.../apache/flex/html/beads/TitleBarView.mxml | 58 -
.../controllers/DateChooserMouseController.as | 126 --
.../controllers/DateFieldMouseController.as | 95 -
.../FlexibleFirstChildHorizontalLayout.as | 244 ---
.../html/beads/layouts/LayoutChangeNotifier.as | 103 --
.../layouts/OneFlexibleChildHorizontalLayout.as | 332 ----
.../layouts/OneFlexibleChildVerticalLayout.as | 459 -----
.../html/beads/layouts/VerticalColumnLayout.as | 199 --
.../beads/models/ArrayListSelectionModel.as | 242 ---
.../flex/html/beads/models/DataGridModel.as | 71 -
.../beads/models/DataGridPresentationModel.as | 88 -
.../flex/html/beads/models/DateChooserModel.as | 189 --
.../flex/html/supportClasses/DataGridColumn.as | 127 --
.../html/supportClasses/DateChooserButton.as | 67 -
.../html/supportClasses/GraphicsItemRenderer.as | 295 ---
.../asjs/tests/FlexUnitFlexJSApplication.mxml | 46 -
frameworks/projects/HTML/asjs/tests/build.xml | 160 --
.../tests/flexUnitTests/DataGridColumnTester.as | 27 -
.../flexUnitTests/DataGridColumnTesterTest.as | 55 -
frameworks/projects/HTML/basic-manifest.xml | 102 --
frameworks/projects/HTML/build.xml | 148 +-
.../projects/HTML/compile-asjs-config.xml | 77 -
frameworks/projects/HTML/compile-config.xml | 96 -
.../HTML/js/src/org/apache/flex/html/Alert.js | 193 --
.../HTML/js/src/org/apache/flex/html/Button.js | 61 -
.../js/src/org/apache/flex/html/ButtonBar.js | 85 -
.../js/src/org/apache/flex/html/CheckBox.js | 91 -
.../js/src/org/apache/flex/html/CloseButton.js | 55 -
.../js/src/org/apache/flex/html/ComboBox.js | 194 --
.../js/src/org/apache/flex/html/Container.js | 123 --
.../js/src/org/apache/flex/html/ControlBar.js | 59 -
.../js/src/org/apache/flex/html/DropDownList.js | 143 --
.../js/src/org/apache/flex/html/HContainer.js | 42 -
.../HTML/js/src/org/apache/flex/html/HRule.js | 45 -
.../HTML/js/src/org/apache/flex/html/Image.js | 82 -
.../org/apache/flex/html/ImageAndTextButton.js | 103 --
.../HTML/js/src/org/apache/flex/html/Label.js | 71 -
.../HTML/js/src/org/apache/flex/html/List.js | 196 --
.../src/org/apache/flex/html/MultilineLabel.js | 69 -
.../src/org/apache/flex/html/NumericStepper.js | 163 --
.../HTML/js/src/org/apache/flex/html/Panel.js | 163 --
.../js/src/org/apache/flex/html/RadioButton.js | 180 --
.../js/src/org/apache/flex/html/SimpleAlert.js | 51 -
.../js/src/org/apache/flex/html/SimpleList.js | 111 --
.../HTML/js/src/org/apache/flex/html/Slider.js | 173 --
.../HTML/js/src/org/apache/flex/html/Spacer.js | 44 -
.../HTML/js/src/org/apache/flex/html/Spinner.js | 171 --
.../js/src/org/apache/flex/html/TextArea.js | 71 -
.../js/src/org/apache/flex/html/TextButton.js | 54 -
.../js/src/org/apache/flex/html/TextInput.js | 98 -
.../js/src/org/apache/flex/html/TitleBar.js | 87 -
.../org/apache/flex/html/ToggleTextButton.js | 122 --
.../HTML/js/src/org/apache/flex/html/ToolTip.js | 40 -
.../js/src/org/apache/flex/html/VContainer.js | 42 -
.../HTML/js/src/org/apache/flex/html/VRule.js | 50 -
.../accessories/NumericOnlyTextInputBead.js | 92 -
.../flex/html/accessories/PasswordInputBead.js | 54 -
.../flex/html/accessories/TextPromptBead.js | 64 -
.../org/apache/flex/html/beads/ButtonBarView.js | 70 -
.../org/apache/flex/html/beads/ContainerView.js | 433 -----
.../DataItemRendererFactoryForArrayData.js | 140 --
.../src/org/apache/flex/html/beads/IListView.js | 43 -
.../apache/flex/html/beads/ImageButtonView.js | 45 -
.../src/org/apache/flex/html/beads/ImageView.js | 117 --
.../src/org/apache/flex/html/beads/ListView.js | 169 --
.../src/org/apache/flex/html/beads/PanelView.js | 204 ---
.../flex/html/beads/ScrollingContainerView.js | 81 -
.../apache/flex/html/beads/SliderThumbView.js | 62 -
.../apache/flex/html/beads/SliderTrackView.js | 62 -
.../flex/html/beads/TextInputWithBorderView.js | 45 -
.../TextItemRendererFactoryForArrayData.js | 117 --
.../controllers/ItemRendererMouseController.js | 127 --
.../ListSingleSelectionMouseController.js | 77 -
.../beads/controllers/SliderMouseController.js | 172 --
.../beads/controllers/SpinnerMouseController.js | 85 -
.../flex/html/beads/layouts/BasicLayout.js | 125 --
.../flex/html/beads/layouts/ButtonBarLayout.js | 110 --
.../flex/html/beads/layouts/HorizontalLayout.js | 100 -
.../flex/html/beads/layouts/TileLayout.js | 168 --
.../flex/html/beads/layouts/VerticalLayout.js | 97 -
.../html/beads/models/ArraySelectionModel.js | 127 --
.../apache/flex/html/beads/models/ImageModel.js | 66 -
.../html/beads/models/ListPresentationModel.js | 94 -
.../apache/flex/html/beads/models/PanelModel.js | 110 --
.../apache/flex/html/beads/models/RangeModel.js | 158 --
.../apache/flex/html/beads/models/TextModel.js | 68 -
.../flex/html/beads/models/TitleBarModel.js | 112 --
.../flex/html/beads/models/ViewportModel.js | 93 -
.../ButtonBarButtonItemRenderer.js | 105 --
.../html/supportClasses/ContainerContentArea.js | 80 -
.../flex/html/supportClasses/DataGridColumn.js | 75 -
.../flex/html/supportClasses/DataGroup.js | 138 --
.../html/supportClasses/DataItemRenderer.js | 134 --
.../html/supportClasses/ScrollingViewport.js | 130 --
.../html/supportClasses/StringItemRenderer.js | 144 --
.../html/supportClasses/UIItemRendererBase.js | 181 --
.../apache/flex/html/supportClasses/Viewport.js | 112 --
.../projects/HTML/src/main/flex/HTMLClasses.as | 181 ++
.../apache/flex/core/IScrollingLayoutParent.as | 68 +
.../org/apache/flex/events/ItemAddedEvent.as | 88 +
.../org/apache/flex/events/ItemClickedEvent.as | 115 ++
.../org/apache/flex/events/ItemRemovedEvent.as | 88 +
.../src/main/flex/org/apache/flex/html/Alert.as | 287 +++
.../main/flex/org/apache/flex/html/Button.as | 112 ++
.../main/flex/org/apache/flex/html/ButtonBar.as | 76 +
.../main/flex/org/apache/flex/html/CheckBox.as | 181 ++
.../flex/org/apache/flex/html/CloseButton.as | 66 +
.../main/flex/org/apache/flex/html/ComboBox.as | 277 +++
.../main/flex/org/apache/flex/html/Container.as | 108 ++
.../flex/org/apache/flex/html/ControlBar.as | 99 +
.../main/flex/org/apache/flex/html/DataGrid.as | 164 ++
.../flex/org/apache/flex/html/DateChooser.as | 74 +
.../main/flex/org/apache/flex/html/DateField.as | 95 +
.../flex/org/apache/flex/html/DropDownList.as | 235 +++
.../flex/org/apache/flex/html/HContainer.as | 61 +
.../src/main/flex/org/apache/flex/html/HRule.as | 63 +
.../src/main/flex/org/apache/flex/html/Image.as | 99 +
.../org/apache/flex/html/ImageAndTextButton.as | 128 ++
.../flex/org/apache/flex/html/ImageButton.as | 89 +
.../src/main/flex/org/apache/flex/html/Label.as | 163 ++
.../src/main/flex/org/apache/flex/html/List.as | 311 ++++
.../org/apache/flex/html/MXMLBeadViewBase.as | 317 ++++
.../flex/org/apache/flex/html/MultilineLabel.as | 76 +
.../flex/org/apache/flex/html/NumericStepper.as | 214 +++
.../src/main/flex/org/apache/flex/html/Panel.as | 121 ++
.../org/apache/flex/html/PanelWithControlBar.as | 121 ++
.../flex/org/apache/flex/html/RadioButton.as | 348 ++++
.../flex/org/apache/flex/html/SimpleAlert.as | 140 ++
.../flex/org/apache/flex/html/SimpleList.as | 79 +
.../main/flex/org/apache/flex/html/Slider.as | 233 +++
.../main/flex/org/apache/flex/html/Spacer.as | 64 +
.../main/flex/org/apache/flex/html/Spinner.as | 187 ++
.../main/flex/org/apache/flex/html/TextArea.as | 126 ++
.../flex/org/apache/flex/html/TextButton.as | 120 ++
.../main/flex/org/apache/flex/html/TextInput.as | 185 ++
.../main/flex/org/apache/flex/html/TitleBar.as | 146 ++
.../org/apache/flex/html/ToggleTextButton.as | 170 ++
.../main/flex/org/apache/flex/html/ToolTip.as | 60 +
.../src/main/flex/org/apache/flex/html/Tree.as | 73 +
.../flex/org/apache/flex/html/VContainer.as | 62 +
.../src/main/flex/org/apache/flex/html/VRule.as | 68 +
.../flex/org/apache/flex/html/WebBrowser.as | 145 ++
.../accessories/NumericOnlyTextInputBead.as | 199 ++
.../flex/html/accessories/PasswordInputBead.as | 102 ++
.../flex/html/accessories/TextPromptBead.as | 148 ++
.../apache/flex/html/accessories/ToolTipBead.as | 141 ++
.../flex/html/beads/AlertMeasurementBead.as | 88 +
.../org/apache/flex/html/beads/AlertView.as | 226 +++
.../flex/html/beads/BackgroundImageBead.as | 112 ++
.../org/apache/flex/html/beads/ButtonBarView.as | 69 +
.../org/apache/flex/html/beads/CSSButtonView.as | 167 ++
.../html/beads/CSSImageAndTextButtonView.as | 367 ++++
.../apache/flex/html/beads/CSSTextButtonView.as | 347 ++++
.../flex/html/beads/CSSTextToggleButtonView.as | 105 ++
.../org/apache/flex/html/beads/CheckBoxView.as | 296 +++
.../apache/flex/html/beads/CloseButtonView.as | 101 ++
.../org/apache/flex/html/beads/ComboBoxView.as | 247 +++
.../org/apache/flex/html/beads/ContainerView.as | 553 ++++++
.../html/beads/ControlBarMeasurementBead.as | 116 ++
.../flex/html/beads/DataGridColumnView.as | 101 ++
.../apache/flex/html/beads/DataGridLinesBead.as | 199 ++
.../org/apache/flex/html/beads/DataGridView.as | 294 +++
.../DataItemRendererFactoryForArrayData.as | 161 ++
.../DataItemRendererFactoryForArrayList.as | 185 ++
.../DataItemRendererFactoryForColumnData.as | 142 ++
...ataItemRendererFactoryForHierarchicalData.as | 109 ++
.../html/beads/DataProviderChangeNotifier.as | 154 ++
.../apache/flex/html/beads/DateChooserView.as | 256 +++
.../org/apache/flex/html/beads/DateFieldView.as | 192 ++
.../flex/html/beads/DownArrowButtonView.as | 111 ++
.../apache/flex/html/beads/DropDownListView.as | 300 +++
.../org/apache/flex/html/beads/HRuleView.as | 87 +
.../flex/html/beads/HScrollBarThumbView.as | 120 ++
.../flex/html/beads/HScrollBarTrackView.as | 118 ++
.../apache/flex/html/beads/HScrollBarView.as | 99 +
.../apache/flex/html/beads/IBackgroundBead.as | 35 +
.../org/apache/flex/html/beads/IBorderBead.as | 35 +
.../org/apache/flex/html/beads/IComboBoxView.as | 78 +
.../org/apache/flex/html/beads/IDataGridView.as | 36 +
.../apache/flex/html/beads/IDropDownListView.as | 57 +
.../apache/flex/html/beads/IGraphicsDrawing.as | 36 +
.../org/apache/flex/html/beads/IListView.as | 48 +
.../apache/flex/html/beads/IScrollBarView.as | 80 +
.../org/apache/flex/html/beads/ISliderView.as | 60 +
.../org/apache/flex/html/beads/ISpinnerView.as | 61 +
.../apache/flex/html/beads/ITextFieldView.as | 44 +
.../apache/flex/html/beads/ITextItemRenderer.as | 45 +
.../flex/html/beads/ImageAndTextButtonView.as | 276 +++
.../apache/flex/html/beads/ImageButtonView.as | 158 ++
.../org/apache/flex/html/beads/ImageView.as | 223 +++
.../flex/html/beads/LeftArrowButtonView.as | 112 ++
.../flex/org/apache/flex/html/beads/ListView.as | 210 +++
.../flex/html/beads/MultilineTextFieldView.as | 56 +
.../flex/html/beads/NumericStepperView.as | 186 ++
.../org/apache/flex/html/beads/PanelView.as | 168 ++
.../flex/html/beads/PanelWithControlBarView.as | 207 +++
.../apache/flex/html/beads/RadioButtonView.as | 281 +++
.../flex/html/beads/RightArrowButtonView.as | 112 ++
.../org/apache/flex/html/beads/ScrollBarView.as | 216 +++
.../apache/flex/html/beads/SimpleAlertView.as | 149 ++
.../flex/html/beads/SingleLineBorderBead.as | 91 +
.../apache/flex/html/beads/SliderThumbView.as | 156 ++
.../apache/flex/html/beads/SliderTrackView.as | 153 ++
.../org/apache/flex/html/beads/SliderView.as | 179 ++
.../flex/html/beads/SolidBackgroundBead.as | 191 ++
.../org/apache/flex/html/beads/SpinnerView.as | 135 ++
.../org/apache/flex/html/beads/TextAreaView.as | 263 +++
.../html/beads/TextButtonMeasurementBead.as | 86 +
.../apache/flex/html/beads/TextButtonView.as | 217 +++
.../html/beads/TextFieldLabelMeasurementBead.as | 92 +
.../org/apache/flex/html/beads/TextFieldView.as | 54 +
.../apache/flex/html/beads/TextFieldViewBase.as | 404 +++++
.../org/apache/flex/html/beads/TextInputView.as | 135 ++
.../flex/html/beads/TextInputWithBorderView.as | 100 +
.../TextItemRendererFactoryForArrayData.as | 144 ++
...extItemRendererFactoryForStringVectorData.as | 128 ++
.../flex/html/beads/TitleBarMeasurementBead.as | 108 ++
.../apache/flex/html/beads/TitleBarView.mxml | 58 +
.../apache/flex/html/beads/UpArrowButtonView.as | 112 ++
.../org/apache/flex/html/beads/VRuleView.as | 87 +
.../flex/html/beads/VScrollBarThumbView.as | 119 ++
.../flex/html/beads/VScrollBarTrackView.as | 118 ++
.../apache/flex/html/beads/VScrollBarView.as | 99 +
.../apache/flex/html/beads/WebBrowserView.as | 198 ++
.../html/beads/controllers/AlertController.as | 88 +
.../controllers/ButtonAutoRepeatController.as | 147 ++
.../beads/controllers/ComboBoxController.as | 104 ++
.../controllers/DateChooserMouseController.as | 126 ++
.../controllers/DateFieldMouseController.as | 95 +
.../beads/controllers/DropDownListController.as | 117 ++
.../EditableTextKeyboardController.as | 86 +
.../controllers/HScrollBarMouseController.as | 101 ++
.../controllers/ItemRendererMouseController.as | 209 +++
.../ListSingleSelectionMouseController.as | 154 ++
.../controllers/ScrollBarMouseControllerBase.as | 184 ++
.../beads/controllers/SliderMouseController.as | 286 +++
.../beads/controllers/SpinnerMouseController.as | 125 ++
.../TreeSingleSelectionMouseController.as | 82 +
.../controllers/VScrollBarMouseController.as | 101 ++
.../flex/html/beads/layouts/BasicLayout.as | 445 +++++
.../flex/html/beads/layouts/ButtonBarLayout.as | 143 ++
.../flex/html/beads/layouts/DataGridLayout.as | 156 ++
.../FlexibleFirstChildHorizontalLayout.as | 244 +++
.../flex/html/beads/layouts/HScrollBarLayout.as | 121 ++
.../flex/html/beads/layouts/HorizontalLayout.as | 325 ++++
.../html/beads/layouts/LayoutChangeNotifier.as | 103 ++
.../layouts/OneFlexibleChildHorizontalLayout.as | 332 ++++
.../layouts/OneFlexibleChildVerticalLayout.as | 459 +++++
.../flex/html/beads/layouts/TileLayout.as | 246 +++
.../flex/html/beads/layouts/VScrollBarLayout.as | 122 ++
.../html/beads/layouts/VerticalColumnLayout.as | 199 ++
.../flex/html/beads/layouts/VerticalLayout.as | 362 ++++
.../apache/flex/html/beads/models/AlertModel.as | 288 +++
.../beads/models/ArrayListSelectionModel.as | 244 +++
.../html/beads/models/ArraySelectionModel.as | 243 +++
.../flex/html/beads/models/ComboBoxModel.as | 100 +
.../flex/html/beads/models/DataGridModel.as | 71 +
.../beads/models/DataGridPresentationModel.as | 88 +
.../flex/html/beads/models/DateChooserModel.as | 189 ++
.../flex/html/beads/models/ImageAndTextModel.as | 77 +
.../apache/flex/html/beads/models/ImageModel.as | 89 +
.../html/beads/models/ListPresentationModel.as | 107 ++
.../apache/flex/html/beads/models/PanelModel.as | 158 ++
.../apache/flex/html/beads/models/RangeModel.as | 222 +++
.../flex/html/beads/models/ScrollBarModel.as | 98 +
.../html/beads/models/SingleLineBorderModel.as | 85 +
.../html/beads/models/StringSelectionModel.as | 221 +++
.../apache/flex/html/beads/models/TextModel.as | 125 ++
.../flex/html/beads/models/TitleBarModel.as | 136 ++
.../flex/html/beads/models/ToggleButtonModel.as | 145 ++
.../html/beads/models/ValueToggleButtonModel.as | 123 ++
.../flex/html/beads/models/ViewportModel.as | 72 +
.../flex/html/beads/models/WebBrowserModel.as | 100 +
.../apache/flex/html/supportClasses/Border.as | 49 +
.../ButtonBarButtonItemRenderer.as | 145 ++
.../html/supportClasses/ContainerContentArea.as | 80 +
.../flex/html/supportClasses/DataGridColumn.as | 127 ++
.../flex/html/supportClasses/DataGroup.as | 121 ++
.../html/supportClasses/DataItemRenderer.as | 178 ++
.../html/supportClasses/DateChooserButton.as | 67 +
.../html/supportClasses/DropDownListList.as | 63 +
.../html/supportClasses/GraphicsItemRenderer.as | 316 ++++
.../flex/html/supportClasses/HScrollBar.as | 49 +
.../flex/html/supportClasses/ScrollBar.as | 50 +
.../html/supportClasses/ScrollingViewport.as | 351 ++++
.../html/supportClasses/StringItemRenderer.as | 180 ++
.../supportClasses/TextFieldItemRenderer.as | 560 ++++++
.../html/supportClasses/TreeItemRenderer.as | 64 +
.../flex/html/supportClasses/TreeListData.as | 76 +
.../html/supportClasses/UIItemRendererBase.as | 303 ++++
.../flex/html/supportClasses/VScrollBar.as | 49 +
.../apache/flex/html/supportClasses/Viewport.as | 151 ++
.../main/flex/org/apache/flex/svg/TextButton.as | 30 +
.../src/main/resources/basic-as-manifest.xml | 37 +
.../HTML/src/main/resources/basic-manifest.xml | 109 ++
.../src/main/resources/compile-asjs-config.xml | 90 +
.../HTML/src/main/resources/compile-config.xml | 94 +
.../HTML/src/main/resources/defaults.css | 651 +++++++
.../HTML/src/main/resources/svg-manifest.xml | 24 +
.../test/flex/FlexUnitFlexJSApplication.mxml | 46 +
.../projects/HTML/src/test/flex/build.xml | 165 ++
.../flex/flexUnitTests/DataGridColumnTester.as | 27 +
.../flexUnitTests/DataGridColumnTesterTest.as | 55 +
frameworks/projects/HTML/svg-manifest.xml | 24 -
.../projects/HTML5/.actionScriptProperties | 57 +
.../.externalToolBuilders/HTML5ASJS.launch | 44 +
frameworks/projects/HTML5/.flexLibProperties | 24 +
frameworks/projects/HTML5/.project | 47 +
.../.settings/org.eclipse.core.resources.prefs | 3 +
frameworks/projects/HTML5/as/defaults.css | 68 -
.../projects/HTML5/as/src/HTML5Classes.as | 33 -
.../as/src/org/apache/flex/html5/Button.as | 26 -
.../as/src/org/apache/flex/html5/CheckBox.as | 26 -
.../as/src/org/apache/flex/html5/ComboBox.as | 26 -
.../src/org/apache/flex/html5/DropDownList.as | 26 -
.../HTML5/as/src/org/apache/flex/html5/Label.as | 33 -
.../HTML5/as/src/org/apache/flex/html5/List.as | 33 -
.../as/src/org/apache/flex/html5/RadioButton.as | 26 -
.../as/src/org/apache/flex/html5/TextArea.as | 26 -
.../as/src/org/apache/flex/html5/TextButton.as | 30 -
.../as/src/org/apache/flex/html5/TextInput.as | 25 -
frameworks/projects/HTML5/build.xml | 172 +-
frameworks/projects/HTML5/compile-config.xml | 83 -
frameworks/projects/HTML5/html5-manifest.xml | 35 -
.../js/src/org/apache/flex/html5/CheckBox.js | 76 -
.../js/src/org/apache/flex/html5/ComboBox.js | 187 --
.../src/org/apache/flex/html5/DropDownList.js | 29 -
.../HTML5/js/src/org/apache/flex/html5/Label.js | 57 -
.../HTML5/js/src/org/apache/flex/html5/List.js | 42 -
.../js/src/org/apache/flex/html5/RadioButton.js | 87 -
.../js/src/org/apache/flex/html5/TextArea.js | 58 -
.../js/src/org/apache/flex/html5/TextButton.js | 59 -
.../js/src/org/apache/flex/html5/TextInput.js | 59 -
.../HTML5/src/main/flex/HTML5Classes.as | 33 +
.../main/flex/org/apache/flex/html5/Button.as | 26 +
.../main/flex/org/apache/flex/html5/CheckBox.as | 26 +
.../main/flex/org/apache/flex/html5/ComboBox.as | 26 +
.../flex/org/apache/flex/html5/DropDownList.as | 26 +
.../main/flex/org/apache/flex/html5/Label.as | 33 +
.../src/main/flex/org/apache/flex/html5/List.as | 33 +
.../flex/org/apache/flex/html5/RadioButton.as | 26 +
.../main/flex/org/apache/flex/html5/TextArea.as | 26 +
.../flex/org/apache/flex/html5/TextButton.as | 30 +
.../flex/org/apache/flex/html5/TextInput.as | 25 +
.../src/main/resources/compile-asjs-config.xml | 70 +
.../HTML5/src/main/resources/compile-config.xml | 83 +
.../HTML5/src/main/resources/defaults.css | 68 +
.../HTML5/src/main/resources/html5-manifest.xml | 35 +
.../projects/JQuery/.actionScriptProperties | 40 +-
.../.externalToolBuilders/JQueryASJS.launch | 44 +
frameworks/projects/JQuery/.flexLibProperties | 18 +
frameworks/projects/JQuery/.project | 36 +-
frameworks/projects/JQuery/as/defaults.css | 51 -
.../projects/JQuery/as/src/JQueryClasses.as | 33 -
.../src/org/apache/flex/jquery/Application.as | 31 -
.../as/src/org/apache/flex/jquery/CheckBox.as | 26 -
.../src/org/apache/flex/jquery/RadioButton.as | 26 -
.../as/src/org/apache/flex/jquery/TextButton.as | 30 -
.../org/apache/flex/jquery/ToggleTextButton.as | 89 -
frameworks/projects/JQuery/build.xml | 181 +-
frameworks/projects/JQuery/compile-config.xml | 83 -
frameworks/projects/JQuery/jquery-manifest.xml | 30 -
.../projects/JQuery/js/src/jquery_externals.js | 21 -
.../src/org/apache/flex/jquery/Application.js | 42 -
.../js/src/org/apache/flex/jquery/CheckBox.js | 88 -
.../src/org/apache/flex/jquery/RadioButton.js | 191 --
.../js/src/org/apache/flex/jquery/TextButton.js | 69 -
.../org/apache/flex/jquery/ToggleTextButton.js | 149 --
.../JQuery/src/main/flex/JQueryClasses.as | 33 +
.../flex/org/apache/flex/jquery/Application.as | 43 +
.../flex/org/apache/flex/jquery/CheckBox.as | 27 +
.../flex/org/apache/flex/jquery/RadioButton.as | 43 +
.../flex/org/apache/flex/jquery/TextButton.as | 56 +
.../org/apache/flex/jquery/ToggleTextButton.as | 42 +
.../src/main/resources/compile-asjs-config.xml | 86 +
.../src/main/resources/compile-config.xml | 83 +
.../JQuery/src/main/resources/defaults.css | 51 +
.../src/main/resources/jquery-manifest.xml | 30 +
.../projects/Mobile/.actionScriptProperties | 41 +-
.../.externalToolBuilders/MobileASJS.launch | 44 +
frameworks/projects/Mobile/.flexLibProperties | 18 +
frameworks/projects/Mobile/.project | 36 +-
.../projects/Mobile/as/src/MobileClasses.as | 38 -
.../as/src/org/apache/cordova/Application.as | 56 -
.../Mobile/as/src/org/apache/cordova/Weinre.as | 70 -
.../as/src/org/apache/cordova/camera/Camera.as | 157 --
.../src/org/apache/flex/mobile/ManagerBase.as | 159 --
frameworks/projects/Mobile/asjs/defaults.css | 33 -
.../Mobile/asjs/src/MobileASJSClasses.as | 41 -
.../asjs/src/org/apache/flex/mobile/IView.as | 43 -
.../src/org/apache/flex/mobile/IViewManager.as | 42 -
.../apache/flex/mobile/StackedViewManager.as | 161 --
.../org/apache/flex/mobile/TabbedViewManager.as | 85 -
.../asjs/src/org/apache/flex/mobile/View.as | 96 -
.../org/apache/flex/mobile/ViewManagerBase.as | 229 ---
.../flex/mobile/beads/StackedViewManagerView.as | 127 --
.../flex/mobile/beads/TabbedViewManagerView.as | 139 --
.../apache/flex/mobile/beads/ViewManagerView.as | 165 --
.../apache/flex/mobile/chrome/NavigationBar.as | 103 --
.../src/org/apache/flex/mobile/chrome/TabBar.as | 50 -
.../org/apache/flex/mobile/chrome/ToolBar.as | 81 -
.../flex/mobile/models/ViewManagerModel.as | 263 ---
frameworks/projects/Mobile/basic-manifest.xml | 29 -
frameworks/projects/Mobile/build.xml | 163 +-
.../projects/Mobile/compile-asjs-config.xml | 75 -
frameworks/projects/Mobile/compile-config.xml | 94 -
frameworks/projects/Mobile/cordova-manifest.xml | 28 -
.../js/src/org/apache/cordova/Application.js | 61 -
.../Mobile/js/src/org/apache/cordova/Weinre.js | 67 -
.../js/src/org/apache/cordova/camera/Camera.js | 136 --
.../src/org/apache/flex/mobile/ManagerBase.js | 136 --
.../Mobile/src/main/flex/CordovaClasses.as | 36 +
.../Mobile/src/main/flex/MobileClasses.as | 48 +
.../main/flex/org/apache/cordova/Application.as | 56 +
.../src/main/flex/org/apache/cordova/Weinre.as | 88 +
.../flex/org/apache/cordova/camera/Camera.as | 179 ++
.../main/flex/org/apache/flex/mobile/IView.as | 43 +
.../flex/org/apache/flex/mobile/IViewManager.as | 42 +
.../flex/org/apache/flex/mobile/ManagerBase.as | 184 ++
.../apache/flex/mobile/StackedViewManager.as | 161 ++
.../org/apache/flex/mobile/TabbedViewManager.as | 85 +
.../flex/org/apache/flex/mobile/ToggleSwitch.as | 105 ++
.../main/flex/org/apache/flex/mobile/View.as | 103 ++
.../org/apache/flex/mobile/ViewManagerBase.as | 236 +++
.../flex/mobile/beads/MobileWebBrowserView.as | 143 ++
.../flex/mobile/beads/StackedViewManagerView.as | 127 ++
.../flex/mobile/beads/TabbedViewManagerView.as | 139 ++
.../flex/mobile/beads/ToggleSwitchView.as | 180 ++
.../apache/flex/mobile/beads/ViewManagerView.as | 165 ++
.../controllers/ToggleSwitchMouseController.as | 120 ++
.../apache/flex/mobile/chrome/NavigationBar.as | 103 ++
.../org/apache/flex/mobile/chrome/TabBar.as | 50 +
.../org/apache/flex/mobile/chrome/ToolBar.as | 80 +
.../flex/mobile/models/ViewManagerModel.as | 263 +++
.../src/main/resources/basic-manifest.xml | 30 +
.../src/main/resources/compile-asjs-config.xml | 89 +
.../src/main/resources/compile-config.xml | 89 +
.../src/main/resources/cordova-manifest.xml | 28 +
.../Mobile/src/main/resources/defaults.css | 42 +
.../projects/Network/.actionScriptProperties | 38 +-
.../.externalToolBuilders/NetworkASJS.launch | 44 +
frameworks/projects/Network/.flexLibProperties | 18 +
frameworks/projects/Network/.project | 35 +-
.../projects/Network/as/src/NetworkClasses.as | 33 -
.../src/org/apache/flex/net/BinaryUploader.as | 609 -------
.../as/src/org/apache/flex/net/HTTPHeader.as | 79 -
.../as/src/org/apache/flex/net/HTTPService.as | 675 -------
frameworks/projects/Network/basic-manifest.xml | 27 -
frameworks/projects/Network/build.xml | 160 +-
frameworks/projects/Network/compile-config.xml | 78 -
.../src/org/apache/flex/net/BinaryUploader.js | 360 ----
.../js/src/org/apache/flex/net/HTTPHeader.js | 63 -
.../js/src/org/apache/flex/net/HTTPService.js | 420 -----
.../Network/src/main/flex/NetworkClasses.as | 33 +
.../flex/org/apache/flex/net/BinaryUploader.as | 738 ++++++++
.../main/flex/org/apache/flex/net/HTTPHeader.as | 79 +
.../flex/org/apache/flex/net/HTTPService.as | 805 ++++++++
.../flex/org/apache/flex/net/HTTPServiceBase.as | 47 +
.../src/main/resources/basic-manifest.xml | 27 +
.../src/main/resources/compile-asjs-config.xml | 82 +
.../src/main/resources/compile-config.xml | 78 +
.../projects/Reflection/.actionScriptProperties | 56 +
.../.externalToolBuilders/ReflectionASJS.launch | 44 +
.../projects/Reflection/.flexLibProperties | 24 +
frameworks/projects/Reflection/.project | 46 +
.../.settings/org.eclipse.core.resources.prefs | 3 +
frameworks/projects/Reflection/build.xml | 179 ++
.../apache/flex/reflection/DefinitionBase.as | 51 +
.../flex/reflection/DefinitionWithMetaData.as | 79 +
.../flex/reflection/FunctionDefinition.as | 37 +
.../flex/reflection/MetaDataArgDefinition.as | 45 +
.../flex/reflection/MetaDataDefinition.as | 71 +
.../apache/flex/reflection/MethodDefinition.as | 50 +
.../apache/flex/reflection/TypeDefinition.as | 260 +++
.../flex/reflection/VariableDefinition.as | 38 +
.../org/apache/flex/reflection/describeType.as | 47 +
.../flex/reflection/getDefinitionByName.as | 51 +
.../flex/reflection/getQualifiedClassName.as | 51 +
.../reflection/getQualifiedSuperclassName.as | 49 +
.../src/main/resources/compile-asjs-config.xml | 77 +
.../src/main/resources/compile-config.xml | 73 +
frameworks/projects/Storage/build.xml | 184 ++
.../Storage/src/main/flex/StorageClasses.as | 46 +
.../apache/flex/storage/IPermanentStorage.as | 91 +
.../flex/org/apache/flex/storage/IWebStorage.as | 100 +
.../org/apache/flex/storage/LocalStorage.as | 157 ++
.../org/apache/flex/storage/PermanentStorage.as | 131 ++
.../flex/storage/events/FileErrorEvent.as | 80 +
.../org/apache/flex/storage/events/FileEvent.as | 84 +
.../apache/flex/storage/file/DataInputStream.as | 146 ++
.../flex/storage/file/DataOutputStream.as | 165 ++
.../org/apache/flex/storage/file/IDataInput.as | 32 +
.../org/apache/flex/storage/file/IDataOutput.as | 32 +
.../org/apache/flex/storage/file/IDataStream.as | 32 +
.../org/apache/flex/storage/file/LocalFile.as | 84 +
.../storage/providers/AirStorageProvider.as | 255 +++
.../providers/IPermanentStorageProvider.as | 102 ++
.../storage/providers/LocalStorageProvider.as | 220 +++
.../storage/providers/WebStorageProvider.as | 255 +++
.../src/main/resources/basic-manifest.xml | 25 +
.../src/main/resources/compile-asjs-config.xml | 82 +
.../src/main/resources/compile-config.xml | 82 +
.../Storage/src/main/resources/defaults.css | 42 +
ide/IDEA/intellij-config.xml | 6 +-
installer.properties/en_US.properties | 14 +
installer.xml | 92 +-
js/bin/asjsc | 2 +-
js/bin/asjscompc | 2 +-
js/bin/asnodec | 70 +
js/bin/asnodec.bat | 29 +
js/bin/compc | 2 +-
js/bin/externc | 2 +-
js/bin/jquery | 2 +-
js/bin/mxmlc | 2 +-
manualtests/FlexJSTest_createjs/build.xml | 2 +
manualtests/LanguageTests/src/LanguageTests.as | 26 +-
manualtests/ProxyTest/build.xml | 72 +
manualtests/ProxyTest/src/MyInitialView.mxml | 67 +
manualtests/ProxyTest/src/ProxyTest.mxml | 40 +
manualtests/ProxyTest/src/README.txt | 45 +
.../ProxyTest/src/controllers/MyController.as | 52 +
manualtests/ProxyTest/src/models/MyModel.as | 125 ++
manualtests/ReflectionTest/build.xml | 72 +
.../ReflectionTest/src/MyInitialView.mxml | 110 ++
manualtests/ReflectionTest/src/README.txt | 45 +
.../ReflectionTest/src/ReflectionTest.mxml | 40 +
.../src/controllers/MyController.as | 52 +
.../ReflectionTest/src/models/MyModel.as | 125 ++
manualtests/build_example.xml | 19 +-
marmotinni/build.xml | 122 +-
marmotinni/java/downloads.xml | 6 +-
maven.xml | 2 +-
nightly.properties | 14 +-
releasecandidate.xml | 75 +-
1738 files changed, 106828 insertions(+), 104556 deletions(-)
----------------------------------------------------------------------
[39/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - get ant
examples to build from an IDE-compatible folder structure
Posted by ah...@apache.org.
get ant examples to build from an IDE-compatible folder structure
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f742bc28
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f742bc28
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f742bc28
Branch: refs/heads/master
Commit: f742bc285c2cb97ccddb589e5f4059658ee23a11
Parents: a97af6e
Author: Alex Harui <ah...@apache.org>
Authored: Thu Mar 24 08:50:46 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Mar 24 08:50:46 2016 -0700
----------------------------------------------------------------------
build.xml | 10 ++++++++++
examples/build_example.xml | 18 ++++++++++++++++++
2 files changed, 28 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f742bc28/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 5548c14..6ec2fbc 100644
--- a/build.xml
+++ b/build.xml
@@ -282,6 +282,11 @@
property="FALCON_HOME"
value="${env.FALCON_HOME}"/>
+ <available file="${basedir}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${basedir}"/>
+
<available file="${basedir}/../flex-falcon/compiler/generated/dist/sdk/lib/falcon-mxmlc.jar"
type="file"
property="FALCON_HOME"
@@ -306,6 +311,11 @@
property="FALCONJX_HOME"
value="${basedir}/../flex-falcon/compiler.jx"/>
+ <available file="${basedir}/js/lib/jsc.jar"
+ type="file"
+ property="FALCONJX_HOME"
+ value="${basedir}/js"/>
+
<fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler.jx folder in flex-falcon repo or the js folder if it has been converted into an FB-compatible SDK"
unless="FALCONJX_HOME"/>
</target>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f742bc28/examples/build_example.xml
----------------------------------------------------------------------
diff --git a/examples/build_example.xml b/examples/build_example.xml
index 47d2ae8..44c88a7 100644
--- a/examples/build_example.xml
+++ b/examples/build_example.xml
@@ -38,6 +38,15 @@
</and>
</condition>
+ <condition property="FALCON_HOME" value="${FLEXJS_HOME}">
+ <and>
+ <not>
+ <isset property="FALCON_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/lib/falcon-mxmlc.jar" type="file" />
+ </and>
+ </condition>
+
<condition property="FALCONJX_HOME" value="${env.FALCONJX_HOME}">
<and>
<not>
@@ -47,6 +56,15 @@
</and>
</condition>
+ <condition property="FALCONJX_HOME" value="${FLEXJS_HOME}/js">
+ <and>
+ <not>
+ <isset property="FALCONJX_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/js/lib/jsc.jar" type="file" />
+ </and>
+ </condition>
+
<condition property="FALCONJX_HOME" value="${FLEXJS_HOME}/../flex-falcon/compiler.jx">
<and>
<not>
[37/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Use
airglobal.swc from PROJECT_FRAMEWORKS}/libs/air/ instead of adding a
reference to AIR SDK.
Posted by ah...@apache.org.
Use airglobal.swc from PROJECT_FRAMEWORKS}/libs/air/ instead of adding a reference to AIR SDK.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d3f59fa5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d3f59fa5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d3f59fa5
Branch: refs/heads/master
Commit: d3f59fa55bc435e12992b4d0a4991743a1a0bfca
Parents: f25c9bf
Author: OmPrakash Muppirala <bi...@gmail.com>
Authored: Sun Mar 20 01:05:09 2016 -0700
Committer: OmPrakash Muppirala <bi...@gmail.com>
Committed: Sun Mar 20 01:05:09 2016 -0700
----------------------------------------------------------------------
frameworks/projects/HTML/.actionScriptProperties | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d3f59fa5/frameworks/projects/HTML/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/.actionScriptProperties b/frameworks/projects/HTML/.actionScriptProperties
index d47dcf7..3497d5d 100644
--- a/frameworks/projects/HTML/.actionScriptProperties
+++ b/frameworks/projects/HTML/.actionScriptProperties
@@ -47,7 +47,7 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="1" path="/Core/target/Core.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/Graphics/target/Graphics.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/Collections/target/Collections.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="1" linkType="1" path="${AIR_HOME}/frameworks/libs/air"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/air/airglobal.swc" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath/>
</compiler>
[12/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Added
IArrayList interface and updated associated classes.
Posted by ah...@apache.org.
Added IArrayList interface and updated associated classes.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/60670e86
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/60670e86
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/60670e86
Branch: refs/heads/master
Commit: 60670e866344799df480021d87d38a0a842c2c87
Parents: 59b8e43
Author: Peter Ent <pe...@apache.org>
Authored: Thu Feb 18 13:24:06 2016 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Thu Feb 18 13:24:06 2016 -0500
----------------------------------------------------------------------
.../org/apache/flex/collections/ArrayList.as | 114 ++++++------
.../org/apache/flex/collections/IArrayList.as | 178 +++++++++++++++++++
.../DataItemRendererFactoryForArrayList.as | 27 ++-
.../beads/models/ArrayListSelectionModel.as | 64 +++----
4 files changed, 286 insertions(+), 97 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/60670e86/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/ArrayList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/ArrayList.as b/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/ArrayList.as
index 58d44e8..6f26e25 100644
--- a/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/ArrayList.as
+++ b/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/ArrayList.as
@@ -17,7 +17,7 @@
//
////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.collections
-{
+{
import org.apache.flex.core.IBead;
import org.apache.flex.core.IStrand;
import org.apache.flex.events.Event;
@@ -25,67 +25,67 @@ package org.apache.flex.collections
import org.apache.flex.events.IEventDispatcher;
import org.apache.flex.collections.parsers.IInputParser;
import org.apache.flex.collections.converters.IItemConverter;
-
+
//--------------------------------------
// Events
//--------------------------------------
-
+
/**
* Dispatched when the collection's underlying source array
* is changed.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
* @productversion FlexJS 0.0
*/
[Event(name="collectionChanged", type="org.apache.flex.events.Event")]
-
+
/**
* Dispatched when the collection has added an item.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
* @productversion FlexJS 0.0
*/
[Event(name="itemAdded", type="org.apache.flex.events.Event")]
-
+
/**
* Dispatched when the collection has removed an item.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
* @productversion FlexJS 0.0
*/
[Event(name="itemRemoved", type="org.apache.flex.events.Event")]
-
+
/**
* Dispatched when the collection has updated an item.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
* @productversion FlexJS 0.0
*/
[Event(name="itemUpdated", type="org.apache.flex.events.Event")]
-
+
/**
* The ArrayList class provides an event-driven wrapper for the
* standard Array. Events are dispatched when items are added, removed,
* or changed.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
* @productversion FlexJS 0.0
*/
- public class ArrayList extends EventDispatcher implements IBead, ICollection
+ public class ArrayList extends EventDispatcher implements IBead, ICollection, IArrayList
{
/**
* Constructor.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -99,10 +99,10 @@ package org.apache.flex.collections
}
private var _id:String;
-
+
/**
* @copy org.apache.flex.core.UIBase#id
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -124,12 +124,12 @@ package org.apache.flex.collections
dispatchEvent(new Event("idChanged"));
}
}
-
+
private var _strand:IStrand;
-
+
/**
* @copy org.apache.flex.core.UIBase#strand
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -140,12 +140,12 @@ package org.apache.flex.collections
_strand = value;
_source = new Array();
}
-
+
private var _source:Array;
-
+
/**
* The array of raw data needing conversion.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -155,7 +155,7 @@ package org.apache.flex.collections
{
return _source;
}
-
+
public function set source(value:Array):void
{
if (_source != value) {
@@ -164,10 +164,10 @@ package org.apache.flex.collections
dispatchEvent(new Event("collectionChanged"));
}
}
-
+
/**
* Returns a copy of the source array.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -177,10 +177,10 @@ package org.apache.flex.collections
{
return _source.concat();
}
-
+
/**
* Fetches an item from the collection
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -189,11 +189,11 @@ package org.apache.flex.collections
public function getItemAt(index:int):Object
{
return _source[index];
- }
-
+ }
+
/**
* Fetches an item from the collection given an index.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -208,10 +208,10 @@ package org.apache.flex.collections
}
return -1;
}
-
+
/**
* Adds an item to the end of the array.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -221,10 +221,10 @@ package org.apache.flex.collections
{
addItemAt(item, length);
}
-
+
/**
* Inserts an item to a specific location within the array.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -233,7 +233,7 @@ package org.apache.flex.collections
public function addItemAt(item:Object, index:int):void
{
const spliceUpperBound:int = length;
-
+
if (index < spliceUpperBound && index > 0)
{
source.splice(index, 0, item);
@@ -246,19 +246,19 @@ package org.apache.flex.collections
{
source.unshift(item);
}
- else
+ else
{
// error
return;
}
-
+
dispatchEvent(new Event("itemAdded"));
}
-
+
/**
* Replaces the item at the given index with a new item and
* returns the old item.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -268,7 +268,7 @@ package org.apache.flex.collections
{
const spliceUpperBound:int = length;
var oldItem:Object;
-
+
if (index >= 0 && index < spliceUpperBound) {
oldItem = source[index];
source[index] = item;
@@ -277,13 +277,13 @@ package org.apache.flex.collections
else {
// error
}
-
+
return oldItem;
}
-
+
/**
* Removed an item from the array and returns it.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -298,11 +298,11 @@ package org.apache.flex.collections
}
return result;
}
-
+
/**
* Removes an item from a specific location within the array and
* returns it.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -312,7 +312,7 @@ package org.apache.flex.collections
{
const spliceUpperBound:int = length - 1;
var removed:Object;
-
+
if (index > 0 && index < spliceUpperBound)
{
removed = source.splice(index, 1)[0];
@@ -329,14 +329,14 @@ package org.apache.flex.collections
// error
return null;
}
-
+
dispatchEvent(new Event("itemRemoved"));
return removed;
}
-
+
/**
* Removes all of the items from the array.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -349,10 +349,10 @@ package org.apache.flex.collections
dispatchEvent(new Event("itemRemoved"));
}
}
-
+
/**
* Signals that an item in the array has been updated.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -365,10 +365,10 @@ package org.apache.flex.collections
dispatchEvent(new Event("itemUpdated"));
}
}
-
+
/**
* Signals that an item in the array has been updated.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -378,10 +378,10 @@ package org.apache.flex.collections
{
dispatchEvent(new Event("itemUpdated"));
}
-
+
/**
* The number of items.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -389,8 +389,8 @@ package org.apache.flex.collections
*/
public function get length():int
{
- return _source ? _source.length : 0;
+ return _source ? _source.length : 0;
}
}
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/60670e86/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/IArrayList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/IArrayList.as b/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/IArrayList.as
new file mode 100644
index 0000000..fbe8ed5
--- /dev/null
+++ b/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/IArrayList.as
@@ -0,0 +1,178 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.collections
+{
+ import org.apache.flex.core.IBead;
+ import org.apache.flex.core.IStrand;
+ import org.apache.flex.events.Event;
+ import org.apache.flex.events.EventDispatcher;
+ import org.apache.flex.events.IEventDispatcher;
+ import org.apache.flex.collections.parsers.IInputParser;
+ import org.apache.flex.collections.converters.IItemConverter;
+
+ //--------------------------------------
+
+
+ /**
+ * The ArrayList class provides an event-driven wrapper for the
+ * standard Array. Events are dispatched when items are added, removed,
+ * or changed.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public interface IArrayList
+ {
+ /**
+ * The array of raw data needing conversion.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function get source():Array;
+ function set source(value:Array):void;
+
+ /**
+ * Returns a copy of the source array.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function toArray():Array;
+
+ /**
+ * Fetches an item from the collection
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function getItemAt(index:int):Object;
+
+ /**
+ * Fetches an item from the collection given an index.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function getItemIndex(item:Object):int;
+
+ /**
+ * Adds an item to the end of the array.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function addItem(item:Object):void;
+
+ /**
+ * Inserts an item to a specific location within the array.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function addItemAt(item:Object, index:int):void;
+
+ /**
+ * Replaces the item at the given index with a new item and
+ * returns the old item.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function setItemAt(item:Object, index:int):Object;
+
+ /**
+ * Removed an item from the array and returns it.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function removeItem(item:Object):Boolean;
+
+ /**
+ * Removes an item from a specific location within the array and
+ * returns it.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function removeItemAt(index:int):Object;
+
+ /**
+ * Removes all of the items from the array.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function removeAll():void;
+
+ /**
+ * Signals that an item in the array has been updated.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function itemUpdated(item:Object):void;
+
+ /**
+ * Signals that an item in the array has been updated.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function itemUpdatedAt(index:int):void;
+
+ /**
+ * The number of items.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function get length():int;
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/60670e86/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as
index 9895394..901b5f3 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as
@@ -18,7 +18,7 @@
////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.html.beads
{
- import org.apache.flex.collections.ArrayList;
+ import org.apache.flex.collections.IArrayList;
import org.apache.flex.core.IBead;
import org.apache.flex.core.IDataProviderItemRendererMapper;
import org.apache.flex.core.IItemRendererClassFactory;
@@ -61,9 +61,9 @@ package org.apache.flex.html.beads
{
}
- private var selectionModel:ISelectionModel;
+ protected var selectionModel:ISelectionModel;
- private var labelField:String;
+ protected var labelField:String;
private var _strand:IStrand;
@@ -138,9 +138,22 @@ package org.apache.flex.html.beads
*/
protected var dataGroup:IItemRendererParent;
- private function dataProviderChangeHandler(event:Event):void
+ /**
+ * @private
+ */
+ protected function setData(ir:ISelectableItemRenderer, data:Object, index:int):void
{
- var dp:ArrayList = selectionModel.dataProvider as ArrayList;
+ ir.index = index;
+ ir.labelField = labelField;
+ ir.data = data;
+ }
+
+ /**
+ * @private
+ */
+ protected function dataProviderChangeHandler(event:Event):void
+ {
+ var dp:IArrayList = selectionModel.dataProvider as IArrayList;
if (!dp)
return;
@@ -153,8 +166,6 @@ package org.apache.flex.html.beads
for (var i:int = 0; i < n; i++)
{
var ir:ISelectableItemRenderer = itemRendererFactory.createItemRenderer(dataGroup) as ISelectableItemRenderer;
- ir.index = i;
- ir.labelField = labelField;
if (presentationModel) {
UIBase(ir).height = presentationModel.rowHeight;
@@ -165,7 +176,7 @@ package org.apache.flex.html.beads
UIBase(ir).style = style;
}
dataGroup.addElement(ir);
- ir.data = dp.getItemAt(i);
+ setData(ir, dp.getItemAt(i), i);
}
IEventDispatcher(_strand).dispatchEvent(new Event("itemsCreated"));
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/60670e86/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/models/ArrayListSelectionModel.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/models/ArrayListSelectionModel.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/models/ArrayListSelectionModel.as
index 7366677..5c8a188 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/models/ArrayListSelectionModel.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/models/ArrayListSelectionModel.as
@@ -18,18 +18,18 @@
////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.html.beads.models
{
- import org.apache.flex.collections.ArrayList;
+ import org.apache.flex.collections.IArrayList;
import org.apache.flex.core.IRollOverModel;
import org.apache.flex.core.ISelectionModel;
import org.apache.flex.core.IStrand;
import org.apache.flex.events.Event;
import org.apache.flex.events.EventDispatcher;
-
+
/**
* The ArrayListSelectionModel class is a selection model for
* a dataProvider that is an ArrayList. It assumes that items
* can be fetched from the dataProvider using dataProvider.getItemAt(index).
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -39,7 +39,7 @@ package org.apache.flex.html.beads.models
{
/**
* Constructor.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -50,10 +50,10 @@ package org.apache.flex.html.beads.models
}
private var _strand:IStrand;
-
+
/**
* @copy org.apache.flex.core.IBead#strand
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -63,12 +63,12 @@ package org.apache.flex.html.beads.models
{
_strand = value;
}
-
- private var _dataProvider:ArrayList;
-
+
+ private var _dataProvider:IArrayList;
+
/**
* @copy org.apache.flex.core.ISelectionModel#dataProvider
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -85,10 +85,10 @@ package org.apache.flex.html.beads.models
public function set dataProvider(value:Object):void
{
if (value === _dataProvider) return;
-
- _dataProvider = value as ArrayList;
+
+ _dataProvider = value as IArrayList;
if (_selectedIndex != -1)
- _selectedItem = (_dataProvider == null || _selectedIndex >= _dataProvider.length) ? null :
+ _selectedItem = (_dataProvider == null || _selectedIndex >= _dataProvider.length) ? null :
_dataProvider.getItemAt(_selectedIndex);
dispatchEvent(new Event("dataProviderChanged"));
}
@@ -96,10 +96,10 @@ package org.apache.flex.html.beads.models
private var _selectedIndex:int = -1;
private var _rollOverIndex:int = -1;
private var _labelField:String = null;
-
+
/**
* @copy org.apache.flex.core.ISelectionModel#labelField
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -120,10 +120,10 @@ package org.apache.flex.html.beads.models
dispatchEvent(new Event("labelFieldChanged"));
}
}
-
+
/**
* @copy org.apache.flex.core.ISelectionModel#selectedIndex
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -140,15 +140,15 @@ package org.apache.flex.html.beads.models
public function set selectedIndex(value:int):void
{
if (value === _selectedIndex) return;
-
+
_selectedIndex = value;
_selectedItem = (value == -1 || _dataProvider == null) ? null : (value < _dataProvider.length) ? _dataProvider.getItemAt(value) : null;
- dispatchEvent(new Event("selectedIndexChanged"));
+ dispatchEvent(new Event("selectedIndexChanged"));
}
-
+
/**
* @copy org.apache.flex.core.IRollOverModel#rollOverIndex
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -169,12 +169,12 @@ package org.apache.flex.html.beads.models
dispatchEvent(new Event("rollOverIndexChanged"));
}
}
-
+
private var _selectedItem:Object;
-
+
/**
* @copy org.apache.flex.core.ISelectionModel#selectedItem
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -191,8 +191,8 @@ package org.apache.flex.html.beads.models
public function set selectedItem(value:Object):void
{
if (value === _selectedItem) return;
-
- _selectedItem = value;
+
+ _selectedItem = value;
var n:int = _dataProvider.length;
for (var i:int = 0; i < n; i++)
{
@@ -202,16 +202,16 @@ package org.apache.flex.html.beads.models
break;
}
}
- dispatchEvent(new Event("selectedItemChanged"));
+ dispatchEvent(new Event("selectedItemChanged"));
dispatchEvent(new Event("selectedIndexChanged"));
}
-
+
private var _selectedString:String;
-
+
/**
* An alternative to selectedItem for strongly typing the
* the selectedItem if the Array is an Array of Strings.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -237,8 +237,8 @@ package org.apache.flex.html.beads.models
break;
}
}
- dispatchEvent(new Event("selectedItemChanged"));
- dispatchEvent(new Event("selectedIndexChanged"));
+ dispatchEvent(new Event("selectedItemChanged"));
+ dispatchEvent(new Event("selectedIndexChanged"));
}
}
}
[47/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - update
rat in releasecandidate.xml
Posted by ah...@apache.org.
update rat in releasecandidate.xml
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8009ec03
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8009ec03
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8009ec03
Branch: refs/heads/master
Commit: 8009ec0344c590f3f4c60f099e89a8de8eb8ea27
Parents: 4c94b55
Author: Alex Harui <ah...@apache.org>
Authored: Tue Mar 29 21:51:12 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Mar 29 21:51:12 2016 -0700
----------------------------------------------------------------------
releasecandidate.xml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8009ec03/releasecandidate.xml
----------------------------------------------------------------------
diff --git a/releasecandidate.xml b/releasecandidate.xml
index a6e50fb..20f468f 100644
--- a/releasecandidate.xml
+++ b/releasecandidate.xml
@@ -49,9 +49,10 @@
</condition>
<property name="rat.report" value="${basedir}/rat-report.txt"/>
- <property name="apache.rat.jar" value="apache-rat-0.8.jar" />
- <property name="apache.rat.tasks.jar" value="apache-rat-tasks-0.8.jar" />
- <property name="apache.rat.url" value="http://people.apache.org/~aharui/rat" />
+ <property name="apache.rat.jar" value="apache-rat-0.11.jar" />
+ <property name="apache.rat.tasks.jar" value="apache-rat-tasks-0.11.jar" />
+ <property name="apache.rat.url" value="http://search.maven.org/remotecontent?filepath=org/apache/rat/apache-rat/0.11" />
+ <property name="apache.rat.tasks.url" value="http://search.maven.org/remotecontent?filepath=org/apache/rat/apache-rat-tasks/0.11" />
<property file="${basedir}/local.properties" />
<property file="${basedir}/build.properties" />
@@ -192,7 +193,7 @@
<get src="${apache.rat.url}/${apache.rat.jar}" dest="${env.ANT_HOME}/lib/${apache.rat.jar}" />
</target>
<target name="install-rat.tasks.jar" unless="apache.rat.tasks.found">
- <get src="${apache.rat.url}/${apache.rat.tasks.jar}" dest="${env.ANT_HOME}/lib/${apache.rat.tasks.jar}" />
+ <get src="${apache.rat.tasks.url}/${apache.rat.tasks.jar}" dest="${env.ANT_HOME}/lib/${apache.rat.tasks.jar}" />
</target>
<target name="rat-taskdef" description="Rat taskdef">
[36/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Update
Flash Builder/Eclipse project to add reference to Graphics project.
Posted by ah...@apache.org.
Update Flash Builder/Eclipse project to add reference to Graphics project.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f25c9bf4
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f25c9bf4
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f25c9bf4
Branch: refs/heads/master
Commit: f25c9bf406e65bb2c7d7220a9ed9c71c22b3bd64
Parents: 7e67f4b
Author: OmPrakash Muppirala <bi...@gmail.com>
Authored: Sun Mar 20 01:00:08 2016 -0700
Committer: OmPrakash Muppirala <bi...@gmail.com>
Committed: Sun Mar 20 01:00:08 2016 -0700
----------------------------------------------------------------------
frameworks/projects/Mobile/.actionScriptProperties | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f25c9bf4/frameworks/projects/Mobile/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/.actionScriptProperties b/frameworks/projects/Mobile/.actionScriptProperties
index 280df12..49275b1 100644
--- a/frameworks/projects/Mobile/.actionScriptProperties
+++ b/frameworks/projects/Mobile/.actionScriptProperties
@@ -46,6 +46,7 @@ limitations under the License.
<libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/air/airglobal.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/Core/target/Core.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="/HTML/target/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/Graphics/target/Graphics.swc" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath/>
</compiler>
[07/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Fixed
JS version of WebBrowser to intercept correct location change events and
dispatch proper FlexJS event.
Posted by ah...@apache.org.
Fixed JS version of WebBrowser to intercept correct location change events and dispatch proper FlexJS event.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/36c14ed8
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/36c14ed8
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/36c14ed8
Branch: refs/heads/master
Commit: 36c14ed8ee6ca7125dd1f86daa460d53ec205a50
Parents: 18deeae
Author: Peter Ent <pe...@apache.org>
Authored: Wed Feb 10 11:29:43 2016 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Feb 10 11:29:43 2016 -0500
----------------------------------------------------------------------
.../src/main/flex/org/apache/flex/html/beads/WebBrowserView.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/36c14ed8/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/WebBrowserView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/WebBrowserView.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/WebBrowserView.as
index cb14971..46c9484 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/WebBrowserView.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/WebBrowserView.as
@@ -168,7 +168,7 @@ package org.apache.flex.html.beads
model.addEventListener("urlChanged", loadPage);
var iframe:HTMLIFrameElement = (host as UIBase).element as HTMLIFrameElement;
- iframe.addEventListener("pageshow", handlePageShow, false);
+ iframe.addEventListener("load", handlePageShow, false);
}
/**
[05/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - get ant
building to work
Posted by ah...@apache.org.
get ant building to work
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/90801998
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/90801998
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/90801998
Branch: refs/heads/master
Commit: 908019984219bc51eaa9959bac171bbd18f822e6
Parents: d17d0e1
Author: Alex Harui <ah...@apache.org>
Authored: Mon Feb 8 09:18:23 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Feb 8 09:18:23 2016 -0800
----------------------------------------------------------------------
.../projects/Binding/.actionScriptProperties | 36 ++++++++++++++++++-
.../.externalToolBuilders/BindingASJS.launch | 22 ++++++++++--
frameworks/projects/Binding/.flexLibProperties | 18 ++++++++++
frameworks/projects/Binding/.project | 19 ++++++++++
frameworks/projects/Binding/build.xml | 4 +--
.../projects/Charts/.actionScriptProperties | 36 ++++++++++++++++++-
.../.externalToolBuilders/ChartsASJS.launch | 22 ++++++++++--
frameworks/projects/Charts/.flexLibProperties | 18 ++++++++++
frameworks/projects/Charts/.project | 27 +++++++-------
.../Collections/.actionScriptProperties | 36 ++++++++++++++++++-
.../CollectionsASJS.launch | 22 ++++++++++--
.../projects/Collections/.flexLibProperties | 18 ++++++++++
frameworks/projects/Collections/.project | 25 ++++++-------
.../projects/Core/.actionScriptProperties | 36 ++++++++++++++++++-
.../Core/.externalToolBuilders/CoreASJS.launch | 22 ++++++++++--
frameworks/projects/Core/.flexLibProperties | 18 ++++++++++
frameworks/projects/Core/.project | 18 ++++++++++
.../projects/CreateJS/.actionScriptProperties | 36 ++++++++++++++++++-
.../.externalToolBuilders/CreateJSASJS.launch | 22 ++++++++++--
frameworks/projects/CreateJS/.flexLibProperties | 18 ++++++++++
frameworks/projects/CreateJS/.project | 26 +++++++-------
.../projects/DragDrop/.actionScriptProperties | 36 ++++++++++++++++++-
.../.externalToolBuilders/DragDropASJS.launch | 22 ++++++++++--
frameworks/projects/DragDrop/.flexLibProperties | 18 ++++++++++
frameworks/projects/DragDrop/.project | 25 ++++++-------
.../projects/Effects/.actionScriptProperties | 36 ++++++++++++++++++-
.../.externalToolBuilders/EffectsASJS.launch | 22 ++++++++++--
frameworks/projects/Effects/.flexLibProperties | 18 ++++++++++
frameworks/projects/Effects/.project | 25 ++++++-------
.../projects/Flat/.actionScriptProperties | 22 +++++++++++-
.../Flat/.externalToolBuilders/FlatASJS.launch | 22 ++++++++++--
frameworks/projects/Flat/.flexLibProperties | 24 +++++++++++++
frameworks/projects/Flat/.project | 20 +++++++++++
.../.settings/org.eclipse.core.resources.prefs | 3 ++
.../projects/Formatters/.actionScriptProperties | 36 ++++++++++++++++++-
.../.externalToolBuilders/FormattersASJS.launch | 22 ++++++++++--
.../projects/Formatters/.flexLibProperties | 18 ++++++++++
frameworks/projects/Formatters/.project | 26 +++++++-------
.../projects/GoogleMaps/.actionScriptProperties | 20 ++++++++++-
.../.externalToolBuilders/GoogleMapsASJS.launch | 22 ++++++++++--
.../projects/GoogleMaps/.flexLibProperties | 18 ++++++++++
frameworks/projects/GoogleMaps/.project | 25 ++++++-------
.../projects/Graphics/.actionScriptProperties | 36 ++++++++++++++++++-
.../.externalToolBuilders/GraphicsASJS.launch | 22 ++++++++++--
frameworks/projects/Graphics/.flexLibProperties | 18 ++++++++++
frameworks/projects/Graphics/.project | 25 ++++++-------
.../projects/HTML/.actionScriptProperties | 37 +++++++++++++++++++-
.../HTML/.externalToolBuilders/HTMLASJS.launch | 22 ++++++++++--
frameworks/projects/HTML/.flexLibProperties | 18 ++++++++++
frameworks/projects/HTML/.project | 28 ++++++++-------
.../projects/HTML5/.actionScriptProperties | 21 ++++++++++-
.../.externalToolBuilders/HTML5ASJS.launch | 22 ++++++++++--
frameworks/projects/HTML5/.flexLibProperties | 24 +++++++++++++
frameworks/projects/HTML5/.project | 19 ++++++++++
.../.settings/org.eclipse.core.resources.prefs | 3 ++
.../projects/JQuery/.actionScriptProperties | 36 ++++++++++++++++++-
.../.externalToolBuilders/JQueryASJS.launch | 22 ++++++++++--
frameworks/projects/JQuery/.flexLibProperties | 18 ++++++++++
frameworks/projects/JQuery/.project | 26 +++++++-------
.../projects/Mobile/.actionScriptProperties | 36 ++++++++++++++++++-
.../.externalToolBuilders/MobileASJS.launch | 22 ++++++++++--
frameworks/projects/Mobile/.flexLibProperties | 18 ++++++++++
frameworks/projects/Mobile/.project | 26 +++++++-------
.../projects/Network/.actionScriptProperties | 36 ++++++++++++++++++-
.../.externalToolBuilders/NetworkASJS.launch | 22 ++++++++++--
frameworks/projects/Network/.flexLibProperties | 18 ++++++++++
frameworks/projects/Network/.project | 25 ++++++-------
.../projects/Reflection/.actionScriptProperties | 20 ++++++++++-
.../.externalToolBuilders/ReflectionASJS.launch | 22 ++++++++++--
.../projects/Reflection/.flexLibProperties | 24 +++++++++++++
frameworks/projects/Reflection/.project | 18 ++++++++++
.../.settings/org.eclipse.core.resources.prefs | 3 ++
72 files changed, 1469 insertions(+), 197 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Binding/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/.actionScriptProperties b/frameworks/projects/Binding/.actionScriptProperties
index bfda0f4..e2969f6 100644
--- a/frameworks/projects/Binding/.actionScriptProperties
+++ b/frameworks/projects/Binding/.actionScriptProperties
@@ -1,12 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="Binding.as" projectUUID="cdd94532-d7f6-40f0-b19c-de82c6e44011" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
<excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/air/airglobal.swc" useDefaultLinkType="false"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Binding/.externalToolBuilders/BindingASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/.externalToolBuilders/BindingASJS.launch b/frameworks/projects/Binding/.externalToolBuilders/BindingASJS.launch
index e3bf578..7128a0c 100644
--- a/frameworks/projects/Binding/.externalToolBuilders/BindingASJS.launch
+++ b/frameworks/projects/Binding/.externalToolBuilders/BindingASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/Binding/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/Binding}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Binding/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/.flexLibProperties b/frameworks/projects/Binding/.flexLibProperties
index 1fbacb4..20339ea 100644
--- a/frameworks/projects/Binding/.flexLibProperties
+++ b/frameworks/projects/Binding/.flexLibProperties
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
<includeClasses/>
<includeResources/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Binding/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/.project b/frameworks/projects/Binding/.project
index a952412..64cd689 100644
--- a/frameworks/projects/Binding/.project
+++ b/frameworks/projects/Binding/.project
@@ -1,8 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<projectDescription>
<name>Binding</name>
<comment></comment>
<projects>
+ <project>Core</project>
</projects>
<buildSpec>
<buildCommand>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Binding/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/build.xml b/frameworks/projects/Binding/build.xml
index 43ced99..06c7c40 100644
--- a/frameworks/projects/Binding/build.xml
+++ b/frameworks/projects/Binding/build.xml
@@ -51,11 +51,11 @@
<target name="clean">
<delete failonerror="false">
<fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="Binding.swc"/>
+ <include name="${target.name.no.version}"/>
</fileset>
</delete>
<delete failonerror="false">
- <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <fileset dir="${basedir}/target">
<include name="**/**"/>
</fileset>
</delete>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Charts/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/.actionScriptProperties b/frameworks/projects/Charts/.actionScriptProperties
index ae73651..b0f1092 100644
--- a/frameworks/projects/Charts/.actionScriptProperties
+++ b/frameworks/projects/Charts/.actionScriptProperties
@@ -1,12 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="Charts.as" projectUUID="e231d754-8754-4562-8230-026f11fb4e02" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
<excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/air/airglobal.swc" useDefaultLinkType="false"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Charts/.externalToolBuilders/ChartsASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/.externalToolBuilders/ChartsASJS.launch b/frameworks/projects/Charts/.externalToolBuilders/ChartsASJS.launch
index a28e30d..6dd9dab 100644
--- a/frameworks/projects/Charts/.externalToolBuilders/ChartsASJS.launch
+++ b/frameworks/projects/Charts/.externalToolBuilders/ChartsASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/Charts/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/Charts}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Charts/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/.flexLibProperties b/frameworks/projects/Charts/.flexLibProperties
index 1fbacb4..20339ea 100644
--- a/frameworks/projects/Charts/.flexLibProperties
+++ b/frameworks/projects/Charts/.flexLibProperties
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
<includeClasses/>
<includeResources/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Charts/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/.project b/frameworks/projects/Charts/.project
index 4b06514..8d7639b 100644
--- a/frameworks/projects/Charts/.project
+++ b/frameworks/projects/Charts/.project
@@ -1,26 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
-->
<projectDescription>
<name>Charts</name>
<comment></comment>
<projects>
+ <project>Core</project>
+ <project>Graphics</project>
+ <project>HTML</project>
</projects>
<buildSpec>
<buildCommand>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Collections/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/.actionScriptProperties b/frameworks/projects/Collections/.actionScriptProperties
index b5f843c..a71fedb 100644
--- a/frameworks/projects/Collections/.actionScriptProperties
+++ b/frameworks/projects/Collections/.actionScriptProperties
@@ -1,12 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="Collections.as" projectUUID="03015f5b-acd3-493a-a697-34c3d1e91c89" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
<excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/air/airglobal.swc" useDefaultLinkType="false"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Collections/.externalToolBuilders/CollectionsASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/.externalToolBuilders/CollectionsASJS.launch b/frameworks/projects/Collections/.externalToolBuilders/CollectionsASJS.launch
index e779b88..e9d5ed1 100644
--- a/frameworks/projects/Collections/.externalToolBuilders/CollectionsASJS.launch
+++ b/frameworks/projects/Collections/.externalToolBuilders/CollectionsASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/Collections/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/Collections}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Collections/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/.flexLibProperties b/frameworks/projects/Collections/.flexLibProperties
index 1fbacb4..20339ea 100644
--- a/frameworks/projects/Collections/.flexLibProperties
+++ b/frameworks/projects/Collections/.flexLibProperties
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
<includeClasses/>
<includeResources/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Collections/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/.project b/frameworks/projects/Collections/.project
index f8f6ad5..d9c0a2e 100644
--- a/frameworks/projects/Collections/.project
+++ b/frameworks/projects/Collections/.project
@@ -1,26 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
-->
<projectDescription>
<name>Collections</name>
<comment></comment>
<projects>
+ <project>Core</project>
</projects>
<buildSpec>
<buildCommand>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Core/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/.actionScriptProperties b/frameworks/projects/Core/.actionScriptProperties
index f8f94a2..acb56c2 100644
--- a/frameworks/projects/Core/.actionScriptProperties
+++ b/frameworks/projects/Core/.actionScriptProperties
@@ -1,12 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="Core.as" projectUUID="be5b3edf-e159-406d-a592-1f8d39993fea" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
<excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/air/airglobal.swc" useDefaultLinkType="false"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Core/.externalToolBuilders/CoreASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/.externalToolBuilders/CoreASJS.launch b/frameworks/projects/Core/.externalToolBuilders/CoreASJS.launch
index e1c0301..16023b8 100644
--- a/frameworks/projects/Core/.externalToolBuilders/CoreASJS.launch
+++ b/frameworks/projects/Core/.externalToolBuilders/CoreASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/Core/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/Core}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Core/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/.flexLibProperties b/frameworks/projects/Core/.flexLibProperties
index 1fbacb4..20339ea 100644
--- a/frameworks/projects/Core/.flexLibProperties
+++ b/frameworks/projects/Core/.flexLibProperties
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
<includeClasses/>
<includeResources/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Core/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/.project b/frameworks/projects/Core/.project
index 3618b50..6ef0f4b 100644
--- a/frameworks/projects/Core/.project
+++ b/frameworks/projects/Core/.project
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<projectDescription>
<name>Core</name>
<comment></comment>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/CreateJS/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/.actionScriptProperties b/frameworks/projects/CreateJS/.actionScriptProperties
index 0900d89..91e9fe6 100644
--- a/frameworks/projects/CreateJS/.actionScriptProperties
+++ b/frameworks/projects/CreateJS/.actionScriptProperties
@@ -1,12 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="CreateJS.as" projectUUID="7d9af24d-d32d-4e14-b0ee-f799e604c2bc" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
<excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/air/airglobal.swc" useDefaultLinkType="false"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/CreateJS/.externalToolBuilders/CreateJSASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/.externalToolBuilders/CreateJSASJS.launch b/frameworks/projects/CreateJS/.externalToolBuilders/CreateJSASJS.launch
index d823dad..2d429c4 100644
--- a/frameworks/projects/CreateJS/.externalToolBuilders/CreateJSASJS.launch
+++ b/frameworks/projects/CreateJS/.externalToolBuilders/CreateJSASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/CreateJS/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/CreateJS}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/CreateJS/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/.flexLibProperties b/frameworks/projects/CreateJS/.flexLibProperties
index 1fbacb4..20339ea 100644
--- a/frameworks/projects/CreateJS/.flexLibProperties
+++ b/frameworks/projects/CreateJS/.flexLibProperties
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
<includeClasses/>
<includeResources/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/CreateJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/.project b/frameworks/projects/CreateJS/.project
index fec8803..6947d94 100644
--- a/frameworks/projects/CreateJS/.project
+++ b/frameworks/projects/CreateJS/.project
@@ -1,26 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
-->
<projectDescription>
<name>CreateJS</name>
<comment></comment>
<projects>
+ <project>Core</project>
+ <project>HTML</project>
</projects>
<buildSpec>
<buildCommand>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/DragDrop/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/.actionScriptProperties b/frameworks/projects/DragDrop/.actionScriptProperties
index 8109b2f..5056d1b 100644
--- a/frameworks/projects/DragDrop/.actionScriptProperties
+++ b/frameworks/projects/DragDrop/.actionScriptProperties
@@ -1,12 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="DragDrop.as" projectUUID="8736dc4b-71dc-4f2c-9181-5295a09b7c7e" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
<excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/air/airglobal.swc" useDefaultLinkType="false"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/DragDrop/.externalToolBuilders/DragDropASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/.externalToolBuilders/DragDropASJS.launch b/frameworks/projects/DragDrop/.externalToolBuilders/DragDropASJS.launch
index 010870a..ea62143 100644
--- a/frameworks/projects/DragDrop/.externalToolBuilders/DragDropASJS.launch
+++ b/frameworks/projects/DragDrop/.externalToolBuilders/DragDropASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/DragDrop/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/DragDrop}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/DragDrop/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/.flexLibProperties b/frameworks/projects/DragDrop/.flexLibProperties
index 1fbacb4..20339ea 100644
--- a/frameworks/projects/DragDrop/.flexLibProperties
+++ b/frameworks/projects/DragDrop/.flexLibProperties
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
<includeClasses/>
<includeResources/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/DragDrop/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/.project b/frameworks/projects/DragDrop/.project
index edd0211..387dd60 100644
--- a/frameworks/projects/DragDrop/.project
+++ b/frameworks/projects/DragDrop/.project
@@ -1,26 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
-->
<projectDescription>
<name>DragDrop</name>
<comment></comment>
<projects>
+ <project>Core</project>
</projects>
<buildSpec>
<buildCommand>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Effects/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/.actionScriptProperties b/frameworks/projects/Effects/.actionScriptProperties
index d8365a2..14ccdce 100644
--- a/frameworks/projects/Effects/.actionScriptProperties
+++ b/frameworks/projects/Effects/.actionScriptProperties
@@ -1,12 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="Effects.as" projectUUID="c7b22e99-ecef-48e3-90be-f80d3bc54d5f" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
<excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML5.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/JQuery.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Flat.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Formatters.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Effects.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Collections.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Mobile.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/HTML.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Binding.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Graphics.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/Network.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/GoogleMaps.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/DragDrop.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/air/airglobal.swc" useDefaultLinkType="false"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Effects/.externalToolBuilders/EffectsASJS.launch
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/.externalToolBuilders/EffectsASJS.launch b/frameworks/projects/Effects/.externalToolBuilders/EffectsASJS.launch
index 168f374..d5fdac9 100644
--- a/frameworks/projects/Effects/.externalToolBuilders/EffectsASJS.launch
+++ b/frameworks/projects/Effects/.externalToolBuilders/EffectsASJS.launch
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile-asjs,compile-extern-swc,copy-js,"/>
@@ -18,9 +36,9 @@
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_PROPERTY_FILES" value="${PROJECT_FRAMEWORKS}/fb.properties,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/build.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/Effects/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/Effects}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Effects/.flexLibProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/.flexLibProperties b/frameworks/projects/Effects/.flexLibProperties
index 1fbacb4..20339ea 100644
--- a/frameworks/projects/Effects/.flexLibProperties
+++ b/frameworks/projects/Effects/.flexLibProperties
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3">
<includeClasses/>
<includeResources/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Effects/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/.project b/frameworks/projects/Effects/.project
index 6d2cc70..86f95a3 100644
--- a/frameworks/projects/Effects/.project
+++ b/frameworks/projects/Effects/.project
@@ -1,26 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
-->
<projectDescription>
<name>Effects</name>
<comment></comment>
<projects>
+ <project>Core</project>
</projects>
<buildSpec>
<buildCommand>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90801998/frameworks/projects/Flat/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/.actionScriptProperties b/frameworks/projects/Flat/.actionScriptProperties
index 92b0438..0d319f3 100644
--- a/frameworks/projects/Flat/.actionScriptProperties
+++ b/frameworks/projects/Flat/.actionScriptProperties
@@ -1,6 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<actionScriptProperties analytics="false" mainApplicationPath="Flat.as" projectUUID="ea1b31ea-3d47-4d1e-8e28-ad149f2397e1" version="11">
- <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -define=COMPILE::AS3,true -define=COMPILE::JS,false -load-config=../resources/compile-config.xml" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="target" removeUnusedRSL="true" sourceFolderPath="src/main/flex" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
@@ -25,6 +43,8 @@
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/CreateJS.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="1" path="/Core/target/Core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/HTML/target/HTML.swc" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath/>
</compiler>
[23/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Added
permanent storage option to Storage project.
Posted by ah...@apache.org.
Added permanent storage option to Storage project.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1bc555d9
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1bc555d9
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1bc555d9
Branch: refs/heads/master
Commit: 1bc555d93d756abdf804e39e0521df726d4f0dac
Parents: 6271091
Author: Peter Ent <pe...@apache.org>
Authored: Wed Mar 9 11:12:28 2016 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Mar 9 11:12:28 2016 -0500
----------------------------------------------------------------------
frameworks/projects/Storage/build.xml | 3 +
.../Storage/src/main/flex/StorageClasses.as | 9 +
.../apache/flex/storage/IPermanentStorage.as | 63 +++++++
.../org/apache/flex/storage/PermanentStorage.as | 97 +++++++++++
.../apache/flex/storage/events/FileReadEvent.as | 70 ++++++++
.../flex/storage/events/FileWriteEvent.as | 60 +++++++
.../org/apache/flex/storage/file/LocalFile.as | 84 +++++++++
.../storage/providers/AirStorageProvider.as | 165 ++++++++++++++++++
.../providers/IPermanentStorageProvider.as | 74 ++++++++
.../storage/providers/WebStorageProvider.as | 169 +++++++++++++++++++
.../src/main/resources/basic-manifest.xml | 1 +
.../Storage/src/main/resources/defaults.css | 16 ++
12 files changed, 811 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bc555d9/frameworks/projects/Storage/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/build.xml b/frameworks/projects/Storage/build.xml
index 0d5fd9a..6fc0ed5 100644
--- a/frameworks/projects/Storage/build.xml
+++ b/frameworks/projects/Storage/build.xml
@@ -30,6 +30,7 @@
<property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
<property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
<property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="CORDOVA.SWC" value="${FALCONJX_HOME}/../externs/cordova/out/bin/cordova.swc" />
<property name="target.name" value="Storage-${release.version}.swc" />
<property name="target.name.no.version" value="Storage.swc" />
@@ -118,6 +119,7 @@
<arg value="-external-library-path+=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
+ <arg value="--external-library-path+=${CORDOVA.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</java>
@@ -155,6 +157,7 @@
<arg value="-external-library-path+=${JS.SWC}" />
<!-- this is not on external-library path otherwise goog.requires are not generated -->
<arg value="-library-path+=${GCL.SWC}" />
+ <arg value="--external-library-path+=${CORDOVA.SWC}" />
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</compc>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bc555d9/frameworks/projects/Storage/src/main/flex/StorageClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/StorageClasses.as b/frameworks/projects/Storage/src/main/flex/StorageClasses.as
index db34477..92d9bd4 100644
--- a/frameworks/projects/Storage/src/main/flex/StorageClasses.as
+++ b/frameworks/projects/Storage/src/main/flex/StorageClasses.as
@@ -29,6 +29,15 @@ internal class StorageClasses
{
import org.apache.flex.storage.LocalStorage; LocalStorage;
import org.apache.flex.storage.providers.LocalStorageProvider; LocalStorageProvider;
+
+ import org.apache.flex.storage.PermanentStorage; PermanentStorage;
+ import org.apache.flex.storage.events.FileReadEvent; FileReadEvent;
+ import org.apache.flex.storage.events.FileWriteEvent; FileWriteEvent;
+
+ import org.apache.flex.storage.providers.AirStorageProvider; AirStorageProvider;
+
+ import org.apache.flex.storage.providers.WebStorageProvider; WebStorageProvider;
+
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bc555d9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/IPermanentStorage.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/IPermanentStorage.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/IPermanentStorage.as
new file mode 100644
index 0000000..d47866b
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/IPermanentStorage.as
@@ -0,0 +1,63 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage
+{
+ import org.apache.flex.events.IEventDispatcher;
+
+ /**
+ * The IPermanentStorage interface provides the template for creating
+ * an interface to a device's native file system.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public interface IPermanentStorage extends IEventDispatcher
+ {
+ /**
+ * A convenience function to read an entire file as a single
+ * string of text. The file is storaged in the application's
+ * data storage directory.
+ *
+ * @param fileName The name of the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function readTextFromDataFile( fileName:String ) : void;
+
+ /**
+ * A convenience function write a string into a file that resides in the
+ * application's data storage directory. If the file already exists it is
+ * replaced with the string.
+ *
+ * @param fileName The name of file.
+ * @param text The string to be stored.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function writeTextToDataFile( fileName:String, text:String ) : void;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bc555d9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/PermanentStorage.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/PermanentStorage.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/PermanentStorage.as
new file mode 100644
index 0000000..d1e8887
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/PermanentStorage.as
@@ -0,0 +1,97 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage
+{
+ import org.apache.flex.events.EventDispatcher;
+ import org.apache.flex.events.IEventDispatcher;
+ import org.apache.flex.core.ValuesManager;
+
+ import org.apache.flex.storage.providers.AirStorageProvider;
+ import org.apache.flex.storage.providers.IPermanentStorageProvider;
+
+ /**
+ * The PermanentStorage class provides the interface to the native
+ * file system. This classes uses the FlexJS ValuesManager to provide
+ * the actual implementation using the iStorage style.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public class PermanentStorage extends EventDispatcher implements IPermanentStorage
+ {
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function PermanentStorage()
+ {
+ super();
+ _storageProvider = ValuesManager.valuesImpl.newInstance(this, "iStorageProvider") as IPermanentStorageProvider;
+ _storageProvider.target = this;
+ }
+
+ /**
+ * @private
+ */
+ private var _storageProvider:IPermanentStorageProvider;
+
+ /**
+ * A convenience function to read an entire file as a single
+ * string of text. The file is storaged in the application's
+ * data storage directory. Dispatches a FileRead event once
+ * the data is available.
+ *
+ * @param fileName The name of the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function readTextFromDataFile( fileName:String ) : void
+ {
+ _storageProvider.readTextFromDataFile( fileName );
+ }
+
+ /**
+ * A convenience function write a string into a file that resides in the
+ * application's data storage directory. If the file already exists it is
+ * replaced with the string. Dispatches a FileWrite event once the file
+ * has been written.
+ *
+ * @param fileName The name of file.
+ * @param text The string to be stored.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function writeTextToDataFile( fileName:String, text:String ) : void
+ {
+ _storageProvider.writeTextToDataFile( fileName, text );
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bc555d9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileReadEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileReadEvent.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileReadEvent.as
new file mode 100644
index 0000000..528c36b
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileReadEvent.as
@@ -0,0 +1,70 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage.events
+{
+ import org.apache.flex.events.Event;
+
+ /**
+ * The FileReadEvent class is used to signal varies events in the life and
+ * use of permanent files.
+ *
+ * COMPLETE - The file has been completely read.
+ * ERROR - An error occurred reading or opening the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public class FileReadEvent extends Event
+ {
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function FileReadEvent(type:String)
+ {
+ super(type);
+ }
+
+ /**
+ * The data read from the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var data:String;
+
+ /**
+ * If not null, the error that occurred opening or reading the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var errorMessage:String;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bc555d9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileWriteEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileWriteEvent.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileWriteEvent.as
new file mode 100644
index 0000000..fea4542
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/events/FileWriteEvent.as
@@ -0,0 +1,60 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage.events
+{
+ import org.apache.flex.events.Event;
+
+ /**
+ * The FileWriteEvent class is used to signal varies events in the life and
+ * use of permanent files.
+ *
+ * COMPLETE - The file has been successfully written.
+ * ERROR - An error occurred writing or opening the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public class FileWriteEvent extends Event
+ {
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function FileWriteEvent(type:String)
+ {
+ super(type);
+ }
+
+ /**
+ * If not null, the error that occurred opening or writing the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var errorMessage:String;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bc555d9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/LocalFile.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/LocalFile.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/LocalFile.as
new file mode 100644
index 0000000..47b8333
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/file/LocalFile.as
@@ -0,0 +1,84 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage.file
+{
+COMPILE::AS3 {
+ import flash.filesystem.File;
+}
+COMPILE::JS {
+}
+
+/**
+ * The File class provides access to a specific file on the device.
+ */
+COMPILE::AS3
+public class LocalFile
+{
+ public static const documentsDirectory:String = "documentsDirectory";
+ public static const dataDirectory:String = "dataDirectory";
+
+ public function LocalFile(handle:Object=null)
+ {
+ _handle = handle as flash.filesystem.File;
+ }
+
+ private var _handle::flash.filesystem.File;
+
+ public function get handle():flash.filesystem.File {
+ return _handle;
+ }
+
+ static public function resolvePath(directory:String, filename:String):LocalFile {
+ var root:File;
+ if (directory == LocalFile.documentsDirectory) {
+ root = File.documentsDirectory;
+ }
+ else if (directory == LocalFile.dataDirectory) {
+ root = File.applicationStorageDirectory;
+ }
+ var result:LocalFile = new LocalFile(root.resolvePath(filename));
+ return result;
+ }
+}
+
+COMPILE::JS
+public class LocalFile
+{
+ public static const documentsDirectory:String = cordova.file.documentsDirectory;
+ public static const dataDirectory:String = cordova.file.dataDirectory;
+
+ private var _handle:cordova.File;
+
+ public function get handle():cordova.File {
+ return _handle;
+ }
+
+ static public function resolvePath(directory:String, filename:String):LocalFile {
+ var pathToFile = directory + filename;
+ var result:File = new File();
+ window.resolveLocalFileSystemURL(pathToFile, function(fileEntry) {
+ fileEntry.file(function (file) {
+ this.result._handle = file;
+ })
+ });
+ return result;
+ }
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bc555d9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/AirStorageProvider.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/AirStorageProvider.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/AirStorageProvider.as
new file mode 100644
index 0000000..185b6a3
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/AirStorageProvider.as
@@ -0,0 +1,165 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage.providers
+{
+ import org.apache.flex.events.EventDispatcher;
+ import org.apache.flex.events.IEventDispatcher;
+
+ COMPILE::AS3 {
+ import flash.filesystem.File;
+ import flash.filesystem.FileMode;
+ import flash.filesystem.FileStream;
+ import flash.utils.ByteArray;
+ import flash.errors.IOError;
+ }
+
+ import org.apache.flex.storage.events.FileReadEvent;
+ import org.apache.flex.storage.events.FileWriteEvent;
+
+ /**
+ * The AirStorageProvider class implements the IPermanentStorageProvider
+ * interface for saving files to a mobile device using the Adobe(tm) AIR platform.
+ *
+ * @flexjsignorecoercion FileEntry
+ * @flexjsignorecoercion FileWriter
+ * @flexjsignorecoercion window
+ * @flexjsignorecoercion Blob
+ */
+ public class AirStorageProvider extends EventDispatcher implements IPermanentStorageProvider
+ {
+ /**
+ * Constructor.
+ *
+ * @param target The target dispatcher for events as files are read and written.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function AirStorageProvider(target:IEventDispatcher=null)
+ {
+ super();
+ _target = target;
+ }
+
+ /**
+ * The target dispatcher for events as files are read and written.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get target():IEventDispatcher
+ {
+ return _target;
+ }
+ public function set target(value:IEventDispatcher):void
+ {
+ _target = value;
+ }
+
+ /**
+ * @private
+ */
+ private var _target:IEventDispatcher;
+
+ /**
+ * A convenience function to read an entire file as a single
+ * string of text. The file is storaged in the application's
+ * data storage directory. Dispatches a FileRead event once
+ * the data is available.
+ *
+ * @param fileName The name of the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function readTextFromDataFile( fileName:String ) : void
+ {
+ COMPILE::AS3 {
+ var file:File = File.applicationStorageDirectory.resolvePath(fileName);
+
+ if (!file.exists) {
+ var errEvent:FileReadEvent = new FileReadEvent("ERROR");
+ errEvent.errorMessage = "File does not exist.";
+ _target.dispatchEvent(errEvent);
+ return;
+ }
+
+ var stream:FileStream = new FileStream();
+
+ stream.open(file, FileMode.READ);
+ var bytes:ByteArray = new ByteArray();
+ stream.readBytes(bytes);
+ stream.close();
+
+ var text:String = new String(bytes);
+
+ var newEvent:FileReadEvent = new FileReadEvent("COMPLETE");
+ newEvent.data = text;
+ _target.dispatchEvent(newEvent);
+ }
+ }
+
+ /**
+ * A convenience function write a string into a file that resides in the
+ * application's data storage directory. If the file already exists it is
+ * replaced with the string. Dispatches a FileWrite event once the file
+ * has been written.
+ *
+ * @param fileName The name of file.
+ * @param text The string to be stored.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function writeTextToDataFile( fileName:String, text:String ) : void
+ {
+ COMPILE::AS3 {
+ var file:File = File.applicationStorageDirectory.resolvePath(fileName);
+ var stream:FileStream = new FileStream();
+
+ try {
+ stream.open(file, FileMode.WRITE);
+ stream.writeUTFBytes(text);
+ stream.close();
+ } catch(ioerror:IOError) {
+ var ioEvent:FileWriteEvent = new FileWriteEvent("ERROR");
+ ioEvent.errorMessage = "I/O Error";
+ _target.dispatchEvent(ioEvent);
+ return;
+ } catch(secerror:SecurityError) {
+ var secEvent:FileWriteEvent = new FileWriteEvent("ERROR");
+ secEvent.errorMessage = "Security Error";
+ _target.dispatchEvent(secEvent);
+ return;
+ }
+
+ var newEvent:FileWriteEvent = new FileWriteEvent("COMPLETE");
+ _target.dispatchEvent(newEvent);
+ }
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bc555d9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/IPermanentStorageProvider.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/IPermanentStorageProvider.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/IPermanentStorageProvider.as
new file mode 100644
index 0000000..023b1a7
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/IPermanentStorageProvider.as
@@ -0,0 +1,74 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage.providers
+{
+ import org.apache.flex.events.IEventDispatcher;
+
+ /**
+ * This interface provides the template for creating classes the work
+ * with the permanent storages API of the native system.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public interface IPermanentStorageProvider
+ {
+ /**
+ * The target dispatcher for events.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function get target():IEventDispatcher;
+ function set target(value:IEventDispatcher):void;
+
+ /**
+ * A convenience function to read an entire file as a single
+ * string of text. The file is storaged in the application's
+ * data storage directory.
+ *
+ * @param fileName The name of the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function readTextFromDataFile( fileName:String ) : void;
+
+ /**
+ * A convenience function write a string into a file that resides in the
+ * application's data storage directory. If the file already exists it is
+ * replaced with the string.
+ *
+ * @param fileName The name of file.
+ * @param text The string to be stored.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function writeTextToDataFile( fileName:String, text:String ) : void;
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bc555d9/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/WebStorageProvider.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/WebStorageProvider.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/WebStorageProvider.as
new file mode 100644
index 0000000..557b591
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/providers/WebStorageProvider.as
@@ -0,0 +1,169 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage.providers
+{
+ import org.apache.flex.events.EventDispatcher;
+ import org.apache.flex.events.IEventDispatcher;
+
+ import org.apache.flex.storage.events.FileReadEvent;
+ import org.apache.flex.storage.events.FileWriteEvent;
+
+ /**
+ * The WebStorageProvider class implements the IPermanentStorageProvider
+ * interface for saving files to a mobile device.
+ *
+ * @flexjsignorecoercion FileEntry
+ * @flexjsignorecoercion FileWriter
+ * @flexjsignorecoercion window
+ * @flexjsignorecoercion Blob
+ */
+ public class WebStorageProvider extends EventDispatcher implements IPermanentStorageProvider
+ {
+ /**
+ * Constructor.
+ *
+ * @param target The target dispatcher for events as files are read and written.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function WebStorageProvider(target:IEventDispatcher=null)
+ {
+ super();
+ _target = target;
+ }
+
+ /**
+ * @private
+ */
+ private var _target:IEventDispatcher;
+
+ /**
+ * The target dispatcher for events as files are read and written.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get target():IEventDispatcher
+ {
+ return _target;
+ }
+ public function set target(value:IEventDispatcher):void
+ {
+ _target = value;
+ }
+
+ /**
+ * A convenience function to read an entire file as a single
+ * string of text. The file is storaged in the application's
+ * data storage directory. Dispatches a FileRead event once
+ * the data is available.
+ *
+ * @param fileName The name of the file.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function readTextFromDataFile( fileName:String ) : void
+ {
+ COMPILE::JS {
+ var fullPath:String = String(cordova["file"]["dataDirectory"]) + fileName;
+
+ window.resolveLocalFileSystemURL(fullPath, function (fileEntry):void {
+ fileEntry.file(function (file):void {
+ var reader:FileReader = new FileReader();
+ reader.onloadend = function (e):void {
+ var newEvent:FileReadEvent = new FileReadEvent("COMPLETE");
+ newEvent.data = this.result;
+ _target.dispatchEvent(newEvent);
+ };
+ reader.readAsText(file);
+ }, function (e):void {
+ var errEvent:FileReadEvent = new FileReadEvent("ERROR");
+ errEvent.errorMessage = "Cannot open file for reading";
+ _target.dispatchEvent(errEvent);
+ });
+ }, function (e):void {
+ var errEvent:FileReadEvent = new FileReadEvent("ERROR");
+ errEvent.errorMessage = "File does not exist";
+ _target.dispatchEvent(errEvent);
+ });
+ }
+ }
+
+ /**
+ * A convenience function write a string into a file that resides in the
+ * application's data storage directory. If the file already exists it is
+ * replaced with the string. Dispatches a FileWrite event once the file
+ * has been written.
+ *
+ * @param fileName The name of file.
+ * @param text The string to be stored.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function writeTextToDataFile( fileName:String, text:String ) : void
+ {
+ COMPILE::JS {
+ var fullPath:String = String(cordova["file"]["dataDirectory"]) + fileName;
+
+ window.resolveLocalFileSystemURL(cordova.file.dataDirectory, function (directoryEntry):void {
+ directoryEntry.getFile(fileName, { 'create': true }, function (fileEntry):void {
+ fileEntry.createWriter(function (fileWriter):void {
+ fileWriter.onwriteend = function (e):void {
+ var newEvent:FileWriteEvent = new FileWriteEvent("COMPLETE");
+ _target.dispatchEvent(newEvent);
+ };
+
+ fileWriter.onerror = function (e):void {
+ var newEvent:FileWriteEvent = new FileWriteEvent("ERROR");
+ newEvent.errorMessage = "Failed to write the file.";
+ _target.dispatchEvent(newEvent);
+ };
+
+ var blob:Blob = new Blob([text], { type: 'text/plain' });
+ fileWriter.write(blob);
+ }, function(e):void {
+ var errEvent:FileWriteEvent = new FileWriteEvent("ERROR");
+ errEvent.errorMessage = "Cannot open file for writing.";
+ _target.dispatchEvent(errEvent);
+ });
+ }, function(e):void {
+ var errEvent:FileWriteEvent = new FileWriteEvent("ERROR");
+ errEvent.errorMessage = "Cannot create file.";
+ _target.dispatchEvent(errEvent);
+ });
+ }, function(e):void {
+ var errEvent:FileWriteEvent = new FileWriteEvent("ERROR");
+ errEvent.errorMessage = "Cannot create file.";
+ _target.dispatchEvent(errEvent);
+ });
+ }
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bc555d9/frameworks/projects/Storage/src/main/resources/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/resources/basic-manifest.xml b/frameworks/projects/Storage/src/main/resources/basic-manifest.xml
index b502203..b82c859 100644
--- a/frameworks/projects/Storage/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Storage/src/main/resources/basic-manifest.xml
@@ -21,4 +21,5 @@
<componentPackage>
<component id="LocalStorage" class="org.apache.flex.storage.LocalStorage"/>
+ <component id="PermanentStorage" class="org.apache.flex.storage.PermanentStorage"/>
</componentPackage>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1bc555d9/frameworks/projects/Storage/src/main/resources/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/resources/defaults.css b/frameworks/projects/Storage/src/main/resources/defaults.css
index 9d82e6f..dd88207 100644
--- a/frameworks/projects/Storage/src/main/resources/defaults.css
+++ b/frameworks/projects/Storage/src/main/resources/defaults.css
@@ -23,4 +23,20 @@
LocalStorage
{
IStorageProvider: ClassReference("org.apache.flex.storage.providers.LocalStorageProvider");
+}
+
+PermanentStorage
+{
+ IStorageProvider: ClassReference("org.apache.flex.storage.providers.WebStorageProvider");
+}
+
+@media -flex-flash
+{
+/**
+ * StorageProvider for AIR platform
+ */
+PermanentStorage
+{
+ IStorageProvider: ClassReference("org.apache.flex.storage.providers.AirStorageProvider");
+}
}
\ No newline at end of file
[28/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - try
fixing up headers. Some day,
we should try pulling most of these files from the flex-falcon externs. Most
files are copies with some tweaks to jsdoc to make asdoc happy
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewService.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewService.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewService.as
index ae969f8..08f12c4 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewService.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewService.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewStatus.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewStatus.as
index 04a9a11..a89fc9e 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewStatus.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StreetViewStatus.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StrokePosition.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StrokePosition.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StrokePosition.as
index 14fb79a..a759efc 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StrokePosition.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StrokePosition.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StyledMapType.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StyledMapType.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StyledMapType.as
index f4a420d..cc1156a 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StyledMapType.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/StyledMapType.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/SymbolPath.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/SymbolPath.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/SymbolPath.as
index 3e7a7dc..d6bf376 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/SymbolPath.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/SymbolPath.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/TrafficLayer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/TrafficLayer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/TrafficLayer.as
index c00139d..9c64365 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/TrafficLayer.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/TrafficLayer.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/TransitLayer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/TransitLayer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/TransitLayer.as
index c0a5be2..9435a3e 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/TransitLayer.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/TransitLayer.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/TravelMode.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/TravelMode.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/TravelMode.as
index 2ba3b84..9792ef1 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/TravelMode.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/TravelMode.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/UnitSystem.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/UnitSystem.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/UnitSystem.as
index 3b349c0..d0adabf 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/UnitSystem.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/UnitSystem.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ZoomControlStyle.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ZoomControlStyle.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ZoomControlStyle.as
index 842bd64..ca684fe 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ZoomControlStyle.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ZoomControlStyle.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/adsense.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/adsense.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/adsense.as
index 58a178e..805344b 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/adsense.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/adsense.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
import google.maps.adsense.AdFormat;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/adsense/AdFormat.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/adsense/AdFormat.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/adsense/AdFormat.as
index cfb9242..7fd1b03 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/adsense/AdFormat.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/adsense/AdFormat.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.adsense {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/adsense/AdUnit.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/adsense/AdUnit.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/adsense/AdUnit.as
index 8cf5742..f4d5126 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/adsense/AdUnit.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/adsense/AdUnit.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.adsense {
import google.maps.Map;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing.as
index 81e538c..30168d2 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
import google.maps.drawing.OverlayType;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing/DrawingManager.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing/DrawingManager.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing/DrawingManager.as
index 2c42ac2..77008db 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing/DrawingManager.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing/DrawingManager.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.drawing {
import google.maps.Map;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing/OverlayCompleteEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing/OverlayCompleteEvent.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing/OverlayCompleteEvent.as
index cb49e00..18530b5 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing/OverlayCompleteEvent.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing/OverlayCompleteEvent.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.drawing {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing/OverlayType.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing/OverlayType.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing/OverlayType.as
index 0ce18e6..16bdc6d 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing/OverlayType.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/drawing/OverlayType.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.drawing {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/event.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/event.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/event.as
index 2a67d02..ee7a9b6 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/event.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/event.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry.as
index 5d72731..974611e 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
import google.maps.geometry.spherical;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry/encoding.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry/encoding.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry/encoding.as
index c88b290..e350f84 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry/encoding.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry/encoding.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.geometry {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry/poly.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry/poly.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry/poly.as
index 573db4d..d24794d 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry/poly.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry/poly.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.geometry {
import google.maps.LatLng;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry/spherical.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry/spherical.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry/spherical.as
index 78dbb08..7eb0558 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry/spherical.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/geometry/spherical.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.geometry {
import google.maps.LatLng;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/panoramio.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/panoramio.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/panoramio.as
index 25ebe7a..0e88a30 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/panoramio.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/panoramio.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/panoramio/PanoramioLayer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/panoramio/PanoramioLayer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/panoramio/PanoramioLayer.as
index a6bd5ff..cb721a8 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/panoramio/PanoramioLayer.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/panoramio/PanoramioLayer.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.panoramio {
import google.maps.Map;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places.as
index 0706b50..047a21a 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
import google.maps.places.RankBy;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/Autocomplete.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/Autocomplete.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/Autocomplete.as
index e1bf0f0..bb9bba7 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/Autocomplete.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/Autocomplete.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.places {
import google.maps.MVCObject;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/AutocompleteService.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/AutocompleteService.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/AutocompleteService.as
index 48399b4..f0b183f 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/AutocompleteService.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/AutocompleteService.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.places {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/ComponentRestrictions.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/ComponentRestrictions.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/ComponentRestrictions.as
index 7168e10..151e398 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/ComponentRestrictions.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/ComponentRestrictions.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.places {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PhotoOptions.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PhotoOptions.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PhotoOptions.as
index b241e72..8223a0e 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PhotoOptions.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PhotoOptions.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.places {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceAspectRating.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceAspectRating.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceAspectRating.as
index f358773..aed6f87 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceAspectRating.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceAspectRating.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.places {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceGeometry.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceGeometry.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceGeometry.as
index dedf940..d4866c7 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceGeometry.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceGeometry.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.places {
import google.maps.LatLng;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceResult.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceResult.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceResult.as
index 141b4e9..23e09ae 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceResult.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceResult.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.places {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceReview.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceReview.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceReview.as
index daf9a63..995573f 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceReview.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceReview.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.places {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceSearchPagination.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceSearchPagination.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceSearchPagination.as
index 376e07f..ebfe0f2 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceSearchPagination.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlaceSearchPagination.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.places {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlacesService.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlacesService.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlacesService.as
index e8c5a5a..e503f28 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlacesService.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlacesService.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.places {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlacesServiceStatus.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlacesServiceStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlacesServiceStatus.as
index 94b4702..5f51e6f 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlacesServiceStatus.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/PlacesServiceStatus.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.places {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/RankBy.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/RankBy.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/RankBy.as
index a744e12..455be4e 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/RankBy.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/RankBy.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.places {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/SearchBox.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/SearchBox.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/SearchBox.as
index 20ae004..0acb0ab 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/SearchBox.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/places/SearchBox.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.places {
import google.maps.MVCObject;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization.as
index 0547a3f..09db553 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
import google.maps.visualization.MapsEngineStatus;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/DemographicsLayer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/DemographicsLayer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/DemographicsLayer.as
index d4e8bc3..ffd70af 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/DemographicsLayer.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/DemographicsLayer.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.visualization {
import google.maps.Map;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/HeatmapLayer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/HeatmapLayer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/HeatmapLayer.as
index 8de2728..336802d 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/HeatmapLayer.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/HeatmapLayer.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.visualization {
import google.maps.Map;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/MapsEngineLayer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/MapsEngineLayer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/MapsEngineLayer.as
index 561df98..ca229c1 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/MapsEngineLayer.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/MapsEngineLayer.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.visualization {
import google.maps.Map;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/MapsEngineStatus.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/MapsEngineStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/MapsEngineStatus.as
index 68a2adc..40b4c63 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/MapsEngineStatus.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/visualization/MapsEngineStatus.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.visualization {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather.as
index d995229..a69320b 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps {
import google.maps.weather.WindSpeedUnit;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/CloudLayer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/CloudLayer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/CloudLayer.as
index 9914927..c698bec 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/CloudLayer.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/CloudLayer.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.weather {
import google.maps.Map;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/LabelColor.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/LabelColor.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/LabelColor.as
index a46098b..2be2c44 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/LabelColor.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/LabelColor.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.weather {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/TemperatureUnit.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/TemperatureUnit.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/TemperatureUnit.as
index f7a49e1..e178894 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/TemperatureUnit.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/TemperatureUnit.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.weather {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/WeatherLayer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/WeatherLayer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/WeatherLayer.as
index b76c968..a28987e 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/WeatherLayer.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/WeatherLayer.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.weather {
import google.maps.Map;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/WindSpeedUnit.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/WindSpeedUnit.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/WindSpeedUnit.as
index a4aaaab..5d98bd8 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/WindSpeedUnit.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/weather/WindSpeedUnit.as
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ */
package google.maps.weather {
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/pseudo/HTMLInputElement.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/pseudo/HTMLInputElement.as b/frameworks/projects/GoogleMaps/src/main/flex/google/pseudo/HTMLInputElement.as
index 27b12aa..59bde13 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/pseudo/HTMLInputElement.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/pseudo/HTMLInputElement.as
@@ -1,3 +1,23 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+// used to quiet errors in asdoc
package google.pseudo {
public class HTMLInputElement extends Object {
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26a26621/frameworks/projects/GoogleMaps/src/main/flex/google/pseudo/Node.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/pseudo/Node.as b/frameworks/projects/GoogleMaps/src/main/flex/google/pseudo/Node.as
index 3f67a33..cd4bba1 100644
--- a/frameworks/projects/GoogleMaps/src/main/flex/google/pseudo/Node.as
+++ b/frameworks/projects/GoogleMaps/src/main/flex/google/pseudo/Node.as
@@ -1,3 +1,23 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+// used to quiet issues with asdoc
package google.pseudo {
public class Node extends Object {
}
[14/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Added
Tree component to FlexJS. Includes HierarchicalData collection.
Posted by ah...@apache.org.
Added Tree component to FlexJS. Includes HierarchicalData collection.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d0dddc1f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d0dddc1f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d0dddc1f
Branch: refs/heads/master
Commit: d0dddc1f7184ed840873a6fb094312fc42f2f9bc
Parents: d75af20
Author: Peter Ent <pe...@apache.org>
Authored: Thu Feb 18 13:53:40 2016 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Thu Feb 18 13:53:40 2016 -0500
----------------------------------------------------------------------
examples/build.xml | 2 +
.../src/productsView/ProductListItem.mxml | 10 +
examples/flexjs/TreeExample/build.xml | 44 +++
examples/flexjs/TreeExample/pom.xml | 50 ++++
.../flexjs/TreeExample/src/MyInitialView.mxml | 37 +++
.../flexjs/TreeExample/src/TreeExample.mxml | 36 +++
.../flexjs/TreeExample/src/models/MyModel.as | 72 +++++
.../src/main/flex/CollectionsClasses.as | 2 +
.../apache/flex/collections/FlattenedList.as | 203 ++++++++++++++
.../apache/flex/collections/HierarchicalData.as | 269 +++++++++++++++++++
.../flex/collections/IHierarchicalData.as | 119 ++++++++
.../src/main/resources/basic-manifest.xml | 1 +
.../projects/HTML/src/main/flex/HTMLClasses.as | 6 +-
.../src/main/flex/org/apache/flex/html/Tree.as | 73 +++++
...ataItemRendererFactoryForHierarchicalData.as | 109 ++++++++
.../ListSingleSelectionMouseController.as | 10 +-
.../TreeSingleSelectionMouseController.as | 82 ++++++
.../html/supportClasses/StringItemRenderer.as | 3 -
.../html/supportClasses/TreeItemRenderer.as | 59 ++++
.../flex/html/supportClasses/TreeListData.as | 76 ++++++
.../HTML/src/main/resources/basic-manifest.xml | 2 +
.../HTML/src/main/resources/defaults.css | 22 ++
22 files changed, 1277 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/examples/build.xml
----------------------------------------------------------------------
diff --git a/examples/build.xml b/examples/build.xml
index 894573e..7efccfc 100644
--- a/examples/build.xml
+++ b/examples/build.xml
@@ -86,6 +86,7 @@
<ant dir="${basedir}/flexjs/MobileTrader"/>
<ant dir="${basedir}/flexjs/ChartExample"/>
<ant dir="${basedir}/flexjs/TodoListSampleApp"/>
+ <ant dir="${basedir}/flexjs/TreeExample"/>
<ant dir="${basedir}/native/ButtonExample"/>
<ant dir="${basedir}/native/USStatesMap"/>
</target>
@@ -113,6 +114,7 @@
<ant dir="${basedir}/flexjs/MobileTrader" target="clean"/>
<ant dir="${basedir}/flexjs/ChartExample" target="clean"/>
<ant dir="${basedir}/flexjs/TodoListSampleApp" target="clean"/>
+ <ant dir="${basedir}/flexjs/TreeExample" target="clean"/>
<ant dir="${basedir}/native/ButtonExample" target="clean"/>
<ant dir="${basedir}/native/USStatesMap" target="clean"/>
</target>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/examples/flexjs/FlexJSStore/src/productsView/ProductListItem.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/productsView/ProductListItem.mxml b/examples/flexjs/FlexJSStore/src/productsView/ProductListItem.mxml
index 2864cca..8e98c3b 100755
--- a/examples/flexjs/FlexJSStore/src/productsView/ProductListItem.mxml
+++ b/examples/flexjs/FlexJSStore/src/productsView/ProductListItem.mxml
@@ -60,6 +60,16 @@ limitations under the License.
{
_data = value;
}
+
+ public function get listData():Object
+ {
+ return null;
+ }
+
+ public function set listData(value:Object):void
+ {
+ // not used
+ }
private var _itemRendererParent:Object;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/examples/flexjs/TreeExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/TreeExample/build.xml b/examples/flexjs/TreeExample/build.xml
new file mode 100644
index 0000000..c2fcd0d
--- /dev/null
+++ b/examples/flexjs/TreeExample/build.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+
+
+<project name="treeexample" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../.."/>
+ <property name="example" value="TreeExample" />
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+
+ <include file="${basedir}/../../build_example.xml" />
+
+ <property name="extlib_arg" value="-external-library-path=${FALCONJX_HOME}/../externs/js/out/bin/js.swc"/>
+
+ <target name="main" depends="clean,build_example.compile,build_example.compilejs" description="Clean build of ${example}">
+ </target>
+
+ <target name="clean">
+ <delete dir="${basedir}/bin" failonerror="false" />
+ <delete dir="${basedir}/bin-debug" failonerror="false" />
+ <delete dir="${basedir}/bin-release" failonerror="false" />
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/examples/flexjs/TreeExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/TreeExample/pom.xml b/examples/flexjs/TreeExample/pom.xml
new file mode 100644
index 0000000..1cf03f8
--- /dev/null
+++ b/examples/flexjs/TreeExample/pom.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.examples.flexjs</groupId>
+ <artifactId>examples</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>TreeExample</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <sourceFile>TreeExample.mxml</sourceFile>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/examples/flexjs/TreeExample/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/TreeExample/src/MyInitialView.mxml b/examples/flexjs/TreeExample/src/MyInitialView.mxml
new file mode 100644
index 0000000..d7fa22f
--- /dev/null
+++ b/examples/flexjs/TreeExample/src/MyInitialView.mxml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic">
+
+ <js:beads>
+ <js:ViewBaseDataBinding />
+ </js:beads>
+
+ <js:Tree id="tree" x="30" y="30" width="400" height="300"
+ labelField="title">
+ <js:beads>
+ <js:ConstantBinding
+ sourceID="applicationModel"
+ sourcePropertyName="treeData"
+ destinationPropertyName="dataProvider" />
+ </js:beads>
+ </js:Tree>
+
+</js:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/examples/flexjs/TreeExample/src/TreeExample.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/TreeExample/src/TreeExample.mxml b/examples/flexjs/TreeExample/src/TreeExample.mxml
new file mode 100644
index 0000000..e969146
--- /dev/null
+++ b/examples/flexjs/TreeExample/src/TreeExample.mxml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!---
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+-->
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:local="*"
+ xmlns:models="models.*"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
+ >
+
+ <js:valuesImpl>
+ <js:SimpleCSSValuesImpl />
+ </js:valuesImpl>
+ <js:model>
+ <models:MyModel />
+ </js:model>
+ <js:initialView>
+ <local:MyInitialView />
+ </js:initialView>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/examples/flexjs/TreeExample/src/models/MyModel.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/TreeExample/src/models/MyModel.as b/examples/flexjs/TreeExample/src/models/MyModel.as
new file mode 100644
index 0000000..d224293
--- /dev/null
+++ b/examples/flexjs/TreeExample/src/models/MyModel.as
@@ -0,0 +1,72 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package models
+{
+ import org.apache.flex.events.Event;
+ import org.apache.flex.events.EventDispatcher;
+ import org.apache.flex.collections.HierarchicalData;
+
+ public class MyModel extends EventDispatcher
+ {
+ public function MyModel()
+ {
+ treeData = new HierarchicalData(store);
+ treeData.childrenField = "children";
+ }
+
+ public var treeData:HierarchicalData;
+
+ private var store:Object = { title:"That's Entertainment",
+ children:[
+ {title:"My Music",
+ children:[
+ {title:"Language and Perspective", artist:"Bad Suns",
+ children:[
+ {title:"Matthew James", length:"3:24"},
+ {title:"We Move Like the Ocean", length:"3:56"},
+ {title:"Cardiac Arrest", length:"3:15"}
+ ]},
+ {title:"Strange Desire", artist:"Bleachers",
+ children:[
+ {title:"Wild Heart", length:"4:15"},
+ {title:"Rollercoaster", length:"3:39"},
+ {title:"Shadow", length:"3:46"},
+ {title:"I Wanna Get Better", length:"4:23"}
+ ]}
+ ]},
+ {title:"My Books",
+ children:[
+ {title:"Wizard of Oz",
+ children:[
+ {title:"So this is Kansas?", length:"82"},
+ {title:"A Might Dusty Here", length:"63"},
+ {title:"Is that a Tornado?", length:"103"}
+ ]},
+ {title:"Favorite Book #2",
+ children:[
+ {title:"Chapter 1", length:"15"},
+ {title:"Chapter 2", length:"86"},
+ {title:"Chapter 3", length:"104"},
+ {title:"Chapter 4", length:"99"}
+ ]}
+ ]}
+ ]};
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/frameworks/projects/Collections/src/main/flex/CollectionsClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/flex/CollectionsClasses.as b/frameworks/projects/Collections/src/main/flex/CollectionsClasses.as
index 5112c5c..58e601f 100644
--- a/frameworks/projects/Collections/src/main/flex/CollectionsClasses.as
+++ b/frameworks/projects/Collections/src/main/flex/CollectionsClasses.as
@@ -28,6 +28,8 @@ package
internal class CollectionsClasses
{
import org.apache.flex.collections.ArrayList; ArrayList;
+ import org.apache.flex.collections.FlattenedList; FlattenedList;
+ import org.apache.flex.collections.HierarchicalData; HierarchicalData;
import org.apache.flex.collections.LazyCollection; LazyCollection;
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/FlattenedList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/FlattenedList.as b/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/FlattenedList.as
new file mode 100644
index 0000000..3fd98be
--- /dev/null
+++ b/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/FlattenedList.as
@@ -0,0 +1,203 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.collections
+{
+ import org.apache.flex.core.IBead;
+ import org.apache.flex.core.IStrand;
+ import org.apache.flex.events.Event;
+ import org.apache.flex.events.EventDispatcher;
+ import org.apache.flex.events.IEventDispatcher;
+ import org.apache.flex.collections.parsers.IInputParser;
+ import org.apache.flex.collections.converters.IItemConverter;
+
+
+ /**
+ * The FlattenedList class takes a HierarchicalData object and "flattens" it
+ * using all of the open members.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public class FlattenedList extends ArrayList
+ {
+ public var hdata:HierarchicalData;
+ public var openNodes:Array;
+
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function FlattenedList(hdata:HierarchicalData)
+ {
+ super();
+ this.hdata = hdata;
+ this.openNodes = [];
+ reset();
+ }
+
+ /**
+ * Resets the list so that only the top root node is open.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function reset():void
+ {
+ var arr:Array = [];
+ addChildren(hdata.getRoot(), arr);
+ source = arr;
+ }
+
+ /**
+ * @private
+ */
+ protected function addChildren(node:Object, arr:Array):void
+ {
+ var children:Array = hdata.getChildren(node) as Array;
+ var n:int = children.length;
+
+ for (var i:int=0; i < n; i++) {
+ arr.push(children[i]);
+ if (isOpen(children[i])) {
+ addChildren(children[i], arr);
+ }
+ }
+ }
+
+ /**
+ * Returns true if the node has children nodes.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function hasChildren(node:Object):Boolean
+ {
+ return hdata.hasChildren(node);
+ }
+
+ /**
+ * Returns true if the node is currently open.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function isOpen(node:Object):Boolean
+ {
+ return openNodes.indexOf(node) != -1;
+ }
+
+ /**
+ * Opens the given node. The array data now contains more elements.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function openNode(node:Object):void
+ {
+ if (hdata.hasChildren(node)) {
+ openNodes.push(node);
+ var arr:Array = [];
+ addChildren(node, arr);
+ var i:int = getItemIndex(node);
+ while (arr.length) {
+ addItemAt(arr.shift(), ++i);
+ }
+ }
+ }
+
+ /**
+ * Closes the given node. The array data now contains fewer elements.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function closeNode(node:Object):void
+ {
+ var i:int = openNodes.indexOf(node);
+ if (i != -1) {
+
+ if (hdata.hasChildren(node)) {
+ var children:Array = hdata.getChildren(node) as Array;
+ var n:int = children.length;
+ for (var j:int=0; j < n; j++) {
+ closeNode(children[j]);
+ }
+ }
+
+ openNodes.splice(i, 1);
+ var arr:Array = [];
+ addChildren(node, arr);
+ i = getItemIndex(node) + 1;
+ while (arr.length) {
+ removeItemAt(i);
+ arr.shift();
+ }
+ }
+ }
+
+ /**
+ * Returns the depth of the node with the root being zero.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function getDepth(node:Object):int
+ {
+ var depth:int = godeep(node, hdata.getRoot(), 0);
+ return depth;
+ }
+
+ /**
+ * @private
+ */
+ private function godeep(seeking:Object, node:Object, depth:int):int
+ {
+ if (seeking == node) return depth;
+
+ if (hdata.hasChildren(node)) {
+ var children:Array = hdata.getChildren(node) as Array;
+ for (var i:int=0; i < children.length; i++) {
+ var newDepth:int = godeep(seeking, children[i], depth+1)
+ if (newDepth > 0) return newDepth;
+ }
+ }
+
+ return -1;
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/HierarchicalData.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/HierarchicalData.as b/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/HierarchicalData.as
new file mode 100644
index 0000000..fb4b607
--- /dev/null
+++ b/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/HierarchicalData.as
@@ -0,0 +1,269 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package org.apache.flex.collections
+{
+
+import org.apache.flex.events.Event;
+import org.apache.flex.events.EventDispatcher;
+
+
+/**
+ * Hierarchical data is data already in a structure of parent and child data items.
+ * The HierarchicalData class provides a default implementation for
+ * accessing and manipulating data.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+public class HierarchicalData extends EventDispatcher implements IHierarchicalData
+{
+ //--------------------------------------------------------------------------
+ //
+ // Constructor
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * Constructor.
+ *
+ * @param value The data used to populate the HierarchicalData instance.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function HierarchicalData(value:Object = null)
+ {
+ super();
+
+ source = value;
+ }
+
+ //--------------------------------------------------------------------------
+ //
+ // Properties
+ //
+ //--------------------------------------------------------------------------
+
+ //--------------------------------------------------------------------------
+ // childrenField
+ //--------------------------------------------------------------------------
+
+ /**
+ * @private
+ * The field name to be used to detect children field.
+ */
+ private var _childrenField:String = "children";
+
+ /**
+ * Indicates the field name to be used to detect children objects in
+ * a data item.
+ * By default, all subnodes are considered as children for
+ * XML data, and the <code>children</code> property is used for the Object data type.
+ *
+ * This is helpful in adapting to a data format that uses custom data fields
+ * to represent children.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get childrenField():String
+ {
+ return _childrenField;
+ }
+
+ /**
+ * @private
+ */
+ public function set childrenField(value:String):void
+ {
+ _childrenField = value;
+ }
+
+ //--------------------------------------------------------------------------
+ // source
+ //--------------------------------------------------------------------------
+
+ /**
+ * @private
+ * The source collection.
+ */
+ private var _source:Object;
+
+ /**
+ * The source collection.
+ * The collection should implement the IList interface
+ * to facilitate operation like the addition and removal of items.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get source():Object
+ {
+ return _source;
+ }
+
+ /**
+ * @private
+ */
+ public function set source(value:Object):void
+ {
+ _source = value;
+
+ dispatchEvent(new Event("collectionChanged"));
+ }
+
+ //--------------------------------------------------------------------------
+ //
+ // Methods
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * @inheritDoc
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function canHaveChildren(node:Object):Boolean
+ {
+ if (node == null)
+ return false;
+
+ var branch:Boolean = false;
+
+ if (node is Object)
+ {
+ try
+ {
+ if (node[childrenField] != undefined)
+ {
+ branch = true;
+ }
+ }
+ catch (e:Error)
+ {
+ }
+ }
+ return branch;
+ }
+
+ /**
+ * @inheritDoc
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function getChildren(node:Object):Object
+ {
+ if (node == null)
+ return null;
+
+ var children:*;
+
+ //first get the children based on the type of node.
+ if (node is Object)
+ {
+ //we'll try the default children property
+ try
+ {
+ children = node[childrenField];
+ }
+ catch (e:Error)
+ {
+ }
+ }
+
+ //no children exist for this node
+ if(children === undefined)
+ return null;
+
+ return children;
+ }
+
+ /**
+ * @inheritDoc
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function hasChildren(node:Object):Boolean
+ {
+ if (node == null)
+ return false;
+
+ //This default impl can't optimize this call to getChildren
+ //since we can't make any assumptions by type. Custom impl's
+ //can probably avoid this call and reduce the number of calls to
+ //getChildren if need be.
+ var children:Object = getChildren(node);
+ try
+ {
+ if (children.length > 0)
+ return true;
+ }
+ catch (e:Error)
+ {
+ }
+ return false;
+ }
+
+ /**
+ * @inheritDoc
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function getData(node:Object):Object
+ {
+ return Object(node);
+ }
+
+ /**
+ * @inheritDoc
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function getRoot():Object
+ {
+ return source;
+ }
+
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/IHierarchicalData.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/IHierarchicalData.as b/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/IHierarchicalData.as
new file mode 100644
index 0000000..5ff2b65
--- /dev/null
+++ b/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/IHierarchicalData.as
@@ -0,0 +1,119 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package org.apache.flex.collections
+{
+import org.apache.flex.events.IEventDispatcher;
+
+/**
+ * The IHierarchicalData interface defines the interface
+ * used to represent hierarchical data as the data provider for
+ * a FlexJS component.
+ * Hierarchical data is data in a structure of parent
+ * and child data items.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+public interface IHierarchicalData extends IEventDispatcher
+{
+ //--------------------------------------------------------------------------
+ //
+ // Methods
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * Returns <code>true</code> if the node can contain children.
+ *
+ * <p>Nodes do not have to contain children for the method
+ * to return <code>true</code>.
+ * This method is useful in determining whether other
+ * nodes can be appended as children to the specified node.</p>
+ *
+ * @param node The Object that defines the node.
+ *
+ * @return <code>true</code> if the node can contain children.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function canHaveChildren(node:Object):Boolean;
+
+ /**
+ * Returns <code>true</code> if the node has children.
+ *
+ * @param node The Object that defines the node.
+ *
+ * @return <code>true</code> if the node has children.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function hasChildren(node:Object):Boolean;
+
+ /**
+ * Returns an Object representing the node's children.
+ *
+ * @param node The Object that defines the node.
+ * If <code>null</code>, return a collection of top-level nodes.
+ *
+ * @return An Object containing the children nodes.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function getChildren(node:Object):Object;
+
+ /**
+ * Returns data from a node.
+ *
+ * @param node The node Object from which to get the data.
+ *
+ * @return The requested data.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function getData(node:Object):Object;
+
+ /**
+ * Returns the root data item.
+ *
+ * @return The Object containing the root data item.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function getRoot():Object;
+}
+
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/frameworks/projects/Collections/src/main/resources/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/resources/basic-manifest.xml b/frameworks/projects/Collections/src/main/resources/basic-manifest.xml
index 5ea77b7..dd1c47f 100644
--- a/frameworks/projects/Collections/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Collections/src/main/resources/basic-manifest.xml
@@ -22,6 +22,7 @@
<componentPackage>
<component id="ArrayList" class="org.apache.flex.collections.ArrayList"/>
+ <component id="HierarchicalData" class="org.apache.flex.collections.HierarchicalData"/>
<component id="LazyCollection" class="org.apache.flex.collections.LazyCollection"/>
<component id="JSONInputParser" class="org.apache.flex.collections.parsers.JSONInputParser"/>
<component id="JSONItemConverter" class="org.apache.flex.collections.converters.JSONItemConverter"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/frameworks/projects/HTML/src/main/flex/HTMLClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/HTMLClasses.as b/frameworks/projects/HTML/src/main/flex/HTMLClasses.as
index 80073e7..e5171d4 100644
--- a/frameworks/projects/HTML/src/main/flex/HTMLClasses.as
+++ b/frameworks/projects/HTML/src/main/flex/HTMLClasses.as
@@ -89,7 +89,7 @@ internal class HTMLClasses
import org.apache.flex.html.beads.TextInputWithBorderView; TextInputWithBorderView;
import org.apache.flex.html.beads.models.AlertModel; AlertModel;
}
- import org.apache.flex.html.beads.models.ArraySelectionModel; ArraySelectionModel;
+ import org.apache.flex.html.beads.models.ArraySelectionModel; ArraySelectionModel;
import org.apache.flex.html.beads.models.RangeModel; RangeModel;
COMPILE::AS3
{
@@ -122,6 +122,7 @@ internal class HTMLClasses
}
import org.apache.flex.html.beads.controllers.ItemRendererMouseController; ItemRendererMouseController;
import org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController; ListSingleSelectionMouseController;
+ import org.apache.flex.html.beads.controllers.TreeSingleSelectionMouseController; TreeSingleSelectionMouseController;
COMPILE::AS3
{
import org.apache.flex.html.beads.controllers.SliderMouseController; SliderMouseController;
@@ -142,6 +143,7 @@ internal class HTMLClasses
import org.apache.flex.html.beads.TextItemRendererFactoryForArrayData; TextItemRendererFactoryForArrayData;
import org.apache.flex.html.beads.DataItemRendererFactoryForArrayData; DataItemRendererFactoryForArrayData;
import org.apache.flex.html.beads.DataItemRendererFactoryForArrayList; DataItemRendererFactoryForArrayList;
+ import org.apache.flex.html.beads.DataItemRendererFactoryForHierarchicalData; DataItemRendererFactoryForHierarchicalData;
import org.apache.flex.html.supportClasses.DataGroup; DataGroup;
import org.apache.flex.html.supportClasses.Viewport; Viewport;
import org.apache.flex.html.supportClasses.ScrollingViewport; ScrollingViewport;
@@ -163,7 +165,7 @@ internal class HTMLClasses
import org.apache.flex.html.MXMLBeadViewBase; MXMLBeadViewBase;
import org.apache.flex.html.beads.TitleBarView; TitleBarView;
import org.apache.flex.html.beads.TitleBarMeasurementBead; TitleBarMeasurementBead;
-
+
import org.apache.flex.html.beads.WebBrowserView; WebBrowserView;
import org.apache.flex.html.beads.models.WebBrowserModel; WebBrowserModel;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Tree.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Tree.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Tree.as
new file mode 100644
index 0000000..c23e7f9
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Tree.as
@@ -0,0 +1,73 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.html
+{
+ import org.apache.flex.collections.FlattenedList;
+ import org.apache.flex.collections.HierarchicalData;
+
+ /**
+ * The Tree component displays structured data. The Tree uses a HierarchicalData
+ * object as its data provider.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public class Tree extends List
+ {
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function Tree()
+ {
+ super();
+ }
+
+ private var _hierarchicalData:HierarchicalData;
+ private var _flatList:FlattenedList;
+
+ /**
+ * The dataProvider should be of type HierarchicalData.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @see org.apache.flex.collections.HierarchicalData.
+ */
+ override public function get dataProvider():Object
+ {
+ return _hierarchicalData;
+ }
+ override public function set dataProvider(value:Object):void
+ {
+ _hierarchicalData = value as HierarchicalData;
+
+ _flatList = new FlattenedList(_hierarchicalData);
+
+ super.dataProvider = _flatList;
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/DataItemRendererFactoryForHierarchicalData.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/DataItemRendererFactoryForHierarchicalData.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/DataItemRendererFactoryForHierarchicalData.as
new file mode 100644
index 0000000..58bfd21
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/DataItemRendererFactoryForHierarchicalData.as
@@ -0,0 +1,109 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.html.beads
+{
+ import org.apache.flex.core.IBead;
+ import org.apache.flex.core.IDataProviderItemRendererMapper;
+ import org.apache.flex.core.IItemRendererClassFactory;
+ import org.apache.flex.core.IItemRendererParent;
+ import org.apache.flex.core.IListPresentationModel;
+ import org.apache.flex.core.ISelectableItemRenderer;
+ import org.apache.flex.core.ISelectionModel;
+ import org.apache.flex.core.IStrand;
+ import org.apache.flex.core.IUIBase;
+ import org.apache.flex.core.SimpleCSSStyles;
+ import org.apache.flex.core.UIBase;
+ import org.apache.flex.core.ValuesManager;
+ import org.apache.flex.events.Event;
+ import org.apache.flex.events.IEventDispatcher;
+ import org.apache.flex.html.List;
+ import org.apache.flex.html.supportClasses.TreeListData;
+ import org.apache.flex.collections.FlattenedList;
+
+ /**
+ * The DataItemRendererFactoryForHierarchicalData class reads a
+ * HierarchicalData object and creates an item renderer for every
+ * item in the array. Other implementations of
+ * IDataProviderItemRendererMapper map different data
+ * structures or manage a virtual set of renderers.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public class DataItemRendererFactoryForHierarchicalData extends DataItemRendererFactoryForArrayList
+ {
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function DataItemRendererFactoryForHierarchicalData()
+ {
+ super();
+ }
+
+ private var _strand:IStrand;
+
+ /**
+ * @copy org.apache.flex.core.IBead#strand
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ override public function set strand(value:IStrand):void
+ {
+ _strand = value;
+
+ super.strand = value;
+ }
+
+ /**
+ * Sets the itemRenderer's data with additional tree-related data.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ override protected function setData(ir:ISelectableItemRenderer, data:Object, index:int):void
+ {
+ // Set the listData with the depth of this item
+ var flatList:FlattenedList = selectionModel.dataProvider as FlattenedList;
+ var depth:int = flatList.getDepth(data);
+ var isOpen:Boolean = flatList.isOpen(data);
+ var hasChildren:Boolean = flatList.hasChildren(data);
+
+ var treeData:TreeListData = new TreeListData();
+ treeData.depth = depth;
+ treeData.isOpen = isOpen;
+ treeData.hasChildren = hasChildren;
+
+ ir.listData = treeData;
+
+ super.setData(ir, data, index);
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.as
index e8a1f1f..dbeac6b 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.as
@@ -111,27 +111,27 @@ package org.apache.flex.html.beads.controllers
IEventDispatcher(_strand).addEventListener("itemRemoved", handleItemRemoved);
}
- private function handleItemAdded(event:ItemAddedEvent):void
+ protected function handleItemAdded(event:ItemAddedEvent):void
{
IEventDispatcher(event.item).addEventListener("itemClicked", selectedHandler);
IEventDispatcher(event.item).addEventListener("itemRollOver", rolloverHandler);
IEventDispatcher(event.item).addEventListener("itemRollOut", rolloutHandler);
}
- private function handleItemRemoved(event:ItemAddedEvent):void
+ protected function handleItemRemoved(event:ItemAddedEvent):void
{
IEventDispatcher(event.item).removeEventListener("itemClicked", selectedHandler);
IEventDispatcher(event.item).removeEventListener("itemRollOver", rolloverHandler);
IEventDispatcher(event.item).removeEventListener("itemRollOut", rolloutHandler);
}
- private function selectedHandler(event:ItemClickedEvent):void
+ protected function selectedHandler(event:ItemClickedEvent):void
{
listModel.selectedIndex = event.index;
listView.host.dispatchEvent(new Event("change"));
}
- private function rolloverHandler(event:Event):void
+ protected function rolloverHandler(event:Event):void
{
var renderer:ISelectableItemRenderer = event.currentTarget as ISelectableItemRenderer;
if (renderer) {
@@ -140,7 +140,7 @@ package org.apache.flex.html.beads.controllers
}
}
- private function rolloutHandler(event:Event):void
+ protected function rolloutHandler(event:Event):void
{
var renderer:ISelectableItemRenderer = event.currentTarget as ISelectableItemRenderer;
if (renderer) {
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/controllers/TreeSingleSelectionMouseController.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/controllers/TreeSingleSelectionMouseController.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/controllers/TreeSingleSelectionMouseController.as
new file mode 100644
index 0000000..a668fa4
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/controllers/TreeSingleSelectionMouseController.as
@@ -0,0 +1,82 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.html.beads.controllers
+{
+ import org.apache.flex.collections.FlattenedList;
+ import org.apache.flex.html.Tree
+ import org.apache.flex.events.ItemClickedEvent;
+ import org.apache.flex.core.IStrand;
+ import org.apache.flex.events.Event;
+
+ /**
+ * The TreeSingleSelectionMouseController class is a controller for
+ * org.apache.flex.html.Tree. This controller watches for selection
+ * events on the tree item renderers and uses those events to open
+ * or close nodes of the tree.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public class TreeSingleSelectionMouseController extends ListSingleSelectionMouseController
+ {
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function TreeSingleSelectionMouseController()
+ {
+ super();
+ }
+
+ private var _strand:IStrand;
+
+ /**
+ * @private
+ */
+ override public function set strand(value:IStrand):void
+ {
+ _strand = value;
+ super.strand = value;
+ }
+
+ /**
+ * @private
+ */
+ override protected function selectedHandler(event:ItemClickedEvent):void
+ {
+ var tree:Tree = _strand as Tree;
+ var flatList:FlattenedList = listModel.dataProvider as FlattenedList;
+ var node:Object = event.data;
+
+ if (flatList.isOpen(node)) {
+ flatList.closeNode(node);
+ } else {
+ flatList.openNode(node);
+ }
+
+ listModel.dispatchEvent(new Event("dataProviderChanged"));
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/StringItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/StringItemRenderer.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/StringItemRenderer.as
index 9568932..db0977e 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/StringItemRenderer.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/StringItemRenderer.as
@@ -173,9 +173,6 @@ package org.apache.flex.html.supportClasses
// the selection and highlight
backgroundView = element;
- controller = new ItemRendererMouseController();
- controller.strand = this;
-
return element;
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TreeItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TreeItemRenderer.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TreeItemRenderer.as
new file mode 100644
index 0000000..bf545b0
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TreeItemRenderer.as
@@ -0,0 +1,59 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.html.supportClasses
+{
+ public class TreeItemRenderer extends StringItemRenderer
+ {
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function TreeItemRenderer()
+ {
+ super();
+ }
+
+ /**
+ * Sets the data for the itemRenderer instance along with the listData
+ * (TreeListData).
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ override public function set data(value:Object):void
+ {
+ super.data = value;
+
+ var treeData:TreeListData = listData as TreeListData;
+
+ var indent:String = treeData.hasChildren ? (treeData.isOpen ? "-" : "+") : " ";
+ for (var i:int=0; i < treeData.depth; i++) {
+ indent += " ";
+ }
+
+ this.text = indent + this.text;
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TreeListData.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TreeListData.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TreeListData.as
new file mode 100644
index 0000000..c6da4d5
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TreeListData.as
@@ -0,0 +1,76 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.html.supportClasses
+{
+ /**
+ * The TreeListData class contains information that Tree item renderers may
+ * find useful when displaying the data for a node in the tree.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport goog.events.Event
+ */
+ public class TreeListData
+ {
+ /**
+ * constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function TreeListData()
+ {
+ }
+
+ /**
+ * The depth of the data within the tree with the root being zero.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var depth:Number;
+
+ /**
+ * Whether or not the node for this data is open (and its children
+ * visible).
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var isOpen:Boolean;
+
+ /**
+ * Whether or not the node for this data has any children.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var hasChildren:Boolean;
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/frameworks/projects/HTML/src/main/resources/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/resources/basic-manifest.xml b/frameworks/projects/HTML/src/main/resources/basic-manifest.xml
index 3b72af6..8a4db07 100644
--- a/frameworks/projects/HTML/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/HTML/src/main/resources/basic-manifest.xml
@@ -49,6 +49,7 @@
<component id="TitleBar" class="org.apache.flex.html.TitleBar"/>
<component id="TitleBarModel" class="org.apache.flex.html.beads.models.TitleBarModel"/>
<component id="ToolTip" class="org.apache.flex.html.ToolTip"/>
+ <component id="Tree" class="org.apache.flex.html.Tree"/>
<component id="BasicLayout" class="org.apache.flex.html.beads.layouts.BasicLayout"/>
<component id="VerticalLayout" class="org.apache.flex.html.beads.layouts.VerticalLayout"/>
<component id="HorizontalLayout" class="org.apache.flex.html.beads.layouts.HorizontalLayout"/>
@@ -62,6 +63,7 @@
<component id="Slider" class="org.apache.flex.html.Slider"/>
<component id="NumericStepper" class="org.apache.flex.html.NumericStepper" />
<component id="StringItemRenderer" class="org.apache.flex.html.supportClasses.StringItemRenderer"/>
+ <component id="TreeItemRenderer" class="org.apache.flex.html.supportClasses.TreeItemRenderer"/>
<component id="DataItemRenderer" class="org.apache.flex.html.supportClasses.DataItemRenderer"/>
<component id="ButtonBarButtonItemRenderer" class="org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer"/>
<!--
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d0dddc1f/frameworks/projects/HTML/src/main/resources/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/resources/defaults.css b/frameworks/projects/HTML/src/main/resources/defaults.css
index 13d7418..ea0c0c8 100644
--- a/frameworks/projects/HTML/src/main/resources/defaults.css
+++ b/frameworks/projects/HTML/src/main/resources/defaults.css
@@ -206,6 +206,22 @@ List
border-color: #222222;
}
+Tree
+{
+ IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
+ IBeadView: ClassReference("org.apache.flex.html.beads.ListView");
+ IBeadController: ClassReference("org.apache.flex.html.beads.controllers.TreeSingleSelectionMouseController");
+ IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.VerticalLayout");
+ IContentView: ClassReference("org.apache.flex.html.supportClasses.DataGroup");
+ IDataProviderItemRendererMapper: ClassReference("org.apache.flex.html.beads.DataItemRendererFactoryForHierarchicalData");
+ IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
+ IItemRenderer: ClassReference("org.apache.flex.html.supportClasses.TreeItemRenderer");
+ IViewport: ClassReference("org.apache.flex.html.supportClasses.ScrollingViewport");
+ IViewportModel: ClassReference("org.apache.flex.html.beads.models.ViewportModel");
+ border-style: solid;
+ border-color: #222222;
+}
+
NumericStepper
{
IBeadModel: ClassReference("org.apache.flex.html.beads.models.RangeModel");
@@ -266,6 +282,12 @@ StringItemRenderer
height: 16;
}
+TreeItemRenderer
+{
+ IBeadController: ClassReference("org.apache.flex.html.beads.controllers.ItemRendererMouseController");
+ height: 16;
+}
+
TextInput
{
border: 1px solid #808080;
[41/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - try to
make the designmodo fonts an optional dependency
Posted by ah...@apache.org.
try to make the designmodo fonts an optional dependency
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/fb682e0b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/fb682e0b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/fb682e0b
Branch: refs/heads/master
Commit: fb682e0bc4053a9b5b0cf851dbf30da8e2c6cb93
Parents: 164ec03
Author: Alex Harui <ah...@apache.org>
Authored: Mon Mar 28 23:40:57 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Mar 28 23:40:57 2016 -0700
----------------------------------------------------------------------
apache-flex-flexjs-installer-config.xml | 29 ++++++++++
build.xml | 3 +-
frameworks/downloads.xml | 41 ++++++++++++--
installer.properties/en_US.properties | 14 +++++
installer.xml | 81 +++++++++++++++++++++++++---
5 files changed, 155 insertions(+), 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fb682e0b/apache-flex-flexjs-installer-config.xml
----------------------------------------------------------------------
diff --git a/apache-flex-flexjs-installer-config.xml b/apache-flex-flexjs-installer-config.xml
index 38264fd..7807a0c 100755
--- a/apache-flex-flexjs-installer-config.xml
+++ b/apache-flex-flexjs-installer-config.xml
@@ -152,6 +152,12 @@
<zh_CN>Adobe Flash Player playerglobal.swc (必须的)</zh_CN>
<zh_TW>Adobe Flash Player playerglobal.swc (必須的)</zh_TW>
</step>
+ <step id="flat-download" property="do.flat.install">
+ <el_GR>DesignModo fonts</el_GR>
+ <en_US>DesignModo fonts (Optional)</en_US>
+ <zh_CN>DesignModo fonts (必须的)</zh_CN>
+ <zh_TW>DesignModo fonts (必須的)</zh_TW>
+ </step>
<step id="swfobject-download">
<el_GR>SWFObject (Απαιτούμενο)</el_GR>
<en_US>SWFObject (Required)</en_US>
@@ -233,4 +239,27 @@
<license>Adobe Flex SDK 授權合約</license>
</zh_TW>
</component>
+ <component id="STEP_REQUIRED_INSTALL_FLAT_FONTS" required="true" property="do.flat.install">
+ <el_GR>
+ <label>designmodo fonts (Προαιρετικό)</label>
+ <message>Για το designmodo fonts ισχύει η συμφωνία χρήσης του CC-BY-NC-ND License. Θέλετε να εγκαταστήσετε το designmodo fonts;</message>
+ <license>'Αδεια χρήσης CC-BY-NC-ND</license>
+ </el_GR>
+ <en_US>
+ <label>designmodo fonts (Optional)</label>
+ <message>The CC-BY-NC-ND license applies to the designmodo fonts. Do you want to install the designmodo fonts?</message>
+ <license>CC-BY-NC-ND</license>
+ <licenseURL>http://creativecommons.org/licenses/by-nc-nd/3.0/</licenseURL>
+ </en_US>
+ <zh_CN>
+ <label>designmodo (必须的)</label>
+ <message>CC-BY-NC-ND 许可协议适用于 designmodo 的 fonts 文件. 您想要安装 designmodo 的 fonts 文件吗?</message>
+ <license>C-BY-NC-ND 许可协议</license>
+ </zh_CN>
+ <zh_TW>
+ <label>designmodo fonts(必須的)</label>
+ <message>CC-BY-NC-ND 授權合約適用於 designmodo 的 fonts 檔案. 您想要安裝 designmodo 的 fonts 檔案嗎?</message>
+ <license>CC-BY-NC-ND 授權合約</license>
+ </zh_TW>
+ </component>
</config>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fb682e0b/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 6ec2fbc..9bda287 100644
--- a/build.xml
+++ b/build.xml
@@ -739,12 +739,13 @@
</copy>
-->
- <!-- fonts -->
+ <!-- fonts
<copy todir="${basedir}/temp/frameworks/fonts">
<fileset dir="${basedir}/frameworks/fonts" >
<include name="**/**"/>
</fileset>
</copy>
+ -->
<!-- examples -->
<copy todir="${basedir}/temp/examples">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fb682e0b/frameworks/downloads.xml
----------------------------------------------------------------------
diff --git a/frameworks/downloads.xml b/frameworks/downloads.xml
index a54782d..ac9e0fb 100644
--- a/frameworks/downloads.xml
+++ b/frameworks/downloads.xml
@@ -26,8 +26,8 @@
<property name="FLEX_HOME" value="${env.FLEX_HOME}" />
<property name="download.dir" value="${FLEXJS_HOME}/in"/>
-
- <!--
+
+ <!--
To clean these you must call thirdparty-clean or super-clean to clean everything.
clean does not remove these since they don't change often and the downloads take time.
-->
@@ -82,11 +82,42 @@
<!-- swfobject.js (Version 2.2) -->
<!-- Because this requires a network connection it downloads SWFObject only if it doesn't already exist. -->
<target name="flat-ui-check" description="Checks if SWFObject has been downloaded.">
- <available file="${FLEXJS_HOME}/frameworks/fonts/flat-ui-icons-regular.ttf" property="flat-ui.present"/>
+ <available file="${FLEXJS_HOME}/frameworks/fonts/flat-ui-icons-regular.ttf" property="flat.donot.ask"/>
+ <condition property="flat.donot.ask">
+ <isset property="build.noprompt"/>
+ </condition>
+ <condition property="do.flat.install">
+ <isset property="build.noprompt"/>
+ </condition>
</target>
- <target name="flat-ui-download" depends="flat-ui-check" unless="flat-ui.present"
- description="Copies FlatUI from github">
+ <target name="ask-flat" unless="flat.donot.ask"
+ description="Prompt the user before downloading Flat fonts">
+
+ <property name="flat.prompt.text"
+ value="Apache FlexJS includes an optional component set that
+ ${line.separator}uses fonts from designmodo.com.
+ ${line.separator}The font files are subject to and governed by the
+ ${line.separator}Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported license:
+ ${line.separator}http://creativecommons.org/licenses/by-nc-nd/3.0/
+ ${line.separator}This license is not compatible with the Apache v2 license.
+ ${line.separator}Do you want to install the designmodo fonts?"/>
+ <input
+ message="${flat.prompt.text}"
+ validargs="y,n"
+ defaultvalue="n"
+ addproperty="input.flat.download"/>
+ <condition property="do.flat.install">
+ <equals arg1="y" arg2="${input.flat.download}"/>
+ </condition>
+ <!-- Only ask once per ant run. -->
+ <property name="flat.donot.ask" value="set"/>
+ </target>
+
+ <target name="flat-ui-download" depends="flat-ui-check,get-flat-fonts"
+ description="Copies FlatUI from github" />
+
+ <target name="get-flat-fonts" depends="ask-flat" if="do.flat.install" >
<mkdir dir="${download.dir}"/>
<get src="https://github.com/designmodo/Flat-UI/archive/2.2.2.zip"
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fb682e0b/installer.properties/en_US.properties
----------------------------------------------------------------------
diff --git a/installer.properties/en_US.properties b/installer.properties/en_US.properties
index df50962..bb84b36 100644
--- a/installer.properties/en_US.properties
+++ b/installer.properties/en_US.properties
@@ -22,6 +22,19 @@ yes.no.prompts=y,n
yes=y
no=n
+flat.prompt.text=\
+Apache FlexJS includes an optional component set that\n\
+uses fonts from designmodo.com\n\
+\n\
+The font files are subject to and governed by the\n\
+Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported license:\n\
+http://creativecommons.org/licenses/by-nc-nd/3.0/\n\
+By downloading, modifying, distributing, using and/or accessing any of these font files\n\
+you agree to the terms and conditions of the applicable license agreement.\n\
+\n\
+This license is not compatible with the Apache v2 license.\n\
+Do you want to download and install the designmodo fonts?
+
flash.prompt.text=\
Apache FlexJS uses the Adobe Flash Player's playerglobal.swc to build Adobe Flash applications.\n\
\n\
@@ -75,6 +88,7 @@ INFO_DOWNLOADING_AIR_RUNTIME_KIT_WINDOWS=Downloading Adobe AIR Runtime Kit for W
INFO_FINISHED_UNTARING=Finished untaring:
INFO_FINISHED_UNZIPPING=Finished uncompressing:
INFO_UNZIPPING=Uncompressing:
+INFO_INSTALLING_FLAT_FONTS=Installing DesignModo fonts from:
INFO_INSTALLING_PLAYERGLOBAL_SWC=Installing Adobe Flash Player playerglobal.swc from:
INFO_INSTALLING_CONFIG_FILES=Installing frameworks configuration files configured for use with an IDE
INFO_INSTALLING_LAUNCH_CONFIG_FILES=Installing Adobe Flash Builder launch configuration files
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fb682e0b/installer.xml
----------------------------------------------------------------------
diff --git a/installer.xml b/installer.xml
index f026b9f..27ae65f 100644
--- a/installer.xml
+++ b/installer.xml
@@ -59,7 +59,7 @@
<property name="flash.sdk.version" value="14.0"/>
<property name="flexjs.version" value="0.6.0"/>
<property name="falcon.version" value="0.6.0"/>
-
+
<property name="swfobject.url.server" value="https://github.com" />
<property name="swfobject.url.folder" value="swfobject/swfobject/archive" />
<property name="swfobject.url.file" value="2.2.zip" />
@@ -94,6 +94,9 @@
<condition property="flash.donot.ask" value="true">
<isset property="installer" />
</condition>
+ <condition property="flat.donot.ask" value="true">
+ <isset property="installer" />
+ </condition>
<condition property="COMPC" value="compc.bat">
<os family="windows" />
@@ -277,7 +280,7 @@
</fail>
</target>
- <target name="ask-licenses" depends="ask-air,ask-flash" description="Ask about the various licenses">
+ <target name="ask-licenses" depends="ask-air,ask-flash,ask-flat" description="Ask about the various licenses">
</target>
<target name="ask-air" unless="air.donot.ask"
@@ -291,6 +294,7 @@
<condition property="do.air.install">
<equals arg1="${yes}" arg2="${input.air.download}"/>
</condition>
+ <fail message="${ERROR_REQUIRED_LICENSE}" unless="do.air.install" />
<!-- Only ask once per ant run. -->
<property name="air.donot.ask" value="set"/>
</target>
@@ -306,10 +310,26 @@
<condition property="do.flash.install">
<equals arg1="${yes}" arg2="${input.flash.download}"/>
</condition>
+ <fail message="${ERROR_REQUIRED_LICENSE}" unless="do.flash.install" />
<!-- Only ask once per ant run. -->
<property name="flash.donot.ask" value="set"/>
</target>
+ <target name="ask-flat" unless="flat.donot.ask"
+ description="Prompt the user before downloading Flat fonts">
+
+ <input
+ message="${flat.prompt.text}"
+ validargs="${yes.no.prompts}"
+ defaultvalue="${no}"
+ addproperty="input.flat.download"/>
+ <condition property="do.flat.install">
+ <equals arg1="${yes}" arg2="${input.flat.download}"/>
+ </condition>
+ <!-- Only ask once per ant run. -->
+ <property name="flat.donot.ask" value="set"/>
+ </target>
+
<target name="mac-chmod" description="makes some scripts executable" unless="isWindows">
<exec executable="chmod" dir="${FLEXJS_HOME}">
<arg value="+x" />
@@ -412,13 +432,18 @@
<property name="skipCache" value="true" />
</target>
- <target name="get-third-party-files" depends="air-download,flash-download,swfobject-download" />
+ <target name="get-third-party-files" depends="air-download,flash-download,flat-download,swfobject-download" />
<target name="air-check" description="Checks if AIR SDK has been downloaded.">
- <available file="${FLEXJS_HOME}/lib/adt.jar" property="air.jar.present"/>
+ <available file="${FLEXJS_HOME}/lib/adt.jar" property="skip.air.install"/>
+ <condition property="skip.air.install" value="true">
+ <not>
+ <isset property="do.air.install" />
+ </not>
+ </condition>
</target>
- <target name="air-download" depends="air-check" unless="air.jar.present"
+ <target name="air-download" depends="air-check" unless="skip.air.install"
description="Downloads AIR SDK and copies to correct locations">
<mkdir dir="${download.dir}"/>
@@ -632,10 +657,15 @@
<!-- Because this requires a network connection it downloads Flash SDK only if it doesn't already exist. -->
<target name="flash-check" description="Checks if Flash SDK has been downloaded.">
- <available file="${FLEXJS_HOME}/frameworks/libs/player/${flash.sdk.version}/playerglobal.swc" property="flash.swc.present"/>
+ <available file="${FLEXJS_HOME}/frameworks/libs/player/${flash.sdk.version}/playerglobal.swc" property="skip.flash.install"/>
+ <condition property="skip.flash.install" value="true">
+ <not>
+ <isset property="do.flash.install" />
+ </not>
+ </condition>
</target>
- <target name="flash-download" depends="flash-check" unless="flash.swc.present"
+ <target name="flash-download" depends="flash-check" unless="skip.flash.install"
description="Downloads playerglobal.swc and copies to correct locations">
<mkdir dir="${download.dir}"/>
@@ -660,6 +690,43 @@
</antcall>
</target>
+ <!-- Because this requires a network connection it downloads Flash SDK only if it doesn't already exist. -->
+ <target name="flat-check" description="Checks if Flat fonts has been downloaded.">
+ <available file="${FLEXJS_HOME}/frameworks/fonts/flat-ui-icons-regular.woff" property="skip.flat.install"/>
+ <condition property="skip.flat.install" value="true">
+ <not>
+ <isset property="do.flat.install" />
+ </not>
+ </condition>
+ </target>
+
+ <target name="flat-download" depends="flat-check" unless="skip.flat.install"
+ description="Downloads Flat fonts and copies to correct locations">
+
+ <mkdir dir="${download.dir}"/>
+ <echo>${INFO_INSTALLING_FLAT_FONTS} ${flat.font.url.server}/${flat.font.url.folder}/${flat.font.url.file}</echo>
+ <get src="https://github.com/designmodo/Flat-UI/archive/2.2.2.zip"
+ dest="${download.dir}/flat-ui_2_2.zip"
+ verbose="false"/>
+
+ <mkdir dir="${FLEXJS_HOME}/frameworks/fonts"/>
+ <unzip src="${download.dir}/flat-ui_2_2.zip" dest="${FLEXJS_HOME}/frameworks/fonts">
+ <patternset>
+ <include name="Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.eot"/>
+ <include name="Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.ttf"/>
+ <include name="Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.svg"/>
+ <include name="Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.woff"/>
+ </patternset>
+ <flattenmapper />
+ </unzip>
+ <unzip src="${download.dir}/flat-ui_2_2.zip" dest="${FLEXJS_HOME}/frameworks/fonts">
+ <patternset>
+ <include name="Flat-UI-2.2.2/README.md"/>
+ </patternset>
+ <flattenmapper />
+ </unzip>
+ </target>
+
<!-- swfobject.js (Version 2.2) -->
<!-- Because this requires a network connection it downloads SWFObject only if it doesn't already exist. -->
<target name="swfobject-check" description="Checks if SWFObject has been downloaded.">
[45/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - missing
brace
Posted by ah...@apache.org.
missing brace
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/fcb23726
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/fcb23726
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/fcb23726
Branch: refs/heads/master
Commit: fcb237268ac28f60f49e62bef6f8681d9539c63d
Parents: c7756da
Author: Alex Harui <ah...@apache.org>
Authored: Tue Mar 29 10:08:18 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Mar 29 10:08:18 2016 -0700
----------------------------------------------------------------------
installer.xml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fcb23726/installer.xml
----------------------------------------------------------------------
diff --git a/installer.xml b/installer.xml
index 01d676e..f0806d1 100644
--- a/installer.xml
+++ b/installer.xml
@@ -713,15 +713,15 @@
<mkdir dir="${download.dir}/flat/fonts"/>
<unzip src="${download.dir}/flat-ui_2_2.zip" dest="${download.dir}/flat/fonts" />
<copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.eot"
- todir="${FLEXJS_HOME/frameworks/fonts"/>
+ todir="${FLEXJS_HOME}/frameworks/fonts"/>
<copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.ttf"
- todir="${FLEXJS_HOME/frameworks/fonts"/>
+ todir="${FLEXJS_HOME}/frameworks/fonts"/>
<copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.svg"
- todir="${FLEXJS_HOME/frameworks/fonts"/>
+ todir="${FLEXJS_HOME}/frameworks/fonts"/>
<copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/fonts/glyphicons/flat-ui-icons-regular.woff"
- todir="${FLEXJS_HOME/frameworks/fonts"/>
+ todir="${FLEXJS_HOME}/frameworks/fonts"/>
<copy file="${download.dir}/flat/fonts/Flat-UI-2.2.2/README.md"
- todir="${FLEXJS_HOME/frameworks/fonts"/>
+ todir="${FLEXJS_HOME}/frameworks/fonts"/>
</target>
<!-- swfobject.js (Version 2.2) -->
[30/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - mention
google maps in LICENSE
Posted by ah...@apache.org.
mention google maps in LICENSE
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9dfef271
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9dfef271
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9dfef271
Branch: refs/heads/master
Commit: 9dfef2719f3f3ca304bebd1e1aa3f8cb77841b7d
Parents: 26a2662
Author: Alex Harui <ah...@apache.org>
Authored: Fri Mar 11 14:42:15 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Mar 11 14:42:15 2016 -0800
----------------------------------------------------------------------
LICENSE | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dfef271/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index cc866fb..a3c1df1 100644
--- a/LICENSE
+++ b/LICENSE
@@ -222,3 +222,6 @@ The map coordinates in examples/native/USStatesMap/src/MapCoords.js
were placed into the Public Domain by its author. See:
https://en.wikipedia.org/wiki/File:USA_CIA_Map.svg#file
+Most of the .as files in frameworks/projects/GoogleMaps/src/main/flex/google
+are derived from the google_maps_api_v3_11.js externs file in the
+Google Closure Library which are available under Apache License 2.0.
[13/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Added
listData to item renderers for additional support.
Posted by ah...@apache.org.
Added listData to item renderers for additional support.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d75af201
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d75af201
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d75af201
Branch: refs/heads/master
Commit: d75af201dc7adfe543882dda9d1d0130c4039753
Parents: 60670e8
Author: Peter Ent <pe...@apache.org>
Authored: Thu Feb 18 13:25:21 2016 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Thu Feb 18 13:25:21 2016 -0500
----------------------------------------------------------------------
.../flex/org/apache/flex/core/IItemRenderer.as | 12 +++++++++++
.../html/supportClasses/GraphicsItemRenderer.as | 21 ++++++++++++++++++++
.../supportClasses/TextFieldItemRenderer.as | 19 ++++++++++++++++++
.../html/supportClasses/UIItemRendererBase.as | 21 ++++++++++++++++++++
4 files changed, 73 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d75af201/frameworks/projects/Core/src/main/flex/org/apache/flex/core/IItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/IItemRenderer.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/IItemRenderer.as
index 7843e36..237517d 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/IItemRenderer.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/IItemRenderer.as
@@ -43,6 +43,18 @@ package org.apache.flex.core
function set data(value:Object):void;
/**
+ * Additional data about the list structure that might be useful
+ * to itemRenderer implementations.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ function get listData():Object;
+ function set listData(value:Object):void;
+
+ /**
* The parent component of the itemRenderer instance. This is the container that houses
* all of the itemRenderers.
*
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d75af201/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/GraphicsItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/GraphicsItemRenderer.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/GraphicsItemRenderer.as
index 4d90c03..ec096ae 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/GraphicsItemRenderer.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/GraphicsItemRenderer.as
@@ -191,6 +191,27 @@ package org.apache.flex.html.supportClasses
_data = value;
}
+ private var _listData:Object;
+
+ [Bindable("__NoChangeEvent__")]
+ /**
+ * Additional data about the list structure the itemRenderer may
+ * find useful.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get listData():Object
+ {
+ return _listData;
+ }
+ public function set listData(value:Object):void
+ {
+ _listData = value;
+ }
+
private var _dataField:String;
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d75af201/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TextFieldItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TextFieldItemRenderer.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TextFieldItemRenderer.as
index a19fc2f..5908d73 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TextFieldItemRenderer.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/TextFieldItemRenderer.as
@@ -312,6 +312,25 @@ package org.apache.flex.html.supportClasses
{
text = String(value);
}
+
+ private var _listData:Object;
+
+ /**
+ * Additional data about the list the itemRenderer may find useful.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get listData():Object
+ {
+ return _listData;
+ }
+ public function set listData(value:Object):void
+ {
+ _listData = value;
+ }
/**
* @private
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d75af201/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/UIItemRendererBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/UIItemRendererBase.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/UIItemRendererBase.as
index 90c66fa..f253bd2 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/UIItemRendererBase.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/UIItemRendererBase.as
@@ -147,6 +147,27 @@ package org.apache.flex.html.supportClasses
_data = value;
}
+ private var _listData:Object;
+
+ [Bindable("__NoChangeEvent__")]
+ /**
+ * Additional data about the list structure the itemRenderer may
+ * find useful.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get listData():Object
+ {
+ return _listData;
+ }
+ public function set listData(value:Object):void
+ {
+ _listData = value;
+ }
+
private var _labelField:String = "label";
/**
[32/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - fix up
approval script and other related files
Posted by ah...@apache.org.
fix up approval script and other related files
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/3cab6cfe
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/3cab6cfe
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/3cab6cfe
Branch: refs/heads/master
Commit: 3cab6cfe4e166dc9bb037df0a60c1bd245788e3c
Parents: e701358
Author: Alex Harui <ah...@apache.org>
Authored: Mon Mar 14 09:01:12 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Mar 14 09:01:12 2016 -0700
----------------------------------------------------------------------
ApproveFlexJS.xml | 168 ++++++++++++++++++++++++++++++++++++++++++++++---
NOTICE | 2 +-
RELEASE_NOTES | 10 +++
build.xml | 1 +
4 files changed, 170 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3cab6cfe/ApproveFlexJS.xml
----------------------------------------------------------------------
diff --git a/ApproveFlexJS.xml b/ApproveFlexJS.xml
index cdf3d85..b01029b 100644
--- a/ApproveFlexJS.xml
+++ b/ApproveFlexJS.xml
@@ -52,7 +52,8 @@
</condition>
<property name="package.suffix" value="tar.gz" />
- <property name="rat.report" value="${basedir}/rat-report.txt"/>
+ <property name="src.rat.report" value="${basedir}/rat-report-src.txt"/>
+ <property name="bin.rat.report" value="${basedir}/rat-report-bin.txt"/>
<property name="apache.rat.jar" value="apache-rat-0.8.jar" />
<property name="apache.rat.tasks.jar" value="apache-rat-tasks-0.8.jar" />
<property name="apache.rat.url" value="http://people.apache.org/~aharui/rat" />
@@ -138,9 +139,17 @@
<isset property="rc" />
</not>
</condition>
+ <condition property="bin.package.url.path"
+ value="${package.url.path}">
+ <not>
+ <isset property="rc" />
+ </not>
+ </condition>
<property name="package.url.path" value="https://dist.apache.org/repos/dist/dev/flex/flexjs/${release.version}/rc${rc}" />
<property name="package.url.name" value="apache-flex-flexjs-${release.version}-src" />
+ <property name="bin.package.url.path" value="${package.url.path}/binaries" />
+ <property name="bin.package.url.name" value="apache-flex-flexjs-${release.version}-bin" />
<condition property="zip.package">
<equals arg1="zip" arg2="${package.suffix}" />
@@ -187,10 +196,10 @@
classpathref="anttask.classpath"/>
</target>
- <target name="main" depends="install-rat,download,check-sigs,uncompress,rat-check,check-notices,build,approve" description="Perform required release approval steps">
+ <target name="main" depends="install-rat,download,check-sigs,uncompress,rat-check,binary-rat,check-notices,build,approve" description="Perform required release approval steps">
</target>
- <target name="main-no-download" depends="install-rat,check-sigs,uncompress,rat-check,check-notices,build,approve" description="Perform required release approval steps">
+ <target name="main-no-download" depends="install-rat,check-sigs,uncompress,rat-check,binary-rat,check-notices,build,approve" description="Perform required release approval steps">
</target>
<target name="test" >
@@ -215,12 +224,18 @@
dest="${basedir}/${package.url.name}.${package.suffix}" />
<get src="${package.url.path}/${package.url.name}.${package.suffix}.md5"
dest="${basedir}/${package.url.name}.${package.suffix}.md5" />
+ <get src="${bin.package.url.path}/${bin.package.url.name}.${package.suffix}"
+ dest="${basedir}/${bin.package.url.name}.${package.suffix}" />
+ <get src="${bin.package.url.path}/${bin.package.url.name}.${package.suffix}.md5"
+ dest="${basedir}/${bin.package.url.name}.${package.suffix}.md5" />
<antcall target="get_asc" />
</target>
<target name="get_asc" if="rc" >
<get src="${package.url.path}/${package.url.name}.${package.suffix}.asc"
dest="${basedir}/${package.url.name}.${package.suffix}.asc" />
+ <get src="${bin.package.url.path}/${bin.package.url.name}.${package.suffix}.asc"
+ dest="${basedir}/${bin.package.url.name}.${package.suffix}.asc" />
</target>
<target name="check-sigs" description="check md5 and gpg sigs">
@@ -233,6 +248,15 @@
</not>
</condition>
<fail message="MD5 checksum did not match" if="MD5Invalid" />
+ <replace file="${basedir}/${bin.package.url.name}.${package.suffix}.md5"
+ token=" " />
+ <checksum file="${basedir}/${bin.package.url.name}.${package.suffix}" algorithm="md5" verifyproperty="bin.md5.ok" />
+ <condition property="BinaryMD5Invalid">
+ <not>
+ <equals arg1="${bin.md5.ok}" arg2="true" />
+ </not>
+ </condition>
+ <fail message="Binary Package MD5 checksum did not match" if="BinaryMD5Invalid" />
<antcall target="gpg_check" />
</target>
@@ -242,30 +266,40 @@
<arg value="${basedir}/${package.url.name}.${package.suffix}.asc" />
<arg value="${basedir}/${package.url.name}.${package.suffix}" />
</exec>
+ <exec executable="gpg" failonerror="true">
+ <arg value="--verify" />
+ <arg value="${basedir}/${bin.package.url.name}.${package.suffix}.asc" />
+ <arg value="${basedir}/${bin.package.url.name}.${package.suffix}" />
+ </exec>
</target>
<target name="uncompress" depends="pre-clean, untar-file, unzip-file" />
<target name="pre-clean" description="remove old uncompressed package" >
<delete dir="${basedir}/${package.url.name}" failonerror="false" />
+ <delete dir="${basedir}/${bin.package.url.name}" failonerror="false" />
</target>
<target name="untar-file" unless="zip.package" description="Untars zipFile">
<untar src="${basedir}/${package.url.name}.${package.suffix}"
dest="${basedir}" compression="gzip"/>
+ <untar src="${basedir}/${bin.package.url.name}.${package.suffix}"
+ dest="${basedir}" compression="gzip"/>
</target>
<target name="unzip-file" if="zip.package" description="Unzips zipFile">
<unzip src="${basedir}/${package.url.name}.${package.suffix}"
dest="${basedir}/${package.url.name}"/>
+ <unzip src="${basedir}/${bin.package.url.name}.${package.suffix}"
+ dest="${basedir}/${bin.package.url.name}"/>
</target>
<target name="rat-check" >
- <echo message="Checking files at ${basedir}/${package.url.name}, report is ${rat.report}"/>
+ <echo message="Checking files at ${basedir}/${package.url.name}, report is ${src.rat.report}"/>
<rat:report xmlns:rat="antlib:org.apache.rat.anttasks"
- reportFile="${rat.report}">
+ reportFile="${src.rat.report}">
<fileset dir="${basedir}/${package.url.name}">
<!-- exclude media (png, gif, jpg, mp3, flv) -->
<exclude name="**/*.png"/>
@@ -283,7 +317,7 @@
</fileset>
</rat:report>
<antcall target="display-text" >
- <param name="file" value="${rat.report}" />
+ <param name="file" value="${src.rat.report}" />
</antcall>
<input
message="Check that there are no unknown or unapproved licenses or archives. Is it ok?"
@@ -291,11 +325,11 @@
defaultvalue="y"
addproperty="rat.license.ok"/>
<echo>filtering out AL files to make it easier to see binary files</echo>
- <copy file="${rat.report}" tofile="${rat.report}.bin.txt" />
- <replaceregexp file="${rat.report}.bin.txt" match="..AL.*" replace="__AL" byline="true"/>
- <replaceregexp file="${rat.report}.bin.txt" flags="gs" match="__AL." replace="" byline="false"/>
+ <copy file="${src.rat.report}" tofile="${src.rat.report}.bin.txt" />
+ <replaceregexp file="${src.rat.report}.bin.txt" match="..AL.*" replace="__AL" byline="true"/>
+ <replaceregexp file="${src.rat.report}.bin.txt" flags="gs" match="__AL." replace="" byline="false"/>
<antcall target="display-text" >
- <param name="file" value="${rat.report}.bin.txt" />
+ <param name="file" value="${src.rat.report}.bin.txt" />
</antcall>
<input
message="Check that there are no unexpected binaries. Is it ok?"
@@ -304,6 +338,92 @@
addproperty="rat.binaries.ok"/>
</target>
+ <target name="binary-rat" >
+ <echo message="Checking files at ${basedir}/${bin.package.url.name}, report is ${bin.rat.report}"/>
+ <rat:report xmlns:rat="antlib:org.apache.rat.anttasks"
+ reportFile="${bin.rat.report}">
+ <fileset dir="${basedir}/${bin.package.url.name}">
+ <!-- exclude media (png, gif, jpg, mp3, flv) -->
+ <exclude name="**/*.png"/>
+ <exclude name="**/*.gif"/>
+ <exclude name="**/*.jpg"/>
+ <exclude name="**/*.mp3"/>
+ <exclude name="**/*.flv"/>
+ <!-- JSON doesn't really have a comment format -->
+ <exclude name="**/*.json"/>
+ <!-- JSHint properties file -->
+ <exclude name="frameworks/js/jshint.properties"/>
+ <exclude name="frameworks/js/.jshintrc"/>
+ <!-- fragments -->
+ <exclude name="LICENSE.bin"/>
+ <!-- Google Closure Library -->
+ <exclude name="js/lib/google/**"/>
+ <!-- compiled output -->
+ <exclude name="frameworks/projects/*/target/**"/>
+ <!-- fonts -->
+ <exclude name="frameworks/fonts/**"/>
+ <!-- swcs -->
+ <exclude name="frameworks/libs/Binding.swc"/>
+ <exclude name="frameworks/libs/Charts.swc"/>
+ <exclude name="frameworks/libs/Collections.swc"/>
+ <exclude name="frameworks/libs/Core.swc"/>
+ <exclude name="frameworks/libs/CreateJS.swc"/>
+ <exclude name="frameworks/libs/DragDrop.swc"/>
+ <exclude name="frameworks/libs/Effects.swc"/>
+ <exclude name="frameworks/libs/Flat.swc"/>
+ <exclude name="frameworks/libs/Formatters.swc"/>
+ <exclude name="frameworks/libs/GoogleMaps.swc"/>
+ <exclude name="frameworks/libs/Graphics.swc"/>
+ <exclude name="frameworks/libs/HTML.swc"/>
+ <exclude name="frameworks/libs/HTML5.swc"/>
+ <exclude name="frameworks/libs/JQuery.swc"/>
+ <exclude name="frameworks/libs/Mobile.swc"/>
+ <exclude name="frameworks/libs/Network.swc"/>
+ <exclude name="frameworks/libs/Reflection.swc"/>
+ <exclude name="frameworks/libs/Storage.swc"/>
+ <exclude name="frameworks/externs/Binding.swc"/>
+ <exclude name="frameworks/externs/Charts.swc"/>
+ <exclude name="frameworks/externs/Collections.swc"/>
+ <exclude name="frameworks/externs/Core.swc"/>
+ <exclude name="frameworks/externs/CreateJS.swc"/>
+ <exclude name="frameworks/externs/DragDrop.swc"/>
+ <exclude name="frameworks/externs/Effects.swc"/>
+ <exclude name="frameworks/externs/Flat.swc"/>
+ <exclude name="frameworks/externs/Formatters.swc"/>
+ <exclude name="frameworks/externs/GoogleMaps.swc"/>
+ <exclude name="frameworks/externs/Graphics.swc"/>
+ <exclude name="frameworks/externs/HTML.swc"/>
+ <exclude name="frameworks/externs/HTML5.swc"/>
+ <exclude name="frameworks/externs/JQuery.swc"/>
+ <exclude name="frameworks/externs/Mobile.swc"/>
+ <exclude name="frameworks/externs/Network.swc"/>
+ <exclude name="frameworks/externs/Reflection.swc"/>
+ <exclude name="frameworks/externs/Storage.swc"/>
+ </fileset>
+ </rat:report>
+
+ <antcall target="display-text" >
+ <param name="file" value="${bin.rat.report}" />
+ </antcall>
+ <input
+ message="Check that there are no unknown or unapproved licenses or archives. Is it ok?"
+ validargs="y,n"
+ defaultvalue="y"
+ addproperty="rat.bin.license.ok"/>
+ <echo>filtering out AL files to make it easier to see binary files</echo>
+ <copy file="${bin.rat.report}" tofile="${bin.rat.report}.bin.txt" />
+ <replaceregexp file="${bin.rat.report}.bin.txt" match="..AL.*" replace="__AL" byline="true"/>
+ <replaceregexp file="${bin.rat.report}.bin.txt" flags="gs" match="__AL." replace="" byline="false"/>
+ <antcall target="display-text" >
+ <param name="file" value="${bin.rat.report}.bin.txt" />
+ </antcall>
+ <input
+ message="Check that there are no unexpected binaries. Is it ok?"
+ validargs="y,n"
+ defaultvalue="n"
+ addproperty="rat.bin.binaries.ok"/>
+ </target>
+
<target name="check-notices" description="open each notice file for review, grep for a few things" >
<fail message="README not in package">
<condition>
@@ -368,6 +488,23 @@
validargs="y,n"
defaultvalue="y"
addproperty="license.ok"/>
+ <antcall target="display-text" >
+ <param name="file" value="${basedir}/${bin.package.url.name}/NOTICE" />
+ </antcall>
+ <input
+ message="Check the binary package NOTICE for required notices from third-parties. Is it ok?"
+ validargs="y,n"
+ defaultvalue="y"
+ addproperty="bin.notice.ok"/>
+
+ <antcall target="display-text" >
+ <param name="file" value="${basedir}/${bin.package.url.name}/LICENSE" />
+ </antcall>
+ <input
+ message="Check the binary package LICENSE for the Apache License and third-party licenses. Is it ok?"
+ validargs="y,n"
+ defaultvalue="y"
+ addproperty="bin.license.ok"/>
</target>
<target name="ask.build">
@@ -540,10 +677,14 @@
<and>
<equals arg1="${rat.license.ok}" arg2="y" />
<equals arg1="${rat.binaries.ok}" arg2="y" />
+ <equals arg1="${rat.bin.license.ok}" arg2="y" />
+ <equals arg1="${rat.bin.binaries.ok}" arg2="y" />
<equals arg1="${readme.ok}" arg2="y" />
<equals arg1="${releasenotes.ok}" arg2="y" />
<equals arg1="${notice.ok}" arg2="y" />
<equals arg1="${license.ok}" arg2="y" />
+ <equals arg1="${bin.notice.ok}" arg2="y" />
+ <equals arg1="${bin.license.ok}" arg2="y" />
</and>
</condition>
<property name="vote" value="-1" />
@@ -560,6 +701,13 @@ NOTICE is ok: ${notice.ok}
LICENSE is ok: ${license.ok}
No unapproved licenses or archives: ${rat.license.ok}
No unapproved binaries: ${rat.binaries.ok}
+
+Package ${bin.package.url.path}/${bin.package.url.name}.${package.suffix}
+Binary kit signatures match: y
+NOTICE is ok: ${bin.notice.ok}
+LICENSE is ok: ${bin.license.ok}
+No unapproved licenses or archives in binary package: ${rat.bin.license.ok}
+No unapproved binaries in binary package: ${rat.bin.binaries.ok}
</echo>
<fail>
<condition>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3cab6cfe/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
index 57ccb0c..21cb1dc 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
Apache FlexJS
-Copyright 2012-2015 The Apache Software Foundation
+Copyright 2012-2016 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3cab6cfe/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 898ec3a..94858bb 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -1,3 +1,13 @@
+Apache FlexJS 0.6.0
+=================
+
+Apache FlexJS is a next-generation Flex SDK that provides the capability
+to cross-compile MXML and AS applications to HTML/JS/CSS so they can run
+in a browser without Flash.
+
+This is the fourth release of Apache FlexJS. It is an ‘beta’ type of release.
+Expect to find lots of bugs and missing features.
+
Apache FlexJS 0.5.0
=================
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3cab6cfe/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 465b13a..5548c14 100644
--- a/build.xml
+++ b/build.xml
@@ -627,6 +627,7 @@
<exclude name="**/*.pbj"/>
<exclude name="**/*.swf"/>
<exclude name="**/*.mxp"/>
+ <exclude name="fb.properties"/>
<exclude name="fonts/**"/>
<exclude name="test*/**"/>
<exclude name="js/VanillaSDK/**"/>
[17/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Added
LocalStorage class via new Storage project.
Posted by ah...@apache.org.
Added LocalStorage class via new Storage project.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/54794500
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/54794500
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/54794500
Branch: refs/heads/master
Commit: 54794500106b4023156cdfda39a363f947d26ad5
Parents: d5ee78a
Author: Peter Ent <pe...@apache.org>
Authored: Mon Feb 22 14:34:28 2016 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Mon Feb 22 14:34:28 2016 -0500
----------------------------------------------------------------------
frameworks/build.xml | 6 +
frameworks/projects/Storage/build.xml | 172 ++++++++++++++++
.../Storage/src/main/flex/StorageClasses.as | 34 ++++
.../org/apache/flex/storage/LocalStorage.as | 197 +++++++++++++++++++
.../src/main/resources/basic-manifest.xml | 24 +++
.../src/main/resources/compile-asjs-config.xml | 78 ++++++++
.../src/main/resources/compile-config.xml | 77 ++++++++
7 files changed, 588 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/54794500/frameworks/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/build.xml b/frameworks/build.xml
index eebb204..8ba8f75 100644
--- a/frameworks/build.xml
+++ b/frameworks/build.xml
@@ -93,6 +93,7 @@
<antcall target="Mobile"/>
<antcall target="Network"/>
<antcall target="Reflection"/>
+ <antcall target="Storage"/>
</target>
<target name="fonts">
@@ -136,6 +137,7 @@
<ant dir="${basedir}/projects/Mobile" target="clean"/>
<ant dir="${basedir}/projects/Network" target="clean"/>
<ant dir="${basedir}/projects/Reflection" target="clean"/>
+ <ant dir="${basedir}/projects/Storage" target="clean"/>
<ant dir="${basedir}/fontsrc" target="clean"/>
<!-- delete the FlashBuilder executable directories -->
@@ -224,6 +226,10 @@
<ant dir="${basedir}/projects/Reflection"/>
</target>
+ <target name="Storage" description="Clean build of Storage.swc">
+ <ant dir="${basedir}/projects/Storage"/>
+ </target>
+
<target name="flex-config" depends="playerglobal-setswfversion" description="Copy the flex config template to flex-config.xml and inject version numbers">
<copy file="${basedir}/flex-config-template.xml" tofile="${basedir}/flex-config.xml" overwrite="true">
<filterset>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/54794500/frameworks/projects/Storage/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/build.xml b/frameworks/projects/Storage/build.xml
new file mode 100644
index 0000000..0d5fd9a
--- /dev/null
+++ b/frameworks/projects/Storage/build.xml
@@ -0,0 +1,172 @@
+<?xml version="1.0"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+
+
+<project name="Storage" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+ <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="target.name" value="Storage-${release.version}.swc" />
+ <property name="target.name.no.version" value="Storage.swc" />
+
+ <target name="main" depends="clean,compile-asjs,compile-extern-swc,copy-js,compile,test" description="Full build of Storage.swc">
+ </target>
+
+ <target name="test" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="as/tests"/>
+ -->
+ </target>
+
+ <target name="test-js" unless="is.jenkins">
+ <!-- no tests yet
+ <ant dir="js/tests" />
+ -->
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/libs">
+ <include name="${target.name.no.version}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+
+ <target name="compile" description="Compiles .as files into .swc">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+
+ <!-- Load the <compc> task. We can't do this at the <project> level -->
+ <!-- because targets that run before flexTasks.jar gets built would fail. -->
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in StorageClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ Include the appropriate CSS files and assets in the SWC.
+ Don't include any resources in the SWC.
+ Write a bundle list of referenced resource bundles
+ into the file bundles.properties in this directory.
+ -->
+ <compc fork="true"
+ output="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-define=COMPILE::AS3,true" />
+ <arg value="-define=COMPILE::JS,false" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name.no.version}" />
+ </target>
+
+ <target name="compile-asjs">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <arg value="-output=${basedir}/target/generated-sources/flexjs" />
+ <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </java>
+ </target>
+
+ <target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/externs/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${FLEXJS_HOME}/frameworks/externs"/>
+ <mkdir dir="${basedir}/target/externs"/>
+
+ <!-- Load the <compc> task. We can't do this at the <project> level -->
+ <!-- because targets that run before flexTasks.jar gets built would fail. -->
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ <!--
+ Link in the classes (and their dependencies) for the MXML tags
+ listed in this project's manifest.xml.
+ Also link the additional classes (and their dependencies)
+ listed in CoreClasses.as,
+ because these aren't referenced by the manifest classes.
+ Keep the standard metadata when compiling.
+ Include the appropriate CSS files and assets in the SWC.
+ Don't include any resources in the SWC.
+ Write a bundle list of referenced resource bundles
+ into the file bundles.properties in this directory.
+ -->
+ <compc fork="true"
+ output="${basedir}/target/externs/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-external-library-path+=${JS.SWC}" />
+ <!-- this is not on external-library path otherwise goog.requires are not generated -->
+ <arg value="-library-path+=${GCL.SWC}" />
+ <arg value="-define=COMPILE::AS3,false" />
+ <arg value="-define=COMPILE::JS,true" />
+ </compc>
+ <copy file="${basedir}/target/externs/${target.name}" tofile="${FLEXJS_HOME}/frameworks/externs/${target.name.no.version}" />
+ </target>
+
+ <target name="copy-js">
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/54794500/frameworks/projects/Storage/src/main/flex/StorageClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/StorageClasses.as b/frameworks/projects/Storage/src/main/flex/StorageClasses.as
new file mode 100644
index 0000000..1f6b80a
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/StorageClasses.as
@@ -0,0 +1,34 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package
+{
+
+/**
+ * @private
+ * This class is used to link additional classes into rpc.swc
+ * beyond those that are found by dependency analysis starting
+ * from the classes specified in manifest.xml.
+ */
+internal class StorageClasses
+{
+ import org.apache.flex.storage.LocalStorage; LocalStorage;
+}
+
+}
+
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/54794500/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/LocalStorage.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/LocalStorage.as b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/LocalStorage.as
new file mode 100644
index 0000000..a3a2b87
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/flex/org/apache/flex/storage/LocalStorage.as
@@ -0,0 +1,197 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.storage
+{
+COMPILE::AS3 {
+ import flash.net.SharedObject;
+}
+
+/**
+ * The LocalStorage class allows apps to store small amounts of data
+ * locally, in the browser's permitted storage area. This data will persist
+ * between browser invocations. The data is stored in key=value pairs.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+public class LocalStorage
+{
+
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ public function LocalStorage()
+ {
+ COMPILE::AS3 {
+ try {
+ sharedObject = SharedObject.getLocal("flexjs","/",false);
+ } catch(e) {
+ sharedObject = null;
+ }
+ }
+ }
+
+ COMPILE::AS3
+ private var sharedObject:SharedObject;
+
+ /**
+ * Returns true if the platform provides local storage.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ public function storageAvailable():Boolean
+ {
+ var result:Boolean = false;
+
+ COMPILE::AS3 {
+ result = (sharedObject != null);
+ }
+
+ COMPILE::JS {
+ try {
+ result = 'localStorage' in window && window['localStorage'] !== null;
+ } catch(e) {
+ result = false;
+ }
+ }
+
+ return result;
+ }
+
+ /**
+ * Stores a value with a key. The value may be converted to a String, depending
+ * on the platform.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ public function setValue(key:String, value:Object) : Boolean
+ {
+ if (!storageAvailable()) return false;
+
+ COMPILE::AS3 {
+ sharedObject.data[key] = value;
+ sharedObject.flush();
+ }
+
+ COMPILE::JS {
+ window.localStorage[key] = value;
+ }
+
+ return true;
+ }
+
+ /**
+ * Returns the value associated with the key, or undefined if there is
+ * no value stored. Note that a String version of the value may have been
+ * stored, depending on the platform.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ public function getValue(key:String) : Object
+ {
+ if (!storageAvailable()) return null;
+
+ var result:Object = null;
+
+ COMPILE::AS3 {
+ result = sharedObject.data[key];
+ }
+
+ COMPILE::JS {
+ result = window.localStorage[key];
+ }
+
+ return result;
+ }
+
+ /**
+ * Removed the value and, possibly, the key from local storage. On some
+ * platforms, retriving the value after removing it will be an error, on
+ * others it may return undefined or null.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ public function removeValue(key:String) : Boolean
+ {
+ if (!storageAvailable()) return null;
+
+ COMPILE::AS3 {
+ delete sharedObject.data[key];
+ sharedObject.flush();
+ }
+
+ COMPILE::JS {
+ window.localStorage[key] = null;
+ }
+
+ return true;
+ }
+
+ /**
+ * Returns true if there is a value stored for the key.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignoreimport window
+ */
+ public function hasValue(key:String) : Boolean
+ {
+ if (!storageAvailable()) return false;
+
+ var result:Boolean = false;
+
+ COMPILE::AS3 {
+ result = sharedObject.data.hasOwnProperty(key);
+ }
+
+ COMPILE::JS {
+ result = (window.localStorage[key] !== null);
+ }
+
+ return result;
+ }
+}
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/54794500/frameworks/projects/Storage/src/main/resources/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/resources/basic-manifest.xml b/frameworks/projects/Storage/src/main/resources/basic-manifest.xml
new file mode 100644
index 0000000..cd0f5b4
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/resources/basic-manifest.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+
+
+<componentPackage>
+
+</componentPackage>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/54794500/frameworks/projects/Storage/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/resources/compile-asjs-config.xml b/frameworks/projects/Storage/src/main/resources/compile-asjs-config.xml
new file mode 100644
index 0000000..0d410aa
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/resources/compile-asjs-config.xml
@@ -0,0 +1,78 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>StorageClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/54794500/frameworks/projects/Storage/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/resources/compile-config.xml b/frameworks/projects/Storage/src/main/resources/compile-config.xml
new file mode 100644
index 0000000..bdd4048
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/resources/compile-config.xml
@@ -0,0 +1,77 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>StorageClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>