flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1309036 [1/11] - in /incubator/flex/trunk/asdoc: ./ templates/ templates/images/
Date Tue, 03 Apr 2012 16:52:09 GMT
Author: cframpton
Date: Tue Apr  3 16:52:07 2012
New Revision: 1309036

URL: http://svn.apache.org/viewvc?rev=1309036&view=rev
Log:
The Adobe Flex asdoc subdirectory.  Revision history will not be brought over to Apache.

Added:
    incubator/flex/trunk/asdoc/
    incubator/flex/trunk/asdoc/build.xml   (with props)
    incubator/flex/trunk/asdoc/templates/
    incubator/flex/trunk/asdoc/templates/AC_OETags.js   (with props)
    incubator/flex/trunk/asdoc/templates/ASDoc_Config_Base.xml   (with props)
    incubator/flex/trunk/asdoc/templates/ASDoc_terms.xml   (with props)
    incubator/flex/trunk/asdoc/templates/ClassHeader.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/Classes.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/Overviews_Base.xml   (with props)
    incubator/flex/trunk/asdoc/templates/PostProcessing.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/all-classes.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/all-index.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/asdoc-util.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/asdoc.js   (with props)
    incubator/flex/trunk/asdoc/templates/class-files.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/class-list.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/class-parts.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/class-summary.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/cookies.js   (with props)
    incubator/flex/trunk/asdoc/templates/effectsSummary.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/eventsGeneratedSummary.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/fieldSummary.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/help.js   (with props)
    incubator/flex/trunk/asdoc/templates/images/
    incubator/flex/trunk/asdoc/templates/images/AirIcon12x12.gif   (with props)
    incubator/flex/trunk/asdoc/templates/images/P_AlternativeMetadataIndicator_30x28_N.png
  (with props)
    incubator/flex/trunk/asdoc/templates/images/collapsed.gif   (with props)
    incubator/flex/trunk/asdoc/templates/images/detailHeaderRule.jpg   (with props)
    incubator/flex/trunk/asdoc/templates/images/detailSectionHeader.jpg   (with props)
    incubator/flex/trunk/asdoc/templates/images/expanded.gif   (with props)
    incubator/flex/trunk/asdoc/templates/images/inherit-arrow.gif   (with props)
    incubator/flex/trunk/asdoc/templates/images/inheritedSummary.gif   (with props)
    incubator/flex/trunk/asdoc/templates/images/logo.jpg   (with props)
    incubator/flex/trunk/asdoc/templates/images/titleTableBottom.jpg   (with props)
    incubator/flex/trunk/asdoc/templates/images/titleTableMiddle.jpg   (with props)
    incubator/flex/trunk/asdoc/templates/images/titleTableTop.jpg   (with props)
    incubator/flex/trunk/asdoc/templates/index-list.html   (with props)
    incubator/flex/trunk/asdoc/templates/index.html   (with props)
    incubator/flex/trunk/asdoc/templates/merge_dita_xml.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/methodSummary.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/mxml-tags.html   (with props)
    incubator/flex/trunk/asdoc/templates/override.css   (with props)
    incubator/flex/trunk/asdoc/templates/package-detail.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/package-frame.html   (with props)
    incubator/flex/trunk/asdoc/templates/package-list.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/package-summary.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/package.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/print.css   (with props)
    incubator/flex/trunk/asdoc/templates/processHTML.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/style.css   (with props)
    incubator/flex/trunk/asdoc/templates/stylesSummary.xslt   (with props)
    incubator/flex/trunk/asdoc/templates/title-bar.html   (with props)

