Re: CreateJS and FlexJS

2013-05-07 Thread Erik de Bruin
 It will be a lot of work to integrate the compilers into FB.

Can you give me a basic idea of what is involved?

EdB



--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


Update Apache Flex release notes

2013-05-07 Thread Justin Mclean
Hi,

I has an attempt to update the release notes and would like some help - see the 
TODOs in the checks

Note that the changes in develop (and the release notes) need to go all the way 
back to December as 4.9.1 was a minor modification of the 4.9 branch and 
changes in develop were not merged into 4.9.1.

Since then over 300 JIRA items have been resolved and there been quite a few 
changes to the SDK!

Thanks,
Justin

Re: Update Apache Flex release notes

2013-05-07 Thread Justin Mclean
Hi,

Just a note I generated the bug list like so:
https://issues.apache.org/jira/issues/?filter=12323982

It does include bugs marked as duplicated, marked wont fix and improvements as 
well but it everything that's been resolved since that date. It may also have a 
couple of 4.9.1 issues in there.

Thanks,
Justin

Re: Making an new Apache Flex release

2013-05-07 Thread Erik de Bruin
I'll go the long way round ;-)

EdB



On Mon, May 6, 2013 at 5:51 PM, Alex Harui aha...@adobe.com wrote:
 Nick is right, but I don't understand why you are getting these files to
 show up in rat.  Are those 3 targets the equivalent of ant release?
 Otherwise, it isn't a fair test as the release target might otherwise
 delete those files (since they are binaries and shouldn't be in a source
 package).

 I know you want to save time, but let's make sure we are building a correct
 source package and not skipping an important step.

 -Alex


 On 5/6/13 8:16 AM, Nicholas Kwiatkowski nicho...@spoon.as wrote:

 I think we have a list of Excluded files so the RAT report ignores files
 that can't or shouldn't have the license header in them.  According to my
 IDE, those files are listed on lines 1668:1701 in the build.xml (ANT
 builder).  We don't add the license header to binaries such as SWF,
 because, well.. it breaks them ;P

 -Nick


 On Mon, May 6, 2013 at 10:56 AM, Erik de Bruin e...@ixsoftware.nl wrote:

 If I run:

 ant main
 ant source-package
 ant rat-check

 I get a rat.report with 5 unapproved licenses:


 /Users/erik/Documents/ApacheFlex/git/flex-sdk/temp/frameworks/javascript/fabr
 idge/samples/EmptySwf.swf

 /Users/erik/Documents/ApacheFlex/git/flex-sdk/temp/frameworks/javascript/fabr
 idge/samples/app.swf

 /Users/erik/Documents/ApacheFlex/git/flex-sdk/temp/frameworks/localFonts.ser

 /Users/erik/Documents/ApacheFlex/git/flex-sdk/temp/frameworks/macFonts.ser

 /Users/erik/Documents/ApacheFlex/git/flex-sdk/temp/frameworks/winFonts.ser

 But these seem to be binaries (.swf) and empty files (.ser), so how
 (and why) do I add license header to these?

 What am I doing wrong/not understanding?

 EdB



 On Mon, May 6, 2013 at 4:48 PM, Erik de Bruin e...@ixsoftware.nl wrote:
 Never one to shy away from a daunting task, I've taken on the 'missing
 headers' issue...

 I can run 'ant release' successfully (after fixing the JavaCC URL) and
 get a nice 'rat.report'. I've fixed the headers in the
 'experimental/bundles' property files that ant reports.

 Running 'ant release' takes 32 min. on my machine. Is there a
 'shortcut' so I can refresh the source packages etc. and run 'ant
 rat-check' directly to get a fresh report?

 EdB



 On Mon, May 6, 2013 at 5:58 AM, Justin Mclean justinmcl...@mac.com
 wrote:
 Hi,

 Develop and trunk are drifting further apart and we have a fair number
 of bug fixes, support for newer version of AIR and FP, some new
 experimental components, so probably about time we started thinking about a
 release. The longer we leave it the harder it will be to make a release. So
 who can help me out here?

 There a few things that need to be fixed up before we can make a
 release. Can anyone put up their hand to try and fix these?
 - Get Jenkin/CI back up and working with Git - not essential but give
 up some confidence that things are still working.
 - Fix build issues re TLF and move to Git
 - Look into issue with list selection tesst failing (selection colour
 difference in bitmaps)
 - Fix a few missing headers (dead simple!)
 - Does anyone know what state the components in the experimental
 project are? I have no idea if any of these are in a releasable state or
 not.
 - Make sure all mustella test run on OS, windows and mobile (now that
 mobile tests work) with flash player 11.1 and 11.7 and AIR 3.7
 - What state are the mustella AIR tests in?
 - Add linux as an officially supported platform for this release.

 Is there anything else we would like to see in a release?

 Do we have any committers or non committers with Linux experience who
 would like to see this happen? There's is probably only a small amount of
 work required to officially supporting Linux.

 There are also a number of critical and major JIRA issues that have
 been raised over the last few months (including some of the issues above)
 that it would be nice to try and fix before a release.

 Here's the blocker and critical ones (12 issues):
 https://issues.apache.org/jira/issues/?filter=12323979

 And those plus major ones (158 issues):
 https://issues.apache.org/jira/issues/?filter=12323978

 Is any existing committer or non committer willing to help out and try
 and fix one or two of the above bugs? Almost all of this issues are
 unassigned.

 Thanks,
 Justin




 --
 Ix Multimedia Software

 Jan Luykenstraat 27
 3521 VB Utrecht

 T. 06-51952295
 I. www.ixsoftware.nl



 --
 Ix Multimedia Software

 Jan Luykenstraat 27
 3521 VB Utrecht

 T. 06-51952295
 I. www.ixsoftware.nl


 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui




-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


[jira] [Commented] (FLEX-26325) RemoteObject logs too eagerly all sent messages

2013-05-07 Thread JIRA

[ 
https://issues.apache.org/jira/browse/FLEX-26325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13650587#comment-13650587
 ] 

William Draï commented on FLEX-26325:
-

Excellent, thanks.


 RemoteObject logs too eagerly all sent messages
 ---

 Key: FLEX-26325
 URL: https://issues.apache.org/jira/browse/FLEX-26325
 Project: Apache Flex
  Issue Type: Bug
  Components: RPC: RemoteObject
Affects Versions: Adobe Flex SDK 4.1 (Release)
 Environment: Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
  Labels: easyfix
 Fix For: Apache Flex 4.10.0

 Attachments: 2833.patch


 Steps to reproduce:
 1. Set debug level on any Logger in the application (not even necessarily on 
 mx.rpc.*)
 2. Call a remote operation with a RemoteObject sending a complex object 
 graph, or an object graph containing 'lazy loaded' data, e.g. with LCDS or 
 GraniteDS
  
  Actual Results:
 RemoteObject computes the complete debug message in RPCObjectUtils by the 
 ultra slow AS3 reflection (even when the message will never be logged at 
 all), and consequently triggers all lazy initializations (for example by 
 accessing all lazyCollection.length properties on all the object graph). 
 See here for more details on the issue: 
 http://insideria.com/2010/10/flex-rpc-and-the-broken-mxlogg.html
  
  Expected Results:
 No computation of the debug message should be done when mx.rpc is not in 
 debug mode.
 At least provide one of these options :
 - Allow adding manually excluded properties in 
 RPCObjectUtils.defaultToStringExcludes (make it public or add a function 
 addDefaultExclude)
 - Use existing toString() methods on objects when available instead of always 
 relying on AS3 reflection
 - Provide a way to completely override the default RPCObjectUtil.toString, 
 i.e.
 public var toStringFunction:Function;
 public static function toString(value:Object, 
 namespaceURIs:Array = null, 
 exclude:Array = null):String
 {
 if (toStringFunction != null) {
 return toStringFunction(value, namespaceURIs, exclude);
 }
 if (exclude == null)
 {
 exclude = defaultToStringExcludes;
 }
 
 refCount = 0;
 return internalToString(value, 0, null, namespaceURIs, exclude);
 }
  
  Workaround (if any):
  
 Never set any debug level on any Logger.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: Update Apache Flex release notes

2013-05-07 Thread Justin Mclean
Hi,

And it also include falcon and other issue that probably shouldn't be there - 
as far as I can see there no way to automatically generate this list you have 
to do it by hand :-(

Justin

[jira] [Created] (FLEX-33541) Update Apache Flex release notes for the next release

2013-05-07 Thread Justin Mclean (JIRA)
Justin Mclean created FLEX-33541:


 Summary: Update Apache Flex release notes for the next release
 Key: FLEX-33541
 URL: https://issues.apache.org/jira/browse/FLEX-33541
 Project: Apache Flex
  Issue Type: Improvement
Reporter: Justin Mclean


Update release note to reflect all changes since the 4.9 release last december.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-33541) Update Apache Flex release notes for the next release

2013-05-07 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-33541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13650615#comment-13650615
 ] 

Justin Mclean commented on FLEX-33541:
--

Made a start and checked into develop.

 Update Apache Flex release notes for the next release
 -

 Key: FLEX-33541
 URL: https://issues.apache.org/jira/browse/FLEX-33541
 Project: Apache Flex
  Issue Type: Improvement
Reporter: Justin Mclean

 Update release note to reflect all changes since the 4.9 release last 
 december.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FLEX-33541) Update Apache Flex release notes for the next release

2013-05-07 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-33541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean updated FLEX-33541:
-

Affects Version/s: Apache Flex 4.9.0

 Update Apache Flex release notes for the next release
 -

 Key: FLEX-33541
 URL: https://issues.apache.org/jira/browse/FLEX-33541
 Project: Apache Flex
  Issue Type: Improvement
Affects Versions: Apache Flex 4.9.0
Reporter: Justin Mclean

 Update release note to reflect all changes since the 4.9 release last 
 december.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (FLEX-20956) [Localization]: DateField should support MMM and MMMM for formatString

2013-05-07 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-20956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean resolved FLEX-20956.
--

   Resolution: Fixed
Fix Version/s: Apache Flex 4.10.0

Checked into develop branch.

 [Localization]: DateField should support MMM and  for formatString
 --

 Key: FLEX-20956
 URL: https://issues.apache.org/jira/browse/FLEX-20956
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.4 (Release)
 Environment: Affected OS(s): All OS Platforms
 Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
Priority: Minor
  Labels: easyfix
 Fix For: Apache Flex 4.10.0


 Steps to reproduce:
 1. Compile and run the following application:
 ?xml version=1.0 encoding=utf-8?
 mx:Application 
 xmlns:mx=http://www.adobe.com/2006/mxml;
 styleName=plain
 mx:Form 
 mx:FormItem label=Enter new date:   
 mx:DateField id=df selectedDate={new Date(2009,8,8)} 
 formatString=DD--/
 /mx:FormItem
 /mx:Form
 /mx:Application 
  Actual Results:
   mx:DateField field displays  08-0909-2009 
  
  Expected Results:
mx:DateField field should display  08-September-09 
  
  Workaround (if any):
  Patch static method dateToString of DateField by ourselves.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (FLEX-27652) DateChooser displays incorrect month label

2013-05-07 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-27652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean resolved FLEX-27652.
--

   Resolution: Fixed
Fix Version/s: Apache Flex 4.10.0

Checked into develop branch

 DateChooser displays incorrect month label
 --

 Key: FLEX-27652
 URL: https://issues.apache.org/jira/browse/FLEX-27652
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateChooser
Affects Versions: Adobe Flex SDK Previous
 Environment: Affected OS(s): All OS Platforms
 Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
  Labels: easyfix, easytest
 Fix For: Apache Flex 4.10.0


 Steps to reproduce:
 1. Open the attached project and run
 2. Click the button
 3. DateChooser displayed as a popup, current year and calendar correct, but 
 month label incorrect
 4. Return to project and uncomment line 19, then repeat steps 1-3
 5. Note now that month displays correctly
  
  Actual Results:
  Instead of the current month displaying in the label, the label displays 
 September. This is because September is the longest month in terms of 
 number of characters, and text fields text property is set to this value 
 during setMonthWidth, but never reset back to original value.
  
  Expected Results:
  Label displays correct month
  
  Workaround (if any):
  Need to call invalidateDisplayList on the DateChooser at a later time

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (FLEX-14153) Unrequired cast of calHeader in DateChooser

2013-05-07 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-14153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean resolved FLEX-14153.
--

   Resolution: Fixed
Fix Version/s: Apache Flex 4.10.0

fixed and checked into development branch

 Unrequired cast of calHeader in DateChooser
 ---

 Key: FLEX-14153
 URL: https://issues.apache.org/jira/browse/FLEX-14153
 Project: Apache Flex
  Issue Type: Improvement
  Components: mx: DateChooser
