Eric Rowell
|
63c8dde6d5
|
no longer auto clearing shape data. added new shape.clearData() method instead
|
2012-04-08 20:25:31 -07:00 |
|
Eric Rowell
|
30e8973956
|
added setX and setY methods for convenience
|
2012-04-08 18:22:04 -07:00 |
|
Eric Rowell
|
4f36b27199
|
refined global object temp nodes has removal when removing nodes from container. Also added another unit test
|
2012-04-08 17:50:46 -07:00 |
|
Eric Rowell
|
2035d188c8
|
added hash cleanup logic when nodes are moved from a container. Also added unit tests
|
2012-04-08 17:37:49 -07:00 |
|
Eric Rowell
|
3c17e59eb0
|
moved ids and names hashes to the stage level
|
2012-04-08 11:01:31 -07:00 |
|
Eric Rowell
|
8c70333472
|
added simple selector support by id (#) or by name (.). Selecting by name is similar to selecting by class in other DOM libraries
|
2012-04-07 20:32:24 -07:00 |
|
Eric Rowell
|
3243e5f8ff
|
added support for image de-serialization and cleaned up some of the Shape attr default logic
|
2012-04-07 19:08:16 -07:00 |
|
Eric Rowell
|
d3b025254a
|
new getAttrs() method
|
2012-04-07 18:50:53 -07:00 |
|
Eric Rowell
|
0a94c75e22
|
decided that the developer should be responsible for setting custom drawing functions, images, and event handlers via selectors rather than a hash map passed into the load() method
|
2012-04-07 18:40:44 -07:00 |
|
Eric Rowell
|
1a40e50622
|
finished custom shape serialization with new attrs structure
|
2012-04-07 15:03:19 -07:00 |
|
Eric Rowell
|
58eb778e9a
|
re-integrated simple serialization and deserialization with new attrs structure
|
2012-04-07 14:39:31 -07:00 |
|
Eric Rowell
|
ff896a4946
|
unit tests and functional tests now passing. Next up, re-integrate serialization with new attrs structure
|
2012-04-07 14:04:15 -07:00 |
|
Eric Rowell
|
6d618b97b5
|
first phase of new attrs architecture to better represent Node states
|
2012-04-05 23:48:58 -07:00 |
|
Eric Rowell
|
15bd27562e
|
continued work on serialization/de-serialization
|
2012-04-05 20:38:12 -07:00 |
|
Eric Rowell
|
350f7b7496
|
implemented stage.load() which allows you to deserialize a json string
|
2012-04-05 00:06:00 -07:00 |
|
Eric Rowell
|
bf86dacb59
|
setup simple serialization
|
2012-04-04 22:57:36 -07:00 |
|
Eric Rowell
|
f5b6b3c06f
|
fixed _modifyPathContext optimization problem
|
2012-04-04 20:46:58 -07:00 |
|
Eric Rowell
|
0ac84408e9
|
fixed bug with mouseout / mouseover events with nodes on the edge of the stage
|
2012-04-04 20:19:53 -07:00 |
|
Eric Rowell
|
21981e94eb
|
updated text metrics unit test so that it passes in Firefox
|
2012-04-04 20:08:53 -07:00 |
|
Eric Rowell
|
dc45f5e2d6
|
when using pixel detection, clear shape data whenever shape is drawn
|
2012-04-04 19:53:11 -07:00 |
|
Eric Rowell
|
2dff730081
|
added functional test that tests all of the transition easing functions
|
2012-04-03 23:46:59 -07:00 |
|
Eric Rowell
|
602220bdce
|
finished new animation, transitions, and tweens functionality
|
2012-04-03 23:00:35 -07:00 |
|
Eric Rowell
|
f953e4694f
|
tons of refactoring. Now have separate Transition and Tween classes
|
2012-04-03 22:23:13 -07:00 |
|
Eric Rowell
|
9e3baf69c1
|
added first phase of transition event subscription
|
2012-04-03 14:08:06 -07:00 |
|
Eric Rowell
|
a6b526ee76
|
added new animation stop logic
|
2012-04-03 13:44:48 -07:00 |
|
Eric Rowell
|
fc5825e61e
|
got the unit tests and functional tests passing. Have a few things left to do, and a bit more testing before I merge the transitions rewrite back into the trunk
|
2012-04-02 23:38:14 -07:00 |
|
Eric Rowell
|
d5834c8351
|
more new transition architecture integration
|
2012-04-02 22:54:05 -07:00 |
|
Eric Rowell
|
77aea95e7a
|
round 1 of animation + transition rewrite, while combing Xaric's Tween port
|
2012-04-02 21:03:59 -07:00 |
|
Eric Rowell
|
6ce9d5489c
|
reworked pixel detection. I now require the dev to use shape.save() to save the pixel data for performance reasons
|
2012-04-01 19:38:30 -07:00 |
|
Eric Rowell
|
72c0555d0b
|
pixel detection performance was horrible for large amounts of shapes. Added some optimizations which require knowledge of a shape's perceivable position and size based on transforms. This will be added in later. For the time being, only Kinetic.Images will have access to the detectionType property. Image cannot be transformed or offset with the center offset. Support for these will come soon as well.
|
2012-04-01 17:18:01 -07:00 |
|
Eric Rowell
|
313c6a1541
|
fixed drag and drop bug related to drag constraints and positioned containers. Just needed to move the drag constraint logic after the matrix unravel
|
2012-04-01 15:59:12 -07:00 |
|
Eric Rowell
|
bdafb3eb25
|
when node is at the edge of the canvas, and you mouse over the node and then off the canvas, the mouseout handlers for the node are executed
|
2012-04-01 11:34:22 -07:00 |
|
Eric Rowell
|
86a1337017
|
fixed bug related to multiple removals of same node
|
2012-04-01 10:29:16 -07:00 |
|
Eric Rowell
|
71b0449071
|
fixed drag and drop issue and reverted default easing back to linear
|
2012-04-01 10:06:00 -07:00 |
|
Eric Rowell
|
3a8afc747c
|
fixed bug related to multiple drag and drop initializations
|
2012-04-01 09:32:20 -07:00 |
|
ericdrowell
|
6889cd742c
|
Merge pull request #10 from jfollas/master
Workaround for older browser security exception using toDataURL() with parameters
|
2012-04-01 09:21:10 -07:00 |
|
Jason Follas
|
96659d7299
|
Revert to previous no-parameter (image/png) behavior if an exception is
encountered while calling canvas toDataURL() with parameters. See this
forum post: http://www.kineticjs.com/forum/viewtopic.php?f=10&t=423
|
2012-04-01 11:00:58 -04:00 |
|
Eric Rowell
|
98917fe644
|
transformed the layer in the star pixel detection functional test to make sure parent transforms don't break the pixel detection
|
2012-04-01 01:21:39 -07:00 |
|
Eric Rowell
|
95fabe9160
|
finished pixel detection algo which can be applied to any Shape. This enables a lot of new functionality, such as image pixel detection, shape border detection, and custom shape detection that isn't drawn with a standard path
|
2012-04-01 01:08:33 -07:00 |
|
Eric Rowell
|
08e2b74da9
|
preparing codebase for new pixel detection property
|
2012-04-01 00:31:02 -07:00 |
|
Eric Rowell
|
8f104a6fad
|
added new getTextSize(), getTextWidth(), and getTextHeight() methods
|
2012-03-31 15:40:27 -07:00 |
|
Eric Rowell
|
8398670a47
|
added new getAbsoluteZIndex() and getLevel() methods to Node
|
2012-03-31 15:17:36 -07:00 |
|
Eric Rowell
|
99d9381411
|
added setDrawFunc() method to Shape so that you can dynamically change the drawing function. added new unit test
|
2012-03-31 00:14:18 -07:00 |
|
Eric Rowell
|
9994e8a37e
|
added getSize() method to Stage, Rect, and Image. Also updated unit tests
|
2012-03-31 00:08:50 -07:00 |
|
Eric Rowell
|
69c27de7df
|
added line join property to Shape along with getter and setter
|
2012-03-30 23:57:10 -07:00 |
|
Eric Rowell
|
4426625b8b
|
fixed syntax errors found by agentultra
|
2012-03-30 22:09:23 -07:00 |
|
Eric Rowell
|
fc743d1442
|
undid last commit. I pulled in a commit from another fork which makes the isPointInPath extensible, but then realized that this doesn't really have a usage outside of my current path detection algo because the backstage layer needs to be redrawn each time
|
2012-03-30 22:04:51 -07:00 |
|
Yusuf Safak Bayram
|
79c778ebff
|
added extensible isPointInPath
|
2012-03-30 21:20:48 -07:00 |
|
Eric Rowell
|
540670ba8b
|
updated docs
|
2012-03-30 21:06:26 -07:00 |
|
ericdrowell
|
ca887f1ff5
|
Merge pull request #9 from yacomink/master
A fontStyle param for Text objects
|
2012-03-30 20:47:35 -07:00 |
|