Re: Code formatting for patch submissions

2012-02-26 Thread Alex Harui
On 2/26/12 8:37 PM, "David Francis Buhler" wrote: > I believe we just need to standardize on a a set of styles, even if it > isn't to everyone's liking. Consistency is important for reasons we're all > aware of, but the standardized formatting is even more important when you > have very differ

Re: [IDEAS] Flex: New user interface design

2012-02-26 Thread Alex Harui
On 2/26/12 11:38 PM, "jude" wrote: > > I think Adobe investigated this real world units. I don't know what > happened with it. It might have been part of the Flex Mobile SDK. BTW Was > that donated and if so Alex? Mobile SDK was donated. Current Flash Player always reports 72dpi on desktop.

Re: [IDEAS] Flex: New user interface design

2012-02-26 Thread jude
I like the real world units idea. I don't know what it would involve to apply it across the framework. Would it replace the use of setting to px or compliment it? Would you go by millimeters or inches? I think Adobe investigated this real world units. I don't know what happened with it. It might h

Re: Mailing list footers?

2012-02-26 Thread Ariel Jakobovits
Can we have a script running that can insert our footer for us as well as some dynamically generated output, like: - most active threads - current votes and lazies - newest threads On Feb 26, 2012, at 10:54 PM, jude wrote: > How about this: > > --- > Home - http://incubator.apache.org/flex/

Re: referencing JIRA issues in code

2012-02-26 Thread Yennick Trevels
Imo we shouldn't include those comments in the code, it's already in the SVN history and if we write a unit test when we fix something then it's covered there also which should avoid regression bugs. It would just clutter the code.

Re: [jira] [Commented] (FLEX-20) The Max value restriction in Spark NumericStepper doesn't work properly

2012-02-26 Thread Pierangelo Mancusi
ok justin, i will remove the URL leaving only the ticket. so it will be : //Restore old vale (issue: SDK-31123 ) Il giorno 26 febbraio 2012 22:50, Justin Mclean (Commented) (JIRA) < j...@apache.org> ha scritto: > >[ > https://issues.apache.org

Re: Mailing list footers?

2012-02-26 Thread jude
How about this: --- Home - http://incubator.apache.org/flex/ Getting Started - https://cwiki.apache.org/confluence/display/FLEX/Getting+Started Project Wiki - https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+(incubating)+Wiki

Re: Logo type?

2012-02-26 Thread Omar Gonzalez
Hah, I have no idea who did that but beside the typo the logo is the wrong logo. :) -- Omar Gonzalez s9tpep...@apache.org Apache Flex PPMC Member

Re: Logo type?

2012-02-26 Thread Duane Nickull
http://vimeo.com/37364265 Maybe Gartner will create us a new quadrant??? ROTFL!! I love the logo and looked at if for 3 days without noticing. D Überity.com President & COO Adobe LiveCycle ES Consultant Services http://www.uberity.com Blog | http://te

Re: Logo type?

2012-02-26 Thread Omar Gonzalez
On Sun, Feb 26, 2012 at 10:08 PM, Duane Nickull wrote: > Hey all. > > Not sure if this is the correct place to post. The recently launched > Apache Flex logo talks about > > Cross Plaftom Developing > > I am assuming someone meant to say "platform"? > >

Logo type?

2012-02-26 Thread Duane Nickull
Hey all. Not sure if this is the correct place to post. The recently launched Apache Flex logo talks about Cross Plaftom Developing I am assuming someone meant to say "platform"? Überity.com President & COO Adobe LiveCycle ES and Flex Consultant Service

Flash player 11.2 release candidate issue

2012-02-26 Thread Justin Mclean
Hi, Looks like the Flash Player 11.1 release candidate playerglobal.swc doesn't compile with apache flex SDK. release 5 of the 11.2 flash player worked fine. No idea why at this stage. The new playerglobal swc is here: http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11-

Re: Code formatting for patch submissions

2012-02-26 Thread David Francis Buhler
I believe we just need to standardize on a a set of styles, even if it isn't to everyone's liking. Consistency is important for reasons we're all aware of, but the standardized formatting is even more important when you have very different people working together. I say we start a new thread and c

Re: Code formatting for patch submissions

