Commit Graph

440 Commits

Author SHA1 Message Date
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
Eric Rowell
66b65f1c19 removed radian angle attrs. All rotations are set in degrees now 2014-01-06 21:37:46 -08:00
ippo615
f3c2bd5c01 Changed Kaleidoscope parameters: power and angle 2014-01-06 19:27:47 -05:00
Eric Rowell
ceddf561fc removed shape enablers and disables. They were reduandant methods and muddied up the API 2014-01-05 21:03:11 -08:00
Eric Rowell
3c9eee732f beginning to prep for 5.0.0 release. Disabling Ripple and Kaleidoscope filters for now because they aren't quite ready 2014-01-05 14:14:41 -08:00
Eric Rowell
3d76beb260 removed misspelled files 2014-01-05 13:40:54 -08:00
Eric Rowell
193b9d0970 fixed kaleidoscope filter spelling 2014-01-05 13:32:50 -08:00
Eric Rowell
09aaa44e07 Merge branch 'master' of github.com:ericdrowell/KineticJS 2014-01-05 13:21:27 -08:00
Eric Rowell
0d7cfdee9d added more cache and filter tests 2014-01-05 13:21:05 -08:00
ippo615
baf36a0ced Merge branch 'master' of https://github.com/ericdrowell/KineticJS
Conflicts:
	Gruntfile.js
