Commit Graph

425 Commits

Author SHA1 Message Date
Andrej Mihajlov
5f1897fa09 Update tween tests to verify color interpolation 2015-04-22 12:41:27 +02:00
lavrton
41c10555bc fix bug for wrong getClientRect calculation. close #50 2015-04-16 09:43:21 +07:00
lavrton
681b81705c manual test for drawHitFromCache with alpha threshold 2015-04-16 09:23:55 +07:00
lavrton
28d0a6f112 test update 2015-04-14 17:14:42 +07:00
lavrton
6ad6104f4b fix bug for drawHitFromCache + HDPI. close #48 2015-04-14 10:49:33 +07:00
lavrton
4f9140539e update changelog 2015-04-14 09:56:56 +07:00
lavrton
de60359b48 unit test for filters + pixelRatio 2015-04-14 09:45:10 +07:00
lavrton
44f7d17847 repair tests 2015-04-13 07:17:32 +07:00
lavrton
98e575aaf7 repair tests 2015-04-09 06:22:36 +07:00
lavrton
18cce13ea5 better capable konva context with native context 2015-04-08 22:26:25 +07:00
lavrton
cdb1bd0437 migrate to gulp 2015-04-07 15:06:20 +07:00
lavrton
4334b2a087 fix to onFinish callback flow 2015-03-10 19:16:13 +07:00
lavrton
70d1d3f71c failed webgl test 2015-02-27 10:34:23 +07:00
lavrton
ff983ea8c0 new method to for tweening nodes 2015-02-26 08:18:50 +07:00
lavrton
36f4ab5346 tween color properties 2015-02-16 06:31:28 +07:00
lavrton
c3511210f2 cache + pixelRatio 2015-02-14 22:12:54 +07:00
lavrton
e39d7861c3 Add new method getClientRect(). rethink caching. 2015-02-12 14:10:36 +07:00
lavrton
b9c6bc2d10 new shadowForStrokeEnabled property for shape 2015-02-10 07:19:44 +07:00
lavrton
56f76005d7 new perfectDrawEnabled property for shape 2015-02-09 09:52:42 +07:00
lavrton
c15e977009 scale now affect to shadowOffset 2015-02-09 08:33:49 +07:00
lavrton
dc4032ceee repair tests 2015-02-09 07:21:55 +07:00
lavrton
367d829784 performance improvement 2015-02-09 06:29:31 +07:00
lavrton
0ea9f0e257 fix remove name bug 2015-02-08 09:52:19 +07:00
lavrton
264a4bab1c fix undefined name bug 2015-02-08 07:39:43 +07:00
lavrton
5df69badbf new naming methods 2015-02-08 06:24:11 +07:00
lavrton
63986be549 0.8.0 2015-02-04 05:59:01 +07:00
lavrton
d48439b952 refactor 2015-02-03 10:40:32 +07:00
lavrton
10fab252e0 findOne Method 2015-02-03 10:30:27 +07:00
lavrton
09eb72b0a0 optimized getIntersection function. fix #17. close #13 2015-01-29 00:21:02 +07:00
lavrton
0f1d045701 repair tests 2015-01-27 15:31:00 +07:00
lavrton
3b94673d73 Merge branch 'master' of https://github.com/jovination/konva into jovination-master
Conflicts:
	src/Stage.js
	test/unit/Node-test.js
	test/unit/Shape-test.js
	test/unit/plugins/Path-test.js
2015-01-27 15:15:05 +07:00
Jovination
607ef1837b Renaming 2015-01-27 00:07:51 -07:00
lavrton
f9a08a6acc rendering shadows and strokes test improve 2015-01-27 13:21:02 +07:00
lavrton
a7863fbf83 strokeScaleEnabled set to false for Line not create correct hit graph 2015-01-22 17:50:57 +07:00
lavrton
d6cfd29962 strokeScaleEnabled = false is disabled for text 2015-01-22 16:59:05 +07:00
lavrton
4dfc65dba4 limit corner radius 2015-01-22 15:46:53 +07:00
lavrton
339e2dc969 tests updates 2015-01-22 12:47:07 +07:00
lavrton
e6115ef643 change method name 2015-01-21 17:22:41 +07:00
lavrton
d191b14a3e changing layer while dragging 2015-01-21 15:24:43 +07:00
lavrton
6ebd9fc554 better layer draw hit. hit updates for not dragging layer 2015-01-21 10:29:33 +07:00
lavrton
87236a88e2 better extend function 2015-01-20 17:22:51 +07:00
lavrton
a5b8c486ce text is black by default 2015-01-20 17:05:56 +07:00
lavrton
cf76a06884 line with empty points 2015-01-20 17:05:03 +07:00
lavrton
a78f01365d fix name selector bug. close #3 2015-01-15 09:41:29 +07:00
Лаврёнов Антон
a4ea6a65a5 intersects with shadow. close #1027 2014-10-02 22:41:51 +08:00
Лаврёнов Антон
362bcf9efc solve #1026 2014-10-02 22:28:51 +08:00
Лаврёнов Антон
7f7fb652da clean tests and adding docs 2014-09-24 10:26:42 +08:00
Лаврёнов Антон
7a2173dd7f Merge branch 'patch-1' of github.com:mattslocum/KineticJS into mattslocum-patch-1 2014-09-24 10:18:02 +08:00
Matt Slocum
9de8d2f806 KineticJS Unit Tests :: find with multiple names
Added unit tests to find nodes by name that have multiple names
2014-08-27 04:49:01 +00:00
Лаврёнов Антон
b321f20cdb New Arrow shape ⤵️ 2014-08-27 12:43:33 +08:00
Matt Slocum
0a1289c645 Unit Tests :: added Kinetic._addName 2014-08-26 22:07:43 -06:00
Лаврёнов Антон
7fb330dec7 new performance test 2014-08-23 18:19:35 +08:00
Лаврёнов Антон
1b925ed5f0 better animation and sprite workflow. fix #1002, #974, #700 2014-08-23 18:11:41 +08:00
Лаврёнов Антон
6643dcb6cc clear label test 2014-08-21 07:51:06 +08:00
Лаврёнов Антон
e3e588fa41 correct names of tests 2014-08-14 09:10:40 +08:00
Лаврёнов Антон
644369c811 circle attrs sync 2014-08-13 00:02:12 +08:00
Лаврёнов Антон
4ffa672dce ring param sync :neckbeard: fix #987 2014-08-11 23:56:13 +08:00
Лаврёнов Антон
9fba09008f disable layer hit caching 2014-05-22 23:04:57 +08:00
Лаврёнов Антон
68f8ea335e cleaning docs 2014-05-20 18:09:02 +08:00
Лаврёнов Антон
f573b3a76b optional warnings displaying 2014-05-20 17:57:39 +08:00
Лаврёнов Антон
7e3803bdd1 better layers width() and height() workflow 2014-05-20 17:52:22 +08:00
Лаврёнов Антон
1db8fec21c test + refactoring 2014-05-17 21:10:49 +08:00
Лаврёнов Антон
c34873d8c1 mouse dragging only with left button. fix #272 2014-05-16 22:52:17 +08:00
Лаврёнов Антон
16511a9aef remove all events with node.off() 2014-05-15 23:45:04 +08:00
jfollas
30cd5e6307 Formatting: Tabs to spaces 2014-05-14 09:23:44 -04:00
Jason Follas
f9f7b89c3f Fix for touch events in Internet Explorer 10/11 on mobile devices (i.e., Windows Phone 8+) 2014-05-14 09:18:41 -04:00
Лаврёнов Антон
917ca5bc56 better caching if node not in layer 2014-05-11 20:22:30 +08:00
Лаврёнов Антон
f648852975 improve shouldDrawHit behaviour 2014-05-06 16:21:25 +08:00
Лаврёнов Антон
d579c97f83 unit test for group hit graph and listening 2014-05-06 15:51:24 +08:00
Лаврёнов Антон
a0b98bded0 improve image drawing performance 2014-05-05 11:09:31 +08:00
Лаврёнов Антон
4cf968749c unit test for drawing hit before adding shape to layer 2014-05-04 12:11:50 +08:00
Лаврёнов Антон
3aebe80404 correct mouse events for nested groups. fix #912 2014-05-02 08:45:52 +08:00
Лаврёнов Антон
6e4dab9013 Merge branch 'fix-DblClick-after-dragging' of git://github.com/kzhdev/KineticJS into kzhdev-fix-DblClick-after-dragging
Conflicts:
	test/unit/Stage-test.js
