Commit Graph

63 Commits

Author SHA1 Message Date
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
a7666eee39 rearranged some tests 2013-08-12 20:15:36 -07:00
Eric Rowell
355c80088f resolved some more merge issues 2013-08-11 22:02:49 -07:00
Eric Rowell
a4172088f1 resolving conflicts 2013-08-11 21:36:18 -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
12ed500570 updated tests 2013-08-10 14:30:17 -07:00
Eric Rowell
0d6b8bdd79 fixed drag and drop regression by busting the transform cache inside the clearTransform method 2013-08-10 13:59:31 -07:00
Eric Rowell
1c51d65a93 caching system now relies on attr change events to clear the appropriate cache attrs 2013-08-10 13:04:02 -07:00
Eric Rowell
86bd4ddfa9 reworked caching system 2013-08-10 11:24:24 -07:00
Eric Rowell
a0a2d9a676 visible attr is now cacheable 2013-08-09 23:00:35 -07:00
Eric Rowell
7700ecc70b draw events no longer bubble. It was causing too much of a performance hit, and didn't provide a whole lot of value. Now, only layers fire draw events 2013-08-09 20:22:51 -07:00
ippo615
e631eff6b4 Cleaned convolve pack, separated filter tests.
I removed the ability to do a convolution with a 1D matrix because I was
using all 2D matrices. I also cleaned up some unused variables and filters.

I took the entire group of tests dealing with image filters and put them
into `filterTests.html` and `filterTests.js`. I removed them from
`visualTests.js`.
2013-08-04 14:02:17 -04:00
Eric Rowell
e5c52a92f0 updated build process. dev version no longer pulls the version number from the package.json file. It instead always uses dev. Also set some things up for -beta build support 2013-07-27 21:09:33 -07:00
Eric Rowell
7c40333fc8 stage events can now be added without having a target node. i.e. you can bind mousedown, mouseup, click, dblclick, etc. to the stage directly 2013-07-04 00:20:28 -07:00
Eric Rowell
c0c5868f31 updated Label docs. removed old integration test files 2013-06-08 16:11:31 -07:00
Eric Rowell
0983531197 changed integration tests to visual tests 2013-06-08 15:21:31 -07:00
Eric Rowell
0c3ada88f5 updated perf tests 2013-06-07 23:11:01 -07:00
Eric Rowell
18fa3673aa removed data url dependencies from functional tests 2013-06-02 15:44:24 -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
616e5d98f4 dev version will now be 0.0.0 instead of current. current is an invalid value for the version key in the package.json file for grunt 2013-06-01 15:58:14 -07:00
Eric Rowell
7b9322c15c custom builds that do not include drag and drop now work correctly fixes #465 2013-05-31 23:36:43 -07:00
Eric Rowell
244273eb4c prevent default now occurs in the stage addEvent method 2013-05-31 23:11:21 -07:00
Eric Rowell
324d841ed4 mousedown and touchstart events now always call preventDefault 2013-05-31 23:04:07 -07:00
Eric Rowell
3cfd49a03e updated tests 2013-05-21 21:22:22 -07:00
Eric Rowell
6b68da49d9 rebuilt performance test framework. It now runs tests across multiple Kinetic versions to track performance improvements 2013-05-13 21:59:33 -07:00
Eric Rowell
8f06f1eb67 heavily updated documentation 2013-05-07 10:19:54 -07:00
Eric Rowell
8138d2d286 cleaned up Canvas 2013-04-12 23:45:22 -07:00
Eric Rowell
1775913476 mouseup and click events now work correctly after dragging and dropping a shape 2013-01-29 10:12:24 -08:00
Eric Rowell
266026c76f setup test for require.js support 2012-12-01 18:44:13 -08:00
Eric Rowell
ab19b442a0 wrapped all modules with anonymous func. moved Canvas to root dir because it's now coupled to KineticJS logic. removed whitelisting arrays from Global. Did some prep work for AMD and Node support 2012-12-01 12:04:10 -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
0e514f7810 fixed up text path draw func 2012-11-24 00:05:37 -08:00
Eric Rowell
144e95ad42 preparation work for new Renderer inheritance pattern 2012-11-20 23:03:24 -08:00
Eric Rowell
feb1c83aac added unit test for group to image 2012-11-15 22:22:38 -08:00
Eric Rowell
694ced6b7a added custom buffer drawing function functional tests. Added an index page with links to all of the KineticJS tests inside the tests directory 2012-11-14 22:14:15 -08:00
Eric Rowell
9f80402dd1 improved functional test layout, and started work on drawBufferFunc support 2012-11-14 21:55:16 -08:00
Eric Rowell
f1e2503873 added tests for configurator combinations 2012-10-19 23:31:26 -07:00
Eric Rowell
3d0cb26e6d updated build file to also minify modules separately for custom builds. Started work on decoupling Animation and DragAndDrop logic from other modules 2012-10-14 18:46:04 -07:00
Eric Rowell
01c2b28a6c it turns out that there was only a problem with moveDown. refactored logic proposed by Adam 2012-09-17 22:49:24 -07:00
Eric Rowell
8883e80bfe cleaned up _getContentPosition() method and fixed event detections for stages below the fold on mobile devices 2012-08-26 22:42:54 -07:00
Eric Rowell
79a1029adb fixed getIntersections bug 2012-08-26 11:00:18 -07:00
Eric Rowell
9cdbadc4fd refactored ancestor comparison logic to ensure that container handlers aren't incorrectly executed for mouseover mouseout. Fixed up functional tests 2012-08-16 22:03:39 -07:00
Eric Rowell
75b20573cd removed plugins directory because Kinetic will be using a configurator in the near future 2012-07-31 20:36:36 -07:00
Eric Rowell
e69c7a9ac1 moved Path back to the plugins, and added Geometry utility methods to the Path namespace so that they can be called as a utility methods without instantiating a Path shape 2012-07-28 17:37:24 -07:00
Eric Rowell
e82fbfa2b0 decided to move Path back into core 2012-07-28 16:33:18 -07:00
Eric Rowell
9631d6e1bb split up methods from the PathHelper class and moved them to Path and Geometry. Path specific methods went to Path, and general purpose geometric utility methods went to the Geometry utility class. TextPath now inherits methods from Path 2012-07-28 16:08:14 -07:00
Eric Rowell
5b323bea40 merged with jfollas's TextPath updates, fixed remaining unit, manual, and performance tests, and fixed stroking logic 2012-07-28 09:55:21 -07:00
Eric Rowell
ce3b98ee9c added some performance tweaks and polished up code here and there 2012-07-26 22:58:38 -07:00
Eric Rowell
c26a1ae5d5 merged jfollas's new TextPath shape, and moved non-primative shapes to the plugins folder as shape plugins 2012-07-24 23:18:46 -07:00