Transferred from the Adobe Open Source Subversion Repository
Transferred from the Adobe Open Source Subversion Repository

Revision: 12043
Author:   preilly@adobe.com
Date:     2009-11-20T16:00:57.896020Z

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.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/configuration_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/flex-config.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SymbolTable.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Mxmlc.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/SwcChecksums.java</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1290034 13f79535-47bb-0310-9956-ffa450edef68

danteinforno/flex-sdk,SlavaRa/flex-sdk,SlavaRa/flex-sdk,adufilie/flex-sdk,danteinforno/flex-sdk,danteinforno/flex-sdk,apache/flex-sdk,danteinforno/flex-sdk,shyamalschandra/flex-sdk,adufilie/flex-sdk,apache/flex-sdk,shyamalschandra/flex-sdk,adufilie/flex-sdk,apache/flex-sdk,adufilie/flex-sdk,shyamalschandra/flex-sdk,SlavaRa/flex-sdk,danteinforno/flex-sdk,adufilie/flex-sdk,apache/flex-sdk,apache/flex-sdk,shyamalschandra/flex-sdk,adufilie/flex-sdk,SlavaRa/flex-sdk,apache/flex-sdk,shyamalschandra/flex-sdk,shyamalschandra/flex-sdk,SlavaRa/flex-sdk,SlavaRa/flex-sdk,danteinforno/flex-sdk