Re: Setup for patching

2015-03-03 Thread Erik de Bruin
Hi Dany, Great to see you give this a go. To get started, you have to: - follow the instructions in the README to 'build the SDK from source': this will build the SWCs that actually make up the SDK that FB uses - once complete, the SDK is ready to use in FB. In the preferences, add the SDK to

Re: Setup for patching

2015-03-03 Thread piotrz
Hi Dany, We have also some resources which described how to set up SDK [1]. Additionally if you are going to use Intellij Nick provides some time ago tutorial on youtube [2]. [1] https://cwiki.apache.org/confluence/display/FLEX/Helping+Out [2] https://www.youtube.com/watch?v=TUbQq_6uWCE Piotr

Re: Setup for patching

2015-03-03 Thread Dany Dhondt
Free beers and confetti for all :) Made my first patch file. Hi Eric, I forgot the caret :( Now the patch file is made and attached to ticket FLEX-34772 Thx for all the help! Dany Op 3-mrt.-2015, om 16:24 heeft Erik de Bruin e...@ixsoftware.nl het volgende geschreven: I think you have

Re: Setup for patching

2015-03-03 Thread Erik de Bruin
I'll take a beer (hold the confetti, please). Congrats on the first of what I hope are many! Thanks Dany. EdB On Tue, Mar 3, 2015 at 4:48 PM, Dany Dhondt archeme...@mac.com wrote: Free beers and confetti for all :) Made my first patch file. Hi Eric, I forgot the caret :( Now the

Re: Setup for patching

2015-03-03 Thread Alex Harui
Congratulations! FWIW, for some (not all) code changes, you can try setting the source-path to the src folder of a folder in frameworks/projects. Or you can make your own folder tree in your project’s source folder and make changes there. Source-path is always supposed to override library-path

Re: Setup for patching

2015-03-03 Thread Dany Dhondt
Hi Subs, I tried to migrate several times already but never succeeded. I have a lot of projects which are constantly updated. I haven't found a definitive guide to migrate from FB to Intellij yet. Do you know of a (very) good guide? Dany Op 3-mrt.-2015, om 15:47 heeft Subs

Re: Setup for patching

2015-03-03 Thread Subs
I'm in same boat as you - i haven't been able to move an FB project to Intellij (thru lack of docs and laziness); i can only setup new projects. On 03/03/2015 15:07, Dany Dhondt wrote: Hi Subs, I tried to migrate several times already but never succeeded. I have a lot of projects which are

Re: Setup for patching

2015-03-03 Thread Erik de Bruin
I think you have to pipe the output to a file: git diff frameworks/projects/spark/src/spark/layouts/ fix.patch (I think, haven't use this IRL) EdB On Tue, Mar 3, 2015 at 4:15 PM, Dany Dhondt archeme...@mac.com wrote: Hi Eric, I'm afraid I need your help again. The docs say that I have

Re: Creating a patch (was: Re: VerticalLayout)

2015-03-03 Thread Dany Dhondt
Hi Om, The patch file is made! See FLEX-34772 Dany Op 28-feb.-2015, om 16:22 heeft Dany Dhondt archeme...@mac.com het volgende geschreven: Hi Om, Update: - I've set up Git and cloned the flex-sdk repo. - I created a issue in Jira (34772) - created a branch in Git for this issue

Re: Setup for patching

2015-03-03 Thread Subs
...i'm not suggesting you are lazy too ;) On 03/03/2015 15:15, Subs wrote: I'm in same boat as you - i haven't been able to move an FB project to Intellij (thru lack of docs and laziness); i can only setup new projects. On 03/03/2015 15:07, Dany Dhondt wrote: Hi Subs, I tried to migrate

Re: Setup for patching

2015-03-03 Thread piotrz
Migrating project from FB to Intellij working in general. Sometimes after import you have to correct some dependencies but in general it's working. I've been migrate a lot of projects from FB to Intellij and it was always successful. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com --

Re: Setup for patching

2015-03-03 Thread Dany Dhondt
Hi Eric, I'm afraid I need your help again. The docs say that I have to create a patch file from the root of the sdk. So, from flex-sdk, I tried this command: git diff frameworks/projects/spark/src/spark/layouts/ fix.patch What do I do wrong? Dany Op 3-mrt.-2015, om 15:47 heeft Subs

RE: Setup for patching

2015-03-03 Thread Kessler CTR Mark J
Your first time getting the sdk source setup feels like a trial by fire doesn't it lol... partly a rite of passage :P -Mark

Re: Setup for patching

2015-03-03 Thread Dany Dhondt
Hi all, I have now: The flex sdk (cloned from git) under: [1] /ApacheFlex/source/flex-sdk Then I ran the ant main OK Then I've built a sdk for use in FB using sh makeApacheFlexForIDE.sh /Applications/Adobe Flash Builder 4.7/sdks/Flex_4.15 So the sdk is now under: [2] /Applications/Adobe

Re: Setup for patching

2015-03-03 Thread Erik de Bruin
There is no need to run the whole build again, just the project you're working on. So, if you're making changes to the mx::Alert component, you'd only re-build /frameworks/projects/mx. You can do this by pointing your Terminal at that directory and execute 'ant main'. This will rebuild the

Re: Setup for patching

2015-03-03 Thread Dany Dhondt
thanks Alex, I'll try that out too. Dany Op 3-mrt.-2015, om 16:57 heeft Alex Harui aha...@adobe.com het volgende geschreven: Congratulations! FWIW, for some (not all) code changes, you can try setting the source-path to the src folder of a folder in frameworks/projects. Or you can

Re: git commit: [flex-sdk] [refs/heads/develop] - FLEX-34775 Added a unit test to reproduce the bug.

2015-03-03 Thread Mihai Chira
I want to fix this by getting HierarchicalCollectionView to refuse the opening of a node which cannot be seen (i.e. whose parent is not open, or whose parent's parent is not open, etc.) Can anyone think of reasons this is not a good idea? E.g. related to the functioning of AdvancedDataGrids?

Configurable css in flex

2015-03-03 Thread Pawan Yadav
Hi, Can anyone please tell me how I can read properties file through css in flex or pass any configurable variable to css file. Is there was I can make css values bindable with action script.

Re: Setup for patching

2015-03-03 Thread Erik de Bruin
Nope, it doesn't, it just adds and creates the ones that need to be there ;-) EdB On Tue, Mar 3, 2015 at 1:06 PM, Dany Dhondt archeme...@mac.com wrote: Hi Eric, So you mean I should do this?: sh makeApacheFlexForIDE.sh /ApacheFlex/source/flex-sdk Won't that overwrite all files there?

Re: [ANNOUNCEMENT] Please welcome Maxim Solodovnik as our newest committer

2015-03-03 Thread Mihai Chira
Welcome Maxim! On 3 March 2015 at 11:54, Kessler CTR Mark J mark.kessler@usmc.mil wrote: Gratz and welcome :) -Mark -Original Message- From: piotrz [mailto:piotrzarzyck...@gmail.com] Sent: Monday, March 02, 2015 3:04 PM To: dev@flex.apache.org Subject: [ANNOUNCEMENT] Please

Re: Configurable css in flex

2015-03-03 Thread Pawan Yadav
Thansk for reply, Actually I need to load the value from property file or action script variable. So that I can make properties configurable in flex application. Like in fontsize=x, this x value can I read from some file or action script variable ? Is it possible to do that ? Best Regards --

Re: Configurable css in flex

2015-03-03 Thread Alex Harui
The Flex CSS values are available from the StyleManager or StyleManagerImpl and can be changed via setStyle calls. On 3/3/15, 9:07 AM, Pawan Yadav pawanrao...@gmail.com wrote: Thansk for reply, Actually I need to load the value from property file or action script variable. So that I can make

RE: [FLEXUNIT, TLF] Problem with applying appropriate data for tests

2015-03-03 Thread Michael A. Labriola
checkfirstBaselineOffset and checkColumnWidthOnGapChangeTest I will create - https://paste.apache.org/7Qka This is pretty close to what I was suggesting in my original comment. Mike

Re: Configurable css in flex

2015-03-03 Thread roksmediainc
We did this very same thing to simplify mobile skin development by extending and overriding the StyleManager and looking for the classes We want to change. When found We update them with the scale factor, position, etc. that then get passed to the single dynamic skin. Super easy mobile

RE: [FLEXUNIT, TLF] Problem with applying appropriate data for tests

2015-03-03 Thread piotrz
Michael, I've just committed my changes and applied it to one test class. You can take a look into that. I'm filtering data inside loader based on the tests name: https://git1-us-west.apache.org/repos/asf?p=flex-tlf.git;a=commit;h=6155a8ab Piotr - Apache Flex PMC

Re: VerticalLayout

2015-03-03 Thread Erik de Bruin
Om, Dany created a patch [1], would you mind looking at it? Thanks, EdB 1: https://issues.apache.org/jira/browse/FLEX-34772 On Thu, Feb 26, 2015 at 7:26 PM, OmPrakash Muppirala bigosma...@gmail.com wrote: Would you be interested in providing a patch file? Best would be to create a JIRA

Re: VerticalLayout

2015-03-03 Thread OmPrakash Muppirala
I will take a look as soon as I get a chance. (Thank you, Dany!) Regards, Om On Mar 3, 2015 10:29 PM, Erik de Bruin e...@ixsoftware.nl wrote: Om, Dany created a patch [1], would you mind looking at it? Thanks, EdB 1: https://issues.apache.org/jira/browse/FLEX-34772 On Thu, Feb 26,

RE: [DISCUSS] Flex Doc Donation

2015-03-03 Thread piotrz
+1 for this donation. I agree also with Mark that if it is possible we should redirect adobe forum to ours. Maybe hold also content from adobe as an archive somewhere. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

flex/air does not resize app when call in use statusbar showing on iphone

2015-03-03 Thread kevin.godell
I just noticed that if I launch my app, minimize it to make a call, and then maximize it while staying on the call, that the enlarged call in use statusbar of iOS pans my app content downward, making some of my buttons difficult to interact with because they are at the bottom of my view. I tested

Re: Setup for patching

2015-03-03 Thread Dany Dhondt
Hi Eric, ok, I succeeded to add the repo sdk to Flash Builder. Now I changed a file in the repo (VerticalLayout.as), recompiled in the folder spark using ant main and cleaned my test project. The changes don't show up though. What am I doing wrong? thx again, almost there I think Dany Op

Re: Setup for patching

2015-03-03 Thread Erik de Bruin
Are you sure your project is using the repo SDK (I have to ask...)? EdB On Tue, Mar 3, 2015 at 3:22 PM, Dany Dhondt archeme...@mac.com wrote: Hi Eric, ok, I succeeded to add the repo sdk to Flash Builder. Now I changed a file in the repo (VerticalLayout.as), recompiled in the folder

Re: Setup for patching

2015-03-03 Thread Erik de Bruin
Now I get a BUILD SUCCESFUL message. It is, isn't it? :-) EdB -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl

Re: [ANNOUNCEMENT] Please welcome Maxim Solodovnik as our newest committer

2015-03-03 Thread Harbs
Welcome! Harbs

Re: [ANNOUNCEMENT] Please welcome Maxim Solodovnik as our newest committer

2015-03-03 Thread Tom Chiverton
On 03/03/15 04:00, Maxim Solodovnik wrote: And I'm sure we will find some time for the beer and party :)) An excellent first plan as a committer ;-) Tom

Re: Setup for patching

2015-03-03 Thread Dany Dhondt
Hi Eric, I think I'm almost there. My only confusion is what file I have to edit. My testproject uses the sdk which is located under the sdks folder of Flash Builder. The git repo I cloned on the other hand is located under /ApacheFlex/source/flex-sdk Both have a mx::Alert component. Which

Re: Setup for patching

2015-03-03 Thread Erik de Bruin
Mind you, mx::Alert was only an example, but: Your test project should use the SDK from the git repo. You should only edit files in the SDK from the git repo. That way, after you edit and re-build the SWC, your test project will pick up the changes. HTH, EdB On Tue, Mar 3, 2015 at 12:21 PM,

Re: Setup for patching

2015-03-03 Thread Dany Dhondt
Mind you, mx::Alert was only an example, but: I know, I know :) But my base flex-sdk folder can't be used in FB. So I created a second sdk folder using the makeApacheFlexForIDE command, right? So when I edit a file, it points to the one in the FB sdk, NOT to the sdk folder I cloned from git.

Re: Setup for patching

2015-03-03 Thread Dany Dhondt
Hi Eric, So you mean I should do this?: sh makeApacheFlexForIDE.sh /ApacheFlex/source/flex-sdk Won't that overwrite all files there? Dany Op 3-mrt.-2015, om 12:57 heeft Erik de Bruin e...@ixsoftware.nl het volgende geschreven: But my base flex-sdk folder can't be used in FB. So I

Re: Setup for patching

2015-03-03 Thread Dany Dhondt
Hi Erik, Piotrz Thx. for helping. I've done quite a few things already. I used this page: https://cwiki.apache.org/confluence/display/FLEX/1.2+Setting+up+Manually https://cwiki.apache.org/confluence/display/FLEX/1.2+Setting+up+Manually env. variables ok, installed all packages, ... then I

Re: Setup for patching

2015-03-03 Thread Dany Dhondt
Hi, I found the problem. The env. file for the air sdk had a extra level. I corrected that. Now I get a BUILD SUCCESFUL message. Nice feeling :) d Op 3-mrt.-2015, om 09:55 heeft Dany Dhondt archeme...@mac.com het volgende geschreven: Hi Erik, Piotrz Thx. for helping. I've done quite

Re: Setup for patching

2015-03-03 Thread Dany Dhondt
Hi Eric, Solved! First, the change didn't show up. Then I ran the application and when I came back to FB, the change showed up! Pfewww! One more step: creating a patch file. That shouldn't be too hard I guess... So far so good. Many thanks for the help... Dany Op 3-mrt.-2015, om 15:27 heeft

Re: Setup for patching

2015-03-03 Thread Subs
Don't know if it's an option for you, but Intellij is a lot better/nicer/easier than FB when it comes to stuff like this (building the sdk, creating a patch etc). On 03/03/2015 14:32, Dany Dhondt wrote: Hi Eric, Solved! First, the change didn't show up. Then I ran the application and when I