Re: SWCs directory?

2020-02-02 Thread Alex Harui
Here's the past discussion:

https://lists.apache.org/thread.html/61504c2807493ff6f4bcaa945271ca1203bc5d839d47f027d9128471%40%3Cdev.royale.apache.org%3E

I think you can test the nightly via:
npm install 
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/lastSuccessfulBuild/artifact/out/apache-royale-0.9.7-bin-js.tar.gz

HTH,
-Alex

On 2/2/20, 10:04 PM, "OmPrakash Muppirala"  wrote:

On Sun, Feb 2, 2020 at 5:21 PM Josh Tynjala 
wrote:

> royale-js 0.9.6 has always been broken (royale-js-swf is fine). As I
> recall, we've already fixed the build scripts in the repo, but we haven't
> done a new release yet.
>

Broken as in - is that why I am seeing these errors?
Does it make sense to push out a new release with those changes?

Thanks,
Om


>
> --
> Josh Tynjala
> Bowler Hat LLC 

>
>
> On Sun, Feb 2, 2020 at 10:34 AM OmPrakash Muppirala 
> wrote:
>
> > The latest npm installation shows all the framework swcs here:
> >
> >
> >
> 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> >
> > But as
> > per
> >
> 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> >
> > it should be here:
> >
> >
> 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> >
> > That is if I understand this line correctly:
> >
> >  libs/Basic.swc
> >
> > I am seeing these errors when trying to compile:
> >
> > MacBook-Pro-8:first om$ royale serve:debug
> > Compiling...
> >
> >
> 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
> > col: 0 Error: unable to open
> >
> >
> 
'/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
> >
> >
> 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> > (line: 129)
> >
> > FYI, this is the command I am using to compile:
> > 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fblob%2Fdevelop%2Fnpm%2Fcli%2Findex.js%23L95data=02%7C01%7Caharui%40adobe.com%7Cc6e996607701469ff49708d7a86eec6c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637163066717482659sdata=%2FfGeDZ%2FbAxewgKsV9t626CYnIZRSZ%2B%2FTxGMiGOn7gIs%3Dreserved=0
> >
> >
> > Also, this is how my directories look:
> >
> > MacBook-Pro-8:libs om$ ls
> >
> >
> 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> >
> > KeepsFBFromHanging.swc air player
> >
> >
> >
> > MacBook-Pro-8:libs om$ ls
> >
> >
> 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> >
> > AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
> >
> > BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
> >
> > BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
> >
> > ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
> >
> > CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
> >
> > CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
> >
> > CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
> >
> > CruxJS.swc HTML5JS.swc ReflectionJS.swc
> >
> > DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
> >
> >
> > Any idea where this mismatch is coming from?
> >
> > Thanks
> > Om
> >
>




Build failed in Jenkins: Royale_ASDoc_Example #587

2020-02-02 Thread apacheroyaleci
See 


Changes:

[aharui] rudimentary support for lineargradient

[aharui] support 'justify' in VerticalLayout

[aharui] support custom skins in Spark Containers

[aharui] refactor disabledChangeCheck to its own interface


--
[...truncated 5.11 KB...]
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 131230 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-debug\ASDoc.swf
 in 13.602 seconds
[mxmlc] The project 'ASDoc' has been successfully compiled.
[mxmlc] 30.1776898 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.wrapper:
 [copy] Copying 1 file to 

 [copy] Copied 1 empty directory to 1 empty directory under 

 [copy] Copying 2 files to 


build_example.check-resources:

build_example.copy-resources:
 [copy] Copying 1 file to 


build_example.compile-js-release:
[mxmlc] MXMLJSC
[mxmlc] 
-load-config+=
[mxmlc] -js-dynamic-access-unknown-members=true
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-closure-lib=C:\jenkins\workspace\royale-asjs/js/lib/google/closure-library
[mxmlc] +configname=royale
[mxmlc] -swf-version
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 66465 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-release\ASDoc.swf
 in 14.545 seconds
[mxmlc] Feb 03, 2020 6:06:35 AM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] INFO: 0 error(s), 0 warning(s), 97.3% typed
[mxmlc] The project 'ASDoc' has been successfully compiled and optimized.
[mxmlc] 71.7065008 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.copy-app-xml:

main:

json:
 [echo] ROYALE_COMPILER_HOME: C:\jenkins\workspace\royale-asjs/js
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(36):
 col: 12 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] return this[privateProp];
 [java]^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(39):
 col: 5 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] this[privateProp] = val;
 [java] ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\GoogleMaps\src\main\royale\org\apache\royale\maps\google\beads\GoogleMapView.as(114):
 col: 6 

Re: SWCs directory?

2020-02-02 Thread OmPrakash Muppirala
On Sun, Feb 2, 2020 at 5:21 PM Josh Tynjala 
wrote:

> royale-js 0.9.6 has always been broken (royale-js-swf is fine). As I
> recall, we've already fixed the build scripts in the repo, but we haven't
> done a new release yet.
>

Broken as in - is that why I am seeing these errors?
Does it make sense to push out a new release with those changes?

Thanks,
Om


>
> --
> Josh Tynjala
> Bowler Hat LLC 
>
>
> On Sun, Feb 2, 2020 at 10:34 AM OmPrakash Muppirala 
> wrote:
>
> > The latest npm installation shows all the framework swcs here:
> >
> >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> >
> > But as
> > per
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> >
> > it should be here:
> >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> >
> > That is if I understand this line correctly:
> >
> >  libs/Basic.swc
> >
> > I am seeing these errors when trying to compile:
> >
> > MacBook-Pro-8:first om$ royale serve:debug
> > Compiling...
> >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
> > col: 0 Error: unable to open
> >
> >
> '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
> >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> > (line: 129)
> >
> > FYI, this is the command I am using to compile:
> > https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95
> >
> >
> > Also, this is how my directories look:
> >
> > MacBook-Pro-8:libs om$ ls
> >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> >
> > KeepsFBFromHanging.swc air player
> >
> >
> >
> > MacBook-Pro-8:libs om$ ls
> >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> >
> > AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
> >
> > BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
> >
> > BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
> >
> > ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
> >
> > CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
> >
> > CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
> >
> > CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
> >
> > CruxJS.swc HTML5JS.swc ReflectionJS.swc
> >
> > DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
> >
> >
> > Any idea where this mismatch is coming from?
> >
> > Thanks
> > Om
> >
>


Build failed in Jenkins: royale-asjs_jsonly #749

2020-02-02 Thread apacheroyaleci
See 


Changes:

[aharui] rudimentary support for lineargradient

[aharui] support 'justify' in VerticalLayout

[aharui] support custom skins in Spark Containers


--
[...truncated 1.17 MB...]
 [java] var events = require('events');
 [java]  ^^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [net]:219: WARNING - name module is not defined in the 
externs.
 [java] module.exports = net;
 [java] ^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [os]:113: WARNING - name module is not defined in the 
externs.
 [java] module.exports = os;
 [java] ^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [path]:97: WARNING - name module is not defined in the 
externs.
 [java] module.exports = path;
 [java] ^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [punycode]:74: WARNING - name module is not defined in the 
externs.
 [java] module.exports = punycode;
 [java] ^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [querystring]:66: WARNING - name module is not defined in 
the externs.
 [java] module.exports = querystring;
 [java] ^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [readline]:22: WARNING - accessing name require in externs 
has no effect. Perhaps you forgot to add a var keyword?
 [java] var events = require('events');
 [java]  ^^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [readline]:23: WARNING - accessing name require in externs 
has no effect. Perhaps you forgot to add a var keyword?
 [java] var stream = require('stream');
 [java]  ^^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [readline]:84: WARNING - name module is not defined in the 
