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 2014/02/24 02:22:09 UTC
[1/2] git commit: [flex-sdk] [refs/heads/develop] - FLEX-34101 spark
list doesn't refresh with filterFunction + fix RTE that occurs when adding
more than one item to a filtered list.
Repository: flex-sdk
Updated Branches:
refs/heads/develop 4cec69c5a -> 4e0fba518
FLEX-34101 spark list doesn't refresh with filterFunction + fix RTE that occurs when adding more than one item to a filtered list.
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/95d1e358
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/95d1e358
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/95d1e358
Branch: refs/heads/develop
Commit: 95d1e3586977c31b41368cf4517065922393c0b5
Parents: 4cec69c
Author: Justin Mclean <jm...@apache.org>
Authored: Mon Feb 24 12:17:05 2014 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Mon Feb 24 12:17:05 2014 +1100
----------------------------------------------------------------------
.../src/mx/collections/ListCollectionView.as | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/95d1e358/frameworks/projects/framework/src/mx/collections/ListCollectionView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/collections/ListCollectionView.as b/frameworks/projects/framework/src/mx/collections/ListCollectionView.as
index 95972fb..3610d28 100644
--- a/frameworks/projects/framework/src/mx/collections/ListCollectionView.as
+++ b/frameworks/projects/framework/src/mx/collections/ListCollectionView.as
@@ -652,10 +652,8 @@ public class ListCollectionView extends Proxy
* @productversion Flex 3
*/
public function addAllAt(addList:IList, index:int):void
- {
- var maxLength:int = this.length
-
- if (index < 0 || index > maxLength)
+ {
+ if (index < 0 || index > this.length)
{
var message:String = resourceManager.getString(
"collections", "outOfBounds", [ index ]);
@@ -663,16 +661,16 @@ public class ListCollectionView extends Proxy
}
var length:int = addList.length;
-
- // incremental index may be out of bounds because of filtering,
- // so add this item to the end.
- if (index > maxLength)
- index = maxLength;
for (var i:int=0; i < length; i++)
{
var insertIndex:int = i + index;
+ // incremental index may be out of bounds because of filtering,
+ // so add this item to the end.
+ if (insertIndex > this.length)
+ insertIndex = this.length;
+
this.addItemAt(addList.getItemAt(i), insertIndex);
}
}
@@ -1210,7 +1208,7 @@ public class ListCollectionView extends Proxy
throw new CollectionViewError(message);
}
- if (localIndex && addedItems.length > 1)
+ if (localIndex && addedItems.length > 0)
{
addLocation = -1;
}
[2/2] git commit: [flex-sdk] [refs/heads/develop] - update with
recent changes
Posted by jm...@apache.org.
update with recent changes
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/4e0fba51
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/4e0fba51
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/4e0fba51
Branch: refs/heads/develop
Commit: 4e0fba5180021aac4f65cdfb28dd881709ce83bd
Parents: 95d1e35
Author: Justin Mclean <jm...@apache.org>
Authored: Mon Feb 24 12:21:51 2014 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Mon Feb 24 12:21:51 2014 +1100
----------------------------------------------------------------------
RELEASE_NOTES | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4e0fba51/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index a7b7a0c..270ddee 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -50,6 +50,7 @@ SDK Changes
- iOS7 status bar support.
- Improved try/catch performance in several areas.
- New MaskedTextinput component.
+- JSON support for ArrayCollection and ArrayList.
Build Changes
---------------
@@ -71,6 +72,9 @@ Bug Fixes
JIRA Issue Number and Summary
-------------------------------------------------------------------------------------------------------------------
+FLEX-34108 JSON.stringify and arraycollection
+FLEX-34104 fontswf utility fails with exception
+FLEX-34101 Regression from 4.8 to 4.10: Spark list doesn't refresh with filterFunction
FLEX-34097 Missing Assets In The mobile.swc Theme File
FLEX-34088 CalloutButton with Dropdown
FLEX-34084 Error with PopupButton/Menu in headerrenderer in DataGrid