You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/05/23 18:22:35 UTC

[1/3] git commit: [flex-sdk] [refs/heads/develop] - needed this on Windows to keep .sh files working

Updated Branches:
  refs/heads/develop c69e450f9 -> 7919890ed


needed this on Windows to keep .sh files working


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/568f891b
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/568f891b
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/568f891b

Branch: refs/heads/develop
Commit: 568f891bb079850eee84533f894f61fb9187d147
Parents: c69e450
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 21 06:30:13 2013 +0100
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 23 06:12:23 2013 +0100

----------------------------------------------------------------------
 .gitattributes |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/568f891b/.gitattributes
----------------------------------------------------------------------
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..50ca329
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+*.sh eol=lf


[2/3] git commit: [flex-sdk] [refs/heads/develop] - Revert "needed this on Windows to keep .sh files working"

Posted by ah...@apache.org.
Revert "needed this on Windows to keep .sh files working"

This reverts commit e2d2fa9914e11d26e818087c594669bc728542b8.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/76a55021
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/76a55021
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/76a55021

Branch: refs/heads/develop
Commit: 76a55021bbefbc43151523ef97d04524f50b3012
Parents: 568f891
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 22 07:29:42 2013 +0100
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 23 06:12:24 2013 +0100

----------------------------------------------------------------------
 .gitattributes |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/76a55021/.gitattributes
----------------------------------------------------------------------
diff --git a/.gitattributes b/.gitattributes
deleted file mode 100644
index 50ca329..0000000
--- a/.gitattributes
+++ /dev/null
@@ -1 +0,0 @@
-*.sh eol=lf


[3/3] git commit: [flex-sdk] [refs/heads/develop] - Fix these tests on Windows. The default format might include trailingZeros

Posted by ah...@apache.org.
Fix these tests on Windows.  The default format might include trailingZeros


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/7919890e
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/7919890e
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/7919890e

Branch: refs/heads/develop
Commit: 7919890eddeaed20c66c087ff5b46baf3af6efcc
Parents: 76a5502
Author: Alex Harui <ah...@apache.org>
Authored: Thu May 23 06:10:30 2013 +0100
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 23 06:12:26 2013 +0100

----------------------------------------------------------------------
 .../Properties/NumericStepper_Properties.mxml      |   11 +++++++++++
 .../Styles/NumericStepper_Styles_Mirroring.mxml    |    7 ++++++-
 2 files changed, 17 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7919890e/mustella/tests/gumbo/components/NumericStepper/Properties/NumericStepper_Properties.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/gumbo/components/NumericStepper/Properties/NumericStepper_Properties.mxml b/mustella/tests/gumbo/components/NumericStepper/Properties/NumericStepper_Properties.mxml
index 0d827f6..91e4257 100644
--- a/mustella/tests/gumbo/components/NumericStepper/Properties/NumericStepper_Properties.mxml
+++ b/mustella/tests/gumbo/components/NumericStepper/Properties/NumericStepper_Properties.mxml
@@ -19,6 +19,16 @@
     ]]>
     </fx:Metadata>
 
+	<fx:Script>
+		<![CDATA[
+			
+			public function myValueFormatFunction(value:Number):String
+			{
+				return int(value).toString();
+			}
+		]]>
+	</fx:Script>   
+	
     <testCases>
 
 		<TestCase testID="NumericStepper_defaultValue" keywords="[NumericStepper, Default]" description="Test Default Values for Spark NumericStepper">
@@ -548,6 +558,7 @@
 		<TestCase testID="NumericStepper_skin1" keywords="[NumericStepper, Skin]" description="Test Skinned NumericStepper">
 		    <setup>
 				<ResetComponent target="myNS_skinned" className="comps.mySkinComp" waitEvent="updateComplete" waitTarget="myNS_skinned"/>
+				<SetProperty target="myNS_skinned" propertyName="valueFormatFunction" valueExpression="value=myValueFormatFunction"/>				
 		    </setup>
 		    <body>
 				<DispatchMouseEvent type="rollOver" target="myNS_skinned.incrementButton" localX="5" localY="5" waitEvent="rollOver" waitTarget="myNS_skinned.incrementButton"/>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7919890e/mustella/tests/gumbo/components/NumericStepper/Styles/NumericStepper_Styles_Mirroring.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/gumbo/components/NumericStepper/Styles/NumericStepper_Styles_Mirroring.mxml b/mustella/tests/gumbo/components/NumericStepper/Styles/NumericStepper_Styles_Mirroring.mxml
index dbcbc8f..da2e97b 100644
--- a/mustella/tests/gumbo/components/NumericStepper/Styles/NumericStepper_Styles_Mirroring.mxml
+++ b/mustella/tests/gumbo/components/NumericStepper/Styles/NumericStepper_Styles_Mirroring.mxml
@@ -23,8 +23,11 @@
 	
 	<fx:Script>
 		<![CDATA[
+			import mx.core.FlexGlobals;
+
+			public function myValueFormatFunction(value:Number):String
 			{
-				import mx.core.FlexGlobals;
+				return int(value).toString();
 			}
 		]]>
 	</fx:Script>   
@@ -70,6 +73,7 @@
 		<TestCase testID="NumericStepper_Styles_Mirroring_keyboard" keywords="[NumericStepper, Mirroring, rtl]" description="Test keyboard keys on rtl NumericStepper">
 			<setup>
 				<ResetComponent target="ns" className="spark.components.NumericStepper" waitEvent="updateComplete"/>
+				<SetProperty target="ns" propertyName="valueFormatFunction" valueExpression="value=myValueFormatFunction"/>				
 				<SetStyle target="ns" styleName="layoutDirection" value="rtl" waitEvent="updateComplete"/>				
 				<SetProperty target="ns" propertyName="stepSize" value="5" />
 			</setup>
@@ -205,6 +209,7 @@
 		<TestCase testID="NumericStepper_Styles_Mirroring_rotation" keywords="[NumericStepper, Mirroring, rtl]" description="Test rotation with direction rtl on NumericStepper">
 			<setup>
 				<ResetComponent target="ns" className="spark.components.NumericStepper" waitEvent="updateComplete"/>
+				<SetProperty target="ns" propertyName="valueFormatFunction" valueExpression="value=myValueFormatFunction"/>				
 				<SetProperty target="ns" propertyName="rotation" value="45"/>
 				<SetStyle target="ns" styleName="layoutDirection" value="rtl" waitEvent="updateComplete"/>				
 			</setup>