externs.
 [java] module.exports = readline;
 [java] ^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [repl]:23: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var events = require('events');
 [java]  ^^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [repl]:24: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var stream = require('stream');
 [java]  ^^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [repl]:48: WARNING - name module is not defined in the 
externs.
 [java] module.exports = repl;
 [java] ^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [stream]:23: WARNING - accessing name require in externs 
has no effect. Perhaps you forgot to add a var keyword?
 [java] var events = require('events');
 [java]  ^^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [stream]:254: WARNING - name module is not defined in the 
externs.
 [java] module.exports = stream;
 [java] ^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [string_decoder]:52: WARNING - name module is not defined 
in the externs.
 [java] module.exports = StringDecoder;
 [java] ^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [tls]:23: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var crypto = require('crypto');
 [java]  ^^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [tls]:24: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var events = require('events');
 [java]  ^^^
 [java] 
 [java] Feb 03, 2020 6:03:02 AM 

Re: SWCs directory?

2020-02-02 Thread OmPrakash Muppirala
On Sun, Feb 2, 2020 at 12:45 PM Harbs  wrote:

> Probably this:
> var command = 'mxmlc ' + path.join(process.cwd(),
> SOURCE_DIR_NAME , APP_START_FILE_NAME) + ' -debug=true -targets=JSRoyale';
>

That does not seem to work.  I am getting the same exact errors as before.


>
> > On Feb 2, 2020, at 10:44 PM, Harbs  wrote:
> >
> > Set targets to JSRoyale
> >
> > In asconfig:
> > "targets": ["JSRoyale”],
> >
> > In ant:
> > 
> >
> > Not sure where to stick that in in your node script.
> >
> >> On Feb 2, 2020, at 9:25 PM, OmPrakash Muppirala 
> wrote:
> >>
> >> Yes, that is expected.  I did npm install @apache-royale/royale-js -g
> which
> >> should get only the js stuff.
> >>
> >> Is there a way to specify to the mxmlc compiler to just consider the jas
> >> swcs?
> >>
> >> On Sun, Feb 2, 2020 at 10:59 AM Harbs  wrote:
> >>
> >>> It sounds like you only have the JS swcs and not the swf ones.
> >>>
> >>> Does that make sense?
> >>>
>  On Feb 2, 2020, at 8:34 PM, OmPrakash Muppirala  >
> >>> wrote:
> 
>  The latest npm installation shows all the framework swcs here:
> 
> 
> >>>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> 
>  But as
>  per
> >>>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> 
>  it should be here:
> 
> >>>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> 
>  That is if I understand this line correctly:
> 
>  libs/Basic.swc
> 
>  I am seeing these errors when trying to compile:
> 
>  MacBook-Pro-8:first om$ royale serve:debug
>  Compiling...
> 
> >>>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
>  col: 0 Error: unable to open
> 
> >>>
> '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
> 
> >>>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
>  (line: 129)
> 
>  FYI, this is the command I am using to compile:
> 
> https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95
> 
> 
>  Also, this is how my directories look:
> 
>  MacBook-Pro-8:libs om$ ls
> 
> >>>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> 
>  KeepsFBFromHanging.swc air player
> 
> 
> 
>  MacBook-Pro-8:libs om$ ls
> 
> >>>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> 
>  AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
> 
>  BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
> 
>  BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
> 
>  ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
> 
>  CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
> 
>  CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
> 
>  CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
> 
>  CruxJS.swc HTML5JS.swc ReflectionJS.swc
> 
>  DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
> 
> 
>  Any idea where this mismatch is coming from?
> 
>  Thanks
>  Om
> >>>
> >>>
> >
>
>


Build failed in Jenkins: Royale_ASDoc_Example #586

2020-02-02 Thread apacheroyaleci
See 


Changes:

[carlosrovira] todomvc-jewel: use itemUpdated in controller

[carlosrovira] todomvc-jewel: updates to match some little rendering diferences 
in 

[greg.dove] Swap to Collection renderer as default for Express DataGrid, 
aligning


--
[...truncated 5.14 KB...]
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 131231 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-debug\ASDoc.swf
 in 11.602 seconds
[mxmlc] The project 'ASDoc' has been successfully compiled.
[mxmlc] 26.6218112 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.wrapper:
 [copy] Copying 1 file to 

 [copy] Copied 1 empty directory to 1 empty directory under 

 [copy] Copying 2 files to 


build_example.check-resources:

build_example.copy-resources:
 [copy] Copying 1 file to 


build_example.compile-js-release:
[mxmlc] MXMLJSC
[mxmlc] 
-load-config+=
[mxmlc] -js-dynamic-access-unknown-members=true
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-closure-lib=C:\jenkins\workspace\royale-asjs/js/lib/google/closure-library
[mxmlc] +configname=royale
[mxmlc] -swf-version
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 66695 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-release\ASDoc.swf
 in 12.284 seconds
[mxmlc] Feb 03, 2020 3:14:26 AM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] INFO: 0 error(s), 0 warning(s), 97.3% typed
[mxmlc] The project 'ASDoc' has been successfully compiled and optimized.
[mxmlc] 59.6342337 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.copy-app-xml:

main:

json:
 [echo] ROYALE_COMPILER_HOME: C:\jenkins\workspace\royale-asjs/js
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(36):
 col: 12 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] return this[privateProp];
 [java]^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(39):
 col: 5 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] this[privateProp] = val;
 [java] ^
 [java] 
 [java] 

Re: SWCs directory?

2020-02-02 Thread Josh Tynjala
royale-js 0.9.6 has always been broken (royale-js-swf is fine). As I
recall, we've already fixed the build scripts in the repo, but we haven't
done a new release yet.

--
Josh Tynjala
Bowler Hat LLC 


On Sun, Feb 2, 2020 at 10:34 AM OmPrakash Muppirala 
wrote:

> The latest npm installation shows all the framework swcs here:
>
>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
>
> But as
> per
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
>
> it should be here:
>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
>
> That is if I understand this line correctly:
>
>  libs/Basic.swc
>
> I am seeing these errors when trying to compile:
>
> MacBook-Pro-8:first om$ royale serve:debug
> Compiling...
>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
> col: 0 Error: unable to open
>
> '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> (line: 129)
>
> FYI, this is the command I am using to compile:
> https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95
>
>
> Also, this is how my directories look:
>
> MacBook-Pro-8:libs om$ ls
>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
>
> KeepsFBFromHanging.swc air player
>
>
>
> MacBook-Pro-8:libs om$ ls
>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
>
> AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
>
> BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
>
> BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
>
> ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
>
> CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
>
> CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
>
> CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
>
> CruxJS.swc HTML5JS.swc ReflectionJS.swc
>
> DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
>
>
> Any idea where this mismatch is coming from?
>
> Thanks
> Om
>


Re: Quick check on Express Datagrid

2020-02-02 Thread Greg Dove
Thanks for confirming that...  I pushed the fix.

On Mon, Feb 3, 2020 at 1:26 PM Alex Harui  wrote:

> I think that's the right fix.  I think at some point the way the rules are
> combined probably changed and broke Express.
>
> -Alex
>
> On 2/2/20, 3:28 PM, "Greg Dove"  wrote:
>
> I have not really used Express, apart from an attempt to use it for a
> Crux
> example where I had some difficulty with the renderer set up for
> DataGrid,
> which (at that time) I worked around quickly with a monkey patch in the
> example instead of investigating the problem at the source.
>
> I want to get rid of the monkey patch, and fix that example.
>
> The issue appears to be that the Express Datagrid model uses ArrayList
> as
> dataProvider, but the default render factory creates renderers that
> expect
> Array as dataProvider, so this combination seems wrong. I wanted to
> check
> this because I really have had zero experience with Express and
> based
> on the css it seems like this was intended to be addressed using
> 'typeName'
> lookup for the rendererfactory but that seems not to be working.
>
> I can address the issue by doing the following in Express:
>
> 1)
> Adding the following to express-manifest.xml :
>
>  class="org.apache.royale.html.supportClasses.DataGridColumnList"
> lookupOnly="true" />
>
> 2. Changing the following in Express defaults.css :
>
> .DataGridColumnList { ...styles follow
>
> (remove '.') to:
>
>  DataGridColumnList { ...styles follow
>
>
> Those 2 small changes appear to fix the issue, but I'm not sure if it
> is
> 'correct' for Express. Is this how it is intended to be?
>
>
>


Re: Quick check on Express Datagrid

2020-02-02 Thread Alex Harui
I think that's the right fix.  I think at some point the way the rules are 
combined probably changed and broke Express.

-Alex

On 2/2/20, 3:28 PM, "Greg Dove"  wrote:

I have not really used Express, apart from an attempt to use it for a Crux
example where I had some difficulty with the renderer set up for DataGrid,
which (at that time) I worked around quickly with a monkey patch in the
example instead of investigating the problem at the source.

I want to get rid of the monkey patch, and fix that example.

The issue appears to be that the Express Datagrid model uses ArrayList as
dataProvider, but the default render factory creates renderers that expect
Array as dataProvider, so this combination seems wrong. I wanted to check
this because I really have had zero experience with Express and based
on the css it seems like this was intended to be addressed using 'typeName'
lookup for the rendererfactory but that seems not to be working.

I can address the issue by doing the following in Express:

1)
Adding the following to express-manifest.xml :



2. Changing the following in Express defaults.css :

.DataGridColumnList { ...styles follow

(remove '.') to:

 DataGridColumnList { ...styles follow


Those 2 small changes appear to fix the issue, but I'm not sure if it is
'correct' for Express. Is this how it is intended to be?




Re: Jewel TodoMVC Example

2020-02-02 Thread Carlos Rovira
Hi Harbs,

about the Chrome issue, I think I identify it as a problem when the url
does not have "hash" includes (ends in .html). In this case Chrome seems to
have that strange behavior. Can be something we need to address in our
implementation?

Thanks



El lun., 3 feb. 2020 a las 1:04, Carlos Rovira ()
escribió:

> Hi Harbs,
>
> I fixed toggles, but while it works ok in Safari and Firefox works
> perfectly fine, in Chrome I can see a rendering issue that seems a bug in
> Chrome when click back/forth browsers buttons. A grey border appears for
> the previous selected toggle. Code updates right, so I think not a Royale
> issue.
>
> Another thing I saw was the change of SharedObject for LocalStorage. Not
> sure I like that change, since you had to add two processing methods
> "getItemStore" and "setItemStorage", that needs to iterate the stored data
> parsing all json into objects and adding that to an Array. This example is
> good to show where Royale is better than other techs, and I think one is
> SharedObject that does that for you. SharedObject just saves the array, and
> behind scenes encodes the Array of TodoVO items in AMF , thanks to the
> RemoteClass metadata in TodoVO and the ClassAlias bead in main app. then
> retrieves it directly again decoding it for you, so the user does not need
> to do loops nor decode inner objects itself (imagine the each TodoVO has
> inner collections with typed subjects, all this is handled by SharedObject
> and AMF for you! :), why lose time looping through objects? that's one of
> the things why we're doing Royale and not going direct javascript, React,
> or other, isn't it??.
>
> I even announce it in social media as an example showing the use of
> SharedObject. So, if you don't have any problem with it I prefer to revert
> to SharedObject.
>
> Thanks for updating Routing :), do you plan to move to it's own
> library/swc?
>
> thanks!
>
> Carlos
>
>
>
>
>
> El dom., 2 feb. 2020 a las 23:57, Carlos Rovira ()
> escribió:
>
>> Thanks Andrew and Harbs,
>> @Harbs, I'll check it and get back to you.
>>
>> El dom., 2 feb. 2020 a las 15:49, Andrew Wetmore ()
>> escribió:
>>
>>> Tiny quibble:
>>>
>>> I have seven items on my to-do list. The indicator at the bottom left
>>> says
>>> "7 item left". That should be "items" in the plural when the count is
>>> anything but 1.
>>>
>>> a
>>>
>>> On Sat, Feb 1, 2020 at 6:34 PM Harbs  wrote:
>>>
>>> > Carlos,
>>> >
>>> > I made some improvements to Router and I changed the todo app to use
>>> the
>>> > new router features which automatically sync state with the router.
>>> >
>>> > Something is odd with Jewel ToggleButtons and state. I’m not sure what
>>> it
>>> > is, but once the buttons are clicked once, they never revert to an
>>> > unselected state.
>>> >
>>> > Can you look at the feature/router branch and see if you can figure out
>>> > what’s wrong?
>>> >
>>> > > On Feb 1, 2020, at 3:34 AM, Carlos Rovira 
>>> > wrote:
>>> > >
>>> > > Thanks for the feedback Andrew, much appreciated! :)
>>> > >
>>> > > just uploaded a new version now, I finish all, even the check box
>>> style
>>> > to match todomvc. This is the new URL:
>>> > >
>>> > > https://royale.apache.org/todomvc-jewel/ <
>>> > https://royale.apache.org/todomvc-jewel/>
>>> > >
>>> > > And the changes:
>>> > >
>>> > > - Jewel CheckBox look change to mimic todomvc style
>>> > > - toggleAll change style if all items is marked/unmaked
>>> > > - Item edit mode now exits with "click outside"
>>> > > - Item edit mode now removes the item if user removes all text
>>> > > - Finish little style things through all example to match todomvc as
>>> > much as possible
>>> > >
>>> > > About the max number of chars, it seems that is not on the original
>>> > TodoMVC, so I didn't implement it, since I think we need to just mimic
>>> what
>>> > they have.
>>> > >
>>> > > If you (or others) find other issues please let me know, so we can
>>> make
>>> > it as accurate as possible to todomvc.
>>> > >
>>> > > I consider it complete now, unless new bugs arise :)
>>> > >
>>> > > Thanks!
>>> > >
>>> > > Carlos
>>> > >
>>> > >
>>> > >
>>> > >
>>> > >
>>> > > El vie., 31 ene. 2020 a las 16:00, Andrew Wetmore (<
>>> cottag...@gmail.com
>>> > >) escribió:
>>> > > This is very good!
>>> > >
>>> > > There seems to be no maximum limit to the number of characters in a
>>> > note; certainly there is no character count or anything to let me know
>>> if I
>>> > am coming close to a limit.
>>> > >
>>> > > A more serious problem occurs when you create an entry, then double
>>> > click to edit it, and remove all the contents from the entry. The app
>>> seems
>>> > to get into a funny state. I think the best behavior would be to
>>> delete the
>>> > entry if it is saved with no contents.
>>> > >
>>> > > a
>>> > >
>>> > > On Fri, Jan 31, 2020 at 7:13 AM Carlos Rovira <
>>> carlosrov...@apache.org
>>> > > wrote:
>>> > > Thanks Om and Ramazan! :)
>>> > >

Re: Jewel TodoMVC Example

2020-02-02 Thread Carlos Rovira
Hi Harbs,

I fixed toggles, but while it works ok in Safari and Firefox works
perfectly fine, in Chrome I can see a rendering issue that seems a bug in
Chrome when click back/forth browsers buttons. A grey border appears for
the previous selected toggle. Code updates right, so I think not a Royale
issue.

Another thing I saw was the change of SharedObject for LocalStorage. Not
sure I like that change, since you had to add two processing methods
"getItemStore" and "setItemStorage", that needs to iterate the stored data
parsing all json into objects and adding that to an Array. This example is
good to show where Royale is better than other techs, and I think one is
SharedObject that does that for you. SharedObject just saves the array, and
behind scenes encodes the Array of TodoVO items in AMF , thanks to the
RemoteClass metadata in TodoVO and the ClassAlias bead in main app. then
retrieves it directly again decoding it for you, so the user does not need
to do loops nor decode inner objects itself (imagine the each TodoVO has
inner collections with typed subjects, all this is handled by SharedObject
and AMF for you! :), why lose time looping through objects? that's one of
the things why we're doing Royale and not going direct javascript, React,
or other, isn't it??.

I even announce it in social media as an example showing the use of
SharedObject. So, if you don't have any problem with it I prefer to revert
to SharedObject.

Thanks for updating Routing :), do you plan to move to it's own library/swc?

thanks!

Carlos





El dom., 2 feb. 2020 a las 23:57, Carlos Rovira ()
escribió:

> Thanks Andrew and Harbs,
> @Harbs, I'll check it and get back to you.
>
> El dom., 2 feb. 2020 a las 15:49, Andrew Wetmore ()
> escribió:
>
>> Tiny quibble:
>>
>> I have seven items on my to-do list. The indicator at the bottom left says
>> "7 item left". That should be "items" in the plural when the count is
>> anything but 1.
>>
>> a
>>
>> On Sat, Feb 1, 2020 at 6:34 PM Harbs  wrote:
>>
>> > Carlos,
>> >
>> > I made some improvements to Router and I changed the todo app to use the
>> > new router features which automatically sync state with the router.
>> >
>> > Something is odd with Jewel ToggleButtons and state. I’m not sure what
>> it
>> > is, but once the buttons are clicked once, they never revert to an
>> > unselected state.
>> >
>> > Can you look at the feature/router branch and see if you can figure out
>> > what’s wrong?
>> >
>> > > On Feb 1, 2020, at 3:34 AM, Carlos Rovira 
>> > wrote:
>> > >
>> > > Thanks for the feedback Andrew, much appreciated! :)
>> > >
>> > > just uploaded a new version now, I finish all, even the check box
>> style
>> > to match todomvc. This is the new URL:
>> > >
>> > > https://royale.apache.org/todomvc-jewel/ <
>> > https://royale.apache.org/todomvc-jewel/>
>> > >
>> > > And the changes:
>> > >
>> > > - Jewel CheckBox look change to mimic todomvc style
>> > > - toggleAll change style if all items is marked/unmaked
>> > > - Item edit mode now exits with "click outside"
>> > > - Item edit mode now removes the item if user removes all text
>> > > - Finish little style things through all example to match todomvc as
>> > much as possible
>> > >
>> > > About the max number of chars, it seems that is not on the original
>> > TodoMVC, so I didn't implement it, since I think we need to just mimic
>> what
>> > they have.
>> > >
>> > > If you (or others) find other issues please let me know, so we can
>> make
>> > it as accurate as possible to todomvc.
>> > >
>> > > I consider it complete now, unless new bugs arise :)
>> > >
>> > > Thanks!
>> > >
>> > > Carlos
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > El vie., 31 ene. 2020 a las 16:00, Andrew Wetmore (<
>> cottag...@gmail.com
>> > >) escribió:
>> > > This is very good!
>> > >
>> > > There seems to be no maximum limit to the number of characters in a
>> > note; certainly there is no character count or anything to let me know
>> if I
>> > am coming close to a limit.
>> > >
>> > > A more serious problem occurs when you create an entry, then double
>> > click to edit it, and remove all the contents from the entry. The app
>> seems
>> > to get into a funny state. I think the best behavior would be to delete
>> the
>> > entry if it is saved with no contents.
>> > >
>> > > a
>> > >
>> > > On Fri, Jan 31, 2020 at 7:13 AM Carlos Rovira <
>> carlosrov...@apache.org
>> > > wrote:
>> > > Thanks Om and Ramazan! :)
>> > >
>> > > The source code was posted in the initial comment on this thread ;)
>> > >
>> > > Best
>> > >
>> > > Carlos
>> > >
>> > >
>> > >
>> > > El vie., 31 ene. 2020 a las 1:34, Ramazan Ergüder Bekrek (<
>> > e.bek...@yandex.com >) escribió:
>> > > Carlos can you point out where is the source code for this?
>> > >
>> > > I remember trying to learn React the first time just to do this
>> > application and
>> > > it was such a pain to learn the framework. Now 

Re: Quick check on Express Datagrid

2020-02-02 Thread Carlos Rovira
Hi Greg,

I think that Basic relies on Array instead of a collection class, and maybe
other way to solve it per instance should be to add the "
DataItemRendererFactoryForCollectionView" to the beads array via MXML. But
maybe since DataGrid composes List, it could not be possible, so maybe this
fall back to the options you named, and probably people will want to solve
this at app level so all express DGs will use ArrayList instead of Array.

Anyway this is very interesting to see how flexible is the bead subsystem
to switch between Array, ArrayList or ArrayCollection for lots of
components (be or not nested in others).

Hope Alex or others give its opinion

Thanks




El lun., 3 feb. 2020 a las 0:28, Greg Dove () escribió:

