[MAVEN-BUILD] Royale-asjs - Build # 959 - Fixed
The Apache Jenkins build system has built Royale-asjs (build #959) Status: Fixed Check console output at https://builds.apache.org/job/Royale-asjs/959/ to view the results.
[MAVEN-BUILD] Royale-asjs - Build # 958 - Still Failing
The Apache Jenkins build system has built Royale-asjs (build #958) Status: Still Failing Check console output at https://builds.apache.org/job/Royale-asjs/958/ to view the results.
[royale-asjs] branch develop updated: remove model beads that are no longer needed
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/develop by this push: new 7288a5c remove model beads that are no longer needed 7288a5c is described below commit 7288a5c378b3ee1541ffd9d9528bdbfedbccc1e6 Author: Carlos Rovira AuthorDate: Tue Aug 7 13:19:25 2018 +0200 remove model beads that are no longer needed --- .../projects/Jewel/src/main/resources/defaults.css | 4 +- .../projects/Jewel/src/main/royale/JewelClasses.as | 2 - .../beads/models/SingleSelectionArrayListModel.as | 91 .../models/SingleSelectionCollectionViewModel.as | 248 - .../Jewel/src/main/sass/components/_list.sass | 4 +- 5 files changed, 4 insertions(+), 345 deletions(-) diff --git a/frameworks/projects/Jewel/src/main/resources/defaults.css b/frameworks/projects/Jewel/src/main/resources/defaults.css index 1ee8388..a3120ed 100644 --- a/frameworks/projects/Jewel/src/main/resources/defaults.css +++ b/frameworks/projects/Jewel/src/main/resources/defaults.css @@ -2601,7 +2601,7 @@ j|List { IItemRenderer: ClassReference("org.apache.royale.jewel.itemRenderers.ListItemRenderer"); IViewport: ClassReference("org.apache.royale.jewel.supportClasses.scrollbar.ScrollingViewport"); IViewportModel: ClassReference("org.apache.royale.html.beads.models.ViewportModel"); - IBeadModel: ClassReference("org.apache.royale.jewel.beads.models.SingleSelectionArrayListModel"); + IBeadModel: ClassReference("org.apache.royale.jewel.beads.models.ArrayListSelectionModel"); IDataProviderItemRendererMapper: ClassReference("org.apache.royale.jewel.beads.itemRenderers.DataItemRendererFactoryForCollectionView"); } @@ -2613,7 +2613,7 @@ j|Navigation { IItemRenderer: ClassReference("org.apache.royale.jewel.itemRenderers.NavigationLinkItemRenderer"); IViewport: ClassReference("org.apache.royale.jewel.supportClasses.scrollbar.ScrollingViewport"); IViewportModel: ClassReference("org.apache.royale.html.beads.models.ViewportModel"); - IBeadModel: ClassReference("org.apache.royale.jewel.beads.models.SingleSelectionArrayListModel"); + IBeadModel: ClassReference("org.apache.royale.jewel.beads.models.ArrayListSelectionModel"); IDataProviderItemRendererMapper: ClassReference("org.apache.royale.jewel.beads.itemRenderers.DataItemRendererFactoryForCollectionView"); } diff --git a/frameworks/projects/Jewel/src/main/royale/JewelClasses.as b/frameworks/projects/Jewel/src/main/royale/JewelClasses.as index 63cf467..6d5bc64 100644 --- a/frameworks/projects/Jewel/src/main/royale/JewelClasses.as +++ b/frameworks/projects/Jewel/src/main/royale/JewelClasses.as @@ -52,8 +52,6 @@ package import org.apache.royale.jewel.supportClasses.datechooser.DateChooserTable; DateChooserTable; import org.apache.royale.jewel.beads.views.TableView; TableView; -import org.apache.royale.jewel.beads.models.SingleSelectionCollectionViewModel; SingleSelectionCollectionViewModel; -import org.apache.royale.jewel.beads.models.SingleSelectionArrayListModel; SingleSelectionArrayListModel; import org.apache.royale.jewel.supportClasses.scrollbar.ScrollingViewport; ScrollingViewport; COMPILE::SWF diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/models/SingleSelectionArrayListModel.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/models/SingleSelectionArrayListModel.as deleted file mode 100644 index 9089200..000 --- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/models/SingleSelectionArrayListModel.as +++ /dev/null @@ -1,91 +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.royale.jewel.beads.models -{ - import org.apache.royale.collections.ICollectionView; - import org.apache.royale.collections.ArrayList; -
[royale-compiler] branch develop updated: Don’t add “node.” to local variables
This is an automated email from the ASF dual-hosted git repository. harbs pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-compiler.git The following commit(s) were added to refs/heads/develop by this push: new c1409d3 Don’t add “node.” to local variables c1409d3 is described below commit c1409d3a825766655f1bcb87847b16928df408da Author: Harbs AuthorDate: Tue Aug 7 13:32:15 2018 +0300 Don’t add “node.” to local variables --- .../compiler/internal/codegen/js/utils/EmitterUtils.java | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/utils/EmitterUtils.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/utils/EmitterUtils.java index 0976b78..d7ecbc7 100644 --- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/utils/EmitterUtils.java +++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/utils/EmitterUtils.java @@ -441,13 +441,13 @@ public class EmitterUtils IDefinition nodeDef = node.resolve(project); IASNode parentNode = node.getParent(); -ASTNodeID parentNodeId = parentNode.getNodeID(); +//ASTNodeID parentNodeId = parentNode.getNodeID(); IASNode firstChild = parentNode.getChild(0); -final IClassDefinition thisClass = model.getCurrentClass(); +//final IClassDefinition thisClass = model.getCurrentClass(); -boolean identifierIsMemberAccess = parentNodeId == ASTNodeID.MemberAccessExpressionID; +//boolean identifierIsMemberAccess = parentNodeId == ASTNodeID.MemberAccessExpressionID; if (parentNode instanceof IUnaryOperatorNode) return false; @@ -457,6 +457,14 @@ public class EmitterUtils return false; if (nodeDef instanceof ClassDefinition) return false; +if (nodeDef instanceof VariableDefinition) +{ + List list = model.getVars(); + for (IVariableNode element : list) { + if(element.getQualifiedName().equals(((IIdentifierNode)node).getName())) + return false; + } +} if (node == firstChild) return true;
[royale-compiler.wiki] branch master updated: Updated Eclipse Setup (markdown)
This is an automated email from the ASF dual-hosted git repository. harbs pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/royale-compiler.wiki.git The following commit(s) were added to refs/heads/master by this push: new acdac8e Updated Eclipse Setup (markdown) acdac8e is described below commit acdac8e3179e837854d3c4e54d80b532b05c9b90 Author: Harbs AuthorDate: Tue Aug 7 11:56:40 2018 +0300 Updated Eclipse Setup (markdown) --- Eclipse-Setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eclipse-Setup.md b/Eclipse-Setup.md index 652f6c8..2b430ab 100644 --- a/Eclipse-Setup.md +++ b/Eclipse-Setup.md @@ -88,7 +88,7 @@ Main Class: Program Arguments: -`+royalelib="/Users/myusername/git/apache/royale/royale-asjs/frameworks" +configname=royale -debug -closure-lib= /Users/myusername/git/apache/royale/royale-asjs/examples/royale/DataBindingExample/src/DataBindingExample.mxml` +`+royalelib="/Users/myusername/git/apache/royale/royale-asjs/frameworks" +configname=royale -debug -closure-lib= /Users/myusername/git/apache/royale/royale-asjs/examples/royale/DataBindingExample/src/main/royale/DataBindingExample.mxml` VM Arguments:
[royale-asjs] 03/03: Merge branch 'feature/MXRoyale' of https://github.com/apache/royale-asjs into feature/MXRoyale
This is an automated email from the ASF dual-hosted git repository. yishayw pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit 0b524fbe4d521e4551e21d0287946c8824453b7a Merge: 59e9e26 bef6bc4 Author: DESKTOP-RH4S838\Yishay AuthorDate: Tue Aug 7 10:15:00 2018 +0300 Merge branch 'feature/MXRoyale' of https://github.com/apache/royale-asjs into feature/MXRoyale frameworks/air-config-template.xml |4 - frameworks/flex-config-template.xml|4 - .../src/main/resources/mx-royale-manifest.xml |1 + .../MXRoyale/src/main/royale/MXRoyaleClasses.as|2 + .../royale/mx/collections/ListCollectionView.as|2 +- .../src/main/royale/mx/collections/Sort.as |2 +- .../src/main/royale/mx/controls/ColorPicker.as |2 +- .../src/main/royale/mx/controls/ComboBox.as| 98 +- .../main/royale/mx/controls/RichTextEditor.mxml| 1090 .../src/main/royale/mx/controls/TextArea.as|2 + .../src/main/royale/mx/core/UITextField.as |2 +- .../src/main/royale/mx/formatters/DateFormatter.as |2 +- .../main/royale/mx/formatters/NumberFormatter.as |4 +- .../royale/mx/graphics/LinearGradientStroke.as | 61 +- .../src/main/royale/mx/messaging/ChannelSet.as |4 +- .../royale/mx/messaging/channels/AMFChannel.as |2 +- .../src/main/royale/mx/skins/RectangularBorder.as |2 +- .../src/main/royale/mx/utils/Base64Decoder.as |4 +- .../src/main/royale/mx/utils/Base64Encoder.as |2 +- .../MXRoyale/src/main/royale/mx/utils/ByteArray.as | 62 ++ .../src/main/royale/mx/validators/DateValidator.as |4 +- .../main/royale/mx/validators/NumberValidator.as |2 +- .../royale/mx/validators/PhoneNumberValidator.as |2 +- .../main/royale/mx/validators/RegExpValidator.as |2 +- .../main/royale/mx/validators/StringValidator.as |2 +- .../src/main/resources/spark-royale-manifest.xml |5 +- .../main/royale/spark/components/Application.as|2 +- frameworks/royale-config-template.xml |4 - 28 files changed, 1296 insertions(+), 79 deletions(-)
[royale-asjs] 02/03: Merge branch 'disabled_uicomp' into feature/MXRoyale
This is an automated email from the ASF dual-hosted git repository. yishayw pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit 59e9e26c86cfaaa808a10a7f1254bc08a05c2681 Merge: a37065d 6faacc7 Author: DESKTOP-RH4S838\Yishay AuthorDate: Mon Aug 6 14:02:40 2018 +0300 Merge branch 'disabled_uicomp' into feature/MXRoyale .../MXRoyale/src/main/royale/mx/core/UIComponent.as | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-)
[royale-asjs] branch feature/MXRoyale updated (bef6bc4 -> 0b524fb)
This is an automated email from the ASF dual-hosted git repository. yishayw pushed a change to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git. from bef6bc4 fix RichTextEditor new 6faacc7 Implement UIComponent.enabled new 59e9e26 Merge branch 'disabled_uicomp' into feature/MXRoyale new 0b524fb Merge branch 'feature/MXRoyale' of https://github.com/apache/royale-asjs into feature/MXRoyale The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../MXRoyale/src/main/royale/mx/core/UIComponent.as | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-)
[royale-asjs] 01/03: Implement UIComponent.enabled
This is an automated email from the ASF dual-hosted git repository. yishayw pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit 6faacc781c0a68350e201640cd3d2e4c9a64476f Author: DESKTOP-RH4S838\Yishay AuthorDate: Sun Aug 5 14:52:18 2018 +0300 Implement UIComponent.enabled --- .../MXRoyale/src/main/royale/mx/core/UIComponent.as | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as index 2fd6210..e042339 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as @@ -51,6 +51,8 @@ import mx.managers.IFocusManager; import mx.managers.IFocusManagerContainer; import mx.managers.ISystemManager; +import org.apache.royale.html.beads.DisableBead; +import org.apache.royale.html.beads.DisabledAlphaBead; import org.apache.royale.core.CallLaterBead; import org.apache.royale.core.IStatesImpl; import org.apache.royale.core.IStatesObject; @@ -946,9 +948,6 @@ public class UIComponent extends UIBase */ public function get enabled():Boolean { -// TODO -if (GOOG::DEBUG) -trace("enabled not implemented"); return _enabled; } @@ -957,10 +956,13 @@ public class UIComponent extends UIBase */ public function set enabled(value:Boolean):void { -// TODO -if (GOOG::DEBUG) -trace("enabled not implemented"); _enabled = value; +if (_disableBead == null) { + _disableBead = new DisableBead(); + addBead(_disableBead); + addBead(new DisabledAlphaBead()); + } + _disableBead.disabled = !_enabled; } //-- @@ -2854,6 +2856,7 @@ public class UIComponent extends UIBase private var _toolTip:String; private var _toolTipBead: ToolTipBead; + private var _disableBead: DisableBead; [Bindable("toolTipChanged")] [Inspectable(category="General", defaultValue="null")]