2014-01-05 13:01:46 -05:00
ippo615
a947bd19ca Added Kalidescope filter. 2014-01-05 12:59:20 -05:00
Eric Rowell
65a0aecb97 added test for hit region draw from blurred image 2014-01-05 01:24:23 -08:00
Eric Rowell
4d323c7b57 new drawHitFromCache Shape method replaces Image createImageHitRegion 2014-01-05 01:10:56 -08:00
Eric Rowell
fae1c538f3 changed offset to center 2014-01-04 23:56:33 -08:00
Eric Rowell
7e2c6c97f8 changed drawFunc to sceneFunc and drawHitFunc to hitFunc 2014-01-04 23:34:01 -08:00
ippo615
ff952bf958 Added ripple filter. 2014-01-04 23:21:26 -05:00
ippo615
e57f3802df Made enhance filter tweenable (-1=grey;0=no change;1=max enhancement) 2014-01-04 12:31:11 -05:00
Eric Rowell
b52845b32b added another hsv test 2014-01-04 06:37:08 -08:00
Eric Rowell
67f71e4785 added pixastic Solarize filter 2014-01-04 05:34:36 -08:00
Eric Rowell
0d944aac27 removed convolve pack. Added pixastic emboss filter 2014-01-04 05:21:44 -08:00
Eric Rowell
7f0dc2085b changed Levels filter to Posterize 2014-01-03 23:23:53 -08:00
Eric Rowell
cfe3091833 got the convolve filters working, but we still need to do some work on them 2014-01-03 23:09:49 -08:00
Eric Rowell
3814a1dddc continued cleaning up filter docs 2014-01-03 21:26:07 -08:00
Eric Rowell
dcf2962e2e split ColorPack into RGB and HSV filters. updated tests 2014-01-03 20:25:35 -08:00
Eric Rowell
5060fbb8cb updated Sepia filter and tests 2014-01-03 17:31:38 -08:00
Eric Rowell
6ddefa05b5 removed flip and mirror filters because the same effect can be achieved with transforms, cloning, caching, etc. 2014-01-03 11:22:25 -08:00
Eric Rowell
a238cf5817 updated Levels filter and test 2014-01-02 22:58:36 -08:00
Eric Rowell
bbfbadfee2 updated Threshold filter and test 2014-01-02 22:32:23 -08:00
Eric Rowell
4074eef3aa updated Noise filter and test 2014-01-02 22:21:21 -08:00
Eric Rowell
50a91d1e8b updated pixelate unit tests 2014-01-02 22:05:57 -08:00
Eric Rowell
374bc22680 renamed ColorStretch filter to Enhance. cleaned up the code a bit. updated tests. changed function signature back to just image data 2014-01-02 21:12:41 -08:00
Eric Rowell
a0d0f23ef8 updated mask filter tests 2014-01-02 20:55:05 -08:00
Eric Rowell
bbdbbd4d61 fixed grayscale filter and updated tests 2013-12-31 21:00:07 -08:00
Eric Rowell
3321102784 brighten tests are now passing 2013-12-31 13:16:41 -08:00
Eric Rowell
966ddc5a83 just enabled one blur test for now so that travis will pass 2013-12-31 13:05:32 -08:00
Eric Rowell
12e7b06978 first pass at integrating filters into new caching mechanism. added group filter test. Removed blurX and blurY filters because I don't think they'll be needed in their current state. Commented out half filter blur test because it's not a common use case. other filter tests have been disabled for now. Working on enabling them with future commits 2013-12-31 13:04:05 -08:00
Eric Rowell
1166154c1b updated caching unit tests 2013-12-30 19:51:42 -08:00
Eric Rowell
e1558c1b40 caching mechanism no longer auto adjusts offsets. It causes too many side effects 2013-12-30 14:34:57 -08:00
Eric Rowell
a47726eb2f added support for cached node with transformed ancestors 2013-12-29 21:40:37 -08:00
Eric Rowell
c39726101f added unit test for layer caching 2013-12-29 19:46:53 -08:00
Eric Rowell
0899cdb1a3 new graph caching mechanism now supports containers as well. added test 2013-12-29 19:30:44 -08:00
Eric Rowell
90b07cea05 refactored Container drawScene and drawHit methods, and cleaned up clipping logic. Clipping now correctly also clips the hit graph 2013-12-29 14:07:58 -08:00
Eric Rowell
264f24e241 added cache perf test. refactored Star.js to better incorporate getters 2013-12-28 13:52:03 -08:00
Eric Rowell
b5165fa8fb first pass at new drawing caching mechanism 2013-12-28 13:25:15 -08:00
Eric Rowell
4866acdf93 transformsEnabled property now accepts all, none, or position. Also started prelim work for new caching system 2013-12-19 23:29:23 -08:00
Eric Rowell
d3eb9990bd removed Sprite afterFrame func. The same functionality can be achieved by listening to indexChange event 2013-12-15 12:55:01 -08:00
Eric Rowell
b273c29aee removed old test directory. added getter setter overloaders to Shape. Began redoing documentation on Node 2013-12-13 21:33:40 -08:00
Eric Rowell
9accc00cf3 fixed up Ring shape init method because the drawFunc API slightly changed 2013-12-13 11:15:29 -08:00
Eric Rowell
9e05e81f50 Merge pull request #720 from binoculars/master
Added Ring Shape
2013-12-13 11:11:24 -08:00
Eric Rowell
fe7b4daebc factor methods now also build overloaded attr functions. i.e. instead of setScaleX(5), you can use scaleX(5). Instead of getScaleX(), you can use scaleX() 2013-12-13 11:02:07 -08:00
Barrett Harber
27532e1d05 Added Ring Shape
Ring shape—circle with hollow center.
2013-12-13 02:07:16 -05:00
Eric Rowell
4e526eb3da changed AnnularSection to Arc 2013-12-12 21:20:29 -08:00
Barrett Harber
2a0f5421c9 Added Shape AnnularSection
AnnularSection is a section of an annulus (ring)
http://en.wikipedia.org/wiki/Annulus_%28mathematics%29
2013-12-12 22:42:30 -05:00
Eric Rowell
f31254bb87 improved transformsEnabled logic and added tests 2013-12-11 22:34:02 -08:00
Eric Rowell
cd1ae9141e visible attr can now be inherit, true, or false, like listening 2013-12-11 07:46:49 -08:00
Eric Rowell
6d31f6ed08 new transformsEnabled property which yields absolute best rendering performance 2013-12-10 23:28:46 -08:00
Eric Rowell
ecfd77fa7a updated perf tests 2013-12-09 23:00:26 -08:00
Eric Rowell
8b4deb004d added stage nestedTransformsEnabled flag 2013-12-09 22:46:58 -08:00
Eric Rowell
37c3ce1b47 added layer hitGraphEnabled flag 2013-12-09 22:31:18 -08:00
Eric Rowell
0bad22955a removed instances of hit graph enable caching. Too complex and error prone at the moment 2013-12-09 22:15:26 -08:00
Eric Rowell
1f4ff9f1d7 cleaned up isListening API. introduced new enableHitGraph config that can be used to disable the hit graph 2013-12-09 10:07:08 -08:00
ippo615
0c552cc96e Merge branch 'master' of https://github.com/ericdrowell/KineticJS 2013-12-07 12:38:18 -05:00
ippo615
827caaa451 Added more Polar effects and corrected documentation. 2013-12-07 12:36:48 -05:00
ippo615
2397712f6e Improved Colorization filter.
- Looks better (brightness of original is preserved)
 - Improved speed (2-6 times faster than original)
 - Reduced code
2013-12-07 11:31:38 -05:00
Eric Rowell
50b3220812 migrated old manual test to new testing system. fixed tweening issues 2013-12-05 23:10:42 -08:00
Eric Rowell
c7bb7d90ad reenabled all tests 2013-12-05 22:30:54 -08:00
Eric Rowell
eb6d4dbe8f Merge branch 'master' of github.com:ericdrowell/KineticJS 2013-12-05 22:30:18 -08:00
Eric Rowell
422a6b305b implemented enableNestedTransforms flag which forces the rendering engine to skip nested transform calculations when they aren't needed 2013-12-05 22:29:50 -08:00
ippo615
2c3a29681e Updated some filters and tests. 2013-12-05 18:20:00 -05:00
ippo615
52f96c540b Merge branch 'master' of https://github.com/ericdrowell/KineticJS 2013-12-04 19:10:08 -05:00
ippo615
a680d33c40 Added Gaussian Blur back, put QuickBlur in separate file 2013-12-04 19:03:20 -05:00
Eric Rowell
95d3f3fe45 Merge branch 'master' of github.com:ericdrowell/KineticJS 2013-12-04 10:57:42 -08:00
Eric Rowell
13a98a350c all unit tests are now passing 2013-12-04 10:55:50 -08:00
Eric Rowell
89de3030af all unit tests are now passing except for filter tests 2013-12-04 09:55:17 -08:00
Eric Rowell
f217200ed7 reverted factory methods but removed data type processing 2013-12-04 09:10:24 -08:00
Eric Rowell
5d5a378375 more tweaks 2013-12-04 08:56:21 -08:00
Eric Rowell
c98a9d76a9 all shape and plugin tests are now passing again 2013-12-04 08:37:28 -08:00
Eric Rowell
fb25ba7c59 Factory getters now require function defaults which return an object literal because objects can be modified by reference 2013-12-03 22:54:16 -08:00
Eric Rowell
acd9518ab9 fixed up Circle and Ellipse tests 2013-12-03 22:01:22 -08:00
ippo615
21b0bb8574 Made filters (Levels, Noise, Threshold) tweenable 2013-12-03 19:59:43 -05:00
ippo615
b1b4eca375 Fixed bug in Flip filter, works on single buffer 2013-12-03 19:20:34 -05:00
ippo615
cfa6641d1a Improved color stretch filter 2013-12-03 19:12:17 -05:00
ippo615
632b81137a Added tweening to HSV filter 2013-12-03 18:34:24 -05:00
Eric Rowell
8c8cf0492c shape tests are now passing. all factor setters now return this 2013-12-02 22:16:58 -08:00
Eric Rowell
411b337efe layer tests are now passing 2013-12-02 21:32:46 -08:00
Eric Rowell
a57d6c6106 more unit tests working, more refactoring 2013-12-02 21:25:20 -08:00
Eric Rowell
86686eb590 image unit tests are now passing 2013-12-02 10:51:05 -08:00
Eric Rowell
790a50d438 fixed up line tests 2013-12-02 00:09:42 -08:00
Eric Rowell
f966758bce removed before event emitter for attr changes to improve performance. I don't think it's really needed 2013-12-02 00:06:27 -08:00
Eric Rowell
722ae82f21 Rect tests are now passing 2013-12-01 23:47:24 -08:00
Eric Rowell
9c3be4bb05 all unit tests are no passing 2013-12-01 23:17:20 -08:00
Eric Rowell
a7740ba96e copying over chunks of code from arrays branch 2013-12-01 23:08:15 -08:00
ippo615
26e7aeeba4 Pixelate is tweenable and works with images. 2013-12-01 22:37:17 -05:00
ippo615
4d16ccfe70 Merge branch 'master' of https://github.com/binoculars/KineticJS into binoculars-master
Conflicts:
	Gruntfile.js
	test/runner.html