2014-04-30 09:04:06 +08:00
Лаврёнов Антон
01964549eb now we may use cache before adding to layer 2014-04-27 22:39:51 +08:00
Лаврёнов Антон
70d7b127c0 find("Label") bug fixed. close #905 2014-04-25 19:17:12 +08:00
Лаврёнов Антон
2439040316 better getIntersection system. fix #818, #808, #603, #879 2014-04-22 10:58:01 +08:00
Eric Rowell
c96b076932 fixed up drawBorder debug border for caching 2014-03-26 23:11:46 -07:00
Eric Rowell
59a571c635 refactored cache method to work better with containers and also fast layers 2014-03-22 00:13:05 -07:00
Eric Rowell
386971ce70 Merge branch 'master' of git://github.com/ericdrowell/KineticJS 2014-03-21 20:45:01 -07:00
Eric Rowell
e5562f5dbb added angleDeg flag that enables developers to choose radians if they like 2014-03-21 20:44:25 -07:00
Лаврёнов Антон
188cd5da8e Merge branch 'master' of github.com:ericdrowell/KineticJS 2014-03-21 13:54:23 +08:00
Eric Rowell
ddf34d0af9 added unit test for new target and type keys in Kinetic event object 2014-03-20 22:04:59 -07:00
Eric Rowell
47ecb4559d now passing Kinetic event object instead of native event object 2014-03-20 21:55:30 -07:00
Eric Rowell
e6b44bb75d fixed #539 and also added size() overloader 2014-03-20 20:39:40 -07:00
Eric Rowell
40dfbef81e added memory test for text shape create/destroy 2014-03-19 10:31:51 -07:00
Eric Rowell
4a75a6e220 added memory test for destroy/rebuilt 2014-03-19 09:59:07 -07:00
Лаврёнов Антон
6e1c75ceb7 cache before adding to layer test 2014-03-15 18:27:37 +08:00
Лаврёнов Антон
2bcb7bdab2 Merge branch 'master' of git://github.com/vmichnowicz/KineticJS into vmichnowicz-master 2014-03-14 12:56:14 +08:00
Victor Michnowicz
0898c24b7a add() now can add multiple layers or nodes 2014-03-13 23:30:46 -04:00
Лаврёнов Антон
b364af6f4d Merge branch 'master' of github.com:ericdrowell/KineticJS 2014-03-11 23:15:20 +08:00
Лаврёнов Антон
d0c7aed452 tests for drag distance 2014-03-11 23:14:03 +08:00
Eric Rowell
e7175824a1 commenting out assertions that are failing in Travis CI. The tests pass perfectly locally in both a browser and PhantomJS. will need to investigate 2014-03-10 00:19:14 -07:00
Eric Rowell
f2861ca1b8 fixed up another unit test 2014-03-09 23:12:28 -07:00
Eric Rowell
396ca81764 fixed up unit tests 2014-03-09 23:07:31 -07:00
Eric Rowell
aa7f56be26 fixed up caching now that transformsEnabled attr has been removed 2014-03-09 22:59:53 -07:00
Eric Rowell
a2ec418fe8 reenabling all tests 2014-03-09 13:24:38 -07:00
Eric Rowell
852ef7056d added perf tests for new FastLayer 2014-03-09 13:15:01 -07:00
Eric Rowell
a9ecfd74a2 Merge branch 'master' of git://github.com/ericdrowell/KineticJS 2014-03-09 12:41:25 -07:00
Eric Rowell
c623666206 deprecated transformsEnabled property. Continued developing the new FastLayer class 2014-03-09 12:41:16 -07:00
Лаврёнов Антон
8443a3876a Merge branch 'fix-duplicate-test-names' of git://github.com/dpbevin/KineticJS into dpbevin-fix-duplicate-test-names 2014-03-09 13:08:20 +08:00
Anton Lavrenov
720476ab94 Merge pull request #781 from guycook/master
Shape.hasShadow cache invalidation fix
2014-03-09 10:09:06 +08:00
Eric Rowell
df9d6cabd2 enabled all tests 2014-03-08 18:05:39 -08:00
Eric Rowell
09af9f62dd setup FastLayer. Layer won't extend FastLayer until FastLayer is complete 2014-03-08 18:05:14 -08:00
Лаврёнов Антон
45ddf95629 better cloning of node: array copied as copy, nor reference 2014-03-08 10:50:53 +08:00
Лаврёнов Антон
d65201a12f stage clone has new container. fix #707 2014-03-07 22:51:26 +08:00
Лаврёнов Антон
452c99cb4e default shadow opacity should be 1. fix #696 2014-03-07 19:13:52 +08:00
kzhdev
833c470504 add test 2014-03-06 20:30:04 -06:00
Лаврёнов Антон
798d1acf28 Pure NodeJS environment test runner: grunt node-test 2014-03-04 19:35:26 +08:00
Лаврёнов Антон
a524ba9ec1 fix #767 2014-03-03 19:24:00 +08:00
Лаврёнов Антон
e5db9115a0 black list for clone function. fix #583 2014-03-02 21:51:35 +08:00
Лаврёнов Антон
53ac9329de isRunning function for Sprite object 2014-03-02 10:46:45 +08:00
Лаврёнов Антон
86178185bc optional filter callback for getChildren function. close #313 2014-03-02 09:25:22 +08:00
Лаврёнов Антон
3a5b6eb766 Faster removeChildren and destroyChildren methods 2014-03-02 08:21:11 +08:00
Лаврёнов Антон
74060ce935 add function takes care about parent existence. fix #426, #434 2014-03-02 07:50:51 +08:00
Eric Rowell
f41b107474 changed lint to hint in grunt file, and removed KineticEvents-test as it is not a functional test 2014-02-27 19:15:18 -08:00
Лаврёнов Антон
f9a05c4a56 add memory leak test file 2014-02-28 00:07:13 +08:00
Лаврёнов Антон
6c46e44bbd fix #500 2014-02-27 22:53:30 +08:00
Лаврёнов Антон
098fabbfc1 merge 2014-02-27 09:13:55 +08:00
Лаврёнов Антон
eb16e29197 only lint errors fixes 2014-02-27 08:49:18 +08:00
Лаврёнов Антон
2757842935 fix #670
Some lint error resolve
2014-02-27 08:19:29 +08:00
Eric Rowell
26a267a457 skipping sprite tests because it fails sporadically 2014-02-26 10:54:21 -08:00
Eric Rowell
160de825fa now that mousemove and touchmove are async due to throttling, the tests have to be async as well 2014-02-26 10:38:03 -08:00
Eric Rowell
8fcd882ba5 added throttling to mousemove and touchmove. Added logic to prevent Android from detecting both touch and mouse events 2014-02-26 08:46:26 -08:00
Eric Rowell
c2e138c6f4 for desktop browsers, always set pixel ratio to 1. When users have zoom enabled, it affects pixel ratio and causes artifacts. There doesn't appear to be a way to detect zoom level for modern browsers in order to adjust the pixel ratio 2014-02-26 07:57:05 -08:00
sonnym
2f7821c898 add font-variant support to Text and TextPath 2014-02-25 17:34:16 -05:00
Лаврёнов Антон
a7ceaa8f24 package.json is updated for latest version of libraries.
They works better, especially jshint.
(!) Please run `npm install` to update node_modules
2014-02-25 14:01:32 +08:00
Лаврёнов Антон
0a664e009c Sprite test improve 2014-02-25 00:54:20 +08:00
Лаврёнов Антон
08d9be8371 fix #447 2014-02-25 00:40:35 +08:00
Eric Rowell
f8ccd574cb made several optimizations to the Animation class. removed FRAF logic. Using performance.now when available. No longer creating a new function for every animation loop. requestAnimFrame is now called before render instead of after 2014-02-19 08:39:38 -08:00
David Bevin
5eb5a08e65 * Removed duplicated rotation test from Node-test.
* Renamed a test in Tween-test to give it a unique name.
2014-02-03 15:22:08 +11:00
ippo615
da5055cf28 New HSL filter. HSV and HSL want values between -1.0 and +1.0 (was 0.5 to 2.0) 2014-01-31 16:49:11 -05:00
ippo615
774f50007c Added HSL filter. 2014-01-27 19:59:42 -05:00
Guy Cook
d92a5f53e5 Shape.hasShadow cache fix
Typo was causing hasShadow cache not to be invalidated after using
setShadowEnabled. Fixes issue #693
2014-01-26 17:17:14 +13:00
Eric Rowell
99719bad44 fixed #769 2014-01-20 23:56:35 -08:00
Eric Rowell
da28418239 introduced new alpha component for colors. fixed #755. Created new validators namespace for getter setter validator functions 2014-01-20 11:26:01 -08:00
Eric Rowell
708937d5c5 reenabling all tests 2014-01-19 22:01:35 -08:00
Eric Rowell
2243010d33 collections are now chainable 2014-01-19 21:37:13 -08:00
Eric Rowell
f1b1c58166 all methods are now copied to Collection prototype so that you don't have to use the each() method all the time 2014-01-19 21:35:28 -08:00
Eric Rowell
79f86f2fe0 fixed pattern scale default issue 2014-01-12 21:48:33 -08:00
Eric Rowell
0e0c92da18 added Node unit test 2014-01-11 14:59:19 -08:00
Eric Rowell
cb78b9bd0e removed Polar Tests and make a few tweaks to Node 2014-01-11 12:55:19 -08:00
Eric Rowell
99e7ad4bf0 added back compat Factor method and plugged in the methods that changed with the 5.0.0 release 2014-01-10 22:58:55 -08:00
Eric Rowell
79701fcca0 reverted center attr back to offset. I think it's more confusing 2014-01-10 22:09:22 -08:00
Eric Rowell
baf635c7f0 changed dashArray to dash. started chipping away at the Shape docs 2014-01-09 22:37:27 -08:00
Eric Rowell
13b91d0db7 removed color getter and setters from Factory. color components are now red, green, and blue, not r, g, b 2014-01-09 00:29:38 -08:00
Eric Rowell
749c8731db removed filter getter setter from factory. Filter methods now use addGetterSetter like all of the other classes 2014-01-08 23:40:47 -08:00
Eric Rowell
f73baa1a4e cutting down Factory by creating a addComponentsGetterSetter method which all component attrs will use 2014-01-08 23:13:50 -08:00
Eric Rowell
fc8273e792 updated overloaded docs for d&d, node, shape, stage, sprite, text, and wedge 2014-01-07 23:56:49 -08:00
Eric Rowell
4d8ee45f71 Sprite animations keys are now set to arrays of integers, not array of object literals containing x y width and height. changed index attr to frameIndex 2014-01-07 00:43:31 -08:00
Eric Rowell
e594aa5656 Merge branch 'master' of github.com:ericdrowell/KineticJS 2014-01-06 21:51:58 -08:00