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/08/27 06:20:07 UTC

[1/5] git commit: [flex-utilities] [refs/heads/develop] - Add example for future version of the SDK

Repository: flex-utilities
Updated Branches:
  refs/heads/develop e43b7a87f -> eaff75583


Add example for future version of the SDK


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

Branch: refs/heads/develop
Commit: e0e353309a7355e2e0ca9ab93cdc9b79520849cb
Parents: e43b7a8
Author: Justin Mclean <jm...@apache.org>
Authored: Wed Aug 27 13:57:28 2014 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Wed Aug 27 13:57:28 2014 +1000

----------------------------------------------------------------------
 TourDeFlex/TourDeFlex3/build.xml        | 4 ++++
 TourDeFlex/TourDeFlex3/src/explorer.xml | 5 +++++
 2 files changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/e0e35330/TourDeFlex/TourDeFlex3/build.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/build.xml b/TourDeFlex/TourDeFlex3/build.xml
index 8cb0b30..94797df 100644
--- a/TourDeFlex/TourDeFlex3/build.xml
+++ b/TourDeFlex/TourDeFlex3/build.xml
@@ -406,6 +406,7 @@
 		<compile-mxml example="/apache/ApacheFlex4_11_0"/>
 		<compile-mxml example="/apache/ApacheFlex4_12_1"/>
 		<compile-mxml example="/apache/ApacheFlex4_13_0"/>
+		<!-- <compile-mxml example="/apache/ApacheFlex4_13_0"/> -->
 		
 		<compile-mxml example="/apache/formatters/PostCodeFormatterExample"/>
 		<compile-mxml example="/apache/validators/PostCodeValidatorExample"/>
@@ -417,6 +418,9 @@
 		<compile-mxml example="/apache/i18n/NumericStepperExample"/>
 		<compile-mxml example="/apache/containers/CalloutExample"/>
 		<compile-mxml example="/apache/controls/MaskedTextInputExample"/>
+		
+		<!-- Uncomment when Flex 4.14 is released -->
+		<!-- compile-mxml example="/apache/controls/SparkRichTextEditorExample"/-->
 	</target>
 		
 	<target name="package" description="package up all source files" depends="package-dir,package-tar,package-zip">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/e0e35330/TourDeFlex/TourDeFlex3/src/explorer.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/explorer.xml b/TourDeFlex/TourDeFlex3/src/explorer.xml
index cfe594e..7cfe009 100755
--- a/TourDeFlex/TourDeFlex3/src/explorer.xml
+++ b/TourDeFlex/TourDeFlex3/src/explorer.xml
@@ -468,6 +468,11 @@
 			<node label="Apache Flex 4.13" app="apache/ApacheFlex4_13_0">
 				<!--  Add examples here -->
 			</node>
+			<!-- Add when Flex 4.14 is released
+			<node label="Apache Flex 4.14" app="apache/ApacheFlex4_14_0">
+				<compile-mxml label="MaskedTextInput" app="apache/controls/SparkRichTextEditorExample"/>
+			</node> 
+			 -->
 		</node>
 	</node>
 </compTree>
\ No newline at end of file


[3/5] git commit: [flex-utilities] [refs/heads/develop] - add spark rich text editor example

Posted by jm...@apache.org.
add spark rich text editor example


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

Branch: refs/heads/develop
Commit: f105652060a9ac0eb653f463054d9e6f966564be
Parents: 4c3cb13
Author: Justin Mclean <jm...@apache.org>
Authored: Wed Aug 27 13:59:44 2014 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Wed Aug 27 13:59:44 2014 +1000

----------------------------------------------------------------------
 .../controls/SparkRichTextEditorExample.mxml    | 55 ++++++++++++++++++++
 1 file changed, 55 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/f1056520/TourDeFlex/TourDeFlex3/src/apache/controls/SparkRichTextEditorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/apache/controls/SparkRichTextEditorExample.mxml b/TourDeFlex/TourDeFlex3/src/apache/controls/SparkRichTextEditorExample.mxml
new file mode 100644
index 0000000..64baead
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/apache/controls/SparkRichTextEditorExample.mxml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+			   xmlns:s="library://ns.adobe.com/flex/spark"
+			   xmlns:mx="library://ns.adobe.com/flex/mx">
+	<fx:Script>
+		<![CDATA[
+			import spark.components.RichTextEditor;
+			import spark.events.TextOperationEvent;
+
+			private var rte:RichTextEditor;
+
+			protected override function createChildren():void
+			{
+				super.createChildren();
+				rte = new RichTextEditor();
+				rte.htmlText = '<b>This is great!</b><br/><font color="#FF0000">Another Line.</font>';
+				rte.addEventListener(TextOperationEvent.CHANGE, handleChange);
+				container.addElementAt(rte, 0);
+				handleChange();
+			}
+
+			private function handleChange(e:TextOperationEvent = null):void
+			{
+				richTextEditorOutput.text = rte.htmlText;
+			}
+		]]>
+	</fx:Script>	
+	<s:Panel title="Millisecond Format" width="100%" height="100%" borderAlpha="0.15">
+		<s:layout>
+			<s:VerticalLayout paddingLeft="20" paddingTop="20" gap="10" />
+		</s:layout>
+		<s:VGroup id="container" width="600" paddingBottom="10" paddingLeft="10" paddingRight="10" paddingTop="10">
+			<s:Label text="HTML Output:" fontSize="20"/>
+			<s:Label id="richTextEditorOutput" width="100%"/>
+		</s:VGroup>
+	</s:Panel>
+</s:Application>
\ No newline at end of file


[4/5] git commit: [flex-utilities] [refs/heads/develop] - update release notes

Posted by jm...@apache.org.
update release notes


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

Branch: refs/heads/develop
Commit: daf98410fad065bfc81dd5e8413a3afc8fb6c493
Parents: f105652
Author: Justin Mclean <jm...@apache.org>
Authored: Wed Aug 27 14:00:07 2014 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Wed Aug 27 14:00:07 2014 +1000

----------------------------------------------------------------------
 TourDeFlex/TourDeFlex3/RELEASE_NOTES | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/daf98410/TourDeFlex/TourDeFlex3/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/RELEASE_NOTES b/TourDeFlex/TourDeFlex3/RELEASE_NOTES
index 6137b71..8727ea1 100644
--- a/TourDeFlex/TourDeFlex3/RELEASE_NOTES
+++ b/TourDeFlex/TourDeFlex3/RELEASE_NOTES
@@ -10,10 +10,13 @@ Changes since the version 1.0
 - Fixed a few minor issues
 
 Bugs fixed:
+FLEX-34488 Add favicon to TourDeFlex
+FLEX-34483 Make logo links to Apache Flex web site
 FLEX-34480 If TourDeFlex is run from an untrusted location you get an error
 FLEX-34479 Change naming format of TourDeFlex
 FLEX-34474 TourDeFlex effects example bad styles and modifying default destination scaling
 
+
 ------------------------------------------------
 Apache Flex Tour De Flex Component Explorer 1.0
 ------------------------------------------------


[2/5] git commit: [flex-utilities] [refs/heads/develop] - add place holder for Apache Flex 4.14

Posted by jm...@apache.org.
add place holder for Apache Flex 4.14


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

Branch: refs/heads/develop
Commit: 4c3cb13ee798a6815a257b5ca78d5633f06466a9
Parents: e0e3533
Author: Justin Mclean <jm...@apache.org>
Authored: Wed Aug 27 13:58:56 2014 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Wed Aug 27 13:58:56 2014 +1000

----------------------------------------------------------------------
 .../src/apache/ApacheFlex4_14_0.mxml            | 51 ++++++++++++++++++++
 1 file changed, 51 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/4c3cb13e/TourDeFlex/TourDeFlex3/src/apache/ApacheFlex4_14_0.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/apache/ApacheFlex4_14_0.mxml b/TourDeFlex/TourDeFlex3/src/apache/ApacheFlex4_14_0.mxml