> I have not really used Express, apart from an attempt to use it for a Crux
> example where I had some difficulty with the renderer set up for DataGrid,
> which (at that time) I worked around quickly with a monkey patch in the
> example instead of investigating the problem at the source.
>
> I want to get rid of the monkey patch, and fix that example.
>
> The issue appears to be that the Express Datagrid model uses ArrayList as
> dataProvider, but the default render factory creates renderers that expect
> Array as dataProvider, so this combination seems wrong. I wanted to check
> this because I really have had zero experience with Express and based
> on the css it seems like this was intended to be addressed using 'typeName'
> lookup for the rendererfactory but that seems not to be working.
>
> I can address the issue by doing the following in Express:
>
> 1)
> Adding the following to express-manifest.xml :
>
>  class="org.apache.royale.html.supportClasses.DataGridColumnList"
> lookupOnly="true" />
>
> 2. Changing the following in Express defaults.css :
>
> .DataGridColumnList { ...styles follow
>
> (remove '.') to:
>
>  DataGridColumnList { ...styles follow
>
>
> Those 2 small changes appear to fix the issue, but I'm not sure if it is
> 'correct' for Express. Is this how it is intended to be?
>


-- 
Carlos Rovira
http://about.me/carlosrovira


Quick check on Express Datagrid

2020-02-02 Thread Greg Dove
I have not really used Express, apart from an attempt to use it for a Crux
example where I had some difficulty with the renderer set up for DataGrid,
which (at that time) I worked around quickly with a monkey patch in the
example instead of investigating the problem at the source.

I want to get rid of the monkey patch, and fix that example.

The issue appears to be that the Express Datagrid model uses ArrayList as
dataProvider, but the default render factory creates renderers that expect
Array as dataProvider, so this combination seems wrong. I wanted to check
this because I really have had zero experience with Express and based
on the css it seems like this was intended to be addressed using 'typeName'
lookup for the rendererfactory but that seems not to be working.

I can address the issue by doing the following in Express:

1)
Adding the following to express-manifest.xml :



2. Changing the following in Express defaults.css :

.DataGridColumnList { ...styles follow

(remove '.') to:

 DataGridColumnList { ...styles follow


Those 2 small changes appear to fix the issue, but I'm not sure if it is
'correct' for Express. Is this how it is intended to be?


Re: ClassSelectorList

2020-02-02 Thread Carlos Rovira
Hi Harbs,

no. when we initially made this feature it was for element, but if you
check most of the Jewel controls and containers redefine positioner since
to have more html structure to make it possible to style them
appropriately. So usually you want to use style positioner and use CSS to
target inner elements (event "element" itself) through cascading

Check Jewel for plenty of example that combine createElement + positioner
in *.as classes plus corresponding .sass file.

El dom., 2 feb. 2020 a las 22:12, Harbs () escribió:

> Why does ClassSelectorList use positioner instead of element? I would
> think that the class names should be applied to the element rather than the
> positioner.



-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Jewel TodoMVC Example

2020-02-02 Thread Carlos Rovira
Thanks Andrew and Harbs,
@Harbs, I'll check it and get back to you.

El dom., 2 feb. 2020 a las 15:49, Andrew Wetmore ()
escribió:

> Tiny quibble:
>
> I have seven items on my to-do list. The indicator at the bottom left says
> "7 item left". That should be "items" in the plural when the count is
> anything but 1.
>
> a
>
> On Sat, Feb 1, 2020 at 6:34 PM Harbs  wrote:
>
> > Carlos,
> >
> > I made some improvements to Router and I changed the todo app to use the
> > new router features which automatically sync state with the router.
> >
> > Something is odd with Jewel ToggleButtons and state. I’m not sure what it
> > is, but once the buttons are clicked once, they never revert to an
> > unselected state.
> >
> > Can you look at the feature/router branch and see if you can figure out
> > what’s wrong?
> >
> > > On Feb 1, 2020, at 3:34 AM, Carlos Rovira 
> > wrote:
> > >
> > > Thanks for the feedback Andrew, much appreciated! :)
> > >
> > > just uploaded a new version now, I finish all, even the check box style
> > to match todomvc. This is the new URL:
> > >
> > > https://royale.apache.org/todomvc-jewel/ <
> > https://royale.apache.org/todomvc-jewel/>
> > >
> > > And the changes:
> > >
> > > - Jewel CheckBox look change to mimic todomvc style
> > > - toggleAll change style if all items is marked/unmaked
> > > - Item edit mode now exits with "click outside"
> > > - Item edit mode now removes the item if user removes all text
> > > - Finish little style things through all example to match todomvc as
> > much as possible
> > >
> > > About the max number of chars, it seems that is not on the original
> > TodoMVC, so I didn't implement it, since I think we need to just mimic
> what
> > they have.
> > >
> > > If you (or others) find other issues please let me know, so we can make
> > it as accurate as possible to todomvc.
> > >
> > > I consider it complete now, unless new bugs arise :)
> > >
> > > Thanks!
> > >
> > > Carlos
> > >
> > >
> > >
> > >
> > >
> > > El vie., 31 ene. 2020 a las 16:00, Andrew Wetmore (<
> cottag...@gmail.com
> > >) escribió:
> > > This is very good!
> > >
> > > There seems to be no maximum limit to the number of characters in a
> > note; certainly there is no character count or anything to let me know
> if I
> > am coming close to a limit.
> > >
> > > A more serious problem occurs when you create an entry, then double
> > click to edit it, and remove all the contents from the entry. The app
> seems
> > to get into a funny state. I think the best behavior would be to delete
> the
> > entry if it is saved with no contents.
> > >
> > > a
> > >
> > > On Fri, Jan 31, 2020 at 7:13 AM Carlos Rovira  > > wrote:
> > > Thanks Om and Ramazan! :)
> > >
> > > The source code was posted in the initial comment on this thread ;)
> > >
> > > Best
> > >
> > > Carlos
> > >
> > >
> > >
> > > El vie., 31 ene. 2020 a las 1:34, Ramazan Ergüder Bekrek (<
> > e.bek...@yandex.com >) escribió:
> > > Carlos can you point out where is the source code for this?
> > >
> > > I remember trying to learn React the first time just to do this
> > application and
> > > it was such a pain to learn the framework. Now that I can code it with
> > Actionscript
> > > I'm getting excited.
> > >
> > > Thank you for your contribution
> > >
> > >
> > >
> > > 31.01.2020, 00:58, "OmPrakash Muppirala"  > omup...@gmail.com>>:
> > > Carlos,
> > >
> > > This is simply amazing.  Great job on porting the standard TodoMVC app
> > to Royale!
> > >
> > > Om
> > >
> > > On Thu, Jan 30, 2020 at 2:27 PM Carlos Rovira  > > wrote:
> > > Hi All,
> > >
> > > just upload a first version of TodoMVC to the website. It implements
> all
> > functionality, with Routing and Local Storage included.
> > > Is done with Jewel UI Set showing how you can customize look and feel
> of
> > included components (Button, Toggles, List, TextInput, BarRow...).
> > > Still I need to customize the main checkboxes to match the real example
> > to finish it completely ( I still didn't have time). Hope to do soon.
> > >
> > > I'll plan to do another version with Crux, so people could see the
> > diferences between both, but I worked hard to make this very MVC,
> ensuring
> > separation is done correctly, using, events, models, views and
> controllers.
> > Let me know what you think or if you find any bug or some issue:
> > >
> > > https://royale.apache.org/todomvc 
> > >
> > > I expect to send to the original website (http://todomvc.com <
> > http://todomvc.com/>) when is finished completely and see if they can
> > aggregate.
> > >
> > > Source code is here for you to browse:
> > >
> > >
> >
> https://github.com/apache/royale-asjs/tree/develop/examples/jewel/todomvc
> > <
> https://github.com/apache/royale-asjs/tree/develop/examples/jewel/todomvc
> > >
> > >
> > > I'll write about some issues I found tomorrow while writing 

Re: [royale-asjs] branch develop updated: License header for .md files

2020-02-02 Thread Carlos Rovira
Hi Harbs,
maven was failing, and I checked that we have rest of readme.txt files with
licenses. I was thinking about remove readmes from rat, but finally get how
to add it with out make it visible in GitHub

El dom., 2 feb. 2020 a las 11:04, Harbs () escribió:

> I don’t think readme files need headers
>
> > On Feb 2, 2020, at 11:28 AM, carlosrov...@apache.org wrote:
> >
> > 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 55a5494  License header for .md files
> > 55a5494 is described below
> >
> > commit 55a549464338cfff39ef8922cd4e7bb85ea2c26d
> > Author: Carlos Rovira 
> > AuthorDate: Sun Feb 2 10:27:58 2020 +0100
> >
> >License header for .md files
> > ---
> > examples/jewel/todomvc/readme.md | 37
> +++--
> > 1 file changed, 19 insertions(+), 18 deletions(-)
> >
> > diff --git a/examples/jewel/todomvc/readme.md
> b/examples/jewel/todomvc/readme.md
> > index ba67cc6..73c6ed4 100644
> > --- a/examples/jewel/todomvc/readme.md
> > +++ b/examples/jewel/todomvc/readme.md
> > @@ -1,21 +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.
> > -//
> >
> -
> > +
> > +
> > # Apache Royale TodoMVC Example
> >
> >> Apache Royale™ is a productive, open-source frontend application
> technology that lets you code in MXML & AS3 and output to different
> formats, included Javascript and SWF.
> >
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira


ClassSelectorList

2020-02-02 Thread Harbs
Why does ClassSelectorList use positioner instead of element? I would think 
that the class names should be applied to the element rather than the 
positioner.

Build failed in Jenkins: Royale_ASDoc_Example #585

2020-02-02 Thread apacheroyaleci
See 


Changes:

[carlosrovira] jewel-iinputbutton: refactor CheckButtonSize to InputButtonSize 
to


--
[...truncated 5.19 KB...]
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 131231 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-debug\ASDoc.swf
 in 7.707 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] The project 'ASDoc' has been successfully compiled.
[mxmlc] 19.3781394 seconds

build_example.check-air:

build_example.wrapper:
 [copy] Copying 1 file to 

 [copy] Copied 1 empty directory to 1 empty directory under 

 [copy] Copying 2 files to 


build_example.check-resources:

build_example.copy-resources:
 [copy] Copying 1 file to 


build_example.compile-js-release:
[mxmlc] MXMLJSC
[mxmlc] 
-load-config+=
[mxmlc] -js-dynamic-access-unknown-members=true
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-closure-lib=C:\jenkins\workspace\royale-asjs/js/lib/google/closure-library
[mxmlc] +configname=royale
[mxmlc] -swf-version
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 66695 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-release\ASDoc.swf
 in 12.207 seconds
[mxmlc] Feb 02, 2020 8:46:50 PM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] INFO: 0 error(s), 0 warning(s), 97.3% typed
[mxmlc] The project 'ASDoc' has been successfully compiled and optimized.
[mxmlc] 53.8321068 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.copy-app-xml:

main:

json:
 [echo] ROYALE_COMPILER_HOME: C:\jenkins\workspace\royale-asjs/js
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(36):
 col: 12 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] return this[privateProp];
 [java]^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(39):
 col: 5 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] this[privateProp] = val;
 [java] ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\GoogleMaps\src\main\royale\org\apache\royale\maps\google\beads\GoogleMapView.as(114):
 col: 6 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java]  

Re: SWCs directory?

2020-02-02 Thread Harbs
Probably this:
var command = 'mxmlc ' + path.join(process.cwd(), 
SOURCE_DIR_NAME , APP_START_FILE_NAME) + ' -debug=true -targets=JSRoyale';

> On Feb 2, 2020, at 10:44 PM, Harbs  wrote:
> 
> Set targets to JSRoyale
> 
> In asconfig:
> "targets": ["JSRoyale”],
> 
> In ant:
> 
> 
> Not sure where to stick that in in your node script.
> 
>> On Feb 2, 2020, at 9:25 PM, OmPrakash Muppirala  wrote:
>> 
>> Yes, that is expected.  I did npm install @apache-royale/royale-js -g which
>> should get only the js stuff.
>> 
>> Is there a way to specify to the mxmlc compiler to just consider the jas
>> swcs?
>> 
>> On Sun, Feb 2, 2020 at 10:59 AM Harbs  wrote:
>> 
>>> It sounds like you only have the JS swcs and not the swf ones.
>>> 
>>> Does that make sense?
>>> 
 On Feb 2, 2020, at 8:34 PM, OmPrakash Muppirala 
>>> wrote:
 
 The latest npm installation shows all the framework swcs here:
 
 
>>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
 
 But as
 per
>>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
 
 it should be here:
 
>>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
 
 That is if I understand this line correctly:
 
 libs/Basic.swc
 
 I am seeing these errors when trying to compile:
 
 MacBook-Pro-8:first om$ royale serve:debug
 Compiling...
 
>>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
 col: 0 Error: unable to open
 
>>> '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
 
>>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
 (line: 129)
 
 FYI, this is the command I am using to compile:
 https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95
 
 
 Also, this is how my directories look:
 
 MacBook-Pro-8:libs om$ ls
 
>>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
 
 KeepsFBFromHanging.swc air player
 
 
 
 MacBook-Pro-8:libs om$ ls
 
>>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
 
 AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
 
 BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
 
 BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
 
 ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
 
 CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
 
 CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
 
 CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
 
 CruxJS.swc HTML5JS.swc ReflectionJS.swc
 
 DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
 
 
 Any idea where this mismatch is coming from?
 
 Thanks
 Om
>>> 
>>> 
> 



Re: SWCs directory?

2020-02-02 Thread Harbs
Set targets to JSRoyale

In asconfig:
"targets": ["JSRoyale”],

In ant:


Not sure where to stick that in in your node script.

> On Feb 2, 2020, at 9:25 PM, OmPrakash Muppirala  wrote:
> 
> Yes, that is expected.  I did npm install @apache-royale/royale-js -g which
> should get only the js stuff.
> 
> Is there a way to specify to the mxmlc compiler to just consider the jas
> swcs?
> 
> On Sun, Feb 2, 2020 at 10:59 AM Harbs  wrote:
> 
>> It sounds like you only have the JS swcs and not the swf ones.
>> 
>> Does that make sense?
>> 
>>> On Feb 2, 2020, at 8:34 PM, OmPrakash Muppirala 
>> wrote:
>>> 
>>> The latest npm installation shows all the framework swcs here:
>>> 
>>> 
>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
>>> 
>>> But as
>>> per
>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
>>> 
>>> it should be here:
>>> 
>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
>>> 
>>> That is if I understand this line correctly:
>>> 
>>> libs/Basic.swc
>>> 
>>> I am seeing these errors when trying to compile:
>>> 
>>> MacBook-Pro-8:first om$ royale serve:debug
>>> Compiling...
>>> 
>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
>>> col: 0 Error: unable to open
>>> 
>> '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
>>> 
>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
>>> (line: 129)
>>> 
>>> FYI, this is the command I am using to compile:
>>> https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95
>>> 
>>> 
>>> Also, this is how my directories look:
>>> 
>>> MacBook-Pro-8:libs om$ ls
>>> 
>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
>>> 
>>> KeepsFBFromHanging.swc air player
>>> 
>>> 
>>> 
>>> MacBook-Pro-8:libs om$ ls
>>> 
>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
>>> 
>>> AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
>>> 
>>> BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
>>> 
>>> BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
>>> 
>>> ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
>>> 
>>> CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
>>> 
>>> CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
>>> 
>>> CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
>>> 
>>> CruxJS.swc HTML5JS.swc ReflectionJS.swc
>>> 
>>> DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
>>> 
>>> 
>>> Any idea where this mismatch is coming from?
>>> 
>>> Thanks
>>> Om
>> 
>> 



Re: SWCs directory?

2020-02-02 Thread OmPrakash Muppirala
Yes, that is expected.  I did npm install @apache-royale/royale-js -g which
should get only the js stuff.

Is there a way to specify to the mxmlc compiler to just consider the jas
swcs?

On Sun, Feb 2, 2020 at 10:59 AM Harbs  wrote:

> It sounds like you only have the JS swcs and not the swf ones.
>
> Does that make sense?
>
> > On Feb 2, 2020, at 8:34 PM, OmPrakash Muppirala 
> wrote:
> >
> > The latest npm installation shows all the framework swcs here:
> >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> >
> > But as
> > per
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> >
> > it should be here:
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> >
> > That is if I understand this line correctly:
> >
> > libs/Basic.swc
> >
> > I am seeing these errors when trying to compile:
> >
> > MacBook-Pro-8:first om$ royale serve:debug
> > Compiling...
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
> > col: 0 Error: unable to open
> >
> '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> > (line: 129)
> >
> > FYI, this is the command I am using to compile:
> > https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95
> >
> >
> > Also, this is how my directories look:
> >
> > MacBook-Pro-8:libs om$ ls
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> >
> > KeepsFBFromHanging.swc air player
> >
> >
> >
> > MacBook-Pro-8:libs om$ ls
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> >
> > AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
> >
> > BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
> >
> > BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
> >
> > ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
> >
> > CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
> >
> > CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
> >
> > CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
> >
> > CruxJS.swc HTML5JS.swc ReflectionJS.swc
> >
> > DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
> >
> >
> > Any idea where this mismatch is coming from?
> >
> > Thanks
> > Om
>
>


Re: SWCs directory?

2020-02-02 Thread Harbs
It sounds like you only have the JS swcs and not the swf ones.

Does that make sense?

> On Feb 2, 2020, at 8:34 PM, OmPrakash Muppirala  wrote:
> 
> The latest npm installation shows all the framework swcs here:
> 
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> 
> But as
> per 
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> 
> it should be here:
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> 
> That is if I understand this line correctly:
> 
> libs/Basic.swc
> 
> I am seeing these errors when trying to compile:
> 
> MacBook-Pro-8:first om$ royale serve:debug
> Compiling...
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
> col: 0 Error: unable to open
> '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> (line: 129)
> 
> FYI, this is the command I am using to compile:
> https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95
> 
> 
> Also, this is how my directories look:
> 
> MacBook-Pro-8:libs om$ ls
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> 
> KeepsFBFromHanging.swc air player
> 
> 
> 
> MacBook-Pro-8:libs om$ ls
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> 
> AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
> 
> BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
> 
> BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
> 
> ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
> 
> CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
> 
> CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
> 
> CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
> 
> CruxJS.swc HTML5JS.swc ReflectionJS.swc
> 
> DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
> 
> 
> Any idea where this mismatch is coming from?
> 
> Thanks
> Om



SWCs directory?

2020-02-02 Thread OmPrakash Muppirala
The latest npm installation shows all the framework swcs here:

/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs

But as
per 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml

it should be here:
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs

That is if I understand this line correctly:

 libs/Basic.swc

I am seeing these errors when trying to compile:

MacBook-Pro-8:first om$ royale serve:debug
Compiling...
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
col: 0 Error: unable to open
'/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
(line: 129)

FYI, this is the command I am using to compile:
https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95


Also, this is how my directories look:

MacBook-Pro-8:libs om$ ls
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs

KeepsFBFromHanging.swc air player



MacBook-Pro-8:libs om$ ls
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs

AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc

BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc

BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc

ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc

CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc

CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc

CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc

CruxJS.swc HTML5JS.swc ReflectionJS.swc

DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc


Any idea where this mismatch is coming from?

Thanks
Om


Build failed in Jenkins: Royale_ASDoc_Example #584

2020-02-02 Thread apacheroyaleci
See 


Changes:

[carlosrovira] jewel-checkbox: move the size of the check part to an optional


--
[...truncated 5.24 KB...]
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 131229 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-debug\ASDoc.swf
 in 9.984 seconds
[mxmlc] The project 'ASDoc' has been successfully compiled.
[mxmlc] 25.3306769 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.wrapper:
 [copy] Copying 1 file to 

 [copy] Copied 1 empty directory to 1 empty directory under 

 [copy] Copying 2 files to 


build_example.check-resources:

build_example.copy-resources:
 [copy] Copying 1 file to 


build_example.compile-js-release:
[mxmlc] MXMLJSC
[mxmlc] 
-load-config+=
[mxmlc] -js-dynamic-access-unknown-members=true
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-closure-lib=C:\jenkins\workspace\royale-asjs/js/lib/google/closure-library
[mxmlc] +configname=royale
[mxmlc] -swf-version
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 66695 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-release\ASDoc.swf
 in 7.430 seconds
[mxmlc] Feb 02, 2020 5:07:02 PM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] INFO: 0 error(s), 0 warning(s), 97.3% typed
[mxmlc] The project 'ASDoc' has been successfully compiled and optimized.
[mxmlc] 37.1563355 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.copy-app-xml:

main:

json:
 [echo] ROYALE_COMPILER_HOME: C:\jenkins\workspace\royale-asjs/js
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(36):
 col: 12 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] return this[privateProp];
 [java]^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(39):
 col: 5 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] this[privateProp] = val;
 [java] ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\GoogleMaps\src\main\royale\org\apache\royale\maps\google\beads\GoogleMapView.as(114):
 col: 6 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java]

