You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2013/04/18 03:11:25 UTC

[1/3] git commit: [flex-sdk] - FLEX-24691 Added checks for NaN in date comparison

Updated Branches:
  refs/heads/develop cc5935510 -> 92448d797


FLEX-24691 Added checks for NaN in date comparison


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

Branch: refs/heads/develop
Commit: 17a0c8790e273055375e8217fe1633f270c64bc6
Parents: cc59355
Author: Justin Mclean <jm...@apache.org>
Authored: Thu Apr 18 10:21:44 2013 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Thu Apr 18 10:21:44 2013 +1000

----------------------------------------------------------------------
 .../projects/framework/src/mx/utils/ObjectUtil.as  |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/17a0c879/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/utils/ObjectUtil.as b/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
index 885c5f3..c9e8fbb 100644
--- a/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
+++ b/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
@@ -351,6 +351,15 @@ public class ObjectUtil
 
         if (na > nb)
             return 1;
+		
+		if (isNaN(na) && isNaN(nb))
+			return 0;
+		
+		if (isNaN(na))
+			return 1;
+		
+		if (isNaN(nb))
+			return -1;
 
         return 0;
     }


[2/3] git commit: [flex-sdk] - FLEX-24691 Descibed NaN behaviour in function header comments

Posted by jm...@apache.org.
FLEX-24691 Descibed NaN behaviour in function header comments


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

Branch: refs/heads/develop
Commit: f67e9010849804543883495f9080b95d0268db92
Parents: 17a0c87
Author: Justin Mclean <jm...@apache.org>
Authored: Thu Apr 18 10:27:08 2013 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Thu Apr 18 10:27:08 2013 +1000

----------------------------------------------------------------------
 .../projects/framework/src/mx/utils/ObjectUtil.as  |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f67e9010/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/utils/ObjectUtil.as b/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
index c9e8fbb..5f87c39 100644
--- a/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
+++ b/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
@@ -325,7 +325,10 @@ public class ObjectUtil
      *  -1 if <code>a</code> is before <code>b</code>
      *  (or <code>b</code> is <code>null</code>);
      *  1 if <code>a</code> is after <code>b</code>
-     *  (or <code>a</code> is <code>null</code>).     
+     *  (or <code>a</code> is <code>null</code>);
+	 *  0 is both dates getTime's are NaN;
+     *  1 if only <code>a</code> getTime is a NaN;
+     *  -1 if only <code>b</code> getTime is a NaN.    
      *  
      *  @langversion 3.0
      *  @playerversion Flash 9


[3/3] git commit: [flex-sdk] - Updated year

Posted by jm...@apache.org.
Updated year


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

Branch: refs/heads/develop
Commit: 92448d797e7ba01b92c0143aeebf91adbedb9a63
Parents: f67e901
Author: Justin Mclean <jm...@apache.org>
Authored: Thu Apr 18 10:44:08 2013 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Thu Apr 18 10:44:08 2013 +1000

----------------------------------------------------------------------
 NOTICE |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/92448d79/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
index ac731dd..0eb41b3 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
 Apache Flex
-Copyright 2012 The Apache Software Foundation
+Copyright 2013 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).