Added: incubator/flex/trunk/asdoc/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/build.xml?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/build.xml (added)
+++ incubator/flex/trunk/asdoc/build.xml Tue Apr  3 16:52:07 2012
@@ -0,0 +1,130 @@
+<?xml version="1.0"?>
+
+<!--
+
+	ADOBE SYSTEMS INCORPORATED
+	Copyright 2006-2009 Adobe Systems Incorporated
+	All Rights Reserved.
+
+	NOTICE: Adobe permits you to use, modify, and distribute this file
+	in accordance with the terms of the license agreement accompanying it.
+
+-->
+
+<project name="ASDocs" default="main" basedir=".">
+	<property name="FLEX_HOME" value="${basedir}/.."/>
+	<property name="lenient" value="true"/>
+	<property name="flexlib" location="${FLEX_HOME}/frameworks"/>
+
+	<target name="main" depends="clean,doc" description="Clean build of all ASDocs"/>
+
+	<target name="clean" description="Cleans all ASDocs">
+		<delete dir="${FLEX_HOME}/asdoc-output"/>
+	</target>
+
+	<target name="doc">
+
+	    <condition property="asdoc.jvm.args" value="-Xmx512m">
+	        <os family="windows"/>
+	    </condition>
+
+	    <condition property="asdoc.jvm.args" value="-Xmx1024m">
+	        <os family="mac"/>
+	    </condition>
+
+	    <condition property="asdoc.jvm.args" value="-Xmx512m">
+	        <os family="unix"/>
+	    </condition>
+
+	    <available property="flexTasksJar" value="${FLEX_HOME}/lib/flexTasks.jar" file="${FLEX_HOME}/lib/flexTasks.jar"/>
+	    <available property="flexTasksJar" value="${FLEX_HOME}/ant/lib/flexTasks.jar" file="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
+
+		<!-- Load the <asdoc> task. We can't do this at the <project> level -->
+		<!-- because targets that run before flexTasks.jar gets built would fail. -->
+		<taskdef resource="flexTasks.tasks" classpath="${flexTasksJar}"/>
+
+		<!-- Call asdoc to generate dita xml files -->
+		<asdoc output="${FLEX_HOME}/asdoc-output" lenient="true" failonerror="true" warnings="false"
strict="false" locale="en_US" fork="true">
+			<!-- top level class to include in asdoc -->
+		    <doc-classes class="AIRFrameworkClasses"/>
+		    <doc-classes class="AIRSparkClasses"/>
+		    <doc-classes class="CoreClasses"/>
+		    <doc-classes class="SparkClasses"/>
+		    <doc-classes class="FrameworkClasses"/>
+			<doc-classes class="MxClasses"/>
+		    <doc-classes class="SparkSkinsClasses"/>
+		    <doc-classes class="RPCClasses"/>
+		    <doc-classes class="MobileComponentsClasses"/>		    
+		    <doc-classes class="SparkDmvClasses"/>
+	    		    
+			<doc-classes class="flashx.textLayout.CoreClasses"/>
+			<doc-classes class="flashx.textLayout.EditClasses"/>
+			<doc-classes class="flashx.textLayout.ConversionClasses"/>
+
+			<!-- source path for asdoc -->
+			<compiler.source-path path-element="${flexlib}/projects/airframework/src"/>
+			<compiler.source-path path-element="${flexlib}/projects/airspark/src"/>
+			<compiler.source-path path-element="${flexlib}/projects/core/src"/>
+			<compiler.source-path path-element="${flexlib}/projects/spark/src"/>
+			<compiler.source-path path-element="${flexlib}/projects/framework/src"/>
+			<compiler.source-path path-element="${flexlib}/projects/mx/src"/>
+			<compiler.source-path path-element="${flexlib}/projects/sparkskins/src"/>
+			<compiler.source-path path-element="${flexlib}/projects/rpc/src"/>
+		    <compiler.source-path path-element="${flexlib}/projects/textLayout/src"/>
+		    <!-- ToDo: download osmf soures -->
+			<!--compiler.source-path path-element="${flexlib}/projects/osmf/src"/-->
+			<compiler.source-path path-element="${flexlib}/projects/advancedgrids/src"/>
+			<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"/>
+						
+			<!-- namespaces to include in asdoc -->
+		    <doc-namespaces uri="http://www.adobe.com/2006/airmxml"/>
+		    <doc-namespaces uri="http://www.adobe.com/2006/airspark"/>
+		    <doc-namespaces uri="library://ns.adobe.com/flex/spark"/>
+		    <doc-namespaces uri="http://www.adobe.com/2006/mxml"/>
+		    <doc-namespaces uri="http://www.adobe.com/2006/rpcmxml"/>
+ 			<doc-namespaces uri="library://ns.adobe.com/flashx/textLayout"/>
+ 			<doc-namespaces uri="http://ns.adobe.com/2009/mx-mxml"/>
+ 			<doc-namespaces uri="http://www.adobe.com/2006/advancedgridsmxml"/>
+ 			<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"/>
+ 			
+		    <namespace uri="library://ns.adobe.com/flashx/textLayout" manifest="${flexlib}/projects/textLayout/manifest.xml"/>
+
+			<!-- namespace declaration for asdoc -->
+		    <namespace uri="http://www.adobe.com/2006/airmxml" manifest="${flexlib}/projects/airframework/manifest.xml"/>
+		    <namespace uri="http://www.adobe.com/2006/airspark" manifest="${flexlib}/projects/airspark/manifest.xml"/>
+		    <namespace uri="http://www.adobe.com/2006/rpcmxml" manifest="${flexlib}/projects/rpc/manifest.xml"/>
+		    <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"/>
+
+			<library-path/>
+			<external-library-path dir="${flexlib}/libs/air">
+		    	<include name="airglobal.swc" />
+		    </external-library-path>
+			<external-library-path dir="${flexlib}/libs">
+		    	<include name="framework.swc" />
+		    	<!-- if no osfm sources -->
+		    	<include name="osmf.swc" />
+		    </external-library-path>
+
+
+			<jvmarg line="${asdoc.jvm.args}"/>
+
+			<define name="CONFIG::debug" value="false"/>
+			<define name="CONFIG::release" value="true"/>
+			<define name="CONFIG::FLASH_10_1" value="false"/>
+            <define name="CONFIG::LOGGING" value="false"/>
+			<define name="CONFIG::performanceInstrumentation" value="false"/>            
+		</asdoc>
+	</target>
+</project>

