0 Replies Latest reply on Sep 2, 2008 11:40 AM by (Paul_Reilly)

    [svn] 3062: Updated SWC defaults. css support to only pull in the styles from SWC's

    Level 1
      Revision: 3062
      Author: preilly@adobe.com
      Date: 2008-09-02 12:40:23 -0700 (Tue, 02 Sep 2008)

      Log Message:
      -----------
      Updated SWC defaults.css support to only pull in the styles from SWC's
      that are used by an application.

      tests Passed: checkintests

      Needs QA: YES

      Needs DOC: NO

      Bug fixes: SDK-15794

      API Change: NO

      Reviewer: pfarland

      Code-level description of changes:

      frameworks/tests/checkinapp/checkinapp_testScript.mxml

      Changed two pixels to the correct value. The values were
      dependent on flex4.swc's defaults.css even though this is a pure
      2006 app.

      modules/webtier/servlet/src/java/flex/webtier/server/j2ee/IncrementalCompileFilter.java
      modules/compiler/src/java/flex2/tools/oem/Application.java
      modules/compiler/src/java/flex2/tools/oem/Library.java
      modules/compiler/src/java/flex2/tools/oem/Toolkit.java
      modules/compiler/src/java/flex2/tools/Compc.java
      modules/compiler/src/java/flex2/tools/WebTierAPI.java
      modules/compiler/src/java/flex2/tools/Mxmlc.java
      modules/compiler/src/java/flex2/tools/Fcsh.java

      Removed passing of the compatibilityVersionString into the
      CompilerSwcContext constructor, since it's no longer used.

      modules/compiler/src/java/flex2/tools/PreLink.java

      modules/compiler/src/java/flex2/tools/CompcPreLink.java
      modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
      modules/compiler/src/java/flex2/compiler/CompilerSwcContext.java

      Removed defaultsStyles variable, accessors, and lookupDefaultsStyles().

      modules/compiler/src/java/flex2/compiler/PreLink.java

      Modified processMainUnit() to call new method,
      locateStyleDefaults(), which pulls in defaults.css only from
      SWC's that are used.

      modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java

      Changed signature of addDefaultsCssFiles() to also support Set's.

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-15794

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/tests/checkinapp/checkinapp_testScript.mxml
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerSwcContext.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/PreLink.java
      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/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/WebTierAPI.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/oem/Toolkit.java
      flex/sdk/trunk/modules/webtier/servlet/src/java/flex/webtier/server/j2ee/IncrementalCompi leFilter.java