You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ha...@apache.org on 2017/03/16 13:38:02 UTC
[42/42] flex-asjs git commit: And here’s TLF…
And here\u2019s TLF\u2026
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/fd08d137
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/fd08d137
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/fd08d137
Branch: refs/heads/tlf
Commit: fd08d137f21e3684dc1824ff8c36abbd109670b1
Parents: a77bfe4
Author: Harbs <ha...@in-tools.com>
Authored: Thu Mar 16 15:37:11 2017 +0200
Committer: Harbs <ha...@in-tools.com>
Committed: Thu Mar 16 15:37:11 2017 +0200
----------------------------------------------------------------------
frameworks/js/FlexJS/projects/TLFJS/build.xml | 176 +
.../TLFJS/src/main/config/compile-js-config.xml | 98 +
frameworks/js/FlexJS/projects/TextJS/build.xml | 8 +-
.../projects/Core/src/main/flex/CoreClasses.as | 2 +-
frameworks/projects/TLF/.vscode/tasks.json | 11 +
frameworks/projects/TLF/asconfig.json | 33 +
frameworks/projects/TLF/build.xml | 172 +
frameworks/projects/TLF/build_old.xml | 186 +
frameworks/projects/TLF/compile-config.xml | 77 +
.../TLF/src/main/config/compile-as-config.xml | 90 +
.../projects/TLF/src/main/flex/TLFClasses.as | 170 +
.../apache/flex/textLayout/ConversionClasses.as | 34 +
.../org/apache/flex/textLayout/CoreClasses.as | 174 +
.../org/apache/flex/textLayout/EditClasses.as | 69 +
.../apache/flex/textLayout/TextLayoutVersion.as | 135 +
.../textLayout/accessibility/TextAccImpl.as | 426 ++
.../flex/textLayout/compose/BaseCompose.as | 2922 ++++++++++
.../flex/textLayout/compose/ComposeState.as | 466 ++
.../flex/textLayout/compose/FactoryComposer.as | 84 +
.../textLayout/compose/FloatCompositionData.as | 58 +
.../flex/textLayout/compose/FlowComposerBase.as | 685 +++
.../flex/textLayout/compose/FlowDamageType.as | 60 +
.../flex/textLayout/compose/IComposeState.as | 26 +
.../apache/flex/textLayout/compose/IComposer.as | 42 +
.../flex/textLayout/compose/IFactoryComposer.as | 28 +
.../flex/textLayout/compose/IFlowComposer.as | 521 ++
.../flex/textLayout/compose/ISWFContext.as | 76 +
.../flex/textLayout/compose/ISimpleCompose.as | 36 +
.../flex/textLayout/compose/ITextFlowLine.as | 104 +
.../textLayout/compose/ITextFlowTableBlock.as | 46 +
.../compose/IVerticalJustificationLine.as | 95 +
.../apache/flex/textLayout/compose/Parcel.as | 376 ++
.../flex/textLayout/compose/ParcelList.as | 438 ++
.../flex/textLayout/compose/SWFContext.as | 85 +
.../flex/textLayout/compose/SimpleCompose.as | 442 ++
.../org/apache/flex/textLayout/compose/Slug.as | 32 +
.../textLayout/compose/StandardFlowComposer.as | 879 +++
.../textLayout/compose/TCMFactoryComposer.as | 47 +
.../flex/textLayout/compose/TextFlowLine.as | 2552 +++++++++
.../textLayout/compose/TextFlowLineLocation.as | 71 +
.../textLayout/compose/TextFlowTableBlock.as | 266 +
.../flex/textLayout/compose/TextLineRecycler.as | 129 +
.../textLayout/compose/VerticalJustifier.as | 351 ++
.../textLayout/compose/utils/AdornmentUtils.as | 685 +++
.../textLayout/compose/utils/ContextUtil.as | 31 +
.../textLayout/compose/utils/FactoryHelper.as | 36 +
.../compose/utils/NumberLineUserData.as | 42 +
.../textLayout/compose/utils/NumberlineUtil.as | 160 +
.../textLayout/compose/utils/StandardHelper.as | 35 +
.../textLayout/compose/utils/TextLineUtil.as | 172 +
.../flex/textLayout/container/ColumnState.as | 427 ++
.../textLayout/container/ContainerController.as | 5222 ++++++++++++++++++
.../flex/textLayout/container/ContainerUtil.as | 30 +
.../container/IContainerController.as | 122 +
.../textLayout/container/ISandboxSupport.as | 72 +
.../container/ITextContainerManager.as | 25 +
.../flex/textLayout/container/ScrollPolicy.as | 84 +
.../container/TMContainerController.as | 147 +
.../container/TextContainerManager.as | 2578 +++++++++
.../conversion/BaseTextLayoutExporter.as | 536 ++
.../conversion/BaseTextLayoutImporter.as | 717 +++
.../conversion/ConversionConstants.as | 45 +
.../textLayout/conversion/ConversionType.as | 51 +
.../flex/textLayout/conversion/ConverterBase.as | 108 +
.../conversion/CustomFormatImporter.as | 45 +
.../textLayout/conversion/FlowElementInfo.as | 66 +
.../textLayout/conversion/FormatDescriptor.as | 90 +
.../textLayout/conversion/IFormatImporter.as | 29 +
.../flex/textLayout/conversion/IHTMLImporter.as | 73 +
.../textLayout/conversion/IPlainTextExporter.as | 57 +
.../flex/textLayout/conversion/ITextExporter.as | 102 +
.../flex/textLayout/conversion/ITextImporter.as | 108 +
.../conversion/ITextLayoutImporter.as | 48 +
.../conversion/ImportExportConfiguration.as | 125 +
.../textLayout/conversion/PlainTextExporter.as | 142 +
.../textLayout/conversion/PlainTextImporter.as | 116 +
.../conversion/SingletonAttributeImporter.as | 46 +
.../textLayout/conversion/TLFormatImporter.as | 65 +
.../flex/textLayout/conversion/TextConverter.as | 649 +++
.../conversion/TextFieldHtmlExporter.as | 580 ++
.../conversion/TextFieldHtmlImporter.as | 1231 +++++
.../textLayout/conversion/TextLayoutExporter.as | 297 +
.../textLayout/conversion/TextLayoutImporter.as | 674 +++
.../CaseInsensitiveTLFFormatImporter.as | 54 +
.../conversion/importers/FontImporter.as | 38 +
.../importers/HtmlCustomParaFormatImporter.as | 35 +
.../conversion/importers/TextFormatImporter.as | 46 +
.../apache/flex/textLayout/dummy/BitmapData.as | 31 +
.../apache/flex/textLayout/dummy/BoundsUtil.as | 29 +
.../apache/flex/textLayout/dummy/Clipboard.as | 36 +
.../flex/textLayout/dummy/ColorTransform.as | 22 +
.../apache/flex/textLayout/dummy/ContextMenu.as | 28 +
.../textLayout/dummy/ContextMenuBuiltInItems.as | 31 +
.../dummy/ContextMenuClipboardItems.as | 28 +
.../flex/textLayout/dummy/IBitmapDrawable.as | 22 +
.../org/apache/flex/textLayout/dummy/Mouse.as | 29 +
.../apache/flex/textLayout/dummy/MouseCursor.as | 28 +
.../flex/textLayout/dummy/MouseCursorData.as | 26 +
.../flex/textLayout/edit/ClipboardFormats.as | 23 +
.../apache/flex/textLayout/edit/EditManager.as | 2050 +++++++
.../apache/flex/textLayout/edit/EditingMode.as | 60 +
.../apache/flex/textLayout/edit/ElementMark.as | 86 +
.../apache/flex/textLayout/edit/ElementRange.as | 426 ++
.../apache/flex/textLayout/edit/IEditManager.as | 778 +++
.../textLayout/edit/IInteractionEventHandler.as | 220 +
.../apache/flex/textLayout/edit/IMEClient.as | 434 ++
.../org/apache/flex/textLayout/edit/IMemento.as | 34 +
.../flex/textLayout/edit/ISelectionManager.as | 515 ++
.../org/apache/flex/textLayout/edit/Mark.as | 38 +
.../apache/flex/textLayout/edit/MementoList.as | 78 +
.../apache/flex/textLayout/edit/ModelEdit.as | 159 +
.../org/apache/flex/textLayout/edit/ParaEdit.as | 673 +++
.../apache/flex/textLayout/edit/PointFormat.as | 148 +
.../flex/textLayout/edit/SelectionFormat.as | 207 +
.../textLayout/edit/SelectionFormatState.as | 38 +
.../flex/textLayout/edit/SelectionManager.as | 3045 ++++++++++
.../flex/textLayout/edit/SelectionState.as | 147 +
.../flex/textLayout/edit/SelectionType.as | 27 +
.../flex/textLayout/edit/TextClipboard.as | 328 ++
.../apache/flex/textLayout/edit/TextFlowEdit.as | 1223 ++++
.../apache/flex/textLayout/edit/TextScrap.as | 187 +
.../edit/mementos/AddElementMemento.as | 71 +
.../textLayout/edit/mementos/BaseMemento.as | 50 +
.../edit/mementos/DeleteTextMemento.as | 126 +
.../edit/mementos/InternalSplitFGEMemento.as | 131 +
.../textLayout/edit/mementos/JoinMemento.as | 91 +
.../edit/mementos/MoveElementMemento.as | 77 +
.../edit/mementos/RemoveElementsMemento.as | 75 +
.../textLayout/edit/mementos/SplitMemento.as | 126 +
.../edit/mementos/TextRangeMemento.as | 30 +
.../textLayout/elements/BackgroundManager.as | 378 ++
.../flex/textLayout/elements/BreakElement.as | 66 +
.../flex/textLayout/elements/CellContainer.as | 57 +
.../flex/textLayout/elements/CellCoordinates.as | 89 +
.../flex/textLayout/elements/CellRange.as | 150 +
.../flex/textLayout/elements/ConfigSettings.as | 25 +
.../flex/textLayout/elements/Configuration.as | 623 +++
.../textLayout/elements/ConfigurationHelper.as | 31 +
.../elements/ContainerFormattedElement.as | 90 +
.../flex/textLayout/elements/DivElement.as | 49 +
.../textLayout/elements/ElementConstants.as | 27 +
.../flex/textLayout/elements/ElementHelper.as | 136 +
.../flex/textLayout/elements/FlowElement.as | 1454 +++++
.../textLayout/elements/FlowGroupElement.as | 1111 ++++
.../flex/textLayout/elements/FlowGroupHelper.as | 103 +
.../flex/textLayout/elements/FlowLeafElement.as | 441 ++
.../flex/textLayout/elements/FlowValueHolder.as | 71 +
.../flex/textLayout/elements/GlobalSettings.as | 245 +
.../textLayout/elements/IBackgroundManager.as | 54 +
.../flex/textLayout/elements/IBreakElement.as | 24 +
.../flex/textLayout/elements/IConfiguration.as | 364 ++
.../elements/IContainerFormattedElement.as | 31 +
.../flex/textLayout/elements/IDivElement.as | 24 +
.../elements/IExplicitFormatResolver.as | 45 +
.../flex/textLayout/elements/IFlowElement.as | 109 +
.../textLayout/elements/IFlowGroupElement.as | 52 +
.../textLayout/elements/IFlowLeafElement.as | 37 +
.../flex/textLayout/elements/IFormatResolver.as | 86 +
.../elements/IInlineGraphicElement.as | 44 +
.../flex/textLayout/elements/ILinkElement.as | 69 +
.../flex/textLayout/elements/IListElement.as | 28 +
.../textLayout/elements/IListItemElement.as | 28 +
.../textLayout/elements/IParagraphElement.as | 51 +
.../elements/IParagraphFormattedElement.as | 22 +
.../flex/textLayout/elements/ISpanElement.as | 29 +
.../elements/ISpecialCharacterElement.as | 24 +
.../elements/ISubParagraphGroupElement.as | 24 +
.../elements/ISubParagraphGroupElementBase.as | 29 +
.../flex/textLayout/elements/ITCYElement.as | 27 +
.../textLayout/elements/ITableCellElement.as | 43 +
.../textLayout/elements/ITableColElement.as | 29 +
.../flex/textLayout/elements/ITableColSetter.as | 25 +
.../flex/textLayout/elements/ITableElement.as | 52 +
.../elements/ITableFormattedElement.as | 25 +
.../textLayout/elements/ITableLeafElement.as | 24 +
.../textLayout/elements/ITableRowElement.as | 43 +
.../flex/textLayout/elements/ITextFlow.as | 74 +
.../textLayout/elements/InlineGraphicElement.as | 1165 ++++
.../elements/InlineGraphicElementStatus.as | 78 +
.../flex/textLayout/elements/LeadingUtils.as | 72 +
.../flex/textLayout/elements/LinkElement.as | 611 ++
.../flex/textLayout/elements/LinkState.as | 69 +
.../flex/textLayout/elements/ListElement.as | 645 +++
.../flex/textLayout/elements/ListItemElement.as | 275 +
.../flex/textLayout/elements/OverflowPolicy.as | 63 +
.../textLayout/elements/ParagraphElement.as | 1358 +++++
.../elements/ParagraphFormattedElement.as | 49 +
.../flex/textLayout/elements/SpanElement.as | 608 ++
.../elements/SpecialCharacterElement.as | 96 +
.../elements/SubParagraphGroupElement.as | 95 +
.../elements/SubParagraphGroupElementBase.as | 387 ++
.../flex/textLayout/elements/TCYElement.as | 141 +
.../flex/textLayout/elements/TabElement.as | 69 +
.../textLayout/elements/TableBlockContainer.as | 50 +
.../textLayout/elements/TableBodyElement.as | 63 +
.../textLayout/elements/TableCellElement.as | 457 ++
.../flex/textLayout/elements/TableColElement.as | 116 +
.../textLayout/elements/TableColGroupElement.as | 63 +
.../textLayout/elements/TableDataCellElement.as | 126 +
.../flex/textLayout/elements/TableElement.as | 1582 ++++++
.../elements/TableFormattedElement.as | 59 +
.../textLayout/elements/TableLeafElement.as | 139 +
.../flex/textLayout/elements/TableRowElement.as | 224 +
.../apache/flex/textLayout/elements/TextFlow.as | 1247 +++++
.../flex/textLayout/elements/TextRange.as | 171 +
.../elements/utils/BackgroundHelper.as | 26 +
.../elements/utils/GeometricElementUtils.as | 287 +
.../elements/utils/ParagraphHelper.as | 30 +
.../flex/textLayout/events/ActivateEvent.as | 26 +
.../events/CompositionCompleteEvent.as | 126 +
.../flex/textLayout/events/ContextMenuEvent.as | 31 +
.../flex/textLayout/events/DamageEvent.as | 93 +
.../apache/flex/textLayout/events/EditEvent.as | 26 +
.../events/FlowElementEventDispatcher.as | 93 +
.../textLayout/events/FlowElementMouseEvent.as | 216 +
.../events/FlowElementMouseEventManager.as | 732 +++
.../textLayout/events/FlowOperationEvent.as | 168 +
.../apache/flex/textLayout/events/FocusEvent.as | 28 +
.../flex/textLayout/events/ModelChange.as | 38 +
.../flex/textLayout/events/ScrollEvent.as | 124 +
.../textLayout/events/ScrollEventDirection.as | 59 +
.../flex/textLayout/events/SelectionEvent.as | 107 +
.../flex/textLayout/events/StatusChangeEvent.as | 124 +
.../flex/textLayout/events/TextLayoutEvent.as | 72 +
.../textLayout/events/UpdateCompleteEvent.as | 106 +
.../textLayout/factory/INumberLineFactory.as | 39 +
.../factory/IStringTextLineFactory.as | 24 +
.../flex/textLayout/factory/ITLFFactory.as | 30 +
.../flex/textLayout/factory/ITextLineFactory.as | 24 +
.../textLayout/factory/NumberLineFactory.as | 138 +
.../textLayout/factory/StandardTLFFactory.as | 48 +
.../textLayout/factory/StringTextLineFactory.as | 469 ++
.../factory/TCMTextFlowTextLineFactory.as | 50 +
.../flex/textLayout/factory/TLFFactory.as | 10 +
.../factory/TextFlowTextLineFactory.as | 285 +
.../textLayout/factory/TextLineFactoryBase.as | 437 ++
.../textLayout/factory/TruncationOptions.as | 154 +
.../flex/textLayout/formats/BackgroundColor.as | 41 +
.../flex/textLayout/formats/BaselineOffset.as | 68 +
.../flex/textLayout/formats/BaselineShift.as | 53 +
.../flex/textLayout/formats/BlockProgression.as | 58 +
.../flex/textLayout/formats/BorderColor.as | 41 +
.../flex/textLayout/formats/BorderStyle.as | 88 +
.../flex/textLayout/formats/BreakStyle.as | 47 +
.../apache/flex/textLayout/formats/Category.as | 42 +
.../flex/textLayout/formats/ClearFloats.as | 89 +
.../apache/flex/textLayout/formats/ColorName.as | 58 +
.../apache/flex/textLayout/formats/Direction.as | 51 +
.../org/apache/flex/textLayout/formats/Float.as | 47 +
.../flex/textLayout/formats/FormatValue.as | 64 +
.../textLayout/formats/IListMarkerFormat.as | 43 +
.../apache/flex/textLayout/formats/IMEStatus.as | 103 +
.../flex/textLayout/formats/ITabStopFormat.as | 87 +
.../textLayout/formats/ITextLayoutFormat.as | 1388 +++++
.../textLayout/formats/JustificationRule.as | 60 +
.../flex/textLayout/formats/LeadingModel.as | 152 +
.../apache/flex/textLayout/formats/LineBreak.as | 49 +
.../flex/textLayout/formats/ListMarkerFormat.as | 370 ++
.../textLayout/formats/ListStylePosition.as | 50 +
.../flex/textLayout/formats/ListStyleType.as | 314 ++
.../apache/flex/textLayout/formats/Suffix.as | 51 +
.../textLayout/formats/TLFTypographicCase.as | 79 +
.../flex/textLayout/formats/TabStopFormat.as | 397 ++
.../flex/textLayout/formats/TableFrame.as | 113 +
.../flex/textLayout/formats/TableRules.as | 77 +
.../apache/flex/textLayout/formats/TextAlign.as | 91 +
.../flex/textLayout/formats/TextDecoration.as | 53 +
.../flex/textLayout/formats/TextJustify.as | 55 +
.../flex/textLayout/formats/TextLayoutFormat.as | 3791 +++++++++++++
.../textLayout/formats/TextLayoutFormatBase.as | 2260 ++++++++
.../flex/textLayout/formats/VerticalAlign.as | 68 +
.../textLayout/formats/WhiteSpaceCollapse.as | 51 +
.../operations/ApplyElementIDOperation.as | 103 +
.../ApplyElementStyleNameOperation.as | 98 +
.../operations/ApplyElementTypeNameOperation.as | 101 +
.../ApplyElementUserStyleOperation.as | 118 +
.../operations/ApplyFormatOperation.as | 249 +
.../operations/ApplyFormatToElementOperation.as | 115 +
.../textLayout/operations/ApplyLinkOperation.as | 206 +
.../textLayout/operations/ApplyTCYOperation.as | 190 +
.../operations/ClearFormatOnElementOperation.as | 123 +
.../operations/ClearFormatOperation.as | 237 +
.../textLayout/operations/CompositeOperation.as | 221 +
.../flex/textLayout/operations/CopyOperation.as | 86 +
.../textLayout/operations/CreateDivOperation.as | 263 +
.../operations/CreateListOperation.as | 288 +
.../CreateSubParagraphGroupOperation.as | 271 +
.../flex/textLayout/operations/CutOperation.as | 98 +
.../operations/DeleteTextOperation.as | 159 +
.../operations/FlowElementOperation.as | 236 +
.../flex/textLayout/operations/FlowOperation.as | 241 +
.../textLayout/operations/FlowTextOperation.as | 122 +
.../operations/InsertInlineGraphicOperation.as | 232 +
.../operations/InsertTableElementOperation.as | 134 +
.../operations/InsertTextOperation.as | 299 +
.../operations/ModifyInlineGraphicOperation.as | 166 +
.../operations/MoveChildrenOperation.as | 199 +
.../textLayout/operations/PasteOperation.as | 196 +
.../flex/textLayout/operations/RedoOperation.as | 70 +
.../operations/SplitElementOperation.as | 191 +
.../operations/SplitParagraphOperation.as | 73 +
.../flex/textLayout/operations/UndoOperation.as | 71 +
.../flex/textLayout/property/ArrayProperty.as | 201 +
.../property/BooleanPropertyHandler.as | 43 +
.../property/CounterContentHandler.as | 214 +
.../textLayout/property/CounterPropHandler.as | 65 +
.../textLayout/property/EnumPropertyHandler.as | 49 +
.../property/FormatPropertyHandler.as | 45 +
.../textLayout/property/IntPropertyHandler.as | 76 +
.../property/NumberPropertyHandler.as | 81 +
.../property/PercentPropertyHandler.as | 72 +
.../flex/textLayout/property/PropConst.as | 24 +
.../apache/flex/textLayout/property/Property.as | 181 +
.../flex/textLayout/property/PropertyFactory.as | 133 +
.../flex/textLayout/property/PropertyHandler.as | 63 +
.../flex/textLayout/property/PropertyUtil.as | 177 +
.../property/SpacingLimitPropertyHandler.as | 137 +
.../property/StringPropertyHandler.as | 35 +
.../textLayout/property/TabStopsProperty.as | 202 +
.../textLayout/property/UintPropertyHandler.as | 75 +
.../property/UndefinedPropertyHandler.as | 44 +
.../org/apache/flex/textLayout/tlf_internal.as | 34 +
.../flex/textLayout/utils/BackgroundUtil.as | 262 +
.../flex/textLayout/utils/CharacterUtil.as | 167 +
.../flex/textLayout/utils/ComposeUtils.as | 48 +
.../apache/flex/textLayout/utils/ConfigUtils.as | 24 +
.../flex/textLayout/utils/CreateTLFUtil.as | 197 +
.../apache/flex/textLayout/utils/FactoryUtil.as | 46 +
.../flex/textLayout/utils/GeometryUtil.as | 128 +
.../apache/flex/textLayout/utils/HitTestArea.as | 287 +
.../apache/flex/textLayout/utils/LocaleUtil.as | 211 +
.../flex/textLayout/utils/NavigationUtil.as | 1232 +++++
.../flex/textLayout/utils/NumberFactoryUtil.as | 30 +
.../org/apache/flex/textLayout/utils/Twips.as | 76 +
.../src/main/resources/basic-as-manifest.xml | 24 +
.../TLF/src/main/resources/basic-manifest.xml | 24 +
.../TLF/src/main/resources/defaults.css | 21 +
frameworks/projects/Text/build.xml | 1 -
338 files changed, 82118 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd08d137/frameworks/js/FlexJS/projects/TLFJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/TLFJS/build.xml b/frameworks/js/FlexJS/projects/TLFJS/build.xml
new file mode 100644
index 0000000..fe24115
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/TLFJS/build.xml
@@ -0,0 +1,176 @@
+<?xml version="1.0"?>
+<!--
+
+ 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.
+
+-->
+
+
+<project name="TLFJS" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+
+ <property name="dbg" value="false"/>
+ <property name="rel" value="true"/>
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+ <echo file="${basedir}/${target.name}.properties">target.name.nojs=${ant.project.name}</echo>
+ <replaceregexp file="${basedir}/${target.name}.properties" match="(.*)JS$" replace="\1" flags="m" />
+ <property file="${basedir}/${target.name}.properties"/>
+ <delete file="${basedir}/${target.name}.properties"/>
+
+ <target name="main" depends="clean,check-compiler,compile-js-swc,compile-asjs" description="Full build of ${ant.project.name}.swc">
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+ <include name="${target.name}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false" includeemptydirs="true">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="compile-asjs" depends="check-compiler">
+ <echo message="Cross-compiling ${target.name}"/>
+ <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+ <jvmarg value="-Xmx384m" />
+ <jvmarg value="-Dsun.io.useCanonCaches=false" />
+ <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+ <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+ <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+ <arg value="-js-output-type=FLEXJS" />
+ <arg value="-compiler.strict-xml=true" />
+ <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+ <!--<arg value="-output=${basedir}/../../../../projects/${target.name.nojs}/target/${target.name.nojs}.swc" />-->
+ <arg value="-output=${FLEX_HOME}/frameworks/projects/${target.name.nojs}/target/${target.name.nojs}.swc" />
+ <arg value="-load-config=${FLEX_HOME}/frameworks/js-config.xml" />
+ <arg value="-load-config+=${basedir}/src/main/config/compile-js-config.xml" />
+ </java>
+ </target>
+
+ <target name="compile-js-swc" description="Compiles .as files into .swc used for cross-compiling other projects">
+ <echo message="Compiling target/${target.name}"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"/>
+ <mkdir dir="${basedir}/target"/>
+
+ <compc fork="true"
+ output="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <arg value="-compiler.strict-xml=true" />
+ <define name="CONFIG::debug" value="${dbg}"/>
+ <define name="CONFIG::release" value="${rel}"/>
+ <load-config filename="${FLEX_HOME}/frameworks/js-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
+ </compc>
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/js/FlexJS/libs/${target.name}" />
+ </target>
+
+ <target name="copy-js" >
+ <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources"/>
+ <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/generated-sources">
+ <fileset dir="${basedir}/target/generated-sources/flexjs">
+ <include name="**/**" />
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="check-compiler" depends="check-falcon-home, check-falconjx-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <condition property="FALCON_HOME" value="${env.FALCON_HOME}">
+ <and>
+ <not>
+ <isset property="FALCON_HOME" />
+ </not>
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="FALCON_HOME" value="${FLEXJS_HOME}/../flex-falcon/compiler">
+ <and>
+ <not>
+ <isset property="FALCON_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="FALCON_HOME" value="${FLEXJS_HOME}">
+ <and>
+ <not>
+ <isset property="FALCON_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/lib/falcon-mxmlc.jar" type="file" />
+ </and>
+ </condition>
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+ <target name="check-falconjx-home" unless="FALCONJX_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+ <condition property="FALCONJX_HOME" value="${env.FALCONJX_HOME}">
+ <and>
+ <not>
+ <isset property="FALCONJX_HOME" />
+ </not>
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="FALCONJX_HOME" value="${FLEXJS_HOME}/js">
+ <and>
+ <not>
+ <isset property="FALCONJX_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/js/lib/jsc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="FALCONJX_HOME" value="${FLEXJS_HOME}/../flex-falcon/compiler-jx">
+ <and>
+ <not>
+ <isset property="FALCONJX_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar" type="file" />
+ </and>
+ </condition>
+ <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in flex-falcon repo or the js folder of a FlexJS SDK"
+ unless="FALCONJX_HOME"/>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd08d137/frameworks/js/FlexJS/projects/TLFJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/TLFJS/src/main/config/compile-js-config.xml b/frameworks/js/FlexJS/projects/TLFJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..c74e940
--- /dev/null
+++ b/frameworks/js/FlexJS/projects/TLFJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,98 @@
+<!--
+
+ 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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path append="true">
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <define>
+ <name>COMPILE::SWF</name>
+ <value>false</value>
+ </define>
+ <define>
+ <name>COMPILE::JS</name>
+ <value>true</value>
+ </define>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <!-- overwrite the default library-path setting -->
+ <library-path>
+ <path-element>../../../../../../../../js/libs/GCL.swc</path-element>
+ <!--<path-element>../../../../../../libs/GCL.swc</path-element>-->
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../libs/CoreJS.swc</path-element>
+ <path-element>../../../../../libs/GraphicsJS.swc</path-element>
+ <path-element>../../../../../libs/HTMLJS.swc</path-element>
+ <path-element>../../../../../libs/NetworkJS.swc</path-element>
+ <path-element>../../../../../libs/ReflectionJS.swc</path-element>
+ <path-element>../../../../../libs/TextJS.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../../../../../../../projects/TLF/src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <!--<path-element>../../../../../../../projects/Text/src/main/flex</path-element>-->
+ <path-element>../../../../../../../projects/TLF/src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>TLFClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd08d137/frameworks/js/FlexJS/projects/TextJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/TextJS/build.xml b/frameworks/js/FlexJS/projects/TextJS/build.xml
index b5c52e1..d3e7347 100644
--- a/frameworks/js/FlexJS/projects/TextJS/build.xml
+++ b/frameworks/js/FlexJS/projects/TextJS/build.xml
@@ -20,8 +20,8 @@
<project name="TextJS" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="/FlexSDK/FlexJSNightly"/>
- <!--<property name="FLEXJS_HOME" location="../../../../.."/>-->
+ <!--<property name="FLEXJS_HOME" location="/FlexSDK/FlexJSNightly"/>-->
+ <property name="FLEXJS_HOME" location="../../../../.."/>
<property file="${FLEXJS_HOME}/env.properties"/>
<property environment="env"/>
@@ -63,8 +63,8 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
- <arg value="-output=${basedir}/../../../../projects/${target.name.nojs}/target/${target.name.nojs}.swc" />
- <!--<arg value="-output=${FLEX_HOME}/frameworks/projects/${target.name.nojs}/target/${target.name.nojs}.swc" />-->
+ <!--<arg value="-output=${basedir}/../../../../projects/${target.name.nojs}/target/${target.name.nojs}.swc" />-->
+ <arg value="-output=${FLEX_HOME}/frameworks/projects/${target.name.nojs}/target/${target.name.nojs}.swc" />
<arg value="-load-config=${FLEX_HOME}/frameworks/js-config.xml" />
<arg value="-load-config+=${basedir}/src/main/config/compile-js-config.xml" />
</java>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd08d137/frameworks/projects/Core/src/main/flex/CoreClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/CoreClasses.as b/frameworks/projects/Core/src/main/flex/CoreClasses.as
index 6233503..317c617 100644
--- a/frameworks/projects/Core/src/main/flex/CoreClasses.as
+++ b/frameworks/projects/Core/src/main/flex/CoreClasses.as
@@ -169,7 +169,7 @@ internal class CoreClasses
import org.apache.flex.utils.StringPadder; StringPadder;
import org.apache.flex.utils.StringTrimmer; StringTrimmer;
import org.apache.flex.utils.StringUtil; StringUtil;
- // import org.apache.flex.utils.ObjectMap; ObjectMap;
+ import org.apache.flex.utils.ObjectMap; ObjectMap;
import org.apache.flex.utils.ObjectUtil; ObjectUtil;
import org.apache.flex.utils.Timer; Timer;
import org.apache.flex.utils.UIDUtil; UIDUtil;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd08d137/frameworks/projects/TLF/.vscode/tasks.json
----------------------------------------------------------------------
diff --git a/frameworks/projects/TLF/.vscode/tasks.json b/frameworks/projects/TLF/.vscode/tasks.json
new file mode 100644
index 0000000..d931ad0
--- /dev/null
+++ b/frameworks/projects/TLF/.vscode/tasks.json
@@ -0,0 +1,11 @@
+{
+ // See https://go.microsoft.com/fwlink/?LinkId=733558
+ // for the documentation about the tasks.json format
+ "version": "0.1.0",
+ "command": "asconfigc",
+ "isShellCommand": true,
+ "args": [
+ "--flexHome=/FlexSDK/FlexJSNightly"
+ ],
+ "showOutput": "always"
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd08d137/frameworks/projects/TLF/asconfig.json
----------------------------------------------------------------------
diff --git a/frameworks/projects/TLF/asconfig.json b/frameworks/projects/TLF/asconfig.json
new file mode 100644
index 0000000..73282fa
--- /dev/null
+++ b/frameworks/projects/TLF/asconfig.json
@@ -0,0 +1,33 @@
+{
+ "config": "flex",
+ "type": "app",
+ "compilerOptions": {
+ "debug": false,
+ "js-output-type": "flexjs",
+ "library-path": [
+ "libs"
+ ],
+ "define": [
+ {
+ "name": "COMPILE::SWF",
+ "value": true
+ },
+ {
+ "name": "COMPILE::JS",
+ "value": false
+ },
+ {
+ "name": "CONFIG::release",
+ "value":true
+ },
+ {
+ "name": "CONFIG::debug",
+ "value":false
+ }
+ ]
+ },
+ "files":
+ [
+ "src/TLFClasses.as"
+ ]
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd08d137/frameworks/projects/TLF/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/TLF/build.xml b/frameworks/projects/TLF/build.xml
new file mode 100644
index 0000000..2e66bcd
--- /dev/null
+++ b/frameworks/projects/TLF/build.xml
@@ -0,0 +1,172 @@
+<?xml version="1.0"?>
+<!--
+
+ 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.
+
+-->
+
+
+<project name="TLF" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../.."/>
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+ <property name="dbg" value="false"/>
+ <property name="rel" value="true"/>
+
+ <target name="main" depends="clean,check-compiler,compile,compile-js,copy-swc,test" description="Full build of ${ant.project.name}.swc">
+ </target>
+
+ <target name="compile-js">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
+ <!--<ant dir="../../js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />-->
+ </target>
+
+ <target name="copy-swc">
+ <copy file="${basedir}/target/${target.name}" tofile="${FLEXJS_HOME}/frameworks/libs/${target.name}" />
+ </target>
+
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
+ </target>
+
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/libs">
+ <include name="${target.name}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false" includeemptydirs="true">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ <antcall target="clean-tests" />
+ </target>
+
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
+ </target>
+
+ <target name="compile" description="Compiles .as files into .swc">
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+
+ <compc fork="true"
+ output="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-define=COMPILE::SWF,true" />
+ <arg value="-define=COMPILE::JS,false" />
+ <define name="CONFIG::debug" value="${dbg}"/>
+ <define name="CONFIG::release" value="${rel}"/>
+ </compc>
+ </target>
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+ <condition property="FALCON_HOME" value="${env.FALCON_HOME}">
+ <and>
+ <not>
+ <isset property="FALCON_HOME" />
+ </not>
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="FALCON_HOME" value="${FLEXJS_HOME}/../flex-falcon/compiler">
+ <and>
+ <not>
+ <isset property="FALCON_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="FALCON_HOME" value="${FLEXJS_HOME}">
+ <and>
+ <not>
+ <isset property="FALCON_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/lib/falcon-mxmlc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="FALCONJX_HOME" value="${env.FALCONJX_HOME}">
+ <and>
+ <not>
+ <isset property="FALCONJX_HOME" />
+ </not>
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="FALCONJX_HOME" value="${FLEXJS_HOME}/js">
+ <and>
+ <not>
+ <isset property="FALCONJX_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/js/lib/jsc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="FALCONJX_HOME" value="${FLEXJS_HOME}/../flex-falcon/compiler-jx">
+ <and>
+ <not>
+ <isset property="FALCONJX_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="GOOG_HOME" value="${env.GOOG_HOME}">
+ <and>
+ <not>
+ <isset property="GOOG_HOME" />
+ </not>
+ <available file="${env.GOOG_HOME}/closure/goog/base.js" type="file" />
+ </and>
+ </condition>
+ <condition property="GOOG_HOME" value="${FLEXJS_HOME}/js/lib/google/closure-library">
+ <and>
+ <not>
+ <isset property="GOOG_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/js/lib/google/closure-library/closure/goog/base.js" type="file" />
+ </and>
+ </condition>
+
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd08d137/frameworks/projects/TLF/build_old.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/TLF/build_old.xml b/frameworks/projects/TLF/build_old.xml
new file mode 100644
index 0000000..a0e42f1
--- /dev/null
+++ b/frameworks/projects/TLF/build_old.xml
@@ -0,0 +1,186 @@
+<?xml version="1.0"?>
+<!--
+
+ 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.
+
+-->
+
+
+<project name="opentypejs" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="/FlexSDK/FlexJSNightly"/>
+ <!--<property name="FLEXJS_HOME" location="{env.FLEXJS_HOME}"/>-->
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+
+ <property name="target.name" value="${ant.project.name}.swc" />
+ <condition property="FALCON_HOME" value="${env.FALCON_HOME}">
+ <and>
+ <not>
+ <isset property="FALCON_HOME" />
+ </not>
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="FALCON_HOME" value="${FLEXJS_HOME}/../flex-falcon/compiler">
+ <and>
+ <not>
+ <isset property="FALCON_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="FALCON_HOME" value="${FLEXJS_HOME}">
+ <and>
+ <not>
+ <isset property="FALCON_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/lib/falcon-mxmlc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="FALCONJX_HOME" value="${env.FALCONJX_HOME}">
+ <and>
+ <not>
+ <isset property="FALCONJX_HOME" />
+ </not>
+ <available file="${env.FALCONJX_HOME}/lib/jsc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="FALCONJX_HOME" value="${FLEXJS_HOME}/js">
+ <and>
+ <not>
+ <isset property="FALCONJX_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/js/lib/jsc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="FALCONJX_HOME" value="${FLEXJS_HOME}/../flex-falcon/compiler-jx">
+ <and>
+ <not>
+ <isset property="FALCONJX_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler-jx/lib/jsc.jar" type="file" />
+ </and>
+ </condition>
+ <condition property="GOOG_HOME" value="${env.GOOG_HOME}">
+ <and>
+ <not>
+ <isset property="GOOG_HOME" />
+ </not>
+ <available file="${env.GOOG_HOME}/closure/goog/base.js" type="file" />
+ </and>
+ </condition>
+ <condition property="GOOG_HOME" value="${FLEXJS_HOME}/js/lib/google/closure-library">
+ <and>
+ <not>
+ <isset property="GOOG_HOME" />
+ </not>
+ <available file="${FLEXJS_HOME}/js/lib/google/closure-library/closure/goog/base.js" type="file" />
+ </and>
+ </condition>
+
+ <target name="main" depends="clean,check-compiler,compile,copy" description="Full build of ${ant.project.name}.swc">
+ </target>
+
+ <target name="check-js">
+ <uptodate property="js-not-needed" targetfile="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/target/${ant.project.name}JS.swc">
+ <srcfiles dir="${basedir}/src/main/flex" includes="**/**"/>
+ </uptodate>
+ </target>
+ <target name="js-if-needed" depends="check-js" unless="js-not-needed">
+ <ant dir="${FLEXJS_HOME}/frameworks/js/FlexJS/projects/${ant.project.name}JS/" inheritAll="false" />
+ </target>
+
+ <target name="check-for-tests" >
+ <condition property="skip-tests" >
+ <not>
+ <available file="${basedir}/src/test/flex/build.xml" />
+ </not>
+ </condition>
+ </target>
+
+ <target name="test" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" />
+ </target>
+
+ <target name="clean">
+ <delete failonerror="false">
+ <fileset dir="${FLEXJS_HOME}/frameworks/libs">
+ <include name="${target.name}"/>
+ </fileset>
+ </delete>
+ <delete failonerror="false" includeemptydirs="true">
+ <fileset dir="${basedir}/target">
+ <include name="**/**"/>
+ </fileset>
+ </delete>
+ <antcall target="clean-tests" />
+ </target>
+
+ <target name="clean-tests" depends="check-for-tests" unless="skip-tests">
+ <ant dir="src/test/flex" target="clean"/>
+ </target>
+
+ <target name="compile" description="Compiles .as files into .swc">
+ <echo message="Compiling libs/${ant.project.name}.swc"/>
+ <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+ <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${basedir}/target/generated-sources/flexjs" />
+
+ <compc fork="true"
+ output="${basedir}/target/${target.name}">
+ <jvmarg line="${compc.jvm.args}"/>
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <arg value="+playerglobal.version=${playerglobal.version}" />
+ <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+ <arg value="-define=COMPILE::SWF,true" />
+ <arg value="-define=COMPILE::JS,false" />
+ </compc>
+ </target>
+
+ <target name="check-compiler" depends="check-falcon-home">
+ <path id="lib.path">
+ <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+ </target>
+ <target name="copy">
+ <copy file="target/opentypejs.swc" todir="../projects/Text/libs"/>
+ </target>
+
+ <target name="check-falcon-home" unless="FALCON_HOME"
+ description="Check FALCON_HOME is a directory.">
+
+ <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+ <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${env.FALCON_HOME}"/>
+
+ <available file="${FLEXJS_HOME}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
+ type="file"
+ property="FALCON_HOME"
+ value="${FLEXJS_HOME}/../flex-falcon/compiler"/>
+
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or a FlexJS SDK folder"
+ unless="FALCON_HOME"/>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd08d137/frameworks/projects/TLF/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/TLF/compile-config.xml b/frameworks/projects/TLF/compile-config.xml
new file mode 100644
index 0000000..10748c7
--- /dev/null
+++ b/frameworks/projects/TLF/compile-config.xml
@@ -0,0 +1,77 @@
+<!--
+
+ 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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <!--<path-element>typedefs/js.swc</path-element>-->
+ <path-element>typedefs/opentype.swc</path-element>
+ <path-element>typedefs/opentypejs.swc</path-element>
+ <path-element>/FlexSDK/FlexJSNightly/frameworks/libs/player/11.1/playerglobal.swc</path-element>
+ <!--<path-element>lib/CEP.swc</path-element>-->
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <path-element>/FlexSDK/FlexJSNightly/frameworks/libs/Core.swc</path-element>
+ <path-element>/FlexSDK/FlexJSNightly/frameworks/libs/Graphics.swc</path-element>
+ <path-element>/FlexSDK/FlexJSNightly/frameworks/libs/Language.swc</path-element>
+ <path-element>/FlexSDK/FlexJSNightly/frameworks/libs/Reflection.swc</path-element>
+ <path-element>/FlexSDK/FlexJSNightly/frameworks/libs/Network.swc</path-element>
+ <path-element>/FlexSDK/FlexJSNightly/frameworks/libs/HTML.swc</path-element>
+ <path-element>/FlexSDK/FlexJSNightly/frameworks/libs/XML.swc</path-element>
+ <path-element>libs/Text.swc</path-element>
+ </library-path>
+
+
+ <source-path>
+ <path-element>src</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-classes>
+ <class>TLFClasses</class>
+ <!--<class>org.apache.flex.textLayout.ConversionClasses</class>
+ <class>org.apache.flex.textLayout.CoreClasses</class>
+ <class>org.apache.flex.textLayout.EditClasses</class>
+ <class>org.apache.flex.textLayout.TextLayoutVersion</class>-->
+ </include-classes>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd08d137/frameworks/projects/TLF/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/TLF/src/main/config/compile-as-config.xml b/frameworks/projects/TLF/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..1d58fb5
--- /dev/null
+++ b/frameworks/projects/TLF/src/main/config/compile-as-config.xml
@@ -0,0 +1,90 @@
+<!--
+
+ 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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Binding.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/Graphics.swc</path-element>
+ <path-element>../../../../../libs/Collections.swc</path-element>
+ <path-element>../../../../../libs/HTML.swc</path-element>
+ <path-element>../../../../../libs/Collections.swc</path-element>
+ <path-element>../../../../../libs/Reflection.swc</path-element>
+ <path-element>../../../../../libs/Text.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../resources/basic-manifest.xml</manifest>
+ </namespace>
+ <!--<namespace>
+ <uri>library://ns.apache.org/flexjs/svg</uri>
+ <manifest>../resources/svg-manifest.xml</manifest>
+ </namespace>-->
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>../resources/defaults.css</path>
+ </include-file>
+
+ <include-classes>
+ <class>TLFClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <!--<uri>library://ns.apache.org/flexjs/svg</uri>-->
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd08d137/frameworks/projects/TLF/src/main/flex/TLFClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/TLF/src/main/flex/TLFClasses.as b/frameworks/projects/TLF/src/main/flex/TLFClasses.as
new file mode 100644
index 0000000..51142c1
--- /dev/null
+++ b/frameworks/projects/TLF/src/main/flex/TLFClasses.as
@@ -0,0 +1,170 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package
+{
+
+ internal class TLFClasses
+ {
+
+ // import org.apache.flex.textLayout.accessibility.TextAccImpl; TextAccImpl;
+
+ import org.apache.flex.textLayout.TextLayoutVersion; TextLayoutVersion;
+
+ import org.apache.flex.textLayout.compose.BaseCompose; BaseCompose;
+ import org.apache.flex.textLayout.compose.ComposeState; ComposeState;
+ import org.apache.flex.textLayout.compose.FactoryComposer; FactoryComposer;
+ import org.apache.flex.textLayout.compose.FlowComposerBase; FlowComposerBase;
+ import org.apache.flex.textLayout.compose.FloatCompositionData; FloatCompositionData;
+ import org.apache.flex.textLayout.compose.FlowDamageType; FlowDamageType;
+ import org.apache.flex.textLayout.compose.IFlowComposer; IFlowComposer;
+ import org.apache.flex.textLayout.compose.ISWFContext; ISWFContext;
+ import org.apache.flex.textLayout.compose.IVerticalJustificationLine; IVerticalJustificationLine;
+ import org.apache.flex.textLayout.compose.Parcel; Parcel;
+ import org.apache.flex.textLayout.compose.ParcelList; ParcelList;
+ import org.apache.flex.textLayout.compose.SimpleCompose; SimpleCompose;
+ import org.apache.flex.textLayout.compose.Slug; Slug;
+ import org.apache.flex.textLayout.compose.TextFlowLine; TextFlowLine;
+ import org.apache.flex.textLayout.compose.TextFlowLineLocation; TextFlowLineLocation;
+ import org.apache.flex.textLayout.compose.TextLineRecycler; TextLineRecycler;
+ import org.apache.flex.textLayout.compose.StandardFlowComposer; StandardFlowComposer;
+ import org.apache.flex.textLayout.compose.VerticalJustifier; VerticalJustifier;
+
+ import org.apache.flex.textLayout.container.ColumnState; ColumnState;
+ import org.apache.flex.textLayout.container.ContainerController; ContainerController;
+ import org.apache.flex.textLayout.container.ISandboxSupport; ISandboxSupport;
+ import org.apache.flex.textLayout.container.ScrollPolicy; ScrollPolicy;
+
+ import org.apache.flex.textLayout.debug.assert;assert;
+ import org.apache.flex.textLayout.debug.Debugging; Debugging;
+
+ import org.apache.flex.textLayout.edit.EditingMode; EditingMode;
+ import org.apache.flex.textLayout.edit.IInteractionEventHandler; IInteractionEventHandler;
+ import org.apache.flex.textLayout.edit.ISelectionManager; ISelectionManager;
+ import org.apache.flex.textLayout.edit.SelectionFormat; SelectionFormat;
+ import org.apache.flex.textLayout.edit.SelectionState; SelectionState;
+ import org.apache.flex.textLayout.edit.SelectionType; SelectionType;
+
+ import org.apache.flex.textLayout.elements.SubParagraphGroupElementBase; SubParagraphGroupElementBase;
+ import org.apache.flex.textLayout.elements.BreakElement; BreakElement;
+ import org.apache.flex.textLayout.elements.Configuration; Configuration;
+ import org.apache.flex.textLayout.elements.ContainerFormattedElement; ContainerFormattedElement;
+ import org.apache.flex.textLayout.elements.DivElement; DivElement;
+ import org.apache.flex.textLayout.elements.FlowElement; FlowElement;
+ import org.apache.flex.textLayout.elements.FlowGroupElement; FlowGroupElement;
+ import org.apache.flex.textLayout.elements.FlowLeafElement; FlowLeafElement;
+ import org.apache.flex.textLayout.elements.GlobalSettings; GlobalSettings;
+ import org.apache.flex.textLayout.elements.IConfiguration; IConfiguration;
+ import org.apache.flex.textLayout.elements.IExplicitFormatResolver; IExplicitFormatResolver;
+ import org.apache.flex.textLayout.elements.IFormatResolver; IFormatResolver;
+ import org.apache.flex.textLayout.elements.InlineGraphicElement; InlineGraphicElement;
+ import org.apache.flex.textLayout.elements.InlineGraphicElementStatus; InlineGraphicElementStatus;
+ import org.apache.flex.textLayout.elements.ListElement; ListElement;
+ import org.apache.flex.textLayout.elements.ListItemElement; ListItemElement;
+ import org.apache.flex.textLayout.elements.LinkElement; LinkElement;
+ import org.apache.flex.textLayout.elements.LinkState; LinkState;
+ import org.apache.flex.textLayout.elements.OverflowPolicy; OverflowPolicy;
+ import org.apache.flex.textLayout.elements.ParagraphElement; ParagraphElement;
+ import org.apache.flex.textLayout.elements.ParagraphFormattedElement; ParagraphFormattedElement;
+ import org.apache.flex.textLayout.elements.SpanElement; SpanElement;
+ import org.apache.flex.textLayout.elements.SpecialCharacterElement; SpecialCharacterElement;
+ import org.apache.flex.textLayout.elements.SubParagraphGroupElement; SubParagraphGroupElement;
+ import org.apache.flex.textLayout.elements.TabElement; TabElement;
+ import org.apache.flex.textLayout.elements.TableElement; TableElement;
+ import org.apache.flex.textLayout.elements.TableBodyElement; TableBodyElement;
+ import org.apache.flex.textLayout.elements.TableColElement; TableColElement;
+ import org.apache.flex.textLayout.elements.TableColGroupElement; TableColGroupElement;
+ import org.apache.flex.textLayout.elements.TableCellElement; TableCellElement;
+ import org.apache.flex.textLayout.elements.TableRowElement; TableRowElement;
+ import org.apache.flex.textLayout.elements.TCYElement; TCYElement;
+ import org.apache.flex.textLayout.elements.TextFlow; TextFlow;
+ import org.apache.flex.textLayout.elements.TextRange; TextRange;
+
+
+ import org.apache.flex.textLayout.events.CompositionCompleteEvent; CompositionCompleteEvent;
+ import org.apache.flex.textLayout.events.DamageEvent; DamageEvent;
+ import org.apache.flex.textLayout.events.FlowElementMouseEvent; FlowElementMouseEvent;
+ import org.apache.flex.textLayout.events.FlowElementMouseEventManager; FlowElementMouseEventManager;
+ import org.apache.flex.textLayout.events.FlowElementEventDispatcher; FlowElementEventDispatcher;
+ import org.apache.flex.textLayout.events.ModelChange; ModelChange;
+ import org.apache.flex.textLayout.events.ScrollEvent; ScrollEvent;
+ import org.apache.flex.textLayout.events.ScrollEventDirection; ScrollEventDirection;
+ import org.apache.flex.textLayout.events.StatusChangeEvent; StatusChangeEvent;
+ import org.apache.flex.textLayout.events.TextLayoutEvent; TextLayoutEvent;
+
+ import org.apache.flex.textLayout.factory.TextLineFactoryBase; TextLineFactoryBase;
+ import org.apache.flex.textLayout.factory.StringTextLineFactory; StringTextLineFactory;
+ import org.apache.flex.textLayout.factory.TextFlowTextLineFactory; TextFlowTextLineFactory;
+ import org.apache.flex.textLayout.factory.TruncationOptions; TruncationOptions;
+
+ import org.apache.flex.textLayout.formats.BaselineOffset; BaselineOffset;
+ import org.apache.flex.textLayout.formats.BaselineShift; BaselineShift;
+ import org.apache.flex.textLayout.formats.BlockProgression; BlockProgression;
+ import org.apache.flex.textLayout.formats.BreakStyle; BreakStyle;
+
+ import org.apache.flex.textLayout.formats.Category; Category;
+ import org.apache.flex.textLayout.formats.ClearFloats; ClearFloats;
+ import org.apache.flex.textLayout.formats.Direction; Direction;
+ import org.apache.flex.textLayout.formats.Float; Float;
+ import org.apache.flex.textLayout.formats.FormatValue; FormatValue;
+ import org.apache.flex.textLayout.formats.IMEStatus; IMEStatus;
+ import org.apache.flex.textLayout.formats.IListMarkerFormat; IListMarkerFormat;
+ import org.apache.flex.textLayout.formats.ITabStopFormat; ITabStopFormat;
+ import org.apache.flex.textLayout.formats.ITextLayoutFormat; ITextLayoutFormat;
+ import org.apache.flex.textLayout.formats.JustificationRule; JustificationRule;
+ import org.apache.flex.textLayout.formats.LeadingModel; LeadingModel;
+ import org.apache.flex.textLayout.formats.LineBreak; LineBreak;
+ import org.apache.flex.textLayout.formats.ListMarkerFormat; ListMarkerFormat;
+ import org.apache.flex.textLayout.formats.Suffix; Suffix;
+ import org.apache.flex.textLayout.formats.TabStopFormat; TabStopFormat;
+ import org.apache.flex.textLayout.formats.TextAlign; TextAlign;
+ import org.apache.flex.textLayout.formats.TextDecoration; TextDecoration;
+ import org.apache.flex.textLayout.formats.TextJustify; TextJustify;
+ import org.apache.flex.textLayout.formats.TextLayoutFormat; TextLayoutFormat;
+ import org.apache.flex.textLayout.formats.VerticalAlign; VerticalAlign;
+ import org.apache.flex.textLayout.formats.WhiteSpaceCollapse; WhiteSpaceCollapse;
+
+ import org.apache.flex.textLayout.property.ArrayProperty; ArrayProperty;
+ import org.apache.flex.textLayout.property.Property; Property;
+
+ // new property classes
+ import org.apache.flex.textLayout.property.PropertyHandler; PropertyHandler;
+ import org.apache.flex.textLayout.property.BooleanPropertyHandler; BooleanPropertyHandler;
+ import org.apache.flex.textLayout.property.EnumPropertyHandler; EnumPropertyHandler;
+ import org.apache.flex.textLayout.property.FormatPropertyHandler; FormatPropertyHandler;
+ import org.apache.flex.textLayout.property.StringPropertyHandler; StringPropertyHandler;
+ import org.apache.flex.textLayout.property.IntPropertyHandler; IntPropertyHandler;
+ import org.apache.flex.textLayout.property.UintPropertyHandler; UintPropertyHandler;
+ import org.apache.flex.textLayout.property.NumberPropertyHandler; NumberPropertyHandler;
+ import org.apache.flex.textLayout.property.UndefinedPropertyHandler; UndefinedPropertyHandler;
+ import org.apache.flex.textLayout.property.PercentPropertyHandler; PercentPropertyHandler;
+ import org.apache.flex.textLayout.property.CounterContentHandler; CounterContentHandler;
+ import org.apache.flex.textLayout.property.CounterPropHandler; CounterPropHandler;
+
+ import org.apache.flex.textLayout.utils.CharacterUtil; CharacterUtil;
+ import org.apache.flex.textLayout.utils.GeometryUtil; GeometryUtil;
+ import org.apache.flex.textLayout.utils.HitTestArea; HitTestArea;
+ import org.apache.flex.textLayout.utils.Twips; Twips;
+
+ // CONFIG::release public function exportAssert():void
+ // {
+ // assert();
+ // }
+ }
+}
+
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd08d137/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/ConversionClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/ConversionClasses.as b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/ConversionClasses.as
new file mode 100644
index 0000000..4f4bed4
--- /dev/null
+++ b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/ConversionClasses.as
@@ -0,0 +1,34 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.textLayout
+{
+ internal class ConversionClasses
+ {
+ import org.apache.flex.textLayout.conversion.ConversionType; ConversionType;
+ import org.apache.flex.textLayout.conversion.FormatDescriptor; FormatDescriptor;
+ import org.apache.flex.textLayout.conversion.IHTMLImporter; IHTMLImporter;
+ import org.apache.flex.textLayout.conversion.IPlainTextExporter; IPlainTextExporter;
+ import org.apache.flex.textLayout.conversion.ITextImporter; ITextImporter;
+ import org.apache.flex.textLayout.conversion.ITextExporter; ITextExporter;
+ import org.apache.flex.textLayout.conversion.ITextLayoutImporter; ITextLayoutImporter;
+ import org.apache.flex.textLayout.conversion.TextConverter; TextConverter;
+ import org.apache.flex.textLayout.conversion.TextLayoutImporter; TextLayoutImporter;
+ // Alphabetical list of classes to be included as part of text_conversion.swc
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd08d137/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/CoreClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/CoreClasses.as b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/CoreClasses.as
new file mode 100644
index 0000000..ce2d507
--- /dev/null
+++ b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/CoreClasses.as
@@ -0,0 +1,174 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.textLayout
+{
+
+ import org.apache.flex.textLayout.compose.IComposeState;
+ import org.apache.flex.textLayout.compose.IComposer;
+ import org.apache.flex.textLayout.compose.IFactoryComposer;
+ import org.apache.flex.textLayout.compose.ISimpleCompose;
+ internal class CoreClasses
+ {
+
+ // import org.apache.flex.textLayout.accessibility.TextAccImpl; TextAccImpl;
+
+ import org.apache.flex.textLayout.TextLayoutVersion; TextLayoutVersion;
+
+ import org.apache.flex.textLayout.compose.BaseCompose; IComposer;
+ import org.apache.flex.textLayout.compose.ComposeState; IComposeState;
+ import org.apache.flex.textLayout.compose.FlowComposerBase; FlowComposerBase;
+ import org.apache.flex.textLayout.compose.FloatCompositionData; FloatCompositionData;
+ import org.apache.flex.textLayout.compose.FlowDamageType; FlowDamageType;
+ import org.apache.flex.textLayout.compose.IFlowComposer; IFlowComposer;
+ import org.apache.flex.textLayout.compose.ISWFContext; ISWFContext;
+ import org.apache.flex.textLayout.compose.IVerticalJustificationLine; IVerticalJustificationLine;
+ import org.apache.flex.textLayout.compose.Parcel; Parcel;
+ import org.apache.flex.textLayout.compose.ParcelList; ParcelList;
+ import org.apache.flex.textLayout.compose.SimpleCompose; ISimpleCompose;
+ import org.apache.flex.textLayout.compose.Slug; Slug;
+ import org.apache.flex.textLayout.compose.TextFlowLine; TextFlowLine;
+ import org.apache.flex.textLayout.compose.TextFlowLineLocation; TextFlowLineLocation;
+ import org.apache.flex.textLayout.compose.TextLineRecycler; TextLineRecycler;
+ import org.apache.flex.textLayout.compose.StandardFlowComposer; StandardFlowComposer;
+ import org.apache.flex.textLayout.compose.VerticalJustifier; VerticalJustifier;
+
+ import org.apache.flex.textLayout.container.ColumnState; ColumnState;
+ import org.apache.flex.textLayout.container.ContainerController; ContainerController;
+ import org.apache.flex.textLayout.container.ISandboxSupport; ISandboxSupport;
+ import org.apache.flex.textLayout.container.ScrollPolicy; ScrollPolicy;
+
+ import org.apache.flex.textLayout.debug.assert;assert;
+ import org.apache.flex.textLayout.debug.Debugging; Debugging;
+
+ import org.apache.flex.textLayout.edit.EditingMode; EditingMode;
+ import org.apache.flex.textLayout.edit.IInteractionEventHandler; IInteractionEventHandler;
+ import org.apache.flex.textLayout.edit.ISelectionManager; ISelectionManager;
+ import org.apache.flex.textLayout.edit.SelectionFormat; SelectionFormat;
+ import org.apache.flex.textLayout.edit.SelectionState; SelectionState;
+ import org.apache.flex.textLayout.edit.SelectionType; SelectionType;
+
+ import org.apache.flex.textLayout.elements.SubParagraphGroupElementBase; SubParagraphGroupElementBase;
+ import org.apache.flex.textLayout.elements.BreakElement; BreakElement;
+ import org.apache.flex.textLayout.elements.Configuration; Configuration;
+ import org.apache.flex.textLayout.elements.ContainerFormattedElement; ContainerFormattedElement;
+ import org.apache.flex.textLayout.elements.DivElement; DivElement;
+ import org.apache.flex.textLayout.elements.FlowElement; FlowElement;
+ import org.apache.flex.textLayout.elements.FlowGroupElement; FlowGroupElement;
+ import org.apache.flex.textLayout.elements.FlowLeafElement; FlowLeafElement;
+ import org.apache.flex.textLayout.elements.GlobalSettings; GlobalSettings;
+ import org.apache.flex.textLayout.elements.IConfiguration; IConfiguration;
+ import org.apache.flex.textLayout.elements.IExplicitFormatResolver; IExplicitFormatResolver;
+ import org.apache.flex.textLayout.elements.IFormatResolver; IFormatResolver;
+ import org.apache.flex.textLayout.elements.InlineGraphicElement; InlineGraphicElement;
+ import org.apache.flex.textLayout.elements.InlineGraphicElementStatus; InlineGraphicElementStatus;
+ import org.apache.flex.textLayout.elements.ListElement; ListElement;
+ import org.apache.flex.textLayout.elements.ListItemElement; ListItemElement;
+ import org.apache.flex.textLayout.elements.LinkElement; LinkElement;
+ import org.apache.flex.textLayout.elements.LinkState; LinkState;
+ import org.apache.flex.textLayout.elements.OverflowPolicy; OverflowPolicy;
+ import org.apache.flex.textLayout.elements.ParagraphElement; ParagraphElement;
+ import org.apache.flex.textLayout.elements.ParagraphFormattedElement; ParagraphFormattedElement;
+ import org.apache.flex.textLayout.elements.SpanElement; SpanElement;
+ import org.apache.flex.textLayout.elements.SpecialCharacterElement; SpecialCharacterElement;
+ import org.apache.flex.textLayout.elements.SubParagraphGroupElement; SubParagraphGroupElement;
+ import org.apache.flex.textLayout.elements.TabElement; TabElement;
+ import org.apache.flex.textLayout.elements.TableElement; TableElement;
+ import org.apache.flex.textLayout.elements.TableBodyElement; TableBodyElement;
+ import org.apache.flex.textLayout.elements.TableColElement; TableColElement;
+ import org.apache.flex.textLayout.elements.TableColGroupElement; TableColGroupElement;
+ import org.apache.flex.textLayout.elements.TableCellElement; TableCellElement;
+ import org.apache.flex.textLayout.elements.TableRowElement; TableRowElement;
+ import org.apache.flex.textLayout.elements.TCYElement; TCYElement;
+ import org.apache.flex.textLayout.elements.TextFlow; TextFlow;
+ import org.apache.flex.textLayout.elements.TextRange; TextRange;
+
+
+ import org.apache.flex.textLayout.events.CompositionCompleteEvent; CompositionCompleteEvent;
+ import org.apache.flex.textLayout.events.DamageEvent; DamageEvent;
+ import org.apache.flex.textLayout.events.FlowElementMouseEvent; FlowElementMouseEvent;
+ import org.apache.flex.textLayout.events.FlowElementMouseEventManager; FlowElementMouseEventManager;
+ import org.apache.flex.textLayout.events.FlowElementEventDispatcher; FlowElementEventDispatcher;
+ import org.apache.flex.textLayout.events.ModelChange; ModelChange;
+ import org.apache.flex.textLayout.events.ScrollEvent; ScrollEvent;
+ import org.apache.flex.textLayout.events.ScrollEventDirection; ScrollEventDirection;
+ import org.apache.flex.textLayout.events.StatusChangeEvent; StatusChangeEvent;
+ import org.apache.flex.textLayout.events.TextLayoutEvent; TextLayoutEvent;
+
+ import org.apache.flex.textLayout.compose.FactoryComposer; FactoryComposer;
+ import org.apache.flex.textLayout.factory.TextLineFactoryBase; TextLineFactoryBase;
+ import org.apache.flex.textLayout.factory.StringTextLineFactory; StringTextLineFactory;
+ import org.apache.flex.textLayout.factory.TextFlowTextLineFactory; TextFlowTextLineFactory;
+ import org.apache.flex.textLayout.factory.TruncationOptions; TruncationOptions;
+
+ import org.apache.flex.textLayout.formats.BaselineOffset; BaselineOffset;
+ import org.apache.flex.textLayout.formats.BaselineShift; BaselineShift;
+ import org.apache.flex.textLayout.formats.BlockProgression; BlockProgression;
+ import org.apache.flex.textLayout.formats.BreakStyle; BreakStyle;
+
+ import org.apache.flex.textLayout.formats.Category; Category;
+ import org.apache.flex.textLayout.formats.ClearFloats; ClearFloats;
+ import org.apache.flex.textLayout.formats.Direction; Direction;
+ import org.apache.flex.textLayout.formats.Float; Float;
+ import org.apache.flex.textLayout.formats.FormatValue; FormatValue;
+ import org.apache.flex.textLayout.formats.IMEStatus; IMEStatus;
+ import org.apache.flex.textLayout.formats.IListMarkerFormat; IListMarkerFormat;
+ import org.apache.flex.textLayout.formats.ITabStopFormat; ITabStopFormat;
+ import org.apache.flex.textLayout.formats.ITextLayoutFormat; ITextLayoutFormat;
+ import org.apache.flex.textLayout.formats.JustificationRule; JustificationRule;
+ import org.apache.flex.textLayout.formats.LeadingModel; LeadingModel;
+ import org.apache.flex.textLayout.formats.LineBreak; LineBreak;
+ import org.apache.flex.textLayout.formats.ListMarkerFormat; ListMarkerFormat;
+ import org.apache.flex.textLayout.formats.Suffix; Suffix;
+ import org.apache.flex.textLayout.formats.TabStopFormat; TabStopFormat;
+ import org.apache.flex.textLayout.formats.TextAlign; TextAlign;
+ import org.apache.flex.textLayout.formats.TextDecoration; TextDecoration;
+ import org.apache.flex.textLayout.formats.TextJustify; TextJustify;
+ import org.apache.flex.textLayout.formats.TextLayoutFormat; TextLayoutFormat;
+ import org.apache.flex.textLayout.formats.VerticalAlign; VerticalAlign;
+ import org.apache.flex.textLayout.formats.WhiteSpaceCollapse; WhiteSpaceCollapse;
+
+ import org.apache.flex.textLayout.property.ArrayProperty; ArrayProperty;
+ import org.apache.flex.textLayout.property.Property; Property;
+
+ // new property classes
+ import org.apache.flex.textLayout.property.PropertyHandler; PropertyHandler;
+ import org.apache.flex.textLayout.property.BooleanPropertyHandler; BooleanPropertyHandler;
+ import org.apache.flex.textLayout.property.EnumPropertyHandler; EnumPropertyHandler;
+ import org.apache.flex.textLayout.property.FormatPropertyHandler; FormatPropertyHandler;
+ import org.apache.flex.textLayout.property.StringPropertyHandler; StringPropertyHandler;
+ import org.apache.flex.textLayout.property.IntPropertyHandler; IntPropertyHandler;
+ import org.apache.flex.textLayout.property.UintPropertyHandler; UintPropertyHandler;
+ import org.apache.flex.textLayout.property.NumberPropertyHandler; NumberPropertyHandler;
+ import org.apache.flex.textLayout.property.UndefinedPropertyHandler; UndefinedPropertyHandler;
+ import org.apache.flex.textLayout.property.PercentPropertyHandler; PercentPropertyHandler;
+ import org.apache.flex.textLayout.property.CounterContentHandler; CounterContentHandler;
+ import org.apache.flex.textLayout.property.CounterPropHandler; CounterPropHandler;
+
+ import org.apache.flex.textLayout.utils.CharacterUtil; CharacterUtil;
+ import org.apache.flex.textLayout.utils.GeometryUtil; GeometryUtil;
+ import org.apache.flex.textLayout.utils.HitTestArea; HitTestArea;
+ import org.apache.flex.textLayout.utils.Twips; Twips;
+
+ // CONFIG::release public function exportAssert():void
+ // {
+ // assert();
+ // }
+ }
+}
+