Repository: flex-asjs Updated Branches: refs/heads/develop e4aeba185 -> 08f937007
need 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/1177c59f Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1177c59f Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1177c59f Branch: refs/heads/develop Commit: 1177c59f2e45aa8b2b7a728179d674ecd6f652cc Parents: e4aeba1 Author: Alex Harui <[email protected]> Authored: Fri Apr 4 10:25:23 2014 -0700 Committer: Alex Harui <[email protected]> Committed: Sat Apr 5 22:20:46 2014 -0700 ---------------------------------------------------------------------- frameworks/as/air-config-template.xml | 9 ++++- frameworks/as/flex-config-template.xml | 39 ++++++++++++-------- .../tests/FlexUnitFlexJSApplication.mxml | 18 ++++++++- .../tests/flexUnitTests/DataGridColumnTester.as | 18 +++++++++ .../flexUnitTests/DataGridColumnTesterTest.as | 18 +++++++++ .../tests/FlexUnitFlexJSApplication.mxml | 18 ++++++++- .../tests/flexUnitTests/StrandTester.as | 18 +++++++++ .../tests/flexUnitTests/StrandTesterTest.as | 18 +++++++++ 8 files changed, 137 insertions(+), 19 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1177c59f/frameworks/as/air-config-template.xml ---------------------------------------------------------------------- diff --git a/frameworks/as/air-config-template.xml b/frameworks/as/air-config-template.xml index f7af70d..f0adfc6 100644 --- a/frameworks/as/air-config-template.xml +++ b/frameworks/as/air-config-template.xml @@ -81,7 +81,14 @@ <path-element>{airHome}/frameworks/libs/air</path-element> </library-path> - <namespaces> + <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> + + <namespaces> <!-- Specify a URI to associate with a manifest of components for use as MXML --> <!-- elements. --> <namespace> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1177c59f/frameworks/as/flex-config-template.xml ---------------------------------------------------------------------- diff --git a/frameworks/as/flex-config-template.xml b/frameworks/as/flex-config-template.xml index 013a2ec..be63168 100644 --- a/frameworks/as/flex-config-template.xml +++ b/frameworks/as/flex-config-template.xml @@ -21,21 +21,21 @@ <flex-config> - <!-- Specifies the minimum player version that will run the compiled SWF. --> - <target-player>@playerversion@</target-player> - - <!-- Specifies the version of the compiled SWF --> - <swf-version>@swfversion@</swf-version> + <!-- Specifies the minimum player version that will run the compiled SWF. --> + <target-player>@playerversion@</target-player> + + <!-- Specifies the version of the compiled SWF --> + <swf-version>@swfversion@</swf-version> <compiler> <!-- Turn on generation of accessible SWFs. --> <accessible>true</accessible> - <!-- Specifies the locales for internationalization. --> - <locale> - <locale-element>@locale@</locale-element> - </locale> + <!-- Specifies the locales for internationalization. --> + <locale> + <locale-element>@locale@</locale-element> + </locale> <!-- List of path elements that form the roots of ActionScript class hierarchies. --> <!-- not set --> @@ -78,23 +78,30 @@ <!-- List of SWC files or directories that contain SWC files. --> <library-path> - <path-element>as/libs</path-element> + <path-element>as/libs</path-element> <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element> </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> + <namespaces> <!-- Specify a URI to associate with a manifest of components for use as MXML --> <!-- elements. --> <namespace> - <uri>library://ns.apache.org/flexjs/basic</uri> + <uri>library://ns.apache.org/flexjs/basic</uri> - <manifest>as/projects/FlexJSUI/basic-manifest.xml</manifest> + <manifest>as/projects/FlexJSUI/basic-manifest.xml</manifest> </namespace> <namespace> - <uri>library://ns.apache.org/flexjs/html5</uri> + <uri>library://ns.apache.org/flexjs/html5</uri> - <manifest>as/projects/FlexJSUI/html5-manifest.xml</manifest> + <manifest>as/projects/FlexJSUI/html5-manifest.xml</manifest> </namespace> <namespace> @@ -207,8 +214,8 @@ <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot> --> - </fonts> - + </fonts> + <!-- Array.toString() format has changed. --> <warn-array-tostring-changes>false</warn-array-tostring-changes> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1177c59f/frameworks/as/projects/FlexJSJX/tests/FlexUnitFlexJSApplication.mxml ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSJX/tests/FlexUnitFlexJSApplication.mxml b/frameworks/as/projects/FlexJSJX/tests/FlexUnitFlexJSApplication.mxml index d4acdae..a8d533c 100644 --- a/frameworks/as/projects/FlexJSJX/tests/FlexUnitFlexJSApplication.mxml +++ b/frameworks/as/projects/FlexJSJX/tests/FlexUnitFlexJSApplication.mxml @@ -1,6 +1,22 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- -<!-- This is an auto generated file and is not intended for modification. --> +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. + +--> <basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:basic="library://ns.apache.org/flexjs/basic" http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1177c59f/frameworks/as/projects/FlexJSJX/tests/flexUnitTests/DataGridColumnTester.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSJX/tests/flexUnitTests/DataGridColumnTester.as b/frameworks/as/projects/FlexJSJX/tests/flexUnitTests/DataGridColumnTester.as index 038dae2..e060b1f 100644 --- a/frameworks/as/projects/FlexJSJX/tests/flexUnitTests/DataGridColumnTester.as +++ b/frameworks/as/projects/FlexJSJX/tests/flexUnitTests/DataGridColumnTester.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 flexUnitTests { [Suite] http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1177c59f/frameworks/as/projects/FlexJSJX/tests/flexUnitTests/DataGridColumnTesterTest.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSJX/tests/flexUnitTests/DataGridColumnTesterTest.as b/frameworks/as/projects/FlexJSJX/tests/flexUnitTests/DataGridColumnTesterTest.as index 275b2a3..1a3cc0f 100644 --- a/frameworks/as/projects/FlexJSJX/tests/flexUnitTests/DataGridColumnTesterTest.as +++ b/frameworks/as/projects/FlexJSJX/tests/flexUnitTests/DataGridColumnTesterTest.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 flexUnitTests { import flexunit.framework.Assert; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1177c59f/frameworks/as/projects/FlexJSUI/tests/FlexUnitFlexJSApplication.mxml ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSUI/tests/FlexUnitFlexJSApplication.mxml b/frameworks/as/projects/FlexJSUI/tests/FlexUnitFlexJSApplication.mxml index d1a9ace..558f1e6 100644 --- a/frameworks/as/projects/FlexJSUI/tests/FlexUnitFlexJSApplication.mxml +++ b/frameworks/as/projects/FlexJSUI/tests/FlexUnitFlexJSApplication.mxml @@ -1,6 +1,22 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- -<!-- This is an auto generated file and is not intended for modification. --> +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. + +--> <basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:basic="library://ns.apache.org/flexjs/basic" http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1177c59f/frameworks/as/projects/FlexJSUI/tests/flexUnitTests/StrandTester.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSUI/tests/flexUnitTests/StrandTester.as b/frameworks/as/projects/FlexJSUI/tests/flexUnitTests/StrandTester.as index a4f2dfe..df62e31 100644 --- a/frameworks/as/projects/FlexJSUI/tests/flexUnitTests/StrandTester.as +++ b/frameworks/as/projects/FlexJSUI/tests/flexUnitTests/StrandTester.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 flexUnitTests { [Suite] http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1177c59f/frameworks/as/projects/FlexJSUI/tests/flexUnitTests/StrandTesterTest.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSUI/tests/flexUnitTests/StrandTesterTest.as b/frameworks/as/projects/FlexJSUI/tests/flexUnitTests/StrandTesterTest.as index 23a2a87..97a84a3 100644 --- a/frameworks/as/projects/FlexJSUI/tests/flexUnitTests/StrandTesterTest.as +++ b/frameworks/as/projects/FlexJSUI/tests/flexUnitTests/StrandTesterTest.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 flexUnitTests { import flexunit.framework.Assert;
