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
On 3/2/17, 10:25 PM, "Greg Dove" wrote:
>I must have missed that discussion! That also helps!
>I'm getting closer, now have local trust/security sandbox issues for the
>flex-sdk tests that I will need to resolve.
Oh yeah, I generally open a folder containing my repos to Flash. See
http://help
I must have missed that discussion! That also helps!
I'm getting closer, now have local trust/security sandbox issues for the
flex-sdk tests that I will need to resolve.
I will circle back to that tomorrow morning. If I get this working then I
assume the as-js version will be straightforward (finge
On 3/2/17, 9:56 PM, "Greg Dove" wrote:
>Thanks, that helps, it looks like I can make more progress on this now.
>
>Also, fyi I am getting a download error for
>https://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/afe.jar?for
>mat=raw
>
>if I choose the adobe jars in that build.
That
Thanks, that helps, it looks like I can make more progress on this now.
Also, fyi I am getting a download error for
https://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/afe.jar?format=raw
if I choose the adobe jars in that build.
On Fri, Mar 3, 2017 at 6:37 PM, Alex Harui wrote:
>
SimpleCSSStylesImpl is Simple. FontWeight is expecting bold or normal
since that's what Flash supports for free and is less code.
Hopefully someday someone will write AdvancedCSSStylesImpl.
Thanks for pointing it out though,
-Alex
On 3/2/17, 9:45 PM, "Justin Mclean" wrote:
>Hi,
>
>Just a FYI
Hi,
Just a FYI in case this trips anyone else up.
The code in applyStyle in SimpleCSSValuesImpl assumes that most CSS style
numbers are pixels - this is not be the case.
The code in questions is:
if (typeof(value) == 'number') {
if (colorStyles[p])
value = CSSUtils.attributeFromColo
Hi Greg,
So do you have a flex-sdk repo folder as a sibling of flex-asjs?
And have you run "ant main checkintests" in flex-sdk? That should build a
mustella.swc in the flex-sdk/mustella folder that the flex-asjs
checkintests borrows. UnitTester comes from that swc.
HTH,
-Alex
BTW, checkintests
Hi Greg,
Thanks for digging into this.
Without having dug into it myself, I would like to suggest returning a
type mismatch error of some sort. IIRC, the DuplicateChildTagProblem is
for the following:
The child tag (js:initialView) is really in there twice.
I believe MXML is suppo
On 3/2/17, 8:51 PM, "piotrz" wrote:
>I will try to fight with this. The problem is that in this case I don't
>have
>any exception in the console. :)
Yuk. I think I would next examine the DOM. Compare it against the
js-debug version. If DOM objects are missing in js-release, then I would
set
Thanks Alex,
after running
ant checkintests
inside flex-asjs
The first point of fail is at basictests task
basictests:
[mxmlc] Loading configuration:
D:\FLEXSDKS\_asf\flex-asjs\frameworks\flex-config.xml
[mxmlc] Loading configuration:
D:\FLEXSDKS\_asf\flex-asjs\mustella\tests\basicTests\
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
If you are using Ant, it should just work. It does expect that you have 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
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
I will try to fight with this. The problem is that in this case I don't have
any exception in the console. :)
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p600
On 3/2/17, 5:59 PM, "piotrz" wrote:
>Alex,
>
>What could help you to fix that. Should I try to find in minified JS my
>potential class and show it here?
I don't know how much time you have, but it would be great if you simply
tried to debug into it on your own. Maybe you will find a set of to
So what OS and version, and what kind of player and its version are you
using?
Scout will turn on sampling in the app so that should result in an
increase in memory as well.
-Alex
On 3/2/17, 4:48 PM, "Jason Taylor" wrote:
>wonder if that might be osx / windows difference in scout? as I only sh
Alex,
What could help you to fix that. Should I try to find in minified JS my
potential class and show it here?
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595
wonder if that might be osx / windows difference in scout? as I only show this
leak atm when scout is ran- Scout 1.1.3.345121 on Scout
-Original Message-
From: Jason Taylor
Sent: Thursday, March 02, 2017 4:48 PM
To: dev@flex.apache.org
Subject: RE: massive memory leak in Flex
what the h
what the hell? Mine looks nothing like that in scout, no advanced telemetry
-Original Message-
From: Clint M [mailto:cmod...@gmail.com]
Sent: Thursday, March 02, 2017 4:38 PM
To: dev@flex.apache.org
Subject: Re: massive memory leak in Flex
it didn't leak using advanced-telemetry eit
it didn't leak using advanced-telemetry either… it didn't leak with a
custom renderer with curly binding either… probably because spark lists
recycle item renderers by default
On Thu, Mar 2, 2017 at 4:29 PM, Clint M wrote:
> here's a video of it running in scout
> http://www.screencast.com/t/S5S
here's a video of it running in scout
http://www.screencast.com/t/S5SHGLiskRN
didn't leak… are you using advanced-telemetry ?
On Thu, Mar 2, 2017 at 4:24 PM, Jason Taylor wrote:
> Yeah, it looks like it may be an artifact of scout somehow
>
> -Original Message-
> From: Clint M [mail
Yeah, it looks like it may be an artifact of scout somehow
-Original Message-
From: Clint M [mailto:cmod...@gmail.com]
Sent: Thursday, March 02, 2017 4:24 PM
To: dev@flex.apache.org
Subject: Re: massive memory leak in Flex
Can't repro with the code in the original post… here's a
Can't repro with the code in the original post… here's a video of it
running for 60 seconds.
http://www.screencast.com/t/mPFMIdKQMK
On Thu, Mar 2, 2017 at 4:17 PM, Jason Taylor wrote:
> Yeap task manager keeps climbing as well
>
> -Original Message-
> From: Alex Harui [mailto:aha...@ado
Yeap task manager keeps climbing as well
-Original Message-
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Thursday, March 02, 2017 4:07 PM
To: dev@flex.apache.org
Subject: Re: massive memory leak in Flex
Scout only reports certain player memory zones. Hopefully TaskManager has a
hig
it happens without specificy a itemrenderer as well
-Original Message-
From: Clint M [mailto:cmod...@gmail.com]
Sent: Thursday, March 02, 2017 4:07 PM
To: dev@flex.apache.org
Subject: Re: massive memory leak in Flex
databinding is static at the application level… at least the way you're
databinding is static at the application level… at least the way you're
doing it via curly braces… and the renderers will leak
try using this in the item renderer instead of text="{data}" and see if
that fixes the problem :
override public function set data(value:Object):void {
mylabelId.text =
Scout only reports certain player memory zones. Hopefully TaskManager has
a higher number? If you got past 1GB then it probably isn't capped.
-Alex
On 3/2/17, 3:56 PM, "Jason Taylor" wrote:
>Tried 4.13, 14, and 15, but I have a weird feeling scout is a dirty Liar
>
>-Original Message-
Tried 4.13, 14, and 15, but I have a weird feeling scout is a dirty Liar
-Original Message-
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Thursday, March 02, 2017 3:54 PM
To: dev@flex.apache.org
Subject: Re: massive memory leak in Flex
OK Thanks. Sounds like Justin may be digging int
Scout is showing 1.5Gb used after 4m, and constantly climbing, however task
manager is not reporting the same at all...
In scout it showing 1.38GB of that is "Other Bitmap Memory"
-Original Message-
From: Jason Taylor [mailto:ja...@dedoose.com]
Sent: Thursday, March 02, 2017 3:50 PM
To:
OK Thanks. Sounds like Justin may be digging into it, so I'll wait until
he reports in. Which version of Apache Flex are you using? Have you
tried Adobe Flex 4.6?
-Alex
On 3/2/17, 3:50 PM, "Jason Taylor" wrote:
>This is all the code needed to cause it, and no it does not appear to
>stop, tho
This is all the code needed to cause it, and no it does not appear to stop,
though I will need to run it for awhile to blow all my memory in this comp.
http://ns.adobe.com/mxml/2009";
xmlns:s="library://ns.adobe.com/flex/spark"
creationComplete="OnCreationComplete(event)">
-
Jason, we aren't seeing all of the code. Can you put all of the code in a
JIRA issue?
There is a notion of outrunning GC. And also memory fragmentation. How
high does memory go? Does it cap out or will it blow up for lack of
memory at some point?
Thanks,
-Alex
On 3/2/17, 3:39 PM, "Jason Tayl
yeah you can remove that, right now mine is just
http://ns.adobe.com/mxml/2009";
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:Core="CoreClasses.*">
where MyLabel is a copy of s:label so I can make changes and try to figure out
where the hell this is coming from, app
Hi,
What's the code for your TestItemRenderer? If you remove that does it act the
same?
Thanks,
Justin
climbing at 50Mb per 30s
-Original Message-
From: Jason Taylor [mailto:ja...@dedoose.com]
Sent: Thursday, March 02, 2017 3:32 PM
To: dev@flex.apache.org
Subject: RE: massive memory leak in Flex
negative, taking that out (that was an accident copied over from my real test),
has no effect
negative, taking that out (that was an accident copied over from my real test),
has no effect, and neither does setting the data provider to null
http://ns.adobe.com/mxml/2009";
xmlns:s="library://ns.adobe.com/flex/spark"
creationComplete="OnCreationComplete(event)">
-Original
On 3/2/17, 2:56 PM, "Justin Mclean" wrote:
>Hi,
>
>Also I’d suggest making the timer multi shot rather than having the
>recursive callLater(BindData) call.
IMO, that's the root of the problem. The timer makes calls to BindData
which also calls itself on each frame via CallLater. Each Timer t
Hi,
Also I’d suggest making the timer multi shot rather than having the recursive
callLater(BindData) call.
Thanks,
Justin
Hi,
If you put:
list.dataProvider = null;
before the line;
list.dataProvider = new ArrayCollection(items);
Do you getter same results?
Thanks,
Justin
Also here's a screen shot of Scout - http://imgur.com/a/WCkZu
-Original Message-
From: Jason Taylor [mailto:ja...@dedoose.com]
Sent: Thursday, March 02, 2017 2:37 PM
To: dev@flex.apache.org
Subject: massive memory leak in Flex
I believe I have finally identified the cause of a huge mem
I believe I have finally identified the cause of a huge memory leak in our
application, and it appears to be s:label
I have tested this on many different framework versions.
Please try the following:if you make a custom itemrender and don't use the
s:label it goes away, note disabiling TextL
On 3/2/17, 9:19 AM, "piotrz" wrote:
>Alex,
>
>Do you think because it is something with variable renaming in release
>version?
>I remember that this problem come back to us.
Almost every time js-debug works and js-release doesn't, it has to do with
renaming. It is a pain to figure out (at le
flex-sdk_release-candidate - Build #246 - Failure
Changes since last build:
No changes
For more information, check the console output at
http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/246/.
HI,
> The problem is that the signature of public function
> dispatchEvent(event:Event):Boolean does not work unless flash.events.Event is
> specifically specified.
I’ve also seen this but it compiles and works fine when I run it.
Thanks,
Justin
I'm almost at the point where you can try the dual branch, which should in
theory take care of this.
-Alex
On 3/2/17, 2:12 PM, "Harbs" wrote:
>I’m struggling with IEventDispatcher.
>
>I have event proxies which dispatch events from event dispatchers. For
>this to work, the pseudo-event dispatch
I’m struggling with IEventDispatcher.
I have event proxies which dispatch events from event dispatchers. For this to
work, the pseudo-event dispatcher implements IEventDispatcher, but does not
inherit for EventDispatcher.
It implements its own dispatchEvent(). The problem is that the signature
Alex,
Do you think because it is something with variable renaming in release
version?
I remember that this problem come back to us.
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-C
On 3/2/17, 8:11 AM, "Harbs" wrote:
>Interesting.
>
>So this only works with MXML or with ActionScript too?
Just MXML. We could try to get the compiler to use it when checking
assignments in ActionScript, but I think that there would be cases where
it wouldn't do the right thing since AS allow
piotrz wrote
> var tmpComp:Button = new Button(true); - need to be true in constructor.
I've seen such usage of addition do not works in compiled "bin-release"
version. Things not works like 'ripple' etc. in "bin-release" version.
Thanks!
--
View this message in context:
http://apache-flex-d
Interesting.
So this only works with MXML or with ActionScript too?
I’m wondering if we can use this for typed arrays in externs compiled using
compc.
I ran into that problem recently.
> On Mar 2, 2017, at 5:14 PM, Clint M wrote:
>
> It's in the docs:
> http://help.adobe.com/en_US/flex/using
Piotr,
Santanu may be right that there are dynamic MXML scenarios involving
states and includeIn/excludeFrom. In those cases, the instances are
created by MXMLDataInterpreter just like other MXML tags, but may not be
added to the DOM until much later, or removed and re-added as states
change.
I
It's in the docs:
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf680e1-7ffe.html#WS2db454920e96a9e51e63e3d11c0bf69084-7a2c
ArrayElementType metadata tag
When you define an Array variable in ActionScript, you specify Array as the
data type of the variable. However, you canno
We still have to have FlexJS work on both JS and SWF sides with some
compatibility. We could do this:
x,y sets "native" values. Reading them back on SWF vs JS might yield
different results if padding, border, and margins are set on the parent
element. If you don't want your coordinates messed with
I just noticed a few places in TLF where we have such metadata. For example:
[ ArrayElementType("text.elements.TextFlowLine") ]
private var _lines:Array;
Does anyone know what that does?
Sankar,
Code which you are showing me should work without the problem.
var tmpComp:Button = new Button(true); - need to be true in constructor.
This:
You don't need any action cause MDL will handle this one.
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this messag
piotrz wrote
> Ok but you didn't add this Grid to MXML, you will add this component by
> addElement yes ?
>
> Maybe I do not understand your use cases - provide me an example if you
> can.
Hi Piotr,
My test was pretty basic with FlexJS MDL default components only. Here's the
basic test case whe
Sankar,
Ok but you didn't add this Grid to MXML, you will add this component by
addElement yes ?
If you are adding Grid in MXML - It will be initialized on his own - MDL
will upgrade it automatically.
Maybe I do not understand your use cases - provide me an example if you can.
If you have cre
Hi Piotr,
I may oppose this your opinion:
piotrz wrote
> I don't see any advantage to have this property in MXML. Dynamic component
> is supposed to be created from code new Button(true).
Say I have an external Grid component which has many buttons and TextFields
declared in MXML tag - and I wan
Hi Sankar,
I don't see any advantage to have this property in MXML. Dynamic component
is supposed to be created from code new Button(true).
If you need more dynamic components which is already in our MDL library let
me know. I've changed only few of them to be dynamic.
If component do not have i
Hi,
I recently updated my local framework source from Git repository. I am not
sure where we're standing now with this but I wanted to give Piotr's Button
and TextField implementation a try with new UpgradeElement bead.
So far I able to get the dynamic element upgraded by this way:
var newButton
61 matches
Mail list logo