Affects Versions: Adobe Flex SDK Previous
 Environment: Affected OS(s): All OS Platforms
 Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
 Fix For: Apache Flex 4.10.0


 line 1873 of DateChooser casts calHeader to UIComponent.
 calHeader is declared with the type UIComponent, it's created as a 
 UIComponent and therefore this cast is redundant.
 /**
  *  @private
  */
 mx_internal var calHeader:UIComponent;
 if (!calHeader)
 {
 calHeader = new UIComponent();
 addChild(calHeader);
UIComponent(calHeader).styleName = this;   -- cast is 
 rundundant
  }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FLEX-13423) DateChooser selectedRanges gives selectedRange start+1 day [if selectedRanges.rangeStart is same as selectableRange.rangeStart]

2013-05-07 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-13423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean updated FLEX-13423:
-

Labels: easyfix easytest  (was: )

 DateChooser selectedRanges gives selectedRange start+1 day [if 
 selectedRanges.rangeStart is same as selectableRange.rangeStart]
 ---

 Key: FLEX-13423
 URL: https://issues.apache.org/jira/browse/FLEX-13423
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateChooser
Affects Versions: Adobe Flex SDK Previous
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows XP
 Language Found: English
Reporter: Adobe JIRA
Priority: Minor
  Labels: easyfix, easytest
 Fix For: Adobe Flex SDK 3.0 (Release)


   Steps to reproduce:
 1. Compile and run the below sample piece of code
 ?xml version=1.0 encoding=iso-8859-1? 
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
   mx:DateChooser id=dc selectableRange={{rangeStart: new 
 Date(2007,11,11), rangeEnd: new Date(2007,11,19)}} 
 allowMultipleSelection=true /
   mx:Button label=Selected Range click=run()/
   mx:Script
   ![CDATA[
   public function run():void{
   for(var 
 i:int=0;idc.selectedRanges.length;i++)
   {
   
 trace(dc.selectedRanges[i].rangeStart);
   
 trace(dc.selectedRanges[i].rangeEnd);
   }
   }
   ]]
   
   /mx:Script
 /mx:Application
 2. Notice that selectable range is in between 11-December to 19-December
 3. Select all the dates 
 4. Click on the button 'Selected Range'. Notice that in the trace selected 
 range start shows 12-December.
  Actual Results: DateChooser selectedRanges gives selectedRange start+1 day.
  
  
  Expected Results: selectedRange start date should be 11-December.
  
  
  Workaround (if any): none
 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (FLEX-21790) setting DateChooser's displayedYear property does not work consistently

2013-05-07 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-21790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean resolved FLEX-21790.
--

   Resolution: Not A Problem
Fix Version/s: Apache Flex 4.10.0

Resolved in previous version of the SDK

 setting DateChooser's displayedYear property does not work consistently
 ---

 Key: FLEX-21790
 URL: https://issues.apache.org/jira/browse/FLEX-21790
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateChooser
Affects Versions: Adobe Flex SDK 3.3 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows XP
 Browser: Firefox 3.x
 Language Found: English
Reporter: Adobe JIRA
 Fix For: Apache Flex 4.10.0


 Steps to reproduce:
 1. select any date from the DataGrid whose year corresponds to the current 
 year
  
  Actual Results:
  displayedYear in the DateChooser is set to 0
  
  Expected Results:
  displayedYear in DateChooser should be set to the year of the date selected 
 from the DataGrid

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FLEX-20804) Datefield change please remove the the DateChooser control close to check

2013-05-07 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-20804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean updated FLEX-20804:
-

Labels: easytest  (was: )

 Datefield change  please remove the the DateChooser control close to check
 --

 Key: FLEX-20804
 URL: https://issues.apache.org/jira/browse/FLEX-20804
 Project: Apache Flex
  Issue Type: Improvement
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.3 (Release)
 Environment: Affected OS(s): All OS Platforms
 Affected OS(s): All OS Platforms
 Browser: Internet Explorer 6.x
 Language Found: English
Reporter: Adobe JIRA
  Labels: easytest

 Steps to reproduce:
 1. Create a datefield
 2. Create a validation on it
 3. Create a change function (to run an  extra validate function)
 4. make the datefield editable
 5. Change the date it in runtime by typing it in
  
  Actual Results:
  It does not trigger the extra validation function
  
  Expected Results:
  It should trigger the extra validation function
  
  Workaround (if any):
  None.
  
  Why does this happen.
  Because the change event is Dispatched when a date is selected or changed, 
 and the DateChooser control closes. 
  
  I dont understand why the change event is triggered only when also the 
 datechooser control closes ?
  When I type in a date, it also changes right ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (FLEX-22865) Changing a DateChooser's displayedMonth to X and then immediately changing it back results in it showing month X instead of the original month

2013-05-07 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-22865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean resolved FLEX-22865.
--

   Resolution: Fixed
Fix Version/s: Apache Flex 4.10.0

Fixed and checked into develop branch.

 Changing a DateChooser's displayedMonth to X and then immediately changing it 
 back results in it showing month X instead of the original month
 --

 Key: FLEX-22865
 URL: https://issues.apache.org/jira/browse/FLEX-22865
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateChooser
Affects Versions: Adobe Flex SDK 3.5 (Release)
 Environment: Affected OS(s): All OS Platforms
 Affected OS(s): All OS Platforms
 Browser: Firefox 3.x
 Language Found: English
Reporter: Adobe JIRA
 Fix For: Apache Flex 4.10.0


 Steps to reproduce:
 1. Set a DateChooser's displayedMonth property to something other than its 
 current value.
 2. Immediately afterward set the DateChooser's displayedMonth back to its 
 original value.
  
  Actual Results:
 The month displayed on the DateChooser is the intermediate value.
  
  
  Expected Results:
 The month displayed on the DateChooser should be it's original value.
  
  
  Workaround (if any):
  Monkeypatch! Okay, there are probably other ways of working around it, but 
 that's how I did it.
 Additional Information
  See attached file. It's an extremely simple example.
 I believe the problem lies in CalendarLayout's set displayedMonth function. 
 It checks the new value against _displayedMonth but I believe it should 
 check the new value against displayedMonth (no underscore) or possibly 
 _proposedDisplayedMonth.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (FLEX-27768) DateField formatString doesn't display month name as expected

2013-05-07 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-27768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean resolved FLEX-27768.
--

Resolution: Fixed

Fixed and checked into develop branch

 DateField formatString doesn't display month name as expected
 -

 Key: FLEX-27768
 URL: https://issues.apache.org/jira/browse/FLEX-27768
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 4.5.1 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Language Found: English
Reporter: Adobe JIRA
  Labels: easyfix

 Steps to reproduce:
 1. Create Adobe AIR Project and insert MX:DateField control
 2. Set formatString to DD MMM 
 3. Run the application and select a date
  
  Actual Results:
  30 06062011
  
  Expected Results:
  30 Jun 2011
  
  Workaround (if any):
 The Adobe Help website shows an example where the date appears as 24 Feb 
 2004 inside the DateField box, however there's no source code showing how 
 this has been achieved:
 http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7d9b.html#WS2db454920e96a9e51e63e3d11c0bf63b33-7fd4

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Closed] (FLEX-32971) Datagrid selectedIndex property is not working sometimes

2013-05-07 Thread Mark Kessler (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-32971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Kessler closed FLEX-32971.
---


 Datagrid selectedIndex property is not working sometimes
 

 Key: FLEX-32971
 URL: https://issues.apache.org/jira/browse/FLEX-32971
 Project: Apache Flex
  Issue Type: Bug
  Components: Versioning
Affects Versions: Adobe Flex SDK Previous
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows XP
 Language Found: English
Reporter: Adobe JIRA
Assignee: Mark Kessler

 Steps to reproduce:
 1. Please write a program by taking student data as an example.
 It will display two data grids. Display some data(it should have common, not 
 common ) in both the grids.
 2. Select the same student in other data grid if you select the student in 
 one grid. Student no. like 12-23-45. i.e., if you select a student who has 
 no. 12-23-45 then same student should be selected in first grid.
 3.It will work for some time. After that, you can see two different rows 
 selected in the grid.
 I have binded int to the selectedIndex property of datagrid. But, I can still 
 see the issue.
 Please correct me if i am wrong.
  
  Actual Results:
  
  
  Expected Results:
  
  
  Workaround (if any):

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Closed] (FLEX-33495) Flex FileReference.browse() opens a save dialog in Firefox - NOT an open dialog

2013-05-07 Thread Mark Kessler (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-33495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Kessler closed FLEX-33495.
---


 Flex FileReference.browse() opens a save dialog in Firefox - NOT an open 
 dialog
 ---

 Key: FLEX-33495
 URL: https://issues.apache.org/jira/browse/FLEX-33495
 Project: Apache Flex
  Issue Type: Bug
 Environment: window 7 firefox
Reporter: James Chow
Assignee: Mark Kessler

 FileReference.browse()  in IE will open an OPEN dialog but FireFox with 
 latest Flash opens a SAVE dialog.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Closed] (FLEX-33498) Enhancement for dataProvier/selectedIndex supporting components

2013-05-07 Thread Mark Kessler (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-33498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Kessler closed FLEX-33498.
---


 Enhancement for dataProvier/selectedIndex supporting components
 ---

 Key: FLEX-33498
 URL: https://issues.apache.org/jira/browse/FLEX-33498
 Project: Apache Flex
  Issue Type: New Feature
Reporter: Mark Kessler
Assignee: Mark Kessler
Priority: Minor
  Labels: features

 This is some groundwork on some simplistic component navigation (using the 
 dataProvider and selectedIndex internal) and the base for standardizing RegEx 
 patterns with static class members.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FLEX-27468) The TextArea's bounds are reported as starting at local coordinates of -18,-18 instead of 0,0!

2013-05-07 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-27468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean updated FLEX-27468:
-

Labels: easytest  (was: )

 The TextArea's bounds are reported as starting at local coordinates of 
 -18,-18 instead of 0,0!
 --

 Key: FLEX-27468
 URL: https://issues.apache.org/jira/browse/FLEX-27468
 Project: Apache Flex
  Issue Type: Bug
  Components: Spark: TextArea
Affects Versions: Adobe Flex SDK 4.5 (Release)
 Environment: Affected OS(s): All OS Platforms
 Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
  Labels: easytest

 Steps to reproduce:
 ?xml version=1.0 encoding=utf-8?
 s:Application xmlns:fx=http://ns.adobe.com/mxml/2009;
 xmlns:s=library://ns.adobe.com/flex/spark
 xmlns:mx=library://ns.adobe.com/flex/mx minWidth=955 
 minHeight=600 creationComplete=init()
fx:Script
   private function init(event:Event=null):void {
  var bounds:Rectangle = test2.getBounds(test2);
  trace(bounds); //reports (x=-18, y=-18, w=206, h=169)
   }
/fx:Script
s:Group width=100% height=100%
   s:TextArea id=test2
   /s:TextArea
/s:Group
 /s:Application
  
  Actual Results:
  (x=-18, y=-18, w=206, h=169)
  
  Expected Results:
  (x=0, y=0, w=206, h=169)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


RE: [FalconJX] Using RIATest

2013-05-07 Thread Tigran Najaryan
 From: Alex Harui [mailto:aha...@adobe.com]
 
 Thanks for your continued efforts to make this happen.  If you want a
 guarantee that there won't be rejection, then the project should have a
 vote, but before that, I think we need to the point where folks can try
 RIATest on FlexJS/FalconJX.

I do not think there is a need for formal vote right now. If opinions are
generally positive I will go ahead and work on this.

Anyone willing to try RIATest can download it at
http://www.cogitek.com/riatest/download.html. The trial is fully functional
for 30 days. The test attached to this issue
https://issues.apache.org/jira/browse/FLEX-33489 is a good starting point.


 In the flex-asjs repo, there are several examples.  I have one more to
 contribute once I fix a bug in it, and I think one more is going to land
soon
 that is based on Jquery.

I have FlexJSTest, FlexJSTest_again, FlexJSTest_createjs, FlexJSTest_HTML5,
StockQuote and VanillaSDK_POC in the examples dir. Are these all reasonable
targets for testing?


 What I would like to see is a way to run RIATest on all of the examples.
 Then, maybe when we start the discussion leading up to the vote, folks can
 get the trial version of RIATest and run it so they can see what it can
do.
 
 I have a couple of other items in my queue I need to deal with first, so
can
 we pick this up again later this coming week or the week after?
Sure, this can wait.

Tigran.



Re: [FalconJX] Using RIATest

2013-05-07 Thread Erik de Bruin
 I have FlexJSTest, FlexJSTest_again, FlexJSTest_createjs, FlexJSTest_HTML5,
 StockQuote and VanillaSDK_POC in the examples dir. Are these all reasonable
 targets for testing?

