Re: BinaryData and odd bytes

2018-06-24 Thread Harbs
ertainly does look like the byte level stuff is >> faster. >> >> >> On Sun, Jun 24, 2018 at 10:32 AM Greg Dove wrote: >> >>> >>> Harbs, for the typed array test, try using the ArrayBuffer in the >>> constructor instead of the Uint8Array, I think you

Re: BinaryData and odd bytes

2018-06-24 Thread Harbs
e for consecutive writes. This should give users the ability to implement relatively cheap writes. Possibly the most efficient way would be to instantiate an BinaryData with an ArrayBuffer of a set size. Thanks, Harbs

MD5 [was: Re: BinaryData and odd bytes]

2018-06-21 Thread Harbs
I forgot. The ported MD5 code did not work. I just replaced it with an MIT JS implementation… > On Jun 21, 2018, at 1:20 AM, Harbs wrote: > > FYI, the MD5 test there now fails. I have no idea why. Maybe I messed > something up with my BinaryData changes, but I can’t see what…

Re: BinaryData and odd bytes

2018-06-21 Thread Harbs
I just added a unit test for this. The test will fail with a RTE using the old implementation. Explanation: After reading the first byte, the position is 1 which doesn’t align with a 16IntArray. Thanks, Harbs > On Jun 21, 2018, at 1:48 AM, Greg Dove wrote: > > I am not sure what

Re: BinaryData and odd bytes

2018-06-20 Thread Harbs
> performance on the same machine, but were still much faster than the > original method that was used before I made the original changes. > > Harbs, there is a very comprehensive set of unit tests for BinaryData. I > have not looked at what the issue is that you are currently

Re: BinaryData and odd bytes

2018-06-20 Thread Harbs
I expect the same. Harbs > On Jun 20, 2018, at 7:01 PM, Alex Harui wrote: > > FWIW, I would expect that to be faster than creating new Typed Arrays on each > read. The Garbage Collection implications of an instantiation on each read > made me cringe. > > My 2 cents,

Re: Migrating Enterprise Flex Application

2018-06-20 Thread Harbs
The initial work will be getting the application to compile and removing compile errors. That’s work which can easily be divided if you have developers to help you. Once you get the basics to compile, you will have a much better idea of what work is ahead of you. Good luck! Harbs > On Jun

Re: BinaryData and odd bytes

2018-06-20 Thread Harbs
with the float read methods and all multi-byte write methods. Harbs > On Jun 19, 2018, at 9:28 PM, Harbs wrote: > > DataView works in IE10+. The problem with DataView as that it’s slow. > >> On Jun 19, 2018, at 9:24 PM, Carlos Rovira wrote: >> >> Hi Harbs, >&

Re: Null pointer errors

2018-05-01 Thread Harbs
Yeah. I was planning on spending time on the compiler, but time has not been recently as forthcoming as I was hoping… ;-) FWIW, my daughter is finishing school soon and I’m going to have her try and learn the compiler. I’ll see how that goes… Harbs > On May 1, 2018, at 7:53 PM, Alex Ha

Re: Null pointer errors

2018-05-02 Thread Harbs
() returns an Object type. Changing the code to the following makes the error go away: var glyfPos:int = (this._font.getTable('loca').offsets[this.id] as int); var nextPos:int = (this._font.getTable('loca').offsets[this.id + 1] as int); Harbs > On

Re: Null pointer errors

2018-05-02 Thread Harbs
the types. I’m going to try and add a compiler option to output bracket notation for Object types to deal with the renaming issue of using Objects. Harbs > On May 2, 2018, at 9:36 AM, Alex Harui <aha...@adobe.com.INVALID> wrote: > > Hmm. That's what you get for using Object __ >

Re: Null pointer errors

2018-05-02 Thread Harbs
types depending on the context too. (Sometimes they can even be functions.) Harbs > On May 2, 2018, at 10:16 AM, Alex Harui <aha...@adobe.com.INVALID> wrote: > > Are the objects JSON objects? We have a utility that tries to convert JSON > to AS3 ValueObjects by

Re: Royale CLI issues

2018-05-02 Thread Harbs
The bin folder is created by the compiler while compiling the app. I have not been following this discussion very closely. What are you using to compile? > On May 2, 2018, at 9:48 AM, Dany Dhondt wrote: > > Hi Om, > > I tried both ways, none of them works. > Error: ENOENT:

Newest little Harbs (was Re: Null pointer errors)

