flex-sdk

Clone Tools
  • last updated 14 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
FLEX-35375 CAUSE: DataGrids didn't dispatch a VALUE_COMMIT event when a new dataProvider cleared the selection, thus allowing the selectedItem, selectedIndex, selectedItems, selectedIndexes to become null without a notification. Which also means that if there was any binding set up for any of those variables, it won't be triggered. SOLUTION: we now dispatch a VALUE_COMMIT event when a new dataProvider ends up clearing the selection. NOTE: also added a unit test for this bug, which fails without the fix and passes with the above fix.

Ignore failure on copying flash flex kit as it doesn't exist on linux. May be a better way of doing this as it could hide other failures.

Merge commit 'd90867218312b97113ce7c50c5232f6e5ceee9be'

mobile theme docs are not compiling on Linux (probably old AIR version?)

no support for automation flash flex kit on linux

source clean was removing player libs on jenkins job

order matters when you compile the flash integration

setup does a clean which is removing the flash player downloads in the jenkins job

flash integration not supported on linux

testing if we can make a release build target without running the tests

Revert to flash player version 11.1

Update nightly build to 4.17.0

  1. … 8 more files in changeset.
Update apache rat in ApproveSDK script

Add information to use Extension Manager CS6 which fix problem with hang of Extension Manager CS5 on Windows 10

Update rat version in releasecandidate.xml file

missing headers

ignore saxon parts

add AwesomeUtils

Change CURRENT_VERSION to 4.16.1

More version updates

Update version to 4.16.1

  1. … 6 more files in changeset.
Update release notes to 4.16.1

FLEX-35364 - Run air-setup-mac on all non windows OS

FLEX-35364 - Fix issue where "air-setup-mac" target launched their dependents targets on windows before checking condition (it is default ant behavior) - Fix some merge issue

FLEX-35362 CAUSE: the DropDownController signals that the DropDownListBase is open immediately, even before the latter has actually made that change on stage. Since the opening takes one or two frames, it leaves a few milliseconds in which code which relies on that open/closed state erroneously assumes that it can use elements that should be on stage or initialized. In this case it's the layout property, which, due to the skin of the DropDownList, is only initialized once the drop down is actually open.

SOLUTION: we check whether the layout is not-null, and if it is, we select items in the list as if it were closed.

NOTES:

-also edited some comments, simplified Array instantiation, and removed an empty constructor.

-now the unit test will pass.

FLEX-35362 Added unit test to reproduce the bug. As expected, it currently fails.

FLEX-35321 CAUSE: if the object isn't on stage when we'd normally set its initialized flag to true, we correctly skip this step, but we also need to set its updateCompletePendingFlag back to false, so that in case it's added to stage again it can work correctly, and have its initialized flag set to true as expected. This second step was skipped in the previous commit. This could be noticed, for example, in DataGrid, which would not show the renderers which it initially used in GridViewLayout.updateTypicalCellSizes(). SOLUTION: set the updateCompletePendingFlag to false even if the object isn't on stage anymore. NOTES: also removed unused imports and an unused local variable.

FLEX-18746 CAUSE: HierarchicalCollectionView.updateLength() was ignoring nodes without children, as it should. However, the function it called for the nodes with children, getChildren() unfortunately had a necessary side-effect (which is a poor design choice, to be sure), which was to add an event listener to the children collection. So the empty collections of nodes were not listened to, which meant that once the node was open any children that were added to that node were not counted towards the length of the collection. And one way this inconsistency surfaced was through the expandItem() fatal.

SOLUTION: The best - and most time-consuming - solution to this is to find a way to extract the side-effect of getChildren() into a separate function and call it when needed. However, for the moment I have opted to simply allow getChildren() to be called even for empty nodes, which in turn adds the event listeners.

NOTES: all unit tests now pass.

    • -1
    • +1
    /frameworks/projects/mx/src/mx/controls/Tree.as
FLEX-18746 Adding another unit test which goes to the heart of the bug - the length calculation in HierarchicalCollectionView. (Currently the test function test_opening_closing_with_Jill_having_no_children_to_begin_with() fails, as expected.)

FLEX-18746 Added the same test, but without using opening animation. (This way the bug cannot be reproduced, which is a good clue.)