Propchange: incubator/flex/trunk/asdoc/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/asdoc/build.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/asdoc/templates/AC_OETags.js
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/AC_OETags.js?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/AC_OETags.js (added)
+++ incubator/flex/trunk/asdoc/templates/AC_OETags.js Tue Apr  3 16:52:07 2012
@@ -0,0 +1,137 @@
+/*
+ *
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+
+
+//v1.0
+function AC_AddExtension(src, ext)
+{
+  if (src.indexOf('?') != -1)
+    return src.replace(/\?/, ext+'?'); 
+  else
+    return src + ext;
+}
+
+function AC_Generateobj(objAttrs, params, embedAttrs) 
+{ 
+  var str = '<object ';
+  for (var i in objAttrs)
+    str += i + '="' + objAttrs[i] + '" ';
+  str += '>';
+  for (var i in params)
+    str += '<param name="' + i + '" value="' + params[i] + '" /> ';
+  str += '<embed ';
+  for (var i in embedAttrs)
+    str += i + '="' + embedAttrs[i] + '" ';
+  str += ' ></embed></object>';
+
+  document.write(str);
+}
+
+function AC_FL_RunContent(){
+  var ret = 
+    AC_GetArgs
+    (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
+     , "application/x-shockwave-flash"
+    );
+  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
+}
+
+function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
+  var ret = new Object();
+  ret.embedAttrs = new Object();
+  ret.params = new Object();
+  ret.objAttrs = new Object();
+  for (var i=0; i < args.length; i=i+2){
+    var currArg = args[i].toLowerCase();    
+
+    switch (currArg){	
+      case "classid":
+        break;
+      case "pluginspage":
+        ret.embedAttrs[args[i]] = args[i+1];
+        break;
+      case "src":
+      case "movie":	
+        args[i+1] = AC_AddExtension(args[i+1], ext);
+        ret.embedAttrs["src"] = args[i+1];
+        ret.params[srcParamName] = args[i+1];
+        break;
+      case "onafterupdate":
+      case "onbeforeupdate":
+      case "onblur":
+      case "oncellchange":
+      case "onclick":
+      case "ondblClick":
+      case "ondrag":
+      case "ondragend":
+      case "ondragenter":
+      case "ondragleave":
+      case "ondragover":
+      case "ondrop":
+      case "onfinish":
+      case "onfocus":
+      case "onhelp":
+      case "onmousedown":
+      case "onmouseup":
+      case "onmouseover":
+      case "onmousemove":
+      case "onmouseout":
+      case "onkeypress":
+      case "onkeydown":
+      case "onkeyup":
+      case "onload":
+      case "onlosecapture":
+      case "onpropertychange":
+      case "onreadystatechange":
+      case "onrowsdelete":
+      case "onrowenter":
+      case "onrowexit":
+      case "onrowsinserted":
+      case "onstart":
+      case "onscroll":
+      case "onbeforeeditfocus":
+      case "onactivate":
+      case "onbeforedeactivate":
+      case "ondeactivate":
+      case "type":
+      case "codebase":
+        ret.objAttrs[args[i]] = args[i+1];
+        break;
+      case "width":
+      case "height":
+      case "align":
+      case "vspace": 
+      case "hspace":
+      case "class":
+      case "title":
+      case "accesskey":
+      case "name":
+      case "id":
+      case "tabindex":
+        ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
+        break;
+      default:
+        ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
+    }
+  }
+  ret.objAttrs["classid"] = classid;
+  if (mimeType) ret.embedAttrs["type"] = mimeType;
+  return ret;
+}
+

Propchange: incubator/flex/trunk/asdoc/templates/AC_OETags.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/asdoc/templates/AC_OETags.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/asdoc/templates/ASDoc_Config_Base.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/ASDoc_Config_Base.xml?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/ASDoc_Config_Base.xml (added)
+++ incubator/flex/trunk/asdoc/templates/ASDoc_Config_Base.xml Tue Apr  3 16:52:07 2012
@@ -0,0 +1,64 @@
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<!-- this file normally should not be edited.  Use the command-line
+     parameters for ASDoc instead -->
+<asDocConfig>
+  <options buildNum="asd3_0_final_1" verbose="false" livedocs="false" standalone="true"
eclipse="false" docversion="3" includePrivate="false" splitIndex="true" showVersions="true"
showConventions="false" showReview="true" />
+
+  <keywords show="false" num="500" />
+<!--
+  <feedback show="false" type="livedocs">
+    <feedbackEmail>
+        <label>Submit Feedback</label>
+        <address>foo@foo.com</address>
+    </feedbackEmail>
+  </feedback>
+-->
+  <warnings langversion="false" playerversion="false" xref="true" />
+	<!-- <includeExamplesDirectory></includeExamplesDirectory> -->
+
+  <xmlInputFile>toplevel.xml</xmlInputFile>
+  <title>API Documentation</title>
+  <windowTitle>API Documentation</windowTitle>
+
+  <languageElements show="false" constants="true" functions="true" operators="false" statements="false"
specialTypes="false" />
+	<footer></footer>
+  <namespaces hideAll="false">
+    <namespace hide="false" summaryDisplay="public">AS3</namespace>
+    <namespace hide="true">mx_internal</namespace>
+    <namespace hide="false" summaryDisplay="protected">flash_proxy</namespace>
+    <namespace hide="false" summaryDisplay="protected">object_proxy</namespace>
+    <namespace hide="false">mx_inner</namespace>
+    <namespace hide="false" summaryDisplay="public">flash10</namespace>
+  </namespaces>
+<!--
+  <packages hideAll="false">
+    <asPackage hide="false">adobe.utils</asPackage>
+    <asPackage hide="true">flash.debugger</asPackage>
+    <asPackage hide="true">macromedia.util</asPackage>
+  </packages>
+-->
+<!--
+  <annotate>
+    <item type="package" name="mx.charts">
+        <annotation type="text">(Flex Data Visualization components only)</annotation>
+    </item>
+  </annotate>
+-->
+</asDocConfig>
\ No newline at end of file

Propchange: incubator/flex/trunk/asdoc/templates/ASDoc_Config_Base.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/asdoc/templates/ASDoc_Config_Base.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message