All but VanillaSDK_POC; I've suspended development on that project
to give FlexJS a chance to mature. No need for testing it.

EdB



--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


[jira] [Updated] (FLEX-16334) VBox: maxVerticalScrollPosition == 0 if VBox has scrollbar and heigth has value in percent

2013-05-07 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-16334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean updated FLEX-16334:
-

Labels: easytest  (was: )

 VBox: maxVerticalScrollPosition == 0 if VBox has scrollbar and heigth has 
 value in percent
 --

 Key: FLEX-16334
 URL: https://issues.apache.org/jira/browse/FLEX-16334
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: Box View
Affects Versions: Adobe Flex SDK 3.1 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows XP
 Language Found: English
Reporter: Adobe JIRA
  Labels: easytest

 Steps to reproduce:
 1.Run attached example
 2.Click on ClickMe button
 3.Click on ClickMe button again
 4.Click .. click ... click :)
  
  Actual Results:
 Text box has 0 value instead of real maxVerticalScrollPosition 
  
  Expected Results:
 Real maxVerticalScrollPosition  
  
  Workaround (if any):
  Doesn't use width in percent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: CreateJS and FlexJS

2013-05-07 Thread Peter Ent
I forgot to restart FB once I replaced the FlexJSUI.swc in the
FlexJSOverlay SDK area. That fixed the problem. Now both Test_CreateJS and
Test_HTML5 work - I didn't need to do anything to the code.

Peter Ent
Flex SDK Team
Adobe Systems, Inc.

On 5/6/13 11:40 PM, Alex Harui aha...@adobe.com wrote:




On 5/6/13 6:19 PM, OmPrakash Muppirala bigosma...@gmail.com wrote:

 On May 6, 2013 2:17 PM, Alex Harui aha...@adobe.com wrote:
 
 If you see a stack trace with a function ending with _c() or _i(),
that's
 a
 sign that the old FB MXMLC compiler was the last thing to compile that
SWF
 and you have to run the external tool again.
 
 -Alex
 
 I got this same error as well.  I was convinced that I had done
something
 wrong.  I think that the 'build automatically' setting keeps writing the
 wrong version in the bin directory.

My personal workflow is to leave build automatically' checked.  That way,
as I type, FB is constantly checking that I have all of the pieces
correct.
Then, I have to remember to run the external tool to build the SWF before
hitting the 'debug' button.  That works 99% of the time, but every once
in a
while, FB goes and runs another compile.  I think it happens on startup,
open and close of projects and export release builds and probably more.

It will be a lot of work to integrate the compilers into FB.  I am
considering building independent eclipse builders' instead.  But I am
also
hoping IntelliJ folks try to integrate FlexJS/FalconJS with their tools
as I
think they might have an easier time than FB.
 
-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui




FlexJS Confusion

2013-05-07 Thread Peter Ent
I'm trying to programmatically create a RadioButton to test and create a jQuery 
version. My ActionScript code works well:


public function createNewRadioButton() : void

{

var rb:RadioButton = new RadioButton();

rb.initModel();

rb.initSkin();

rb.text = New Radio;

rb.groupName = group1;

rb.x = radioXpos;

rb.y = 290;

rb.value = radioXpos;

this.addChild(rb);

radioXpos += 100;

}

However, after compiling with Falcon JX and running the Javascript version, 
this code causes the browser to complain TypeError: rb.initModel is not a 
function. I guess I'm confused about how to bring the model from ActionScript 
over to Javascript. Since normal HTML input type=radio elements do not 
require group management (on our part), I didn't need anything like that when I 
created the HTML RadioButton, but even without thinking about jQuery, 
programmatically creating a RadioButton requires - I think - using 
rb.initModel().

--peter


Re: [FalconJX] Using RIATest

2013-05-07 Thread Alex Harui



On 5/7/13 3:41 AM, Erik de Bruin e...@ixsoftware.nl wrote:

 I have FlexJSTest, FlexJSTest_again, FlexJSTest_createjs, FlexJSTest_HTML5,
 StockQuote and VanillaSDK_POC in the examples dir. Are these all reasonable
 targets for testing?
 
 All but VanillaSDK_POC; I've suspended development on that project
 to give FlexJS a chance to mature. No need for testing it.
 
And I believe that FlexJSTest is old and out of date, so I think the list
is:
FlexJSTest_again, FlexJSTest_createjs, FlexJSTest_HTML5 and StockQuote.  I
expect there to be a FlexJSTest_jquery arriving this week as well.

You don't have to do the automation scripts for all of these.  I was going
to try to find time to do one or two myself just to force me to see how this
stuff works and make sure it will work on these different flavors of JS UI
layers.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui



Re: FlexJS Confusion

2013-05-07 Thread Alex Harui
Does your RadioButton have a method called initModel?  The base classes
don't implement it by default.


On 5/7/13 7:38 AM, Peter Ent p...@adobe.com wrote:

 I'm trying to programmatically create a RadioButton to test and create a
 jQuery version. My ActionScript code works well:
 
 
 public function createNewRadioButton() : void
 
 {
 
 var rb:RadioButton = new RadioButton();
 
 rb.initModel();
 
 rb.initSkin();
 
 rb.text = New Radio;
 
 rb.groupName = group1;
 
 rb.x = radioXpos;
 
 rb.y = 290;
 
 rb.value = radioXpos;
 
 this.addChild(rb);
 
 radioXpos += 100;
 
 }
 
 However, after compiling with Falcon JX and running the Javascript version,
 this code causes the browser to complain TypeError: rb.initModel is not a
 function. I guess I'm confused about how to bring the model from ActionScript
 over to Javascript. Since normal HTML input type=radio elements do not
 require group management (on our part), I didn't need anything like that when
 I created the HTML RadioButton, but even without thinking about jQuery,
 programmatically creating a RadioButton requires - I think - using
 rb.initModel().
 
 --peter

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui



IFocusManagerComplexComponent and tab focus

2013-05-07 Thread Cosma Colanicchia
Anyone know something about this interface ([1] on github)?

Its asdoc states the IFocusManagerComplexComponent interface defines the
interface that components that can have more than one internal focus target
should implement in order to receive focus from the FocusManager - so I
tried to implement it this scenario, but it does not seem to work.

In particular, the FocusManager implementation look for it when it must
give focus to a component (see [2]), however tab focus management seems
broken using it (I think that FocusManager should check if the current
focus is on a component that is an internal focus target of a complex one
when looking it up in the tab loop, to correctly determine the next focus
manager component).


[1]
https://github.com/apache/flex-sdk/blob/trunk/frameworks/projects/framework/src/mx/managers/IFocusManagerComplexComponent.as

[2]
https://github.com/apache/flex-sdk/blob/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as#L1450


[jira] [Created] (FLEX-33542) mx:AdvancedDataGrid header column separators display embedded SWF on mouseover

2013-05-07 Thread Edward Trochim (JIRA)
Edward Trochim created FLEX-33542:
-

 Summary: mx:AdvancedDataGrid header column separators display 
embedded SWF on mouseover
 Key: FLEX-33542
 URL: https://issues.apache.org/jira/browse/FLEX-33542
 Project: Apache Flex
  Issue Type: Bug
  Components: .Unspecified - Framework
Affects Versions: Apache Flex 4.9.0
Reporter: Edward Trochim


The mx:AdvancedDataGrid control in Flex 4.9.1 is interacting very oddly when 
the application has an embedded SWF. When a user mouses over the header column 
separators in the AdvancedDataGrid the SWF will display on top of the mouse 
cursor. A demonstration of this behavior can be found here: 
https://dl.dropboxusercontent.com/u/11780410/AdvDataGridBugTest/AdvDataGridBugTest.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-33542) mx:AdvancedDataGrid header column separators display embedded SWF on mouseover

2013-05-07 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-33542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13650987#comment-13650987
 ] 

Justin Mclean commented on FLEX-33542:
--

Can you provide a sample code showing this issue? It will be easier to fix if 
we have code to look at.

 mx:AdvancedDataGrid header column separators display embedded SWF on mouseover
 --

 Key: FLEX-33542
 URL: https://issues.apache.org/jira/browse/FLEX-33542
 Project: Apache Flex
  Issue Type: Bug
  Components: .Unspecified - Framework
Affects Versions: Apache Flex 4.9.0
Reporter: Edward Trochim

 The mx:AdvancedDataGrid control in Flex 4.9.1 is interacting very oddly when 
 the application has an embedded SWF. When a user mouses over the header 
 column separators in the AdvancedDataGrid the SWF will display on top of the 
 mouse cursor. A demonstration of this behavior can be found here: 
 https://dl.dropboxusercontent.com/u/11780410/AdvDataGridBugTest/AdvDataGridBugTest.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (FLEX-33542) mx:AdvancedDataGrid header column separators display embedded SWF on mouseover

2013-05-07 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-33542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13650987#comment-13650987
 ] 

Justin Mclean edited comment on FLEX-33542 at 5/7/13 3:57 PM:
--

Can you provide sample code showing this issue? It will be easier to fix if we 
have code to look at.

  was (Author: jmclean):
Can you provide a sample code showing this issue? It will be easier to fix 
if we have code to look at.
  
 mx:AdvancedDataGrid header column separators display embedded SWF on mouseover
 --

 Key: FLEX-33542
 URL: https://issues.apache.org/jira/browse/FLEX-33542
 Project: Apache Flex
  Issue Type: Bug
  Components: .Unspecified - Framework
Affects Versions: Apache Flex 4.9.0
Reporter: Edward Trochim

 The mx:AdvancedDataGrid control in Flex 4.9.1 is interacting very oddly when 
 the application has an embedded SWF. When a user mouses over the header 
 column separators in the AdvancedDataGrid the SWF will display on top of the 
 mouse cursor. A demonstration of this behavior can be found here: 
 https://dl.dropboxusercontent.com/u/11780410/AdvDataGridBugTest/AdvDataGridBugTest.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FLEX-33542) mx:AdvancedDataGrid header column separators display embedded SWF on mouseover

2013-05-07 Thread Edward Trochim (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-33542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Trochim updated FLEX-33542:
--

Attachment: AdvDataGridBugTest.zip

 mx:AdvancedDataGrid header column separators display embedded SWF on mouseover
 --

 Key: FLEX-33542
 URL: https://issues.apache.org/jira/browse/FLEX-33542
 Project: Apache Flex
  Issue Type: Bug
  Components: .Unspecified - Framework
Affects Versions: Apache Flex 4.9.0
Reporter: Edward Trochim
 Attachments: AdvDataGridBugTest.zip


 The mx:AdvancedDataGrid control in Flex 4.9.1 is interacting very oddly when 
 the application has an embedded SWF. When a user mouses over the header 
 column separators in the AdvancedDataGrid the SWF will display on top of the 
 mouse cursor. A demonstration of this behavior can be found here: 
 https://dl.dropboxusercontent.com/u/11780410/AdvDataGridBugTest/AdvDataGridBugTest.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: CreateJS and FlexJS

2013-05-07 Thread Justin Mclean
Hi,

 2) However, FB doesn't like new flags being added to that SDK's mxmlc.
It's actually OK with that eg the advanced telemetry stuff I added a few weeks 
ago works fine with FB.

 F) I don't believe there are any new releases of FB planned at this time
Probably assumed but  perhaps not public knowledge :-)

Justin

Re: IFocusManagerComplexComponent and tab focus

2013-05-07 Thread Alex Harui
That interface is, in fact, only for the initial assignment of focus to the
component that wraps multiple targets.  That wrapping component must then
manage tab focus on its own by handling the keyFocusChange event and calling
preventDefault on it when it wants to keep focus on one of the wrapped
controls.

HTH,
-Alex


On 5/7/13 8:33 AM, Cosma Colanicchia cosma...@gmail.com wrote:

 Anyone know something about this interface ([1] on github)?
 
 Its asdoc states the IFocusManagerComplexComponent interface defines the
 interface that components that can have more than one internal focus target
 should implement in order to receive focus from the FocusManager - so I
 tried to implement it this scenario, but it does not seem to work.
 
 In particular, the FocusManager implementation look for it when it must
 give focus to a component (see [2]), however tab focus management seems
 broken using it (I think that FocusManager should check if the current
 focus is on a component that is an internal focus target of a complex one
 when looking it up in the tab loop, to correctly determine the next focus
 manager component).
 
 
 [1]
 https://github.com/apache/flex-sdk/blob/trunk/frameworks/projects/framework/sr
 c/mx/managers/IFocusManagerComplexComponent.as
 
 [2]
 https://github.com/apache/flex-sdk/blob/trunk/frameworks/projects/framework/sr
 c/mx/managers/FocusManager.as#L1450

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui



[jira] [Commented] (FLEX-33542) mx:AdvancedDataGrid header column separators display embedded SWF on mouseover

2013-05-07 Thread Edward Trochim (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-33542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13651009#comment-13651009
 ] 

Edward Trochim commented on FLEX-33542:
---

I attached the Flex Builder project I created to test this bug but you can also 
right click - view source from the link above.

 mx:AdvancedDataGrid header column separators display embedded SWF on mouseover
 --

 Key: FLEX-33542
 URL: https://issues.apache.org/jira/browse/FLEX-33542
 Project: Apache Flex
  Issue Type: Bug
  Components: .Unspecified - Framework
Affects Versions: Apache Flex 4.9.0
Reporter: Edward Trochim
 Attachments: AdvDataGridBugTest.zip


 The mx:AdvancedDataGrid control in Flex 4.9.1 is interacting very oddly when 
 the application has an embedded SWF. When a user mouses over the header 
 column separators in the AdvancedDataGrid the SWF will display on top of the 
 mouse cursor. A demonstration of this behavior can be found here: 
 https://dl.dropboxusercontent.com/u/11780410/AdvDataGridBugTest/AdvDataGridBugTest.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: IFocusManagerComplexComponent and tab focus

2013-05-07 Thread Cosma Colanicchia
Thanks Alex.

In my test I was never preventing it, but the tab focus movement to the
next component was not worked (I expected to always move forward, at
least): for some reason, the internal focus target was not part of the
FocusManager tab loop candidates. I saw that, in this case, the
FocusManager does a second pass on candidates and stops on the *first*
candidate owning the current focused element, which works with simple UIs
but often produce incorrect results (e.g. when the component is in an
Accordion). Maybe the FocusManager could at least use the *last* owning
candidate (thus narrowing the search towards the tree leaf), instead of the
first one?




2013/5/7 Alex Harui aha...@adobe.com

 That interface is, in fact, only for the initial assignment of focus to the
 component that wraps multiple targets.  That wrapping component must then
 manage tab focus on its own by handling the keyFocusChange event and
 calling
 preventDefault on it when it wants to keep focus on one of the wrapped
 controls.

 HTH,
 -Alex


 On 5/7/13 8:33 AM, Cosma Colanicchia cosma...@gmail.com wrote:

  Anyone know something about this interface ([1] on github)?
 
  Its asdoc states the IFocusManagerComplexComponent interface defines the
  interface that components that can have more than one internal focus
 target
  should implement in order to receive focus from the FocusManager - so I
  tried to implement it this scenario, but it does not seem to work.
 
  In particular, the FocusManager implementation look for it when it must
  give focus to a component (see [2]), however tab focus management seems
  broken using it (I think that FocusManager should check if the current
  focus is on a component that is an internal focus target of a complex
 one
  when looking it up in the tab loop, to correctly determine the next focus
  manager component).
 
 
  [1]
 
 https://github.com/apache/flex-sdk/blob/trunk/frameworks/projects/framework/sr
  c/mx/managers/IFocusManagerComplexComponent.as
 
  [2]
 
 https://github.com/apache/flex-sdk/blob/trunk/frameworks/projects/framework/sr
  c/mx/managers/FocusManager.as#L1450

 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui




Re: IFocusManagerComplexComponent and tab focus

2013-05-07 Thread Cosma Colanicchia
See [1] for the method I was talking about...

https://github.com/apache/flex-sdk/blob/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as#L1336


2013/5/7 Cosma Colanicchia cosma...@gmail.com

 Thanks Alex.

 In my test I was never preventing it, but the tab focus movement to the
 next component was not worked (I expected to always move forward, at
 least): for some reason, the internal focus target was not part of the
 FocusManager tab loop candidates. I saw that, in this case, the
 FocusManager does a second pass on candidates and stops on the *first*
 candidate owning the current focused element, which works with simple UIs
 but often produce incorrect results (e.g. when the component is in an
 Accordion). Maybe the FocusManager could at least use the *last* owning
 candidate (thus narrowing the search towards the tree leaf), instead of the
 first one?




 2013/5/7 Alex Harui aha...@adobe.com

 That interface is, in fact, only for the initial assignment of focus to
 the
 component that wraps multiple targets.  That wrapping component must then
 manage tab focus on its own by handling the keyFocusChange event and
 calling
 preventDefault on it when it wants to keep focus on one of the wrapped
 controls.

 HTH,
 -Alex


 On 5/7/13 8:33 AM, Cosma Colanicchia cosma...@gmail.com wrote:

  Anyone know something about this interface ([1] on github)?
 
  Its asdoc states the IFocusManagerComplexComponent interface defines
 the
  interface that components that can have more than one internal focus
 target
  should implement in order to receive focus from the FocusManager - so I
  tried to implement it this scenario, but it does not seem to work.
 
  In particular, the FocusManager implementation look for it when it must
  give focus to a component (see [2]), however tab focus management seems
  broken using it (I think that FocusManager should check if the current
  focus is on a component that is an internal focus target of a complex
 one
  when looking it up in the tab loop, to correctly determine the next
 focus
  manager component).
 
 
  [1]
 
 https://github.com/apache/flex-sdk/blob/trunk/frameworks/projects/framework/sr
  c/mx/managers/IFocusManagerComplexComponent.as
 
  [2]
 
 https://github.com/apache/flex-sdk/blob/trunk/frameworks/projects/framework/sr
  c/mx/managers/FocusManager.as#L1450

 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui





Re: IFocusManagerComplexComponent and tab focus

2013-05-07 Thread Alex Harui
The FocusManager doesn't want to know about internal focus targets, it
really only wants to know about the component.  For example, in
mx:TextInput, the internal focus target (stage.focus) is a TextField, but
from the developer's and FocusManager's perspective, the focus is on the
wrapping TextInput component.  When editing a DG, the DG has focus from
the FocusManager's perspective, and the DG is calling preventDefault and
moving focus to the editor control.

This component abstraction is managed via the focusEnabled property.
Subcomponents must have focusEnabled=false, and only the outer component
should have focusEnabled=true.  It is only the outer component that should
be in the list of candidates.  Your multiple internal targets should not be
known to the FocusManager.

I think the owner code you cited is mainly for managing things like popups
and dropdowns.  In ColorPicker, the dropdown swatch panel can have focus and
we need to use owner to walk back to the ColorPicker.

So, my guess is that you haven't set the focusEnabled properties on your
component tree properly.


On 5/7/13 9:21 AM, Cosma Colanicchia cosma...@gmail.com wrote:

 Thanks Alex.
 
 In my test I was never preventing it, but the tab focus movement to the
 next component was not worked (I expected to always move forward, at
 least): for some reason, the internal focus target was not part of the
 FocusManager tab loop candidates. I saw that, in this case, the
 FocusManager does a second pass on candidates and stops on the *first*
 candidate owning the current focused element, which works with simple UIs
 but often produce incorrect results (e.g. when the component is in an
 Accordion). Maybe the FocusManager could at least use the *last* owning
 candidate (thus narrowing the search towards the tree leaf), instead of the
 first one?
 
 
 
 
 2013/5/7 Alex Harui aha...@adobe.com
 
 That interface is, in fact, only for the initial assignment of focus to the
 component that wraps multiple targets.  That wrapping component must then
 manage tab focus on its own by handling the keyFocusChange event and
 calling
 preventDefault on it when it wants to keep focus on one of the wrapped
 controls.
 
 HTH,
 -Alex
 
 
 On 5/7/13 8:33 AM, Cosma Colanicchia cosma...@gmail.com wrote:
 
 Anyone know something about this interface ([1] on github)?
 
 Its asdoc states the IFocusManagerComplexComponent interface defines the
 interface that components that can have more than one internal focus
 target
 should implement in order to receive focus from the FocusManager - so I
 tried to implement it this scenario, but it does not seem to work.
 
 In particular, the FocusManager implementation look for it when it must
 give focus to a component (see [2]), however tab focus management seems
 broken using it (I think that FocusManager should check if the current
 focus is on a component that is an internal focus target of a complex
 one
 when looking it up in the tab loop, to correctly determine the next focus
 manager component).
 
 
 [1]
 
 
https://github.com/apache/flex-sdk/blob/trunk/frameworks/projects/framework/s
r
 c/mx/managers/IFocusManagerComplexComponent.as
 
 [2]
 
 
https://github.com/apache/flex-sdk/blob/trunk/frameworks/projects/framework/s
r
 c/mx/managers/FocusManager.as#L1450
 
 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui
 
 

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui



Re: FlexJS Confusion

2013-05-07 Thread Peter Ent
As a matter of fact, it does. Well, its super-class does.

org.apache.flex.jquery.staticControls.RadioButton extends
org.apache.flex.html.staticControls.RadioButton which has initModel. I'll
try adding it to the jQuery version and have it call the super method.

-peter

On 5/7/13 11:26 AM, Alex Harui aha...@adobe.com wrote:

Does your RadioButton have a method called initModel?  The base classes
don't implement it by default.


On 5/7/13 7:38 AM, Peter Ent p...@adobe.com wrote:

 I'm trying to programmatically create a RadioButton to test and create a
 jQuery version. My ActionScript code works well:
 
 
 public function createNewRadioButton() : void
 
 {
 
 var rb:RadioButton = new RadioButton();
 
 rb.initModel();
 
 rb.initSkin();
 
 rb.text = New Radio;
 
 rb.groupName = group1;
 
 rb.x = radioXpos;
 
 rb.y = 290;
 
 rb.value = radioXpos;
 
 this.addChild(rb);
 
 radioXpos += 100;
 
 }
 
 However, after compiling with Falcon JX and running the Javascript
version,
 this code causes the browser to complain TypeError: rb.initModel is
not a
 function. I guess I'm confused about how to bring the model from
ActionScript
 over to Javascript. Since normal HTML input type=radio elements do
not
 require group management (on our part), I didn't need anything like
that when
 I created the HTML RadioButton, but even without thinking about jQuery,
 programmatically creating a RadioButton requires - I think - using
 rb.initModel().
 
 --peter

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui




Re: FlexJS Confusion

2013-05-07 Thread Alex Harui
Might be you need to fully qualify RadioButton


On 5/7/13 10:01 AM, Peter Ent p...@adobe.com wrote:

 As a matter of fact, it does. Well, its super-class does.
 
 org.apache.flex.jquery.staticControls.RadioButton extends
 org.apache.flex.html.staticControls.RadioButton which has initModel. I'll
 try adding it to the jQuery version and have it call the super method.
 
 -peter
 
 On 5/7/13 11:26 AM, Alex Harui aha...@adobe.com wrote:
 
 Does your RadioButton have a method called initModel?  The base classes
 don't implement it by default.
 
 
 On 5/7/13 7:38 AM, Peter Ent p...@adobe.com wrote:
 
 I'm trying to programmatically create a RadioButton to test and create a
 jQuery version. My ActionScript code works well:
 
 
 public function createNewRadioButton() : void
 
 {
 
 var rb:RadioButton = new RadioButton();
 
 rb.initModel();
 
 rb.initSkin();
 
 rb.text = New Radio;
 
 rb.groupName = group1;
 
 rb.x = radioXpos;
 
 rb.y = 290;
 
 rb.value = radioXpos;
 
 this.addChild(rb);
 
 radioXpos += 100;
 
 }
 
 However, after compiling with Falcon JX and running the Javascript
 version,
 this code causes the browser to complain TypeError: rb.initModel is
 not a
 function. I guess I'm confused about how to bring the model from
 ActionScript
 over to Javascript. Since normal HTML input type=radio elements do
 not
 require group management (on our part), I didn't need anything like
 that when
 I created the HTML RadioButton, but even without thinking about jQuery,
 programmatically creating a RadioButton requires - I think - using
 rb.initModel().
 
 --peter
 
 -- 
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui
 
 

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui



Re: [DISCUSS] Github based Whiteboard proposal

2013-05-07 Thread OmPrakash Muppirala
Okay, is it time for us to test this proposal by implementing a couple of
whiteboard repos?  Anyone committer wants to volunteer?

Thanks,
Om

