Re: [2/4] git commit: [flex-asjs] [refs/heads/develop] - LayoutBase Fix for strand set to null in remove bead, plus performance improvements in js

2017-06-09 Thread Greg Dove
01%7C%7C > >b863f5cff77e41e305b708d4aebcd62e%7Cfa7b1b5a7b34438794aed2c178de > cee1%7C0%7C > >0%7C636325573442866659&sdata=E%2B6iEUFqZB3%2BO15% > 2BK3sHlnaiuIkWgm8DvWVcmUm > >nnIk%3D&reserved=0 > > > >Branch: refs/heads/develop > >Commit: 08af60c775

Re: [DISCUSS] Discuss Release Apache Flex FalconJX 0.8.0 RC1

2017-06-13 Thread Greg Dove
Piotr, I have been trying to get this to work at various stages also. fyi inside typedefs/js there is an ant build.xml with a 'make_patch' target which seems like it is intended to be used for updating the patch, and it does seem to update it, but then I was hitting other problems after it did, so

Re: [VOTE] Release Apache Flex FalconJX 0.8.0 RC1

2017-06-14 Thread Greg Dove
Alex, fyi if I delete the target directory inside flex-typedefs (to be sure it is 'clean', although I am quite sure mvn clean does this also) , then run mvn clean compile, i get the following in svg.js inside downloads: /** * @param {string} type * @param {!EventListener|(function(!Event): (bool

Re: [VOTE] Release Apache Flex FalconJX 0.8.0 RC1

2017-06-14 Thread Greg Dove
A possible clue: I can see the patched file in : C:\Users\Greg\.m2\repository\.cache\maven-download-plugin On Thu, Jun 15, 2017 at 11:25 AM, Greg Dove wrote: > Alex, fyi if I delete the target directory inside flex-typedefs (to be > sure it is 'clean', although I am quite sur

Re: [VOTE] Release Apache Flex FalconJX 0.8.0 RC1

2017-06-14 Thread Greg Dove
t 11:40 AM, Greg Dove wrote: > A possible clue: > > I can see the patched file in : > C:\Users\Greg\.m2\repository\.cache\maven-download-plugin > > > > On Thu, Jun 15, 2017 at 11:25 AM, Greg Dove wrote: > >> Alex, fyi if I delete the target directory insid

Re: [VOTE] Release Apache Flex FalconJX 0.8.0 RC1

2017-06-14 Thread Greg Dove
e the > FalconJX RC1 source package, I'm not sure that's ever been tried. That > could cause the patch to fail as the flex-typedefs folder is nested one > level. I moved the flex-typedefs folder outside of the FalconJX folder > and Maven worked for me. > > Thanks, &g

Re: [VOTE] Release Apache Flex FalconJX 0.8.0 RC1

2017-06-14 Thread Greg Dove
un 15, 2017 at 12:07 PM, Alex Harui wrote: > That's interesting. But now that you've run Maven again, what version of > svg.js got cached? The svg.js in my cache does need patching. > > -Alex > > On 6/14/17, 4:54 PM, "Greg Dove" wrote: > > >I just

Re: [VOTE] Release Apache Flex FalconJX 0.8.0 RC1

2017-06-15 Thread Greg Dove
Hi Piotr, "If option a - mean avoid caching svg.js file - It is not a problem I know how to do this for this file and it can be downloaded for each build." yes, the idea here was to avoid caching the download in the maven-download-plugin's own cache. I did not know if there was an option to do w

Re: [VOTE] Release Apache Flex FalconJX 0.8.0 RC1

2017-06-15 Thread Greg Dove
Thanks Piotr, I think any reliable repro will be difficult, because it just seems to 'happen' sometimes. I had maven typedefs build working fine for a long time before this happened. Then it happened for svg.js and also later for the google maps js. It does sound like others have experienced this t

[FlexJS] Question about wiki access

2017-06-26 Thread Greg Dove
I have been trying to get access to the wiki so I can add a page for PAYG under references and guides. Is this functionality intended to be available for committers? I can only see/select 'Aries' as an option under 'Create' If not, then I can provide my draft content to someone else who has acces

Re: [FlexJS] Question about wiki access

2017-06-26 Thread Greg Dove
04 PM, Alex Harui wrote: > What's your wiki username? > > On 6/26/17, 12:00 AM, "Greg Dove" wrote: > > >I have been trying to get access to the wiki so I can add a page for PAYG > >under references and guides. > > > >Is this functionality intended

[FlexJS] PAYG definitions and guidance, Please participate

2017-06-30 Thread Greg Dove
Following on from other discussions, I have made a start on something here https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=71013028 In the end this will only work if people want to do it. But I do believe that one way of getting everyone on the same page here (and we do have clear

Re: [FlexJS] PAYG definitions and guidance, Please participate

2017-07-01 Thread Greg Dove
sets. Express will have different defaults. > MDL has different defaults. The Basic set has a particular design goal > (feature parity with SWF) and thus will have different defaults. There is > often no one right answer, so we build different component sets and folks > will try them a

Re: [FlexJS] PAYG definitions and guidance, Please participate

2017-07-03 Thread Greg Dove
Really pleased to see the input from you all, and thanks for the revisions and corrections so far. "To me it's a bit difficult to digest in its current format. I would prefer to see a list of design patterns with descriptions of concrete problems and proposed solutions." I definitely agree. I had

Re: [FlexJS] technical debt

2017-07-06 Thread Greg Dove
>> Well Object is always THE base class. It may not be known what the actual base class should be and it is certainly not flexible to always create a base class just to have a one to satisfy the rule. >Nor would I suggest that. There are some cases where creating a new class with properties is goi

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-08 Thread Greg Dove
I just glanced back at your mxml. Not sure if this will help... but you could try moving the fx:Script tag outside the HContainer tag so it is top level inside your mxml. This seems more conventional although I am not sure whether it is the cause of the compiler issues you are seeing or not. -Greg

Re: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-09 Thread Greg Dove
I took a quick look at SearchBox.mxml there are at least some basic xml errors in it. xmlns:ns="library://ns.apache.org/flexjs/svg> <- missing quote wrote: > Allen, > > SearchBox.mxml - look good to me - of course if you have ISearchable - but > I > don't see it. Apart of that you have in this

[FlexJS] Question about Events/possible bugs

2017-07-10 Thread Greg Dove
I noticed a problem with VerticalFlexLayout in IE11 (and presumably older IE browsers). The JS output causing problems has child.dispatchEvent(new Event("layoutNeeded")); The reason is that the org.apache.flex.events.Event import is missing from the COMPILE::JS build scope So it is falling back

Re: git commit: [flex-asjs] [refs/heads/develop] - Uploads are assumed to be POST

2017-07-11 Thread Greg Dove
Guys, we certainly have been here before. >From a js release 'size' perspective, I don't think it matters whether we use constants or liteterals, I think the main difference is that if the static const exists it will also be included in the release output as I expect it has an @export annotation.

Re: [FlexJS] Question about Events/possible bugs

2017-07-11 Thread Greg Dove
; > >>classes. > > >> > > >> -Alex > > >> > > >> On 7/10/17, 1:16 AM, "Harbs" wrote: > > >> > > >> >Good catch. > > >> > > > >> >Without looking at them, I

Re: [FlexJS]Runtime type checking and PAYG

2017-07-11 Thread Greg Dove
oops, that last idea won't work so well with @flexjsignorecoercion ArrayBuffer above it :) On Wed, Jul 12, 2017 at 9:54 AM, Greg Dove wrote: > > In application development I would normally do this type of thing inside > CONFIG::dev > blocks, or similar, so having the possibil

Re: [FlexJS]Runtime type checking and PAYG

2017-07-11 Thread Greg Dove
In application development I would normally do this type of thing inside CONFIG::dev blocks, or similar, so having the possibility, as described, to exclude development-only code (extra type checking, null checks etc) would definitely also be helpful PAYG-wise from within the framework. The genera

Re: git commit: [flex-asjs] [refs/heads/develop] - Uploads are assumed to be POST

2017-07-11 Thread Greg Dove
t; What happens if the compiler is run without --generate_exports? Do the > @exports get stripped out? If yes, is there some kind of “super export”? > There needs to be some way to invoke the app… > > Harbs > > > On Jul 11, 2017, at 11:40 PM, Greg Dove wrote: > > > &

Re: git commit: [flex-asjs] [refs/heads/develop] - Uploads are assumed to be POST

2017-07-11 Thread Greg Dove
s be > required for FlexJS. > > Again, though, I think this optimization isn't urgent. > > goog.DEBUG is already being used in Language.as. > > -Alex > > On 7/11/17, 4:01 PM, "Greg Dove" wrote: > > >I'll try those things, I have not tried any o

Re: [FlexJS] Bindable and consts

2017-07-12 Thread Greg Dove
I have a vague recollection of needing some deprecated annotation @expose for static accessors to work in the past because @export did not work. Maybe it was related? -Greg [sent from my phone] On 13/07/2017 6:24 PM, "Alex Harui" wrote: Well, I looked into this and this definitely falls into th

Re: git commit: [flex-asjs] [refs/heads/develop] - added simple positioning to tool tip / make tool tip not react to mouse events

2017-07-13 Thread Greg Dove
Harbs I think that jsfiddle is not working because of the missing quotes in the bracket access. There are a bunch of uses of the bracket access throughout the framework, including, iirc, some things like ['flex-basis'] etc. imo, I agree these should be using the javascript camel case properties,

Re: PAYG

2017-07-24 Thread Greg Dove
Josh, that was the general idea with the wiki docs: -One section for 'definitions' -And another section for examples/archetypes with advantages/disadvantages of each - as a form of 'guidance', emphasis on the practical, but not a proscriptive approach. I'm sorry I have not had time to come back

Re: git commit: [flex-falcon] [refs/heads/develop] - compiler-jx: Added -js-default-initializers option to force uninitialized variables to default to the same values in JS as they do in SWF.

2017-08-01 Thread Greg Dove
Maybe I'll convince others eventually. fwiw Josh, I agree with you. I agree undefined works the same as NaN for many things for example, but it fails on very basic things like if (x is Number) that to me is quite wrong and would be quite unexpected for anyone expecting flexjs actionscript to

Re: git commit: [flex-falcon] [refs/heads/develop] - compiler-jx: Added -js-default-initializers option to force uninitialized variables to default to the same values in JS as they do in SWF.

2017-08-01 Thread Greg Dove
Yes it does. NaN is an 'instance' of the Number type (even though it is 'Not a Number' ;) ) On Wed, Aug 2, 2017 at 10:18 AM, Harbs wrote: > Interesting. > > I’m not sure that I realized that NaN passes that test. Does it? > > > On Aug 2, 2017, at 1:12

Re: git commit: [flex-falcon] [refs/heads/develop] - compiler-jx: Added -js-default-initializers option to force uninitialized variables to default to the same values in JS as they do in SWF.

2017-08-01 Thread Greg Dove
I’d prefer if we could somehow get the best of both worlds. Sorry Harbs, but I don't get it. I think the agreement is already to 'have the best of both worlds'. The issue is what the default should be. I know that you don't think you could have both behaviours as the default :). If we take away p

Re: git commit: [flex-falcon] [refs/heads/develop] - compiler-jx: Added -js-default-initializers option to force uninitialized variables to default to the same values in JS as they do in SWF.

2017-08-02 Thread Greg Dove
mean is that if we can somehow have the values uninitialized in > >> JS, but in all cases where uninitialized values somehow diverge with > >> ActionScript behavior be solved (so the use cases would behave > >> correctly), then we’d have the advantages of undefined together

Re: git commit: [flex-falcon] [refs/heads/develop] - compiler-jx: Added -js-default-initializers option to force uninitialized variables to default to the same values in JS as they do in SWF.

2017-08-02 Thread Greg Dove
or-all-comparisons-returning-false-for-ieee754-nan-values > >>> > >>> https://people.eecs.berkeley.edu/~wkahan/ieee754status/IEEE754.PDF > >>> > >>> My father complained about when the IBM 360 came out in the early > 1960’s > >> he had t

Re: Package, Class and Method renaming

2017-08-08 Thread Greg Dove
Alex fyi I have wondered about breaking the class strings into literal concatenation expressions with package parts for CLASS_INFO and in the reflection data. This should end up minifying via closure compiler much better, I think. e.g. 'org.'+'apache.'+'flex.'+'events.'+'Event' On Wed, Aug 9,

Re: Package, Class and Method renaming

2017-08-08 Thread Greg Dove
I guess that might help with the code minification, but it may be irrelevant with the longer original strings with something like gzip compression already there are so many levels to this. On Wed, Aug 9, 2017 at 9:12 AM, Greg Dove wrote: > Alex fyi I have wondered about breaking the cl

[FlexJS] ManualTests updates

2017-08-21 Thread Greg Dove
I just made some changes in manual tests, including updates to the ant scripts to be more consistent with the ant scripts in the regular examples. I fixed a couple of issues in the GenericTests and renamed it to UnitTests and also added a maven build for that project. It should be easy to add maven

Re: [3/8] git commit: [flex-asjs] [refs/heads/feature/amf] - ClassAliasBead for registering class aliases for AMF

2017-08-22 Thread Greg Dove
Hi Alex, I see you are working on amf. Not sure if you noticed already or not, but just in case I did add class alias support methods in the reflection package for both targets. I tested this to work the same for swf and js. (for multiple aliases etc). registerClassAlias getAliasByClass getCla

Re: [DISCUSS} Fork FlexJS from Apache Flex

2017-08-29 Thread Greg Dove
ical to convert the current git > repos listed above. We want to explore using GitHub's wiki and > documentation tools. > > Issue Tracking > > If GitBox allows us to use GitHub issues, we will use that, otherwise, we > will request a new JIRA project from Infra. > &g

[FlexJS] Re: Remote object for Flex JS

2017-09-01 Thread Greg Dove
t; In doing so, the AMF code now uses the Reflection APIs that Greg Dove > contributed. The test still only passes a String to the server, but in > doing so, it has to wrap the String in an AsyncMessage subclass and I > think I have watched the AMF code correctly serialize and deserialize &g

Re: [Discuss] Apache Flex SDK Installer 3.3.2 RC1*

2018-06-20 Thread Greg Dove
I just gave it a try (Win 10). It's definitely not without some friction, but it works! I think I did not realize that it had launched the downloaded 64 bit version so I did exit and relaunch from 32 bit again before I 'got' it. Anyhow I installed 4.16.1/Air 30 sdk sucessfully with it. Observati

Re: Can't debug. Plug-ins do nothing.

2018-12-06 Thread Greg Dove
I went through this not so long ago. fyi the best option I found was Opera. It's now like Chrome, but flash debugging still worked for me. If you can't get anything else to work, you might want to try that. On Fri, Dec 7, 2018 at 6:27 PM Piotr Zarzycki wrote: > Hi Dannemann, > > If I remember

SWF Graphics api emulation.

2019-12-09 Thread Greg Dove
Just some early advice that I expect to have a very close emulation of the flash graphics API available by early January at the latest. I had a client express a need for this, and I have quite a lot of progress already. I know we have various graphics support already in Graphics and MXRoyale, but t

Re: SWF Graphics api emulation.

2019-12-09 Thread Greg Dove
> package in Basic? > > Thanks, > Harbs > > > On Dec 10, 2019, at 4:51 AM, Greg Dove wrote: > > > > Just some early advice that I expect to have a very close emulation of > the > > flash graphics API available by early January at the latest. I had a >

Re: SWF Graphics api emulation.

2019-12-09 Thread Greg Dove
Here's how I am testing across machines [1] <-- that should be [2] On Tue, Dec 10, 2019 at 8:12 PM Greg Dove wrote: > > This is player level emulation of [1], supporting (as much as possible) > direct use of legacy flash player-level (i.e. no graphics lib) drawing > cod

Re: SWF Graphics api emulation.

2019-12-11 Thread Greg Dove
, I like your domain name. :-) > > Harbs > > > On Dec 10, 2019, at 9:12 AM, Greg Dove wrote: > > > > This is player level emulation of [1], supporting (as much as possible) > > direct use of legacy flash player-level (i.e. no graphics lib) drawing > > code. So it

MXRoyale question - styleName

2020-05-06 Thread Greg Dove
This question is mainly for Alex or anyone else involved in porting an MXRoyale application. When porting styleName='myStyleName' what is considered the best approach? I would have assumed that styleName could simply be added to the underlying element's classList if it is a string, so it (I assum

Re: MXRoyale question - styleName

2020-05-06 Thread Greg Dove
7, 2020 at 5:03 PM Alex Harui wrote: > Without thinking too hard, I would output a warning if someone passes > something other than a string. Then we'll know if anybody really needs the > more complex cases and can figure out what to do about it then. > > -Alex > > On 5/6/2

Re: MXRoyale question - styleName

2020-05-07 Thread Greg Dove
on 2020 so the main question is > what will get someone migrated faster? Emulation is usually faster and > safer than changing code paths in many places in the application and helps > others trying to use the emulations. But some emulations (runtime property > access) are too hard o

Re: MXRoyale question - styleName

2020-05-07 Thread Greg Dove
n his > default browser, which is IE11, and saw nothing working. It’s still out > there. > > >It's interesting that in the same month as someone wants modules to work > in IE11 we also want to get rid of IE11 support. > > On 5/7/20, 2:09 AM, "Greg Dove"

Re: MXRoyale question - styleName

2020-05-07 Thread Greg Dove
org.apache.royale.utils.ClassSelectorList. Can you think of a reason why that would be needed here? I assume it should not be needed. Thanks Greg On Fri, May 8, 2020 at 5:40 AM Greg Dove wrote: > > Oh, I know it's still out there. But we know it is small and getting > smaller. It is the age-old dilemma of the ne

Re: Update on Adobe Flash Player End of Support from Microsoft today

2020-09-04 Thread Greg Dove
That's interesting, it does sound like it might continue to be 'available' in terms of 'function' after 2020 for player versions since June this year, but disabled by default and not 'supported'in the old Edge and in IE11. That interpretation is actually 'better' than I had understood it to be in t

Re: Update on Adobe Flash Player End of Support from Microsoft today

2020-09-04 Thread Greg Dove
l still support Flash > player in IE11 post DEC 2020. > I also could not get clearly interpret this blog post if this is the case. > > Regards, > Shyam > > On Fri, Sep 4, 2020 at 5:27 PM Greg Dove wrote: > > > That's interesting, it does sound like it might conti

Re: Update on Adobe Flash Player End of Support from Microsoft today

2020-09-07 Thread Greg Dove
eed to run the content. Don't expect that the > Flash Player in the browser is going to be a viable option for much > longer... > > -Nick > > On Sat, Sep 5, 2020 at 1:10 AM Greg Dove wrote: > > > Yes this gives some 'hope' :) > > But it is difficult to b

Re: [VOTE] Release Apache flex-sdk-converter-maven-extension 1.1.0 RC1

2023-02-06 Thread Greg Dove
Vote: +1 based on following checks conducted: -sha512 hash matches the release.zip hash -signing key matches Josh (following https://www.apache.org/info/verification.html) -nothing unusual observed from README, RELEASE_NOTES, NOTICE and LICENSE files -source code compiles without error. -usage of

Re: [DISCUSS] Release Apache flex-sdk-converter-maven-extension 1.1.0 RC1

2023-02-06 Thread Greg Dove
Thanks for your work on this, Josh. I followed your guide in here, and think I covered all the required testing, and added my vote in the vote thread -Greg On Sat, Feb 4, 2023 at 5:23 AM Josh Tynjala wrote: > At minimum, extract the source-release .zip file and run `mvn clean > install` in the r

Re: [DISCUSS] Release Apache flex-sdk-converter-maven-extension 1.1.0 RC1

2023-02-10 Thread Greg Dove
Just for the record: when I compiled I was using openjdk 11.0.6, so that is the reason I did not encounter that issue. On Fri, Feb 10, 2023 at 9:30 PM Yishay Weiss wrote: > I can confirm that it compiles on windows for java 8. I’ll try to do some > more checks later and vote. Thanks. > > From:

Re: [DISCUSS] Release Apache Flex BlazeDS 4.8.0 RC1

2023-03-14 Thread Greg Dove
Hi Josh, Just a quick note to say that I will test and review the build this coming weekend. Sorry I can't get there sooner. -Greg On Thu, Mar 9, 2023 at 12:01 PM Josh Tynjala wrote: > Hi, > > Please discuss the BlazeDS 4.8.0 release candidate here and not in the vote > thread. > > Thanks, >

Re: [VOTE] Release Apache Flex BlazeDS 4.8.0 RC1

2023-03-19 Thread Greg Dove
+1 Checked on Windows 10 with: Apache Maven 3.5.4 Java version: 1.8.0_181 Source package built and installed without issue via maven. (I did not attempt to test the usage of the build.) Source release check: (zip files were checked) SHA512 matches. zip file was signed by joshtynj...@apache.or

Re: AMFPHP support for FlexJS

2016-10-27 Thread Greg Dove
As Alex mentioned, I think things should be ready to support AMF (and/or potential other serialization/deserialization approaches) via Reflection. I already added support for registerClassAlias, getClassByAlias, and (new) getAliasByClass,in the reflection package - note that I did not put these i

Re: [FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread Greg Dove
I'll chime in with a sugestion: "Origin" As in FlexJS Origin Components. Origin has both the general meaning of 'starting point' and also has the coordinate system meaning that is a loose metaphor for the possibility of increasing or decreasing something (e.g. features/weight) along an axis/conti

Re: [FlexJS] Reflection API - How to Use

2017-01-13 Thread Greg Dove
Hi Carlos, If you look inside manualtests/GenericTests and in particular at the reflection unit tests it should give you some (hopefully) good examples. e.g. ReflectionTesterTest [1] 1. https://git-wip-us.apache.org/repos/asf?p=flex-asjs.git;a=blob_plain;f=manualtests/GenericTests/src/flexUnitT

[FlexJS] Quick check on HttpService fix

2017-02-27 Thread Greg Dove
Justin logged a bug here and I encountered the same issue: https://issues.apache.org/jira/browse/FLEX-35271 At first glance this seems like a real quick fix, just delete the two lines from : if (contentData) { element.setRequestHeader('Content-length', contentData.length.toString()); e

Re: [FlexJS] Quick check on HttpService fix

2017-02-28 Thread Greg Dove
. > > It could be the right answer is to have some sort of > Trusted/UntrustedHTTPService choices for our customers. > > -Alex > > On 2/27/17, 8:37 PM, "Greg Dove" wrote: > > >Justin logged a bug here and I encountered the same issue: > >https://issue

[FlexJS] Any gude to getting checkintests working

2017-03-02 Thread Greg Dove
There are a few things I have not yet gotten working so far, and the ant checkintests is one of them. If I understand correctly I should be running this before any commit? I tried to make sense of this today, but it is not so easy (for me) because I am unfamiliar with this stuff. As I have nev

[FlexJS] Working to fix a compiler bug - problem with the Problems

2017-03-02 Thread Greg Dove
I have been looking into FLEX-35273 [1]. This is a compiler bug where it is possible to do things that don't make sense, like: or even this : Neither of the above caused compile time errors. I have a fix for both the above scenarios. For the first one, I used

Re: [FlexJS] Any gude to getting checkintests working

2017-03-02 Thread Greg Dove
e a > folder with both flex-asjs and flex-sdk in it, and flex-sdk has been built > via its "ant main checkintests". > > Let me know what error you are getting. > > -Alex > > On 3/2/17, 8:59 PM, "Greg Dove" wrote: > > >There are a few things I have no

Re: [FlexJS] Any gude to getting checkintests working

2017-03-02 Thread Greg Dove
m that swc. > > HTH, > -Alex > > BTW, checkintests doesn't really do much right now, but hopefully it will > someday so it is great that you are taking the time to try to get it to > work. > > > On 3/2/17, 9:14 PM, "Greg Dove" wrote: > > >Thanks A

Re: [FlexJS] Any gude to getting checkintests working

2017-03-02 Thread Greg Dove
rward (fingerscrossed). Thanks for stepping me through this, I am sure I will get there tomorrow. On Fri, Mar 3, 2017 at 7:02 PM, Alex Harui wrote: > > > On 3/2/17, 9:56 PM, "Greg Dove" wrote: > > >Thanks, that helps, it looks like I can make more progress on this now

Re: [FlexJS] Error with Alert.show

2017-03-02 Thread Greg Dove
Quick update here, for anyone who may come across this thread: the Reflection data bug mentioned earlier in the thread is fixed in recent builds. On Sat, Feb 18, 2017 at 8:50 PM, Alex Harui wrote: > > > On 2/17/17, 7:50 PM, "Justin Mclean" wrote: > > >Hi, > > > >Currently when using Alert we’re

Re: [FlexJS] Any gude to getting checkintests working

2017-03-03 Thread Greg Dove
gecko.driver” to > the selenium gecko-driver and run “mvn clean install –P build-examples” the > build will also run some browser-tests. > > Chris > > > > > Am 03.03.17, 05:59 schrieb "Greg Dove" : > > There are a few things I have not yet gotten working so f

Re: [FlexJS] Any gude to getting checkintests working

2017-03-03 Thread Greg Dove
017 at 6:45 PM, Alex Harui wrote: > What version of Firefox are you using? > > We are currently using Selenium 2.53.1. I think it likes FF 47.0.1. > > HTH, > -Alex > > On 3/3/17, 6:48 PM, "Greg Dove" wrote: > > >Thanks Chris, and Alex, > > > > &

Re: [FlexJS] Any gude to getting checkintests working

2017-03-03 Thread Greg Dove
gt; On 3/3/17, 9:53 PM, "Greg Dove" wrote: > > >Thanks, I'm running 51.0.1, I'll see if I can downgrade that. Suffice to > >say that "If you are using Ant, it should just work" was not quite > >applicable in my case :). > >A lof of this

Re: [FlexJS] Working to fix a compiler bug - problem with the Problems

2017-03-03 Thread Greg Dove
ApplicationView or something like that. > > And same for the second scenario: > > > > > > Is the equivalent of: > > > var initialView:IApplicationView = new SimpleCSSValuesImpl(). > > My 2 cents, > -Alex > > On 3/2/17, 9:09 PM, "Greg

Re: [FlexJS] Any gude to getting checkintests working

2017-03-04 Thread Greg Dove
update the geckodriver on the Jenkins build agents (and eventually update Firefox). Chris Am 04.03.17, 08:05 schrieb "Greg Dove" : That was it. Downgrading firefox worked. Thanks! I saw the browser launch and quick test from ant checkintests, I did not see it from the maven

Re: [FlexJS] Working to fix a compiler bug - problem with the Problems

2017-03-04 Thread Greg Dove
ed" and that is not what actually happens (not being ignored is correct, IMO). And (unless I am missing something important) the rest seems too verbose. PROPOSED FIX (NOT DONE): --- This is easy to change please let me know if you agree. I suggest changing the FlexJS error

Re: [FlexJS] Working to fix a compiler bug - problem with the Problems

2017-03-06 Thread Greg Dove
) > > It sound to me like you know what you’re talking about, so I’m fine with > whatever you did/want to do… :-) > > Harbs > > > On Mar 5, 2017, at 9:31 AM, Greg Dove wrote: > > > > OK please brace yourself for an onslaught of text. > > > > I t

Re: git commit: [flex-asjs] [refs/heads/develop] - Add JS support for non pixel numeric properties ie fontWeight

2017-03-06 Thread Greg Dove
I'm going to throw a comment in here from the sidelines At the end of reading this, you might think it seems like a trivial suggestion, but here goes anyway: I understand the logic in striving for a basic set of browser/swf compatible styles and I agree with the need. But I actually don't thi

Re: [FlexJS] Working to fix a compiler bug - problem with the Problems

2017-03-07 Thread Greg Dove
ly in > my apps. Anything else I should be doing? > > > On Mar 6, 2017, at 10:40 AM, Greg Dove wrote: > > > > "It sound to me like you know what you’re talking about" > > > > Haha, Harbs that's probably more reassuring to me than it should be to >

Re: [FlexJS] Working to fix a compiler bug - problem with the Problems

2017-03-07 Thread Greg Dove
but the errors are related to my changes, but also seems like they found something valid. I can look into this in a about 5-6 hours time. Do you need me to revert the commit until I get a chance to address those tests? On Wed, Mar 8, 2017 at 9:53 AM, Alex Harui wrote: > > > On 3/7

Re: [FlexJS] Working to fix a compiler bug - problem with the Problems

2017-03-07 Thread Greg Dove
, 2017 at 7:06 PM, Alex Harui wrote: > Greg, > > I just realized that these might be legitimate errors. I can fix them if > you don't have time. > > -Alex > > On 3/7/17, 1:32 PM, "Alex Harui" wrote: > > > > > > >On 3/7/17, 1:04 PM, "Gr

Re: [FlexJS] Working to fix a compiler bug - problem with the Problems

2017-03-08 Thread Greg Dove
Thanks Alex, much appreciated On Wed, Mar 8, 2017 at 7:24 PM, Alex Harui wrote: > OK. I'll take care of it. > > On 3/7/17, 10:11 PM, "Greg Dove" wrote: > > >Yes, I think they are errors with the tests. > > > >iirc it was > > > > >

Re: flex-typedefs build failing

2017-03-14 Thread Greg Dove
I am seeing this also. It almost feels like it is applying the patch on download and then trying again (but I have really no idea) ant build works fine with some warnings about LoggerErrorManager println but I could not get regular maven build to work One way I could get the mvn build to work w

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
I think code clarity is one thing, but performance is another - that should be faster, so I ran a quick check. I know it can vary across browsers, but var timeOne = function(){var d=new Date();var b=0; for (var i=0;i<1000;i++) {b= parseInt(""+(127/255)*1000, 10) / 1000;} console.log(new Date(

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
t, then that > sounds like a good idea. Please file a JIRA so we don't forget. > > But, IMO, we are writing ActionScript and we should not make a practice of > supplying default parameters. Please figure out why your typedefs aren't > building and remove the optional para

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
Actually I just checked and it looks like there is a bug in the compiler for this Greg Dove Dove Software Development Ltd http://greg-dove.com On Wed, Mar 15, 2017 at 5:54 PM, Greg Dove wrote: > Alex, I agree, it seems whatever prompted this was elsewhere, but the > outcome is IMO (a

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
017 at 6:02 PM, Greg Dove wrote: > Actually I just checked and it looks like there is a bug in the compiler > for this > > > > Greg Dove > Dove Software Development Ltd > http://greg-dove.com > > On Wed, Mar 15, 2017 at 5:54 PM, Greg Dove wrote: > >> Alex, I ag

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
better to not support '0x' strings and make developers check and specify the 16 radix on the substringsbut it is not consistent with orignal version On Wed, Mar 15, 2017 at 6:07 PM, Alex Harui wrote: > > > On 3/14/17, 9:54 PM, "Greg Dove" wrote: > > >Alex,

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
> > I'm not sure what you are referring to. I don't think the compiler > currently supplies the second argument. I didn't think it was needed, but > your tests indicate otherwise, so if that's what you are referring to, > please file a JIRA so we don't forget to do it. > > > It seems it does - it

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
On Wed, Mar 15, 2017 at 6:33 PM, Alex Harui wrote: > Here's a better link to the old thread. Looks like I did mess around with > parseInt earlier. > > https://s.apache.org/rHq2 > > > The goal is to match what AS does and get the performance benefit you > measured and maybe prevent browsers from

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
check the various browsers and permutations this weekend to see what happens. I already added a ticket for me On Wed, Mar 15, 2017 at 7:03 PM, Alex Harui wrote: > > > On 3/14/17, 10:42 PM, "Greg Dove" wrote: > > >On Wed, Mar 15, 2017 at 6:33 PM, Alex Harui wro

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-20 Thread Greg Dove
I agree that 10 is wrong, but reading both AS and JS doc, I'm now thinking that if the second argument is missing that the compiler should use 0. Please see the note in the comment of this ticket[1]: We need to decide whether we should add undefined as the second param (it seems this is the prefer

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-22 Thread Greg Dove
s not guaranteed. On Tue, Mar 21, 2017 at 3:56 AM, Alex Harui wrote: > > > On 3/20/17, 12:00 AM, "Greg Dove" wrote: > > >I agree that 10 is wrong, but > >reading both AS and JS doc, I'm now thinking that if the second argument > >is missing th

Re: [FlexJS] Summary of Changes

2017-03-27 Thread Greg Dove
I've just done a sweep through one project fixing our 'borked' stuff, I guess the latest change might re-'bork' some of the fixes, but I think at least these changes should be easier to address. Sometimes I needed to swap a Container to a Group and other times not, because of the relative/absolute

[FlexJX][FalconJX]

2017-03-28 Thread Greg Dove
Hi Alex, if you have time, perhaps you can shed some light on this? I have an mxml component using states, that implements an Interface, IFormSequence. the generated CLASS_INFO looks like this: FLEXJS_CLASS_INFO = { names: [{ name: 'ActionForm', qName: 'components.forms.ActionForm', kind: 'clas

Re: Falcon build failing

2017-03-28 Thread Greg Dove
Harbs, I saw that error a short while ago, but I am not sure it is related to the native classes. Dependencies calculated for 'org.apache.flex.states.SetProperty' org.apache.flex.states.SetProperty depends on org.apache.flex.core.IDocument was all the appeared immediately before I saw it. If you

Re: [FlexJX][FalconJX]

2017-03-28 Thread Greg Dove
r 29, 2017 at 6:13 AM, Alex Harui wrote: > > > On 3/28/17, 12:59 AM, "Greg Dove" wrote: > > >Hi Alex, if you have time, perhaps you can shed some light on this? > > > >I have an mxml component using states, that implements an Interface, > >I

Re: [FlexJX][FalconJX]

2017-03-28 Thread Greg Dove
Mar 29, 2017 at 8:21 AM, Alex Harui wrote: > > > On 3/28/17, 12:12 PM, "Greg Dove" wrote: > > > > >FWIW I tried with remove-circulars again but that broke on 'No GoogDep for > >console' this time, but I guess you are still working on this. > >

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-08 Thread Greg Dove
Just a general question about this type of thing: Because this is JS-only, does GCC eliminate it as deadcode in a release version if the method is never used? I would expect that, but I have not checked that yet... if it does then perhaps the PAYG concern might be moot (love that word!) On Sun, A

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-10 Thread Greg Dove
Actually I wasn't sure whether the compiler eliminated the dead js code. But we know that it can. I get the point about the 'swiss-army-knife' but I don't think that applies here, because I think this is more a 'standard tool'. I can only directly recall one Flex project in the last 6 years that d

Re: [FlexJS] Issue with JSON.stringify and Bindable VO objects

2017-04-18 Thread Greg Dove
I'd be happy to look at compiler side support for this at some point during the next month, it is something I have hand-coded many times and I think to/from JSON style support would be helpful for VO, especially bindables. It would need to add an interface I think so you could cast the VO in serial

Re: [FlexJS] Issue with JSON.stringify and Bindable VO objects

2017-04-18 Thread Greg Dove
maybe fromJson is not the best example :) On Wed, Apr 19, 2017 at 6:42 PM, Greg Dove wrote: > I'd be happy to look at compiler side support for this at some point > during the next month, it is something I have hand-coded many times and I > think to/from JSON style support would

  1   2   3   >