Re: Jewel TodoMVC Example

2020-02-02 Thread Andrew Wetmore
Tiny quibble:

I have seven items on my to-do list. The indicator at the bottom left says
"7 item left". That should be "items" in the plural when the count is
anything but 1.

a

On Sat, Feb 1, 2020 at 6:34 PM Harbs  wrote:

> Carlos,
>
> I made some improvements to Router and I changed the todo app to use the
> new router features which automatically sync state with the router.
>
> Something is odd with Jewel ToggleButtons and state. I’m not sure what it
> is, but once the buttons are clicked once, they never revert to an
> unselected state.
>
> Can you look at the feature/router branch and see if you can figure out
> what’s wrong?
>
> > On Feb 1, 2020, at 3:34 AM, Carlos Rovira 
> wrote:
> >
> > Thanks for the feedback Andrew, much appreciated! :)
> >
> > just uploaded a new version now, I finish all, even the check box style
> to match todomvc. This is the new URL:
> >
> > https://royale.apache.org/todomvc-jewel/ <
> https://royale.apache.org/todomvc-jewel/>
> >
> > And the changes:
> >
> > - Jewel CheckBox look change to mimic todomvc style
> > - toggleAll change style if all items is marked/unmaked
> > - Item edit mode now exits with "click outside"
> > - Item edit mode now removes the item if user removes all text
> > - Finish little style things through all example to match todomvc as
> much as possible
> >
> > About the max number of chars, it seems that is not on the original
> TodoMVC, so I didn't implement it, since I think we need to just mimic what
> they have.
> >
> > If you (or others) find other issues please let me know, so we can make
> it as accurate as possible to todomvc.
> >
> > I consider it complete now, unless new bugs arise :)
> >
> > Thanks!
> >
> > Carlos
> >
> >
> >
> >
> >
> > El vie., 31 ene. 2020 a las 16:00, Andrew Wetmore ( >) escribió:
> > This is very good!
> >
> > There seems to be no maximum limit to the number of characters in a
> note; certainly there is no character count or anything to let me know if I
> am coming close to a limit.
> >
> > A more serious problem occurs when you create an entry, then double
> click to edit it, and remove all the contents from the entry. The app seems
> to get into a funny state. I think the best behavior would be to delete the
> entry if it is saved with no contents.
> >
> > a
> >
> > On Fri, Jan 31, 2020 at 7:13 AM Carlos Rovira  > wrote:
> > Thanks Om and Ramazan! :)
> >
> > The source code was posted in the initial comment on this thread ;)
> >
> > Best
> >
> > Carlos
> >
> >
> >
> > El vie., 31 ene. 2020 a las 1:34, Ramazan Ergüder Bekrek (<
> e.bek...@yandex.com >) escribió:
> > Carlos can you point out where is the source code for this?
> >
> > I remember trying to learn React the first time just to do this
> application and
> > it was such a pain to learn the framework. Now that I can code it with
> Actionscript
> > I'm getting excited.
> >
> > Thank you for your contribution
> >
> >
> >
> > 31.01.2020, 00:58, "OmPrakash Muppirala"  omup...@gmail.com>>:
> > Carlos,
> >
> > This is simply amazing.  Great job on porting the standard TodoMVC app
> to Royale!
> >
> > Om
> >
> > On Thu, Jan 30, 2020 at 2:27 PM Carlos Rovira  > wrote:
> > Hi All,
> >
> > just upload a first version of TodoMVC to the website. It implements all
> functionality, with Routing and Local Storage included.
> > Is done with Jewel UI Set showing how you can customize look and feel of
> included components (Button, Toggles, List, TextInput, BarRow...).
> > Still I need to customize the main checkboxes to match the real example
> to finish it completely ( I still didn't have time). Hope to do soon.
> >
> > I'll plan to do another version with Crux, so people could see the
> diferences between both, but I worked hard to make this very MVC, ensuring
> separation is done correctly, using, events, models, views and controllers.
> Let me know what you think or if you find any bug or some issue:
> >
> > https://royale.apache.org/todomvc 
> >
> > I expect to send to the original website (http://todomvc.com <
> http://todomvc.com/>) when is finished completely and see if they can
> aggregate.
> >
> > Source code is here for you to browse:
> >
> >
> https://github.com/apache/royale-asjs/tree/develop/examples/jewel/todomvc
>  >
> >
> > I'll write about some issues I found tomorrow while writing this, in the
> other hand I felt this experiment was a pleasure to do since Royale seems
> very robust today as a technology, and we can call it 1.0. Things like
> Routing, LocalStorage, Components are mostly all there to use.
> >
> > This was my first experiment customizing visuals in Jewel and I think it
> was very quick to do it.
> >
> > I tried to make all the example well organized and commented, and expect
> to write some docs about it. As 

Build failed in Jenkins: Royale_ASDoc_Example #583

2020-02-02 Thread apacheroyaleci
See 


Changes:


--
[...truncated 6.37 KB...]
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 131231 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-debug\ASDoc.swf
 in 8.991 seconds
[mxmlc] The project 'ASDoc' has been successfully compiled.
[mxmlc] 26.364222 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.wrapper:
 [copy] Copying 1 file to 

 [copy] Copied 1 empty directory to 1 empty directory under 

 [copy] Copying 2 files to 


build_example.check-resources:

build_example.copy-resources:
 [copy] Copying 1 file to 


build_example.compile-js-release:
[mxmlc] MXMLJSC
[mxmlc] 
-load-config+=
[mxmlc] -js-dynamic-access-unknown-members=true
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-closure-lib=C:\jenkins\workspace\royale-asjs/js/lib/google/closure-library
[mxmlc] +configname=royale
[mxmlc] -swf-version
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 66469 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-release\ASDoc.swf
 in 10.158 seconds
[mxmlc] Feb 02, 2020 2:11:32 PM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] INFO: 0 error(s), 0 warning(s), 97.3% typed
[mxmlc] The project 'ASDoc' has been successfully compiled and optimized.
[mxmlc] 38.0330563 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.copy-app-xml:

main:

json:
 [echo] ROYALE_COMPILER_HOME: C:\jenkins\workspace\royale-asjs/js
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(36):
 col: 12 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] return this[privateProp];
 [java]^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(39):
 col: 5 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] this[privateProp] = val;
 [java] ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\GoogleMaps\src\main\royale\org\apache\royale\maps\google\beads\GoogleMapView.as(114):
 col: 6 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] (this['mapView'] as 
GoogleMapView).finishInitialization();
 [java]

