[Commits] [fluid-project/infusion] 16fa7c: FLUID-4257: Genuine lifecycle system for component...

GitHub noreply at github.com
Wed Aug 22 14:29:47 EDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/fluid-project/infusion
  Commit: 16fa7cda8f41e82d54983895160793eb0e1b5a91
      https://github.com/fluid-project/infusion/commit/16fa7cda8f41e82d54983895160793eb0e1b5a91
  Author: Antranig Basman <antranig.basman at colorado.edu>
  Date:   2012-08-22 (Wed, 22 Aug 2012)

  Changed paths:
    M src/webapp/framework/core/js/Fluid.js
    M src/webapp/framework/core/js/FluidIoC.js
    M src/webapp/tests/framework-tests/core/html/FluidIoC-test.html
    M src/webapp/tests/framework-tests/core/js/FluidIoCTests.js
    M src/webapp/tests/framework-tests/core/js/FluidJSTests.js

  Log Message:
  -----------
  FLUID-4257: Genuine lifecycle system for components, including 4 new standard events on every eventedComponent, onCreate, onAttach, onClear and onDestroy. New method on every component, "destroy" will initiate appropriate destruction semantics. Automatic tracking of listeners generated and injected by the framework, to ensure that any registered by a destroyed component are automatically unregistered. Fixes to core framework event system to allow removal by reference for an event which was registered by namespace. Lazy init upgrade for core event firers to try to ensure that proliferation of new events on all components does not create unnecessary memory garbage (this would otherwise be 12 objects per component) - listener records are now only initialised when the first listener is added. Linting fixes (mostly whitespace) for Fluid.js


  Commit: f7dbbdfec8e3e47dc0a97299da89066f8bbc5d0c
      https://github.com/fluid-project/infusion/commit/f7dbbdfec8e3e47dc0a97299da89066f8bbc5d0c
  Author: Michelle D'Souza <michelled33 at gmail.com>
  Date:   2012-08-22 (Wed, 22 Aug 2012)

  Changed paths:
    M src/webapp/framework/core/js/Fluid.js
    M src/webapp/framework/core/js/FluidIoC.js
    M src/webapp/tests/framework-tests/core/html/FluidIoC-test.html
    M src/webapp/tests/framework-tests/core/js/FluidIoCTests.js
    M src/webapp/tests/framework-tests/core/js/FluidJSTests.js

  Log Message:
  -----------
  Merge remote-tracking branch 'amb26/FLUID-4257'

* amb26/FLUID-4257:
  FLUID-4257: Genuine lifecycle system for components, including 4 new standard events on every eventedComponent, onCreate, onAttach, onClear and onDestroy. New method on every component, "destroy" will initiate appropriate destruction semantics. Automatic tracking of listeners generated and injected by the framework, to ensure that any registered by a destroyed component are automatically unregistered. Fixes to core framework event system to allow removal by reference for an event which was registered by namespace. Lazy init upgrade for core event firers to try to ensure that proliferation of new events on all components does not create unnecessary memory garbage (this would otherwise be 12 objects per component) - listener records are now only initialised when the first listener is added. Linting fixes (mostly whitespace) for Fluid.js


Compare: https://github.com/fluid-project/infusion/compare/095e1f1cde2c...f7dbbdfec8e3


More information about the Commits mailing list