Commit Graph

69 Commits

Author SHA1 Message Date
Jason Follas
938b37a07c Unit tests added for issue #249. Fixed rendering of TextPath along vertical lines. Added unit tests for SVG-as-images. 2013-08-30 11:23:46 -04:00
Eric Rowell
a7666eee39 rearranged some tests 2013-08-12 20:15:36 -07:00
Eric Rowell
db98fec243 added new crop methods 2013-08-10 20:30:25 -07:00
Eric Rowell
a3da0211d8 fixed blob regression bug. added unit test for setTension() 2013-07-28 00:03:56 -07:00
Eric Rowell
57a9313a7b all kinetic specific listeners now have the kinetic namespace. off no longer removes listeners with a kinetic namespace, unless you force remove it via .kinetic 2013-07-24 22:56:21 -07:00
Eric Rowell
7a1b854a12 #291 added unit test for creating a blob via json who has the tension defined before the points array 2013-07-24 21:57:45 -07:00
Eric Rowell
1fc57bed4c removed createAttrs method and cleaned up init logic 2013-07-22 22:05:21 -07:00
Eric Rowell
f85c6b1392 added new addPoint method which allows you to add a single point to the points array without swapping the whole thing 2013-06-27 23:28:57 -07:00
Eric Rowell
79c3124ed7 Spline no longer extends Line. Blob no longer extends Spline. point getter setters were extracted out to Node. control point expansion method in Spline was pulled out and put in Util 2013-06-08 14:17:26 -07:00
Eric Rowell
e8ea9340fe added points Node getter and setter creators for Line and Polygon 2013-06-08 11:11:49 -07:00
Eric Rowell
824e9fdbee brought back Ellipse and ellipse tests 2013-06-06 22:07:53 -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
324d841ed4 mousedown and touchstart events now always call preventDefault 2013-05-31 23:04:07 -07:00
Eric Rowell
35b1f61bda tied className into toJSON and create. deprecated shapeType property and getShapeType method 2013-05-19 21:48:48 -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
76a399bfc0 major refactor of directory structure. Killed Util directory. Created Util.js file instead. Moved general purpose methods from Global to Util 2013-05-07 23:51:02 -07:00
Eric Rowell
d75fd4b40a refactored filter API so that transitions can hook into the filter controls. Filter transitons are now working. Filters can now also have an unlimited number of parameters. added _applyFilter flag to ensure that new filters are only applied once, when needed, right before a redraw 2013-05-04 00:40:46 -07:00
Eric Rowell
ecbebeef5a rewrote filters logic. Filters are now applied synchronously. It's now much easier to transition filter values. added clearFilter method 2013-04-30 22:28:05 -07:00
Eric Rowell
6a1ec5db4c fixed #363 2013-04-04 22:45:39 -07:00
Eric Rowell
ada9f6dbd4 updated drag and drop docs 2013-04-04 22:27:11 -07:00
Eric Rowell
2cb39f087c renamed the Crop filter to Mask 2013-04-04 22:22:28 -07:00
Eric Rowell
7888ebe24d Merge pull request #365 from nicomlas/master
Crop filter
2013-04-04 09:58:02 -07:00
Eric Rowell
25ff34bdde fixes #362 2013-04-02 22:07:04 -07:00
Nicolas COSME
d81219f7f1 Add the Crop filter 2013-04-02 14:48:48 +02:00
Eric Rowell
a3db78cc0f fixed up all of the data url isseus in the unit test suite 2013-03-24 16:04:56 -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
15a9f6165f updated spline tests 2013-03-24 00:15:15 -07:00
Eric Rowell
542f675522 added getNodeType() and getShapeType() methods 2013-03-24 00:14:42 -07:00
Eric Rowell
5b3a87b98d changed wrapping attribute to wrap 2013-03-20 09:26:55 -07:00
Eric Rowell
809da97a45 merged and tweaked pull request 314 2013-03-20 09:17:21 -07:00
Eric Rowell
fb2d816817 updated text test 2013-03-20 09:02:18 -07:00
Eric Rowell
f3dd9286a9 changed Gauss to Blur 2013-03-19 09:03:18 -07:00
Eric Rowell
b37f50ba69 moved Path to Plugins namespace 2013-03-17 17:32:35 -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
Louis Jolibois
c58db11a2a refactored the whole _setTextData method of Kinetic.Text, added a 'wrapping' option.
Performances should improve.
Also, the text should not overflow anymore from the defined width like it sometimes did.
2013-03-15 15:40:30 +01: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
012e495a69 new strokeScaleEnabled property which enables you to configure if the stroke style of a shape should scale or not as the shape itself scales, or as its ancestors scale 2013-02-21 09:14:44 -08:00
Eric Rowell
88e1c5fa08 Merge branch 'master' of github.com:ericdrowell/KineticJS 2013-02-20 21:31:10 -08:00
Eric Rowell
4a0087f72c gauss cleanup 2013-02-20 21:30:24 -08:00
Eric Rowell
4d420efabd Converted test failures to warnings where appropriate 2013-02-15 14:44:18 -08:00
Eric Rowell
6a73f4dcfb added enabler / disabler tests for Text. added more documentation 2013-01-26 19:35:53 -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
40bcaeafed improved drag and drop layer creation logic to further reduce the possibility of a flicker 2013-01-09 23:27:37 -08:00
Eric Rowell
c504e7980b re-fixed drag and drop flicker issue on mobile. It was due to the browser taking a few ms to add to canvas dom when drag and drop started 2013-01-09 22:34:14 -08:00
Eric Rowell
48b85119f5 reverted async prevParent redraw for drag and drop because it has undesirable side effects. Need to find another solution for the flickering behavior on mobile devices 2013-01-09 08:32:05 -08:00
Arthaey
2879dd92d0 Support creating shapes with points like [[x1,y1],[x2,y2]]. 2013-01-09 00:21:47 -08:00
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
a53db90d0a flattened fill attr, created new Node getter and setter generators that handle type conversions for points, sizes, and rotations 2013-01-01 23:54:02 -08:00
Eric Rowell
522607695f Text fontSize unit is now in pixels (used to be points). Default text lineHeight attr is now 1 (used to be 1.2) 2013-01-01 19:36:13 -08:00
Eric Rowell
7ef59fdcb2 added more blob unit tests 2013-01-01 18:14:30 -08:00