Build failed in Jenkins: Royale_ASDoc_Example #582

2020-02-02 Thread apacheroyaleci
See 


Changes:

[yishayjobs] package declaration was accidentally omitted

[carlosrovira] todomvc-jewel: add missing license to readme.md

[noreply] Rename readme.md to readme.txt

[carlosrovira] Revert "Rename readme.md to readme.txt"

[noreply] License header for .md files


--
[...truncated 5.12 KB...]
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 131232 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-debug\ASDoc.swf
 in 10.710 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] The project 'ASDoc' has been successfully compiled.
[mxmlc] 24.5830022 seconds

build_example.check-air:

build_example.wrapper:
 [copy] Copying 1 file to 

 [copy] Copied 1 empty directory to 1 empty directory under 

 [copy] Copying 2 files to 


build_example.check-resources:

build_example.copy-resources:
 [copy] Copying 1 file to 


build_example.compile-js-release:
[mxmlc] MXMLJSC
[mxmlc] 
-load-config+=
[mxmlc] -js-dynamic-access-unknown-members=true
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-closure-lib=C:\jenkins\workspace\royale-asjs/js/lib/google/closure-library
[mxmlc] +configname=royale
[mxmlc] -swf-version
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 66505 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-release\ASDoc.swf
 in 8.977 seconds
[mxmlc] Feb 02, 2020 11:10:44 AM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] INFO: 0 error(s), 0 warning(s), 97.3% typed
[mxmlc] The project 'ASDoc' has been successfully compiled and optimized.
[mxmlc] 37.2197069 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.copy-app-xml:

main:

json:
 [echo] ROYALE_COMPILER_HOME: C:\jenkins\workspace\royale-asjs/js
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(36):
 col: 12 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] return this[privateProp];
 [java]^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(39):
 col: 5 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] this[privateProp] = val;
 [java] ^
 [java] 
 [java] 

Re: [royale-asjs] branch develop updated: License header for .md files

2020-02-02 Thread Harbs
I don’t think readme files need headers

> On Feb 2, 2020, at 11:28 AM, carlosrov...@apache.org wrote:
> 
> 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 55a5494  License header for .md files
> 55a5494 is described below
> 
> commit 55a549464338cfff39ef8922cd4e7bb85ea2c26d
> Author: Carlos Rovira 
> AuthorDate: Sun Feb 2 10:27:58 2020 +0100
> 
>License header for .md files
> ---
> examples/jewel/todomvc/readme.md | 37 +++--
> 1 file changed, 19 insertions(+), 18 deletions(-)
> 
> diff --git a/examples/jewel/todomvc/readme.md 
> b/examples/jewel/todomvc/readme.md
> index ba67cc6..73c6ed4 100644
> --- a/examples/jewel/todomvc/readme.md
> +++ b/examples/jewel/todomvc/readme.md
> @@ -1,21 +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.
> -//
> -
> +
> +
> # Apache Royale TodoMVC Example
> 
>> Apache Royale™ is a productive, open-source frontend application technology 
>> that lets you code in MXML & AS3 and output to different formats, included 
>> Javascript and SWF.
> 



Build failed in Jenkins: Royale_ASDoc_Example #581

2020-02-02 Thread apacheroyaleci
See 


Changes:


--
[...truncated 5.81 KB...]
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 131231 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-debug\ASDoc.swf
 in 8.620 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] The project 'ASDoc' has been successfully compiled.
[mxmlc] 25.5705127 seconds

build_example.check-air:

build_example.wrapper:
 [copy] Copying 1 file to 

 [copy] Copied 1 empty directory to 1 empty directory under 

 [copy] Copying 2 files to 


build_example.check-resources:

build_example.copy-resources:
 [copy] Copying 1 file to 


build_example.compile-js-release:
[mxmlc] MXMLJSC
[mxmlc] 
-load-config+=
[mxmlc] -js-dynamic-access-unknown-members=true
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-closure-lib=C:\jenkins\workspace\royale-asjs/js/lib/google/closure-library
[mxmlc] +configname=royale
[mxmlc] -swf-version
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 66509 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-release\ASDoc.swf
 in 19.579 seconds
[mxmlc] Feb 02, 2020 8:16:46 AM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] INFO: 0 error(s), 0 warning(s), 97.3% typed
[mxmlc] The project 'ASDoc' has been successfully compiled and optimized.
[mxmlc] 46.316888 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.copy-app-xml:

main:

json:
 [echo] ROYALE_COMPILER_HOME: C:\jenkins\workspace\royale-asjs/js
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(36):
 col: 12 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] return this[privateProp];
 [java]^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(39):
 col: 5 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] this[privateProp] = val;
 [java] ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\GoogleMaps\src\main\royale\org\apache\royale\maps\google\beads\GoogleMapView.as(114):
 col: 6 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] (this['mapView'] as 
GoogleMapView).finishInitialization();
 [java]