Skip to content

Conversation

@DnMllr
Copy link
Contributor

@DnMllr DnMllr commented Jun 13, 2015

I am submitting a cleanup of core that has a few notable features.

  1. Transforms are calculated far more efficiently.
  2. Everything is based around paths representing a precise location in the scene graph.
  3. Node's internal logic has been greatly simplified.
  4. Unit testing patterns have been notably improved.

This will be ready to merge once it passes travis.

Thanks for everyone's patience.

DnMllr and others added 30 commits June 12, 2015 11:31
wip: added more functionality to Path and Transform

feature: added object for constant time lookup of nodes by path

feature: added functionality to Dispatch

feature: added getSelector to pathutilities

wip: Node will defer to Dispatch for message passing (beginning with mount and show)

chore: added documentation to changes in Dispatch

feature: made Dispatch a singleton and refactored code to reflect that

chore: linted node

chore: lint

wip

chore: documentation and linting

fix: added documentation and removed unused class vars

feature: added the ability to request updates for transformsystem

feature: Node now uses TransformSystem

feature: added deregister method to TransformSystem

feature: raced towards working implementation

fix: index 15 needs to be 1

fix: High school math

fix: DOMRenderer#setContent
wip: added more functionality to Path and Transform

feature: added object for constant time lookup of nodes by path

feature: added functionality to Dispatch

feature: added getSelector to pathutilities

wip: Node will defer to Dispatch for message passing (beginning with mount and show)

chore: added documentation to changes in Dispatch

feature: made Dispatch a singleton and refactored code to reflect that

chore: linted node

chore: lint

wip

chore: documentation and linting

fix: added documentation and removed unused class vars

feature: added the ability to request updates for transformsystem

feature: Node now uses TransformSystem

feature: added deregister method to TransformSystem

feature: raced towards working implementation

fix: index 15 needs to be 1

fix: High school math

fix: DOMRenderer#setContent

refactor: Use cssify instead of inline styles

feature: switch -> array + enum

feature: added more functions

fix: Merge resize listeners

refactor: Break out switch statement for receiving commands into separate functions

feature: removed switch statement

refactor: Convert string based commands to object lookup

fix: closer to working with array + enum

fix: context resize

fix: improper insertion sort

feature: small optimizations to renderers/Context

fix: Node now properly emits events using the new dispatch

test: Fix FamousEngine tests to account for time scaling

fix: Remove license headers from json files

test: Remove tests for deprecated Node methods

fix: fixing format and type options for texture

test: Fix DOMElement tests

test: Improve DOMElement tests

test: Test keyValueToArrays

fix: Add famous-dom-element-content styles

fix: inserting an el should result in children being appended Properly

fix: proper while loop

fix: Remove DEFAULT_PROPERTIES

chore: renamed getGlobalTransform to getWorldTransform

chore: removed dead code

fix: Mesh to use new transforms

fix: require transformSystem into Mesh

fix: WebGl updated to new transform system

fix: use alias

fix: mount related bugs

fix: add camera commands

fix: incorrect function signature
It's "deprecated", not "depricated"!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DnMllr size doesn't seem to have a getDifferentialSize() method. Usingnode and changing this to var differentialSize = node.getDifferentialSize(); seems to work well though.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bart-jansen
Copy link
Member

Really big 👍 I did some performance testing using 900(!) rotating DIVs. Using the current engine I'd be able to get 2-3FPS whereas this rewrite performs at 55-60(!)FPS

Great job @DnMllr !

@michaelobriena michaelobriena added this to the 0.6.0 milestone Jun 15, 2015
package.json Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is killing the travis build. We do not have a dep on cssify anymore.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has this been rebased against develop?

There are regressions in this package json

For example the removal of the tape script

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@michaelobriena
Copy link
Member

Landed in 0.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants