I tried using the nightly builds the main issue i saw is the same I
observed previously the view states are not changing. If it helps here is
the Moonshine console output:
: Compiling RoyaleStore
: Using Royale Compiler codebase:
"D:\apache-royale-sdks\apache-royale-0.9.6-nightly-bin-js\royale-asjs"
: Using Royale SDK:
"D:\apache-royale-sdks\apache-royale-0.9.6-nightly-bin-js\royale-asjs"
: MXMLJSC
:
-sdk-js-lib=D:\apache-royale-sdks\apache-royale-0.9.6-nightly-bin-js\royale-asjs\frameworks\js\Royale\generated-sources
: -load-config+=obj/RoyaleStoreConfig.xml
: -compiler.targets=JSRoyale
: -js-output=D:\apache-royale-webprojects\RoyaleStore
: Aug 14, 2019 11:02:01 PM com.google.javascript.jscomp.LoggerErrorManager
println
: WARNING:
D:/apache-royale-webprojects/RoyaleStore/bin/js-debug/productsView/ProductCart.js:219:
WARNING - Parse error. extra visibility tag
: * @private
: ^
:
: Aug 14, 2019 11:02:01 PM com.google.javascript.jscomp.LoggerErrorManager
println
: WARNING: externs/dialogPolyfill.js:15: WARNING - accessing name
dialogPolyfill in externs has no effect. Perhaps you forgot to add a var
keyword?
: dialogPolyfill = function() {
: ^^^^^^^^^^^^^^
:
: Aug 14, 2019 11:02:01 PM com.google.javascript.jscomp.LoggerErrorManager
println
: WARNING: externs/dialogPolyfill.js:15: WARNING - variable dialogPolyfill
is undeclared
: dialogPolyfill = function() {
: ^^^^^^^^^^^^^^
:
: Aug 14, 2019 11:02:01 PM com.google.javascript.jscomp.LoggerErrorManager
println
: WARNING: externs/dialogPolyfill.js:23: WARNING - name dialogPolyfill is
not defined in the externs.
: dialogPolyfill.registerDialog = function(dialog) {
: ^^^^^^^^^^^^^^
:
: Aug 14, 2019 11:02:01 PM com.google.javascript.jscomp.LoggerErrorManager
println
: WARNING: externs/hljs.js:19: WARNING - accessing name hljs in externs has
no effect. Perhaps you forgot to add a var keyword?
: hljs = function() {
: ^^^^
:
: Aug 14, 2019 11:02:01 PM com.google.javascript.jscomp.LoggerErrorManager
println
: WARNING: externs/hljs.js:19: WARNING - variable hljs is undeclared
: hljs = function() {
: ^^^^
:
: Aug 14, 2019 11:02:01 PM com.google.javascript.jscomp.LoggerErrorManager
println
: WARNING: externs/hljs.js:27: WARNING - name hljs is not defined in the
externs.
: hljs.highlightBlock = function(block) {
: ^^^^
:
: Aug 14, 2019 11:02:01 PM com.google.javascript.jscomp.LoggerErrorManager
printSummary
: WARNING: 0 error(s), 7 warning(s), 97.6% typed
: The project 'RoyaleStore' has been successfully compiled and optimized.
: 23.145411 seconds
: Copying resource: assets
: Copying
D:\apache-royale-webprojects\RoyaleStore\src\main\resources\assets complete
: Copying resource: data
: Copying D:\apache-royale-webprojects\RoyaleStore\src\main\resources\data
complete
: Project Build Successfully.
On Wed, Aug 14, 2019 at 6:40 PM Alex Harui <[email protected]> wrote:
> RoyaleStore will work better in the nightly. The fonts are not quite
> right but haven’t been for a while. Volunteers to tidy up the visuals are
> welcome.
>
>
>
> Thanks for reporting it,
>
> -Alex
>
>
>
> *From: *Alex Harui <[email protected]>
> *Reply-To: *"[email protected]" <[email protected]>
> *Date: *Wednesday, August 14, 2019 at 12:29 PM
> *To: *"[email protected]" <[email protected]>
> *Subject: *Re: RoyaleStore broken with sdk 0.96
>
>
>
> Turns out the styles are correct.
>
>
>
> The breakage appears to be caused by the coercion code to “int” in
> EffectTimer.start(). The JavaScript Date.getTime() really returns a large
> number outside of the int range.
>
>
>
> -Alex
>
>
>
> *From: *Alex Harui <[email protected]>
> *Reply-To: *"[email protected]" <[email protected]>
> *Date: *Wednesday, August 14, 2019 at 12:19 AM
> *To: *"[email protected]" <[email protected]>
> *Subject: *Re: RoyaleStore broken with sdk 0.96
>
>
>
> Hmm, it is broken for me too. In a quick look, it appears that the
> fx:Style block that brings in main.css is not working. It appears that the
> main.css is not having any effect or isn’t in the output. It is the end of
> my work day, so maybe someone else who had been in the compiler can take a
> look. Otherwise I will try to look tomorrow.
>
>
>
> -Alex
>
>
>
> *From: *Mandeep Sarma <[email protected]>
> *Reply-To: *"[email protected]" <[email protected]>
> *Date: *Tuesday, August 13, 2019 at 8:54 PM
> *To: *"[email protected]" <[email protected]>
> *Subject: *RoyaleStore broken with sdk 0.96
>
>
>
> Hi,
>
>
>
> Can anyone tell me why the "ToggleTextButton" in the "ControlBar" in
> RoyaleStore.mxml don't work anymore with sdk 0.96?
>
>
>
> And why the ProductCatalogThumbnail are not created anymore with sdk 0.94.
>
>
>
> I'm using moonshine 2.4.0 build 1387.
>
>
>
> I'm most interested in knowing what changes in the SDK could be causing
> the problems.
>
>
>
> This brings up another question, doesn't the way in which Royale is being
> developed significantly increase the risks to future Royale SDKs breaking
> applications in lengthy development (large applications) ? I ask because
> Royale is being considered as a platform to convert a Flash Player app.
>
>
>
> Thx!
>
> Mandeep
>
>
>
>
>