2018-05-02 Thread Harbs
Well, how about a baby sister? ;-) We just had a baby girl about a half hour ago. :-) (I’ll post a picture as soon as I take one.) Harbs > On May 1, 2018, at 11:33 PM, Alex Harui <aha...@adobe.com.INVALID> wrote: > > I can think of better graduation gifts than the chance to lea

Re: Null pointer errors

2018-05-02 Thread Harbs
, {type: 'parent'}) }); I believe one of the primary features of these classes is that they support lazy initialization and the structures can be evaluated as needed. Harbs > On May 2, 2018, at 6:36 PM, Alex Harui <aha...@adobe.com.INVALID> wrote: > > What do some of the actual st

Re: Null pointer errors

2018-05-01 Thread Harbs
ory is that use of void 0 was confusing the compiler and causing errors elsewhere… I’m not sure how to demonstrate this… Harbs (P.S. Sorry I’ve been so quiet lately. Life has been pretty busy… ;) ) > On May 1, 2018, at 7:03 PM, Alex Harui <aha...@adobe.com.INVALID> wrote: > > What

Re: Newest little Harbs (was Re: Null pointer errors)

2018-05-03 Thread Harbs
Funny, but you weren’t very far off… ;-) We named our daughter Malka which is Hebrew for queen. (No, it was not because of Royale. I might be a geek but my wife definitely is not. ;-p She was named after a grandmother.) So she does in fact have a “Royale” name… :-) Harbs > On May 2, 2

Re: [Github] Denied Access

2017-10-20 Thread Harbs
(You don’t need an apache email on Github. The important piece is to do the linking.) > On Oct 20, 2017, at 5:15 PM, Harbs <harbs.li...@gmail.com> wrote: > > You need to link your github account using the Gitbox setup: > https://gitbox.apache.org/setup/ <https://gi

Re: [Github] Denied Access

2017-10-20 Thread Harbs
You need to link your github account using the Gitbox setup: https://gitbox.apache.org/setup/ > On Oct 20, 2017, at 5:02 PM, Peter Ent wrote: > > Hi, > > It looks like I do not have the ability to push changes to the Apache Royale >

Re: [royale-asjs] branch develop updated: Fix issue where setting "href" in a custom item renderer based on FooterLinkItemRenderer causes NPE

2017-10-26 Thread Harbs
I mean that I don’t understand why you added the null checking. That seems like "just in case". I also don’t understand how a Foot*Link*ItemRenderer could be missing a link element. > On Oct 27, 2017, at 12:13 AM, Piotr Zarzycki <piotrzarzyck...@gmail.com> > wrote: &

Re: [royale-asjs] branch develop updated: Fix issue where setting "href" in a custom item renderer based on FooterLinkItemRenderer causes NPE

2017-10-26 Thread Harbs
Isn’t this "just in case” code? Why doesn’t the subclass just override the data setter if it doesn’t have a link? (and why doesn’t it have one?) Harbs > On Oct 26, 2017, at 11:45 PM, pio...@apache.org wrote: > > This is an automated email from the ASF dual-hosted git repositor

Re: Apache Royale WebSite Preview

2017-10-22 Thread Harbs
f the site such as a blog (and that would not be on a public repo), but I do think we want consistent styling across everything. Makes sense? Harbs > On Oct 23, 2017, at 12:47 AM, Carlos Rovira <carlosrov...@apache.org> wrote: > > Hi Harbs, > > > 2017-10

Re: [MAVEN-BUILD] Royale-asjs - Build # 485 - Failure

2018-02-12 Thread Harbs
The relevant extern file appears to be: w3c_css.js Harbs > On Feb 12, 2018, at 1:16 PM, Harbs <ha...@in-tools.com> wrote: > > The externs for CSSStyleDeclaration has `overflow`, but it’s missing > `overflowX` and `overflowY`. > > That’s causing these two lines to fail

Re: [MAVEN-BUILD] Royale-asjs - Build # 485 - Failure

2018-02-12 Thread Harbs
in the patch to `js/target/downloads/browser` That seemed to do it… Harbs > On Feb 12, 2018, at 1:17 PM, Harbs <ha...@in-tools.com> wrote: > > The relevant extern file appears to be: w3c_css.js > > Harbs > >> On Feb 12, 2018, at 1:16 PM, Harbs <ha...@in-too

Re: [MAVEN-BUILD] Royale-asjs - Build # 485 - Failure