On Mon, May 6, 2013 at 5:10 PM, OmPrakash Muppirala bigosma...@gmail.comwrote:

 On Mon, May 6, 2013 at 5:02 PM, Alex Harui aha...@adobe.com wrote:

 OK.

 Just wondering, if a committer already has a github account under a
 different email address, what do they do?

 -Alex


 GitHub lets you add multiple emails to the github account.  It will be up
 to the committer to switch the 'default' email id which the post-commit
 email hook uses when sending out emails.

 I think Dasa had sent a couple of relevant github wiki pages a few emails
 ago about this.

 Thanks,
 Om




 On 5/6/13 4:03 PM, OmPrakash Muppirala bigosma...@gmail.com wrote:

  On Mon, May 6, 2013 at 3:48 PM, Alex Harui aha...@adobe.com wrote:
 
  Om,
 
  Can you update the proposal as to whether you have to use your a.o
 email or
  if allowing aliases works?
 
  -Alex
 
 
  I have posted the proposal here:
 
 https://cwiki.apache.org/confluence/display/FLEX/Proposal+-+Github+based+White
  board
 
  All apache.org emails are configured to be aliases for committer's
 personal
  email ids.  So, you will need to add the committer's personal email id
 to
  the commits@f.a.o list in any case.
 
  The only advantage of adding the apache.org email id in GitHub would be
  that the 'from' field will have the apache.org email id.  This keeps it
  consistent with Apache Git's emails.
 
  So, I have updated the proposal to say that it is 'recommended, but not
  compulsory' for adding the apache.org email address as the default
 email in
  GitHub.
 
  Thanks,
  Om
 
 
 
  On 5/6/13 3:35 PM, OmPrakash Muppirala bigosma...@gmail.com wrote:
 
  Any other thoughts regarding this process?
 
  If not, I would like to test this workflow with a couple of volunteer
  committers.  Anyone wants to volunteer? :-)
 
  Thanks,
  Om
 
 
  On Thu, May 2, 2013 at 8:55 PM, Alex Harui aha...@adobe.com wrote:
 
 
 
 
  On 5/2/13 6:21 PM, Dasa Paddock dpadd...@esri.com wrote:
 
 
  6.  The committer adds their committerAlias@apache.org email
  address as
  their default email in their github account.
  Anyway around to do this? I assume this is so email to the mailing
  list
  re
  changes are not rejected.
 
  I'm not sure, but maybe it's enough to just add your
 apache.orgaddress
  to
  your Email Settings [1] and set the repo's user.email config so that
  the
  apache.org address is used as the commit author [2].
 
  [1]: https://github.com/settings/emails
  [2]: https://help.github.com/articles/setting-your-email-in-git
 
  I'm ok adding aliases for the committers who don't want to use their
  apache.org.  I think I did so for Om in order for him to try this.
 
  --
  Alex Harui
  Flex SDK Team
  Adobe Systems, Inc.
  http://blogs.adobe.com/aharui
 
 
 
  --
  Alex Harui
  Flex SDK Team
  Adobe Systems, Inc.
  http://blogs.adobe.com/aharui
 
 

 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui





Re: IFocusManagerComplexComponent and tab focus

2013-05-07 Thread Cosma Colanicchia
Yes, I ended up removing the implements IFocusManagerComplexComponent and
playing with focusEnabled and hasFocusableChildren properties in the
external and in internal components instead to obtain the intended
behaviour.

Thank for your help - maybe we could add some more detail in
the IFocusManagerComplexComponent asdoc description explaining exactly how
it is meant to be used.

Incidentally, I discovered a strange behaviour of the Accordion - it seems
to draw its accordion header focus feedback incorrectly when tabbing out
from some type of components (you see both the next component in the
accordion content and the accordion header drawn as focused at the same
time) - cycling with tab over the header again refresh correctly that
feedback. Probably a fix is its not worth the effort, give the low impact
and the fact that we are going to replace it with a spark one someday.


[jira] [Commented] (FLEX-33521) spark datagrid itemRenderer as a declaration or as in-line tags is not recognized when it's inside a module

2013-05-07 Thread Jeff Spicer (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-33521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13651414#comment-13651414
 ] 

Jeff Spicer commented on FLEX-33521:


Apologies.  I'm having difficulty reproducing the bug on a smaller scale.  When 
I can get a working example, I'll post here.

 spark datagrid itemRenderer as a declaration or as in-line tags is not 
 recognized when it's inside a module
 ---

 Key: FLEX-33521
 URL: https://issues.apache.org/jira/browse/FLEX-33521
 Project: Apache Flex
  Issue Type: Bug
  Components: Spark: DataGrid
Affects Versions: Adobe Flex SDK 4.6 (Release)
 Environment: Windows vista home premium
Reporter: Jeff Spicer
Priority: Minor

 When a spark datagrid is inside a module, the in-line tag item renderers are 
 not recognized.
 GridColumn
 ItemRenderer
 fx:Component
 GridItemRenderer
 Label text=test, test, 1,2,3/
 /GridItemRenderer
 /Component
 ItemRenderer
 /GridColumn
 Result:  The datagrid is not displayed.
 Expected result: The datagrid should display.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (FLEX-33537) Spark TextArea writing in prompt text format

