You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cf...@apache.org on 2013/01/18 00:31:58 UTC

svn commit: r1434962 - in /flex/sdk/branches/develop: asdoc/ frameworks/projects/apache/ frameworks/projects/apache/src/mx/collections/ frameworks/projects/apache/src/org/apache/flex/collections/

Author: cframpton
Date: Thu Jan 17 23:31:58 2013
New Revision: 1434962

URL: http://svn.apache.org/viewvc?rev=1434962&view=rev
Log:
Flex-33355 and FLEX-33356.  Add apache and experimental swcs to asdocs.  The file projects/apache/src/mx/collections/ArrayList was in package mx.collections as is  name the projects/frameworks/src/mx/collections/ArrayList.  Moved projects/apache/src/mx/collections to  projects/apache/org/apache/flex/collections and corrected the package name.

Added:
    flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/
      - copied from r1434362, flex/sdk/branches/develop/frameworks/projects/apache/src/mx/collections/
Removed:
    flex/sdk/branches/develop/frameworks/projects/apache/src/mx/collections/
Modified:
    flex/sdk/branches/develop/asdoc/build.xml
    flex/sdk/branches/develop/frameworks/projects/apache/manifest.xml
    flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/ArrayList.as
    flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/VectorCollection.as
    flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/VectorList.as

Modified: flex/sdk/branches/develop/asdoc/build.xml
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/asdoc/build.xml?rev=1434962&r1=1434961&r2=1434962&view=diff
==============================================================================
--- flex/sdk/branches/develop/asdoc/build.xml (original)
+++ flex/sdk/branches/develop/asdoc/build.xml Thu Jan 17 23:31:58 2013
@@ -87,6 +87,9 @@
 			<compiler.source-path path-element="${flexlib}/projects/charts/src"/>
 			<compiler.source-path path-element="${flexlib}/projects/mobilecomponents/src"/>
 			<compiler.source-path path-element="${flexlib}/projects/spark_dmv/src"/>
+            <!--  added for Apache -->
+			<compiler.source-path path-element="${flexlib}/projects/apache/src"/>
+			<compiler.source-path path-element="${flexlib}/projects/experimental/src"/>
 						
 			<!-- namespaces to include in asdoc -->
 		    <doc-namespaces uri="http://www.adobe.com/2006/airmxml"/>
@@ -100,6 +103,9 @@
  			<doc-namespaces uri="http://www.adobe.com/2006/charts"/>
  			<doc-namespaces uri="library://ns.adobe.com/flex/spark-mobilecomponents"/>
  			<doc-namespaces uri="library://ns.adobe.com/flex/spark-dmv"/>
+            <!--  added for Apache -->
+ 			<doc-namespaces uri="http://flex.apache.org/ns"/>
+ 			<doc-namespaces uri="http://flex.apache.org/experimental/ns"/>
  			
 		    <namespace uri="library://ns.adobe.com/flashx/textLayout" manifest="${flexlib}/projects/textLayout/${tlf.version}/manifest.xml"/>
 
@@ -110,13 +116,17 @@
 		    <namespace uri="http://ns.adobe.com/2009/mx-mxml" manifest="${flexlib}/projects/mx/manifest.xml"/>
 		    <namespace uri="http://www.adobe.com/2006/advancedgridsmxml" manifest="${flexlib}/projects/advancedgrids/manifest_advancedgrids.xml"/>
 		    <namespace uri="http://www.adobe.com/2006/charts" manifest="${flexlib}/projects/charts/manifest_charts.xml"/>
-		    		    
+
 		    <namespace uri="http://www.adobe.com/2006/mxml" manifest="${flexlib}/mxml-manifest.xml"/>
 		    <namespace uri="library://ns.adobe.com/flex/spark" manifest="${flexlib}/projects/spark/manifest.xml"/>
 		    <namespace uri="library://ns.adobe.com/flex/mx" manifest="${flexlib}/mxml-manifest.xml"/>
 			<namespace uri="library://ns.adobe.com/flex/spark-mobilecomponents" manifest="${flexlib}/projects/mobilecomponents/manifest.xml"/>
 			<namespace uri="library://ns.adobe.com/flex/spark-dmv" manifest="${flexlib}/projects/spark_dmv/manifest_spark_dmv.xml"/>
 
+            <!--  added for Apache -->
+		    <namespace uri="http://flex.apache.org/ns" manifest="${flexlib}/projects/apache/manifest.xml"/>
+		    <namespace uri="http://flex.apache.org/experimental/ns" manifest="${flexlib}/projects/experimental/manifest.xml"/>
+
 			<library-path/>
             <external-library-path dir="${env.AIR_HOME}/frameworks/libs/air">
                 <include name="airglobal.swc"/>

Modified: flex/sdk/branches/develop/frameworks/projects/apache/manifest.xml
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/frameworks/projects/apache/manifest.xml?rev=1434962&r1=1434961&r2=1434962&view=diff
==============================================================================
--- flex/sdk/branches/develop/frameworks/projects/apache/manifest.xml (original)
+++ flex/sdk/branches/develop/frameworks/projects/apache/manifest.xml Thu Jan 17 23:31:58 2013
@@ -28,8 +28,8 @@
     <component id="PostCodeFormatter" class="org.apache.flex.formatters.PostCodeFormatter"/>
     <component id="PostCodeValidator" class="org.apache.flex.validators.PostCodeValidator"/>
 