2018-02-12 Thread Harbs
I could change these lines to: (value as UIBase).element.style[“overflowY”] = "auto"; (contentView as UIBase).element.style[“overflowY”] = "auto”; Although, I think patching the extern file is probably a better solution. I’m not clear on how to patch it though. Any pointers? Har

Re: [MAVEN-BUILD] Royale-asjs - Build # 485 - Failure

2018-02-12 Thread Harbs
How do we ge royale-typedefs to be built on the Jenkins server? I checked and my changes did not seem to queue the job. Harbs > On Feb 12, 2018, at 1:48 PM, Harbs <ha...@in-tools.com> wrote: > > I think I figured it out. Here’s what I did: > > 1. I added the w3c_css.js

Re: [MAVEN-BUILD] Royale-typedefs - Build # 34 - Failure

2018-02-13 Thread Harbs
We need to add svn checkout of the externs like I did in the ant script. > On Feb 13, 2018, at 1:36 PM, Apache Jenkins Server > wrote: > > The Apache Jenkins build system has built Royale-typedefs (build #34) > > Status: Failure > > Check console output at

Re: [MAVEN-BUILD] Royale-typedefs - Build # 40 - Still Failing

2018-02-14 Thread Harbs
I don’t understand the console output. Suggestions? > On Feb 14, 2018, at 10:50 AM, Apache Jenkins Server > wrote: > > The Apache Jenkins build system has built Royale-typedefs (build #40) > > Status: Still Failing > > Check console output at

Re: [MAVEN-BUILD] Royale-typedefs - Build # 39 - Still Failing

2018-02-14 Thread Harbs
Piotr, Could you manually run the maven build. I’d like to see if I fixed it… > On Feb 14, 2018, at 10:39 AM, Apache Jenkins Server > wrote: > > The Apache Jenkins build system has built Royale-typedefs (build #39) > > Status: Still Failing > > Check console

Re: Support for SVG in older browsers and Operating Systems.

2018-02-24 Thread Harbs
, node modules could be first class citizens in Royale JS apps. Reliance on the closure libraries makes that much more difficult. My $0.02, Harbs > On Feb 25, 2018, at 6:03 AM, Greg Dove <greg.d...@gmail.com> wrote: > > With respect Alex, that does not sound too convincing to

Re: Refactoring Layouts

2018-02-26 Thread Harbs
Yes. Grid is better than Flexbox for most things, but going with grid really depends on what browsers we’re supporting. IE 10 and 11 do support grid, but their support for grid is based on an old spec. Edge got support for grid only recently.

Re: Royale and Websites (was Re: About website actual work in progress)

2017-12-22 Thread Harbs
which swcs would be “modules” and which would be hard-linked into application code? Not sure… Either way, I think the Royale site falls more into the second category than the first. My $0.02, Harbs > On Dec 22, 2017, at 10:36 AM, Alex Harui <aha...@adobe.com.INVALID> wrote: > >

Re: Royale and Websites (was Re: About website actual work in progress)

2017-12-22 Thread Harbs
FYI, with cache enabled the page load was so fast that there was no noticeable browser redraw! I’m blown away by the performance! > On Dec 22, 2017, at 12:19 PM, Harbs <harbs.li...@gmail.com> wrote: > > 2. The speed that the page loaded is incredible. First draw was less t

Royale RealWorld Benchmark

2017-12-21 Thread Harbs
There’s an interesting comparison of many web frameworks.[1] It would be really interesting to do a Royale version and see how it compares to the others. Anyone interested in working on this? (It would be a while before I could think of spending the time.) Harbs [1]https://github.com

Re: TypeNames vs ClassName

2018-02-26 Thread Harbs
with typeNames. That might simplify things. My $0.02, Harbs > On Feb 26, 2018, at 8:09 PM, Piotr Zarzycki <piotrzarzyck...@gmail.com> wrote: > > Hi Alex, > > Great reading and explanation. My first thought was to have something which > computes className together, bu

Re: TypeNames vs ClassName

2018-02-26 Thread Harbs
: “” + “ “ + _classList.join(“ “).trim(); } Which could replace the setClassName() method. The rest was simply how to go about building the _classList. We’re probably more or less saying the same thing. > On Feb 26, 2018, at 9:35 PM, Piotr Zarzycki <piotrzarzyck...@gmail.com> wrote: > > Harbs,

Re: Support for SVG in older browsers and Operating Systems.

2018-02-25 Thread Harbs
It’s not. Dictionary supports indexed access. ObjectMap requires set and get. Harbs > On Feb 25, 2018, at 10:02 AM, Carlos Rovira <carlosrov...@apache.org> wrote: > > Hi Harbs, > > if ObjectMap is a Dictionary, why don't you rename it to that? I think it > will make

Re: Support for SVG in older browsers and Operating Systems.

2018-02-25 Thread Harbs
of percentages, I don’t think we should be dropping IE 11 support. I’m not sure about IE 10 or IE 9. Harbs > On Feb 25, 2018, at 10:56 AM, Piotr Zarzycki <piotrzarzyck...@gmail.com> > wrote: > > I've been working as a web developer many many years ago. You can't even > imagi

Re: [royale-asjs] 01/01: Added Map

2018-02-25 Thread Harbs
I need help here: By adding the Map class for SWF, that seems to mess up the Map reference in JS blocks in ObjectMap. For some reason, the SWF class makes the compiler not find the extern definition of Map on the JS side. I’m not sure why. Any thoughts? Harbs > On Feb 25, 2018, at 1:30 PM,

Re: BinaryData and odd bytes

2018-06-21 Thread Harbs
. If you have the time to resolve these remaining issues, that would be awesome. :-) Harbs > On Jun 21, 2018, at 11:55 PM, Greg Dove wrote: > > Thanks Harbs - that short explanation makes it very clear. Thanks for > fixing my broken implementation :). I am guilty of not covering '