new file mode 100644
index 0000000..1f988e2
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/apache/ApacheFlex4_14_0.mxml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
+			   xmlns:s="library://ns.adobe.com/flex/spark" 
+			   xmlns:mx="library://ns.adobe.com/flex/mx">
+	<s:layout>
+		<s:VerticalLayout paddingLeft="20" paddingTop="20" />
+	</s:layout>
+	
+	<s:HGroup>
+		<s:Image source="@Embed('/assets/ApacheFlexLogo.png')" width="50" height="50" />
+		<s:VGroup height="100%" verticalAlign="middle">
+			<s:Label text="Apache Flex 4.14" fontSize="20" fontWeight="bold" />
+			<s:Label text="Released MMM DD, 2014" />
+		</s:VGroup>	
+	</s:HGroup>
+	
+	<s:RichText width="100%">
+		<s:p />
+		<s:p>Apache Flex community releases Flex 4.14.0.</s:p>
+		<s:p />
+		<s:p>Differences and highlights include:</s:p>
+		<s:list>
+			<s:li>Support for Flash Player 15.0 and AIR runtime 15.0</s:li>
+			<s:li>New modern Android skins</s:li>
+			<s:li>New spark RichTextEditor component</s:li>
+			<s:li>Over XX bugs fixed</s:li>
+		</s:list>
+		<s:p />
+		<s:p>For a full list of changes please see the README.</s:p>
+		<s:p />
+	</s:RichText>
+	<s:Label text="Content from Wikipedia licenced under a Creative Commons Attribution-ShareAlike 3.0 Unported License" fontSize="9" />
+</s:Application>


[5/5] git commit: [flex-utilities] [refs/heads/develop] - FLEX-34500 show total number of examples in Tour De Flex UI

Posted by jm...@apache.org.
FLEX-34500 show total number of examples in Tour De Flex UI


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

Branch: refs/heads/develop
Commit: eaff755831d1ce5c7f845c8d76df7d3a7e406de1
Parents: daf9841
Author: Justin Mclean <jm...@apache.org>
Authored: Wed Aug 27 14:17:56 2014 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Wed Aug 27 14:17:56 2014 +1000

----------------------------------------------------------------------
 TourDeFlex/TourDeFlex3/src/explorer.mxml | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/eaff7558/TourDeFlex/TourDeFlex3/src/explorer.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/explorer.mxml b/TourDeFlex/TourDeFlex3/src/explorer.mxml
index 646827a..7a1443d 100755
--- a/TourDeFlex/TourDeFlex3/src/explorer.mxml
+++ b/TourDeFlex/TourDeFlex3/src/explorer.mxml
@@ -30,12 +30,17 @@
 		[Embed(source="explorer.xml", mimeType="application/octet-stream")]
 		private var XMLData:Class;
 			
+		[Bindable]
+		protected var noExamples:int = 0;
+			
 		private function init():void
 		{
 			var data:XML = XML(new XMLData());
 			
             explorerTree = XML(data.node);
             compLibTree.dataProvider = explorerTree;
+			
+			noExamples = (explorerTree..node.(hasOwnProperty("@app") && @app.length() > 0)).length();
 		}			
 
         private function treeChanged(event:Event):void
@@ -66,6 +71,8 @@
 	<mx:HBox width="100%">
 		<mx:Image source="./mx/controls/assets/ApacheFlexIcon.png" useHandCursor="true" buttonMode="true" click="gotoHome(event)" />
 		<mx:Label text="{FULL_TITLE}" fontSize="20" fontWeight="bold" />
+		<mx:Spacer width="100%" />
+		<mx:Label text="{noExamples} examples" />
 	</mx:HBox>
     <mx:HDividedBox width="100%" height="100%">
         <mx:Panel width="30%" height="100%" title="{TITLE}" dropShadowVisible="false">