------------------------------------------------------------------------
r7992 | gosmith@adobe.com | 2009-06-19 02:27:01 -0400 (Fri, 19 Jun 2009) | 7 lines
Changed paths:
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/TextFlowUtil.as
Fixed importFromString() and importFromXML() in TextFlowUtil so that non-inheriting formats like paddingLeft are set to "inherit" in the TextFlow so that they get their value from the hostFormat.
QE Notes: None
Doc Notes: None
Bugs: SDK-21907
Reviewer: Carol to review
------------------------------------------------------------------------
r7986 | gosmith@adobe.com | 2009-06-18 19:30:43 -0400 (Thu, 18 Jun 2009) | 9 lines
Changed paths:
M /flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as
M /flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as
M /flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/NumericStepperTextInputSkin.mxml
M /flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/TextAreaSkin.mxml
M /flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/TextInputSkin.mxml
Fixed breakage in wireframe skins due to skin part renaming (textView -> textDisplay).
Also renamed private var textViewClass to richEditableTextClass in Container and CursorManagerImpl so that the old terminology "textView" is banished.
QE Notes: None
Doc Notes: None
Bugs: SDK-21893
Reviewer: Carol to review
------------------------------------------------------------------------
r7985 | cframpto@adobe.com | 2009-06-18 19:28:30 -0400 (Thu, 18 Jun 2009) | 8 lines
Changed paths:
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as
Yet another focus issue with the NumericStepper due to TLF. Clicking the arrows or entering text changes the text while the component already has focus. TCM throws away the existing SelectionManager and its state which is FOCUSED and creates a new one that is in the initial UNFOCUSED state. Force it to FOCUSED by calling the SelectionManager's focusInHandler. This will set it up correctly to lose focus on the focusOut event so that the insertion point is changed to the unfocused one.
QA Notes:
Doc Notes:SDK-21888
Reviewers: Gordon
------------------------------------------------------------------------
r7980 | hmuller@adobe.com | 2009-06-18 17:55:51 -0400 (Thu, 18 Jun 2009) | 7 lines
Changed paths:
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as
Fix default values for delegated Skinnable
QE Notes: Fixes a problem caused by SVN 7929, "Range et al PARB changes, Opus #1"
Doc Notes:
Bugs: sdk-21891, sdk21878
Reviewer: Evtim
------------------------------------------------------------------------
r7979 | aharui@adobe.com | 2009-06-18 17:47:52 -0400 (Thu, 18 Jun 2009) | 15 lines
Changed paths:
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/ButtonBar.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileLayout.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutBase.as
ButtonBar PARB changes:
-arrowKeysWrapFocus removed from ButtonBar
-arrowKeysWrapFocus added to ListBase
-arrowKeysWrapFocus added as parameter to LayoutBase.getNavigationDestinationIndex (and subclasses of LayoutBase)
-itemClick event removed from ButtonBar, now uses "change" event like other ListBase components
-ASDoc removed for partAdded/partRemoved
QE Notes: None
Doc Notes: Yes, ASDoc affected by every change listed above
Bugs: N/A
Reviewer: szeto
tests: checkintests mustella/List mustella/ButtonBar
------------------------------------------------------------------------
r7972 | pfarland@adobe.com | 2009-06-18 16:47:05 -0400 (Thu, 18 Jun 2009) | 7 lines
Changed paths:
M /flex/sdk/trunk/frameworks/tests/flex4/flex4test.mxml
M /flex/sdk/trunk/modules/compiler/src/java/flash/css/FontFaceRule.java
M /flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/FontTranscoder.java
PARB changes to rename the @font-face / [Embed] property cff: to embedAsCFF:
QE: Yes, please update all usages of cff to embedAsCFF.
Doc: Yes, please update any examples of Flex 4 font embedding.
Checkintests: Pass
Reviewer: Darrell
------------------------------------------------------------------------
r7970 | jszeto@adobe.com | 2009-06-18 16:36:00 -0400 (Thu, 18 Jun 2009) | 8 lines
Changed paths:
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/VideoPlayerSkin.mxml
Bug Fix in VideoPlayerSkin
Changed layer to depth
QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Matt F
------------------------------------------------------------------------
r7967 | gosmith@adobe.com | 2009-06-18 15:44:16 -0400 (Thu, 18 Jun 2009) | 37 lines
Changed paths:
M /flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml
M /flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/WindowedApplicationSkin.mxml
M /flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/MacTitleBarSkin.mxml
M /flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/TitleBarSkin.mxml
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableTextBase.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonBarFirstButtonSkin.mxml
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonBarLastButtonSkin.mxml
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonBarMiddleButtonSkin.mxml
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonSkin.mxml
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/CheckBoxSkin.mxml
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/DefaultButtonSkin.mxml
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/RadioButtonSkin.mxml
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ToggleButtonSkin.mxml
A /flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedInheritingTextStyles.as (from /flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedTextLayoutFormatStyles.as:7910)
A /flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedNonInheritingTextStyles.as
D /flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedTextLayoutFormatStyles.as
A /flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicInheritingTextStyles.as (from /flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicTextLayoutFormatStyles.as:7910)
A /flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicNonInheritingTextStyles.as (from /flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/NonInheritingTextLayoutFormatStyles.as:7910)
D /flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicTextLayoutFormatStyles.as
D /flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/NonInheritingTextLayoutFormatStyles.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/TextFlowUtil.as
M /flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as
M /flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProxy.as
M /flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarFirstButtonSkin.mxml
M /flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarLastButtonSkin.mxml
M /flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarMiddleButtonSkin.mxml
M /flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonSkin.mxml
M /flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/CheckBoxSkin.mxml
M /flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultButtonSkin.mxml
M /flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/RadioButtonSkin.mxml
M /flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ToggleButtonSkin.mxml
PARB changes to TextGraphicElement/SimpleText/RichText and to text styles in general.
TextGraphicElement:
The 'truncation' property has been renamed to 'maxDisplayedLines'.
The isTruncated() method has become an 'isTruncated' read-only property.
RichText:
Since a TextFlow object is the fundamental representation for rich test in TLF, the RichText component now has a public textFlow:TextFlow property which you can get or set. To turn TLF markup – in either String or XML form – into a TextFlow, use the static importFromString() and importFromXML() methods in the TextFlowUtil class. These are bindable methods so that if the markup parameter changes they will re-evaluate. To turn the TextFlow back into markup, use TextFLowUtil.export(...) to produce XML.
The 'content' property is now intended only for use by the MXML compiler. It is set-only and only supports being set to what MXML markup produces: a String (which will be treated as the text of an implicit span in an implicit paragraph), a FlowElement, or an Array of Strings and FlowElements.
The 'text', 'textFlow', and 'content' properties are interacting properties. For example, you can set 'textFlow' and then get the 'text', and vice versa. In fact, you can now do this immediately, without waiting for the component to undergo a LayoutManager pass. Of these three properties, the last one set in ActionScript wins; if more than one is set in MXML the results are undefined since MXML does not guarantee the order in which properties are set. Setting any of them to null is equivalent to setting the 'text' to the empty String, which is the initial state of the component.
Styles:
The 'lineBreak' style is now non-inheriting, since in TLF it doesn't inherit from FlowElement to FlowElement.
The text styles are now divided into five buckets:
BasicInheritingTextStyles.as
BasicNonInheritingTextStyles.as
AdvancedInheritingTextStyles.as
AdvancedNonInheritingTextStyles.as
SelectionFormatTextStyles.as
Skinnable components like TextInput and TextArea no longer declare any on the noninheriting text styles, because the RichTextElement in the skin doesn't inherit them. You must set them directly on the RichTextElement in the component's skin, either with ActionScript or by reskinning.
The styleInitialized() method has been added to the IAdvancedStyleClient interface.
QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Carol
------------------------------------------------------------------------
r7954 | hmuller@adobe.com | 2009-06-18 11:43:15 -0400 (Thu, 18 Jun 2009) | 9 lines
Changed paths:
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HScrollBar.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VScrollBar.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as
Range et al PARB changes, Opus #3.
@privatized the mx_internal overrides in HScrollBar. Removed @langversion etc ASDoc boilerplate from mx_internal methods in ScrollBar, H,VScrollBar.
QE Notes: ASDoc change only
Doc Notes:
Bugs:
Reviewer:
------------------------------------------------------------------------
r7953 | chaase@adobe.com | 2009-06-18 11:27:47 -0400 (Thu, 18 Jun 2009) | 8 lines
Changed paths:
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Fade.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as
Small PARB effects change (oversight, should have been in Monday's commit). This removes the Fade.affectVisibility property. We used to automatically side-effect the 'visible' property on target objects when they were faded out or in, and exposed the affectVisibility flag to allow the developer to deny this side-effect. PARB requested that we just have that behavior but not allow the developer to tweak it. Now, an object that is not visible will be set to visible if Fade fades it in (when manually played - transitions are a different situation). We do not, however, set the visible flag to false automatically when fading it out, because that seems just wrong.
QE Notes: Should have no impact - this flag was new, and we knew when it went in that we were probably removing it soon. No tests exist for it.
Doc Notes:
Bugs:
Reviewer: Hans
Tests: checkintests
------------------------------------------------------------------------
r7952 | cframpto@adobe.com | 2009-06-18 05:57:23 -0400 (Thu, 18 Jun 2009) | 40 lines
Changed paths:
M /flex/sdk/trunk/frameworks/projects/flex4/defaults.css
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextInput.as
A /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextSelectionHighlighting.as (from /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextSelectionVisibility.as:7834)
D /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextSelectionVisibility.as
A /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableTextBase.as (from /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as:7834)
D /flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/RichEditableTextContainerManager.as
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/NumericStepperTextInputSkin.mxml
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/TextAreaSkin.mxml
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/TextInputSkin.mxml
M /flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/SelectionFormatTextStyles.as
M /flex/sdk/trunk/frameworks/projects/framework/defaults.css
M /flex/sdk/trunk/frameworks/spark-manifest.xml
PARB changes for RichEditableText, TextArea and TextInput
RichEditableText, TextArea
--------------------------
content:Object setter only for use by MXML compiler
textFlow:TextFlow getter/setter added
scrollToPosition -> scrollToRange()
getSelectionFormat() -> getFormatOfRange(requestedFormats:Vector.<String> = null, anchorPosition=-1, activePosition=-1):TextLayoutFormat
If either position is -1, the current selection will be used.
setSelectionFormat() -> setFormatOfRange(format:TextLayoutFormat, anchorPosition=-1, activePosition=-1):void
If either position is -1, the current selection will be used.
export() removed
RichEditableText, TextBase
--------------------------
autoSize removed
widthInChars defaults to NaN
heightInLines defaults to NaN
If both are NaN, and not in scroller, it will autoSize.
If both are NaN, and in scroller, widthInChars effectively 15, heightInLines effectively 10.
If widthInChars is NaN and heightInLines is not, widthInChars effectively 1.
If heightInLines is NaN and widthInChars is not, heightInLines effectively 1.
selectionVisibility:String -> selectionHighlighting:String
TextSelectionVisibiliy.as -> TextSelectionHightlighting.as
setSelection -> selectRange(anchor, active) and the args are no longer optional
selectAll() added
TextBase
--------
TextBase.as -> SkinnableTextBase.as
it will not support any non-inheriting styles
textView skin part -> textDisplay
widthInChars property removed and moved to TextInput and TextArea
Styles
-------
Renamed style selectionColor -> focusedTextSelectionColor
Renamed style unfocusedSelectionColor -> unfocusedTextSelectionColor
Renamed inactiveSelectionColor -> inactiveTextSelectionColor
------------------------------------------------------------------------