Re: [LAST CALL] Flex SDK 4.16

2016-11-21 Thread Alex Harui
On 11/20/16, 10:52 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >Okay, I updated the installer.xml in the flex-sdk repository. > >Here is the commit diff. For some reason, the changes are not being >highlighted - the who file is being shown as modified. >https://github.com/a

Re: [Falcon]

2016-11-21 Thread Harbs
Huh. I just did a code review, and it looks like “this” was removed from the FlexJS code a number of months ago. Not sure why… On Nov 21, 2016, at 9:41 AM, Alex Harui wrote: > Please post a small test case I can compile with MXMLC. > > -Alex > > On 11/20/16, 11:37 PM, "Harbs" wrote: > >> Y

Re: [Falcon]

2016-11-21 Thread Harbs
I changed it to this.regular = font and I’m still getting the same error. On Nov 21, 2016, at 10:18 AM, Harbs wrote: > Huh. > > I just did a code review, and it looks like “this” was removed from the > FlexJS code a number of months ago. Not sure why… > > On Nov 21, 2016, at 9:41 AM, Alex Har

Re: [FlexJS, MDL] Help with MDL

2016-11-21 Thread Carlos Rovira
Hi Piotrz, About name, IMHO I think it would be better to go with MDL names, I think there's no reason to stick with old Flex names. People coming to MDL will find "Switch" more natural. In confluence it's only that page? you can create a page or edit others? Just now I don't know how to give per

Re: [LAST CALL] Flex SDK 4.16

2016-11-21 Thread Justin Mclean
Hi, I think the 2 issues you run into point out that it would be nice to some a little more documentation on how the installer config file works. I’m on holiday this week and flying back to Australia from Europe on next weekend so I’m unlikely to be able to get to it until then. Thanks, Justin

[FlexJS]missing css

2016-11-21 Thread Harbs
I’m going crazy trying to figure out why I’m not getting a css file produced. I’m compiling both with Josh’s VS Code extension and ant. Both produce correct output (as far as I can tell), but neither produce the css file although the html file links to it. I’m using the latest nightly falcon. A

Re: [FlexJS]missing css

2016-11-21 Thread Harbs
FWIW: I’m only compiling to JS and not to SWF. Maybe that’s causing the problem? On Nov 21, 2016, at 1:29 PM, Harbs wrote: > I’m going crazy trying to figure out why I’m not getting a css file produced. > I’m compiling both with Josh’s VS Code extension and ant. Both produce > correct output (a

Re: [LAST CALL] Flex SDK 4.16

2016-11-21 Thread OmPrakash Muppirala
On Nov 21, 2016 12:15 AM, "Alex Harui" wrote: > > > > On 11/20/16, 10:52 PM, "omup...@gmail.com on behalf of OmPrakash > Muppirala" wrote: > > >Okay, I updated the installer.xml in the flex-sdk repository. > > > >Here is the commit diff. For some reason, the changes are not being > >highlighted

Re: [FlexJS]missing css

2016-11-21 Thread Alex Harui
FalconJX only generates a CSS file if the application is using an ICSSImpl, like SimpleCSSValuesImpl. -Alex On 11/21/16, 4:36 AM, "Harbs" wrote: >FWIW: I’m only compiling to JS and not to SWF. Maybe that’s causing the >problem? > >On Nov 21, 2016, at 1:29 PM, Harbs wrote: > >> I’m going crazy

Re: [FlexJS, MDL] Help with MDL

2016-11-21 Thread Alex Harui
On 11/21/16, 12:30 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: > >In confluence it's only that page? you can create a page or edit others? >Just now I don't know how to give permissions (maybe I can't do that). I >think I get rights thanks to Alex or Om some years ago. > Pi

Re: [FlexJS]missing css

2016-11-21 Thread Harbs
I thought that might be it for a minute, but it did not help. :-( I stripped the app down to a minimal, and it’s still not working: http://ns.adobe.com/mxml/2009"; initialize="init()" xmlns:js="library://ns.apache.org/flexjs/basic"

Re: [FlexJS]missing css

2016-11-21 Thread Alex Harui
But you are compiling against CoreJS? If I compile DataBindingExample, I get a CSS file. Does DataBindingExample work for you? If so, what differences are there in your config? -Alex On 11/21/16, 9:01 AM, "Harbs" wrote: >I thought that might be it for a minute, but it did not help. :-( > >I

Re: [FlexJS]missing css

2016-11-21 Thread Harbs
I used both VS Code and ant. Flash Builder is not working for me. Here’s a pastebin with both sets of configs: http://pastebin.com/HaG0pmvj On Nov 21, 2016, at 7:30 PM, Alex Harui wrote: > But you are compiling against CoreJS? If I compile DataBindingExample, I > get a CSS file. Does DataBi

Re: [FlexJS]missing css

2016-11-21 Thread Alex Harui
Do you build falcon from sources? Build DataBindingExample from the repo using the falcons sources and see if you get .css files. I do. Then we can figure out if some other thing has gone wrong in your setup. -Alex On 11/21/16, 9:38 AM, "Harbs" wrote: >I used both VS Code and ant. Flash Buil

Re: [FlexJS]missing css

2016-11-21 Thread Harbs
Yes. I get the css file using DataBindingExample (as well as other projects). There’s something unique to this project and I have no clue what. The only thing that comes to mind is that it’s not compiling a swf version, but I don’t know why that should matter. On Nov 21, 2016, at 7:41 PM, Alex

Re: [FlexJS]missing css

2016-11-21 Thread Alex Harui
FalconJX is supposedly scanning the JS files in the output folder for "@implements" and "org.apache.flex.core.ICSSImpl" on the same line, which should be found in SimpleCSSValuesImpl.js. Do you see that in the output folder? -Alex On 11/21/16, 9:46 AM, "Harbs" wrote: >Yes. I get the css file us

Re: [LAST CALL] Flex SDK 4.16

2016-11-21 Thread Alex Harui
On 11/21/16, 6:16 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >>>1. In sdk-installer-config-4.0.xml, for the new SDK entries, I don't >know >> >where to get the cacheID and cacheID2 properties. >> >> MD5Checker will compute the values. > >Where is the code for that? In flex

Re: flex-typedefs git commit: add goog.DEBUG for debug-only code

2016-11-21 Thread Peter Ent
What are the requirements for getting flex-asjs to compile with goog.DEBUG? Is there a new version of google closure required or an environment var to be set? When I do an ant build in flex-asjs I get this error: [compc] /Users/pent/dev/flex-asjs/frameworks/projects/Language/src/main/flex/org/ap

Re: [FlexJS, MDL] Help with MDL

2016-11-21 Thread piotrz
I've update also table with information about mine component. - If you could do the same. Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Help-with-MDL-tp56556p56603.html Sent from th

Re: [FlexJS, MDL] Help with MDL

2016-11-21 Thread piotrz
Alex, Thank you. Carlos, I've just pushed Switch button. :) I have one problem with this component - I see that original component has "label" - it's "span" with class "mdl-switch__label". In AS code I've add to this label as element "Text" and assign value in property "text" - You did it simi

Re: [FlexJS, MDL] Help with MDL

2016-11-21 Thread piotrz
Carlos, Nvm about my question related to label position - I've just fixed it.:) But question about Text node child it's still remains. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Help-w

Re: [FlexJS, MDL] Help with MDL

2016-11-21 Thread Carlos Rovira
Hi Piotrz, Great! Just Try the new Switch and looks ok. Review the html output and compared with MDL web site,...all seems ok to me :) Congrats! I'm some days off due to work, hope to join ASAP, maybe in few hours (hope so!) :) 2016-11-21 21:13 GMT+01:00 piotrz : > Carlos, > > Nvm about my q

Re: flex-typedefs git commit: add goog.DEBUG for debug-only code

2016-11-21 Thread Alex Harui
On 11/21/16, 12:01 PM, "Peter Ent" wrote: >What are the requirements for getting flex-asjs to compile with >goog.DEBUG? Is there a new version of google closure required or an >environment var to be set? Did you pull the latest from flex-typedefs repo and build it? -Alex

[FlexJS] MDL List problems

2016-11-21 Thread Carlos Rovira
Hi Alex or Peter, I'm building a MDL List from js:List I configured a basic js:List example, and then make a copy to get the MDL List with the basic changes. Then the example does not work anymore with the following browser error: dispatchEvent — EventDispatcher.js:70. TypeError: null is not a

Re: [FlexJS]missing css

2016-11-21 Thread Harbs
SimpleCSSValuesImpl.js is not in the output folder at all. In fact, I’m not getting Button.js either, but I am getting TextArea.js and Container.js. Really odd... On Nov 21, 2016, at 8:18 PM, Alex Harui wrote: > FalconJX is supposedly scanning the JS files in the output folder for > "@impleme

Re: flex-typedefs git commit: add goog.DEBUG for debug-only code

2016-11-21 Thread Peter Ent
That did the trick. Thanks. ‹peter On 11/21/16, 4:08 PM, "Alex Harui" wrote: > > >On 11/21/16, 12:01 PM, "Peter Ent" wrote: > >>What are the requirements for getting flex-asjs to compile with >>goog.DEBUG? Is there a new version of google closure required or an >>environment var to be set? > >D

Re: [FlexJS] MDL List problems

2016-11-21 Thread Alex Harui
On 11/21/16, 1:20 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex or Peter, > >I'm building a MDL List from js:List > >I configured a basic js:List example, and then make a copy to get the MDL >List with the basic changes. Then the example does not work anymore with >th

Re: [FlexJS]missing css

2016-11-21 Thread Alex Harui
On 11/21/16, 1:23 PM, "Harbs" wrote: >SimpleCSSValuesImpl.js is not in the output folder at all. > >In fact, I’m not getting Button.js either, but I am getting TextArea.js >and Container.js. > >Really odd... Post the entire console output. Are you trying to use the CoreJS.swc? It won't have

Re: [FlexJS]missing css

2016-11-21 Thread Harbs
http://pastebin.com/R1H43Qrr Here’s the requires: goog.provide('PrintUIManagement'); goog.require('org.apache.flex.utils.EffectTimer'); goog.require('org.apache.flex.core.SimpleStatesImpl'); goog.require('org.apache.flex.core.Application'); On Nov 21, 2016, at 11:41 PM, Alex Harui wrote: > >

Re: [FlexJS] MDL List problems

2016-11-21 Thread Peter Ent
I had an issue today with ComboBox and its model not being present on the JS side; it was building SWF only. Maybe something similar is happening for List since you mention labelField which should be part of the model List uses. Just an idea, but its odd that you get a similar error to what I had t

Re: [FlexJS] MDL List problems

2016-11-21 Thread Carlos Rovira
Hi Peter, just tested DataBindingExample and is working. In my example I use -compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css In order to get rid of whatever CSS rules that could be inherit from HTML.swc So I put in my MDL lib css this: @namespace "library://ns.apache.o

Newb making mxmlc unhappy: -define's not going through

2016-11-21 Thread Dave Taylor
Hi, my name’s Dave. This will likely sound backwards, but I’m migrating an Air game with a node/js back-end from a heavier Jenkins/hudson/ant/svn build process to a lighter-weight bash/git process in order to streamline devops for a small team managing multiple game forks. I’m a Jenkins, ant,

Newb making mxmlc unhappy: -define's not going through

2016-11-21 Thread Dave Taylor
Hi, my name’s Dave. This will likely sound backwards, but I’m migrating an Air game with a node/js back-end from a heavier Jenkins/hudson/ant/svn build process to a lighter-weight bash/git process in order to streamline devops for a small team managing multiple game forks. I’m a Jenkins, ant,

Re: Newb making mxmlc unhappy: -define's not going through

2016-11-21 Thread Josh Tynjala
> '-define=CONFIG::GAME_NAME,A Name With Spaces In It' I suspect that the opening single quote should be in a different location.. Try putting it after the comma. - Josh On Mon, Nov 21, 2016 at 2:22 PM, Dave Taylor wrote: > Hi, my name’s Dave. This will likely sound backwards, but I’m migrati

Re: Newb making mxmlc unhappy: -define's not going through

2016-11-21 Thread Dave Taylor
That wouldn't change what mxmlc would see from the command line in bash. However, in the spirit of your suggestion, I’ve also tried: '-define=CONFIG::GAME_NAME,"A Name With Spaces In It”' and "-define=CONFIG::GAME_NAME,'A Name With Spaces In It’" There’s no difference in behaviour. Keep in m

Re: Newb making mxmlc unhappy: -define's not going through

2016-11-21 Thread Josh Tynjala
Why are you leaving the quote before -define? I meant that it was in the wrong place, so it should be removed from the start and put after the comma. -define=CONFIG::GAME_NAME,'A Name With Spaces In It' - Josh On Mon, Nov 21, 2016 at 2:46 PM, Dave Taylor wrote: > That wouldn't change what mxml

Re: [FlexJS] MDL List problems

2016-11-21 Thread Carlos Rovira
The example is failing in EventDispatcher.js here: event is "initComplete" /** * @export * @override */ org.apache.flex.events.EventDispatcher.prototype.dispatchEvent = function(event) { try { if (event) { if (typeof(event) == "string") { event = new org.apache.flex.events

Re: Newb making mxmlc unhappy: -define's not going through

2016-11-21 Thread Dave Taylor
What the quote does in bash is submit everything from -define to It as a single argument to mxmlc without the quotes, whether or not it’s put after the comma or before the -define. For example: % foo='hi,josh- how goes it' % echo [${foo}] [hi,josh- how goes it] % foo=hi,'josh- how goes it' % e

Re: Newb making mxmlc unhappy: -define's not going through

2016-11-21 Thread Josh Tynjala
Actually, I was mistaken. To define a string constant, it needs to be in one of the following formats: -define=CONFIG::GAME_NAME,"'A Name With Spaces In It'" -define=CONFIG::GAME_NAME,"\"A Name With Spaces In It\"" Notice that, in both cases, there are two sets of quotes. This may seem a little

Re: Newb making mxmlc unhappy: -define's not going through

2016-11-21 Thread Josh Tynjala
With all that in mind, I think it's your URLs that are causing the error with the colon: -define=CONFIG::PAYMENTSERVER_URL,https://payment.redacted.com:8081 They should probably be something like this: -define=CONFIG::PAYMENTSERVER_URL,"\"https://payment.redacted.com:8081\""; Basically, anythin

Re: Newb making mxmlc unhappy: -define's not going through

2016-11-21 Thread Dave Taylor
I think you’re right. I’m now quoting the strings but not the booleans and numbers, and it seems happier, or at least onto new errors to explore. Thanks for the help, Josh! =-ddt-> > On Nov 21, 2016, at 4:02 PM, Josh Tynjala wrote: > > With all that in mind, I think it's your URLs t

Re: [FlexJS] MDL List problems

2016-11-21 Thread Peter Ent
I had this happen today in an example I got from a JIRA bug[1] as the test. In that example (see the paste.apache.org link in the bug) you'll see there is only the 1 mxml file. I could not get this example to work: The myCombo.dataProvider setter needed to get to the combo box model which was not

Re: [FlexJS]missing css

2016-11-21 Thread Alex Harui
What's in the rest of the PrintUIManagement.js? Does it mention SimpleCSSValuesImpl but no requires for it? -Alex On 11/21/16, 1:45 PM, "Harbs" wrote: >http://pastebin.com/R1H43Qrr > >Here’s the requires: >goog.provide('PrintUIManagement'); >goog.require('org.apache.flex.utils.EffectTimer'); >

Re: [FlexJS] MDL List problems

2016-11-21 Thread Alex Harui
Carlos, In your first post, you showed code that tested if the view was an org.apache.flex.html.List. If your MDL List is not extending that List, it would throw an exception that you might see caught in EventDispatcher. What does the 'e' variable contain? -Alex On 11/21/16, 3:19 PM, "carlos.r

[Bindable] and private setters (was Re: [Falcon])

2016-11-21 Thread Alex Harui
After some investigation, it appears that for classes with [Bindable], with MXMLC you could get away with having a public getter and private setter. But that is because the MXMLC compiler converts the setter to a public setter, defeating the whole point of making a private setter. So, I'd like to

Re: [FlexJS]missing css

2016-11-21 Thread Harbs
No mention at all. On Nov 22, 2016, at 6:58 AM, Alex Harui wrote: > What's in the rest of the PrintUIManagement.js? Does it mention > SimpleCSSValuesImpl but no requires for it? > > -Alex > > On 11/21/16, 1:45 PM, "Harbs" wrote: > >> http://pastebin.com/R1H43Qrr >> >> Here’s the requires:

Re: [FlexJS]missing css

2016-11-21 Thread Alex Harui
Post PrintUIManagement.js. Maybe there is a clue in there. The only other thing I saw that was strange was a setting of -external-library-path=typedefs. I have no idea what that does, but if the wrong SWCs are seen as external then there wouldn't be a goog.requires. But there still should be so

Nightly Builds unavailable at some point

2016-11-21 Thread Alex Harui
Hi, I'm hoping to move the apacheflexbuilds CI server to a faster machine this week. Apparently it involves downloading the image from its current data center and uploading it to a different data center. Somehow, I'll be surprised if it is that simple. I'll send another email just before and af

Re: [FlexJS, MDL] Help with MDL

2016-11-21 Thread piotrz
Carlos, I've also put some effort to add MaterialDesignLite.swc to our nightly build and it's working. :) Anyone who download nightly can try it from now on. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nab