-	<component id="ArrayList" class="mx.collections.ArrayList"/>
-	<component id="VectorCollecton" class="mx.collections.VectorCollection"/>
-	<component id="VectorList" class="mx.collections.VectorList"/>
+	<component id="ArrayList" class="org.apache.flex.collections.ArrayList"/>
+	<component id="VectorCollecton" class="org.apache.flex.collections.VectorCollection"/>
+	<component id="VectorList" class="org.apache.flex.collections.VectorList"/>
 
 </componentPackage>

Modified: flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/ArrayList.as
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/ArrayList.as?rev=1434962&r1=1434362&r2=1434962&view=diff
==============================================================================
--- flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/ArrayList.as (original)
+++ flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/ArrayList.as Thu Jan 17 23:31:58 2013
@@ -17,7 +17,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////
 
-package mx.collections 
+package org.apache.flex.collections 
 {
     
 import flash.events.EventDispatcher;
@@ -27,6 +27,8 @@ import flash.utils.IDataOutput;
 import flash.utils.IExternalizable;
 import flash.utils.getQualifiedClassName;
 
+import mx.collections.ICollectionView;
+import mx.collections.IList;
 import mx.core.IPropertyChangeNotifier;
 import mx.events.CollectionEvent;
 import mx.events.CollectionEventKind;

Modified: flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/VectorCollection.as
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/VectorCollection.as?rev=1434962&r1=1434362&r2=1434962&view=diff
==============================================================================
--- flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/VectorCollection.as (original)
+++ flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/VectorCollection.as Thu Jan 17 23:31:58 2013
@@ -17,7 +17,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////
 
-package mx.collections
+package org.apache.flex.collections
 {
 
 import flash.utils.IDataInput;
@@ -25,11 +25,20 @@ import flash.utils.IDataOutput;
 import flash.utils.IExternalizable;
 
 import mx.core.mx_internal;
+import mx.collections.ICollectionView;
+import mx.collections.ListCollectionView;
 
 use namespace mx_internal;
 
 [DefaultProperty("source")]
 
+/**
+ *  The VectorCollection class is a wrapper class that exposes a Vector as a collection 
+ *  that can be accessed and manipulated using the methods and properties of the 
+ *  ICollectionView or IList interfaces. Operations on a ArrayCollection instance modify 
+ *  the data source; for example, if you use the removeItemAt() method on  
+ *  VectorCollection, you remove the item from the underlying Vector.
+ */
 public class VectorCollection extends ListCollectionView implements ICollectionView
 {
 
@@ -43,10 +52,12 @@ public class VectorCollection extends Li
      *  Constructor.
      *
      *  <p>Creates a new VectorCollection using the specified source vector.
-     *  If no Vector is specified an empty vector of type&lt;*&gt; will be used.</p>
-	 * 
-	 *  Due to the way the compiler (not the runtime) checks Vectors, we need to 
-	 *  leave the source as an &lt;*&gt; until a compiler change can be implemented.
+     *  If no Vector is specified an empty vector of type&lt;&#42;&gt; will be used.
+     *  </p>
+	 *
+	 *  <p>Due to the way the compiler (not the runtime) checks Vectors, we need to 
+	 *  leave the source as an &lt;&#42;&gt; until a compiler change can be implemented.
+	 *  </p>
      */
     public function VectorCollection(source:* = null)
     {		

Modified: flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/VectorList.as
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/VectorList.as?rev=1434962&r1=1434362&r2=1434962&view=diff
==============================================================================
--- flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/VectorList.as (original)
+++ flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/collections/VectorList.as Thu Jan 17 23:31:58 2013
@@ -17,7 +17,8 @@
 //
 ////////////////////////////////////////////////////////////////////////////////
 
-package mx.collections {
+package org.apache.flex.collections 
+{
     
 import flash.events.EventDispatcher;
 import flash.events.IEventDispatcher;
@@ -29,6 +30,8 @@ import flash.utils.IExternalizable;
 import flash.utils.describeType;
 import flash.utils.getQualifiedClassName;
 
+import mx.collections.ICollectionView;
+import mx.collections.IList;
 import mx.core.IPropertyChangeNotifier;
 import mx.events.CollectionEvent;
 import mx.events.CollectionEventKind;
@@ -56,7 +59,6 @@ import mx.utils.UIDUtil;
 [ResourceBundle("collections")]
 
 /**
- *  @private
  *  A simple implementation of IList that uses a backing Vector.
  *  This base class will not throw ItemPendingErrors but it
  *  is possible that a subclass might.



Re: svn commit: r1434962 - in /flex/sdk/branches/develop: asdoc/ frameworks/projects/apache/ frameworks/projects/apache/src/mx/collections/ frameworks/projects/apache/src/org/apache/flex/collections/

Posted by Carol Frampton <cf...@adobe.com>.
Well you can't doc ArrayList in mx.collections from apache.swc and
frameworks.swc and I imagine you can't use both of them at the same time
either.  If you want to fix it another way go ahead.

Carol

On 1/17/13 6 :41PM, "Justin Mclean" <ju...@classsoftware.com> wrote:

>Hi,
>
>Noticed you change the namespace of he collection classes was that needed
>as I think way back we did decide that they should live in mx.collections.
>
>Thanks,,
>Justin


Re: svn commit: r1434962 - in /flex/sdk/branches/develop: asdoc/ frameworks/projects/apache/ frameworks/projects/apache/src/mx/collections/ frameworks/projects/apache/src/org/apache/flex/collections/

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

Noticed you change the namespace of he collection classes was that needed as I think way back we did decide that they should live in mx.collections.

Thanks,,
Justin