As i have never ever seen eclipse automatically run unit tests in a Maven
project, I think I can confirm that.
Chris
Von meinem Samsung Galaxy Smartphone gesendet.
Ursprüngliche Nachricht
Von: Alex Harui
Datum: 24.02.2016 02:11 (GMT+01:00)
An: dev@flex.apache.org
Betreff:
i have do it,it is work.
https://github.com/matrix3d/spriteflexjs/commit/76ecd143a3a46b199d162267d3392b47d43b1cd4#diff-c879807e920323f1f8c480753875170eR61
but if it do with the flexjs is good.
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/flexjs-eat-jso
On 2/23/16, 9:35 PM, "lizhi" wrote:
>the flexjs just 0.6 beta.
>if the 0.7 have this function is good.
>it is just give my idea.
>thanks your hard work
It is unlikely I will have time to figure out how to do code-flow analysis
any time soon, but maybe someone else will.
BTW, did you try using
the flexjs just 0.6 beta.
if the 0.7 have this function is good.
it is just give my idea.
thanks your hard work
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/flexjs-eat-json-tilesets-tp51581p51695.html
Sent from the Apache Flex Development mailing list ar
On 2/23/16, 9:18 PM, "lizhi" wrote:
>thanks.
>but i think the flexjs can get the name ,not from the json(server),
>from the as code
Well, sure, we could do some code-flow analysis. But I don't know how to
do that and it wouldn't be a priority of mine at this time because I
haven't seen very
also,change the code to
alert(json["abcdefg"]);
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/flexjs-eat-json-tilesets-tp51581p51693.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
thanks.
but i think the flexjs can get the name ,not from the json(server),
from the as code
var json:Object = JSON.parse("{\"abcdefg\":1212121}");
alert(json.abcdefg);
the "alert(json.abcdefg);" code can get the "abcdefg" as var.
--
View this message in context:
http://apache-flex-developme
The @expose/@export needs to be added before the final compiler
optimization pass. Often the JSON is not explicitly included in the
source code since it often comes from a server request, so there is no way
to examine the source and know which properties to protect from renaming.
But you could cer
thanks.but this hard use.
is it the flexjs know the Object type?
if is the Object type.
add /** @expose */ to all var name?
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/flexjs-eat-json-tilesets-tp51581p51690.html
Sent from the Apache Flex Development mai
Some property names have already been "exported" by other classes which
means they won't be renamed. There might already be a class with a
"children" property, for example.
-Alex
On 2/23/16, 7:25 PM, "lizhi" wrote:
>https://github.com/matrix3d/spriteflexjs/blob/master/test/src/com/hsharma/
>hu
https://github.com/matrix3d/spriteflexjs/blob/master/test/src/com/hsharma/hungryHero/TextureAtlas.as
but why this json class work good.
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/flexjs-eat-json-tilesets-tp51581p51688.html
Sent from the Apache Flex
On 2/23/16, 9:26 AM, "Christofer Dutz" wrote:
>Hi Alex,
>
>Well I think that's something completely different. I never knew you
>could setup Eclipse to run every test each time you save, but that sort
>of doesn't seem to make much sense to me. Isn't Eclipse already slow
>enough? ;-)
I guess I
OK, so I'll get the compiler to map Date's properties to getX/setX calls.
For Array.sort, I guess we should map it to some other function in some
other class. Should we generalize such a mapping or is that the only one?
-Alex
On 2/23/16, 1:31 PM, "Andy Dufilie" wrote:
>You're right, it would
You're right, it would be great to have these things fixed automatically. I
wouldn't want built-in types to be modified, though. My team recently
passed up one library for another because it was modifying the Date
prototype.
Andy
On Tue, Feb 23, 2016 at 3:53 PM, Alex Harui wrote:
> A warning fo
Hi Chris,
I am not that familiar with how asserts work in Java, but it has seemed to
me that asserts are often or always disabled in Falcon code. The
debugger seems to stop on an assert, but it doesn't always fire. For
example, I think you are seeing the test fail on this assert:
asser
A warning for Array.sort() might be the right answer, although I would be
tempted to cross-compile it to something like Array.ActionScriptSort() and
actually implement what it does in AS.
For Date, I think folks will expect properties like .hour to work. The
feedback I think I'm hearing is that f
I have to agree with Andy about issuing warnings.
We could make Date an exception and the compiler sees .hour and translates
that to .getHours() for the JS code as Alex suggests. That seems like its
pretty straightforward but anything not as obvious just get flagged.
My 2 cents,
Peter Ent
Adobe S
AS has getHours() and setHours() too. If the code is updated to use those
it should work.
Date is not the only class that has differences - Array.sort() is not the
same in AS and JS.
I think the most the compiler should do is provide a warning when using
known AS features that do not exist in JS,
Because this comment/code in NonLeakySubComponent.mxml is false and isn't a
weak ref.
/* This is not a memory leak, because BindingUtils uses weak references */
BindingUtils.bindSetter(dataProviderChanged,this,"dataProvider");
This would work:
BindingUtils.bindSetter(dataProviderChanged,this,"d
Hi Alex,
Well I think that's something completely different. I never knew you could
setup Eclipse to run every test each time you save, but that sort of doesn't
seem to make much sense to me. Isn't Eclipse already slow enough? ;-)
Usually you put the unit-tests together in the same project as t
Hi everyone,
I'm investigating memory leaks in an application, and since the codebase is
very complex, I've downloaded a simple project from
http://dreamingwell.com/articles/archives/2008/05/understanding-m.php to
understand what causes a memory leak and what doesn't. The Flash Builder
project can
Hi,
This bug [1] is about the Date class.
It appears that JS uses, for example, getHour()/setHour() while AS uses
the .hour property. How should we handle this? Some options are:
1) Use Object.defineProperties to add get/set to Date
2) Have the compiler detect Date and generate getHour/setHour
On 2/23/16, 1:07 AM, "lizhi" wrote:
>thanks .
>but,if the app have a lot a lot of json.i must code all the class?
Well, no, but having class definitions for your data is one of the
benefits of Flex/FlexJS and should save you time by making fewer mistakes
over time.
It might be interesting to
On 2/23/16, 7:56 AM, "Christofer Dutz" wrote:
>Looking better and better each day :-)
>
>With my adjusted base-class I get this:
>
>Tests run: 375, Failures: 8, Errors: 0, Skipped: 26
Good progress.
I have a question about the Eclipse projects. Will we have to get rid of
them and make Eclips
On 2/23/16, 5:24 AM, "Christofer Dutz" wrote:
>Ok ... so today I started having a look at the Unit tests. Turns out the
>reason for them failing is quite obvious :-)
>The test classes make heavy uses of those Environment Variables that I am
>so unhappy with to build the paths to the swc files o
Looking better and better each day :-)
With my adjusted base-class I get this:
Tests run: 375, Failures: 8, Errors: 0, Skipped: 26
Chris
Von: Christofer Dutz
Gesendet: Dienstag, 23. Februar 2016 14:24
An: dev@flex.apache.org
Betreff: AW: AW: [FALCONJX]
Ok ... so today I started having a look at the Unit tests. Turns out the reason
for them failing is quite obvious :-)
The test classes make heavy uses of those Environment Variables that I am so
unhappy with to build the paths to the swc files of the flex sdk. Most tests I
had a look at all trac
thanks .
but,if the app have a lot a lot of json.i must code all the class?
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/flexjs-eat-json-tilesets-tp51581p51671.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
28 matches
Mail list logo