Eric Rowell
|
c802935208
|
changed fillStroke() to fillStrokeShape() for consistency
|
2013-09-02 11:09:30 -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 |
|
Eric Rowell
|
ae66350d7f
|
fixed #577
|
2013-08-25 00:34:49 -07:00 |
|
Eric Rowell
|
d49ae15207
|
getStage() result is now cached. refactored caching system even further.
|
2013-08-11 20:34:54 -07:00 |
|
Eric Rowell
|
b8e3f10d3a
|
getVisible returns the visible attr. isVisible takes ancestors into account. getListening returns listening attr. isListening takes ancestors into account. added unit tests.
|
2013-08-10 16:19:33 -07:00 |
|
Eric Rowell
|
6f078dc127
|
now caching absolute opacity
|
2013-08-10 11:55:52 -07:00 |
|
Eric Rowell
|
d902e6dca0
|
absolute transforms are now cached
|
2013-08-10 00:58:53 -07:00 |
|
Eric Rowell
|
a0a2d9a676
|
visible attr is now cacheable
|
2013-08-09 23:00:35 -07:00 |
|
Eric Rowell
|
cb5cb66256
|
started setting up new caching system
|
2013-08-09 21:09:06 -07:00 |
|
Eric Rowell
|
46d69fd5d9
|
fixed unit tests
|
2013-07-21 20:49:45 -07:00 |
|
Eric Rowell
|
e6a9324d50
|
last pull request completely broke the unit tests. had to rewrite the get() logic so that it was correct
|
2013-07-21 16:05:40 -07:00 |
|
Eric Rowell
|
a3fe5b05ca
|
pulled all integration tests out of the unit test suite and put them into integrationTests.js. updated test suite index page
|
2013-06-02 12:16:39 -07:00 |
|
Eric Rowell
|
47364c63cd
|
deprecated getNodeType(), added className property to label, and added lots of Node doc examples
|
2013-05-17 11:46:06 -07:00 |
|
Eric Rowell
|
b1d1981fe9
|
added getType() and getClassName() methods. beefed up on() docs
|
2013-05-17 10:51:56 -07:00 |
|
Eric Rowell
|
8c9d2b5459
|
setAttr() is now a public method that can be used to set Kinetic attrs, or custom attrs
|
2013-05-14 22:37:33 -07:00 |
|
Eric Rowell
|
e024b43906
|
deprecated Ellipse shape, since you can create ellipses now with circles. updated tests
|
2013-05-13 22:19:51 -07:00 |
|
Eric Rowell
|
032eb9e4db
|
updated docs
|
2013-05-08 09:44:03 -07:00 |
|
Eric Rowell
|
e66e147274
|
Animations can now be tied to multiple layers. Removed Transition and Tween class from the build. Unhooked transition unit and manual tests for now. Added new animation setLayers() and getLayers() methods
|
2013-05-05 20:57:31 -07:00 |
|
Eric Rowell
|
43256d0916
|
added skew transform courtesy of danielkur #188
|
2013-05-01 10:56:01 -07:00 |
|
Eric Rowell
|
1dc323305b
|
all attrs that have x and y components now have individual component setters. i.e. you can use setScale() and pass in an object, or setScaleX() and setScaleY() individually
|
2013-04-27 20:50:42 -07:00 |
|
Eric Rowell
|
8a78b62cad
|
added matrix transform caching, and optimized the clear() method. This has improved rendering performance by about 17%
|
2013-04-21 22:42:25 -07:00 |
|
Eric Rowell
|
90a2820e5b
|
toDataURL and toImage now work correctly on devices with a pixel ratio != 1
|
2013-04-14 09:41:59 -07:00 |
|
Eric Rowell
|
793e43b0db
|
removed apply() Collection method. Added new mapMethods() Collection method, which is used internally to map node methods to collection methods
|
2013-03-25 22:43:35 -07:00 |
|
Eric Rowell
|
8a393cb6be
|
created new testJSON method which makes testing JSON comparisons really easy to debug. Also fixed small logic problem with new Image width and height getters. Reinabled all serialization/deserialization unit tests
|
2013-03-24 16:30:43 -07:00 |
|
Eric Rowell
|
46c7b89e06
|
created new test method, testDataUrl, which makes it super easy to identify data url comparison failures that resulted from Chrome upgrades. Begain integrating. fixed all synchronous unit test data url comparison failures
|
2013-03-24 14:12:00 -07:00 |
|
Eric Rowell
|
b5aaab3584
|
began updating the data url strings to match recent Chrome changes
|
2013-03-24 13:32:52 -07:00 |
|
Eric Rowell
|
542f675522
|
added getNodeType() and getShapeType() methods
|
2013-03-24 00:14:42 -07:00 |
|
Eric Rowell
|
9db24812bd
|
removed simulate method. refactoring also fixed bug in which if you fire a custom event that has not been registered, the script no longer fails
|
2013-03-21 19:43:17 -07:00 |
|
Eric Rowell
|
69f9374c8e
|
first pass at removing setDefaultAttrs logic to speed up node instantation performance
|
2013-03-15 08:33:05 -07:00 |
|
Eric Rowell
|
5c590bb88f
|
moved TextPath, RegularPolygon, and Star shapes to the plugins directory. updated all tests
|
2013-03-13 22:24:55 -07:00 |
|
Eric Rowell
|
6cd7ab135f
|
moved some manual tests to unit tests and greatly refactored the manual test suite
|
2013-01-27 16:27:17 -08:00 |
|
Eric Rowell
|
8ed84f474a
|
fixed several memory issues with transition logic. Heavily refactored Transition module. New Animation isRunning method. destroy() method now correctly stops currently running transitions. added several transition and destroy related unit tests
|
2013-01-13 19:59:35 -08:00 |
|
Eric Rowell
|
b6ba1a503c
|
ids and names hashes used for node selection via get() has moved to Global in order to greatly simplify the selection logic. This means that node ids and names are shared across all stages. If two stages each have a node with the same id, only the last id set will be accessibile (similar to DOM)
|
2013-01-13 11:10:49 -08:00 |
|
Eric Rowell
|
5cda46be69
|
drag and drop layer is now created on stage instantiation, and is removed and added as needed
|
2013-01-12 23:39:56 -08:00 |
|
Eric Rowell
|
ed579e4843
|
added new destroy Node method which removes and destroys a node. remove() now simply removes a node from the stage. You can re add the node at a later time with add(). getDOM() changed to getContent(). stage.remove() now correctly removes content node
|
2013-01-12 22:01:12 -08:00 |
|
Eric Rowell
|
4136ddb398
|
added new dragOnTop property which allows you to define whether or not a node is automatically moved to a temp top layer when dragging
|
2013-01-09 23:45:30 -08:00 |
|
Eric Rowell
|
7cb4c4269f
|
huge changes to Text shape. Skinnied it up by removing rectangle rendering component. textFill is now fill, textStroke is now stroke, textShadow is now shadow, and textStrokeWidth is now strokeWidth
|
2012-12-31 12:45:32 -08:00 |
|
Eric Rowell
|
206f7bf8d0
|
fixed up group drag and drop
|
2012-12-31 01:47:49 -08:00 |
|
Eric Rowell
|
83bf1740a6
|
flattened shadow object into shadowColor, shadowBlur, shadowOpacity, and shadowOffset attrs
|
2012-12-31 00:45:38 -08:00 |
|
Eric Rowell
|
16f81f6204
|
fixed up stage toImage() translation problem
|
2012-12-11 00:21:43 -08:00 |
|
Eric Rowell
|
cb8d36c393
|
fixed several bugs with toImage(). toImage() can now also accept x and y params. added extensive caching unit test. removed drawBuffer logic as it is no longer needed
|
2012-12-11 00:08:59 -08:00 |
|
Eric Rowell
|
291583148b
|
moved all rendering logic into the Canvas renderer modules. Shape draw funcs are now passed a renderer object, not a canvas context. The context is accessible via canvas.getContext()
|
2012-12-09 09:52:33 -08:00 |
|
Eric Rowell
|
94670aeeda
|
changed createImageBuffer to createImageHitRegion for consistency
|
2012-11-28 23:18:17 -08:00 |
|
Eric Rowell
|
48e014fe01
|
bug fix #29 bug fix #143 when node.remove() is called, parent property is unset. Also migrated remove tests from containerTests to nodeTests.
|
2012-11-24 23:19:16 -08:00 |
|
Eric Rowell
|
94c3c913cb
|
cleaned up unit test data urls. All unit tests now pass with no warnings
|
2012-11-24 22:48:23 -08:00 |
|
Eric Rowell
|
0e6eb3ffe4
|
fixed up some text shadow issues
|
2012-11-24 09:15:02 -08:00 |
|
Eric Rowell
|
7f68dafb5c
|
fixed up Image hit draw func
|
2012-11-23 23:55:20 -08:00 |
|
Eric Rowell
|
144e95ad42
|
preparation work for new Renderer inheritance pattern
|
2012-11-20 23:03:24 -08:00 |
|
Eric Rowell
|
27d5031665
|
further decoupled scene, hit, and buffer graph drawing. To define a custom hit draw function, you now need to set the drawHitFunc attr.
|
2012-11-18 19:50:50 -08:00 |
|
Eric Rowell
|
e04b979063
|
improved drag and drop performance by skipping buffer redraws on drag move
|
2012-11-17 22:29:07 -08:00 |
|