[royale-asjs.wiki] branch master updated: Created Public Variables (markdown)
This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/royale-asjs.wiki.git The following commit(s) were added to refs/heads/master by this push: new 9389d38 Created Public Variables (markdown) 9389d38 is described below commit 9389d38d4693a5035763eadb5534010ccf149dae Author: aharuiAuthorDate: Mon Feb 19 21:29:54 2018 -0800 Created Public Variables (markdown) --- Public-Variables.md | 55 + 1 file changed, 55 insertions(+) diff --git a/Public-Variables.md b/Public-Variables.md new file mode 100644 index 000..21c1ec7 --- /dev/null +++ b/Public-Variables.md @@ -0,0 +1,55 @@ +It is pretty natural and common to just declare public variables on a class. As in: + +``` +public class MyClass +{ + public var someVariable:Object; +} +``` + +However, public vars often do not survive minification and should be avoided for classes that will be used in MXML. Public methods and getters and setters will survive minification. Public "properties" for classes used in MXML should be defined via getters and setters. + +If an application works in js-debug but not js-release, public variables are often at fault. The framework code has plenty of public vars because those classes were deemed to be not used from MXML. If a class with public vars does end up being used in MXML, that class should have its public vars rewritten as getter/setter. + +We are still learning more about other scenarios that may fail in js-release due to renaming, so we may find that public variables always have to be rewritten as getter/setter. + +The compiler has an option "-warn-public-vars" that is on by default. A warning message will be in the compiler output. The framework code should compile without these warnings. Either convert the var to getter/setter or suppress the warning via the @royalesuppresspublicvarwarning ASDoc directive. The directive can be used on each var or applied to an entire class. + +If a class is found to be at fault in js-release, check to see if @royalesuppresspublicvarwarning is used in the class and consider whether the renaming is at fault. + +### Technical Details + +Currently, any public variable, getter/setter, or method is output with an @export directive. Such as: + +``` +MyClass = function(); + +/** + * @export + */ +MyClass.prototype.somePublicThing = function() { +} +``` + +The Google Closure Compiler renames somePublicThing to something short like "ah" and then generates an export reference like this: + +``` +MyClass.prototype.ah = function() { +} +MyClass.prototype.somePublicThing = MyClass.prototype.ah; +``` + +That way, all code that used to be "myClassInstance.somePublicThing()" can be shortened to "myClassInstance.ah" saving several bytes per use. But if someone were to write "myClass.somePublicThing()" or myClass["somePublicThing"]() in another module, it will find the renamed property. @export basically provides a reference with the original name to the shortened name, it does not actually prevent renaming. + +For read-only class members like the methods and getter/setters, the export reference will reference the original function and all will be good. + +But for public vars, the code is going to look like: + +``` +MyClass.prototype.ah = "foo"; +MyClass.prototype.somePublicThing = MyClass.prototype.ah; +``` + +The problem is, if myClassInstance.ah is given a new value, myClassInstance.somePublicThing is still "foo". It was given a reference or value of ah at startup time. + +MXML, DataBinding and States expect to be able to access the property by name and thus cannot work once ah is changed or ah is passed by value. \ No newline at end of file -- To stop receiving notification emails like this one, please contact aha...@apache.org.
[royale-asjs.wiki] branch master updated: Updated _Sidebar (markdown)
This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/royale-asjs.wiki.git The following commit(s) were added to refs/heads/master by this push: new 42b3173 Updated _Sidebar (markdown) 42b3173 is described below commit 42b31731b949e30e6721097a2d61079256db38ce Author: aharuiAuthorDate: Mon Feb 19 21:04:38 2018 -0800 Updated _Sidebar (markdown) --- _Sidebar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_Sidebar.md b/_Sidebar.md index 199195d..ac80b93 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -18,7 +18,7 @@ - [Migrating From FlexJS](migrating-flexjs) ## Committer Info -- [Public Variables](public-variables) +- [Public Variables](Public-Variables) ## Missing Features [Button States](feature-button-states) -- To stop receiving notification emails like this one, please contact aha...@apache.org.
[royale-asjs.wiki] branch master updated: Updated _Sidebar (markdown)
This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/royale-asjs.wiki.git The following commit(s) were added to refs/heads/master by this push: new b76a444 Updated _Sidebar (markdown) b76a444 is described below commit b76aa57df8a3f9bc526162044cebe83dfb23 Author: aharuiAuthorDate: Mon Feb 19 21:04:04 2018 -0800 Updated _Sidebar (markdown) --- _Sidebar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_Sidebar.md b/_Sidebar.md index 0dad517..199195d 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -18,7 +18,7 @@ - [Migrating From FlexJS](migrating-flexjs) ## Committer Info -- [Public Variables](Public Variables) +- [Public Variables](public-variables) ## Missing Features [Button States](feature-button-states) -- To stop receiving notification emails like this one, please contact aha...@apache.org.
[royale-asjs.wiki] branch master updated: Updated _Sidebar (markdown)
This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/royale-asjs.wiki.git The following commit(s) were added to refs/heads/master by this push: new 3e00a5d Updated _Sidebar (markdown) 3e00a5d is described below commit 3e00a5dc6aa44820562bf95d2ced1c80c5317e15 Author: aharuiAuthorDate: Mon Feb 19 21:03:18 2018 -0800 Updated _Sidebar (markdown) --- _Sidebar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_Sidebar.md b/_Sidebar.md index cf2eb1e..0dad517 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -18,7 +18,7 @@ - [Migrating From FlexJS](migrating-flexjs) ## Committer Info -- [Public Vars] +- [Public Variables](Public Variables) ## Missing Features [Button States](feature-button-states) -- To stop receiving notification emails like this one, please contact aha...@apache.org.
[royale-asjs.wiki] branch master updated: Updated _Sidebar (markdown)
This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/royale-asjs.wiki.git The following commit(s) were added to refs/heads/master by this push: new f0cc2bb Updated _Sidebar (markdown) f0cc2bb is described below commit f0cc2bba39a611ad578511623a0bcc4159e7b732 Author: aharuiAuthorDate: Mon Feb 19 21:02:37 2018 -0800 Updated _Sidebar (markdown) --- _Sidebar.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_Sidebar.md b/_Sidebar.md index e6426fc..cf2eb1e 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -17,6 +17,9 @@ - [Migrating From Flex](migrating-flex) - [Migrating From FlexJS](migrating-flexjs) +## Committer Info +- [Public Vars] + ## Missing Features [Button States](feature-button-states) -- To stop receiving notification emails like this one, please contact aha...@apache.org.
[royale-docs] branch develop updated: Update circular-dependencies.md
This is an automated email from the ASF dual-hosted git repository. andreww pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-docs.git The following commit(s) were added to refs/heads/develop by this push: new 920abf7 Update circular-dependencies.md 920abf7 is described below commit 920abf7df15f3b599ef39fd64f59d8c60e5955ea Author: Andrew WetmoreAuthorDate: Mon Feb 19 21:10:34 2018 -0400 Update circular-dependencies.md Continuing the edit. --- .../migrate-an-existing-app/circular-dependencies.md | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/create-an-application/migrate-an-existing-app/circular-dependencies.md b/create-an-application/migrate-an-existing-app/circular-dependencies.md index 0cfb7a3..8f40440 100644 --- a/create-an-application/migrate-an-existing-app/circular-dependencies.md +++ b/create-an-application/migrate-an-existing-app/circular-dependencies.md @@ -26,11 +26,22 @@ public class A extends B public class B extends A ``` -Circular dependencies cause a tight coupling of what should be independent modules. THis makes it difficult to re-use one module without its partner. When a developer makes a small change in one of the co-dependent modules, there may be unexpected effects on the other modules, leading to poor application behavior or compile-time errors. in the worst case, a circular dependency cand generate an infinite recursion leading to a crash or hanging the system. +Circular dependencies cause a tight coupling of what should be independent modules. This makes it difficult to re-use one module without its partner. When a developer makes a small change in one of the co-dependent modules, there may be unexpected effects on the other module, leading to poor application behavior or compile-time errors. in the worst case, a circular dependency can generate an infinite recursion leading to a crash or hanging the system. ## What Flex allows -*This material will be available soon.* +You can get away with some circular dependencies when developing an application in Flex or Royale that will be compiled for use in Flash or the AIR environment. You can write code like this: + +``` +public class Child { + public var parent:Parent; +} + +public class Parent { + public var child:Child; +} +``` +In Flash and AIR the runtime constructs both classes before type-checking for parent and child properties. That happens only when the application code has initialized and starts to run. ## What compiling for JavaScript requires -- To stop receiving notification emails like this one, please contact andr...@apache.org.
[royale-docs] branch develop updated: Update circular-dependencies.md
This is an automated email from the ASF dual-hosted git repository. andreww pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-docs.git The following commit(s) were added to refs/heads/develop by this push: new db75f36 Update circular-dependencies.md db75f36 is described below commit db75f36a70b3d546c413c46e23027eee5326ae18 Author: Andrew WetmoreAuthorDate: Mon Feb 19 19:03:13 2018 -0400 Update circular-dependencies.md further text adds --- create-an-application/migrate-an-existing-app/circular-dependencies.md | 1 + 1 file changed, 1 insertion(+) diff --git a/create-an-application/migrate-an-existing-app/circular-dependencies.md b/create-an-application/migrate-an-existing-app/circular-dependencies.md index 3e7fbf0..0cfb7a3 100644 --- a/create-an-application/migrate-an-existing-app/circular-dependencies.md +++ b/create-an-application/migrate-an-existing-app/circular-dependencies.md @@ -26,6 +26,7 @@ public class A extends B public class B extends A ``` +Circular dependencies cause a tight coupling of what should be independent modules. THis makes it difficult to re-use one module without its partner. When a developer makes a small change in one of the co-dependent modules, there may be unexpected effects on the other modules, leading to poor application behavior or compile-time errors. in the worst case, a circular dependency cand generate an infinite recursion leading to a crash or hanging the system. ## What Flex allows -- To stop receiving notification emails like this one, please contact andr...@apache.org.
[royale-docs] branch develop updated: Update circular-dependencies.md
This is an automated email from the ASF dual-hosted git repository. andreww pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-docs.git The following commit(s) were added to refs/heads/develop by this push: new e8ed980 Update circular-dependencies.md e8ed980 is described below commit e8ed980bb327204f67216456873dfd59f1ee6461 Author: Andrew WetmoreAuthorDate: Mon Feb 19 17:19:48 2018 -0400 Update circular-dependencies.md In progress. --- .../migrate-an-existing-app/circular-dependencies.md | 14 ++ 1 file changed, 14 insertions(+) diff --git a/create-an-application/migrate-an-existing-app/circular-dependencies.md b/create-an-application/migrate-an-existing-app/circular-dependencies.md index a98402f..3e7fbf0 100644 --- a/create-an-application/migrate-an-existing-app/circular-dependencies.md +++ b/create-an-application/migrate-an-existing-app/circular-dependencies.md @@ -19,4 +19,18 @@ title: Circular dependencies --- # Circular dependencies +In software, a circular dependency is a relation between two or more modules which either directly or indirectly depend on each other to function properly. An extreme example, which could not work, is: + +``` +public class A extends B + +public class B extends A +``` + +## What Flex allows + +*This material will be available soon.* + +## What compiling for JavaScript requires + *This material will be available soon.* -- To stop receiving notification emails like this one, please contact andr...@apache.org.
[royale-asjs] 05/05: Merge branch 'feature/vivid' of https://github.com/apache/royale-asjs into feature/vivid
This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit 95f046a61a3dfe505cc7a89d65653b5fc07cc68d Merge: a37cf19 ad1f5fc Author: Alex HaruiAuthorDate: Mon Feb 19 08:54:47 2018 -0800 Merge branch 'feature/vivid' of https://github.com/apache/royale-asjs into feature/vivid LICENSE| 2 +- .../ASDoc/src/main/config/compile-app-config.xml | 4 + examples/royale/ASDoc/src/main/royale/ASDoc.mxml | 1 + .../royale/ASDoc/src/main/royale/ASDocClass.as | 115 ++ .../ValueObject.as => ASDocClassAccessor.as} | 35 +-- .../ValueObject.as => ASDocClassAttribute.as} | 42 ++-- .../ASDoc/src/main/royale/ASDocClassEvents.as | 115 ++ .../ASDoc/src/main/royale/ASDocClassFunction.as| 90 .../ValueObject.as => ASDocClassMembers.as}| 35 +-- .../ValueObject.as => ASDocClassTags.as} | 46 ++-- .../ASDoc/src/main/royale/EventDetailRenderer.mxml | 11 +- .../src/main/royale/EventSummaryRenderer.mxml | 12 +- .../src/main/royale/MethodDetailRenderer.mxml | 18 +- .../src/main/royale/MethodSummaryRenderer.mxml | 18 +- .../src/main/royale/PropertyDetailRenderer.mxml| 14 +- .../ASDoc/src/main/royale/SummaryRenderer.mxml | 16 +- .../ASDoc/src/main/royale/models/ASDocModel.as | 78 --- .../ASDoc/src/main/royale/valueObjects/DataVO.as | 50 examples/royale/JSON2ASVO/JSON2ASVO-app.xml| 252 + .../ValueObject.as => JSON2ASVO/asconfig.json} | 28 +-- examples/royale/JSON2ASVO/build.xml| 89 examples/royale/JSON2ASVO/pom.xml | 90 .../src/main/royale/JSON2ASVO.mxml}| 37 +-- .../JSON2ASVO/src/main/royale/MyInitialView.mxml | 251 .../royale/RoyaleWebsite/RoyaleWebsite.as3proj | 91 examples/royale/VividExample/build.xml | 68 ++ .../src/main/config/compile-app-config.xml | 6 +- frameworks/build.xml | 6 + frameworks/js/projects/VividJS/build.xml | 125 ++ .../VividJS/src/main/config/compile-js-config.xml | 97 .../Basic/src/main/resources/basic-manifest.xml| 1 + .../{VScrollViewport.as => HScrollViewport.as} | 150 ++-- .../royale/html/supportClasses/VScrollViewport.as | 24 +- .../royale/org/apache/royale/states/AddItems.as| 89 +++- .../org/apache/royale/states/ItemAndDescriptor.as | 22 +- .../main/royale/org/apache/royale/states/State.as | 34 ++- .../src/main/resources/basic-manifest.xml | 1 + .../apache/royale/reflection/beads/JSONReviver.as | 140 frameworks/projects/Vivid/build.xml| 130 +++ .../Vivid/src/main/config/compile-swf-config.xml | 105 + frameworks/projects/VividBlueTheme/build.xml | 133 +++ .../src/main/config/compile-swf-config.xml | 91 frameworks/projects/XML/src/main/royale/XML.as | 2 + frameworks/projects/XML/src/main/royale/XMLList.as | 2 +- frameworks/projects/pom.xml| 2 + manualtests/XMLTest/src/MyInitialView.mxml | 8 +- npm/cli/README.md | 19 ++ 47 files changed, 2438 insertions(+), 357 deletions(-) -- To stop receiving notification emails like this one, please contact aha...@apache.org.
[royale-asjs] 01/05: Vivid new ui set
This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit 7c1c08b26c0ebcf571eaad8d37d1c91a5b934ef6 Author: Carlos RoviraAuthorDate: Fri Feb 16 01:15:32 2018 +0100 Vivid new ui set --- frameworks/projects/Vivid/.vscode/launch.json | 21 +++ frameworks/projects/Vivid/.vscode/settings.json| 3 + frameworks/projects/Vivid/.vscode/tasks.json | 8 + frameworks/projects/Vivid/asconfig.json| 34 frameworks/projects/Vivid/pom.xml | 160 +++ .../projects/Vivid/src/main/resources/defaults.css | 86 +++ .../Vivid/src/main/resources/vivid-as-manifest.xml | 25 +++ .../Vivid/src/main/resources/vivid-manifest.xml| 29 .../projects/Vivid/src/main/royale/VividClasses.as | 40 + .../royale/org/apache/royale/vivid/Application.as | 70 + .../main/royale/org/apache/royale/vivid/Slider.as | 72 + .../royale/org/apache/royale/vivid/TextButton.as | 63 .../royale/org/apache/royale/vivid/TextField.as| 115 ++ .../apache/royale/vivid/beads/SliderThumbView.as | 121 +++ .../apache/royale/vivid/beads/SliderTrackView.as | 121 +++ .../org/apache/royale/vivid/beads/SliderView.as| 172 + .../royale/vivid/supportClasses/ITextField.as | 68 .../royale/vivid/supportClasses/TextFieldBase.as | 154 ++ 18 files changed, 1362 insertions(+) diff --git a/frameworks/projects/Vivid/.vscode/launch.json b/frameworks/projects/Vivid/.vscode/launch.json new file mode 100644 index 000..5dfb672 --- /dev/null +++ b/frameworks/projects/Vivid/.vscode/launch.json @@ -0,0 +1,21 @@ +{ +"version": "0.2.0", +"configurations": [ +{ +"name": "Launch Chrome against debug.html, with sourcemaps", +"type": "chrome", +"request": "launch", +"file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html", +"sourceMaps": true, +"preLaunchTask": "mvn" +}, +{ +"name": "Launch Firefox against debug.html, with sourcemaps", +"type": "firefox", +"request": "launch", +"file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html", +"sourceMaps": true, +"preLaunchTask": "mvn" +} +] +} diff --git a/frameworks/projects/Vivid/.vscode/settings.json b/frameworks/projects/Vivid/.vscode/settings.json new file mode 100644 index 000..1069e6c --- /dev/null +++ b/frameworks/projects/Vivid/.vscode/settings.json @@ -0,0 +1,3 @@ +{ +"nextgenas.sdk.framework": "/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-0.9.1" +} \ No newline at end of file diff --git a/frameworks/projects/Vivid/.vscode/tasks.json b/frameworks/projects/Vivid/.vscode/tasks.json new file mode 100644 index 000..5d6198d --- /dev/null +++ b/frameworks/projects/Vivid/.vscode/tasks.json @@ -0,0 +1,8 @@ +{ + // for the documentation about the tasks.json format + "version": "0.1.0", + "command": "mvn", + "args": ["clean", "install", "-DskipTests"], + "isShellCommand": true, + "showOutput": "always" +} \ No newline at end of file diff --git a/frameworks/projects/Vivid/asconfig.json b/frameworks/projects/Vivid/asconfig.json new file mode 100644 index 000..36edd42 --- /dev/null +++ b/frameworks/projects/Vivid/asconfig.json @@ -0,0 +1,34 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { +"config": "royale", +"type": "lib", +"compilerOptions": { +"debug": true, +"targets": [ +"JSRoyale", +"SWF" +], +"include-classes": [ +"VividClasses" +], +"include-sources": [ +"src/main/royale" +], +"output": "target/Vivid.swc" +} +} diff --git a/frameworks/projects/Vivid/pom.xml b/frameworks/projects/Vivid/pom.xml new file mode 100644 index 000..3ec2f3a --- /dev/null +++ b/frameworks/projects/Vivid/pom.xml @@
[royale-asjs] branch feature/vivid updated (ad1f5fc -> 95f046a)
This is an automated email from the ASF dual-hosted git repository. aharui pushed a change to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git. from ad1f5fc add Vivid projects to projects/pom.xml new 7c1c08b Vivid new ui set new 0002dee VividBlueTheme project new bd18d9f VividExample app project to test new UI Set and theme new a37cf19 try to make css per component work, but something is still wrong new 95f046a Merge branch 'feature/vivid' of https://github.com/apache/royale-asjs into feature/vivid The 5 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: -- To stop receiving notification emails like this one, please contact aha...@apache.org.
[royale-asjs] 03/05: VividExample app project to test new UI Set and theme
This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit bd18d9f19bdbe2efa2c1588b02dc73d4b519342c Author: Carlos RoviraAuthorDate: Fri Feb 16 01:17:31 2018 +0100 VividExample app project to test new UI Set and theme --- examples/royale/VividExample/.vscode/launch.json | 21 ++ examples/royale/VividExample/.vscode/settings.json | 3 + examples/royale/VividExample/.vscode/tasks.json| 8 +++ examples/royale/VividExample/README.txt| 26 +++ examples/royale/VividExample/asconfig.json | 31 examples/royale/VividExample/pom.xml | 83 ++ .../src/main/resources/vivid-example-styles.css| 25 +++ .../royale/VividExample/src/main/royale/App.mxml | 40 +++ .../src/main/royale/ButtonPlayGround.mxml | 42 +++ .../src/main/royale/TextInputPlayGround.mxml | 28 10 files changed, 307 insertions(+) diff --git a/examples/royale/VividExample/.vscode/launch.json b/examples/royale/VividExample/.vscode/launch.json new file mode 100644 index 000..5dfb672 --- /dev/null +++ b/examples/royale/VividExample/.vscode/launch.json @@ -0,0 +1,21 @@ +{ +"version": "0.2.0", +"configurations": [ +{ +"name": "Launch Chrome against debug.html, with sourcemaps", +"type": "chrome", +"request": "launch", +"file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html", +"sourceMaps": true, +"preLaunchTask": "mvn" +}, +{ +"name": "Launch Firefox against debug.html, with sourcemaps", +"type": "firefox", +"request": "launch", +"file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html", +"sourceMaps": true, +"preLaunchTask": "mvn" +} +] +} diff --git a/examples/royale/VividExample/.vscode/settings.json b/examples/royale/VividExample/.vscode/settings.json new file mode 100644 index 000..1069e6c --- /dev/null +++ b/examples/royale/VividExample/.vscode/settings.json @@ -0,0 +1,3 @@ +{ +"nextgenas.sdk.framework": "/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-0.9.1" +} \ No newline at end of file diff --git a/examples/royale/VividExample/.vscode/tasks.json b/examples/royale/VividExample/.vscode/tasks.json new file mode 100644 index 000..5d6198d --- /dev/null +++ b/examples/royale/VividExample/.vscode/tasks.json @@ -0,0 +1,8 @@ +{ + // for the documentation about the tasks.json format + "version": "0.1.0", + "command": "mvn", + "args": ["clean", "install", "-DskipTests"], + "isShellCommand": true, + "showOutput": "always" +} \ No newline at end of file diff --git a/examples/royale/VividExample/README.txt b/examples/royale/VividExample/README.txt new file mode 100644 index 000..5d2de45 --- /dev/null +++ b/examples/royale/VividExample/README.txt @@ -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. +// + + +DESCRIPTION + +The VividExample is demo app to customize styles on Royale components + +Right now this is a starter project with only a button to start developing styles + + diff --git a/examples/royale/VividExample/asconfig.json b/examples/royale/VividExample/asconfig.json new file mode 100644 index 000..4b6259e --- /dev/null +++ b/examples/royale/VividExample/asconfig.json @@ -0,0 +1,31 @@ + +// +// 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
[royale-asjs] 04/05: try to make css per component work, but something is still wrong
This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit a37cf19f585e238cec8f752267cf15227f4f66fa Author: Carlos RoviraAuthorDate: Fri Feb 16 11:43:08 2018 +0100 try to make css per component work, but something is still wrong --- examples/royale/VividExample/pom.xml| 2 +- .../projects/Vivid/src/main/resources/defaults.css | 12 ++-- .../royale/org/apache/royale/vivid/TextField.as | 6 +++--- frameworks/projects/VividBlueTheme/pom.xml | 4 ++-- .../VividBlueTheme/src/main/resources/TextField.css | 21 ++--- 5 files changed, 18 insertions(+), 27 deletions(-) diff --git a/examples/royale/VividExample/pom.xml b/examples/royale/VividExample/pom.xml index f573baa..2768e30 100644 --- a/examples/royale/VividExample/pom.xml +++ b/examples/royale/VividExample/pom.xml @@ -50,7 +50,7 @@ JSRoyale - -theme=${basedir}/../../../frameworks/projects/VividBlueTheme/target/VividBlueThemeClasses-${royale.framework.version}-js.swc + -theme=${basedir}/../../../frameworks/projects/VividBlueTheme/target/VividBlueTheme-${royale.framework.version}-js.swc diff --git a/frameworks/projects/Vivid/src/main/resources/defaults.css b/frameworks/projects/Vivid/src/main/resources/defaults.css index 5630039..038b881 100644 --- a/frameworks/projects/Vivid/src/main/resources/defaults.css +++ b/frameworks/projects/Vivid/src/main/resources/defaults.css @@ -22,12 +22,14 @@ /* * Vivid TextField */ -.vTextfield { +TextField { IBeadModel: ClassReference("org.apache.royale.html.beads.models.TextModel"); + /*IBeadView: ClassReference("org.apache.royale.html.beads.TextInputWithBorderView"); + IBeadController: ClassReference("org.apache.royale.html.beads.controllers.EditableTextKeyboardController");*/ } -.vTextfield--input {} -.vTextfield--label {} - +/*.vTextField--input {} +.vTextField--label {} +*/ /* * Vivid TextButton */ @@ -56,8 +58,6 @@ TextButton:active { color: #FF; } - - /* * Vivid Slider */ diff --git a/frameworks/projects/Vivid/src/main/royale/org/apache/royale/vivid/TextField.as b/frameworks/projects/Vivid/src/main/royale/org/apache/royale/vivid/TextField.as index fc28e66..1f43a48 100644 --- a/frameworks/projects/Vivid/src/main/royale/org/apache/royale/vivid/TextField.as +++ b/frameworks/projects/Vivid/src/main/royale/org/apache/royale/vivid/TextField.as @@ -82,21 +82,21 @@ package org.apache.royale.vivid COMPILE::JS override protected function createElement():WrappedHTMLElement { -typeNames = "vTextfield"; +typeNames = "TextField"; var div:HTMLDivElement = document.createElement('div') as HTMLDivElement; div.className = typeNames; input = addElementToWrapper(this,'input') as HTMLInputElement; input.setAttribute('type', 'text'); -input.className = "vTextfield--input"; +input.className = "vTextField--input"; //attach input handler to dispatch royale change event when user write in textinput //goog.events.listen(element, 'change', killChangeHandler); goog.events.listen(input, 'input', textChangeHandler); label = document.createElement('label') as HTMLLabelElement; -label.className = "vTextfield--label"; +label.className = "vTextField--label"; textNode = document.createTextNode('') as Text; label.appendChild(textNode); diff --git a/frameworks/projects/VividBlueTheme/pom.xml b/frameworks/projects/VividBlueTheme/pom.xml index ab189e1..92b6054 100644 --- a/frameworks/projects/VividBlueTheme/pom.xml +++ b/frameworks/projects/VividBlueTheme/pom.xml @@ -26,11 +26,11 @@ 0.9.2-SNAPSHOT - VividBlueThemeClasses + VividBlueTheme 0.9.2-SNAPSHOT swc - Apache Royale: Framework: Libs: VividBlueThemeClasses + Apache Royale: Framework: Libs: VividBlueTheme src/main/royale diff --git a/frameworks/projects/VividBlueTheme/src/main/resources/TextField.css b/frameworks/projects/VividBlueTheme/src/main/resources/TextField.css index 4d588c1..4c5e368 100644 --- a/frameworks/projects/VividBlueTheme/src/main/resources/TextField.css +++ b/frameworks/projects/VividBlueTheme/src/main/resources/TextField.css @@ -23,11 +23,7 @@ /* * Vivid TextField */ -.vTextfield { - IBeadModel: ClassReference("org.apache.royale.html.beads.models.TextModel"); -/*IBeadView: ClassReference("org.apache.royale.html.beads.TextInputWithBorderView"); - IBeadController: ClassReference("org.apache.royale.html.beads.controllers.EditableTextKeyboardController");*/ - +TextField { position: relative; display:
[royale-asjs] 02/05: VividBlueTheme project
This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit 0002deefac779374c1cc3f20c1ad901d43dcdf88 Author: Carlos RoviraAuthorDate: Fri Feb 16 01:16:36 2018 +0100 VividBlueTheme project --- .../projects/VividBlueTheme/.vscode/launch.json| 21 ++ .../projects/VividBlueTheme/.vscode/settings.json | 3 + .../projects/VividBlueTheme/.vscode/tasks.json | 8 +++ frameworks/projects/VividBlueTheme/asconfig.json | 34 + frameworks/projects/VividBlueTheme/pom.xml | 66 + .../src/main/resources/TextField.css | 84 ++ .../VividBlueTheme/src/main/resources/defaults.css | 33 + .../src/main/royale/VividBlueThemeClasses.as | 33 + 8 files changed, 282 insertions(+) diff --git a/frameworks/projects/VividBlueTheme/.vscode/launch.json b/frameworks/projects/VividBlueTheme/.vscode/launch.json new file mode 100644 index 000..5dfb672 --- /dev/null +++ b/frameworks/projects/VividBlueTheme/.vscode/launch.json @@ -0,0 +1,21 @@ +{ +"version": "0.2.0", +"configurations": [ +{ +"name": "Launch Chrome against debug.html, with sourcemaps", +"type": "chrome", +"request": "launch", +"file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html", +"sourceMaps": true, +"preLaunchTask": "mvn" +}, +{ +"name": "Launch Firefox against debug.html, with sourcemaps", +"type": "firefox", +"request": "launch", +"file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html", +"sourceMaps": true, +"preLaunchTask": "mvn" +} +] +} diff --git a/frameworks/projects/VividBlueTheme/.vscode/settings.json b/frameworks/projects/VividBlueTheme/.vscode/settings.json new file mode 100644 index 000..1069e6c --- /dev/null +++ b/frameworks/projects/VividBlueTheme/.vscode/settings.json @@ -0,0 +1,3 @@ +{ +"nextgenas.sdk.framework": "/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-0.9.1" +} \ No newline at end of file diff --git a/frameworks/projects/VividBlueTheme/.vscode/tasks.json b/frameworks/projects/VividBlueTheme/.vscode/tasks.json new file mode 100644 index 000..5d6198d --- /dev/null +++ b/frameworks/projects/VividBlueTheme/.vscode/tasks.json @@ -0,0 +1,8 @@ +{ + // for the documentation about the tasks.json format + "version": "0.1.0", + "command": "mvn", + "args": ["clean", "install", "-DskipTests"], + "isShellCommand": true, + "showOutput": "always" +} \ No newline at end of file diff --git a/frameworks/projects/VividBlueTheme/asconfig.json b/frameworks/projects/VividBlueTheme/asconfig.json new file mode 100644 index 000..d2773a4 --- /dev/null +++ b/frameworks/projects/VividBlueTheme/asconfig.json @@ -0,0 +1,34 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { +"config": "royale", +"type": "lib", +"compilerOptions": { +"debug": true, +"targets": [ +"JSRoyale", +"SWF" +], +"include-classes": [ +"VividBlueThemeClasses" +], +"include-sources": [ +"src/main/royale" +], +"output": "target/VividBlueThemeClasses.swc" +} +} diff --git a/frameworks/projects/VividBlueTheme/pom.xml b/frameworks/projects/VividBlueTheme/pom.xml new file mode 100644 index 000..ab189e1 --- /dev/null +++ b/frameworks/projects/VividBlueTheme/pom.xml @@ -0,0 +1,66 @@ + + +http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;> + 4.0.0 + + +org.apache.royale.framework +projects +0.9.2-SNAPSHOT + + + VividBlueThemeClasses + 0.9.2-SNAPSHOT + swc + + Apache Royale: Framework: Libs: VividBlueThemeClasses + + +src/main/royale + + +org.apache.royale.compiler +royale-maven-plugin +
[royale-compiler] branch develop updated: switch maven to remove-circulars=true
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-compiler.git The following commit(s) were added to refs/heads/develop by this push: new fb755ea switch maven to remove-circulars=true fb755ea is described below commit fb755eacdd68884f71f79a748eee89e15be56366 Author: Alex HaruiAuthorDate: Mon Feb 19 08:51:41 2018 -0800 switch maven to remove-circulars=true --- .../src/main/java/org/apache/royale/maven/CompileAppMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileAppMojo.java b/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileAppMojo.java index c51331d..7ddfd39 100644 --- a/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileAppMojo.java +++ b/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileAppMojo.java @@ -54,7 +54,7 @@ public class CompileAppMojo @Parameter protected String targets = "SWF,JSRoyale"; -@Parameter(defaultValue = "false") +@Parameter(defaultValue = "true") protected boolean removeCirculars; @Override -- To stop receiving notification emails like this one, please contact aha...@apache.org.
[royale-asjs] branch ace-editor updated: No need for a special application.
This is an automated email from the ASF dual-hosted git repository. yishayw pushed a commit to branch ace-editor in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/ace-editor by this push: new 7bd5b87 No need for a special application. 7bd5b87 is described below commit 7bd5b87db2f5fcdd5caa0402f7da791ba3754a9c Author: DESKTOP-RH4S838\YishayAuthorDate: Mon Feb 19 18:25:35 2018 +0200 No need for a special application. --- examples/royale/Ace/src/main/royale/ACEEditor.as | 9 + examples/royale/Ace/src/main/royale/Ace.mxml | 4 +-- examples/royale/Ace/src/main/royale/Application.as | 40 -- 3 files changed, 11 insertions(+), 42 deletions(-) diff --git a/examples/royale/Ace/src/main/royale/ACEEditor.as b/examples/royale/Ace/src/main/royale/ACEEditor.as index cd51a60..c16f688 100644 --- a/examples/royale/Ace/src/main/royale/ACEEditor.as +++ b/examples/royale/Ace/src/main/royale/ACEEditor.as @@ -31,6 +31,15 @@ package COMPILE::JS public class ACEEditor extends org.apache.royale.core.UIBase { + /** +* +* https://cdn.rawgit.com/ajaxorg/ace-builds/master/src-min-noconflict/ace.js"> +* +*/ + public function ACEEditor() + { + super(); + } private var editor:Editor; override public function addedToParent():void diff --git a/examples/royale/Ace/src/main/royale/Ace.mxml b/examples/royale/Ace/src/main/royale/Ace.mxml index e27a80e..529289e 100644 --- a/examples/royale/Ace/src/main/royale/Ace.mxml +++ b/examples/royale/Ace/src/main/royale/Ace.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -http://ns.adobe.com/mxml/2009; +http://ns.adobe.com/mxml/2009; xmlns:local="*" xmlns:js="library://ns.apache.org/royale/basic" > @@ -31,5 +31,5 @@ limitations under the License. - + diff --git a/examples/royale/Ace/src/main/royale/Application.as b/examples/royale/Ace/src/main/royale/Application.as deleted file mode 100644 index 1f87c76..000 --- a/examples/royale/Ace/src/main/royale/Application.as +++ /dev/null @@ -1,40 +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 -{ -import org.apache.royale.core.Application; - import org.apache.royale.core.IFlexInfo; - - - public class Application extends org.apache.royale.core.Application implements IFlexInfo - { - /** -* The Royale Compiler will inject html into the index.html file. Surround with -* "inject_html" tag as follows: -* -* -* https://cdn.rawgit.com/ajaxorg/ace-builds/master/src-min-noconflict/ace.js"> -* -*/ - public function Application() - { - super(); - } -} -} -- To stop receiving notification emails like this one, please contact yish...@apache.org.
[MAVEN-BUILD] Royale-asjs - Build # 509 - Still Failing
The Apache Jenkins build system has built Royale-asjs (build #509) Status: Still Failing Check console output at https://builds.apache.org/job/Royale-asjs/509/ to view the results.
[royale-docs] branch develop updated: Update renaming-of-properties.md
This is an automated email from the ASF dual-hosted git repository. andreww pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-docs.git The following commit(s) were added to refs/heads/develop by this push: new 0c10ab2 Update renaming-of-properties.md 0c10ab2 is described below commit 0c10ab24726b01ff1b231ec7a7098f31f7b9d5f9 Author: Andrew WetmoreAuthorDate: Mon Feb 19 11:55:56 2018 -0400 Update renaming-of-properties.md --- create-an-application/migrate-an-existing-app/renaming-of-properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-an-application/migrate-an-existing-app/renaming-of-properties.md b/create-an-application/migrate-an-existing-app/renaming-of-properties.md index edaa1c6..3e2897c 100644 --- a/create-an-application/migrate-an-existing-app/renaming-of-properties.md +++ b/create-an-application/migrate-an-existing-app/renaming-of-properties.md @@ -17,6 +17,6 @@ layout: docpage title: Renaming of properties --- -* Renaming of properties +# Renaming of properties *This material will be available soon.* -- To stop receiving notification emails like this one, please contact andr...@apache.org.
[royale-docs] branch develop updated: Create renaming-of-properties.md
This is an automated email from the ASF dual-hosted git repository. andreww pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-docs.git The following commit(s) were added to refs/heads/develop by this push: new 90fd6fa Create renaming-of-properties.md 90fd6fa is described below commit 90fd6fae89872cd430c0c77f81473a14b45b5739 Author: Andrew WetmoreAuthorDate: Mon Feb 19 11:55:32 2018 -0400 Create renaming-of-properties.md placeholder --- .../renaming-of-properties.md | 22 ++ 1 file changed, 22 insertions(+) diff --git a/create-an-application/migrate-an-existing-app/renaming-of-properties.md b/create-an-application/migrate-an-existing-app/renaming-of-properties.md new file mode 100644 index 000..edaa1c6 --- /dev/null +++ b/create-an-application/migrate-an-existing-app/renaming-of-properties.md @@ -0,0 +1,22 @@ +--- +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +layout: docpage +title: Renaming of properties +--- +* Renaming of properties + +*This material will be available soon.* -- To stop receiving notification emails like this one, please contact andr...@apache.org.
[royale-docs] branch develop updated: Create circular-dependencies.md
This is an automated email from the ASF dual-hosted git repository. andreww pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-docs.git The following commit(s) were added to refs/heads/develop by this push: new c579afe Create circular-dependencies.md c579afe is described below commit c579afe13f0254b28f7e106d670809002811215c Author: Andrew WetmoreAuthorDate: Mon Feb 19 11:54:05 2018 -0400 Create circular-dependencies.md Placeholder --- .../circular-dependencies.md | 22 ++ 1 file changed, 22 insertions(+) diff --git a/create-an-application/migrate-an-existing-app/circular-dependencies.md b/create-an-application/migrate-an-existing-app/circular-dependencies.md new file mode 100644 index 000..a98402f --- /dev/null +++ b/create-an-application/migrate-an-existing-app/circular-dependencies.md @@ -0,0 +1,22 @@ +--- +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +layout: docpage +title: Circular dependencies +--- +# Circular dependencies + +*This material will be available soon.* -- To stop receiving notification emails like this one, please contact andr...@apache.org.
[MAVEN-BUILD] Royale-asjs - Build # 508 - Still Failing
The Apache Jenkins build system has built Royale-asjs (build #508) Status: Still Failing Check console output at https://builds.apache.org/job/Royale-asjs/508/ to view the results.
[royale-typedefs] branch feature/vivid created (now 3887b6d)
This is an automated email from the ASF dual-hosted git repository. piotrz pushed a change to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-typedefs.git. at 3887b6d fix JSON typedef No new revisions were added by this update. -- To stop receiving notification emails like this one, please contact pio...@apache.org.
[royale-asjs] 06/07: ant build for VividExample
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit 7c141e9cd49f2a30772b444b1ded46669ec5d039 Author: Alex HaruiAuthorDate: Sun Feb 18 22:04:16 2018 -0800 ant build for VividExample --- examples/royale/VividExample/build.xml | 68 ++ .../src/main/config/compile-app-config.xml | 28 + 2 files changed, 96 insertions(+) diff --git a/examples/royale/VividExample/build.xml b/examples/royale/VividExample/build.xml new file mode 100644 index 000..2f99436 --- /dev/null +++ b/examples/royale/VividExample/build.xml @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/royale/VividExample/src/main/config/compile-app-config.xml b/examples/royale/VividExample/src/main/config/compile-app-config.xml new file mode 100644 index 000..f23f22c --- /dev/null +++ b/examples/royale/VividExample/src/main/config/compile-app-config.xml @@ -0,0 +1,28 @@ + + + +skipAsCoercions + + + + ../../../../../../frameworks/libs/VividBlueTheme.swc + + + -- To stop receiving notification emails like this one, please contact carlosrov...@apache.org.
[royale-asjs] 03/07: VividExample app project to test new UI Set and theme
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit 56addcfb63391f00b018001afa21a2d32f438269 Author: Carlos RoviraAuthorDate: Fri Feb 16 01:17:31 2018 +0100 VividExample app project to test new UI Set and theme --- examples/royale/VividExample/.vscode/launch.json | 21 ++ examples/royale/VividExample/.vscode/settings.json | 3 + examples/royale/VividExample/.vscode/tasks.json| 8 +++ examples/royale/VividExample/README.txt| 26 +++ examples/royale/VividExample/asconfig.json | 31 examples/royale/VividExample/pom.xml | 83 ++ .../src/main/resources/vivid-example-styles.css| 25 +++ .../royale/VividExample/src/main/royale/App.mxml | 40 +++ .../src/main/royale/ButtonPlayGround.mxml | 42 +++ .../src/main/royale/TextInputPlayGround.mxml | 28 10 files changed, 307 insertions(+) diff --git a/examples/royale/VividExample/.vscode/launch.json b/examples/royale/VividExample/.vscode/launch.json new file mode 100644 index 000..5dfb672 --- /dev/null +++ b/examples/royale/VividExample/.vscode/launch.json @@ -0,0 +1,21 @@ +{ +"version": "0.2.0", +"configurations": [ +{ +"name": "Launch Chrome against debug.html, with sourcemaps", +"type": "chrome", +"request": "launch", +"file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html", +"sourceMaps": true, +"preLaunchTask": "mvn" +}, +{ +"name": "Launch Firefox against debug.html, with sourcemaps", +"type": "firefox", +"request": "launch", +"file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html", +"sourceMaps": true, +"preLaunchTask": "mvn" +} +] +} diff --git a/examples/royale/VividExample/.vscode/settings.json b/examples/royale/VividExample/.vscode/settings.json new file mode 100644 index 000..1069e6c --- /dev/null +++ b/examples/royale/VividExample/.vscode/settings.json @@ -0,0 +1,3 @@ +{ +"nextgenas.sdk.framework": "/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-0.9.1" +} \ No newline at end of file diff --git a/examples/royale/VividExample/.vscode/tasks.json b/examples/royale/VividExample/.vscode/tasks.json new file mode 100644 index 000..5d6198d --- /dev/null +++ b/examples/royale/VividExample/.vscode/tasks.json @@ -0,0 +1,8 @@ +{ + // for the documentation about the tasks.json format + "version": "0.1.0", + "command": "mvn", + "args": ["clean", "install", "-DskipTests"], + "isShellCommand": true, + "showOutput": "always" +} \ No newline at end of file diff --git a/examples/royale/VividExample/README.txt b/examples/royale/VividExample/README.txt new file mode 100644 index 000..5d2de45 --- /dev/null +++ b/examples/royale/VividExample/README.txt @@ -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. +// + + +DESCRIPTION + +The VividExample is demo app to customize styles on Royale components + +Right now this is a starter project with only a button to start developing styles + + diff --git a/examples/royale/VividExample/asconfig.json b/examples/royale/VividExample/asconfig.json new file mode 100644 index 000..4b6259e --- /dev/null +++ b/examples/royale/VividExample/asconfig.json @@ -0,0 +1,31 @@ + +// +// 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.
[royale-asjs] branch feature/vivid updated (bff4b57 -> ad1f5fc)
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a change to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git. discard bff4b57 Merge branch 'feature/vivid' of https://github.com/apache/royale-asjs into feature/vivid discard bcbc19c add Vivid projects to projects/pom.xml discard 92d2e16 ant build for VividExample discard 634c23c ant build for Vivid discard 8d9df43 try to make css per component work, but something is still wrong discard ec77e0c VividExample app project to test new UI Set and theme discard 0facaa2 VividBlueTheme project discard 0ee2812 Vivid new ui set discard 500096a add Vivid projects to projects/pom.xml discard 11cc6e0 ant build for VividExample discard c63caea ant build for Vivid discard a37cf19 try to make css per component work, but something is still wrong discard bd18d9f VividExample app project to test new UI Set and theme discard 0002dee VividBlueTheme project discard 7c1c08b Vivid new ui set add 6a039fb add license headers to new ASDoc classes to fix maven build new 470011f Vivid new ui set new 487f938 VividBlueTheme project new 56addcf VividExample app project to test new UI Set and theme new 16b065e try to make css per component work, but something is still wrong new c473121 ant build for Vivid new 7c141e9 ant build for VividExample new ad1f5fc add Vivid projects to projects/pom.xml This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (bff4b57) \ N -- N -- N refs/heads/feature/vivid (ad1f5fc) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 7 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: examples/royale/ASDoc/src/main/royale/ASDocClass.as| 18 ++ .../royale/ASDoc/src/main/royale/ASDocClassAccessor.as | 18 ++ .../royale/ASDoc/src/main/royale/ASDocClassEvents.as | 18 ++ .../royale/ASDoc/src/main/royale/ASDocClassFunction.as | 18 ++ .../royale/ASDoc/src/main/royale/ASDocClassMembers.as | 18 ++ .../royale/ASDoc/src/main/royale/ASDocClassTags.as | 18 ++ 6 files changed, 108 insertions(+) -- To stop receiving notification emails like this one, please contact carlosrov...@apache.org.
[royale-asjs] 01/07: Vivid new ui set
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit 470011f4d27204c08de08c052c86c38907896a1b Author: Carlos RoviraAuthorDate: Fri Feb 16 01:15:32 2018 +0100 Vivid new ui set --- frameworks/projects/Vivid/.vscode/launch.json | 21 +++ frameworks/projects/Vivid/.vscode/settings.json| 3 + frameworks/projects/Vivid/.vscode/tasks.json | 8 + frameworks/projects/Vivid/asconfig.json| 34 frameworks/projects/Vivid/pom.xml | 160 +++ .../projects/Vivid/src/main/resources/defaults.css | 86 +++ .../Vivid/src/main/resources/vivid-as-manifest.xml | 25 +++ .../Vivid/src/main/resources/vivid-manifest.xml| 29 .../projects/Vivid/src/main/royale/VividClasses.as | 40 + .../royale/org/apache/royale/vivid/Application.as | 70 + .../main/royale/org/apache/royale/vivid/Slider.as | 72 + .../royale/org/apache/royale/vivid/TextButton.as | 63 .../royale/org/apache/royale/vivid/TextField.as| 115 ++ .../apache/royale/vivid/beads/SliderThumbView.as | 121 +++ .../apache/royale/vivid/beads/SliderTrackView.as | 121 +++ .../org/apache/royale/vivid/beads/SliderView.as| 172 + .../royale/vivid/supportClasses/ITextField.as | 68 .../royale/vivid/supportClasses/TextFieldBase.as | 154 ++ 18 files changed, 1362 insertions(+) diff --git a/frameworks/projects/Vivid/.vscode/launch.json b/frameworks/projects/Vivid/.vscode/launch.json new file mode 100644 index 000..5dfb672 --- /dev/null +++ b/frameworks/projects/Vivid/.vscode/launch.json @@ -0,0 +1,21 @@ +{ +"version": "0.2.0", +"configurations": [ +{ +"name": "Launch Chrome against debug.html, with sourcemaps", +"type": "chrome", +"request": "launch", +"file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html", +"sourceMaps": true, +"preLaunchTask": "mvn" +}, +{ +"name": "Launch Firefox against debug.html, with sourcemaps", +"type": "firefox", +"request": "launch", +"file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html", +"sourceMaps": true, +"preLaunchTask": "mvn" +} +] +} diff --git a/frameworks/projects/Vivid/.vscode/settings.json b/frameworks/projects/Vivid/.vscode/settings.json new file mode 100644 index 000..1069e6c --- /dev/null +++ b/frameworks/projects/Vivid/.vscode/settings.json @@ -0,0 +1,3 @@ +{ +"nextgenas.sdk.framework": "/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-0.9.1" +} \ No newline at end of file diff --git a/frameworks/projects/Vivid/.vscode/tasks.json b/frameworks/projects/Vivid/.vscode/tasks.json new file mode 100644 index 000..5d6198d --- /dev/null +++ b/frameworks/projects/Vivid/.vscode/tasks.json @@ -0,0 +1,8 @@ +{ + // for the documentation about the tasks.json format + "version": "0.1.0", + "command": "mvn", + "args": ["clean", "install", "-DskipTests"], + "isShellCommand": true, + "showOutput": "always" +} \ No newline at end of file diff --git a/frameworks/projects/Vivid/asconfig.json b/frameworks/projects/Vivid/asconfig.json new file mode 100644 index 000..36edd42 --- /dev/null +++ b/frameworks/projects/Vivid/asconfig.json @@ -0,0 +1,34 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { +"config": "royale", +"type": "lib", +"compilerOptions": { +"debug": true, +"targets": [ +"JSRoyale", +"SWF" +], +"include-classes": [ +"VividClasses" +], +"include-sources": [ +"src/main/royale" +], +"output": "target/Vivid.swc" +} +} diff --git a/frameworks/projects/Vivid/pom.xml b/frameworks/projects/Vivid/pom.xml new file mode 100644 index 000..3ec2f3a --- /dev/null +++ b/frameworks/projects/Vivid/pom.xml
[royale-asjs] branch develop updated: add license headers to new ASDoc classes to fix maven build
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 6a039fb add license headers to new ASDoc classes to fix maven build 6a039fb is described below commit 6a039fbc9ebaa3f4e962e701c184cd65aa1e7e95 Author: Carlos RoviraAuthorDate: Mon Feb 19 11:18:40 2018 +0100 add license headers to new ASDoc classes to fix maven build --- examples/royale/ASDoc/src/main/royale/ASDocClass.as| 18 ++ .../royale/ASDoc/src/main/royale/ASDocClassAccessor.as | 18 ++ .../royale/ASDoc/src/main/royale/ASDocClassEvents.as | 18 ++ .../royale/ASDoc/src/main/royale/ASDocClassFunction.as | 18 ++ .../royale/ASDoc/src/main/royale/ASDocClassMembers.as | 18 ++ .../royale/ASDoc/src/main/royale/ASDocClassTags.as | 18 ++ 6 files changed, 108 insertions(+) diff --git a/examples/royale/ASDoc/src/main/royale/ASDocClass.as b/examples/royale/ASDoc/src/main/royale/ASDocClass.as index b52a6ec..a377914 100644 --- a/examples/royale/ASDoc/src/main/royale/ASDocClass.as +++ b/examples/royale/ASDoc/src/main/royale/ASDocClass.as @@ -1,3 +1,21 @@ + +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + package { [RemoteClass(alias='ASDocClass')] diff --git a/examples/royale/ASDoc/src/main/royale/ASDocClassAccessor.as b/examples/royale/ASDoc/src/main/royale/ASDocClassAccessor.as index b263024..0524c31 100644 --- a/examples/royale/ASDoc/src/main/royale/ASDocClassAccessor.as +++ b/examples/royale/ASDoc/src/main/royale/ASDocClassAccessor.as @@ -1,3 +1,21 @@ + +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + package { [RemoteClass(alias='ASDocClassAccessor')] diff --git a/examples/royale/ASDoc/src/main/royale/ASDocClassEvents.as b/examples/royale/ASDoc/src/main/royale/ASDocClassEvents.as index 9c8f39a..d7b2726 100644 --- a/examples/royale/ASDoc/src/main/royale/ASDocClassEvents.as +++ b/examples/royale/ASDoc/src/main/royale/ASDocClassEvents.as @@ -1,3 +1,21 @@ + +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +//
[royale-asjs] 07/08: add Vivid projects to projects/pom.xml
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit bcbc19cd43b024cade14bf7993ef7a2b037c8426 Author: Carlos RoviraAuthorDate: Mon Feb 19 11:12:25 2018 +0100 add Vivid projects to projects/pom.xml --- frameworks/projects/pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frameworks/projects/pom.xml b/frameworks/projects/pom.xml index c1d5cc1..55fb559 100644 --- a/frameworks/projects/pom.xml +++ b/frameworks/projects/pom.xml @@ -60,6 +60,8 @@ Text TLF RoyaleSite +Vivid +VividBlueTheme -- To stop receiving notification emails like this one, please contact carlosrov...@apache.org.
[royale-asjs] branch feature/vivid updated (500096a -> bff4b57)
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a change to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git. from 500096a add Vivid projects to projects/pom.xml add 59f83f7 Update url of svg file in LICENSE add 75db64e fix maven compilation. Missing license header in cli readme file add 72b67d9 Merge branch 'develop' of https://github.com/apache/royale-asjs into develop add 2d7eb3c Add Moonshine project file to RoyaleWebsite add 0815198 Remove customSDK from RoyaleWebsite.as3proj configuration add 5adf697 Fixed XMLList.toString() add 533b74f Cleaned up VScrollViewport add ae9b650 first cut at generating VO's from JSON add 50bb73f get rid of our fake VOs. We will use generated ones add 47890fc add JSONReviver add 242089d use JSONReviver for keys so they are guaranteed to match. Add [RemoteClass] metadata add a180ee3 add four generated VOs and one we created. The four have been edited to add [Bindable] and computed fields add c78dce3 update ASDoc to use generated VOs add ec8094f generate getter/setters with optional binding events instead of plain vars because export statements don't work for vars since an export creates a reference to the renamed variable. If the renamed variable is given a new value then the export reference is broken add 50d940c The reviver works bottom up so you have to copy properties when replacing a plain object with a class add ef456b9 swap out public var for getter/setters. Public vars don't handle being assigned by name from MXML add bccff27 turn off type-inferencing for now. It looked like it was generating bad code around VO initialization add 006f6b1 need to use common base types in the loops new 0ee2812 Vivid new ui set new 0facaa2 VividBlueTheme project new ec77e0c VividExample app project to test new UI Set and theme new 8d9df43 try to make css per component work, but something is still wrong new 634c23c ant build for Vivid new 92d2e16 ant build for VividExample new bcbc19c add Vivid projects to projects/pom.xml new bff4b57 Merge branch 'feature/vivid' of https://github.com/apache/royale-asjs into feature/vivid The 8 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: LICENSE| 2 +- .../ASDoc/src/main/config/compile-app-config.xml | 4 + examples/royale/ASDoc/src/main/royale/ASDoc.mxml | 1 + .../royale/ASDoc/src/main/royale/ASDocClass.as | 97 .../ASDoc/src/main/royale/ASDocClassAccessor.as| 20 ++ .../ASDoc/src/main/royale/ASDocClassAttribute.as | 28 ++- .../ASDoc/src/main/royale/ASDocClassEvents.as | 97 .../ASDoc/src/main/royale/ASDocClassFunction.as| 72 ++ .../ASDoc/src/main/royale/ASDocClassMembers.as | 20 ++ .../royale/ASDoc/src/main/royale/ASDocClassTags.as | 31 +++ .../ASDoc/src/main/royale/EventDetailRenderer.mxml | 11 +- .../src/main/royale/EventSummaryRenderer.mxml | 12 +- .../src/main/royale/MethodDetailRenderer.mxml | 18 +- .../src/main/royale/MethodSummaryRenderer.mxml | 18 +- .../src/main/royale/PropertyDetailRenderer.mxml| 14 +- .../ASDoc/src/main/royale/SummaryRenderer.mxml | 16 +- .../ASDoc/src/main/royale/models/ASDocModel.as | 78 --- .../ASDoc/src/main/royale/valueObjects/DataVO.as | 50 .../src/main/royale/valueObjects/ValueObject.as| 35 --- .../JSON2ASVO-app.xml} | 8 +- .../royale/{MapSearch => JSON2ASVO}/asconfig.json | 2 +- .../royale/{DesktopMap => JSON2ASVO}/build.xml | 4 +- examples/royale/{DesktopMap => JSON2ASVO}/pom.xml | 6 +- .../src/main/royale/JSON2ASVO.mxml}| 16 +- .../JSON2ASVO/src/main/royale/MyInitialView.mxml | 251 + .../RoyaleWebsite.as3proj} | 30 +-- .../Basic/src/main/resources/basic-manifest.xml| 1 + .../{VScrollViewport.as => HScrollViewport.as} | 150 ++-- .../royale/html/supportClasses/VScrollViewport.as | 24 +- .../royale/org/apache/royale/states/AddItems.as| 89 +++- .../org/apache/royale/states/ItemAndDescriptor.as | 22 +- .../main/royale/org/apache/royale/states/State.as | 34 ++- .../src/main/resources/basic-manifest.xml | 1 + .../apache/royale/reflection/beads/JSONReviver.as | 140 frameworks/projects/XML/src/main/royale/XML.as | 2 + frameworks/projects/XML/src/main/royale/XMLList.as | 2 +- manualtests/XMLTest/src/MyInitialView.mxml | 8 +- npm/cli/README.md | 19 ++ 38 files changed,
[royale-asjs] 03/08: VividExample app project to test new UI Set and theme
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit ec77e0caa009753b36e72aac59771be8fcf98fc8 Author: Carlos RoviraAuthorDate: Fri Feb 16 01:17:31 2018 +0100 VividExample app project to test new UI Set and theme --- examples/royale/VividExample/.vscode/launch.json | 21 ++ examples/royale/VividExample/.vscode/settings.json | 3 + examples/royale/VividExample/.vscode/tasks.json| 8 +++ examples/royale/VividExample/README.txt| 26 +++ examples/royale/VividExample/asconfig.json | 31 examples/royale/VividExample/pom.xml | 83 ++ .../src/main/resources/vivid-example-styles.css| 25 +++ .../royale/VividExample/src/main/royale/App.mxml | 40 +++ .../src/main/royale/ButtonPlayGround.mxml | 42 +++ .../src/main/royale/TextInputPlayGround.mxml | 28 10 files changed, 307 insertions(+) diff --git a/examples/royale/VividExample/.vscode/launch.json b/examples/royale/VividExample/.vscode/launch.json new file mode 100644 index 000..5dfb672 --- /dev/null +++ b/examples/royale/VividExample/.vscode/launch.json @@ -0,0 +1,21 @@ +{ +"version": "0.2.0", +"configurations": [ +{ +"name": "Launch Chrome against debug.html, with sourcemaps", +"type": "chrome", +"request": "launch", +"file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html", +"sourceMaps": true, +"preLaunchTask": "mvn" +}, +{ +"name": "Launch Firefox against debug.html, with sourcemaps", +"type": "firefox", +"request": "launch", +"file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html", +"sourceMaps": true, +"preLaunchTask": "mvn" +} +] +} diff --git a/examples/royale/VividExample/.vscode/settings.json b/examples/royale/VividExample/.vscode/settings.json new file mode 100644 index 000..1069e6c --- /dev/null +++ b/examples/royale/VividExample/.vscode/settings.json @@ -0,0 +1,3 @@ +{ +"nextgenas.sdk.framework": "/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-0.9.1" +} \ No newline at end of file diff --git a/examples/royale/VividExample/.vscode/tasks.json b/examples/royale/VividExample/.vscode/tasks.json new file mode 100644 index 000..5d6198d --- /dev/null +++ b/examples/royale/VividExample/.vscode/tasks.json @@ -0,0 +1,8 @@ +{ + // for the documentation about the tasks.json format + "version": "0.1.0", + "command": "mvn", + "args": ["clean", "install", "-DskipTests"], + "isShellCommand": true, + "showOutput": "always" +} \ No newline at end of file diff --git a/examples/royale/VividExample/README.txt b/examples/royale/VividExample/README.txt new file mode 100644 index 000..5d2de45 --- /dev/null +++ b/examples/royale/VividExample/README.txt @@ -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. +// + + +DESCRIPTION + +The VividExample is demo app to customize styles on Royale components + +Right now this is a starter project with only a button to start developing styles + + diff --git a/examples/royale/VividExample/asconfig.json b/examples/royale/VividExample/asconfig.json new file mode 100644 index 000..4b6259e --- /dev/null +++ b/examples/royale/VividExample/asconfig.json @@ -0,0 +1,31 @@ + +// +// 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.
[royale-asjs] 04/08: try to make css per component work, but something is still wrong
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit 8d9df43dfe8092058189a4f2b31a8a1092b220cc Author: Carlos RoviraAuthorDate: Fri Feb 16 11:43:08 2018 +0100 try to make css per component work, but something is still wrong --- examples/royale/VividExample/pom.xml| 2 +- .../projects/Vivid/src/main/resources/defaults.css | 12 ++-- .../royale/org/apache/royale/vivid/TextField.as | 6 +++--- frameworks/projects/VividBlueTheme/pom.xml | 4 ++-- .../VividBlueTheme/src/main/resources/TextField.css | 21 ++--- 5 files changed, 18 insertions(+), 27 deletions(-) diff --git a/examples/royale/VividExample/pom.xml b/examples/royale/VividExample/pom.xml index f573baa..2768e30 100644 --- a/examples/royale/VividExample/pom.xml +++ b/examples/royale/VividExample/pom.xml @@ -50,7 +50,7 @@ JSRoyale - -theme=${basedir}/../../../frameworks/projects/VividBlueTheme/target/VividBlueThemeClasses-${royale.framework.version}-js.swc + -theme=${basedir}/../../../frameworks/projects/VividBlueTheme/target/VividBlueTheme-${royale.framework.version}-js.swc diff --git a/frameworks/projects/Vivid/src/main/resources/defaults.css b/frameworks/projects/Vivid/src/main/resources/defaults.css index 5630039..038b881 100644 --- a/frameworks/projects/Vivid/src/main/resources/defaults.css +++ b/frameworks/projects/Vivid/src/main/resources/defaults.css @@ -22,12 +22,14 @@ /* * Vivid TextField */ -.vTextfield { +TextField { IBeadModel: ClassReference("org.apache.royale.html.beads.models.TextModel"); + /*IBeadView: ClassReference("org.apache.royale.html.beads.TextInputWithBorderView"); + IBeadController: ClassReference("org.apache.royale.html.beads.controllers.EditableTextKeyboardController");*/ } -.vTextfield--input {} -.vTextfield--label {} - +/*.vTextField--input {} +.vTextField--label {} +*/ /* * Vivid TextButton */ @@ -56,8 +58,6 @@ TextButton:active { color: #FF; } - - /* * Vivid Slider */ diff --git a/frameworks/projects/Vivid/src/main/royale/org/apache/royale/vivid/TextField.as b/frameworks/projects/Vivid/src/main/royale/org/apache/royale/vivid/TextField.as index fc28e66..1f43a48 100644 --- a/frameworks/projects/Vivid/src/main/royale/org/apache/royale/vivid/TextField.as +++ b/frameworks/projects/Vivid/src/main/royale/org/apache/royale/vivid/TextField.as @@ -82,21 +82,21 @@ package org.apache.royale.vivid COMPILE::JS override protected function createElement():WrappedHTMLElement { -typeNames = "vTextfield"; +typeNames = "TextField"; var div:HTMLDivElement = document.createElement('div') as HTMLDivElement; div.className = typeNames; input = addElementToWrapper(this,'input') as HTMLInputElement; input.setAttribute('type', 'text'); -input.className = "vTextfield--input"; +input.className = "vTextField--input"; //attach input handler to dispatch royale change event when user write in textinput //goog.events.listen(element, 'change', killChangeHandler); goog.events.listen(input, 'input', textChangeHandler); label = document.createElement('label') as HTMLLabelElement; -label.className = "vTextfield--label"; +label.className = "vTextField--label"; textNode = document.createTextNode('') as Text; label.appendChild(textNode); diff --git a/frameworks/projects/VividBlueTheme/pom.xml b/frameworks/projects/VividBlueTheme/pom.xml index ab189e1..92b6054 100644 --- a/frameworks/projects/VividBlueTheme/pom.xml +++ b/frameworks/projects/VividBlueTheme/pom.xml @@ -26,11 +26,11 @@ 0.9.2-SNAPSHOT - VividBlueThemeClasses + VividBlueTheme 0.9.2-SNAPSHOT swc - Apache Royale: Framework: Libs: VividBlueThemeClasses + Apache Royale: Framework: Libs: VividBlueTheme src/main/royale diff --git a/frameworks/projects/VividBlueTheme/src/main/resources/TextField.css b/frameworks/projects/VividBlueTheme/src/main/resources/TextField.css index 4d588c1..4c5e368 100644 --- a/frameworks/projects/VividBlueTheme/src/main/resources/TextField.css +++ b/frameworks/projects/VividBlueTheme/src/main/resources/TextField.css @@ -23,11 +23,7 @@ /* * Vivid TextField */ -.vTextfield { - IBeadModel: ClassReference("org.apache.royale.html.beads.models.TextModel"); -/*IBeadView: ClassReference("org.apache.royale.html.beads.TextInputWithBorderView"); - IBeadController: ClassReference("org.apache.royale.html.beads.controllers.EditableTextKeyboardController");*/ - +TextField { position: relative;
[royale-asjs] 08/08: Merge branch 'feature/vivid' of https://github.com/apache/royale-asjs into feature/vivid
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit bff4b5778c968e86b65e819728e70c29dd3cb866 Merge: bcbc19c 500096a Author: Carlos RoviraAuthorDate: Mon Feb 19 11:13:15 2018 +0100 Merge branch 'feature/vivid' of https://github.com/apache/royale-asjs into feature/vivid -- To stop receiving notification emails like this one, please contact carlosrov...@apache.org.
[royale-asjs] 02/08: VividBlueTheme project
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git commit 0facaa20645c5629fd5cd5ad96b396c1290cf48d Author: Carlos RoviraAuthorDate: Fri Feb 16 01:16:36 2018 +0100 VividBlueTheme project --- .../projects/VividBlueTheme/.vscode/launch.json| 21 ++ .../projects/VividBlueTheme/.vscode/settings.json | 3 + .../projects/VividBlueTheme/.vscode/tasks.json | 8 +++ frameworks/projects/VividBlueTheme/asconfig.json | 34 + frameworks/projects/VividBlueTheme/pom.xml | 66 + .../src/main/resources/TextField.css | 84 ++ .../VividBlueTheme/src/main/resources/defaults.css | 33 + .../src/main/royale/VividBlueThemeClasses.as | 33 + 8 files changed, 282 insertions(+) diff --git a/frameworks/projects/VividBlueTheme/.vscode/launch.json b/frameworks/projects/VividBlueTheme/.vscode/launch.json new file mode 100644 index 000..5dfb672 --- /dev/null +++ b/frameworks/projects/VividBlueTheme/.vscode/launch.json @@ -0,0 +1,21 @@ +{ +"version": "0.2.0", +"configurations": [ +{ +"name": "Launch Chrome against debug.html, with sourcemaps", +"type": "chrome", +"request": "launch", +"file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html", +"sourceMaps": true, +"preLaunchTask": "mvn" +}, +{ +"name": "Launch Firefox against debug.html, with sourcemaps", +"type": "firefox", +"request": "launch", +"file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html", +"sourceMaps": true, +"preLaunchTask": "mvn" +} +] +} diff --git a/frameworks/projects/VividBlueTheme/.vscode/settings.json b/frameworks/projects/VividBlueTheme/.vscode/settings.json new file mode 100644 index 000..1069e6c --- /dev/null +++ b/frameworks/projects/VividBlueTheme/.vscode/settings.json @@ -0,0 +1,3 @@ +{ +"nextgenas.sdk.framework": "/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-0.9.1" +} \ No newline at end of file diff --git a/frameworks/projects/VividBlueTheme/.vscode/tasks.json b/frameworks/projects/VividBlueTheme/.vscode/tasks.json new file mode 100644 index 000..5d6198d --- /dev/null +++ b/frameworks/projects/VividBlueTheme/.vscode/tasks.json @@ -0,0 +1,8 @@ +{ + // for the documentation about the tasks.json format + "version": "0.1.0", + "command": "mvn", + "args": ["clean", "install", "-DskipTests"], + "isShellCommand": true, + "showOutput": "always" +} \ No newline at end of file diff --git a/frameworks/projects/VividBlueTheme/asconfig.json b/frameworks/projects/VividBlueTheme/asconfig.json new file mode 100644 index 000..d2773a4 --- /dev/null +++ b/frameworks/projects/VividBlueTheme/asconfig.json @@ -0,0 +1,34 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { +"config": "royale", +"type": "lib", +"compilerOptions": { +"debug": true, +"targets": [ +"JSRoyale", +"SWF" +], +"include-classes": [ +"VividBlueThemeClasses" +], +"include-sources": [ +"src/main/royale" +], +"output": "target/VividBlueThemeClasses.swc" +} +} diff --git a/frameworks/projects/VividBlueTheme/pom.xml b/frameworks/projects/VividBlueTheme/pom.xml new file mode 100644 index 000..ab189e1 --- /dev/null +++ b/frameworks/projects/VividBlueTheme/pom.xml @@ -0,0 +1,66 @@ + + +http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;> + 4.0.0 + + +org.apache.royale.framework +projects +0.9.2-SNAPSHOT + + + VividBlueThemeClasses + 0.9.2-SNAPSHOT + swc + + Apache Royale: Framework: Libs: VividBlueThemeClasses + + +src/main/royale + + +org.apache.royale.compiler +royale-maven-plugin +
[royale-asjs] branch feature/vivid updated: add Vivid projects to projects/pom.xml
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch feature/vivid in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/vivid by this push: new 500096a add Vivid projects to projects/pom.xml 500096a is described below commit 500096a769d849bb4c1aaac4c735916a235d7f92 Author: Carlos RoviraAuthorDate: Mon Feb 19 11:12:25 2018 +0100 add Vivid projects to projects/pom.xml --- frameworks/projects/pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frameworks/projects/pom.xml b/frameworks/projects/pom.xml index c1d5cc1..55fb559 100644 --- a/frameworks/projects/pom.xml +++ b/frameworks/projects/pom.xml @@ -60,6 +60,8 @@ Text TLF RoyaleSite +Vivid +VividBlueTheme -- To stop receiving notification emails like this one, please contact carlosrov...@apache.org.