Re: Problem with "this" inside static method

2018-06-19 Thread Harbs
we should leave top-level functions alone as well. I tried to follow the logic on how it removes function blocks, and I had trouble doing so… Harbs > On Jun 18, 2018, at 7:44 AM, Harbs wrote: > >> I'm unclear as to what the desired JS output really should be. Would it >>

Re: MD5 [was: Re: BinaryData and odd bytes]

2018-06-22 Thread Harbs
013/javascript/conversion-from-uint8-to-int8-x-24.html> Harbs > On Jun 22, 2018, at 9:22 AM, Alex Harui wrote: > > On 6/21/18, 11:20 AM, "Harbs" wrote: > >The MD5 test actually failed in Flash too. Although the error was > different. > >I’m not

Re: ***UNCHECKED*** Re: Trouble building compiler

2018-07-26 Thread Harbs
it is picking up the > jars from royale-asjs that haven't been updated yet. You can add some > statements to the js/build.xml and see what ROYALE_TRANSPILER_HOME is > calculated to be. > > HTH, > -Alex > > On 7/25/18, 11:12 PM, "Harbs" wrote: > > &

Re: Trouble building compiler

2018-07-25 Thread Harbs
? > On Jul 24, 2018, at 8:58 PM, Alex Harui wrote: > > Did you run "ant wipe-all" in royale-compiler? > > On 7/24/18, 10:47 AM, "Harbs" wrote: > >I’m currently getting the following errors: > > https://na01.safelinks.protection.outlook.com/?url=ht

Re: Trouble building compiler

2018-07-25 Thread Harbs
Weird. I ran ant all again and it’s no longer getting this error, but it’s failing again on the Date tests (4 failures). > On Jul 25, 2018, at 9:43 AM, Harbs wrote: > > Yes I did, but it looks like that does not clear the files in the typedefs > repo. > > I just ma

***UNCHECKED*** Re: Trouble building compiler

