0 Replies Latest reply on Dec 18, 2008 1:24 PM by (Paul_Reilly)

    [svn] 4354: * Further reduction of data binding code size.

      Revision: 4354
      Author: preilly@adobe.com
      Date: 2008-12-18 13:24:42 -0800 (Thu, 18 Dec 2008)

      Log Message:
      -----------
      * Further reduction of data binding code size.

      tests Passed: checkintests, mxunit data binding

      Needs QA: YES

      Needs DOC: NO

      API Change: NO

      Reviewer: Corey

      Code-level description of changes:

      frameworks/projects/framework/src/mx/binding/Binding.as

      Added defaultDestFunc() and modified constructor to use it if
      destFunc is null.

      modules/compiler/src/java/flex2/compiler/as3/binding/BindableFirstPassEvaluator.java
      modules/compiler/src/java/flex2/compiler/css/StyleDef.vm

      Cleaned up unused imports.

      modules/compiler/src/java/flex2/compiler/css/FontFaceRules.vm

      Removed "extends Sprite".

      modules/compiler/src/java/flex2/compiler/mxml/rep/BindingExpression.java

      Added isSimpleChain().

      modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm

      Reduced lines of code in _bindingsSetup().

      modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java

      Equivalent to changes me to ClassDefLib.vm.

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/Binding.as
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableFirstPassEval uator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/FontFaceRules.vm
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/BindingExpression.java