2012-02-26 Thread Justin Mclean
Hi, > Are we also going to bring up the debate about cuddling v. not > cuddling? You just did :-) I assume you mean this: if (condition) { doSomething(); } else { doSomethingElse(); } vs if (condition) { doSomething(); } else { doSomethingElse(); } Currently

Re: Code formatting for patch submissions

2012-02-26 Thread David Francis Buhler
FlexFormatter has an option that will add the missing curly braces. to enable: Flex Formatter > Actionscript > tweaks > pre-formatting options > select "add always" or "add smart" Missing Curly Braces bothers me to no end. > One thing I'd argue changing is code like this: > > if (some condition

Re: Code formatting for patch submissions

2012-02-26 Thread JP Bader
Are we also going to bring up the debate about cuddling v. not cuddling? 4 spaces v. tab is a good question, but what are the conventional recommendations regarding cuddling? JP On Sun, Feb 26, 2012 at 4:50 PM, Justin Mclean wrote: > Hi, > >> Which flex formatter properties file did you use to

Re: HTML Template + SWFObject

2012-02-26 Thread Jonathan Campos
On Sun, Feb 26, 2012 at 6:46 PM, David Francis Buhler wrote: > We could use JS to redirect to the https hosted version of SWFObject when > the user is working off an HTTPS connection. > Still doesn't solve the enterprise, no external connection, issue. I'd prefer just not to change things. --

Re: HTML Template + SWFObject

2012-02-26 Thread David Francis Buhler
We could use JS to redirect to the https hosted version of SWFObject when the user is working off an HTTPS connection. On Sun, Feb 26, 2012 at 7:10 PM, Jeffry Houser wrote: > On 2/26/2012 7:01 PM, Jonathan Campos wrote: > >> On Feb 26, 2012 5:59 PM, "David Francis Buhler" >> wrote: >> >>> Is ther

Re: HTML Template + SWFObject

2012-02-26 Thread Jeffry Houser
On 2/26/2012 7:01 PM, Jonathan Campos wrote: On Feb 26, 2012 5:59 PM, "David Francis Buhler" wrote: Is there interest in Modifying the HTML Template to point to the Google Hosted SWFObject JS? I would vote no as many application don't have access to external sites due to security. I also vot

Re: HTML Template + SWFObject

2012-02-26 Thread Jonathan Campos
On Feb 26, 2012 5:59 PM, "David Francis Buhler" wrote: > > Is there interest in Modifying the HTML Template to point to the Google > Hosted SWFObject JS? I would vote no as many application don't have access to external sites due to security.

HTML Template + SWFObject

2012-02-26 Thread David Francis Buhler
Is there interest in Modifying the HTML Template to point to the Google Hosted SWFObject JS? " The Google Libraries API is a content distribution network and loading architecture for the most popular, open-source JavaScript libraries. Using the google.load()method gives your application high speed

Re: referencing JIRA issues in code

2012-02-26 Thread Pierangelo Mancusi
5. //issue: FLEX-123 //some fix code Il giorno 26 febbraio 2012 23:41, Jun Heider ha scritto: > > On Feb 26, 2012, at 3:32 PM, Justin Mclean wrote: > > > > 2. Mention issue by name > > // some random fix (FLEX-123) > > Based on previous discussion and also personal pref, I thin

Re: SDK build instructions for other IDEs

2012-02-26 Thread Justin Mclean
Hi, > It says it doesn't know what compc is. I don't know where this property is > (or should be) defined - so I stopped for now. You may also be missing compc as it still being legally cleansed for donation. To get the current SDK to compile you need to download the Adobe 4.6 open source vers

Re: SDK build instructions for other IDEs

2012-02-26 Thread Jonathan Campos
On Sun, Feb 26, 2012 at 3:26 PM, Omar Gonzalez wrote: > Also wanted to mention, if/when these instructions go into the site we > should make sure to make it clear that this set up is only temporary until > we get the entire donation from Adobe. > Just letting anyone that is interested to know. Sp

Re: [IDEAS] Flex: New user interface design

2012-02-26 Thread Erik Lundgren
26 feb 2012 kl. 22.59 skrev Martin Heidegger: > real world units are no problem in css/javascript allowing "cm". We don't target the html/css stack yet. But we want to. So i think it is important to count it in as soon as possible. CSS rendering of "real world units" seems stable but does not

Re: Code formatting for patch submissions

2012-02-26 Thread Justin Mclean
Hi, > Which flex formatter properties file did you use to format the code example > you made? I sent one in a previous thread, did you use that one or an Adobe > one? Just pushed the button in the preferences marked "Set to Adobe standards". I believe it has a couple of differences to what the

Re: Code formatting for patch submissions

2012-02-26 Thread Omar Gonzalez
On Sun, Feb 26, 2012 at 2:46 PM, Justin Mclean wrote: > Hi, > > > the coding conventions of Flex SDK are sometimes harmful in that they > don't > > distinguish between the purpose and style > I agree (mostly). Everyone has their own ideas to how code should be > formatted and consensus would be ha

Re: SDK build instructions for other IDEs

2012-02-26 Thread Justin Mclean
Hi there, > I've tried to build the SDK, but the build is broken: Yep the build.xml files are broken as they rely on things yet to be donated. Try using framework_build.xml instead (or my improved version of it in the patches branch). Thanks, Justin

Re: Code formatting for patch submissions

2012-02-26 Thread Justin Mclean
Hi, > the coding conventions of Flex SDK are sometimes harmful in that they don't > distinguish between the purpose and style I agree (mostly). Everyone has their own ideas to how code should be formatted and consensus would be hard. Personally for example I much prefer the "one true brace" sty

Re: Code formatting for patch submissions

2012-02-26 Thread Martin Heidegger
I agree, I can't care less about the details. Basically my thinking is: Take the current code and find the most common denominator (that requires least fixing). Anyone who does that gets my vote :) yours Martin. On 27/02/2012 07:37, Omar Gonzalez wrote: Code formatting is an area with a lot

Re: referencing JIRA issues in code

2012-02-26 Thread Jun Heider
On Feb 26, 2012, at 3:32 PM, Justin Mclean wrote: > > 2. Mention issue by name > // some random fix (FLEX-123) Based on previous discussion and also personal pref, I think the above should be the way to go.

Re: SDK build instructions for other IDEs

2012-02-26 Thread Left Right
I've tried to build the SDK, but the build is broken: Lines 169 and 391 of the topmost build.xml target some javascript directory / javascript target, which isn't defined. After commenting out these two, the build broke at frameworks/projects/framework/build.xml line 197 which has this text: It s

Re: [RT] DPI dependent code was. Flex: New user interface design

2012-02-26 Thread Martin Heidegger
Yeah, completely experimental code. It does following things: * It replaces the embed codes in the html without id and with the same url as the swf that is running to embed codes with a proper id * It allows to create "JavaScript" code that receives directly a reference to the embed cod

Re: Code formatting for patch submissions

2012-02-26 Thread Omar Gonzalez
On Sun, Feb 26, 2012 at 2:32 PM, Left Right wrote: > I think that if I had to use Intelij for my day job, I'd quit, and the > coding conventions of Flex SDK are sometimes harmful in that they don't > distinguish between the purpose and style (e.g. comparing to null, > converting instead of castin

Re: Code formatting for patch submissions

2012-02-26 Thread Omar Gonzalez
> > Does the property file help for IntelliJ or FDT? Someway to convert it to > what they expect? (I'm not familiar with how they store formatting values.) > > Thanks, > Justin > I'm not sure about FDT but for IntelliJ it doesn't really help I don't think, at least I haven't looked at how the valu

Re: Code formatting for patch submissions

2012-02-26 Thread Left Right
I think that if I had to use Intelij for my day job, I'd quit, and the coding conventions of Flex SDK are sometimes harmful in that they don't distinguish between the purpose and style (e.g. comparing to null, converting instead of casting etc.). I expect that I won't be happy with the decision. I

referencing JIRA issues in code

2012-02-26 Thread Justin Mclean
Hi, Just wondering what the policy should be on referencing JIRA issues in code comments Do we: 1. Don't need to do it as it's contained in the SVN history 2. Mention issue by name // some random fix (FLEX-123) 3. Have a URL to the issue // some random fix (https://issues.apache.org/jira/br

Re: [RT] DPI dependent code was. Flex: New user interface design

2012-02-26 Thread Omar Gonzalez
On Sun, Feb 26, 2012 at 2:18 PM, Martin Heidegger wrote: > I am all for it. I have implemented that for JavaScript before. My problem > with the javascript implementation is to make it "easy". In other words: > Without a "id" it is not possible to implement a generic ID. I have started > with a im

[RT] DPI dependent code was. Flex: New user interface design

2012-02-26 Thread Martin Heidegger
I am all for it. I have implemented that for JavaScript before. My problem with the javascript implementation is to make it "easy". In other words: Without a "id" it is not possible to implement a generic ID. I have started with a implementation of JavaScript Modules but haven't had time to fin

Re: Code formatting for patch submissions

2012-02-26 Thread Justin Mclean
Hi, > Also wanted to say I could live with the formatting that's in the > FlexFormatter settings you used. I also prefer spaces over tabs but Adobe policy seems to be spaces. (In my experience spaces tend to wonder off multiples of 4 over time and you get odd spacing). Luckily most editors can

Re: [IDEAS] Flex: New user interface design

2012-02-26 Thread Omar Gonzalez
On Sun, Feb 26, 2012 at 1:59 PM, Martin Heidegger wrote: > Hello Erik, > > real world units are no problem in css/javascript allowing "cm". In Flex > the problem is that the Flash Player does not offer proper DPI (as you > mentioned). That means we need "workarounds" it can be implemented within >

Re: [IDEAS] Flex: New user interface design

2012-02-26 Thread Martin Heidegger
Hello Erik, real world units are no problem in css/javascript allowing "cm". In Flex the problem is that the Flash Player does not offer proper DPI (as you mentioned). That means we need "workarounds" it can be implemented within the Web using ExternalInterface - a JavaScript bridge. It can be

Re: Code formatting for patch submissions

2012-02-26 Thread Omar Gonzalez
Also wanted to say I could live with the formatting that's in the FlexFormatter settings you used. My main thing is just that we have something and that we figure out the appropriate settings for IntelliJ, Flash Develop and FDT as well as Flash Builder. I'd suggest to everyone to move to IntelliJ b

Re: Code formatting for patch submissions

2012-02-26 Thread Omar Gonzalez
> > One thing I'd argue changing is code like this: > > if (some condition) >a = 1; > else >b = 2; > > While it's compact the missing braces can (and often do) cause bugs when > the code is modified. > > Thanks, > Justin > > I would have to agree. I tend to lean in the favor of leg

[jira] [Commented] (FLEX-20) The Max value restriction in Spark NumericStepper doesn't work properly

2012-02-26 Thread Justin Mclean (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13216943#comment-13216943 ] Justin Mclean commented on FLEX-20: --- We don't currently have a style guide for code patches

Code formatting for patch submissions

2012-02-26 Thread Justin Mclean
Hi, This has been discussed on the list before but I don't think a consensus was reached. Flex formatter was mentioned as a possible tool but as It's a Eclipse plugin not everyone would have access to it. In general the code patches should be in the same same style as the surrounding code, but

Re: [IDEAS] Flex: New user interface design

2012-02-26 Thread Erik Lundgren
Dear list, I would like to spend some time thinking about the "high level" concepts in flex – the present and the not yet present. As I scribble in my notebooks my first halt seems to be the methodology used for UI-measurement, and I need some community input: Should Flex measure layouts in "

Re: SDK build instructions for other IDEs

2012-02-26 Thread Martin Heidegger
Isn't the wiki a better place for that? We can use things like screenshots there too. yours Martin. On 27/02/2012 06:26, Omar Gonzalez wrote: I can give it a shot with IntelliJ later today, I have to catch the NBA All Star game first! :) Also wanted to mention, if/when these instructions go i

Re: SDK build instructions for other IDEs

2012-02-26 Thread Omar Gonzalez
On Sun, Feb 26, 2012 at 1:16 PM, Justin Mclean wrote: > Hi there, > > Last week I provided some instruction on how the build the current SDK for > Flash Builder.[1] > > Can anyone provide a set of steps for other IDEs out there? > > Thanks, > Justin > > [1] http://markmail.org/message/mdulin5evouw

RE: Compiler Array Implementation ( was Adobe / Apache / Spoon Flex Tour )

2012-02-26 Thread Michael A. Labriola
>I've explained how that could be avoided in a more generic way in the end of >the paragraph - why cannot that be a solution? It's ultimately the same >mechanism, as you would add event handlers, actually. If you >think about old >MXMLC code, you could even use the part that generated event hand

Re: SEO for SWF Was: Flash Platform roadmap

2012-02-26 Thread Duane Nickull
Search engines have the technology to do this but do not use it. I ran some tests over an 18 month period. This video shows the original FLashRunner http://technoracle.blogspot.com/2009/01/flash-search-engine-optimization.ht ml This video explains in more details the results of the tests: http

Re: Compiler Array Implementation ( was Adobe / Apache / Spoon Flex Tour )

2012-02-26 Thread Left Right
Ah, and, while at it. There is the IMXMLObject interface and the initialize(document, id) function in it. The use of this interface and it's only function is both obscure and illegitimate :) It's most of the time is used to provide child components with the reference to the parent component. This a

Re: Compiler Array Implementation ( was Adobe / Apache / Spoon Flex Tour )

2012-02-26 Thread Left Right
I've explained how that could be avoided in a more generic way in the end of the paragraph - why cannot that be a solution? It's ultimately the same mechanism, as you would add event handlers, actually. If you think about old MXMLC code, you could even use the part that generated event handlers to

RE: Compiler Array Implementation ( was Adobe / Apache / Spoon Flex Tour )

2012-02-26 Thread Michael A. Labriola
>Is there a reason it can't be done in the same way MSVS designer generates the >code? I mean, I know that there is method of UIComponent that can create other >components from "descriptor", but I could never >think of a use case that >justified that method existence in the first place. If this

[RT] Google Summer of code

2012-02-26 Thread Martin Heidegger
Hello List, This summer is another google summer of code. Starting from tomorrow it is possible to send in applications [1]. I am not familiar with the process but I think it might be interesting for Apache Flex. yours Martin. [1] http://www.google-melange.com/gsoc/events/google/gsoc2012

Re: Compiler Array Implementation ( was Adobe / Apache / Spoon Flex Tour )

2012-02-26 Thread Martin Heidegger
On 26/02/2012 17:02, Alex Harui wrote: But I was unable to find something that was faster and still looked like a data structure. I did the usual optimizations of loops, local variables, class definitions instead of just Object, etc. I think one of the issues is the cost of setting up the data

Re: Mailing list footers?

2012-02-26 Thread Dave Fisher
On Feb 24, 2012, at 8:30 PM, jude wrote: > How's this: > > Home - http://incubator.apache.org/flex/ > Getting Started - > https://cwiki.apache.org/confluence/display/FLEX/Getting+Started > Project Wiki - > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+(incubating)+Wiki > FAQ - htt

Re: Compiler Array Implementation ( was Adobe / Apache / Spoon Flex Tour )

2012-02-26 Thread Left Right
Is there a reason it can't be done in the same way MSVS designer generates the code? I mean, I know that there is method of UIComponent that can create other components from "descriptor", but I could never think of a use case that justified that method existence in the first place. If this was a wa

Re: SEO for SWF Was: Flash Platform roadmap

2012-02-26 Thread Left Right
I think MXMLC is already doing that - all that stuff that goes into metadata, that no one ever fills in - I think it's called XMP or something like that. :)

[jira] [Commented] (FLEX-19) Code style improvements in framework

2012-02-26 Thread Martin Heidegger (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13216680#comment-13216680 ] Martin Heidegger commented on FLEX-19: -- I know its an FDT bug: That occasionally happens

Re: [jira] [Commented] (FLEX-19) Code style improvements in framework

2012-02-26 Thread Justin Mclean
Hi, So isn't that a FDT bug? :-) Do you know if there's any performance implications to that change being in binding utils it might have an effect. (I'm unaware of anything but we do need to take care with changes like that). Thanks, Justin

Re: Compiler Array Implementation ( was Adobe / Apache / Spoon Flex Tour )

2012-02-26 Thread Alex Harui
On 2/25/12 10:42 AM, "Michael A. Labriola" wrote: >> The current implementation is that all tags are encoded into an array that >> gets interpreted during a method call in the lifecycle of the container so it >> can be intercepted or the array can be modified up front. There are >plans >> for