2018-07-25 Thread Harbs
/frameworks/Flash\ Player\ Debugger.app/Contents/MacOS/Flash\ Player\ Debugger export ROYALE_HOME=/Apache/royale-asjs I’m now getting field-readonly error again… :-( > On Jul 25, 2018, at 9:52 AM, Harbs wrote: > > Weird. I ran ant all again and it’s no longer getting this error, but it’s

Re: ***UNCHECKED*** Re: Trouble building compiler

2018-07-25 Thread Harbs
I rolled back royale-typedefs to before the Date changes to enable my compilation. It does seem to me like we need to figure this out though… Harbs > On Jul 25, 2018, at 9:59 AM, Harbs wrote: > > I tried without environment vars and that might have made a difference. I’

Re: Any ideas why I'm not able to build the compiler?

2018-08-06 Thread Harbs
Here’s the output we’re both getting. I’m guessing it has to do with the timezone we’re both in (and maybe the time of day?)… https://paste.apache.org/eri2 I’m having trouble following exactly what these tests are doing. > On Aug 6, 2018, at 10:07 AM, Alex

Re: Any ideas why I'm not able to build the compiler?

2018-08-06 Thread Harbs
Figured it out… Positive GMT-relative timezones were not working. I just committed a fix for this. > On Aug 6, 2018, at 10:35 AM, Harbs wrote: > > Here’s the output we’re both getting. > > I’m guessing it has to do with the timezone we’re both in (and maybe the time > of

Re: XML filters broke

2018-08-08 Thread Harbs
eful to have in the feature/MXRoyale branch. I don't want to > stop to do a full merge right now. > > -Alex > > On 8/8/18, 2:36 PM, "Harbs" <mailto:harbs.li...@gmail.com>> wrote: > >What’s the issue with IDataInput/IDataOutput? Cherrypicked from where?

Re: XML filters broke

2018-08-08 Thread Harbs
Are you sure the logic to reassign this will work here? I’m willing to rewrite the code in XMLList to use call if you think it’ll make things easier in the compiler… > On Aug 8, 2018, at 11:03 PM, Alex Harui wrote: > > > > On 8/8/18, 12:59 AM, "Harbs" <mailto:h

Re: XML filters broke

2018-08-08 Thread Harbs
rrypick IDataInput/IDataOutput for our users that > would be helpful. > > Thanks, > -Alex > > On 8/8/18, 1:31 PM, "Harbs" wrote: > >Are you sure the logic to reassign this will work here? > >I’m willing to rewrite the code in XMLList to use cal

Re: XML filters broke

2018-08-08 Thread Harbs
I'm not sure it is worth worrying about > right now. > > AIUI, the ones in Network are intended to mimic the flash versions and are > what our users are looking for. > > My 2 cents, > -Alex > > On 8/8/18, 2:43 PM, "Harbs" wrote: > >It looks like we ha

XML filters broke

2018-08-06 Thread Harbs
. I assume this broke with the recent XML filter changes. Harbs

Re: XML filters broke

2018-08-07 Thread Harbs
I’m pretty sure that right now, we’d get: function(node) { return (node.over40(parseInt(node.age))) } Am I wrong? > On Aug 7, 2018, at 6:50 PM, Alex Harui wrote: > > Right now code like: > > over40(parseInt(age)) > > Results in: > > function(node) { return (over40(parseInt(age))) } > >

Re: XML filters broke

2018-08-07 Thread Harbs
018, at 10:27 AM, Harbs wrote: > > Your example does not seem to be right to me. > > Here’s the overview of how filters are supposed to work from the spec: > >> Overview >> When the left operand evaluates to an XML object, the filtering predicate >> adds the le

Re: XML filters broke

2018-08-07 Thread Harbs
If (match == true), call the [[Append]] method of r with argument list[i] > 7. Return r Makes sense? Harbs > On Aug 7, 2018, at 1:39 AM, Alex Harui wrote: > > In porting Tour De Flex, there were patterns like this (explorerTree is XML): > > explorerTree..node.(hasOwnProperty("

Re: XML filters broke

2018-08-07 Thread Harbs
in > EmitterUtils.writeE4xFilterNode isn't covering all cases. It is trying to > see what the expression resolves to, and returns false for known conditions > (like a member of a class). Just make it return false for your case (and > feel free to add that case to the tests).

Re: XML filters broke

2018-08-08 Thread Harbs
g we should make node the 'this' pointer in JS. > > My 2 cents, > -Alex > > On 8/7/18, 10:54 AM, "Harbs" wrote: > >I’m not following you. Wouldn’t we need the same logic to figure out where > to insert “this”? I’m not sure what practical difference there

Re: ***UNCHECKED*** Re: Trouble building compiler

2018-08-06 Thread Harbs
sers/aharui/adobe/flashplayer/11.1/Flash Player > Debugger.app/Contents/MacOS/Flash Player Debugger > > HTH, > -Alex > > On 7/26/18, 9:15 AM, "Alex Harui" wrote: > >In general, if "ant all" fails in the compiler, try running "ant" d

Re: XML filters broke

2018-08-07 Thread Harbs
ocs/Archive/Web/E4X/Processing_XML_with_E4X <https://developer.mozilla.org/en-US/docs/Archive/Web/E4X/Processing_XML_with_E4X> > On Aug 7, 2018, at 1:41 PM, Harbs wrote: > > OK. I fixed the issue, but there’s a couple of loose ends: > > 1. I don’t know how to add un

Re: XML filters broke

2018-08-07 Thread Harbs
r, so hopefully I’ll have a much easier time fixing compiler issues in the future. :-) Thanks, Harbs > On Aug 7, 2018, at 10:51 AM, Harbs wrote: > > Well, it looks like I was wrong. > > I just tested the following in Flash, and then both give the same results > (i.e. return the a

Re: Migrating Enterprise Flex Application

2018-08-08 Thread Harbs
What is missing? > On Aug 8, 2018, at 8:28 PM, Carlos Rovira wrote: > > Hi, > > just notice that current versions of IDataInput and IDataOutput are > incomplete. The rest of missed methods should be added and as well added to > implementor classes > > just my 2ctns > > 2018-08-08 9:29

Re: Possible compiler error

2018-08-28 Thread Harbs
I’m not sure why, but I think this is normal. (I think it’s a limitation in Flash.) To use a default, you need to have the superclass support default values as well. > On Aug 28, 2018, at 12:39 PM, Carlos Rovira wrote: > > I'm finding this error, and don't know if is a problem or not. > >

Re: Possible compiler error

2018-08-28 Thread Harbs
: public override function getNextLeaf(limitElement:IFlowGroupElement=null):IFlowLeafElement etc. There must be something else going on in your case. Harbs > On Aug 28, 2018, at 6:57 PM, Carlos Rovira wrote: > > Hi, > thanks for the responses, but maybe I didn't express r

Re: Emulation Components, Examples, Docs

2018-08-20 Thread Harbs
Thanks for the work on this. I hope folks step up to the plate here. Personally, I’m struggling to get my head above water after summer vacation right now… Harbs > On Aug 18, 2018, at 10:39 PM, Alex Harui wrote: > > Hi Folks, > > I've been making progress on migrati

Re: [Discuss] Start release process 0.9.3

2018-08-27 Thread Harbs
I have found that there’s an error with ACE on multiple machines. I was only able to get it to build by first running ant on the typedefs repo and then the asjs repo succeeded. On my Mac, it worked fine, so I’m not really sure what triggered the problem. Maybe this is related to the failures

Re: Migrating Enterprise Flex Application

2018-07-18 Thread Harbs
Some comments: > AlivePDF.swc You’re probably going to need some HTML-compatible library for this. Take a look at PDFKit https://github.com/devongovett/pdfkit > Cairngorm.swc > CairngormEnterprise.swc I’ve never used Cairngorm. I do use PureMVC and

Trouble building compiler

2018-07-24 Thread Harbs
I’m currently getting the following errors: https://paste.apache.org/3Wpg <https://paste.apache.org/3Wpg> It looks like the Date tests are causing problems. Any ideas why? Harbs

Re: Query on Royale dependency generation

2018-07-19 Thread Harbs
rsing the dependencies, I'm not sure what's up. > > If anyone has a project that uses BinaryData, are they able to check what > they see in the generated HTML for that one, to see whether it's just me who > doesn't have the Endian dependency added..? FWIW I've been trying both with >

Re: Query on Royale dependency generation

2018-07-19 Thread Harbs
possible it’s being pulled from there. I’m not sure I have an application which uses BinaryData without one of those. > On Jul 19, 2018, at 3:19 PM, Harbs wrote: > > That’s weird. I believe the default is false (although I think the default > should be true). > > Try setting

Re: Bead Docs etc.

2018-07-19 Thread Harbs
Well, duh. I forgot about the royal-docs repo…  They can just fork that and submit pull requests. I do think that we should have some of this self documenting from the source code though. I’d like to explore that. Thanks! Harbs > On Jul 19, 2018, at 2:23 PM, Andrew Wetmore wr

Bead Docs etc.

2018-07-19 Thread Harbs
to give her access to the docs. I think ideally, this should be something that the code self-documents. Thoughts? Harbs

Re: Query on Royale dependency generation

2018-07-19 Thread Harbs
Are you using the -remove-circulars compiler option? > On Jul 19, 2018, at 1:05 PM, Frost, Andrew wrote: > > Hi guys > > I'd been getting an error when running a simple Royale application: > Uncaught TypeError: Cannot read property 'BIG_ENDIAN' of undefined >at new

Re: Query on Royale dependency generation

2018-07-19 Thread Harbs
is is wrong: > goog.addDependency('../../../org/apache/royale/utils/BinaryData.js', > ['org.apache.royale.utils.BinaryData'], > ['org.apache.royale.utils.IBinaryDataInput', > 'org.apache.royale.utils.IBinaryDataOutput']); > > If so, then that needs to change (somehow) and it would then solve my > problem...

Re: Bead Docs etc.

2018-07-19 Thread Harbs
ing in ASDoc would have helped. Type in "dropdown" and see all classes > with "dropdown" in the name. Type in "disable" see all classes with > "disable" in the name. Could they work on improving the ASDoc app? > > -Alex > >

Re: Bead Docs etc.

2018-07-19 Thread Harbs
d remove. Try it, oops, it doesn't work, try another one. > > Also keep in mind that ASDoc is an app for Royale so we can add more asdoc > tags and filter and do other visualizations on those tags. > > My 2 cents, > -Alex > > On 7/19/18, 5:03 AM, &quo

Re: Query on Royale dependency generation

2018-07-19 Thread Harbs
(); } return _myFoo; } There’s slightly more overhead than a const, but at least it works… Harbs > On Jul 19, 2018, at 4:39 PM, Frost, Andrew wrote: > > Hi > >> If it’s in the big list, it should be initialized correctly. > .. but depending on the order of

Re: royale-extras and the royale-typedefs Maven build

2018-09-01 Thread Harbs
Yes. Royale-extras exists to supplement Royale in up-stream or down-stream code which is not part of our official project. The only thing there right now is a fork of closure-compiler with patched extern files. Ideally any externs which need patching should be patched in this org. I see you’re

Re: [Discuss] Start release process 0.9.3

2018-09-02 Thread Harbs
-config file appears to be the same when compiling with all branches. Harbs > On Sep 1, 2018, at 6:55 PM, Piotr Zarzycki wrote: > > Carlos, > > I will work on Monday on that. I'm going to take the simplest blog example > and analyze why it is not displaying. > > DataG

Re: [Discuss] Start release process 0.9.3

2018-09-02 Thread Harbs
It looks like the merge from MXRoyale has problems. DataContainerView has none of the changes that were done in MXRoyale (among other things) DataContainerView got all the methods that were originally in DataContainerBase, but those changes did not survive the merge… Fun, fun… ;-) Harbs

Re: [Discuss] Start release process 0.9.3

2018-09-02 Thread Harbs
with a RTE because removeAllItemRenderers is undefined. > On Aug 31, 2018, at 3:42 PM, Harbs wrote: > > I’ll try to work on it on Sunday. > >> On Aug 31, 2018, at 3:29 PM, Piotr Zarzycki >> wrote: >> >> Guys, >> >> ANT and Maven build on bra

Re: [Discuss] Start release process 0.9.3

2018-09-02 Thread Harbs
I found the problem. Carlos, I don’t know why you changed the tokens in the config files, but changing them made them unrecognized and caused the FlexUnit tests to fail. I reverted those changes. I don’t know what effects these changes had on the Maven build. Harbs > On Sep 2, 2018, at

Re: [Discuss] Start release process 0.9.3

2018-09-02 Thread Harbs
To tell you the truth, I don’t understand exactly how the tokens are working, but the $ prefix definitely breaks it. I’m guessing the brackets is an XML construct recognized as a variable in things like E4X. Harbs > On Sep 2, 2018, at 1:30 PM, Carlos Rovira wrote: > > Hi Habs, &g

Re: [Discuss] Start release process 0.9.3

2018-09-02 Thread Harbs
ó: > >> I meant here DataContainerView and DataContainerBase missing methods >> there. >> >> Thanks, >> Piotr >> >> niedz., 2 wrz 2018 o 14:24 Harbs napisał(a): >> >>> I’m not sure what you are referring to. Do you mean the merge confli

Re: [royale-asjs] branch feature/new_merge updated: Added ignores

2018-09-05 Thread Harbs
js code and you’d use @royaleignorecoercion. Is that helpful? Harbs > On Sep 5, 2018, at 8:15 PM, Carlos Rovira wrote: > > Hi Harbs, > > in order to add this comments myself, how do I need to have into account. > This part is still a bit obscure for me > thanks > >

Re: About differences between versions with/without Basic

2018-09-05 Thread Harbs
. Thanks, Harbs > On Sep 5, 2018, at 12:17 PM, Carlos Rovira wrote: > > Hi, > > Jewel sample has at this time many few differences when linked with Basic. > > Diff merge tool is reporting mostly differences in classes we all know at > this time: things related

Re: GOOG::DEBUG

2018-09-07 Thread Harbs
See if you > get the same problem in JewelExample. > > Thanks, > -Alex > > On 9/6/18, 3:53 PM, "Harbs" wrote: > >Well, actually I was only focused o JS output. > >Not sure how to make this work for SWF output… > >> On Sep 7, 2018, at 1:41

Re: GOOG::DEBUG

2018-09-07 Thread Harbs
It looks like the problem is caused by: * @param {...} rest What would happen if we remove the @param or change it to @param {*=} rest? Both of those work. > On Sep 7, 2018, at 8:35 AM, Alex Harui wrote: > > But first, I'm not sure your idea is going to work in all cases. See if you > get

Re: GOOG::DEBUG

2018-09-07 Thread Harbs
ot > take extra parameters. Then folks would have to concat strings before > calling trace. > > -Alex > > On 9/6/18, 11:58 PM, "Harbs" wrote: > >It looks like the problem is caused by: > * @param {...} rest > >What would happen if we rem

Re: GOOG::DEBUG

2018-09-08 Thread Harbs
wanted to fix the build in the meantime. Suggestions? Harbs > On Sep 7, 2018, at 7:14 PM, Alex Harui wrote: > > The fix does not look right to me. Here are a link that indicates that > variable number of arguments should be using "...". > > https://github.com/

mx.controls.RichTextEditor

2018-09-06 Thread Harbs
There is both an mxml file and an as file defining mx.controls.RichTextEditor. This is causing a compiler warning. The mxml version looks more complete. Should the as file be removed? Or should the as version be completed and remove the mxml one? Thanks, Harbs

Re: [Discuss] Start release process 0.9.3

2018-09-06 Thread Harbs
gt; >>> It looks like there is a missing Layout for main application, because >>> that function returns null: >>> >>> var /** @type {org.apache.royale.core.ILayoutHost} */ viewBead = >>> this.host.getLayoutHost(); >>> >>> wt., 4 wrz 2018 o 15:25 Piotr

Re: [Discuss] Start release process 0.9.3

2018-09-06 Thread Harbs
OK. Done. > On Sep 6, 2018, at 4:20 PM, Piotr Zarzycki wrote: > > I'm ok with merging back to develop, since everything seems to be working.

Re: [Discuss] Start release process 0.9.3

2018-09-06 Thread Harbs
. Harbs > On Sep 6, 2018, at 12:46 PM, Piotr Zarzycki wrote: > > Harbs, > > I will need your assistance with getting up Your Dr Flex. I will still try > ant build etc, but don't want to spend to much time on this if others have > it working. > > Thanks for checking! >

Re: [royale-asjs] branch feature/MXRoyale updated: Update ApplicationDomain.as

2018-09-06 Thread Harbs
Dunno. It just seems odd to me that it was changed to always return null. I was just asking. I was not following the work on this closely enough. > On Sep 6, 2018, at 6:55 PM, Alex Harui wrote: > > Harbs, what was wrong with this commit? It looked ok to me. currentDomain &g

Re: [royale-asjs] branch feature/MXRoyale updated: Update ApplicationDomain.as

2018-09-06 Thread Harbs
I get that. I was just curious why the setter was removed… Either way, if there’s some low hanging fruit in the emulation that you think I should work on, let me know… I don’t have a lot of time right now, but I’m happy to help with what I can. Harbs > On Sep 6, 2018, at 7:19 PM, Alex Ha

Re: GOOG::DEBUG

2018-09-06 Thread Harbs
) { theConsole = console; } } try { if (theConsole && theConsole.log) { theConsole.log.apply(theConsole, rest); } } catch (e) { } }; I wonder if we should add a @debug comment to methods which would cause the compiler to automatically add if(!goog.DEBUG)return

Re: GOOG::DEBUG

2018-09-06 Thread Harbs
I also see ROYALE::DISPLAYOBJECT What’s the deal with that? > On Sep 7, 2018, at 12:13 AM, Harbs wrote: > > I see code like this in MXRoyale: > > if (GOOG::DEBUG) > trace("get_uid not implemented"); > >

Re: [Discuss] Start release process 0.9.3

2018-09-06 Thread Harbs
Yeah. Looks about the same. MX HelloWorld is working. > On Sep 6, 2018, at 4:05 PM, Piotr Zarzycki wrote: > > Harbs, > > I think we should assume that you can see following results [1] - This has > been build from MXRoyale branch. > > What about MX HelloWorld example

<    1   2   3   4   5   6   7   8   9   10   >