2013-05-07 Thread Mark Kessler (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-33537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Kessler reassigned FLEX-33537:
---

Assignee: Mark Kessler

 Spark TextArea writing in prompt text format
 

 Key: FLEX-33537
 URL: https://issues.apache.org/jira/browse/FLEX-33537
 Project: Apache Flex
  Issue Type: Bug
  Components: Spark: TextArea, Spark: TextInput
Affects Versions: Apache Flex 4.9.0
Reporter: Curtis Aube
Assignee: Mark Kessler

 Initialize a s:TextArea, set the prompt text to something and set the text to 
 something. Sometime later set the text to empty string, remove the TextArea 
 from the display, add it to back the display and set focus on it. The next 
 time you type, you will be typing in the prompt text format.
 Ex.
 ?xml version=1.0 encoding=utf-8?
 s:Application minHeight=600 minWidth=955 
 xmlns:fx=http://ns.adobe.com/mxml/2009; 
 xmlns:mx=library://ns.adobe.com/flex/mx 
 xmlns:s=library://ns.adobe.com/flex/spark
   fx:Script
   ![CDATA[
   private function selectTextArea():void
   {
   testTextArea.text = ;
   box.removeAllElements();
   box.addElement(testTextArea);
   testTextArea.setFocus();
   }
   ]]
   /fx:Script
   s:VGroup
   s:HGroup
   s:Button label=Break text area 
 click={selectTextArea()}/
   /s:HGroup
   s:HGroup id=box
   s:TextArea id=testTextArea text=Some text 
 prompt=Enter something.../
   /s:HGroup
   /s:VGroup
 /s:Application
 Another issue is: If you try to set the focus before removing and adding the 
 TextArea, the focus rectangle doesn't show up.
 Workaround: Don't set the focus immediately after adding the TextArea such as 
 using callLater.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread Justin Mclean
HI,

Something has gone badly wrong here, not 100% sure but think you may of merged 
the wrong way and undid a lot of changes?

Justin


On 08/05/2013, at 8:19 AM, gordonsm...@apache.org wrote:

 Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk 
 into develop
 
 
 Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
 Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/94f0c62e
 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/94f0c62e
 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/94f0c62e
 
 Branch: refs/heads/develop
 Commit: 94f0c62e965c9c8f05125436e72f92837b329e40
 Parents: 13ac9e6 d923193
 Author: Gordon Smith gordonsm...@apache.org
 Authored: Mon Apr 29 21:07:34 2013 -0700
 Committer: Gordon Smith gordonsm...@apache.org
 Committed: Mon Apr 29 21:07:34 2013 -0700
 
 --
 .gitignore |2 +-
 KEYS   |3 +-
 LICENSE|2 +-
 NOTICE |2 +-
 README |   33 +-
 RELEASE_NOTES  |   24 +
 build.properties   |   65 ++
 build.properties.template  |   62 --
 build.xml  |   50 +-
 frameworks/build.xml   |3 -
 frameworks/build_framework.xml |2 +-
 .../apache/bundles/ja_JP/apache.properties |2 +-
 .../apache/bundles/nl_NL/apache.properties |2 +-
 .../apache/bundles/pt_BR/apache.properties |2 +-
 .../apache/bundles/pt_PT/apache.properties |2 +-
 .../apache/bundles/ru_RU/apache.properties |2 +-
 .../projects/experimental/.actionScriptProperties  |   19 -
 .../projects/experimental/.flexLibProperties   |   10 -
 frameworks/projects/experimental/.gitignore|1 -
 frameworks/projects/experimental/build.xml |1 +
 .../framework/src/mx/collections/ArrayList.as  |2 +-
 .../framework/src/mx/collections/AsyncListView.as  |6 +-
 .../framework/src/mx/controls/SWFLoader.as |9 +-
 .../projects/framework/src/mx/core/DesignLayer.as  |2 +-
 .../projects/framework/src/mx/core/UIComponent.as  |6 +-
 .../projects/framework/src/mx/effects/Pause.as |2 +-
 .../src/mx/formatters/CurrencyFormatter.as |9 +-
 .../framework/src/mx/formatters/DateBase.as|   39 +-
 .../framework/src/mx/formatters/DateFormatter.as   |  143 +++-
 .../framework/src/mx/managers/PopUpManagerImpl.as  |2 +-
 .../projects/framework/src/mx/states/AddItems.as   |4 +-
 .../framework/src/mx/styles/AdvancedStyleClient.as |2 +-
 .../projects/framework/src/mx/utils/ArrayUtil.as   |   13 +-
 .../projects/framework/src/mx/utils/ObjectUtil.as  |   30 +-
 .../projects/framework/src/mx/utils/StringUtil.as  |9 +
 .../framework/src/mx/validators/DateValidator.as   |  271 ---
 .../src/spark/components/SplitViewNavigator.as |2 +-
 .../src/spark/components/TabbedViewNavigator.as|2 +-
 .../supportClasses/StyleableStageText.as   |2 +-
 .../src/spark/transitions/FlipViewTransition.as|2 +-
 .../src/spark/transitions/SlideViewTransition.as   |6 +-
 .../src/spark/transitions/ViewTransitionBase.as|6 +-
 .../projects/mx/src/mx/controls/DateChooser.as |3 +
 .../projects/mx/src/mx/controls/DateField.as   |  253 ---
 frameworks/projects/mx/src/mx/controls/TextArea.as |2 -
 .../mx/src/mx/controls/listClasses/ListBase.as |4 +
 .../projects/rpc/src/mx/messaging/Channel.as   |2 +-
 .../rpc/src/mx/rpc/http/HTTPMultiService.as|4 +-
 .../rpc/src/mx/rpc/http/SerializationFilter.as |2 +-
 .../projects/rpc/src/mx/rpc/xml/XMLDecoder.as  |2 +-
 .../projects/rpc/src/mx/rpc/xml/XMLEncoder.as  |2 +-
 .../projects/rpc/src/mx/utils/RPCStringUtil.as |9 +
 .../spark/src/spark/collections/SubListView.as |4 +-
 .../spark/src/spark/components/ComboBox.as |2 +-
 .../spark/src/spark/components/DataGrid.as |  202 +-
 .../projects/spark/src/spark/components/Form.as|2 +-
 .../projects/spark/src/spark/components/Grid.as|  286 +++-
 .../spark/src/spark/components/RadioButtonGroup.as |   56 ++
 .../spark/components/gridClasses/GridDimensions.as |2 +-
 .../components/gridClasses/GridHeaderViewLayout.as |2 +-
 .../supportClasses/IDataProviderEnhance.as |  161 
 .../spark/components/supportClasses/ListBase.as|  305 +++-
 .../components/supportClasses/RegExPatterns.as |  221 ++
 .../supportClasses/SkinnableComponent.as   |4 +-
 .../spark/components/supportClasses/SliderBase.as  |   21 +-
 

Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread Mark Kessler
I get the impression he pulled the updates from origin then merged his
changes which kept his timeline when he last pulled.  So it's showing
everybody's commits merged into his develop since then?

-Mark

On Tue, May 7, 2013 at 7:50 PM, Justin Mclean jus...@classsoftware.comwrote:

 HI,

 Something has gone badly wrong here, not 100% sure but think you may of
 merged the wrong way and undid a lot of changes?

 Justin




Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread Justin Mclean
Hi,

 I get the impression he pulled the updates from origin then merged his
 changes which kept his timeline when he last pulled.
Which wouldn't produce this result I believe.

  So it's showing everybody's commits merged into his develop since then?
Makes it very hard to see what has actually changed.

Justin


Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread Dasa Paddock
I think it's OK.

Try: git diff 6462a0f 0a6b468

This shows the diff with the last of three of Gordon's Merge branch 'develop' 
of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop commits with 
the previous commit made by Erik with the message Added missing license 
headers. It's easier to see in the SourceTree Log view.

The diff above is the same as this commit which is really the change that is 
being made:
http://mail-archives.apache.org/mod_mbox/flex-commits/201305.mbox/%3c6cd4ad219d6b40968ea579a30bac4...@git.apache.org%3e

This confusion could be avoided by doing a git pull --rebase on the develop 
branch before pushing new commits to develop.

--Dasa

On May 7, 2013, at 4:50 PM, Justin Mclean jus...@classsoftware.com wrote:

 HI,
 
 Something has gone badly wrong here, not 100% sure but think you may of 
 merged the wrong way and undid a lot of changes?
 
 Justin
 
 
 On 08/05/2013, at 8:19 AM, gordonsm...@apache.org wrote:
 
 Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk 
 into develop
 
 
 Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
 Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/94f0c62e
 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/94f0c62e
 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/94f0c62e
 
 Branch: refs/heads/develop
 Commit: 94f0c62e965c9c8f05125436e72f92837b329e40
 Parents: 13ac9e6 d923193
 Author: Gordon Smith gordonsm...@apache.org
 Authored: Mon Apr 29 21:07:34 2013 -0700
 Committer: Gordon Smith gordonsm...@apache.org
 Committed: Mon Apr 29 21:07:34 2013 -0700
 
 --
 .gitignore |2 +-
 KEYS   |3 +-
 LICENSE|2 +-
 NOTICE |2 +-
 README |   33 +-
 RELEASE_NOTES  |   24 +
 build.properties   |   65 ++
 build.properties.template  |   62 --
 build.xml  |   50 +-
 frameworks/build.xml   |3 -
 frameworks/build_framework.xml |2 +-
 .../apache/bundles/ja_JP/apache.properties |2 +-
 .../apache/bundles/nl_NL/apache.properties |2 +-
 .../apache/bundles/pt_BR/apache.properties |2 +-
 .../apache/bundles/pt_PT/apache.properties |2 +-
 .../apache/bundles/ru_RU/apache.properties |2 +-
 .../projects/experimental/.actionScriptProperties  |   19 -
 .../projects/experimental/.flexLibProperties   |   10 -
 frameworks/projects/experimental/.gitignore|1 -
 frameworks/projects/experimental/build.xml |1 +
 .../framework/src/mx/collections/ArrayList.as  |2 +-
 .../framework/src/mx/collections/AsyncListView.as  |6 +-
 .../framework/src/mx/controls/SWFLoader.as |9 +-
 .../projects/framework/src/mx/core/DesignLayer.as  |2 +-
 .../projects/framework/src/mx/core/UIComponent.as  |6 +-
 .../projects/framework/src/mx/effects/Pause.as |2 +-
 .../src/mx/formatters/CurrencyFormatter.as |9 +-
 .../framework/src/mx/formatters/DateBase.as|   39 +-
 .../framework/src/mx/formatters/DateFormatter.as   |  143 +++-
 .../framework/src/mx/managers/PopUpManagerImpl.as  |2 +-
 .../projects/framework/src/mx/states/AddItems.as   |4 +-
 .../framework/src/mx/styles/AdvancedStyleClient.as |2 +-
 .../projects/framework/src/mx/utils/ArrayUtil.as   |   13 +-
 .../projects/framework/src/mx/utils/ObjectUtil.as  |   30 +-
 .../projects/framework/src/mx/utils/StringUtil.as  |9 +
 .../framework/src/mx/validators/DateValidator.as   |  271 ---
 .../src/spark/components/SplitViewNavigator.as |2 +-
 .../src/spark/components/TabbedViewNavigator.as|2 +-
 .../supportClasses/StyleableStageText.as   |2 +-
 .../src/spark/transitions/FlipViewTransition.as|2 +-
 .../src/spark/transitions/SlideViewTransition.as   |6 +-
 .../src/spark/transitions/ViewTransitionBase.as|6 +-
 .../projects/mx/src/mx/controls/DateChooser.as |3 +
 .../projects/mx/src/mx/controls/DateField.as   |  253 ---
 frameworks/projects/mx/src/mx/controls/TextArea.as |2 -
 .../mx/src/mx/controls/listClasses/ListBase.as |4 +
 .../projects/rpc/src/mx/messaging/Channel.as   |2 +-
 .../rpc/src/mx/rpc/http/HTTPMultiService.as|4 +-
 .../rpc/src/mx/rpc/http/SerializationFilter.as |2 +-
 .../projects/rpc/src/mx/rpc/xml/XMLDecoder.as  |2 +-
 .../projects/rpc/src/mx/rpc/xml/XMLEncoder.as  |2 +-
 .../projects/rpc/src/mx/utils/RPCStringUtil.as |9 +
 .../spark/src/spark/collections/SubListView.as |4 +-
 

Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread OmPrakash Muppirala
On Tue, May 7, 2013 at 5:23 PM, Justin Mclean jus...@classsoftware.comwrote:

 Hi,

  I get the impression he pulled the updates from origin then merged his
  changes which kept his timeline when he last pulled.
 Which wouldn't produce this result I believe.

   So it's showing everybody's commits merged into his develop since then?
 Makes it very hard to see what has actually changed.

 Justin



This is expected with pull+merge.  Justin, why do you think something went
badly wrong?

In my log view, I see two set of diffs - 'Diff with parent 1' and 'Diff
with parent 2'.  Diff with parent 2 shows the relevant changes by Gordon.

Thanks,
Om


Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread OmPrakash Muppirala


 This confusion could be avoided by doing a git pull --rebase on the
 develop branch before pushing new commits to develop.

 --Dasa


I agree.  We seem to be getting tripped up with this kind of merge commits.
 git pull --rebase seems like a very attractive option at this point.


Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread Justin Mclean
HI,

 This is expected with pull+merge.  Justin, why do you think something went
 badly wrong?
Because a commit was made that has 100's of lines changed that should not of 
occurred.

Justin

RE: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread Gordon Smith
I think we're back to arguing about how to use Git properly. If merge commits 
are forbidden in flex-sdk, then I'll try to avoid causing them in the future.

- Gordon

-Original Message-
From: Justin Mclean [mailto:jus...@classsoftware.com] 
Sent: Tuesday, May 07, 2013 5:33 PM
To: dev@flex.apache.org
Subject: Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 
'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

HI,

 This is expected with pull+merge.  Justin, why do you think something 
 went badly wrong?
Because a commit was made that has 100's of lines changed that should not of 
occurred.

Justin


RE: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread Gordon Smith
However, I see some merge commits that Justin has done. So maybe they're not 
forbidden?

- Gordon

-Original Message-
From: Gordon Smith 
Sent: Tuesday, May 07, 2013 5:59 PM
To: dev@flex.apache.org
Subject: RE: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 
'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

I think we're back to arguing about how to use Git properly. If merge commits 
are forbidden in flex-sdk, then I'll try to avoid causing them in the future.

- Gordon

-Original Message-
From: Justin Mclean [mailto:jus...@classsoftware.com]
Sent: Tuesday, May 07, 2013 5:33 PM
To: dev@flex.apache.org
Subject: Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 
'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

HI,

 This is expected with pull+merge.  Justin, why do you think something 
 went badly wrong?
Because a commit was made that has 100's of lines changed that should not of 
occurred.

Justin


RE: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread Gordon Smith
 I agree.  We seem to be getting tripped up with this kind of merge commits.

I don't agree. Merge commits are a normal feature of Git and should not cause 
any confusion. They can simply be ignored. There's even an option for ignoring 
them: git log --no-merges.

- Gordon

-Original Message-
From: omup...@gmail.com [mailto:omup...@gmail.com] On Behalf Of OmPrakash 
Muppirala
Sent: Tuesday, May 07, 2013 5:31 PM
To: dev@flex.apache.org
Subject: Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 
'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop



 This confusion could be avoided by doing a git pull --rebase on the 
 develop branch before pushing new commits to develop.

 --Dasa


I agree.  We seem to be getting tripped up with this kind of merge commits.
 git pull --rebase seems like a very attractive option at this point.


Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread Justin Mclean
Hi,

 However, I see some merge commits that Justin has done. 
Yep guilty as charged - just noticed this one as it merged a lot of changes. 
Although some of them don't seen to be reapplying the changes like your which 
is odd.

Justin

[jira] [Resolved] (FLEX-33537) Spark TextArea writing in prompt text format

2013-05-07 Thread Mark Kessler (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-33537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Kessler resolved FLEX-33537.
-

   Resolution: Fixed
Fix Version/s: Apache Flex Next

There were events still processing / setting up still going on when the 
setFocus is called.  Delaying setFocus on the textDisplay until they were done 
running.

 Spark TextArea writing in prompt text format
 

 Key: FLEX-33537
 URL: https://issues.apache.org/jira/browse/FLEX-33537
 Project: Apache Flex
  Issue Type: Bug
  Components: Spark: TextArea, Spark: TextInput
Affects Versions: Apache Flex 4.9.0
Reporter: Curtis Aube
Assignee: Mark Kessler
 Fix For: Apache Flex Next


 Initialize a s:TextArea, set the prompt text to something and set the text to 
 something. Sometime later set the text to empty string, remove the TextArea 
 from the display, add it to back the display and set focus on it. The next 
 time you type, you will be typing in the prompt text format.
 Ex.
 ?xml version=1.0 encoding=utf-8?
 s:Application minHeight=600 minWidth=955 
 xmlns:fx=http://ns.adobe.com/mxml/2009; 
 xmlns:mx=library://ns.adobe.com/flex/mx 
 xmlns:s=library://ns.adobe.com/flex/spark
   fx:Script
   ![CDATA[
   private function selectTextArea():void
   {
   testTextArea.text = ;
   box.removeAllElements();
   box.addElement(testTextArea);
   testTextArea.setFocus();
   }
   ]]
   /fx:Script
   s:VGroup
   s:HGroup
   s:Button label=Break text area 
 click={selectTextArea()}/
   /s:HGroup
   s:HGroup id=box
   s:TextArea id=testTextArea text=Some text 
 prompt=Enter something.../
   /s:HGroup
   /s:VGroup
 /s:Application
 Another issue is: If you try to set the focus before removing and adding the 
 TextArea, the focus rectangle doesn't show up.
 Workaround: Don't set the focus immediately after adding the TextArea such as 
 using callLater.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-33537) Spark TextArea writing in prompt text format

2013-05-07 Thread Mark Kessler (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-33537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13651529#comment-13651529
 ] 

Mark Kessler commented on FLEX-33537:
-

Ran Mustella components/TextInput and TextArea.  Both passed.

 Spark TextArea writing in prompt text format
 

 Key: FLEX-33537
 URL: https://issues.apache.org/jira/browse/FLEX-33537
 Project: Apache Flex
  Issue Type: Bug
  Components: Spark: TextArea, Spark: TextInput
Affects Versions: Apache Flex 4.9.0
Reporter: Curtis Aube
Assignee: Mark Kessler
 Fix For: Apache Flex Next


 Initialize a s:TextArea, set the prompt text to something and set the text to 
 something. Sometime later set the text to empty string, remove the TextArea 
 from the display, add it to back the display and set focus on it. The next 
 time you type, you will be typing in the prompt text format.
 Ex.
 ?xml version=1.0 encoding=utf-8?
 s:Application minHeight=600 minWidth=955 
 xmlns:fx=http://ns.adobe.com/mxml/2009; 
 xmlns:mx=library://ns.adobe.com/flex/mx 
 xmlns:s=library://ns.adobe.com/flex/spark
   fx:Script
   ![CDATA[
   private function selectTextArea():void
   {
   testTextArea.text = ;
   box.removeAllElements();
   box.addElement(testTextArea);
   testTextArea.setFocus();
   }
   ]]
   /fx:Script
   s:VGroup
   s:HGroup
   s:Button label=Break text area 
 click={selectTextArea()}/
   /s:HGroup
   s:HGroup id=box
   s:TextArea id=testTextArea text=Some text 
 prompt=Enter something.../
   /s:HGroup
   /s:VGroup
 /s:Application
 Another issue is: If you try to set the focus before removing and adding the 
 TextArea, the focus rectangle doesn't show up.
 Workaround: Don't set the focus immediately after adding the TextArea such as 
 using callLater.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


RE: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread OmPrakash Muppirala
On May 7, 2013 6:03 PM, Gordon Smith gosm...@adobe.com wrote:

 However, I see some merge commits that Justin has done. So maybe they're
not forbidden?

 - Gordon

I don't think we came to a consensus about this.  There has been a lot of
discussion about this in the past and I have no interest in starting it
again.

However, I suggest that if no one has objections, we all use the rebase
option for a while and see if we can live with that.

Thanks,
Om


 -Original Message-
 From: Gordon Smith
 Sent: Tuesday, May 07, 2013 5:59 PM
 To: dev@flex.apache.org
 Subject: RE: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge
branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into
develop

 I think we're back to arguing about how to use Git properly. If merge
commits are forbidden in flex-sdk, then I'll try to avoid causing them in
the future.

 - Gordon

 -Original Message-
 From: Justin Mclean [mailto:jus...@classsoftware.com]
 Sent: Tuesday, May 07, 2013 5:33 PM
 To: dev@flex.apache.org
 Subject: Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge
branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into
develop

 HI,

  This is expected with pull+merge.  Justin, why do you think something
  went badly wrong?
 Because a commit was made that has 100's of lines changed that should not
of occurred.

 Justin


Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread Justin Mclean
Hi,

 Merge commits are a normal feature of Git and should not cause any confusion. 
 They can simply be ignored.

There there any case where they would show other changes? ie In the case of a 
conflict?

If they can be safely ignored can we not have them mailed to the SVN/Git change 
list?

Thanks,
Justin

Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread Justin Mclean
Hi,

 However, I suggest that if no one has objections, we all use the rebase
 option for a while and see if we can live with that.

It's currently impossible to use rebase if you make a release or run a single 
mustella test (as you'll have unstaged changes).

Justin

Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread OmPrakash Muppirala
On May 7, 2013 6:31 PM, Justin Mclean jus...@classsoftware.com wrote:

 Hi,

  However, I suggest that if no one has objections, we all use the rebase
  option for a while and see if we can live with that.

 It's currently impossible to use rebase if you make a release or run a
single mustella test (as you'll have unstaged changes).


It is okay to have exceptions.  We can't have a solve for every scenario.

But this is the second time in the past few days where we are discussing
this 'problem'.  I am saying that there is a way to not deal with this I'd
we don't want to.

 Justin


Re: [2/7] git commit: [flex-sdk] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

2013-05-07 Thread Justin Mclean
Hi,

 It is okay to have exceptions.  We can't have a solve for every scenario.
Well in a normal check in for the Flex SDK you should of at least run the 
mustella check in tests, so I think  the exception is going to be for every 
check in.

Normal development process for fixing bugs etc should involve running mustella 
tests.

I currently don't have a clean tree so can't confirm that the check in test 
break git rebase. Can anyone try that out for me?

  I am saying that there is a way to not deal with this I'd we don't want to.
Move back to SVN? :-) (I'm kidding)

Justin

[jira] [Commented] (FLEX-33542) mx:AdvancedDataGrid header column separators display embedded SWF on mouseover

2013-05-07 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-33542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13651561#comment-13651561
 ] 

Justin Mclean commented on FLEX-33542:
--

Confirmed - doesn't happen in Adobe Flex 4.6 either.

 mx:AdvancedDataGrid header column separators display embedded SWF on mouseover
 --

 Key: FLEX-33542
 URL: https://issues.apache.org/jira/browse/FLEX-33542
 Project: Apache Flex
  Issue Type: Bug
  Components: .Unspecified - Framework
Affects Versions: Apache Flex 4.9.0
Reporter: Edward Trochim
 Attachments: AdvDataGridBugTest.zip


 The mx:AdvancedDataGrid control in Flex 4.9.1 is interacting very oddly when 
 the application has an embedded SWF. When a user mouses over the header 
 column separators in the AdvancedDataGrid the SWF will display on top of the 
 mouse cursor. A demonstration of this behavior can be found here: 
 https://dl.dropboxusercontent.com/u/11780410/AdvDataGridBugTest/AdvDataGridBugTest.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FLEX-33542) mx:AdvancedDataGrid header column separators display embedded SWF on mouseover

2013-05-07 Thread Edward Trochim (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-33542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Trochim updated FLEX-33542:
--

Description: The mx:AdvancedDataGrid control in Flex 4.9.1 is acting very 
oddly when the application has an embedded SWF. When a user mouses over the 
header column separators in the AdvancedDataGrid the SWF will display on top of 
the mouse cursor. A demonstration of this behavior can be found here: 
https://dl.dropboxusercontent.com/u/11780410/AdvDataGridBugTest/AdvDataGridBugTest.html
  (was: The mx:AdvancedDataGrid control in Flex 4.9.1 is interacting very oddly 
when the application has an embedded SWF. When a user mouses over the header 
column separators in the AdvancedDataGrid the SWF will display on top of the 
mouse cursor. A demonstration of this behavior can be found here: 
https://dl.dropboxusercontent.com/u/11780410/AdvDataGridBugTest/AdvDataGridBugTest.html)

 mx:AdvancedDataGrid header column separators display embedded SWF on mouseover
 --

 Key: FLEX-33542
 URL: https://issues.apache.org/jira/browse/FLEX-33542
 Project: Apache Flex
  Issue Type: Bug
  Components: .Unspecified - Framework
Affects Versions: Apache Flex 4.9.0
Reporter: Edward Trochim
 Attachments: AdvDataGridBugTest.zip


 The mx:AdvancedDataGrid control in Flex 4.9.1 is acting very oddly when the 
 application has an embedded SWF. When a user mouses over the header column 
 separators in the AdvancedDataGrid the SWF will display on top of the mouse 
 cursor. A demonstration of this behavior can be found here: 
 https://dl.dropboxusercontent.com/u/11780410/AdvDataGridBugTest/AdvDataGridBugTest.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-33542) mx:AdvancedDataGrid header column separators display embedded SWF on mouseover

2013-05-07 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-33542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13651565#comment-13651565
 ] 

Justin Mclean commented on FLEX-33542:
--

Also happens with mx:Datagrid.

mx:DataGrid 
width=100% height=100%
dataProvider={dpADG}
mx:columns
mx:DataGridColumn dataField=Artist /
mx:DataGridColumn dataField=Album /
mx:DataGridColumn dataField=Price /
/mx:columns
/mx:DataGrid 

 mx:AdvancedDataGrid header column separators display embedded SWF on mouseover
 --

 Key: FLEX-33542
 URL: https://issues.apache.org/jira/browse/FLEX-33542
 Project: Apache Flex
  Issue Type: Bug
  Components: .Unspecified - Framework
Affects Versions: Apache Flex 4.9.0
Reporter: Edward Trochim
 Attachments: AdvDataGridBugTest.zip


 The mx:AdvancedDataGrid control in Flex 4.9.1 is acting very oddly when the 
 application has an embedded SWF. When a user mouses over the header column 
 separators in the AdvancedDataGrid the SWF will display on top of the mouse 
 cursor. A demonstration of this behavior can be found here: 
 https://dl.dropboxusercontent.com/u/11780410/AdvDataGridBugTest/AdvDataGridBugTest.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-33542) mx:AdvancedDataGrid header column separators display embedded SWF on mouseover

2013-05-07 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-33542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13651568#comment-13651568
 ] 

Justin Mclean commented on FLEX-33542:
--

And also spark data grid - so more likely an issue with Cursors or SWFLoader?

s:DataGrid
width=100% height=100%
dataProvider={dpADG}

s:columns
s:ArrayList
s:GridColumn dataField=Artist /
s:GridColumn dataField=Album /
s:GridColumn dataField=Price /
/s:ArrayList
/s:columns

/s:DataGrid

 mx:AdvancedDataGrid header column separators display embedded SWF on mouseover
 --

 Key: FLEX-33542
 URL: https://issues.apache.org/jira/browse/FLEX-33542
 Project: Apache Flex
  Issue Type: Bug
  Components: .Unspecified - Framework
Affects Versions: Apache Flex 4.9.0
Reporter: Edward Trochim
 Attachments: AdvDataGridBugTest.zip


 The mx:AdvancedDataGrid control in Flex 4.9.1 is acting very oddly when the 
 application has an embedded SWF. When a user mouses over the header column 
 separators in the AdvancedDataGrid the SWF will display on top of the mouse 
 cursor. A demonstration of this behavior can be found here: 
 https://dl.dropboxusercontent.com/u/11780410/AdvDataGridBugTest/AdvDataGridBugTest.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: [DISCUSS] Github based Whiteboard proposal

2013-05-07 Thread Frédéric THOMAS

It's ok for me, I want try

-Message d'origine- 
From: OmPrakash Muppirala

Sent: Tuesday, May 07, 2013 7:15 PM
To: dev@flex.apache.org
Subject: Re: [DISCUSS] Github based Whiteboard proposal

Okay, is it time for us to test this proposal by implementing a couple of
whiteboard repos?  Anyone committer wants to volunteer?

Thanks,
Om

On Mon, May 6, 2013 at 5:10 PM, OmPrakash Muppirala 
bigosma...@gmail.comwrote:



On Mon, May 6, 2013 at 5:02 PM, Alex Harui aha...@adobe.com wrote:


OK.

Just wondering, if a committer already has a github account under a
different email address, what do they do?

-Alex



GitHub lets you add multiple emails to the github account.  It will be up
to the committer to switch the 'default' email id which the post-commit
email hook uses when sending out emails.

I think Dasa had sent a couple of relevant github wiki pages a few emails
ago about this.

Thanks,
Om





On 5/6/13 4:03 PM, OmPrakash Muppirala bigosma...@gmail.com wrote:

 On Mon, May 6, 2013 at 3:48 PM, Alex Harui aha...@adobe.com wrote:

 Om,

 Can you update the proposal as to whether you have to use your a.o
email or
 if allowing aliases works?

 -Alex


 I have posted the proposal here:

https://cwiki.apache.org/confluence/display/FLEX/Proposal+-+Github+based+White
 board

 All apache.org emails are configured to be aliases for committer's
personal
 email ids.  So, you will need to add the committer's personal email id
to
 the commits@f.a.o list in any case.

 The only advantage of adding the apache.org email id in GitHub would be
 that the 'from' field will have the apache.org email id.  This keeps it
 consistent with Apache Git's emails.

 So, I have updated the proposal to say that it is 'recommended, but not
 compulsory' for adding the apache.org email address as the default
email in
 GitHub.

 Thanks,
 Om



 On 5/6/13 3:35 PM, OmPrakash Muppirala bigosma...@gmail.com wrote:

 Any other thoughts regarding this process?

 If not, I would like to test this workflow with a couple of volunteer
 committers.  Anyone wants to volunteer? :-)

 Thanks,
 Om


 On Thu, May 2, 2013 at 8:55 PM, Alex Harui aha...@adobe.com wrote:




 On 5/2/13 6:21 PM, Dasa Paddock dpadd...@esri.com wrote:


 6.  The committer adds their committerAlias@apache.org email
 address as
 their default email in their github account.
 Anyway around to do this? I assume this is so email to the mailing
 list
 re
 changes are not rejected.

 I'm not sure, but maybe it's enough to just add your
apache.orgaddress
 to
 your Email Settings [1] and set the repo's user.email config so 
 that

 the
 apache.org address is used as the commit author [2].

 [1]: https://github.com/settings/emails
 [2]: https://help.github.com/articles/setting-your-email-in-git

 I'm ok adding aliases for the committers who don't want to use their
 apache.org.  I think I did so for Om in order for him to try this.

 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui



 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui



--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui








[jira] [Commented] (FLEX-33542) mx:AdvancedDataGrid header column separators display embedded SWF on mouseover

2013-05-07 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-33542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13651579#comment-13651579
 ] 

