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

Revision: 19102
Author:   scai@adobe.com
Date:     2010-12-07T18:21:02.475131Z

Log Message: 
-----------
1. Add -compiler.compress option to switch on/off SWF compression.
2. Change compiler so that by default debugging SWF is not compressed and release SWF is compressed, unless override by -compiler.compress
3. For compressed SWF, always to BestCompression so that SWC digest of osfm and textlayout doesn't break.
4. library.swf in a SWC is still compressed for the same reason in #3.

QE notes: Need tests for combinations of -compiler.debug and -compiler.compress
Doc notes: Add -compiler.compress and behavior change in -compiler.debug to docs.
Bugs: http://bugs.adobe.com/jira/browse/SDK-27110
Reviewer: Peter Farland
Tests run: checkintests, mustella, mxunit
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/swfutils/src/java/flash/swf/MovieEncoder.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/swfutils/src/java/flash/swf/SwfEncoder.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/compiler/swc/Swc.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/tools/Optimizer.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/tools/flexbuilder/BuilderConfiguration.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/tools/oem/internal/OEMConfiguration.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/flex-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/tools/oem/Configuration.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/compiler/PersistenceStore.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/swfutils/src/java/flash/swf/TagEncoder.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/compiler/CompilerAPI.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/tools/oem/internal/ConfigurationConstants.java</path>

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

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