Merge branch 'develop' into tlf * develop: (33 commits) Bring back MDLDynamicTabsExample - it seems to be working now Update MDLDynamicTabsExample Update MDL FlexTeamPage with newest changes - Missing implementation of IList in MDL Menu - Clean up List from unused imports Removed Basic project. Updated DataBindingExample to work with recent changes. Updated DataGrid example to work with recent changes. Repairs to MDL project to sync with changes made to Core and HTML projects. MaterialDesignLite should compile now. Charts should compile now. Updated the tomcat version for the automated tests. "layoutComplete" event now dispatched by GroupView rather than individual layouts. SWF-side border and background beads now listen for layout changes as another indicator they need to redraw. Renamed ILayoutObject to ILayoutView which is more descriptive. Updated Effects package to use new interfaces. Tweaked the horizontal scrollbar layout. Fixed scrolling for Panels. List now extends DataContainer; ListView extends DataContainerView. FLEX-35288 - MDL Slider should not use RangeModel from pure FlexJS to calculet it's value. Add SliderRangeModel for MDL only which holds values. - Remove from slider property snapInterval cause MDL component do not provide such property - Remove setting default values for SliderRangeModel cause it's already specified inside model Fixed DateChooser and DataContainer. Updates to some layouts. Major overhaul of containers and layouts. Clean up MDL example: - Models do not have to extend EventDispatcher, cause they are used in ConstantBinding - Put "Bindable" on top of the VO classes Revert "change to "void 0" to avoid a warning" ...
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/031fdad8 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/031fdad8 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/031fdad8 Branch: refs/heads/tlf Commit: 031fdad83bde9fb63e6cad37b8993fdd9b5e5ef2 Parents: 550062a bea3e94 Author: Harbs <[email protected]> Authored: Sun Mar 26 16:01:46 2017 +0300 Committer: Harbs <[email protected]> Committed: Sun Mar 26 16:01:46 2017 +0300 ---------------------------------------------------------------------- examples/examples-integrationtests/pom.xml | 2 +- .../src/main/flex/MyInitialView.mxml | 79 +-- .../src/main/flex/MyInitialView.mxml | 19 +- .../src/main/flex/MainView.mxml | 25 +- .../flex/itemRenderers/MemberItemRenderer.mxml | 4 +- .../src/main/flex/models/MembersModel.as | 92 ++-- .../src/main/flex/vos/MemberVO.as | 19 +- .../src/main/flex/TabsExample.mxml | 4 +- .../src/main/flex/views/InitialView.mxml | 2 +- .../src/main/flex/models/FooterModel.as | 5 +- .../src/main/flex/models/ListsModel.as | 6 +- .../src/main/flex/models/MainNavigationModel.as | 4 +- .../src/main/flex/models/MenuModel.as | 5 +- .../src/main/flex/models/TablesModel.as | 5 +- .../src/main/flex/models/TabsModel.as | 4 +- .../MDLExample/src/main/flex/vos/MenuItemVO.as | 4 +- .../src/main/flex/vos/NavigationLinkVO.as | 3 +- .../MDLExample/src/main/flex/vos/ProductVO.as | 1 - .../MDLExample/src/main/flex/vos/TabVO.as | 3 +- examples/flexjs/pom.xml | 4 +- frameworks/build.xml | 2 +- .../src/main/flex/org/apache/flex/html/VRule.as | 14 +- .../charts/beads/ChartItemRendererFactory.as | 29 +- .../org/apache/flex/charts/beads/ChartView.as | 21 +- ...ItemRendererFactoryForSeriesArrayListData.as | 4 +- .../DataItemRendererFactoryForSeriesData.as | 4 +- .../flex/charts/optimized/SVGChartDataGroup.as | 30 +- .../charts/supportClasses/ChartDataGroup.as | 102 +++- .../projects/Core/src/main/flex/CoreClasses.as | 1 + .../flex/org/apache/flex/core/IContainer.as | 6 + .../org/apache/flex/core/IItemRendererParent.as | 4 +- .../flex/org/apache/flex/core/ILayoutHost.as | 6 +- .../flex/org/apache/flex/core/ILayoutView.as | 86 +++ .../main/flex/org/apache/flex/core/IViewport.as | 2 +- .../org/apache/flex/core/SimpleCSSStyles.as | 8 +- .../flex/org/apache/flex/utils/LayoutTweener.as | 31 +- .../org/apache/flex/utils/MockContentView.as | 101 ++-- .../org/apache/flex/utils/MockLayoutHost.as | 12 +- .../org/apache/flex/utils/MockLayoutParent.as | 131 ++--- .../projects/HTML/src/main/flex/HTMLClasses.as | 5 +- .../flex/org/apache/flex/core/ContainerBase.as | 21 +- .../main/flex/org/apache/flex/core/GroupBase.as | 45 +- .../src/main/flex/org/apache/flex/core/IList.as | 48 ++ .../main/flex/org/apache/flex/core/ListBase.as | 100 ++-- .../main/flex/org/apache/flex/core/UIBase.as | 10 +- .../flex/org/apache/flex/core/UIButtonBase.as | 2 +- .../src/main/flex/org/apache/flex/core/View.as | 5 +- .../main/flex/org/apache/flex/core/ViewBase.as | 28 +- .../main/flex/org/apache/flex/html/ButtonBar.as | 38 +- .../flex/org/apache/flex/html/ButtonBase.as | 1 - .../main/flex/org/apache/flex/html/CheckBox.as | 2 +- .../main/flex/org/apache/flex/html/Container.as | 121 ++-- .../flex/org/apache/flex/html/ControlBar.as | 39 +- .../flex/org/apache/flex/html/DataContainer.as | 187 +++++-- .../flex/org/apache/flex/html/DateChooser.as | 4 +- .../flex/org/apache/flex/html/DropDownList.as | 54 +- .../src/main/flex/org/apache/flex/html/Form.as | 22 +- .../src/main/flex/org/apache/flex/html/Group.as | 34 +- .../flex/org/apache/flex/html/HContainer.as | 2 +- .../src/main/flex/org/apache/flex/html/HRule.as | 16 +- .../src/main/flex/org/apache/flex/html/Image.as | 14 +- .../org/apache/flex/html/ImageAndTextButton.as | 34 +- .../flex/org/apache/flex/html/ImageButton.as | 12 +- .../src/main/flex/org/apache/flex/html/List.as | 184 +------ .../flex/org/apache/flex/html/MXMLBeadView.as | 4 +- .../flex/org/apache/flex/html/NumericStepper.as | 2 +- .../src/main/flex/org/apache/flex/html/Panel.as | 86 ++- .../org/apache/flex/html/PanelWithControlBar.as | 48 +- .../flex/org/apache/flex/html/RadioButton.as | 2 +- .../flex/org/apache/flex/html/SimpleList.as | 18 +- .../main/flex/org/apache/flex/html/Slider.as | 40 +- .../main/flex/org/apache/flex/html/Spinner.as | 2 +- .../main/flex/org/apache/flex/html/TextArea.as | 26 +- .../main/flex/org/apache/flex/html/TextInput.as | 44 +- .../main/flex/org/apache/flex/html/TitleBar.as | 5 +- .../flex/org/apache/flex/html/VContainer.as | 2 +- .../src/main/flex/org/apache/flex/html/VRule.as | 14 +- .../html/beads/AccordionItemRendererView.as | 4 +- .../org/apache/flex/html/beads/AccordionView.as | 1 + .../org/apache/flex/html/beads/ContainerView.as | 420 +++++--------- .../apache/flex/html/beads/DataContainerView.as | 115 ++-- .../org/apache/flex/html/beads/DataGridView.as | 13 +- .../DataItemRendererFactoryForArrayData.as | 31 +- .../DataItemRendererFactoryForArrayList.as | 46 +- .../DataItemRendererFactoryForColumnData.as | 26 +- .../apache/flex/html/beads/DateChooserView.as | 120 ++-- .../apache/flex/html/beads/DropDownListView.as | 1 + .../org/apache/flex/html/beads/GroupView.as | 241 ++++++-- .../flex/html/beads/HScrollBarTrackView.as | 5 +- .../flex/org/apache/flex/html/beads/ListView.as | 117 ++-- .../org/apache/flex/html/beads/PanelView.as | 225 +++++--- .../flex/html/beads/PanelWithControlBarView.as | 154 ++---- .../flex/html/beads/SingleLineBorderBead.as | 6 +- .../flex/html/beads/SolidBackgroundBead.as | 9 +- .../TextItemRendererFactoryForArrayData.as | 12 +- ...extItemRendererFactoryForStringVectorData.as | 24 +- .../apache/flex/html/beads/TitleBarView.mxml | 8 +- .../flex/html/beads/layouts/BasicLayout.as | 68 ++- .../flex/html/beads/layouts/ButtonBarLayout.as | 110 ++-- .../flex/html/beads/layouts/DataGridLayout.as | 63 ++- .../beads/layouts/DataGridPercentageLayout.as | 167 ++++-- .../FlexibleFirstChildHorizontalLayout.as | 228 ++++---- .../flex/html/beads/layouts/HScrollBarLayout.as | 12 +- .../html/beads/layouts/HorizontalFlexLayout.as | 188 +++++-- .../html/beads/layouts/HorizontalFlowLayout.as | 45 +- .../flex/html/beads/layouts/HorizontalLayout.as | 333 ++++------- .../layouts/OneFlexibleChildHorizontalLayout.as | 389 ++++++------- .../layouts/OneFlexibleChildVerticalLayout.as | 547 +++++++------------ .../flex/html/beads/layouts/TileLayout.as | 11 +- .../html/beads/layouts/VerticalColumnLayout.as | 43 +- .../html/beads/layouts/VerticalFlexLayout.as | 190 +++++-- .../flex/html/beads/layouts/VerticalLayout.as | 306 +++-------- .../flex/html/beads/models/ButtonBarModel.as | 102 ++++ .../ButtonBarButtonItemRenderer.as | 1 + .../flex/html/supportClasses/CheckBoxIcon.as | 2 +- .../html/supportClasses/ClippingViewport.as | 11 +- .../html/supportClasses/ContainerContentArea.as | 48 +- .../flex/html/supportClasses/DataContentBead.as | 124 +++++ .../DataGridButtonBarButtonItemRenderer.as | 11 + .../flex/html/supportClasses/DataGroup.as | 10 +- .../html/supportClasses/DataItemRenderer.as | 2 +- .../html/supportClasses/DateChooserHeader.as | 10 +- .../html/supportClasses/GroupContentProxy.as | 91 +++ .../html/supportClasses/MXMLItemRenderer.as | 15 +- .../html/supportClasses/PanelLayoutProxy.as | 132 +++++ .../flex/html/supportClasses/RadioButtonIcon.as | 2 +- .../html/supportClasses/ScrollingViewport.as | 317 +++++------ .../html/supportClasses/StringItemRenderer.as | 54 +- .../apache/flex/html/supportClasses/Viewport.as | 56 +- .../main/flex/org/apache/flex/svg/DOMWrapper.as | 6 +- .../org/apache/flex/svg/GraphicContainer.as | 60 +- .../flex/org/apache/flex/svg/GraphicShape.as | 8 +- .../src/main/flex/org/apache/flex/svg/Image.as | 24 +- .../HTML/src/main/resources/defaults.css | 147 +++-- .../src/main/flex/MDLClasses.as | 2 + .../src/main/flex/org/apache/flex/mdl/Button.as | 9 +- .../src/main/flex/org/apache/flex/mdl/Card.as | 32 +- .../main/flex/org/apache/flex/mdl/CheckBox.as | 11 +- .../src/main/flex/org/apache/flex/mdl/Dialog.as | 20 +- .../flex/org/apache/flex/mdl/DialogActions.as | 12 +- .../flex/org/apache/flex/mdl/DialogContent.as | 16 +- .../src/main/flex/org/apache/flex/mdl/Drawer.as | 12 +- .../src/main/flex/org/apache/flex/mdl/Footer.as | 16 +- .../org/apache/flex/mdl/FooterBottomSection.as | 20 +- .../apache/flex/mdl/FooterDropDownSection.as | 24 +- .../org/apache/flex/mdl/FooterLeftSection.as | 22 +- .../org/apache/flex/mdl/FooterMiddleSection.as | 22 +- .../org/apache/flex/mdl/FooterRightSection.as | 22 +- .../org/apache/flex/mdl/FooterTopSection.as | 20 +- .../src/main/flex/org/apache/flex/mdl/Grid.as | 18 +- .../main/flex/org/apache/flex/mdl/GridCell.as | 72 +-- .../src/main/flex/org/apache/flex/mdl/Header.as | 14 +- .../main/flex/org/apache/flex/mdl/HeaderRow.as | 12 +- .../main/flex/org/apache/flex/mdl/IconToggle.as | 5 + .../src/main/flex/org/apache/flex/mdl/List.as | 108 +++- .../src/main/flex/org/apache/flex/mdl/Menu.as | 112 +++- .../main/flex/org/apache/flex/mdl/Navigation.as | 16 +- .../org/apache/flex/mdl/NavigationLayout.as | 16 +- .../apache/flex/mdl/NavigationLayoutContent.as | 14 +- .../flex/org/apache/flex/mdl/RadioButton.as | 47 +- .../src/main/flex/org/apache/flex/mdl/Slider.as | 55 +- .../main/flex/org/apache/flex/mdl/Spinner.as | 3 + .../src/main/flex/org/apache/flex/mdl/Switch.as | 28 +- .../src/main/flex/org/apache/flex/mdl/THead.as | 14 +- .../src/main/flex/org/apache/flex/mdl/TabBar.as | 35 +- .../flex/org/apache/flex/mdl/TabBarPanel.as | 26 +- .../main/flex/org/apache/flex/mdl/TableCell.as | 24 +- .../flex/org/apache/flex/mdl/TableColumn.as | 26 +- .../src/main/flex/org/apache/flex/mdl/Tabs.as | 35 +- .../main/flex/org/apache/flex/mdl/TextArea.as | 5 +- .../main/flex/org/apache/flex/mdl/TextField.as | 18 +- .../TabsItemRendererFactoryForArrayData.as | 4 +- .../TabsItemRendererFactoryForArrayListData.as | 4 +- .../flex/org/apache/flex/mdl/beads/Tooltip.as | 72 ++- .../apache/flex/mdl/beads/UpgradeChildren.as | 127 +++++ .../flex/mdl/beads/models/SliderRangeModel.as | 198 +++++++ .../apache/flex/mdl/beads/views/SliderView.as | 69 ++- .../apache/flex/mdl/supportClasses/CardInner.as | 16 +- .../src/main/resources/defaults.css | 2 +- .../src/main/resources/mdl-manifest.xml | 3 +- .../flex/org/apache/flex/net/HTTPService.as | 20 +- frameworks/projects/pom.xml | 2 +- 182 files changed, 5295 insertions(+), 3901 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/031fdad8/frameworks/projects/Core/src/main/flex/CoreClasses.as ----------------------------------------------------------------------