Justin Mclean commented on FLEX-33542:
--

And also with s:Image (inside or outside a declaration block) rather than 
mx:SWFLoader.

 mx:AdvancedDataGrid header column separators display embedded SWF on mouseover
 --

 Key: FLEX-33542
 URL: https://issues.apache.org/jira/browse/FLEX-33542
 Project: Apache Flex
  Issue Type: Bug
  Components: .Unspecified - Framework
Affects Versions: Apache Flex 4.9.0
Reporter: Edward Trochim
 Attachments: AdvDataGridBugTest.zip


 The mx:AdvancedDataGrid control in Flex 4.9.1 is acting very oddly when the 
 application has an embedded SWF. When a user mouses over the header column 
 separators in the AdvancedDataGrid the SWF will display on top of the mouse 
 cursor. A demonstration of this behavior can be found here: 
 https://dl.dropboxusercontent.com/u/11780410/AdvDataGridBugTest/AdvDataGridBugTest.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: [DISCUSS] Github based Whiteboard proposal

2013-05-07 Thread OmPrakash Muppirala
On May 7, 2013 7:50 PM, Frédéric THOMAS webdoubl...@hotmail.com wrote:

 It's ok for me, I want try

Awesome!  Can you please send me your github id?

Thanks,
Om


 -Message d'origine- From: OmPrakash Muppirala
 Sent: Tuesday, May 07, 2013 7:15 PM
 To: dev@flex.apache.org
 Subject: Re: [DISCUSS] Github based Whiteboard proposal


 Okay, is it time for us to test this proposal by implementing a couple of
 whiteboard repos?  Anyone committer wants to volunteer?

 Thanks,
 Om

 On Mon, May 6, 2013 at 5:10 PM, OmPrakash Muppirala bigosma...@gmail.com
