Commit Graph

285 Commits

Author SHA1 Message Date
Eric Rowell
6d31f6ed08 new transformsEnabled property which yields absolute best rendering performance 2013-12-10 23:28:46 -08:00
Eric Rowell
44b5b63263 fixed #634 2013-12-10 21:36:31 -08:00
Eric Rowell
8b4deb004d added stage nestedTransformsEnabled flag 2013-12-09 22:46:58 -08:00
Eric Rowell
37c3ce1b47 added layer hitGraphEnabled flag 2013-12-09 22:31:18 -08:00
Eric Rowell
422a6b305b implemented enableNestedTransforms flag which forces the rendering engine to skip nested transform calculations when they aren't needed 2013-12-05 22:29:50 -08:00
Eric Rowell
a57d6c6106 more unit tests working, more refactoring 2013-12-02 21:25:20 -08:00
Eric Rowell
96a9bd2248 fixed comma 2013-11-27 21:34:06 -08:00
Eric Rowell
aa78d632db fixed #382 #198 2013-11-27 21:32:36 -08:00
Eric Rowell
bc9bd291fc began refactoring layer getIntersection method and added unit tests 2013-11-27 16:05:35 -08:00
Eric Rowell
6bd0992dd8 fixed #673 2013-11-08 00:30:26 -08:00
Eric Rowell
65166d7ddd added role=presentation to content node 2013-11-02 22:39:24 -07:00
Eric Rowell
9e437d2b83 Merge branch 'master' of github.com:ericdrowell/KineticJS 2013-11-02 22:31:23 -07:00
Eric Rowell
f5d5e26e5e fixed pixel ratio issue with buffer canvas usage 2013-11-02 22:31:09 -07:00
Eric Rowell
2c7ea40f7e Merge pull request #581 from mihhail-lapushkin/master
Resolved compatibility issues with CocoonJS
2013-10-18 10:13:22 -07:00
Andrew Ippoliti
1dbbf3d301 Merge pull request #626 from kzhdev/fix-node-_fire-error
Don't use cached event listener length in node._fire because changing shape attribute could remove kinetic event handler from the array which will cause 'hander of undefined' error
2013-10-10 20:11:17 -07:00
Eric Rowell
d03341f55c fixed #83 2013-10-08 09:29:08 -07:00
kzhdev
ecde9a5d84 pass evt into contentMouseDown and contentMouseUp event 2013-10-03 10:45:02 -05:00
Eric Rowell
e13a0b5fd8 fixed issue with stage panning. stage node type needs to be declared before calling super constructor 2013-09-28 21:55:57 -07:00
Eric Rowell
ba6e30aa97 shadow logic is now applied to buffer context, not a newly created one each time drawScene is created 2013-09-26 22:10:37 -07:00
Eric Rowell
5bac5358a9 finished migrating DD tests to mocha. refactored functional test site directory 2013-09-25 23:25:59 -07:00
Eric Rowell
b56880bccf issues #606 now using ua detection for layerX/Y usage 2013-09-25 10:37:44 -07:00
Eric Rowell
4234af4848 issue #606 removed evt.layerX and use evt.pageX/Y instead 2013-09-25 10:11:51 -07:00
Eric Rowell
8105edca62 issue #606 moved evt.layerX/Y check at the end of the double pipe chain 2013-09-25 09:55:12 -07:00
ericdrowell
a389fbc6f0 implemented stage content mobile events and added functional tests 2013-09-20 16:45:59 -07:00
ericdrowell
068cb1efc8 added new content events to clean up stage events. added first mocha functional test 2013-09-20 16:17:32 -07:00
Eric Rowell
c40fc7cf38 removed Global namespace. global stuff is now just global, inside the Kinetic namespace. There was no reason to have a secondary level for global vars 2013-09-08 22:02:04 -07:00
Eric Rowell
3ba89d36e7 introduced new Context class. I've bumped up the next release to v4.7.0 because this is a relatively big mind shift in how the framework works, and it's a big enough API change to warrant a minor update. This is the first step towards enabling context tracing for stellar unit testing 2013-08-31 21:49:18 -07:00
Jason Follas
bd07d96628 Added mouse position support when container is CSS transformed. History: https://github.com/ericdrowell/KineticJS/pull/141 2013-08-26 11:58:01 -04:00
Mihhail Lapuškin
09f7873a08 Resolved compatibility issues with CocoonJS 2013-08-25 12:24:20 +03:00
Eric Rowell
ec81250637 Merge pull request #552 from ElliotChong/patch-1
Fixes #543 - mouseout should fire before mouseover
2013-08-16 15:41:53 -07:00
Eric Rowell
64d6c79a6a moved factory logic out of Node.js to Factory.js 2013-08-10 21:11:34 -07:00
Elliot Chong
3f2e7b88be Fixing issue #543 - mouseout should fire before mouseover
A mouseout event for the current node should be fired before another node fires its mouseover event.
2013-08-06 20:35:44 -07:00
Eric Rowell
4cd658a1f1 mousemove should fire before mouseout 2013-07-28 01:01:39 -07:00
Eric Rowell
966c690966 stage.draw() was triggering two canvas clears 2013-07-28 00:31:44 -07:00
Eric Rowell
e65b975a6a did further refactoring of event flag handling in stage 2013-07-23 11:42:38 -07:00
Eric Rowell
4f8bd0bd3f fixed #357 and did a lot of event refactoring 2013-07-23 11:39:44 -07:00
Eric Rowell
06a8e42bee fixed up functional tests 2013-07-23 11:15:04 -07:00
Eric Rowell
3eea92d72e added validation for add(). An error is thrown if an invalid node is added 2013-07-22 22:47:13 -07:00
Eric Rowell
1fc57bed4c removed createAttrs method and cleaned up init logic 2013-07-22 22:05:21 -07:00
Eric Rowell
9324c366ea standardized init method names with underscores 2013-07-22 21:41:41 -07:00
Eric Rowell
7341384edf fixes #509 by adding layer to the list of variables inside the stage _resizeDOM method. Otherwise it is hoisted and defined globally 2013-07-21 22:17:53 -07:00
Eric Rowell
436f170ac2 fixes #510 preventDefault is no longer fired for mobile devices when an intersected shape is not listening for events 2013-07-21 20:14:09 -07:00
Eric Rowell
c79f286893 added stage mouseover and mouseout events 2013-07-05 10:38:02 -07:00
Eric Rowell
7c40333fc8 stage events can now be added without having a target node. i.e. you can bind mousedown, mouseup, click, dblclick, etc. to the stage directly 2013-07-04 00:20:28 -07:00
Eric Rowell
b86aa11d47 fix #352 also did major remove and destroy refactoring, and added lots of unit and visual tests 2013-06-08 15:57:36 -07:00
Eric Rowell
e8c9e7966f when a new stage is instantiated, it now clears the container DOM element 2013-06-08 14:29:58 -07:00
Eric Rowell
ffc33a7676 removeChildren now removes all descendants. returned this for all applicable methods in Node, Layer, Stage, and Shape 2013-06-06 22:45:31 -07:00
Eric Rowell
77793aed60 lots of jshinting 2013-06-01 22:03:02 -07:00
Eric Rowell
244273eb4c prevent default now occurs in the stage addEvent method 2013-05-31 23:11:21 -07:00
Eric Rowell
7069bf9e0c stage tweens now work correctly. getChildren() and getLayers() now return a Kinetic.Collection. added toArray() method to Kinetic.Collection 2013-05-19 21:07:43 -07:00