2013-11-30 13:17:51 -05:00
Eric Rowell
4b62ecea7c combined Line, Spline, Blob, and Polygon into a single shape for more flexibility. converted allPoints property into cacheable getTensionPoints method 2013-11-30 00:24:47 -08:00
Eric Rowell
4fafde7451 added some new perf tests 2013-11-29 13:49:59 -08:00
Eric Rowell
ae5b76d332 fixed typo in unit test 2013-11-27 22:22:12 -08:00
Eric Rowell
24d41e5506 commented out offending unit test for now 2013-11-27 22:21:44 -08:00
Eric Rowell
658064b5ef improved event edge detection algo 2013-11-27 21:53:41 -08:00
Eric Rowell
aa78d632db fixed #382 #198 2013-11-27 21:32:36 -08:00
Eric Rowell
bc9bd291fc began refactoring layer getIntersection method and added unit tests 2013-11-27 16:05:35 -08:00
Eric Rowell
cbcd7d6c89 Merge pull request #688 from lavrton/getLayerFix
Get layer fix
2013-11-27 08:22:39 -08:00
Eric Rowell
93199a09ee Merge pull request #701 from minus71/master
Fix Path when rendering path with multiple closed path.
2013-11-27 08:18:06 -08:00
Eric Rowell
b3f18e9650 Merge pull request #684 from lavrton/toImageImprovement
toImage improvement
2013-11-27 08:08:25 -08:00
ippo615
22793dc93e Added new filter tests to the test runner. 2013-11-26 17:27:58 -05:00
ippo615
25dff7bd8b Added unit tests for new filters (and some old) 2013-11-26 17:21:53 -05:00
ippo615
036b85f920 Added unit test for color stretch filter 2013-11-26 16:27:14 -05:00
Barrett Harber
14570f7bed Added Sepia Filter
Add Sepia Filter from Pixastic Library
2013-11-25 20:39:08 -05:00
Mario Minutolo
e2f2c28b1b Move start position after a close path (z) to the starting node of the path (previous M). 2013-11-25 12:19:02 +01:00
Лаврёнов Антон
cf32e72b85 not this commit 2013-11-15 01:06:34 +08:00
Лаврёнов Антон
3c8c0831ab get layer fix 2013-11-15 01:02:21 +08:00
Лаврёнов Антон
d4b2892c13 toImage improvement 2013-11-12 18:57:58 +08:00
Eric Rowell
6bd0992dd8 fixed #673 2013-11-08 00:30:26 -08:00
Eric Rowell
9bc34d6abb reenabling all tests 2013-11-03 00:07:05 -07:00
Eric Rowell
224436aa18 fixed pixel ratio issue with createHitRegion 2013-11-02 23:48:39 -07:00
Eric Rowell
65166d7ddd added role=presentation to content node 2013-11-02 22:39:24 -07:00
Eric Rowell
f5d5e26e5e fixed pixel ratio issue with buffer canvas usage 2013-11-02 22:31:09 -07:00
Jason Follas
303117ca32 Fixed the assert with updated trace data 2013-10-07 21:36:58 -04:00
Jason Follas
0da4b98e91 Fixed #301: TextPath not responding to events (now rendering glyphs to hit canvas for event detection) 2013-10-07 21:28:08 -04:00
Eric Rowell
1965f61da2 added assertion counter to Mocha 2013-09-30 07:52:13 -07:00
Eric Rowell
5caea0c2a2 fixed up image unit test 2013-09-29 13:06:50 -07:00
Eric Rowell
0486904512 resolved conflicts 2013-09-29 13:02:54 -07:00
Eric Rowell
e8b479e89f optmized buffer canvas requirement logic 2013-09-29 13:01:13 -07:00
ippo615
5af658af66 Uncommented the funtional tests 2013-09-29 15:11:45 -04:00
ippo615
a9c0833a36 Added filter tests to runner.html 2013-09-29 15:09:15 -04:00
ippo615
9e7f27dfe3 Added convolve pack filter tests 2013-09-29 15:06:59 -04:00
ippo615
e98d31e18b Added mask filter test 2013-09-29 15:00:42 -04:00
ippo615
26885d18c1 Added hue shift filter test 2013-09-29 14:55:47 -04:00
ippo615
98fef5eb67 Added invert filter test 2013-09-29 14:51:49 -04:00
ippo615
e4db57355b Added transparent images to tests. 2013-09-29 14:49:19 -04:00
ippo615
ae13dc688a Added grayscale filter test 2013-09-29 14:44:40 -04:00
ippo615
2cc1cc7dcc Added color pack filter unit tests 2013-09-29 14:39:48 -04:00
ippo615
d0f805903d Added brighten filter unit test 2013-09-29 14:39:31 -04:00
ippo615
1770733b1c Added blur filter unit test 2013-09-29 14:39:10 -04:00
ippo615
8b7b3db9ef Merge branch 'master' of https://github.com/Ziriax/KineticJS
Fixed bug #527 - filters and cropping are now friends.
2013-09-29 14:00:51 -04:00
ippo615
de677846b4 Added blur filter unit tests. 2013-09-29 11:26:31 -04:00
Eric Rowell
e13a0b5fd8 fixed issue with stage panning. stage node type needs to be declared before calling super constructor 2013-09-28 21:55:57 -07:00
Eric Rowell
a8cbc2321d hooked opacity rendering into the buffer canvas logic used for shadows so that strokes and fill opacities aren't applied separately 2013-09-28 20:34:42 -07:00
Eric Rowell
6b69460d2c fixed #612 and added stage drag and drop unit tests 2013-09-26 22:40:23 -07:00
Eric Rowell
4cf15cedb8 rewrote shadow logic. fill and strokes are now both taken into account. shape and shadow opacities now work well together 2013-09-26 01:39:50 -07:00
Eric Rowell
63c6e9eea3 added functional tests. fixed line shadow bug 2013-09-25 23:32:44 -07:00
Eric Rowell
5bac5358a9 finished migrating DD tests to mocha. refactored functional test site directory 2013-09-25 23:25:59 -07:00
Eric Rowell
6e8a5b74b9 fixed #610 2013-09-25 07:58:35 -07:00
Eric Rowell
3204318a41 migrated events functional tests over to Mocha 2013-09-23 09:15:28 -07:00
Eric Rowell
10dfeb5ef1 fixed #609 and also made sure that layer.clear() also clears the hit context 2013-09-23 08:31:14 -07:00
Eric Rowell
e39bc36190 fixed #605 2013-09-22 22:15:46 -07:00
ericdrowell
a389fbc6f0 implemented stage content mobile events and added functional tests 2013-09-20 16:45:59 -07:00
ericdrowell
068cb1efc8 added new content events to clean up stage events. added first mocha functional test 2013-09-20 16:17:32 -07:00
ericdrowell
85db781630 deprecated the get() method and added find(). the change is backwards compatible 2013-09-20 14:08:51 -07:00
Eric Rowell
5c328b838f fixed regression bug with createImageHitRegion. setup node server. Upated README with new test instructions 2013-09-16 10:12:50 -07:00
Eric Rowell
ede6fb2e17 fixed save/restore regression introduced in context._stroke() method 2013-09-15 23:42:12 -07:00
Eric Rowell
f31ff0b9e8 getTrace() can now operate in strict and relaxed modes. with relaxed mode, we can now also do a basic context trace test on renderings that may have different parameters in different browsers 2013-09-15 22:59:09 -07:00
Eric Rowell
91fd14cc9f moved UA to Global namespace, and fixed scope issue in _drawChildren that was preventing nested draws from working correctly 2013-09-14 11:02:47 -07:00
Eric Rowell
6131385a4e refactored setLineDash a bit, added comments, and added a context trace assertion that tests line dash 2013-09-14 00:56:17 -07:00
Eric Rowell
659d0409b3 added Kinetic level pixelRatio property that can be used to override the detected pixel ratio. Also fixed up a pixel ratio related test for FF. added Kinetic.UA for user agent detection 2013-09-13 23:26:58 -07:00
Eric Rowell
a9496339d1 finished migrating all unit tests over to Mocha 2013-09-11 12:02:03 -07:00
Eric Rowell
25df441a8d removed text path test context trace test 2013-09-10 21:40:26 -07:00
Eric Rowell
dd6f8a754d migrated stage tests to Mocha 2013-09-10 21:38:26 -07:00
Eric Rowell
2fb34e3dc7 migrated TextPath and Shape tests to mocha 2013-09-10 21:17:56 -07:00
Eric Rowell
1ea9e68ff6 migrated Canvas, DragAndDrop, Global, and Tween tests to mocha 2013-09-09 10:08:16 -07:00
Eric Rowell
c40fc7cf38 removed Global namespace. global stuff is now just global, inside the Kinetic namespace. There was no reason to have a secondary level for global vars 2013-09-08 22:02:04 -07:00
Eric Rowell
400fae734d migrated unit tests to Mocha 2013-09-08 21:36:54 -07:00
Eric Rowell
1d586098dd removed label context trace assertion 2013-09-07 23:55:36 -07:00
Eric Rowell
976b88dea5 migrated path tests to Mocha, and also correctly fixed #567 2013-09-07 23:42:11 -07:00
Eric Rowell
9141953569 migrated more plugin tests, and continued working on context tracer 2013-09-07 20:55:03 -07:00
Eric Rowell
ee5f4c3e3b finished migrating all shape unit tests over to mocha. continued working on context tracing support 2013-09-07 17:57:48 -07:00
Eric Rowell
e5cdaff1d1 removed console log from runner 2013-09-04 09:06:18 -07:00
Eric Rowell
db43c1a694 added image unit tests. Added stage factory function to mocha runner 2013-09-04 09:05:19 -07:00
Eric Rowell
7ac45b7c4c migrated Ellipse test to Mocha, and finished up context wrapper methods 2013-09-02 21:16:26 -07:00
Eric Rowell
f298267bd7 migrated text tests. added more context wrapper methods and properties 2013-09-02 20:35:25 -07:00
Eric Rowell
18d36d9d77 migrated Rect and Blob tests to Mocha 2013-09-02 11:39:05 -07:00
Eric Rowell
159959a077 migrated all Circle tests from old unit test framework to Mocha 2013-09-01 14:08:21 -07:00
Eric Rowell
fe551c1ece added more pass through methods for the new context class, and added more unit tests 2013-09-01 13:28:52 -07:00
Eric Rowell
0fc44eb3ff finished up all of the context traces for a simple rectangle rendering, and added unit test 2013-09-01 02:03:24 -07:00
Eric Rowell
8c3a53dc9d started working on context tracing. Added first context trace unit test 2013-09-01 01:13:52 -07:00
Eric Rowell
4247553708 setup mocha-phantomjs, test runner, and a few Util tests 2013-08-28 23:19:29 -07:00