Eric Rowell
|
66a7e2ac39
|
layer.toDataURL() now directly returns layer canvas data url if position and size are not specificed. updated unit tests and docs
|
2013-01-02 22:02:00 -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
|
6ae7a932f8
|
updated test framework CSS
|
2012-11-28 23:04:23 -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 |
|
Eric Rowell
|
0db40018af
|
prepend tests with a ! to omit a particular test from the test suite
|
2012-11-15 21:33:39 -08:00 |
|
Eric Rowell
|
1913fed33b
|
Kinetic.Animation constructor now just requires a function and optional node. No more config object
|
2012-11-15 21:30:58 -08:00 |
|
Eric Rowell
|
2115920ab8
|
fixed up Canvas type bug. The Canvas constructor can now also take an optional isBuffer param. If not defined, default value is scene
|
2012-11-13 22:16:36 -08:00 |
|
Eric Rowell
|
a5e23c426d
|
restructured unit tests and created a unit test build target which concatenates source test files
|
2012-11-13 21:37:28 -08:00 |
|
ericdrowell
|
759ec116ce
|
fixed up unit serialization tests. cleaned up constructor jsdoc comments. fixed Ellipse setRadius method
|
2012-09-26 20:28:20 -07:00 |
|
Eric Rowell
|
d74ec8ab06
|
fixed new bug with stage toDataURL that was introduced with the new Canvas class, and added new filter unit tests
|
2012-07-21 13:29:22 -07:00 |
|
Eric Rowell
|
2548e3c2ef
|
added performance test suite with two sample performance tests
|
2012-07-14 09:57:21 -07:00 |
|
Eric Rowell
|
80eb50a708
|
added new clearBeforeDraw Layer property which enables you to skip canvas clearing before each draw. Added new warn() method to test suite, and added error and warning colorings to the test counter
|
2012-06-23 16:11:58 -07:00 |
|
Eric Rowell
|
a49fc610d6
|
moved several manual tests to the unit test page. Added another functional test. Added warning logs to the functional test framework
|
2012-06-16 01:21:35 -07:00 |
|
Eric Rowell
|
e64024d3bd
|
refactored attr event change logic a bit. added delete operator in a couple places to fix memory leaks. added better event unit tests.
|
2012-06-09 10:53:47 -07:00 |
|
Eric Rowell
|
e7699a588f
|
fixed mobile drag and drop bug. refactored _handleEvents(). added new functional test that has two drag and drop shapes
|
2012-06-08 00:42:48 -07:00 |
|
Jason Follas
|
f9342cb019
|
Tab to spaces; fixed tests (i.e., disabled "testonly")
|
2012-06-06 00:33:29 -04:00 |
|
Eric Rowell
|
e74fa3a319
|
fixed stage drag and drop bug on tablets
|
2012-06-03 12:48:13 -07:00 |
|
Eric Rowell
|
ba796f4cc3
|
new tap event. touchmove no longer incorrectly fires onmousemove event. dbltap now correctly bubbles. cleaned up some other event handling logic.
|
2012-06-01 00:44:38 -07:00 |
|
Eric Rowell
|
a2defa4bed
|
turns out there was no performance problems with the path (made a dumb mistake with implementation). However, during the analysis, I ended up adding event detection throttling which is pretty handy. It cuts down unecessary mousemove event handling dramatically and greatly improves performance when you have thousands of shapes
|
2012-05-27 23:41:05 -07:00 |
|
Eric Rowell
|
cc35abd0f6
|
first round of new Path shape. Despite multiple optimizations, the path performance isn't as good as a previous experiment done with v3.8.1. Will keep this as a separate branch until the performance issues are resolved
|
2012-05-27 21:46:03 -07:00 |
|
Eric Rowell
|
8c675327b9
|
hooked in the setAttrs method to the shadow setter and the pattern fill setter. added more unit tests
|
2012-05-26 10:57:56 -07:00 |
|
Eric Rowell
|
e60eb8be6e
|
tons of refactoring to make the code base even more elegant and flexibile. In particular, the setAttrs() method is much more powerful now, and serves as a really convenient way for setting a bunch of node properties at once
|
2012-05-19 21:14:04 -07:00 |
|
Eric Rowell
|
2ac2c2856c
|
transitions can now operate on ANY numeric value for any Node object, regardless of the property's depth in a config object tree
|
2012-05-13 18:59:10 -07:00 |
|
Eric Rowell
|
7d92a2099e
|
fixed animation race condition bug that sometimes produced multiple requestAnimFrame calls, and also changed throttle property to be in fps (it used to be in ms). This will make it more consistent with other properties related to frame rates
|
2012-05-03 12:05:54 -07:00 |
|
Eric Rowell
|
3585e000b6
|
added new Kinetic.Sprite shape that enables you to easily add animated sprites to the stage
|
2012-05-02 00:35:32 -07:00 |
|
Eric Rowell
|
1dbe93a232
|
added new Line Shape
|
2012-04-28 21:12:01 -07:00 |
|
Eric Rowell
|
ffd9924511
|
tweaked throttling algo and added unit tests
|
2012-04-28 19:52:45 -07:00 |
|
Eric Rowell
|
fb9f324cfb
|
exposed absolute positioning logic inside the _prepareDrag method so that developers have access to it via the setAbsolutePosition() method
|
2012-04-14 10:40:54 -07:00 |
|
Eric Rowell
|
1c8669eb7a
|
undoing optimized drag and drop for now because I added it in due to Google Chrome's latest release which made drag and drop very slow (while other browsers are still fast), and the changes that I made to help work around it were slightly effecting the experience in other browsers. I'll file a ticket with Google Chrome instead
|
2012-04-14 10:04:17 -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
|
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
|
77aea95e7a
|
round 1 of animation + transition rewrite, while combing Xaric's Tween port
|
2012-04-02 21:03:59 -07:00 |
|
Eric Rowell
|
d10721d85a
|
code cleanup
|
2012-03-21 00:52:45 -07:00 |
|
Eric Rowell
|
8aa5fcf560
|
fixed clear transition bug
|
2012-03-20 22:46:54 -07:00 |
|
Eric Rowell
|
70fe63b2b6
|
cleaned up animation and transition interaction
|
2012-03-18 19:50:20 -07:00 |
|
Eric Rowell
|
ed35c6dbba
|
added scrollbar support for container DOM, structured the unittests a bit better, and did some minor refactoring
|
2012-03-17 10:28:25 -07:00 |
|