wrote:

 On Mon, May 6, 2013 at 5:02 PM, Alex Harui aha...@adobe.com wrote:

 OK.

 Just wondering, if a committer already has a github account under a
 different email address, what do they do?

 -Alex


 GitHub lets you add multiple emails to the github account.  It will be up
 to the committer to switch the 'default' email id which the post-commit
 email hook uses when sending out emails.

 I think Dasa had sent a couple of relevant github wiki pages a few emails
 ago about this.

 Thanks,
 Om




 On 5/6/13 4:03 PM, OmPrakash Muppirala bigosma...@gmail.com wrote:

  On Mon, May 6, 2013 at 3:48 PM, Alex Harui aha...@adobe.com wrote:
 
  Om,
 
  Can you update the proposal as to whether you have to use your a.o
 email or
  if allowing aliases works?
 
  -Alex
 
 
  I have posted the proposal here:
 

https://cwiki.apache.org/confluence/display/FLEX/Proposal+-+Github+based+White
  board
 
  All apache.org emails are configured to be aliases for committer's
 personal
  email ids.  So, you will need to add the committer's personal email id
 to
  the commits@f.a.o list in any case.
 
  The only advantage of adding the apache.org email id in GitHub would
be
  that the 'from' field will have the apache.org email id.  This keeps
it
  consistent with Apache Git's emails.
 
  So, I have updated the proposal to say that it is 'recommended, but
not
  compulsory' for adding the apache.org email address as the default
 email in
  GitHub.
 
  Thanks,
  Om
 
 
 
  On 5/6/13 3:35 PM, OmPrakash Muppirala bigosma...@gmail.com
wrote:
 
  Any other thoughts regarding this process?
 
  If not, I would like to test this workflow with a couple of
volunteer
  committers.  Anyone wants to volunteer? :-)
 
  Thanks,
  Om
 
 
  On Thu, May 2, 2013 at 8:55 PM, Alex Harui aha...@adobe.com wrote:
 
 
 
 
  On 5/2/13 6:21 PM, Dasa Paddock dpadd...@esri.com wrote:
 
 
  6.  The committer adds their committerAlias@apache.org email
  address as
  their default email in their github account.
  Anyway around to do this? I assume this is so email to the
mailing
  list
  re
  changes are not rejected.
 
  I'm not sure, but maybe it's enough to just add your
 apache.orgaddress
  to
  your Email Settings [1] and set the repo's user.email config so
 that
  the
  apache.org address is used as the commit author [2].
 
  [1]: https://github.com/settings/emails
  [2]: https://help.github.com/articles/setting-your-email-in-git
 
  I'm ok adding aliases for the committers who don't want to use
their
  apache.org.  I think I did so for Om in order for him to try this.
 
  --
  Alex Harui
  Flex SDK Team
  Adobe Systems, Inc.
  http://blogs.adobe.com/aharui
 
 
 
  --
  Alex Harui
  Flex SDK Team
  Adobe Systems, Inc.
  http://blogs.adobe.com/aharui
 
 

 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui






Regression issue with Adobe Flex

2013-05-07 Thread Justin Mclean
Hi,

A rather odd bug reported.
https://issues.apache.org/jira/browse/FLEX-33542

If you mouse over the header separator the resize cursor is corrupt and 
contains loaded asset Image (with SWFLoader, mx:Image or s:Image). This happens 
every time and effects s:DataGrid, mx:DataGrid and mx:AdvancedDatGrid.

I've had a look at the issue but can't find anything obvious to why it may be 
occurring - anyone have a suggestion to what the issue might be?

Thanks,
Justin

Re: [DISCUSS] Github based Whiteboard proposal

2013-05-07 Thread Frédéric THOMAS
Sure, it is doublefx like in https://github.com/doublefx but I'm pretty sure 
I'll have to add another email address somewhere, my committer alias is 
based on my hotmail account, my github one on my gmail account, from what I 
read before, I should be able to add my apache one somewhere, right ? I'll 
read what links Dasa provided about it tomorrow, I mean in few hours and let 
you know except if you know already what I have to do...


Btw, thanks for your great job inquiring about it !
-Fred

-Message d'origine- 
From: OmPrakash Muppirala

Sent: Wednesday, May 08, 2013 5:09 AM
To: dev@flex.apache.org
Subject: Re: [DISCUSS] Github based Whiteboard proposal

On May 7, 2013 7:50 PM, Frédéric THOMAS webdoubl...@hotmail.com wrote:


It's ok for me, I want try


Awesome!  Can you please send me your github id?

Thanks,
Om



-Message d'origine- From: OmPrakash Muppirala
Sent: Tuesday, May 07, 2013 7:15 PM
To: dev@flex.apache.org
Subject: Re: [DISCUSS] Github based Whiteboard proposal


Okay, is it time for us to test this proposal by implementing a couple of
whiteboard repos?  Anyone committer wants to volunteer?

Thanks,
Om

On Mon, May 6, 2013 at 5:10 PM, OmPrakash Muppirala bigosma...@gmail.com
wrote:


On Mon, May 6, 2013 at 5:02 PM, Alex Harui aha...@adobe.com wrote:


OK.

Just wondering, if a committer already has a github account under a
different email address, what do they do?

-Alex



GitHub lets you add multiple emails to the github account.  It will be up
to the committer to switch the 'default' email id which the post-commit
email hook uses when sending out emails.

I think Dasa had sent a couple of relevant github wiki pages a few emails
ago about this.

Thanks,
Om





On 5/6/13 4:03 PM, OmPrakash Muppirala bigosma...@gmail.com wrote:

 On Mon, May 6, 2013 at 3:48 PM, Alex Harui aha...@adobe.com wrote:

 Om,

 Can you update the proposal as to whether you have to use your a.o
email or
 if allowing aliases works?

 -Alex


 I have posted the proposal here:



https://cwiki.apache.org/confluence/display/FLEX/Proposal+-+Github+based+White

 board

 All apache.org emails are configured to be aliases for committer's
personal
 email ids.  So, you will need to add the committer's personal email id
to
 the commits@f.a.o list in any case.

 The only advantage of adding the apache.org email id in GitHub would

be

 that the 'from' field will have the apache.org email id.  This keeps

it

 consistent with Apache Git's emails.

 So, I have updated the proposal to say that it is 'recommended, but

not

 compulsory' for adding the apache.org email address as the default
email in
 GitHub.

 Thanks,
 Om



 On 5/6/13 3:35 PM, OmPrakash Muppirala bigosma...@gmail.com

wrote:


 Any other thoughts regarding this process?

 If not, I would like to test this workflow with a couple of

volunteer

 committers.  Anyone wants to volunteer? :-)

 Thanks,
 Om


 On Thu, May 2, 2013 at 8:55 PM, Alex Harui aha...@adobe.com wrote:




 On 5/2/13 6:21 PM, Dasa Paddock dpadd...@esri.com wrote:


 6.  The committer adds their committerAlias@apache.org email
 address as
 their default email in their github account.
 Anyway around to do this? I assume this is so email to the

mailing

 list
 re
 changes are not rejected.

 I'm not sure, but maybe it's enough to just add your
apache.orgaddress
 to
 your Email Settings [1] and set the repo's user.email config so

that

 the
 apache.org address is used as the commit author [2].

 [1]: https://github.com/settings/emails
 [2]: https://help.github.com/articles/setting-your-email-in-git

 I'm ok adding aliases for the committers who don't want to use

their

 apache.org.  I think I did so for Om in order for him to try this.

 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui



 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui



--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui










Re: Regression issue with Adobe Flex

2013-05-07 Thread Alex Harui
I suspect the FXG assets have different mouseEnabled or mouseChildren
behavior than the SWF assets Adobe used in Flex 4.6.  We were forced to
switch to FXG assets in Apache so we could have source for them.

If you don't want to keep digging, just assign it to me and I'll take a
look.


On 5/7/13 8:25 PM, Justin Mclean jus...@classsoftware.com wrote:

 Hi,
 
 A rather odd bug reported.
 https://issues.apache.org/jira/browse/FLEX-33542
 
 If you mouse over the header separator the resize cursor is corrupt and
 contains loaded asset Image (with SWFLoader, mx:Image or s:Image). This
 happens every time and effects s:DataGrid, mx:DataGrid and mx:AdvancedDatGrid.
 
 I've had a look at the issue but can't find anything obvious to why it may be
 occurring - anyone have a suggestion to what the issue might be?
 
 Thanks,
 Justin

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui



[jira] [Assigned] (FLEX-33542) mx:AdvancedDataGrid header column separators display embedded SWF on mouseover

2013-05-07 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-33542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean reassigned FLEX-33542:


Assignee: Alex Harui

 mx:AdvancedDataGrid header column separators display embedded SWF on mouseover
 --

 Key: FLEX-33542
 URL: https://issues.apache.org/jira/browse/FLEX-33542
 Project: Apache Flex
  Issue Type: Bug
  Components: .Unspecified - Framework
Affects Versions: Apache Flex 4.9.0
Reporter: Edward Trochim
Assignee: Alex Harui
 Attachments: AdvDataGridBugTest.zip


 The mx:AdvancedDataGrid control in Flex 4.9.1 is acting very oddly when the 
 application has an embedded SWF. When a user mouses over the header column 
 separators in the AdvancedDataGrid the SWF will display on top of the mouse 
 cursor. A demonstration of this behavior can be found here: 
 https://dl.dropboxusercontent.com/u/11780410/AdvDataGridBugTest/AdvDataGridBugTest.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (FLEX-23834) mx.controls.DateField with editable=true and DataGrid itemEditor

2013-05-07 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-23834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean resolved FLEX-23834.
--

   Resolution: Fixed
Fix Version/s: Apache Flex 4.10.0

Checked into develop branch

 mx.controls.DateField with editable=true and DataGrid itemEditor
 

 Key: FLEX-23834
 URL: https://issues.apache.org/jira/browse/FLEX-23834
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.3 (Release)
 Environment: Affected OS(s): All OS Platforms
 Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
 Fix For: Apache Flex 4.10.0


 Steps to reproduce:
   mx:Array id=data
   mx:Object date={new Date()} /
   /mx:Array
   mx:DataGrid dataProvider={data} editable=true
   mx:columns
   mx:DataGridColumn headerText=correct 
 dataField=date editorDataField=selectedDate 
 itemEditor=mx.controls.DateField /
   mx:DataGridColumn headerText=incorrect 
 dataField=date editorDataField=selectedDate 
   mx:itemEditor
   mx:Component
   mx:DateField editable=true /
   /mx:Component
   /mx:itemEditor
   /mx:DataGridColumn
   /mx:columns
   /mx:DataGrid
  
  Actual Results:
  When you start editing correct column(in example above) and press Escape, 
 editing is cancelled. But when you start editing incorrect column and press 
 Escape nothing happens and editing continues.
  
  Expected Results:
 Editing should be cancelled in both cases.
  
  
  Workaround (if any):
 mx.controls.DateField class overrides keyDownHandler and checks for Escape 
 key. But the problem is it calls event.stopPropagation() which prevents 
 DataGrid to get Escape key down event inorder to cancel editing mode. 
 Workaround is to comment that one line or extend DateField class, override 
 keyDownHandler and not call super.keyDownHandler. In this case you loose key 
 navigation in DateField but get editing cancellation in case of DataGrid item 
 editor.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (FLEX-23464) Setting selectedDate in closed handler of DateField doesn't update selectedDate

2013-05-07 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-23464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean resolved FLEX-23464.
--

   Resolution: Fixed
Fix Version/s: Apache Flex 4.10.0

Fixed in previous version or in Apche Flex develop branch

 Setting selectedDate in closed handler of DateField doesn't update 
 selectedDate
 ---

 Key: FLEX-23464
 URL: https://issues.apache.org/jira/browse/FLEX-23464
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.5 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows XP
 Browser: Internet Explorer 7.x
 Language Found: English
Reporter: Adobe JIRA
 Fix For: Apache Flex 4.10.0


   Steps to reproduce:
 1. Run attached example (or create your own example, being: datefield with 
 closed handler, inside the closed handler overwrite the selectedDate of the 
 datefield).
 2. Click the DateField and select a date (when using attached example: 
 selected date not being today)
 3. See that the SelectedDate from the closed handler doesn't get reflected
  
  Actual Results:
  The date set in the closed handler is not set to the date field. The date 
 from the handler is only used when the date chooser is opened and no date is 
 selected (click outside the date chooser).
  The handler is called both times.
  
  Expected Results:
  The date set in the closed handler to be reflected in the date field.
  
  Workaround (if any):
 Add a validateNow() call after setting the selectedDate:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 
 mx:Script
 ![CDATA[
 private function myDateClosed(evt:Event):void {
 trace('myDateClosed(event)');
 myDate.selectedDate = new Date();
 myDate.validateNow(); /* workaround */
 }
 ]]
   
 /mx:Script
 
 mx:ApplicationControlBar dock=true
 mx:Label id=sdkVer initialize=sdkVer.text = 
 mx_internal::VERSION; /
 /mx:ApplicationControlBar
 
 mx:DateField id=myDate close=myDateClosed(event); /
 
 /mx:Application
 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira