hing.(name() = "cat") or
>>> >> something.("cat" =
>>> >> > name())
>>> >> > > (these
>>> >> > > > are
>>> >> > > > the same)
>>> >> > > > -it (will) now handle XML e4x
references
>>> in
>>> >> nested
>>> >> > function calls
>>> >> > > > inside
>>> >> > > > the filter, e.g. things like:
>>> >> > > > e.g.
>>> >> > > > var people:XML =
>>> >> > > >
>>> >> > > > Bob
>>> >> > > > 32
>>> >> > > >
>>> >> > > >
>>> >> > > > Joe
>>> >> > > > 46
>>> >> > > >
>>> >> > > > ;
>>> >> > > > var findJoeByAge:Function = function
>>> >> (i:int):Boolean {
>>> >> > > > return i > 40;
>>> >> > > > };
>>> >> > > >
>>> people.person.(findJoeByAge(parseInt(age))).name
>>> >> > > >
>>> >> > > >
>>> >> > > > I have lots more granular tests in
QName,
>>> >> Namespace,
>>> >> > and XML with
>>> >> > > > tuning to
>>> >> > > > improve reliability.
>>> >> > > > toXMLString XML node output also
matches
>>> flash
>>> >> more
>>> >> > correctly in
>>> >> > > what I
>>> >> > > > have coming.
>>> >> > > >
>>> >> > > > One thing that I am trying to figure
>>> out, which
>>> >> I would
>>> >> > > appreciate
>>> >> > > > input on
>>> >> > > > if someone has an answer:
>>> >> > > > For the example:
>>> >> > > >
>>> >> > > > var feed:XML = new XML(
>>> >> > > > 'https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2005%2FAtomdata=02%7C01%7Caharui%40adobe.com%7C329e3c957ece4fc05db908d733285bfb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637034120784048005sdata=obQ64fljxqdBKTzfY9RSLmZDOpC8Bphvex8ocpNBSwA%3Dreserved=0
>>> >> > > > "
>>> >> > > > xmlns:m="nothing">\n' +
>>> >> > > > ' >> rel="no_namespace"
>>> >> > > > href="blah/12321/domain/"/>\n' +
>>> >> > > > '\n');
>>> >> > > > var atomSpace:Namespace = new
Namespace('
>>> >> > > >
>>> >> > >
>>> >> >
>>> >>
>>>
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2005%2FAtomdata=02%7C01%7Caharui%40adobe.com%7C329e3c957ece4fc05db908d733285bfb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637034120784048005sdata=obQ64fljxqdBKTzfY9RSLmZDOpC8Bphvex8ocpNBSwA%3Dreserved=0
>>> >> > > '
>>> >> > > > );
>>> >> > > >
>>> >> > > > Can anyone explain why this (in SWF,
as a
>>> >> reference
>>> >> > > implementation):
>>> >> > > > trace(feed.atomSpace::link.length())
>>> >> > > >
trace(feed.atomSpace::link.toXMLString())
>>> >> > > > //output:
>>> >> > > > 0
>>> >> > > > {empty string}
>>> >> > > > is different to:
>>> >> > > > trace(feed.child(new
>>> >> QName(atomSpace,'link')).length())
>>> >> > > > trace(feed.child(new
>>> >> > QName(atomSpace,'link')).toXMLString())
>>> >> > > > //output:
>>> >> > > > 1
>>> >> > > > >> >> href="blah/12321/domain/"
>>> >> > xmlns:atom="
>>> >> > > >
>>> >> > > >
>>> >> > >
>>> >> >
>>> >>
>>>
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2005%2FAtomdata=02%7C01%7Caharui%40adobe.com%7C329e3c957ece4fc05db908d733285bfb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637034120784048005sdata=obQ64fljxqdBKTzfY9RSLmZDOpC8Bphvex8ocpNBSwA%3Dreserved=0
>>> >> > > "
>>> >> > > > xmlns:m="nothing"/>
>>> >> > > >
>>> >> > > > I had assumed the above cases would be
>>> the
>>> >> same, but
>>> >> > the second
>>> >> > > one is
>>> >> > > > behaving as if it has the default
>>> namespace
>>> >> included
>>> >> > with the
>>> >> > > specified
>>> >> > > > namespace in the QName matching (it
does
>>> >> correctly
>>> >> > match the
>>> >> > > namespace
>>> >> > > > specifically as well -with e.g.
>>> >> >> nodes where
>>> >> > the
>>> >> > > prefix atom
>>> >> > > > is
>>> >> > > > bound to the uri, but also seems to
>>> include
>>> >> link nodes
>>> >> > with the
>>> >> > > default
>>> >> > > > namespace, whether or not it is
>>> declared). I can
>>> >> > accommodate this
>>> >> > > > difference to make them behave the
same,
>>> I just
>>> >> would
>>> >> > like to
>>> >> > > > understand
>>> >> > > > the basis for the actual rules if
anyone
>>> >> knows
>>> >> > > >
>>> >> > > > I should be in a position to push the
>>> updates
>>> >> this
>>> >> > coming
>>> >> > > weekend I
>>> >> > > > think.
>>> >> > > >
>>> >> > > >
>>> >> > > >
>>> >> > >
>>> >> > >
>>> >> > >
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >>
>>> >>
>>> >>
>>>
>>>
>>>
>
--
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
I just updated the royale-compiler and royale-asjs release notes with the
things that I worked on. They're in the develop branch for now.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Fri, Sep 6, 2019 at 9:37 AM Piotr Zarzycki
wrote:
> I was thinking about that in a very
macOS allows you to escape a space in a path using a backslash. You can see
that Carlos has some backslashes in his message.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Tue, Sep 3, 2019 at 9:50 AM Piotr Zarzycki
wrote:
> ok it failed. How should I put in bash_pro
file, and choose Show
Package Contents, you can dig in there and find the correct path.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Tue, Sep 3, 2019 at 6:56 AM Piotr Zarzycki
wrote:
> In Mac is different - maybe I setup it wrong. Does anyone know whether I
>
ace attributes.(1003)"
>
> I assume we have abstract keyword set by default right? so in Jewel without
> configuring nothing "abstract" should be allowed.
>
> Thanks
>
>
> El mié., 28 ago. 2019 a las 23:31, Josh Tynjala (<
> joshtynj...@bowlerhat.dev>)
>
share the full error message?
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Fri, Aug 23, 2019 at 2:21 AM Carlos Rovira
wrote:
> Hi Josh,
>
> after cleaning Jewel TextInput classes, I tried to change TextInputBase
> from public to abstract class.
>
> The rea
With that in mind, it seems like you may need to temporarily disable
TortoiseGit while running the build.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Wed, Aug 28, 2019 at 6:28 AM Piotr Zarzycki
wrote:
> I'm not sure if it's related, but I have tried deleted that folder
>royaleCompatibility = new RoyaleCompatibility();
>if (royaleCompatibility.isCompatible) {
>new MyApp().start();
>} else {
>royaleCompatibility.displayIncompatibilityText();
>}
>
>
>
> How do I do that?
>
--
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
module build.
>
> In case of Ant build I will try to figure it out - if I won't be able to I
> will wait to your free cycles.
>
> Thanks,
> Piotr
>
> pon., 26 sie 2019 o 16:39 Josh Tynjala
> napisał(a):
>
>> I guess that I completely forgot to add RoyaleUnit to
> >>>
>>> >
>>>
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpasteboard.co%2FIsWnHGq.pngdata=02%7C01%7Caharui%40adobe.com%7Cee362a70359f471e8aed08d729ebc5cc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637023964926048393sdata=w0ixJ5SmSTDQbC7gMpzTit5MTQkZBFsHerit8qf%2FYvU%3Dreserved=0
>>> > >>> >
>>> > >>> > Thanks,
>>> > >>> > Piotr
>>> > >>> >
>>> > >>> > pt., 16 sie 2019 o 11:08 Piotr Zarzycki <
>>> > >>> piotrzarzyck...@gmail.com>
>>> > >>> > napisał(a):
>>> > >>> >
>>> > >>> > > Ok I was mistake. Both zips exists, but they
>>> have
>>> > different
>>> > >>> sizes! So
>>> > >>> > > comparison went fine and I need to understand
>>> one
>>> > sources are
>>> > >>> > different...
>>> > >>> > >
>>> > >>> > > pt., 16 sie 2019 o 10:59 Piotr Zarzycki <
>>> > >>> piotrzarzyck...@gmail.com>
>>> > >>> > > napisał(a):
>>> > >>> > >
>>> > >>> > >> I have analyzed that target
(compare-src-zips)
>>> and it
>>> > >>> compares zip
>>> > >>> > file
>>> > >>> > >> in following locations:
>>> > >>> > >>
>>> > >>> > >> 1) artifacts\apache-royale-0.9.6-src.zip
>>> > >>> > >> 2)
/sources/srczip/apache-royale-0.9.6-src.zip
>>> > >>> > >>
>>> > >>> > >> I have changed in that target all places
where
>>> > >>> ${artifactfolder} to
>>> > >>> > >> ../../${artifactfolder} and launch that
>>> target. It
>>> > looks
>>> > >>> like zip
>>> > >>> > file
>>> > >>> > >> wasn't created at all in location:
>>> > >>> > >> /sources/srczip/apache-royale-0.9.6-src.zip.
>>> > >>> > >>
>>> > >>> > >> I will try to figure out what has happened.
>>> Btw. I
>>> > didn't
>>> > >>> commit my
>>> > >>> > >> changes with ../../ - those are local.
>>> > >>> > >>
>>> > >>> > >> Thanks,
>>> > >>> > >> Piotr
>>> > >>> > >>
>>> > >>> > >> pt., 16 sie 2019 o 09:29 Piotr Zarzycki <
>>> > >>> piotrzarzyck...@gmail.com>
>>> > >>> > >> napisał(a):
>>> > >>> > >>
>>> > >>> > >>> Unfortunately I don't know what is happening
>>> but
>>> > signing
>>> > >>> trough
>>> > >>> > script
>>> > >>> > >>> hang for me. Stopped working. :(
>>> > >>> > >>>
>>> > >>> > >>>
>>> > >>> > >>> ant -f releasesteps.xml
Release_Step_003_Sign
>>> > >>> > -Drelease.version=0.9.6
>>> > >>> > >>> Buildfile:
>>> > >>> d:\Work\royale-sources\royale-compiler\releasesteps.xml
>>> > >>> > >>>
>>> > >>> > >>> get-artifact-folder:
>>> > >>> > >>> [input] Enter the temporary folder to
>>> store the
>>> > >>> downloaded
>>> > >>> > artifacts:
>>> > >>> > >>> royale096
>>> > >>> > >>>
>>> > >>> > >>> Release_Step_003_Sign:
>>> > >>> > >>>
>>> > >>> > >>> sign-file:
>>> > >>> > >>>
>>> > >>>
--
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
> but opening almost every JS file twice doesn't make sense to me.
We agree completely on this.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Tue, Aug 20, 2019 at 11:21 AM Alex Harui
wrote:
> Doesn't your plan assume that searching for a potentially (and probabl
that.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Tue, Aug 20, 2019 at 10:31 AM Alex Harui
wrote:
> IMO, we have to open and read each JS file anyway for remove-circulars, so
> it isn't clear that looking for additional companion files is going to be
> faster than scan
and without needing to try to parse JS files.
Thoughts?
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
If it started working correctly after changing the path to include ../../,
perhaps ${artifactfolder} is being set to a relative path, but the script
expects the path to be absolute. I'm not familiar with the release steps
yet, so I'm just guessing, but does that make sense?
--
Josh Tynjala
Bowler
Okay, this should be working correctly now.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Mon, Aug 12, 2019 at 10:36 AM Josh Tynjala
wrote:
> I've determined that when js-dynamic-access-unknown-members is true, a
> fully-qualified name is output differently:
>
though, so
that's a bug. I'll try to get it fixed.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Fri, Aug 9, 2019 at 3:52 AM Piotr Zarzycki
wrote:
> Hi Guys,
>
> Many Thanks for your answers. I figure out what has happen
and the
Ant task available.
If you have some tests that need to be run in SWF only, but other tests
that should be run in both SWF and JS, then I think that you need to use
COMPILE::SWF to omit certain tests from the JS build. Similarly with
COMPILE::JS for JS-only tests.
--
Josh Tynjala
Bowler Hat LLC
.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Wed, Aug 7, 2019 at 2:47 PM Greg Dove wrote:
> Hey Josh, that sounds pretty cool. I'm not sure, but it might however be
> duplicating some aspects of what GCC already does when it optimizes because
> I expect it might do
to
Jewel and the other framework projects that contain .as files.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Thu, Jul 25, 2019 at 12:47 PM Carlos Rovira
wrote:
> Hi Josh,
>
> trying to move dialogPolyfill to royale-typedefs: I only see *.js classes.
> I can't f
dialogPolyfill and hljs are not in any wayt related to each other, except
the fact that they're both used in Jewel. With that in mind, I think that
they belong in separate libraries.
I also think that we should add these libraries to royale-typedefs instead
of royale-asjs.
--
Josh Tynjala
Bowler
Thanks for posting that, Carlos. It reminded me of another rule that's
important: All "typedefs" SWCs should always be added to the
external-library-path. Even if you are building an app and not a library,
typedefs must be external (because they are provided natively by the
browser or using a
ch better than I do.
I should point out that you should use "provided" or "runtime" for
framework SWCs only when you are when compiling a SWC. When compiling an
app, you definitely want these SWCs added to the library-path.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev
The append attribute has existed since the Flex days.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Mon, Jul 22, 2019 at 8:34 AM Carlos Rovira
wrote:
> Hi Harbs,
> thanks, the append attribute is new one? it was introduced recently?
>
> thanks
>
> El lun.,
}/frameworks/libs/air/airglobal.swc
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Mon, Jul 22, 2019 at 8:20 AM Carlos Rovira
wrote:
> Hi Josh,
>
> playerglobal.swc is ok, but can you point me to some place where "js.swc"
> is used?
>
> contents of compil
Error: Missing builtin type Object
This error usually means that either playerglobal.swc or js.swc is missing.
It would be difficult to suggest anything more without seeing the contents
of compile-swf-config.xml.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Mon, Jul 22
It was a step in that direction. I did not test it in VSCode to see if it
had become a valid SDK for code intelligence again. I don't know for sure
what other changes are necessary to make that happen.
- Josh
On Mon, Jul 22, 2019, 6:39 AM Carlos Rovira wrote:
> Hi Piotr,
>
> I'm asking for
not to, I plan to do this by start of next week.
> > > > This should not impact anyone else because it is something new,
> > there are
> > > > no changes to anything already present.
> > > >
> > > > In terms of the name as 'C
the problem: The compiler will now always
generate JS as UTF-8.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Tue, Jul 16, 2019 at 1:01 PM Josh Tynjala
wrote:
> I made some tweaks to the royale-maven-plugin to make it properly use
> external-library-path (and js-external-
not sure what's going on there. Maybe I'm running
the wrong command to have it also produce a release build.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Tue, Jul 16, 2019 at 9:47 AM Josh Tynjala
wrote:
> Thanks. I'm investigating.
>
> I've figured out that the Maven
t a
target/compile-js-config.xml file is created, and it's using
js-library-path for framework SWCs. I'm still figuring out where this
config file is coming from and how to change it.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Tue, Jul 16, 2019 at 9:00 AM Piotr Zarzycki
Oh, yes. Sorry. In this case, it's not externc, but our code in the Royale
compiler is still generating the JS externs.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Tue, Jul 16, 2019 at 9:19 AM Harbs wrote:
> OK.
>
> FWIW, it seems like it’s being generated by an @
JS externs when I have time in the coming
months.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Tue, Jul 16, 2019 at 9:06 AM Harbs wrote:
> I quick look seems to indicate that these are coming from Jewel (which I'm
> not using).
>
> > On Jul 16, 2019, at
. Maybe it's forcing the use of library-path or something like that.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Tue, Jul 16, 2019 at 8:21 AM Piotr Zarzycki
wrote:
> Hi Josh,
>
> Do you refer to my post by mentioning "distribution"? - I don't use
&g
Oh yeah, the Maven "distribution" has its own separate versions of files
like frameworks/royale-config.xml and frameworks/js-config.xml, doesn't it?
I guess that those need to be updated to use external-library-path too.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
be
added to those examples instead of being included in any SWCs.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Tue, Jul 16, 2019 at 7:10 AM Carlos Rovira
wrote:
> Hi,
>
> thanks Josh for the update!
> One question about it: should separate the @extern classes in Jewel
The Maven royale-compiler build is fixed now. :)
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Mon, Jul 15, 2019 at 1:19 PM Josh Tynjala
wrote:
> FYI: Found an issue building royale-compiler with Maven. Working on the
> fix.
>
> --
> Josh Tynjala
&g
FYI: Found an issue building royale-compiler with Maven. Working on the fix.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Mon, Jul 15, 2019 at 12:32 PM Josh Tynjala
wrote:
> Hey folks,
>
> I just pushed some commits to royale-compiler and royale-asjs, and I
ilds should
be updated shortly.
When you build any apps, be sure to clean first, just to be sure that you
have the latest JS files from the SWCs.
If you run into any other problems with these changes, please let me know.
I'll get them fixed right away!
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
,
my changes may also be a little disruptive if I missed something, so it may
take a few days to smooth out any last minute issues as people try it out
with their existing apps.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Fri, Jul 12, 2019 at 12:31 AM Piotr Zarzycki
wrote:
I like the idea of checking the layout of the SWC. I'll give that a try.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Wed, Jul 10, 2019 at 11:20 PM Alex Harui
wrote:
> Is the "isNative()" function hooked up to the native keyword or the
is allowed there).
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Tue, Jul 9, 2019 at 8:08 PM Alex Harui wrote:
> Good idea. I have this vague memory that there are some other gotchas
> around using "native", but give it a try and see what happens.
>
> -
handle it properly. Since I wasn't very familiar with the compiler code at
the time, I didn't think I could fix it, so I dropped the idea.
This is what was missing. We were ignoring a feature of the language that
was meant for exactly this situation.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat
ory that is more common.
Not just with framework SWCs either. Third-party SWCs that include custom
components would need to set the framework SWCs on the
external-library-path too.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Tue, Jul 9, 2019 at 3:33 PM Alex Harui wrote:
> I'm not su
could be wrong, but I interpret this comment to mean that goog.require()
is not added if something is on the external-library-path. That sounds like
a bug in the compiler, and this was more of a workaround than the correct
way to fix things.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.
, Jewel, and MaterialDesignLite.
I'll take a look at the compiler options for some of the other SWCs to see
if anything catches my eye.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Tue, Jul 9, 2019 at 3:21 AM Harbs wrote:
> I have no jewel components in my app, but I’m
library-path for the application that
> uses the framework SWC.
>
> Thanks,
> -Alex
>
> On 7/9/19, 9:11 AM, "Josh Tynjala" wrote:
>
> Without a goog.require(), the .js file for the extern does not seem to
> be
> copied to the output folder, and Closu
Especially if the purpose of inject_html is to load JS from a CDN. There
will definitely be users of Royale who cannot have external dependencies
like that, and they'll need a way to override the behavior to load a JS
file from their own server instead.
--
Josh Tynjala
Bowler Hat LLC <ht
behavior more consistent because the it was already
adding goog.require() for externs in applications. If that's wrong, it was
already wrong before I made any changes.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Mon, Jul 8, 2019 at 11:26 PM Alex Harui wrote:
> This doesn't s
Generally, if we need a browser API that Closure doesn't include in it's
official externs, we add it to missing.js in the appropriate library in
royale-typedefs.
- Josh
On Tue, Jul 9, 2019, 4:39 AM Piotr Zarzycki
wrote:
> I thought this is the right place, from where I should download it to
s skipping externs completely when adding goog.require()
calls. I guess that this edge case must have been missed when testing that.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Mon, Jul 8, 2019 at 11:09 AM Carlos Rovira
wrote:
> Hi,
>
> when I compile TDJ I can see
Greensock's source code is available, but it is not a standard open source
license. They require a commercial license if your project meets certain
conditions.
https://greensock.com/standard-license
- Josh
On Mon, Jul 8, 2019, 4:36 AM Carlos Rovira wrote:
> Hi,
>
> one thing I'm investigating
e documentation quite
> thin
> > > and that it made a lot of assumptions about what a general developer
> > might
> > > know and need to know. This site [1] made an attempt about ten years
> ago
> > to
> > > improve on an intro to Swiz. What plans a
Cool stuff, Greg and Carlos!
One concern: In Flash, the "addedToStage" event does not bubble. It's
actually the "added" event that bubbles and is used by frameworks like
Swiz, Cairngorm, Robotlegs, etc.
To avoid potential confusion for people migrating an existing app from
Flex/Flash that might
ing a ‘GC overhead limit exceeded’ [1] error though quite often
> which brings it up to around a minute and a half. Increasing heap size by
> setting ANT_OPTS to -Xmx2g doesn’t seem to make a difference.
>
>
>
> [1] https://paste.apache.org/BXf4
>
>
>
> ______
Today, I determined how to resolve the port problem that caused the JS
RoyaleUnit tests to fail on macOS.
The Ant build now runs both SWF and JS RoyaleUnit tests.
- Josh
On 2019/05/23 23:20:07, Josh Tynjala wrote:
> Unfortunately, I had to disable the JS tests automatically runn
piler did not copy JS files that were already in bin/js-debug and
> remove-circulars re-uses those JS files.
>
> In theory, those of us modifying framework code have to clean out
> bin/js-debug more often than app developers.
>
> HTH,
> -Alex
>
> On 6/27/19, 4:00 PM, "
files that are already written to the file system and
then modifies them. The extra re-write to disk is pretty expensive. If all
JS files were written to disk only once, we'd save another half second or
more.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Wed, Jun 26, 2019 at 2
In VSCode, where most people will be using asconfigc, you can optionally
give each task a list of dependencies to compile first. That allows you to
choose a single task to run, and it would compile both the app and the
module.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Th
the module.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Thu, Jun 27, 2019 at 10:25 AM Carlos Rovira
wrote:
> Hi,
>
> I'm trying to build the project in examples/blog/
> BE0013_Dividing_an_Apache_Royale_application_with_modules
>
> with asconfigc.
>
>
Wow! So for larger projects, it might have an impact beyond 20-25%. That's
great to hear. Thanks for sharing that stat, Kenny!
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Thu, Jun 27, 2019 at 7:58 AM Kenny Lerma wrote:
> I had some suspicions about the logs slowing th
now, the transpile is run once for Basic.swc and again for
> BasicJS.swc. It could be possible to steal the already transpiled JS from
> Basic.swc. Or maybe the copying of the JS files will still be a performance
> bottleneck. The advantage is also that there is only one SWC to deplo
enough to at least guide us here.
>
> In discussing with Alex what’s the best avenue for improving the compiler in
> the short term, the topic of performance came up. That’s been somewhat of a
> pain point and working on that is probably a good idea.
>
> Harbs
>
> &g
on could AMF encode the instance, or the implementation could
> throw an error.
>
> -Alex
>
> On 6/14/19, 1:53 PM, "Josh Tynjala" wrote:
>
> How do you store a String, or any random class, in Uint8Array?
>
> - Josh
>
> On 2019/0
and
> if other code ends up turning off the "fixed" property and push stuff you'll
> end up with a bug. I think that would only take someone a week or less.
>
> Or as I asked earlier, why can't folks just use Uint8Array?
>
> HTH,
> -Alex
>
> On 6/14/19, 11:08
t amount of
> work
> > especially where the BURM does the semantic checks. New BURM patterns
> are
> > probably required. Or maybe it is time to get the BURM out of the
> > semantic-check business for JS (and maybe SWF) output and figure out
>
obably already thought
> those things through though, I guess.
>
> If you end up with a remote branch for your work on this at some point and
> want someone to help with testing or anything like that, I'm in, just let
> me know.
>
>
> On Thu, Jun 13, 2019 at 2:26 AM Jos
Looks like a simple null check that is missing when validating private
constructors. I'll get it fixed later today or tomorrow.
- Josh
On 2019/06/12 09:02:57, Yishay Weiss wrote:
> Any ideas why I might be getting this [1] when compiling a library?. Not sure
> if it’s related to latest
> I think your other proposal with Josh for the typed Arrays and their greater
> compile-time safety will be a better fit for many cases as well, so I hope
> that happens.
I started working on typed arrays this week. It may be a while before I can
merge, though. It's definitely more complex
COMPILE::JS should not be necessary, but if you're targeting JS, you should add
the doc comment with the @externs tag. By default, Royale uses the Google
Closure compiler, which aggressively renames properties and methods to make the
generated code smaller. The @externs tag tells it not to
VScode and Moonshine use go_to_definition_help, and I've observed it doesn't
always go to the correct location. I knew it had something to do with line
endings, but I never quite figured out exactly what was wrong. You're changes
probably won't make anything worse.
> if you pull up an AS
I definitely want the default choice to have as few surprises as possible when
it comes to how ActionScript behaves in Royale. We'll never have a perfect
emulation, of course, but there are things that I think can still be improved.
At the same time, I think it's perfectly valid for someone to
uot; wrote:
>
> First off, this sounds like a great new capability for Royale, so thanks
> for working on it.
>
> Regarding JS test issues, did you rule out using Selenium? I haven't had
> problems with it on Mac or Win for Mustella.
>
> HTH,
> -Alex
tella.
>
> HTH,
> -Alex
>
> On 5/23/19, 4:20 PM, "Josh Tynjala" wrote:
>
> Unfortunately, I had to disable the JS tests automatically running on the
> royale-asjs main build because they intermittently fail on macOS. It seems
> that the port that the
JS tests for CoreJS, BasicJS, and RoyaleUnitJS.
- Josh
On 2019/05/23 19:18:21, Josh Tynjala wrote:
> Hey Royale team,
>
> Over the last several days, I've been working on RoyaleUnit again, and I
> wanted to share a bit about what I've completed this week.
>
> ## New Ant t
Hey Royale team,
Over the last several days, I've been working on RoyaleUnit again, and I wanted
to share a bit about what I've completed this week.
## New Ant task
Until now, we've been using the Ant task to run RoyaleUnit tests on
our SWF output in the Ant builds. The RoyaleUnit library
In a new, empty folder, I was able to run the following commands successfully:
git clone g...@github.com:apache/royale-asjs.git
cd royale-asjs
ant all
- Josh
On 2019/05/23 15:59:10, Josh Tynjala wrote:
> Hey Alex,
>
> I'll be sure give it a try and make any necessary fixes, if i
) were added to refs/heads/develop by this push:
> new e18d7d7 Build files for JS libraries find the compilers the
> same way as the build files for SWF libraries
> e18d7d7 is described below
>
> commit e18d7d747cd7898f04f07e91f2c71b217275340f
> Author: Jo
llowances for known variance between for JS and SWF.
> I will try RoyaleUnit soon and see if can port some of the tests from
> manualtests/UnitTests
>
>
>
>
> On Thu, May 23, 2019 at 10:30 AM Josh Tynjala
> wrote:
>
> > Hi Greg,
> >
> > Indeed, support
an automated email from the ASF dual-hosted git repository.
> >>>
> >>> joshtynjala pushed a commit to branch develop
> >>> in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
> >>>
> >>>
> >>> The following commit(
Hey Greg,
I haven't had a chance to look through all of the changes, but one thing caught
my eye. I find it confusing when a boolean value is named with a "negative"
phrase. For instance, your new compiler options have "no" in the name:
js-no-complex-implicit-coercions
js-no-resolve-uncertain
’t bother about Typescript at all, and just concentrate on
> incorporating the pure javascript libs.
>
> Dany
>
> > Op 2 mei 2019, om 19:57 heeft Josh Tynjala het
> > volgende geschreven:
> >
> > Just for fun, here's another way that you could create a ty
to ActionScript
is pretty flexible. Some JavaScript libraries are just a function, and some
have APIs that work more like classes. Depending on the library, one way may
work better than the other.
- Josh
On 2019/05/02 17:48:49, Josh Tynjala wrote:
> Exactly right. When you create a typedef cl
; (eventtarget.js:196)
>
> What I'm doing wrong?
>
> thanks!
>
>
> El jue., 2 may. 2019 a las 18:02, Carlos Rovira
> ()
> escribió:
>
> > Hi Josh,
> >
> > I think this pie
> Users can't do this, they required that Royale framework devs add typedefs to
> the typedefs repo and wait to next SDK release. What does not seems very
> useful.
Users can create their own typedefs from scratch.
I just created a quick example for hljs, that exposes the highlightBlock()
You still need write the Royale typedefs manually. However, referring to the
TypeScript definitions while you do it makes things easier. TypeScript
definitions are limited to the API surface only, without implementations of
everything, so you don't need to sift through the entire JS library to
I meant that the VersionBead would contain the Royale SDK version. A separate
version bead for the app's version would be useful too, but that's not what I
was suggesting.
- Josh
On 2019/04/30 20:14:31, Mark Kessler wrote:
> Well that would work in addition too, but not replace what I'm
I just added this to the README file because I wasn't sure how to run locally
either.
I had been testing my CSS changes using the browser devtools, which wasn't
ideal.
- Josh
On 2019/04/30 23:17:16, Alex Harui wrote:
> IIRC, I installed Jekyll. Then run:
>
> jekyll build --config
What if Royale had some kind of VersionBead that you could add to the main
application? It could be optional with Basic, but maybe baked in by default
with Express and other component sets that are less focused on small output
size.
- Josh
On 2019/04/30 10:46:27, Kessler CTR Mark J
wrote:
standing how the fail could be happening
> Now this seems to explain the issue
> thanks for getting to the problem
>
> Carlos
>
>
> El mié., 20 mar. 2019 a las 20:48, Josh Tynjala ()
> escribió:
>
> > I've determined that hoisting is having trouble with chained vari
/20 17:53:08, Josh Tynjala wrote:
> No, I built with VSCode, which uses the regular command line compiler from
> the SDK.
>
> I updated/installed all repos and built TourDeJewel with Maven. I can now see
> the errors that you describe. It seems that Maven executes the compiler
; updates from git, then pass maven in three repos and then construct SDK.
>
> Are you building TDJ with maven?
>
> thanks
>
> Carlos
>
>
> El mié., 20 mar. 2019 a las 16:51, Josh Tynjala ()
> escribió:
>
> > In my initial tests, I am unable to reproduc
-release` to create a full SDK from scratch (which
will take a while), but I don't expect that to make a difference.
- Josh
On 2019/03/20 15:27:42, Carlos Rovira wrote:
> Thank Josh! :)
>
> El mié., 20 mar. 2019 a las 15:14, Josh Tynjala ()
> escribió:
>
> > I'm looking in
I'm looking into it!
- Josh
On 2019/03/20 08:42:43, Carlos Rovira wrote:
> Hi, I can confirm that the problem is in the latest three commits in
> royale-compiler repo.
> @Josh Tynjala , hope you can take a look. Is easy
> to check testing with Tour De Jewel app
>
>
I just pushed a commit where the compiler hoists variables with default
initializers.
- Josh
On 2019/03/19 10:34:05, Harbs wrote:
> The latest compiler changes exposed a problem:
>
> for(var i:int=0;i var foo:Object;
> if(someCondition(thingy[i]){
> foo =
and I am not sure why I would choose only some and not others. Maybe there
> could be a distinction in scope (class members vs. local variables), but I
> am still not sure why I would choose that.
>
>
>
> On Wed, Mar 20, 2019 at 4:17 AM Josh Tynjala
It looks like we have a situation where default initialization doesn't work in
the loop because local variables need to be "hoisted" to function scope. In
Flash, the variable would have been initialized before the loop started, and
js-default-initializers will need to implement that behavior. I
Anyone know why this might be happening?
> typedefs.unit.tests:
> [junit] Error occurred during initialization of VM
> [junit] Could not reserve enough space for object heap
There are some folks waiting on my compiler changes to get into the nightly
build, but it's failing, and I don't think
projects.
https://github.com/apache/royale-asjs/blob/develop/frameworks/projects/RoyaleUnit/src/test/royale/asconfig.json
- Josh
On 2019/03/15 17:43:29, Josh Tynjala wrote:
> Hey everyone,
>
> You may have noticed that I committed a new RoyaleUnit library to royale-asjs
> yesterday.
Hey everyone,
You may have noticed that I committed a new RoyaleUnit library to royale-asjs
yesterday. It is a unit testing library, similar to (and greatly inspired by)
FlexUnit. It is an upgrade to the barebones "Testing" library that was based on
my work from a while back. I brought a
Another one:
Question: Why isn't JSON working in my Royale app?
Answer: Either use variable["property"] syntax or enable the
-js-dynamic-access-unknown-members=true compiler option.
- Josh
On 2019/03/04 16:41:03, Josh Tynjala wrote:
> Recently, I edited an answer to an old quest
501 - 600 of 645 matches
Mail list logo