new folders for HTML5
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/ea484934 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ea484934 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ea484934 Branch: refs/heads/mavenfolders Commit: ea4849342559a7d67d464886da5b90c9ea6c8c55 Parents: a7659d6 Author: Alex Harui <aha...@apache.org> Authored: Tue Feb 2 21:23:40 2016 -0800 Committer: Alex Harui <aha...@apache.org> Committed: Tue Feb 2 21:23:40 2016 -0800 ---------------------------------------------------------------------- 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 ------ .../projects/HTML5/compile-asjs-config.xml | 70 ----------------- frameworks/projects/HTML5/compile-config.xml | 83 -------------------- frameworks/projects/HTML5/html5-manifest.xml | 35 --------- .../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 +++++++++ 30 files changed, 566 insertions(+), 566 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/as/defaults.css ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/as/defaults.css b/frameworks/projects/HTML5/as/defaults.css deleted file mode 100644 index 696fa2d..0000000 --- a/frameworks/projects/HTML5/as/defaults.css +++ /dev/null @@ -1,68 +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. - * - */ - -@namespace h5 "library://ns.apache.org/flexjs/html5"; - - -@media -flex-flash -{ - -/* HTML5 */ - -h5|TextButton -{ - IBeadView: ClassReference("org.apache.flex.html.beads.CSSTextToggleButtonView"); -} - -h5|TextInput -{ - IBeadView: ClassReference("org.apache.flex.html.beads.TextInputWithBorderView"); -} - -h5|CheckBox -{ - IBeadModel: ClassReference("org.apache.flex.html.beads.models.ToggleButtonModel"); - IBeadView: ClassReference("org.apache.flex.html.beads.CheckBoxView"); -} - -h5|RadioButton -{ - IBeadModel: ClassReference("org.apache.flex.html.beads.models.ValueToggleButtonModel"); - IBeadView: ClassReference("org.apache.flex.html.beads.RadioButtonView"); -} - -h5|List -{ - IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel"); -} - -h5|DropDownList -{ - IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel"); - IPopUp: ClassReference("org.apache.flex.html.supportClasses.DropDownListList"); -} - -h5|ComboBox -{ - IBeadView: ClassReference("org.apache.flex.html.beads.ComboBoxView"); - IBeadModel: ClassReference("org.apache.flex.html.beads.models.ComboBoxModel"); - IPopUp: ClassReference("org.apache.flex.html.supportClasses.DropDownListList"); -} - -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/as/src/HTML5Classes.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/as/src/HTML5Classes.as b/frameworks/projects/HTML5/as/src/HTML5Classes.as deleted file mode 100644 index 0e9c1fb..0000000 --- a/frameworks/projects/HTML5/as/src/HTML5Classes.as +++ /dev/null @@ -1,33 +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 -{ - -/** - * @private - * This class is used to link additional classes into rpc.swc - * beyond those that are found by dependecy analysis starting - * from the classes specified in manifest.xml. - */ -internal class HTML5Classes -{ -} - -} - http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/as/src/org/apache/flex/html5/Button.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/Button.as b/frameworks/projects/HTML5/as/src/org/apache/flex/html5/Button.as deleted file mode 100644 index 41a81ab..0000000 --- a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/Button.as +++ /dev/null @@ -1,26 +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.html5 -{ - import org.apache.flex.html.Button; - - public class Button extends org.apache.flex.html.Button - { - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/as/src/org/apache/flex/html5/CheckBox.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/CheckBox.as b/frameworks/projects/HTML5/as/src/org/apache/flex/html5/CheckBox.as deleted file mode 100644 index 8af13ac..0000000 --- a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/CheckBox.as +++ /dev/null @@ -1,26 +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.html5 -{ - import org.apache.flex.html.CheckBox; - - public class CheckBox extends org.apache.flex.html.CheckBox - { - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/as/src/org/apache/flex/html5/ComboBox.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/ComboBox.as b/frameworks/projects/HTML5/as/src/org/apache/flex/html5/ComboBox.as deleted file mode 100644 index 2c10af6..0000000 --- a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/ComboBox.as +++ /dev/null @@ -1,26 +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.html5 -{ - import org.apache.flex.html.ComboBox; - - public class ComboBox extends org.apache.flex.html.ComboBox - { - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/as/src/org/apache/flex/html5/DropDownList.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/DropDownList.as b/frameworks/projects/HTML5/as/src/org/apache/flex/html5/DropDownList.as deleted file mode 100644 index 41dea1a..0000000 --- a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/DropDownList.as +++ /dev/null @@ -1,26 +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.html5 -{ - import org.apache.flex.html.DropDownList; - - public class DropDownList extends org.apache.flex.html.DropDownList - { - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/as/src/org/apache/flex/html5/Label.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/Label.as b/frameworks/projects/HTML5/as/src/org/apache/flex/html5/Label.as deleted file mode 100644 index d6ee5d2..0000000 --- a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/Label.as +++ /dev/null @@ -1,33 +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.html5 -{ - import org.apache.flex.html.Label; - - /** - * Label probably should extend TextField directly, - * but the player's APIs for TextLine do not allow - * direct instantiation, and we might want to allow - * Labels to be declared and have their actual - * view be swapped out. - */ - public class Label extends org.apache.flex.html.Label - { - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/as/src/org/apache/flex/html5/List.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/List.as b/frameworks/projects/HTML5/as/src/org/apache/flex/html5/List.as deleted file mode 100644 index 8c501bd..0000000 --- a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/List.as +++ /dev/null @@ -1,33 +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.html5 -{ - import org.apache.flex.html.List; - - /** - * Label probably should extend TextField directly, - * but the player's APIs for TextLine do not allow - * direct instantiation, and we might want to allow - * Labels to be declared and have their actual - * view be swapped out. - */ - public class List extends org.apache.flex.html.List - { - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/as/src/org/apache/flex/html5/RadioButton.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/RadioButton.as b/frameworks/projects/HTML5/as/src/org/apache/flex/html5/RadioButton.as deleted file mode 100644 index f3f1fa7..0000000 --- a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/RadioButton.as +++ /dev/null @@ -1,26 +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.html5 -{ - import org.apache.flex.html.RadioButton; - - public class RadioButton extends org.apache.flex.html.RadioButton - { - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/as/src/org/apache/flex/html5/TextArea.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/TextArea.as b/frameworks/projects/HTML5/as/src/org/apache/flex/html5/TextArea.as deleted file mode 100644 index 59363f7..0000000 --- a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/TextArea.as +++ /dev/null @@ -1,26 +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.html5 -{ - import org.apache.flex.html.TextArea; - - public class TextArea extends org.apache.flex.html.TextArea - { - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/as/src/org/apache/flex/html5/TextButton.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/TextButton.as b/frameworks/projects/HTML5/as/src/org/apache/flex/html5/TextButton.as deleted file mode 100644 index d92bf03..0000000 --- a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/TextButton.as +++ /dev/null @@ -1,30 +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.html5 -{ - import org.apache.flex.html.TextButton; - - public class TextButton extends org.apache.flex.html.TextButton - { - public function TextButton() - { - super(); - } - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/as/src/org/apache/flex/html5/TextInput.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/TextInput.as b/frameworks/projects/HTML5/as/src/org/apache/flex/html5/TextInput.as deleted file mode 100644 index 91d1eb9..0000000 --- a/frameworks/projects/HTML5/as/src/org/apache/flex/html5/TextInput.as +++ /dev/null @@ -1,25 +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.html5 -{ - import org.apache.flex.html.TextInput; - - public class TextInput extends org.apache.flex.html.TextInput - { - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/compile-asjs-config.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/compile-asjs-config.xml b/frameworks/projects/HTML5/compile-asjs-config.xml deleted file mode 100644 index 0e2439c..0000000 --- a/frameworks/projects/HTML5/compile-asjs-config.xml +++ /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. - ---> -<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> - <!-- 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> - <path-element>../../externs/HTML.swc</path-element> - </library-path> - - <source-path> - <path-element>as/src</path-element> - </source-path> - - <warn-no-constructor>false</warn-no-constructor> - </compiler> - - <include-sources> - <path-element>as/src</path-element> - </include-sources> - - <include-namespaces> - <uri>library://ns.apache.org/flexjs/html5</uri> - </include-namespaces> - - <target-player>${playerglobal.version}</target-player> - - -</flex-config> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/compile-config.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/compile-config.xml b/frameworks/projects/HTML5/compile-config.xml deleted file mode 100644 index f2ece61..0000000 --- a/frameworks/projects/HTML5/compile-config.xml +++ /dev/null @@ -1,83 +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. - ---> -<flex-config> - - <compiler> - <accessible>false</accessible> - - <external-library-path> - <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element> - <path-element>../../libs/Core.swc</path-element> - <path-element>../../libs/HTML.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/html5</uri> - <manifest>html5-manifest.xml</manifest> - </namespace> - </namespaces> - - <source-path> - <path-element>as/src</path-element> - </source-path> - - <warn-no-constructor>false</warn-no-constructor> - </compiler> - - <include-file> - <name>defaults.css</name> - <path>as/defaults.css</path> - </include-file> - <include-file> - <name>js/out/*</name> - <path>js/out/*</path> - </include-file> - - <include-classes> - <class>HTML5Classes</class> - </include-classes> - - <include-namespaces> - <uri>library://ns.apache.org/flexjs/html5</uri> - </include-namespaces> - - <target-player>${playerglobal.version}</target-player> - - -</flex-config> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/html5-manifest.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/html5-manifest.xml b/frameworks/projects/HTML5/html5-manifest.xml deleted file mode 100644 index bb0a281..0000000 --- a/frameworks/projects/HTML5/html5-manifest.xml +++ /dev/null @@ -1,35 +0,0 @@ -<?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> - - - <component id="Label" class="org.apache.flex.html5.Label"/> - <component id="TextButton" class="org.apache.flex.html5.TextButton"/> - <component id="TextInput" class="org.apache.flex.html5.TextInput"/> - <component id="TextArea" class="org.apache.flex.html5.TextArea"/> - <component id="CheckBox" class="org.apache.flex.html5.CheckBox"/> - <component id="RadioButton" class="org.apache.flex.html5.RadioButton"/> - <component id="List" class="org.apache.flex.html5.List"/> - <component id="DropDownList" class="org.apache.flex.html5.DropDownList"/> - <component id="ComboBox" class="org.apache.flex.html5.ComboBox"/> - -</componentPackage> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/src/main/flex/HTML5Classes.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/flex/HTML5Classes.as b/frameworks/projects/HTML5/src/main/flex/HTML5Classes.as new file mode 100644 index 0000000..0e9c1fb --- /dev/null +++ b/frameworks/projects/HTML5/src/main/flex/HTML5Classes.as @@ -0,0 +1,33 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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 dependecy analysis starting + * from the classes specified in manifest.xml. + */ +internal class HTML5Classes +{ +} + +} + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/Button.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/Button.as b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/Button.as new file mode 100644 index 0000000..41a81ab --- /dev/null +++ b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/Button.as @@ -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. +// +//////////////////////////////////////////////////////////////////////////////// +package org.apache.flex.html5 +{ + import org.apache.flex.html.Button; + + public class Button extends org.apache.flex.html.Button + { + } +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/CheckBox.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/CheckBox.as b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/CheckBox.as new file mode 100644 index 0000000..8af13ac --- /dev/null +++ b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/CheckBox.as @@ -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. +// +//////////////////////////////////////////////////////////////////////////////// +package org.apache.flex.html5 +{ + import org.apache.flex.html.CheckBox; + + public class CheckBox extends org.apache.flex.html.CheckBox + { + } +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/ComboBox.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/ComboBox.as b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/ComboBox.as new file mode 100644 index 0000000..2c10af6 --- /dev/null +++ b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/ComboBox.as @@ -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. +// +//////////////////////////////////////////////////////////////////////////////// +package org.apache.flex.html5 +{ + import org.apache.flex.html.ComboBox; + + public class ComboBox extends org.apache.flex.html.ComboBox + { + } +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/DropDownList.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/DropDownList.as b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/DropDownList.as new file mode 100644 index 0000000..41dea1a --- /dev/null +++ b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/DropDownList.as @@ -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. +// +//////////////////////////////////////////////////////////////////////////////// +package org.apache.flex.html5 +{ + import org.apache.flex.html.DropDownList; + + public class DropDownList extends org.apache.flex.html.DropDownList + { + } +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/Label.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/Label.as b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/Label.as new file mode 100644 index 0000000..d6ee5d2 --- /dev/null +++ b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/Label.as @@ -0,0 +1,33 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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.html5 +{ + import org.apache.flex.html.Label; + + /** + * Label probably should extend TextField directly, + * but the player's APIs for TextLine do not allow + * direct instantiation, and we might want to allow + * Labels to be declared and have their actual + * view be swapped out. + */ + public class Label extends org.apache.flex.html.Label + { + } +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/List.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/List.as b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/List.as new file mode 100644 index 0000000..8c501bd --- /dev/null +++ b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/List.as @@ -0,0 +1,33 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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.html5 +{ + import org.apache.flex.html.List; + + /** + * Label probably should extend TextField directly, + * but the player's APIs for TextLine do not allow + * direct instantiation, and we might want to allow + * Labels to be declared and have their actual + * view be swapped out. + */ + public class List extends org.apache.flex.html.List + { + } +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/RadioButton.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/RadioButton.as b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/RadioButton.as new file mode 100644 index 0000000..f3f1fa7 --- /dev/null +++ b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/RadioButton.as @@ -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. +// +//////////////////////////////////////////////////////////////////////////////// +package org.apache.flex.html5 +{ + import org.apache.flex.html.RadioButton; + + public class RadioButton extends org.apache.flex.html.RadioButton + { + } +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TextArea.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TextArea.as b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TextArea.as new file mode 100644 index 0000000..59363f7 --- /dev/null +++ b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TextArea.as @@ -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. +// +//////////////////////////////////////////////////////////////////////////////// +package org.apache.flex.html5 +{ + import org.apache.flex.html.TextArea; + + public class TextArea extends org.apache.flex.html.TextArea + { + } +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TextButton.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TextButton.as b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TextButton.as new file mode 100644 index 0000000..d92bf03 --- /dev/null +++ b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TextButton.as @@ -0,0 +1,30 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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.html5 +{ + import org.apache.flex.html.TextButton; + + public class TextButton extends org.apache.flex.html.TextButton + { + public function TextButton() + { + super(); + } + } +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TextInput.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TextInput.as b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TextInput.as new file mode 100644 index 0000000..91d1eb9 --- /dev/null +++ b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TextInput.as @@ -0,0 +1,25 @@ +// +// 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.html5 +{ + import org.apache.flex.html.TextInput; + + public class TextInput extends org.apache.flex.html.TextInput + { + } +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/src/main/resources/compile-asjs-config.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/resources/compile-asjs-config.xml b/frameworks/projects/HTML5/src/main/resources/compile-asjs-config.xml new file mode 100644 index 0000000..0e2439c --- /dev/null +++ b/frameworks/projects/HTML5/src/main/resources/compile-asjs-config.xml @@ -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. + +--> +<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> + <!-- 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> + <path-element>../../externs/HTML.swc</path-element> + </library-path> + + <source-path> + <path-element>as/src</path-element> + </source-path> + + <warn-no-constructor>false</warn-no-constructor> + </compiler> + + <include-sources> + <path-element>as/src</path-element> + </include-sources> + + <include-namespaces> + <uri>library://ns.apache.org/flexjs/html5</uri> + </include-namespaces> + + <target-player>${playerglobal.version}</target-player> + + +</flex-config> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/src/main/resources/compile-config.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/resources/compile-config.xml b/frameworks/projects/HTML5/src/main/resources/compile-config.xml new file mode 100644 index 0000000..f2ece61 --- /dev/null +++ b/frameworks/projects/HTML5/src/main/resources/compile-config.xml @@ -0,0 +1,83 @@ +<!-- + + 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> + <path-element>../../libs/Core.swc</path-element> + <path-element>../../libs/HTML.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/html5</uri> + <manifest>html5-manifest.xml</manifest> + </namespace> + </namespaces> + + <source-path> + <path-element>as/src</path-element> + </source-path> + + <warn-no-constructor>false</warn-no-constructor> + </compiler> + + <include-file> + <name>defaults.css</name> + <path>as/defaults.css</path> + </include-file> + <include-file> + <name>js/out/*</name> + <path>js/out/*</path> + </include-file> + + <include-classes> + <class>HTML5Classes</class> + </include-classes> + + <include-namespaces> + <uri>library://ns.apache.org/flexjs/html5</uri> + </include-namespaces> + + <target-player>${playerglobal.version}</target-player> + + +</flex-config> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/src/main/resources/defaults.css ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/resources/defaults.css b/frameworks/projects/HTML5/src/main/resources/defaults.css new file mode 100644 index 0000000..696fa2d --- /dev/null +++ b/frameworks/projects/HTML5/src/main/resources/defaults.css @@ -0,0 +1,68 @@ +/* + * + * 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 h5 "library://ns.apache.org/flexjs/html5"; + + +@media -flex-flash +{ + +/* HTML5 */ + +h5|TextButton +{ + IBeadView: ClassReference("org.apache.flex.html.beads.CSSTextToggleButtonView"); +} + +h5|TextInput +{ + IBeadView: ClassReference("org.apache.flex.html.beads.TextInputWithBorderView"); +} + +h5|CheckBox +{ + IBeadModel: ClassReference("org.apache.flex.html.beads.models.ToggleButtonModel"); + IBeadView: ClassReference("org.apache.flex.html.beads.CheckBoxView"); +} + +h5|RadioButton +{ + IBeadModel: ClassReference("org.apache.flex.html.beads.models.ValueToggleButtonModel"); + IBeadView: ClassReference("org.apache.flex.html.beads.RadioButtonView"); +} + +h5|List +{ + IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel"); +} + +h5|DropDownList +{ + IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel"); + IPopUp: ClassReference("org.apache.flex.html.supportClasses.DropDownListList"); +} + +h5|ComboBox +{ + IBeadView: ClassReference("org.apache.flex.html.beads.ComboBoxView"); + IBeadModel: ClassReference("org.apache.flex.html.beads.models.ComboBoxModel"); + IPopUp: ClassReference("org.apache.flex.html.supportClasses.DropDownListList"); +} + +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ea484934/frameworks/projects/HTML5/src/main/resources/html5-manifest.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/resources/html5-manifest.xml b/frameworks/projects/HTML5/src/main/resources/html5-manifest.xml new file mode 100644 index 0000000..bb0a281 --- /dev/null +++ b/frameworks/projects/HTML5/src/main/resources/html5-manifest.xml @@ -0,0 +1,35 @@ +<?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> + + + <component id="Label" class="org.apache.flex.html5.Label"/> + <component id="TextButton" class="org.apache.flex.html5.TextButton"/> + <component id="TextInput" class="org.apache.flex.html5.TextInput"/> + <component id="TextArea" class="org.apache.flex.html5.TextArea"/> + <component id="CheckBox" class="org.apache.flex.html5.CheckBox"/> + <component id="RadioButton" class="org.apache.flex.html5.RadioButton"/> + <component id="List" class="org.apache.flex.html5.List"/> + <component id="DropDownList" class="org.apache.flex.html5.DropDownList"/> + <component id="ComboBox" class="org.apache.flex.html5.ComboBox"/> + +</componentPackage>