[svn:fx-trunk] 11595: Checking in Sujata' s fix to FXGUtils for SDK which handles implicit close paths correctly.
Revision: 11595
Author: [email protected]
Date: 2009-11-09 16:34:49 -0800 (Mon, 09 Nov 2009)
Log Message:
Checking in Sujata's fix to FXGUtils for SDK which handles implicit close paths correctly.
QE notes: Please retest bug test case.
Doc notes: N/A
Bugs:
SDK-23093 - Unclosed path in static FXG displays with horizontal glitch
Reviewer: Sujata
Tests run: Checkintests, Bug test case
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-23093
Modified Paths:
flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/swf/FXG2SWFTranscoder.java
flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/GraphicContentNode.ja va
flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/ShapeHelper.java
Similar Messages
-
Revision: 11601
Author: [email protected]
Date: 2009-11-09 22:00:50 -0800 (Mon, 09 Nov 2009)
Log Message:
Integrating Min's recent fixes to FXGUtils for a group of attribute parsing bugs and clarification of error messages.
QE notes: Please confirm test cases.
Doc notes: N/A
Bugs:
SDK-22982 - FXG compiler fails on percentage lineheight inside formatted text content
SDK-24093 - If a
tag has children, you do not get a compile error.
SDK-24092 - You get a compile error if you set justificationStyle="prioritizeLeastAdjustment"
SDK-24097 - Setting an invalid verticalAlign style on RichText has a typo in the error message
Reviewer: Min
Tests run: Checkintests, Bug test cases
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-22982
http://bugs.adobe.com/jira/browse/SDK-24093
http://bugs.adobe.com/jira/browse/SDK-24092
http://bugs.adobe.com/jira/browse/SDK-24097
Modified Paths:
flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/FXGException_en.properties
flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/RichTextNode.java
flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/AbstractRich BlockTextNode.java
flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/AbstractRich TextLeafNode.java
flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/AbstractRich TextNode.java
flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/BRNode.java
flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/ImgNode.java
flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/TabNode.java
flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/TextHelper.j ava
flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/text/AbstractCharacte rTextNode.java
flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/sax/FXGSAXScanner.javaDear Pallavi,
Very useful post!
I am looking for similar accelerators for
Software Inventory Accelerator
Hardware Inventory Accelerator
Interfaces Inventory
Customization Assessment Accelerator
Sizing Tool
Which helps us to come up with the relevant Bill of Matetials for every area mentioned above, and the ones which I dont know...
Request help on such accelerators... Any clues?
Any reply, help is highly appreciated.
Regards
Manish Madhav -
Revision: 18821
Revision: 18821
Author: [email protected]
Date: 2010-11-26 07:33:24 -0800 (Fri, 26 Nov 2010)
Log Message:
Check-in a minor fix that deals with a missing MessageBroker class (this could happen in Java/Android clients).
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/MessageException.javaI see some message about a proxy. Have you checked that you can use the proxy from you network?
If not you should turn the proxy off.
Timo -
Revision: 6201
Author: [email protected]
Date: 2009-04-22 14:15:50 -0700 (Wed, 22 Apr 2009)
Log Message:Well the answer depends on whether you want to use the DefaultTableModel or a custom TableModel. The key point to either solution is that you want to store all the data in the table model.
1) Using the DefaultTableModel
All the data from your Person object is added to the model. By default the table will create a column for each column of data added to the model. However, this doesn't mean that you need to display every column in the table. After creating the JTable you can simply do:
table.getColumnModel().removeColumn(...);to remove the columns you don't have room to display. You can still access the values in the model by using:
table.getModel().getValueAt(...);2) Create a custom TableModel
You can keep all the data in your Person object and then write a custom model to access the data. Something like this example:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=610618
Note: the example isn't complete as you still need methods to add each Person object or the entire List of Persons to the model.
Again, you would need to remove the columns you don't want displayed.
In either case you can then handle the tooltip by overriding the getTooltipText(...) method. Something like:
public String getToolTipText( MouseEvent e )
int row = rowAtPoint( e.getPoint() );
int column = columnAtPoint( e.getPoint() );
Object value = getValueAt(row, column);
return value == null ? null : value.toString();
} -
Revision: 11492
Author: [email protected]
Date: 2009-11-06 05:18:44 -0800 (Fri, 06 Nov 2009)
Log Message:
Checking in additional tweaks to SWC filtering when compatibility-version is used. Pushing the majority of thes
e changes on behalf of Paul.
QE notes: None
Doc notes: None
Bugs: None
Reviewer: Paul
Tests run: Checkin
Is noteworthy for integration: No
Modified Paths:
flex/sdk/trunk/frameworks/projects/sparkskins/build.xml
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcCache.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Compc.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/CompcPreLink.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Fcsh.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Mxmlc.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Application.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Library.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools_en.propertiesRemember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them. This may or may not be unique to Arch Arm, so you might try asking on their forums as well.
-
[svn:fx-trunk] 12270: * Another batch of compiler fixes.
Revision: 12270
Revision: 12270
Author: [email protected]
Date: 2009-11-30 07:51:06 -0800 (Mon, 30 Nov 2009)
Log Message:
Another batch of compiler fixes.
QE notes:
Doc notes:
Bugs: SDK-24083, SDK-24084, SDK-23721, SDK-24386
Reviewer: Corey
Tests run: checkintests
Is noteworthy for integration: yes, fixes DMV issue and FB issue
Code-level description of changes:
modules/compiler/src/java/flex2/tools/PreLink.java
Revert a last minute change, which I made before revision 12043,
by moving the while loop back outside the for loop. Otherwise the
iterator only gets created once inside the for loop. This fixes
SDK-23721 and SDK-24386.
modules/compiler/src/java/flex2/compiler/as3/SyntaxTreeEvaluator.java
Modified stripRedeclaredManagementVars() by checking if classInfo
is null before using it. It can be null when errors have
occurred. This helped reveal the problem with SDK-24083 and
SDK-24084.
modules/compiler/src/java/flex2/compiler/SourceList.java
Modified calculateRelativePath() to better handle multiple
directories which overlap by name. This fixes SDK-24083 and
SDK-24084.
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-24083
http://bugs.adobe.com/jira/browse/SDK-24084
http://bugs.adobe.com/jira/browse/SDK-23721
http://bugs.adobe.com/jira/browse/SDK-24386
http://bugs.adobe.com/jira/browse/SDK-23721
http://bugs.adobe.com/jira/browse/SDK-24386
http://bugs.adobe.com/jira/browse/SDK-24083
http://bugs.adobe.com/jira/browse/SDK-24084
http://bugs.adobe.com/jira/browse/SDK-24083
http://bugs.adobe.com/jira/browse/SDK-24084
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SourceList.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SyntaxTreeEvaluator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java -
[svn:fx-trunk] 11179: * Weekly batch of compiler fixes.
Revision: 11179
Author: [email protected]
Date: 2009-10-27 08:05:06 -0700 (Tue, 27 Oct 2009)
Log Message:
Weekly batch of compiler fixes.
QE notes:
Doc notes:
Bugs: SDK-23111, SDK-23262, SDK-17908, SDK-21737, SDK-23559
Reviewer: Corey
Tests run: full cyclone
Is noteworthy for integration: no
Code-level description of changes:
frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as
Added isExecuting logic to prevent infinite recursion with two way
bindings. We have a check in the Bindable generated setter, but
it fails, because "NaN !== NaN" is returning true. Go figure.
modules/swfutils/src/java/flash/util/StringUtils.java
Tweaked formatString() to handle unicode characters and added
unformatString() to do the opposite for direct AST generation.
modules/compiler/src/java/flex2/compiler/Source.java
Added shortName arg to the constructor used by the
InterfaceCompiler for inline components.
modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
Modified completeTwoWayBindings() to ensure the destination is
Bindable.
modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.java
Modified "Node formatExpr()" to use StringUtils.unformatString()
to mimic what ASC's scanner would have done if it had read in the
value.
modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
Modified addExcludeClassNode() to no longer set the line and
column for the inlineExcludeNode and excludeTextNode, so they
don't have warnings and errors reported for them. I guess no one
compiles the frameworks with -keep. Otherwise, this would have
blocked them.
Modified createInlineComponentUnit() and createDefinitionUnit() to
pass in the className, as the shortName, to the Source
constructor.
modules/antTasks/src/flex/ant/MxmlcTask.java
modules/antTasks/src/flex/ant/CompcTask.java
modules/antTasks/src/flex/ant/AsDocTask.java
Added support for show-invalid-css-property-warnings option.
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-23111
http://bugs.adobe.com/jira/browse/SDK-23262
http://bugs.adobe.com/jira/browse/SDK-17908
http://bugs.adobe.com/jira/browse/SDK-21737
http://bugs.adobe.com/jira/browse/SDK-23559
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as
flex/sdk/trunk/modules/antTasks/src/flex/ant/AsDocTask.java
flex/sdk/trunk/modules/antTasks/src/flex/ant/CompcTask.java
flex/sdk/trunk/modules/antTasks/src/flex/ant/MxmlcTask.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/Source.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.ja va
flex/sdk/trunk/modules/swfutils/src/java/flash/util/StringUtils.java -
Revision: 5152
Author: [email protected]
Date: 2009-03-03 13:18:45 -0800 (Tue, 03 Mar 2009)
Log Message:
First pass of bug fixes for the Spark skins for Halo components.
Bugs:
SDK-19963 - themeColor should not affect rollOverColor or selectionColor in flex 4
SDK-19654 - Spark skin for the Halo ComboBox dropdown needs a drop shadow
SDK-19637 - Halo HScrollBar/VScrollBar controls dont render correctly when specifying includeIn states
SDK-19634 - Halo ProgressBar default size is very different when using Halo vs Gumbo theme
SDK-19626 - Flicker when toggling enabled property on Halo TabBar control with Gumbo skin
SDK-19556 - selected Halo CheckBox and RadioButton icons briefly flicker when you roll over them
SDK-19658 - Halo ComboBox with Gumbo skin has an odd flicker
Doc/QA Notes: The fix for SDK-19963 includes a compatibility-version check. When compatibility-version < 4, setting themeColor implicitly sets rollOverColor and selectionColor, if they have not been set. When compatibility-version >= 4, you must explicitly set rollOverColor and selectionColor, even when using the Halo theme.
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-19963
http://bugs.adobe.com/jira/browse/SDK-19654
http://bugs.adobe.com/jira/browse/SDK-19637
http://bugs.adobe.com/jira/browse/SDK-19634
http://bugs.adobe.com/jira/browse/SDK-19626
http://bugs.adobe.com/jira/browse/SDK-19556
http://bugs.adobe.com/jira/browse/SDK-19658
http://bugs.adobe.com/jira/browse/SDK-19963
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxApplication.as
flex/sdk/trunk/frameworks/projects/framework/defaults.css
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RectangularDropShadow.as
flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml
flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ProgressBarTrackSkin.mxm l -
Revision: 5170
Author: [email protected]
Date: 2009-03-04 17:50:32 -0800 (Wed, 04 Mar 2009)
Log Message:
Round 2 of bug fixes for the Spark skins for Halo components. Thanks to Alex for help with the data grid issues.
Bugs fixed:
SDK-19655 - Setting rowCount property on DataGrid causes extra blank row to be displayed
SDK-19652 - Items in a DataGrid do not line up after scrolling.
SDK-19605 - disabled Halo ColorPicker with Gumbo skin draws too dark
SDK-19596 - When you have a single button on an Alert, the left edge looks flatter than the right
SDK-19585 - Menus compiled with the halo theme in Flex 4 have a different backgroundColor than in Flex 3
SDK-19665 - Halo List with Gumbo skin doesnt draw the alternating item color all the way to the right edge of the control if VScrollBar is present
SDK-19651 - odd header rendering issue on Halo DataGrid with Gumbo skin
QA Notes: The alert layout code was positioning the buttons/text on sub-pixel boundaries if the width or height of the alert was an odd number of pixels. We always snap to pixel boundaries now, but this may cause bitmap compare issues with Alert.
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-19655
http://bugs.adobe.com/jira/browse/SDK-19652
http://bugs.adobe.com/jira/browse/SDK-19605
http://bugs.adobe.com/jira/browse/SDK-19596
http://bugs.adobe.com/jira/browse/SDK-19585
http://bugs.adobe.com/jira/browse/SDK-19665
http://bugs.adobe.com/jira/browse/SDK-19651
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/alertClasses/AlertForm.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as
flex/sdk/trunk/frameworks/projects/halo/defaults.css
flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ColorPickerSkin.mxml -
[svn:fx-trunk] 11574: Drag and Drop - Bug fixes:
Revision: 11574
Author: [email protected]
Date: 2009-11-09 10:53:35 -0800 (Mon, 09 Nov 2009)
Log Message:
Drag and Drop - Bug fixes:
- Added slight delay before drag-scrolling start.
- Single selection ctrl+drag fixed.
- Default drop indicator for List that doesn't have drop indicator specified in its skin. The default DI is specified through the new dropIndicatorSkin List style.
- Memory leak for the drop indicator dynamic skin part.
- ListItemDragProxy incorrectly listed in spark-manifest.xml moved to SparkClassess.
QE notes: None
Doc notes: None
Bugs: SDK-24047, SDK-23999, SDK-23871
Reviewer: Glenn, Deepa
Tests run: checkintests, mustella (List, ListDragDrop)
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-24047
http://bugs.adobe.com/jira/browse/SDK-23999
http://bugs.adobe.com/jira/browse/SDK-23871
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/defaults.css
flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/DropLocation.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
flex/sdk/trunk/frameworks/spark-manifest.xml
Added Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ListDropIndicator.asJust found a reference to a work around to the issue by putting the macbook to sleep & waking it. Worked a treat !
This makes it usable again. Which is lucky as I was preparing to see how far I could toss the macbook !
Suppose I'll need to wait for a patch. -
[svn:fx-trunk] 11737: ComboBox and DropDownList bug fixes
Revision: 11737
Author: [email protected]
Date: 2009-11-12 13:25:33 -0800 (Thu, 12 Nov 2009)
Log Message:
ComboBox and DropDownList bug fixes
SDK-23635 - Implement type-ahead in DropDownList
Added code in DropDownListBase keyDownHandler to listen for letters and change the selection if there is a match. At some point, we should modify findKey and findString (I'll file an ECR for that). For now, I've just overridden findKey and cobbled together the logic from List.findKey and List.findString. In ComboBox, we override findKey to do nothing since ComboBox has its own logic that relies on textInput changes.
SDK-23859 - DropDownList does not reset caretIndex when selection is cleared
Fixed this in two places. In ComboBox.keyDownHandlerHelper, we update the caret index when ESC is pressed. In DropDownListBase.dropDownController_closeHandler, we update the caret index if the commit has been canceled (ie. ESC was pressed).
SDK-24175 - ComboBox does not select an item with ENTER when openOnInput = false
When the ComboBox was closed and the arrow keys were pressed, the selectedIndex was changed. When ENTER was pressed, it was committing actualProposedSelectedIndex, not selectedIndex. The fix is to override the selectedIndex setter to keep actualProposedSelectedIndex in sync if selectedIndex was changed. Usually it is kept in sync when the dropDown is opened.
SDK-24174 - ComboBox does not scroll correctly when openOnInput = false
When typing in a match, the caretIndex was changed, but not the selectedIndex (because matching when it is closed doesn't commit the value until you press ENTER or lose focus). When closed, the navigation keys were changing the selectedIndex relative to the previous selectedIndex. I updated this to change relative to caretIndex instead. In most cases, caretIndex and selectedIndex are equivalent while the dropDown is closed.
Other changes:
- Replaced some calls to dropDownController.isOpen with isDropDownOpen.
- Added protection RTE protection to ComboBox.changeHighlightedSelection
QE notes: None
Doc notes: None
Bugs: SDK-23635, SDK-23859, SDK-24175, SDK-24174
Reviewer: Deepa
Tests run: ComboBox, DropDownList
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-23635
http://bugs.adobe.com/jira/browse/SDK-23859
http://bugs.adobe.com/jira/browse/SDK-24175
http://bugs.adobe.com/jira/browse/SDK-24174
http://bugs.adobe.com/jira/browse/SDK-23635
http://bugs.adobe.com/jira/browse/SDK-23859
http://bugs.adobe.com/jira/browse/SDK-24175
http://bugs.adobe.com/jira/browse/SDK-24174
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownListBase.asThis bug figures out also when creating a custom spark ComboBox, then trying to programatically update the userProposedSelectedIndex property. The proposed selected index is selected, but does not apply the same skin as when mouse is on rollover or item is selected due to up and down keys.
The issue seems like updating the status of the item renderer to rollover or selected to get the same skin applied.
Please could you attach DropDow nList.as that you edited ?
Thank you so much. -
[svn:fx-trunk] 8520: BitmapFill and BitmapImage bug fixes
Revision: 8520
Author: [email protected]
Date: 2009-07-10 16:53:09 -0700 (Fri, 10 Jul 2009)
Log Message:
BitmapFill and BitmapImage bug fixes
http://bugs.adobe.com/jira/browse/SDK-17477 - only edge pixels expand when resize this bitmapGraphic
If repeat mode is false, the Player will extend the edge pixels of the bitmap to fill the empty space. The fix is to limit the fill area to the size of the bitmap.
http://bugs.adobe.com/jira/browse/SDK-21980 - BitmapFill repeat property behaves differently than BitmapImage
If repeat mode is false, the Player will extend the edge pixels of the bitmap to fill the empty space. The fix is to draw the transformed bitmapData into a new bitmapData that is two pixels wider and taller than the source bitmap if repeat is false. There is a caching mechanism that keeps the new bitmapData around unless the source, one of the transform properties or the bounds size have changed.
There is an additional optimization which only uses the extra bitmapData if it is larger than the bounds or if it has been transformed.
Unfortunately this means that the BitmapFill will keep around an extra bitmapData object in certain circumstances. This situation will most frequently happen when the bitmap is smaller than the shape being filled and repeat is set to false.
QE Notes: Add tests where the BitmapFill shape or BitmapImage size is larger than the bitmap itself and repeat = false
Doc Notes: None
Bugs: SDK-17477, SDK-21980
Reviewer: Glenn
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-17477
http://bugs.adobe.com/jira/browse/SDK-21980
http://bugs.adobe.com/jira/browse/SDK-17477
http://bugs.adobe.com/jira/browse/SDK-21980
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as -
[svn:fx-trunk] 12043: * Weekly batch of compiler fixes.
Revision: 12043
Revision: 12043
Author: [email protected]
Date: 2009-11-20 08:00:57 -0800 (Fri, 20 Nov 2009)
Log Message:
Weekly batch of compiler fixes.
QE notes: mustella server runs can use -debug or
-omit-trace-statements=false now.
Doc notes: Yes, new option.
Bugs: SDK-24229, SDK-24228, SDK-24224, SDK-24271, SDK-24001, SDK-24075
Reviewer: Pete F (SwcChecksums.java, PreLink.java), Corey (everything else)
Tests run: full cyclone, which had some mxunit and junit failures,
which I fixed and confirmed by rerunning the failed tests.
Mustella had a bunch of VideoPlayer related failures, which
I assume a related to the switch to the OSMF player.
Is noteworthy for integration: Yes, added new option -omit-trace-statements,
the default is true for production.
Code-level description of changes:
modules/compiler/src/java/flex2/configuration_en.properties
Added details for report-invalid-styles-as-warnings and
show-invalid-css-property-warnings to finish off SDK-24001.
modules/compiler/src/java/flex2/tools/SwcChecksums.java
Take non-SWC theme files into consideration when generating the
SWC checksum, because getThemeInfo() in CompilerConfiguration has
doChecksum() returning false. This fixes part of SDK-24271.
modules/compiler/src/java/flex2/tools/PreLink.java
Modified processMainUnit() to replace duplicates returned from
StylesContainer.processDependencies() rather than skipping them.
This fixes the rest of SDK-24271, which was introduced by revision
11575.
modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
Added omit-trace-statements option.
modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java
frameworks/flex-config.xml
Added omit-trace-statements default of true.
modules/compiler/src/java/flex2/compiler/SymbolTable.java
Modified constructor to turn on trace statement omission when
debug is false and omitTraceStatements is true.
modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
Essentially revert the fix for SDK-23662, which fixes SDK-24229,
SDK-24228, and SDK-24224.
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-24229
http://bugs.adobe.com/jira/browse/SDK-24228
http://bugs.adobe.com/jira/browse/SDK-24224
http://bugs.adobe.com/jira/browse/SDK-24271
http://bugs.adobe.com/jira/browse/SDK-24001
http://bugs.adobe.com/jira/browse/SDK-24075
http://bugs.adobe.com/jira/browse/SDK-24001
http://bugs.adobe.com/jira/browse/SDK-24271
http://bugs.adobe.com/jira/browse/SDK-24271
http://bugs.adobe.com/jira/browse/SDK-23662
http://bugs.adobe.com/jira/browse/SDK-24229
http://bugs.adobe.com/jira/browse/SDK-24228
http://bugs.adobe.com/jira/browse/SDK-24224
Modified Paths:
flex/sdk/trunk/frameworks/flex-config.xml
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SymbolTable.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/configuration_en.properties
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Mxmlc.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/SwcChecksums.java -
[svn:fx-trunk] 10647: * A batch of compiler fixes.
Revision: 10647
Author: [email protected]
Date: 2009-09-28 10:21:59 -0700 (Mon, 28 Sep 2009)
Log Message:
A batch of compiler fixes.
QE notes:
Doc notes:
Bugs: SDK-22258, SDK-21547, SDK-22879, SDK-23169, SDK-23336
Reviewer: Edwin (ActionFactory.java), Ryan (VideoPlayer.as), Corey
Tests run: full cyclone
Is noteworthy for integration: Yes, HostComponent, SkinPart, and
SkinState metadata is now validated by
the compiler.
Code-level description of changes:
frameworks/projects/spark/src/spark/skins/spark/BorderSkin.as
Made HostComponent fully qualified.
frameworks/projects/spark/src/spark/components/VideoPlayer.as
Updated SkinState metadata to reflect revision 7732.
modules/swfutils/src/java/flash/swf/ActionFactory.java
Made getLabel() more bullet proof.
modules/compiler/src/java/flex2/compiler_en.properties
Added as3.HostComponentExtension.HostComponentClassNotFound,
as3.HostComponentExtension.MissingSkinPart,
as3.HostComponentExtension.MissingSkinState,
as3.SyntaxTreeEvaluator.OnlyOneHostComponentAllowed, and
as3.SyntaxTreeEvaluator.SkinPartsMustBePublic.
modules/compiler/src/java/flex2/compiler/CompilationUnit.java
Replaced hasHostComponentMD with hostComponentMetaData.
modules/compiler/src/java/flex2/compiler/as3/genext/GenerativeClassInfo.java
Modified getImports() to support Vectors.
modules/compiler/src/java/flex2/compiler/as3/HostComponentEvaluator.java
Removed, because we really don't need to evaluate the AST again to
find the HostComponent metadata since SyntaxTreeEvaluator has
already found it.
modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java
Modified generateTypeExpression() and generateVariable() to
support passing in a position.
modules/compiler/src/java/flex2/compiler/as3/SyntaxTreeEvaluator.java
Modified evaluate(Context, MetaDataNode) to handle .
Modified processHostComponentMetaData() to store the node in the
CompilationUnit and report an error if more than one HostComponent
is found.
Added processSkinPartMetaData().
modules/compiler/src/java/flex2/compiler/as3/HostComponentExtension.java
Refactored to handle what HostComponentEvaluator was doing, plus
validate HostComponent, SkinPart and SkinState metadata.
modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.java
Modified generateDefinitionBody() to store a line number mapped
position for the variable definition.
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-22258
http://bugs.adobe.com/jira/browse/SDK-21547
http://bugs.adobe.com/jira/browse/SDK-22879
http://bugs.adobe.com/jira/browse/SDK-23169
http://bugs.adobe.com/jira/browse/SDK-23336
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/BorderSkin.as
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilationUnit.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/HostComponentExtension.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SyntaxTreeEvaluator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/genext/GenerativeClassInfo.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/ActionFactory.java
Removed Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/HostComponentEvaluator.java -
[svn:fx-trunk] 11732: * Another batch of compiler fixes.
Revision: 11732
Author: [email protected]
Date: 2009-11-12 13:18:47 -0800 (Thu, 12 Nov 2009)
Log Message:
Another batch of compiler fixes.
QE notes: The mxunit test
Namespaces_LibraryTag_Definition_GraphicalAssetTest failed,
but I think the test should result in a compile error.
Doc notes:
Bugs: SDK-23898, SDK-24001, SDK-24075, SDK-22471, SDK-23772, SDK-23662
Reviewer: Corey
Tests run: ran full cyclone twice, but all the mustella tests timed
out on the "cyclone assist" server, so I ran a sampling
locally.
Is noteworthy for integration: No
Code-level description of changes:
modules/swfutils/src/java/flash/util/StringUtils.java
Modified unformatString() to more closely match the opposite of
formatString() by only converting a double backslash to a single
backslash when it precedes a 'u'. This fixes SDK-23898.
modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
Made report-invalid-styles-as-warnings and
show-invalid-css-property-warnings no longer hidden. This fixes
SDK-24001.
modules/compiler/src/java/flex2/compiler/SymbolTable.java
Added debug param to constructor and modified it to turn on
perCompileData.omitTrace when it's false. This fixes SDK-24075.
modules/compiler/src/java/flex2/compiler/mxml/rep/AtEmbed.java
Uncommented fix for SDK-22471, which was accidentally commented
out.
modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
Modified analyze(XMLNode) to only add an import for XMLUtil when
e4x is false. This fixes SDK-23772.
Modified analyze(XMLListNode) to no longer add an import for
XMLUtil, because it's not used.
Modified createInlineComponentUnit() and createDefinitionUnit() to
use new method getInnerClassName() to create a unique className,
if the user doesn't specify one. This fixes SDK-23662.
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-23898
http://bugs.adobe.com/jira/browse/SDK-24001
http://bugs.adobe.com/jira/browse/SDK-24075
http://bugs.adobe.com/jira/browse/SDK-22471
http://bugs.adobe.com/jira/browse/SDK-23772
http://bugs.adobe.com/jira/browse/SDK-23662
http://bugs.adobe.com/jira/browse/SDK-23898
http://bugs.adobe.com/jira/browse/SDK-24001
http://bugs.adobe.com/jira/browse/SDK-24075
http://bugs.adobe.com/jira/browse/SDK-22471
http://bugs.adobe.com/jira/browse/SDK-23772
http://bugs.adobe.com/jira/browse/SDK-23662
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SymbolTable.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/AtEmbed.java
flex/sdk/trunk/modules/swfutils/src/java/flash/util/StringUtils.java
Maybe you are looking for
-
Customization of Item Category
Hi gurus While I was doing Blanket purchase order, when I select item category as ' B', PO quantity and order of unit are getting selected. I don't want them to get selected. Can someone tell me how to customize the item category? Where ca
-
Differences between Oracle BPM and Aqualogic BPM 6.0
Hello, Does anyone know where I can find information that spells out the differences between Aqualogic 6.0 and Oracle BPM (if there are any)? I've searched the Oracle sites, documentation sections, etc. and I cannot find a datasheet that spells out a
-
Apple Apps open and immediately shutdown
My Apple apps (iTunes, Playlists, iBooks) are shutting down as soon as I open then. I'm also not able to install anything from the App Store. All the other apps are working fine. I've "re-set" and "re-boot". Suggestions???
-
I am not able to access empty paragraphs
I have problem in VBScript with accessing paragraphs with no contents inside of table cells. Here is a snippet of my code (Row is the table row I am working on): For Each Cell in Row.Cells For Each Paragraph In Cell.Paragraphs ' Do something
-
I open my Library and go to Preferences and find that about 20% are in English. The rest appear to be in Greek. I can't read Greek. Help, thanks