You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by yi...@apache.org on 2017/06/27 09:45:56 UTC

[1/2] git commit: [flex-asjs] [refs/heads/tlf] - Make host the layout dispatcher to avoid confusion over what to listen to.

Repository: flex-asjs
Updated Branches:
  refs/heads/tlf 455f88020 -> 0d3bd3e4a


Make host the layout dispatcher to avoid confusion over what to listen
to.


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

Branch: refs/heads/tlf
Commit: 72db1209797a6be0157580ffb702caa938b2ee70
Parents: 3d21906
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
Authored: Tue Jun 27 12:39:14 2017 +0300
Committer: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
Committed: Tue Jun 27 12:39:14 2017 +0300

----------------------------------------------------------------------
 .../org/apache/flex/html/beads/DispatchKeyboardEventBead.as | 3 +--
 .../src/main/flex/org/apache/flex/core/ImageViewBase.as     | 9 +++------
 2 files changed, 4 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72db1209/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DispatchKeyboardEventBead.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DispatchKeyboardEventBead.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DispatchKeyboardEventBead.as
index fe09148..f5f8b8d 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DispatchKeyboardEventBead.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DispatchKeyboardEventBead.as
@@ -39,8 +39,7 @@ package org.apache.flex.html.beads
 	}
 	
 	/**
-	 *  The DispatchKeyboardEventBead class dispatched INPUT_FINISHED on strand
-	 *  when enter is pressed, or when foucus is out.
+	 *  The DispatchKeyboardEventBead class dispatches a KeyboardEvent from a text input.
 	 *  
 	 *  @langversion 3.0
 	 *  @playerversion Flash 10.2

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72db1209/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageViewBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageViewBase.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageViewBase.as
index 1e76c0d..bfe7cf4 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageViewBase.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageViewBase.as
@@ -206,13 +206,10 @@ package org.apache.flex.core
 		}
         
         COMPILE::JS
-        private function loadHandler(event:Object):void
+        protected function loadHandler(event:Object):void
         {
-            var host:IUIBase = IUIBase(_strand);
-			if (host.parent)
-			{
-            	IEventDispatcher(host.parent).dispatchEvent(new Event("layoutNeeded"));
-			}
+            var host:IUIBase = _strand as IUIBase;
+			host.dispatchEvent(new Event("layoutNeeded"));
         }
         
         /**


[2/2] git commit: [flex-asjs] [refs/heads/tlf] - Merge branch 'tlf' of https://git-wip-us.apache.org/repos/asf/flex-asjs into tlf

Posted by yi...@apache.org.
Merge branch 'tlf' of https://git-wip-us.apache.org/repos/asf/flex-asjs into tlf


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

Branch: refs/heads/tlf
Commit: 0d3bd3e4afeff112a79166464f11408f4ed930fd
Parents: 72db120 455f880
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
Authored: Tue Jun 27 12:45:16 2017 +0300
Committer: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
Committed: Tue Jun 27 12:45:16 2017 +0300

----------------------------------------------------------------------
 frameworks/build.xml                            |  10 +
 frameworks/flex-config-template.xml             |   1 +
 frameworks/flex-config.xml                      |   1 +
 frameworks/js/FlexJS/build.xml                  |  50 ++--
 .../src/main/config/compile-swf-config.xml      |   3 +-
 .../Basic/src/main/flex/BasicClasses.as         |   6 +
 .../org/apache/flex/core/ApplicationBase.as     |  13 +-
 .../main/flex/org/apache/flex/core/UIBase.as    |  29 +--
 .../src/main/flex/org/apache/flex/css2/Copy.fxg |  76 ++++++
 .../main/flex/org/apache/flex/css2/Cursors.as   | 253 +++++++++++++++++++
 .../org/apache/flex/html/beads/DisableBead.as   |   2 +
 .../org/apache/flex/collections/ArrayList.as    |  29 +--
 .../apache/flex/collections/FlattenedList.as    |  16 +-
 .../org/apache/flex/core/SimpleCSSValuesImpl.as |  52 ++--
 .../flex/org/apache/flex/events/BrowserEvent.as |  13 +-
 .../main/flex/org/apache/flex/utils/CSSUtils.as |   7 +-
 .../projects/TLF/src/main/flex/TLFClasses.as    |   2 +-
 .../textLayout/container/ContainerController.as |  18 +-
 .../textLayout/conversion/PlainTextImporter.as  |   2 +-
 .../apache/flex/textLayout/dummy/Clipboard.as   |  36 ---
 .../apache/flex/textLayout/edit/Clipboard.as    | 211 ++++++++++++++++
 .../apache/flex/textLayout/edit/EditManager.as  |  20 ++
 .../flex/textLayout/edit/SelectionManager.as    |  28 +-
 .../flex/textLayout/edit/TextClipboard.as       |  41 ++-
 .../flex/textLayout/factory/ITLFFactory.as      |   2 +
 .../textLayout/factory/StandardTLFFactory.as    |   9 +
 manualtests/CursorTest/build.xml                |  73 ++++++
 manualtests/CursorTest/src/CursorTest.mxml      |  71 ++++++
 28 files changed, 924 insertions(+), 150 deletions(-)
----------------------------------------------------------------------