[royale-docs] branch master updated: Update main.md
This is an automated email from the ASF dual-hosted git repository. andreww pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/royale-docs.git The following commit(s) were added to refs/heads/master by this push: new 4834dfa Update main.md 4834dfa is described below commit 4834dfa3896225519667a2a1fd34e7898569b696 Author: Andrew Wetmore AuthorDate: Tue Apr 21 18:38:55 2020 -0300 Update main.md adjusted navigation --- create-an-application/application-tutorial/main.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-an-application/application-tutorial/main.md b/create-an-application/application-tutorial/main.md index 75bcac0..5460125 100644 --- a/create-an-application/application-tutorial/main.md +++ b/create-an-application/application-tutorial/main.md @@ -46,4 +46,4 @@ means that the `js` prefix is mapped to the Express set of [components](user-int As mentioned in [Application structure](create-an-application/application-structure), there is more than one pattern for creating applications. This example will use the [MVC pattern](https://en.wikipedia.org/wiki/Model–view–controller){:target='_blank'}. So, the next step is to create the Model. {:align="center"} -\| [Next Page](create-an-application/application-tutorial/data-model) +[Previous Page](create-an-application/application-tutorial) \| [Next Page](create-an-application/application-tutorial/data-model)
[royale-docs] branch master updated: Update application-tutorial.md
This is an automated email from the ASF dual-hosted git repository. andreww pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/royale-docs.git The following commit(s) were added to refs/heads/master by this push: new c4dd7e7 Update application-tutorial.md c4dd7e7 is described below commit c4dd7e73c488241e5dbc7c99390f091a70b736ab Author: Andrew Wetmore AuthorDate: Tue Apr 21 18:35:19 2020 -0300 Update application-tutorial.md Added navigation at the bottom of the page --- create-an-application/application-tutorial.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/create-an-application/application-tutorial.md b/create-an-application/application-tutorial.md index efb792d..f68bf5e 100644 --- a/create-an-application/application-tutorial.md +++ b/create-an-application/application-tutorial.md @@ -73,3 +73,6 @@ The remaining segments will discuss further improvements needed to add additiona 14. [Routing](create-an-application/application-tutorial/routing) This segment shows how to map URL parameters to different initial values in the application, and _vice versa_. This is going to be fun! + +{:align="center"} +\| [Next Page](create-an-application/application-tutorial/main)
[royale-docs] branch master updated: Update application-tutorial.md
This is an automated email from the ASF dual-hosted git repository. andreww pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/royale-docs.git The following commit(s) were added to refs/heads/master by this push: new b575cef Update application-tutorial.md b575cef is described below commit b575cef687f487856a838c08c3f7f4abd81b52b0 Author: Andrew Wetmore AuthorDate: Tue Apr 21 18:31:30 2020 -0300 Update application-tutorial.md Small text improvements. --- create-an-application/application-tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create-an-application/application-tutorial.md b/create-an-application/application-tutorial.md index 86a6a0c..efb792d 100644 --- a/create-an-application/application-tutorial.md +++ b/create-an-application/application-tutorial.md @@ -24,7 +24,7 @@ permalink: /create-an-application/application-tutorial A complete tutorial on how to build a simple Royale application -This tutorial will take you through building an app that displays the commit logs for the Royale project by connecting to the [GitHub](https://github.com){:target='_blank'} servers. +This tutorial will take you through building an app that displays the commit logs for the Apache Royale project by connecting to its [GitHub](https://github.com){:target='_blank'} repository on the Apache servers. At the end of this tutorial we'll get the following: @@ -32,7 +32,7 @@ At the end of this tutorial we'll get the following: width="100%" height="350" src="assets/application-tutorial/index.html"> -> This example uses [Basic](component-sets/basic) components to build the interface. This components are build with very basic look and feel. For a more advanced set with look and feel you should use instead [Jewel](component-sets/jewel) or **MDL** sets +> This example uses [Basic](component-sets/basic) components to build the interface. These components have a very, well, basic look and feel. For a more advanced look and feel for your application you try using the [Jewel](component-sets/jewel) or **MDL** sets. The steps in this tutorial start with a blank file and walk you through what to add and why. Or you can get the complete source [here](https://github.com/apache/royale-asjs/blob/develop/examples/express/GitHubCommitLogViewer){:target='_blank'}.
[MAVEN-BUILD] Royale-asjs - Build # 2958 - Still Failing
The Apache Jenkins build system has built Royale-asjs (build #2958) Status: Still Failing Check console output at https://builds.apache.org/job/Royale-asjs/2958/ to view the results.
[royale-asjs] branch develop updated: Added IRouter interface
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-asjs.git The following commit(s) were added to refs/heads/develop by this push: new 46cce4a Added IRouter interface 46cce4a is described below commit 46cce4a64afb948ee4e497f04c99e35c4cb94520 Author: Harbs AuthorDate: Tue Apr 21 15:02:12 2020 +0300 Added IRouter interface --- .../org/apache/royale/routing/BrowserRouter.as | 7 ++-- .../royale/org/apache/royale/routing/HashRouter.as | 3 +- .../routing/{LinkInterceptor.as => IRouter.as} | 37 +++--- .../org/apache/royale/routing/LinkInterceptor.as | 6 ++-- .../org/apache/royale/routing/PathRouteBead.as | 6 ++-- .../org/apache/royale/routing/RouteToComponent.as | 2 +- .../org/apache/royale/routing/RouteToParameters.as | 6 ++-- .../royale/org/apache/royale/routing/Router.as | 2 +- .../org/apache/royale/routing/SetRouteTitle.as | 6 ++-- 9 files changed, 26 insertions(+), 49 deletions(-) diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/BrowserRouter.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/BrowserRouter.as index d7b9085..8fa9dbc 100644 --- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/BrowserRouter.as +++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/BrowserRouter.as @@ -52,16 +52,19 @@ package org.apache.royale.routing [Event(name="initBindings", type="org.apache.royale.events.Event")] /** -* Router is a bead which automatically handles browsing history. +* BrowserRouter is a bead which automatically handles browsing history. * It could be attached to any strand, but typically it would be attached to Application or View * Listen to stateChange events to handle changes to browsing history and use setState and renderState for modifying the history. * The state of the router can be modified before committing the state changes. +* The difference between HashRouter and BrowserRouter is that HashRouter uses the location hash which is only the section from "#" and on. +* BrowserRouter uses path routes which are indistinguishable from normal urls. +* Both Router implementations can use a hash for scroll positioning beads. * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 * @productversion Royale 0.9.8 */ - public class BrowserRouter extends Strand implements IBead, IMXMLDocument + public class BrowserRouter extends Strand implements IRouter, IBead, IMXMLDocument { public function BrowserRouter() { diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/HashRouter.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/HashRouter.as index ed322f0..a290cf9 100644 --- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/HashRouter.as +++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/HashRouter.as @@ -58,12 +58,13 @@ package org.apache.royale.routing * The state of the router can be modified before committing the state changes. * The difference between HashRouter and BrowserRouter is that HashRouter uses the location hash which is only the section from "#" and on. * BrowserRouter uses path routes which are indistinguishable from normal urls. +* Both Router implementations can use a hash for scroll positioning beads. * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 * @productversion Royale 0.9.8 */ - public class HashRouter extends Strand implements IBead, IMXMLDocument + public class HashRouter extends Strand implements IRouter, IBead, IMXMLDocument { public function HashRouter() { diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/LinkInterceptor.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/IRouter.as similarity index 55% copy from frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/LinkInterceptor.as copy to frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/IRouter.as index 585c78c..2898431 100644 --- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/LinkInterceptor.as +++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/IRouter.as @@ -18,40 +18,13 @@ package org.apache.royale.routing { - import org.apache.royale.core.Bead; import org.apache.royale.core.IStrand; - import org.apache.royale.events.Event; - public class LinkInterceptor extends Bead + public interface
[MAVEN-BUILD] Royale-asjs - Build # 2957 - Still Failing
The Apache Jenkins build system has built Royale-asjs (build #2957) Status: Still Failing Check console output at https://builds.apache.org/job/Royale-asjs/2957/ to view the results.
[royale-asjs] annotated tag org.apache.royale.framework-0.9.7-rc2 updated (00bc65b -> c48b27a)
This is an automated email from the ASF dual-hosted git repository. yishayw pushed a change to annotated tag org.apache.royale.framework-0.9.7-rc2 in repository https://gitbox.apache.org/repos/asf/royale-asjs.git. *** WARNING: tag org.apache.royale.framework-0.9.7-rc2 was modified! *** from 00bc65b (commit) to c48b27a (tag) tagging 00bc65b6698457e5568e5b7a11ce8ca539cd35b9 (commit) replaces apache-royale-0.9.6 by ApacheRoyaleCI on Tue Apr 21 09:29:35 2020 + - Log - [maven-release-plugin] copy for tag org.apache.royale.framework-0.9.7-rc2 --- No new revisions were added by this update. Summary of changes:
[royale-asjs] branch release/0.9.7 updated (858aebf -> 996694b)
This is an automated email from the ASF dual-hosted git repository. yishayw pushed a change to branch release/0.9.7 in repository https://gitbox.apache.org/repos/asf/royale-asjs.git. from 858aebf yow, another typo new 00bc65b [maven-release-plugin] prepare release org.apache.royale.framework-0.9.7-rc2 new 996694b [maven-release-plugin] prepare for next development iteration The 2 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: archetypes/pom.xml | 41 ++- .../royale-simple-application-archetype/pom.xml| 43 ++- .../pom.xml| 43 ++- .../pom.xml| 51 ++-- archetypes/royale-simple-library-archetype/pom.xml | 43 ++- archetypes/royale-simple-typedef-archetype/pom.xml | 43 ++- distribution/jars/compc/pom.xml| 43 ++- distribution/jars/compiler-asc/pom.xml | 43 ++- distribution/jars/compiler-compc/pom.xml | 43 ++- distribution/jars/compiler-compjsc/pom.xml | 47 ++- distribution/jars/compiler-mxmlc/pom.xml | 43 ++- distribution/jars/compiler-mxmljsc/pom.xml | 47 ++- distribution/jars/compiler-optimizer/pom.xml | 43 ++- distribution/jars/compiler-swfdump/pom.xml | 43 ++- distribution/jars/mxmlc/pom.xml| 43 ++- distribution/pom.xml | 333 ++--- examples/amf/SampleAmfWebApp/pom.xml | 100 +++ examples/amf/pom.xml | 43 ++- examples/blog/BE0001_Hello_World/pom.xml | 49 ++- .../blog/BE0002_Using_Jewel_Alert_Control/pom.xml | 53 ++-- .../blog/BE0003_Using_Jewel_Slider_Control/pom.xml | 53 ++-- .../BE0004_Adding_an_item_to_a_Jewel_List/pom.xml | 53 ++-- .../pom.xml| 53 ++-- .../pom.xml| 49 ++- .../pom.xml| 53 ++-- .../pom.xml| 53 ++-- .../pom.xml| 57 ++-- .../pom.xml| 49 ++- .../pom.xml| 53 ++-- .../pom.xml| 53 ++-- .../JewelModule/pom.xml| 45 ++- .../MainJewelApp/pom.xml | 43 ++- .../pom.xml| 53 ++-- .../BE0014_Working_with_vector_graphics/pom.xml| 57 ++-- examples/blog/pom.xml | 71 +++-- examples/crux/CruxGitHubCommitLogViewer/pom.xml| 61 ++-- examples/crux/CruxQuickStart/pom.xml | 49 ++- examples/crux/CruxQuickStartBasic/pom.xml | 49 ++- examples/crux/pom.xml | 85 +++--- examples/crux/todomvc-jewel-crux/pom.xml | 57 ++-- examples/examples-tests/pom.xml| 43 ++- examples/express/DataBindingExample/pom.xml| 47 ++- examples/express/DataGridExample/pom.xml | 47 ++- examples/express/GitHubCommitLogViewer/pom.xml | 49 ++- examples/express/pom.xml | 79 +++-- examples/jewel/TourDeJewel/pom.xml | 277 + examples/jewel/pom.xml | 73 +++-- examples/jewel/todomvc/pom.xml | 53 ++-- examples/mxroyale/ControlsExample/pom.xml | 45 ++- examples/mxroyale/HelloWorld/pom.xml | 45 ++- examples/mxroyale/RemoteObjectAMFTest/pom.xml | 55 ++-- examples/mxroyale/SparkHelloWorld/pom.xml | 45 ++- examples/mxroyale/pom.xml | 87 +++--- examples/native/ButtonExample/pom.xml | 51 ++-- examples/native/USStatesMap/pom.xml| 45 ++- examples/native/pom.xml| 51 ++-- examples/node/HelloWorld/pom.xml | 43 ++- examples/node/pom.xml | 51 ++-- examples/pom.xml | 45 ++- examples/royale/ASDoc/pom.xml | 59 ++-- examples/royale/AccordionExample/pom.xml | 59 ++-- examples/royale/AlertExample/pom.xml | 53 ++-- examples/royale/ChartExample/pom.xml | 57 ++-- examples/royale/CordovaCameraExample/pom.xml | 49 ++- examples/royale/CreateJSExample/pom.xml| 57 ++-- examples/royale/CreditCardValidatorExample/pom.xml | 47 ++- examples/royale/DataBindingExample/pom.xml | 53 ++-- .../DataBindingExampleWithFlexLayout/pom.xml | 53 ++-- examples/royale/DataBindingExample_Flat/pom.xml| 67
[MAVEN-BUILD] Royale-asjs - Build # 2956 - Still Failing
The Apache Jenkins build system has built Royale-asjs (build #2956) Status: Still Failing Check console output at https://builds.apache.org/job/Royale-asjs/2956/ to view the results.
[royale-asjs] branch develop updated: RoutToParameters: Forgot to rename field
This is an automated email from the ASF dual-hosted git repository. piotrz 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 94a8919 RoutToParameters: Forgot to rename field 94a8919 is described below commit 94a891940c5fae55d91e7ecf49551777c5510a22 Author: Piotr Zarzycki AuthorDate: Tue Apr 21 10:20:49 2020 +0200 RoutToParameters: Forgot to rename field --- .../src/main/royale/org/apache/royale/routing/RouteToParameters.as| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/RouteToParameters.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/RouteToParameters.as index 2e097c1..8d4d5a8 100644 --- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/RouteToParameters.as +++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/RouteToParameters.as @@ -22,7 +22,7 @@ package org.apache.royale.routing import org.apache.royale.events.ValueEvent; import org.apache.royale.core.IStrand; import org.apache.royale.events.Event; - + [DefaultProperty("routes")] public class RouteToParameters extends Bead { @@ -55,7 +55,7 @@ package org.apache.royale.routing trailing = hash.slice(index); hash = hash.slice(0,index); } - ev.value = hash + paramStr + trailing; + event.value = hash + paramStr + trailing; }
[MAVEN-BUILD] Royale-asjs - Build # 2955 - Still Failing
The Apache Jenkins build system has built Royale-asjs (build #2955) Status: Still Failing Check console output at https://builds.apache.org/job/Royale-asjs/2955/ to view the results.
[royale-asjs] branch develop updated: RouteToParameters: Add missing event param in stateChange
This is an automated email from the ASF dual-hosted git repository. piotrz 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 a5e8109 RouteToParameters: Add missing event param in stateChange a5e8109 is described below commit a5e810909b8bf4c73216d403abd2730319f15b7e Author: Piotr Zarzycki AuthorDate: Tue Apr 21 10:04:15 2020 +0200 RouteToParameters: Add missing event param in stateChange --- .../royale/org/apache/royale/routing/RouteToParameters.as | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/RouteToParameters.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/RouteToParameters.as index b4ccafe..2e097c1 100644 --- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/RouteToParameters.as +++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/RouteToParameters.as @@ -21,7 +21,8 @@ package org.apache.royale.routing import org.apache.royale.core.Bead; import org.apache.royale.events.ValueEvent; import org.apache.royale.core.IStrand; - + import org.apache.royale.events.Event; + [DefaultProperty("routes")] public class RouteToParameters extends Bead { @@ -43,9 +44,9 @@ package org.apache.royale.routing listenOnStrand("stateChange",stateChanged) } -protected function urlNeeded(ev:ValueEvent):void +protected function urlNeeded(event:ValueEvent):void { - var hash:String = ev.value; + var hash:String = event.value; var paramStr:String = buildParameterString(); var trailing:String = ""; var index:int = hash.indexOf("#"); @@ -58,9 +59,9 @@ package org.apache.royale.routing } -protected function urlReceived(ev:ValueEvent):void +protected function urlReceived(event:ValueEvent):void { - var hash:String = ev.value; + var hash:String = event.value; var index:int = hash.indexOf("?"); if(index == -1)//no params return; @@ -73,7 +74,7 @@ package org.apache.royale.routing host.routeState.parameters = parseParameters(hash); } -protected function stateChanged():void +protected function stateChanged(event:Event):void { var params:Object = host.routeState.parameters; // apply routes
[royale-asjs] branch develop updated: RouteToParameters: Make handlers protected
This is an automated email from the ASF dual-hosted git repository. piotrz 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 fa4e6bd RouteToParameters: Make handlers protected fa4e6bd is described below commit fa4e6bdf58ea30f68d5efc0e9cc98318d4f0d293 Author: Piotr Zarzycki AuthorDate: Tue Apr 21 09:24:36 2020 +0200 RouteToParameters: Make handlers protected --- .../main/royale/org/apache/royale/routing/RouteToParameters.as| 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/RouteToParameters.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/RouteToParameters.as index 0c6d0b9..b4ccafe 100644 --- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/RouteToParameters.as +++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/RouteToParameters.as @@ -42,7 +42,8 @@ package org.apache.royale.routing listenOnStrand("urlReceived",urlReceived); listenOnStrand("stateChange",stateChanged) } -private function urlNeeded(ev:ValueEvent):void + +protected function urlNeeded(ev:ValueEvent):void { var hash:String = ev.value; var paramStr:String = buildParameterString(); @@ -57,7 +58,7 @@ package org.apache.royale.routing } -private function urlReceived(ev:ValueEvent):void +protected function urlReceived(ev:ValueEvent):void { var hash:String = ev.value; var index:int = hash.indexOf("?"); @@ -71,7 +72,8 @@ package org.apache.royale.routing } host.routeState.parameters = parseParameters(hash); } -private function stateChanged():void + +protected function stateChanged():void { var params:Object = host.routeState.parameters; // apply routes
[royale-asjs] branch release/0.9.7 updated (fe44395 -> 858aebf)
This is an automated email from the ASF dual-hosted git repository. aharui pushed a change to branch release/0.9.7 in repository https://gitbox.apache.org/repos/asf/royale-asjs.git. from fe44395 [maven-release-plugin] prepare for next development iteration new d7af112 Revert "[maven-release-plugin] prepare for next development iteration" new 1ba017b Revert "[maven-release-plugin] prepare release org.apache.royale.framework-0.9.7-rc2" new 858aebf yow, another typo 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: archetypes/pom.xml | 41 +-- .../royale-simple-application-archetype/pom.xml| 43 +-- .../pom.xml| 43 +-- .../pom.xml| 51 ++-- archetypes/royale-simple-library-archetype/pom.xml | 43 +-- archetypes/royale-simple-typedef-archetype/pom.xml | 43 +-- distribution/jars/compc/pom.xml| 43 +-- distribution/jars/compiler-asc/pom.xml | 43 +-- distribution/jars/compiler-compc/pom.xml | 43 +-- distribution/jars/compiler-compjsc/pom.xml | 47 +-- distribution/jars/compiler-mxmlc/pom.xml | 43 +-- distribution/jars/compiler-mxmljsc/pom.xml | 47 +-- distribution/jars/compiler-optimizer/pom.xml | 43 +-- distribution/jars/compiler-swfdump/pom.xml | 43 +-- distribution/jars/mxmlc/pom.xml| 43 +-- distribution/pom.xml | 333 +++-- examples/amf/SampleAmfWebApp/pom.xml | 100 +++ examples/amf/pom.xml | 43 +-- examples/blog/BE0001_Hello_World/pom.xml | 49 +-- .../blog/BE0002_Using_Jewel_Alert_Control/pom.xml | 53 ++-- .../blog/BE0003_Using_Jewel_Slider_Control/pom.xml | 53 ++-- .../BE0004_Adding_an_item_to_a_Jewel_List/pom.xml | 53 ++-- .../pom.xml| 53 ++-- .../pom.xml| 49 +-- .../pom.xml| 53 ++-- .../pom.xml| 53 ++-- .../pom.xml| 57 ++-- .../pom.xml| 49 +-- .../pom.xml| 53 ++-- .../pom.xml| 53 ++-- .../JewelModule/pom.xml| 45 +-- .../MainJewelApp/pom.xml | 43 +-- .../pom.xml| 53 ++-- .../BE0014_Working_with_vector_graphics/pom.xml| 57 ++-- examples/blog/pom.xml | 71 ++--- examples/crux/CruxGitHubCommitLogViewer/pom.xml| 61 ++-- examples/crux/CruxQuickStart/pom.xml | 49 +-- examples/crux/CruxQuickStartBasic/pom.xml | 49 +-- examples/crux/pom.xml | 85 +++--- examples/crux/todomvc-jewel-crux/pom.xml | 57 ++-- examples/examples-tests/pom.xml| 43 +-- examples/express/DataBindingExample/pom.xml| 47 +-- examples/express/DataGridExample/pom.xml | 47 +-- examples/express/GitHubCommitLogViewer/pom.xml | 49 +-- examples/express/pom.xml | 79 ++--- examples/jewel/TourDeJewel/pom.xml | 277 - examples/jewel/pom.xml | 73 ++--- examples/jewel/todomvc/pom.xml | 53 ++-- examples/mxroyale/ControlsExample/pom.xml | 45 +-- examples/mxroyale/HelloWorld/pom.xml | 45 +-- examples/mxroyale/RemoteObjectAMFTest/pom.xml | 55 ++-- examples/mxroyale/SparkHelloWorld/pom.xml | 45 +-- examples/mxroyale/pom.xml | 87 +++--- examples/native/ButtonExample/pom.xml | 51 ++-- examples/native/USStatesMap/pom.xml| 45 +-- examples/native/pom.xml| 51 ++-- examples/node/HelloWorld/pom.xml | 43 +-- examples/node/pom.xml | 51 ++-- examples/pom.xml | 45 +-- examples/royale/ASDoc/pom.xml | 59 ++-- examples/royale/AccordionExample/pom.xml | 59 ++-- examples/royale/AlertExample/pom.xml | 53 ++-- examples/royale/ChartExample/pom.xml | 57 ++-- examples/royale/CordovaCameraExample/pom.xml | 49 +-- examples/royale/CreateJSExample/pom.xml| 57 ++-- examples/royale/CreditCardValidatorExample/pom.xml | 47 +-- examples/royale/DataBindingExample/pom.xml | 53 ++--
[royale-asjs] 03/03: yow, another typo
This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch release/0.9.7 in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit 858aebf2cde4bc286c20a620112e742e408a66d3 Author: Alex Harui AuthorDate: Tue Apr 21 00:15:35 2020 -0700 yow, another typo --- frameworks/projects/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/projects/pom.xml b/frameworks/projects/pom.xml index 2a0a0b6..64f699a 100644 --- a/frameworks/projects/pom.xml +++ b/frameworks/projects/pom.xml @@ -31,7 +31,7 @@ pom - ${repo.compiler.options}-js-default-initializers=false;-source-map=${source.map};-js-complex-implicit-coercions=false;-js-vector-index-checks=false;-js-resolve-uncertain=false + ${repo.compiler.options};-js-default-initializers=false;-source-map=${source.map};-js-complex-implicit-coercions=false;-js-vector-index-checks=false;-js-resolve-uncertain=false Apache Royale: Framework: Libs
[MAVEN-BUILD] Royale-asjs - Build # 2954 - Failure
The Apache Jenkins build system has built Royale-asjs (build #2954) Status: Failure Check console output at https://builds.apache.org/job/Royale-asjs/2954/ to view the results.
[royale-asjs] branch develop updated: another fix for #797
This is an automated email from the ASF dual-hosted git repository. aharui 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 84c1859 another fix for #797 84c1859 is described below commit 84c18593a209a43e04a827b7eebb482a4348c0a3 Author: Alex Harui AuthorDate: Mon Apr 20 23:21:43 2020 -0700 another fix for #797 --- .../MXRoyale/src/main/royale/mx/containers/FormItem.as | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/FormItem.as b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/FormItem.as index fee2fd0..2b36a11 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/FormItem.as +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/FormItem.as @@ -347,13 +347,16 @@ public class FormItem extends Container invalidateProperties(); invalidateSize(); invalidateDisplayList(); + + if (labelObj) + labelObj.invalidateSize(); // Changing the label could affect the overall form label width // so we need to invalidate our parent's size here too if (parent is Form) { -Form(parent).invalidateLabelWidth(); commitProperties(); +Form(parent).invalidateLabelWidth(); Form(parent).dispatchEvent(new Event("layoutNeeded")); } @@ -641,6 +644,19 @@ public class FormItem extends Container else measureHorizontal(); } + + private var inMeasure:Boolean = false; + + override public function get measuredWidth():Number + { + if (!inMeasure) + { + inMeasure = true; + measure(); + inMeasure = false; + } + return super.measuredWidth; + } /** * @private