Commit Graph

  • cb68fa0215 fixed bug with isDragging method Eric Rowell 2012-08-20 23:10:05 -0700
  • 15aeabacc1 added logic to correctly draw buffer paths for cases where a developer is creating an invisible mask for event detections Eric Rowell 2012-08-20 22:11:13 -0700
  • 92208d8e56 moved color key generation logic from Container to Shape so that it's generated immediately, instead of on add Eric Rowell 2012-08-20 21:55:05 -0700
  • 0640e0b705 mouseover and mouseout events should not fire during drag and drop Eric Rowell 2012-08-19 23:46:06 -0700
  • 9093d9a512 refactored draw, _draw, and _drawChildren methods in such a way that isVisible and getListening logic resides in one place, therefore improving code quality Eric Rowell 2012-08-19 20:44:45 -0700
  • e99312ece2 refactored filtering logic Eric Rowell 2012-08-19 13:09:27 -0700
  • e19dae3402 rewrote intersects method, which now leverages the new getIntersection method. fixed up unit tests. also fixed bug with getIntersection method Eric Rowell 2012-08-18 22:42:37 -0700
  • f944409a1e new hit detection algo works with images that contain transparent pixels. Devs will need to use the createImageBuffer() method to create a higher precision buffer image Eric Rowell 2012-08-18 22:02:16 -0700
  • f53c43d4f7 added drawScene() method which only redraws the scene and not the buffer Eric Rowell 2012-08-16 23:22:07 -0700
  • e6e488025e hit detection color mapping now takes into account anti-aliasing color variations, which was causing issues when moving the mouse from one shape into another shape which were inside the same group. created getIntersections() method which returns an object with shape and pixel data Eric Rowell 2012-08-16 23:03:28 -0700
  • 9cdbadc4fd refactored ancestor comparison logic to ensure that container handlers aren't incorrectly executed for mouseover mouseout. Fixed up functional tests Eric Rowell 2012-08-16 22:03:39 -0700
  • 6a58830df3 draw methods now draw on both the front and back buffer by default, unless a canvas is passed as an argument. continued fixing up unit tests. Image width and height are now synced whenever the image object changes. Eric Rowell 2012-08-15 23:13:50 -0700
  • bae57488cf added support for image hit detection with new color mapping algo Eric Rowell 2012-08-14 23:52:53 -0700
  • 7530e6a098 (Forgot to build the dist-versions.) David Johansson 2012-08-14 22:03:53 +0200
  • d354117409 It's better to applie the custom dragBoundFunc before applying 'normal' dragBounds och dragConstraints so they wont get overridden. David Johansson 2012-08-14 22:00:44 +0200
  • 02c6c7276f continued prep work for v4.0.0. removed detectionType property because new event engine uses one strategy. added new drawBuffer method so that you can redraw the buffer without redrawing the visible canvas. changed alpha to opacity. Eric Rowell 2012-08-13 23:06:29 -0700
  • aaeb49acf4 Using new pos from return instead of by reference. David Johansson 2012-08-13 22:44:08 +0200
  • 15fe79873c Added support for dragBoundFunc where custom dragbounds (or constraints) can be defines. David Johansson 2012-08-13 21:19:36 +0200
  • ef14edede3 major refactoring of the event engine to better support new hit detection strategy Eric Rowell 2012-08-11 23:14:49 -0700
  • 468f8ef2d3 checking in first phase of new hit detection algo, which enables high performance event detections even if there are hundreds of thousands of shapes. This is a giant improvement over the previous algo, and is a fairly big architectural change. Since the Animation architecture and API is also changing, I feel that these changes are big enough to warrant a new major version, v4.0.0 Eric Rowell 2012-08-11 16:22:01 -0700
  • 0f1a424840 prototyping back buffer hit detection algo Eric Rowell 2012-08-10 22:33:22 -0700
  • 8c147ee2b5 added new performance test in preparation for new hit detection algo investigation Eric Rowell 2012-08-10 20:48:42 -0700
  • 5c898e7da5 Merge pull request #63 from jfollas/master ericdrowell 2012-08-10 10:37:15 -0700
  • 1d6acca8f3 Fixed flaw in Stage.toDataURL where JPEG layers were hiding lower layers due to the use of black instead of transparent. Jason Follas 2012-08-09 22:39:34 -0400
  • e5d195f9b4 temporarily disabled serialization unit tests Eric Rowell 2012-08-09 11:13:20 -0700
  • 66ba99f9bc hooked drag and drop into animation engine Eric Rowell 2012-08-09 00:01:21 -0700
  • 58cabf8ddc hooked node transitions and sprite animation into new animation API Eric Rowell 2012-08-08 23:41:16 -0700
  • b6db65301c rewrote Animation API to improve flexibility. Animations are no longer tied to the stage. You can now instantiate as many individual animations as you like, and manage them however you like Eric Rowell 2012-08-04 00:23:56 -0700
  • 9ad9121259 Kinetic.Animation is now a class that can be instantiated to better represent animation objects. Rather than creating new animation objects and destroying them each time an animation is started and restarted, the same animation obect is now reused, which should help with performance Eric Rowell 2012-07-31 23:23:00 -0700
  • d5eee80c0e changed tempNodes array into a hash to improve performance Eric Rowell 2012-07-31 21:35:04 -0700
  • ed8c5ab6b8 changing the font size now correctly updates the text data Eric Rowell 2012-07-31 21:13:25 -0700
  • b7ac415ea6 transition callback is now executed immediately after final node draw Eric Rowell 2012-07-31 21:01:48 -0700
  • 75b20573cd removed plugins directory because Kinetic will be using a configurator in the near future Eric Rowell 2012-07-31 20:36:36 -0700
  • 87182d704c fixed bug with stage.remove(layer). layer canvas context is now correctly removed from the dom Eric Rowell 2012-07-28 22:16:29 -0700
  • 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 Eric Rowell 2012-07-28 17:37:24 -0700
  • e82fbfa2b0 decided to move Path back into core Eric Rowell 2012-07-28 16:33:18 -0700
  • 4ea094f459 moved path parsing logic to Geometry class Eric Rowell 2012-07-28 16:29:37 -0700
  • 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 Eric Rowell 2012-07-28 16:08:14 -0700
  • c4a359cd48 moved drawFunc definition out of the shape initializers as a method to improve space performance Eric Rowell 2012-07-28 10:46:16 -0700
  • a67c1e70b1 fixed Star plugin docs Eric Rowell 2012-07-28 09:59:17 -0700
  • edabaf270e Merge pull request #58 from jfollas/master ericdrowell 2012-07-28 09:57:14 -0700
  • 5b323bea40 merged with jfollas's TextPath updates, fixed remaining unit, manual, and performance tests, and fixed stroking logic Eric Rowell 2012-07-28 09:55:21 -0700
  • 58f0b6f5b1 More JSDoc work Jason Follas 2012-07-28 12:43:03 -0400
  • d6933ecb53 Corrected JSDoc text to refer to Kinetic.Plugins.TextPath instead of Kinetic.Text Jason Follas 2012-07-28 12:04:04 -0400
  • 8d535556d7 Changed namespace for "plugin" shapes to Kinetic.Plugins. *This is a breaking change!* Fixed unit tests. Extracted Path parsing logic into PathHelper so that it's not tied to a particular shape. Jason Follas 2012-07-27 22:51:18 -0400
  • 1585cc3620 fixed tests Eric Rowell 2012-07-27 18:41:15 -0700
  • 5d77471f7e TextPath extends Shape instead of Path. Extracted common path functions into PathHelper.js. Updated unit tests. Jason Follas 2012-07-27 12:25:36 -0400
  • eccd8b7e64 silky smooth animations. got rid of layer and event throttling, and instead created dragThrottling. The dynamic animation frame rates already handles optimized animation drawing, we just needed to add manual throttling to drag and drop. Animations are now very smooth, and drag and drop is still smooth Eric Rowell 2012-07-26 23:26:58 -0700
  • ce3b98ee9c added some performance tweaks and polished up code here and there Eric Rowell 2012-07-26 22:58:38 -0700
  • c26a1ae5d5 merged jfollas's new TextPath shape, and moved non-primative shapes to the plugins folder as shape plugins Eric Rowell 2012-07-24 23:18:46 -0700
  • 4410ce9982 fixed bug with fillText in Shape class Eric Rowell 2012-07-24 22:34:53 -0700
  • ebf324484d updated Shape constructor docs Eric Rowell 2012-07-23 22:43:04 -0700
  • 5f7b6018fa finally got around to documenting the Node, Group, Stage, Shape, Layer, and Container constructors Eric Rowell 2012-07-23 22:39:55 -0700
  • 3997d74317 updated more docs Eric Rowell 2012-07-23 00:00:22 -0700
  • 3617d8ef5f updated docs Eric Rowell 2012-07-22 23:30:56 -0700
  • f7e233100a Merge pull request #55 from imakewebthings/patch-1 ericdrowell 2012-07-22 21:03:34 -0700
  • 0a1d632900 Fix getStrokeColor -> getStroke in Shape docs. Caleb Troughton 2012-07-23 11:35:06 +0800
  • da7429fb7b fixed bug with setSize method in Image object, and tweaked shape caching performance test to demonstrate a 4x drawing performance boost Eric Rowell 2012-07-22 17:05:45 -0700
  • 781a2ebe60 fixed a few bugs discovered with integration testing. added some performance tweaks Eric Rowell 2012-07-21 21:09:02 -0700
  • f1cb695e1f you can now cache regions of a node outside of the stage viewport. added more unit tests Eric Rowell 2012-07-21 15:38:25 -0700
  • d74ec8ab06 fixed new bug with stage toDataURL that was introduced with the new Canvas class, and added new filter unit tests Eric Rowell 2012-07-21 13:29:22 -0700
  • 4b0b3a2a20 now that things are drawn onto arbitrary canvas elements wrapped with the Canvas class, it's now possible to create temp canvases on the fly, which enables correct-size image filtering, and no limits on node caching Eric Rowell 2012-07-19 23:30:59 -0700
  • c09742c77c formatted pull request Eric Rowell 2012-07-18 23:53:28 -0700
  • 148cde228a Merge pull request #52 from Country/master ericdrowell 2012-07-18 23:39:28 -0700
  • d8bbbf6353 new Canvas class to decouple layer and canvas, providing more flexibility. drawing operations now require a canvas object rather than an optional layer which contained a canvas. fixed some transformation issues introduced with a pull request that I pulled in last week Eric Rowell 2012-07-18 23:28:45 -0700
  • e46dfdb565 Fix _getContentPosition, the position was miscalculated if a positioned container had a border. Yannick Croissant 2012-07-17 13:14:49 +0300
  • 20adf7e036 first pass at implementing filters. Still have a lot to work through. Eric Rowell 2012-07-17 00:32:26 -0700
  • 384a686740 worked through some synchronous / asynchronous issues with toDataURL and toImage(). stage toDataURL() is now asynchronous, and all other node toDataURLs is still synchronous. toImage() is now asynchronous. Kinetic.Image once again only accepts image objects, and can no longer be instantiated with a data URL or image data due to asynchronous issues. It's much cleaner for the developer to load an image however they like, and then instantiate a Kinetic.Image shape synchronously Eric Rowell 2012-07-15 20:12:18 -0700
  • acc6b6e14e updated unit tests Eric Rowell 2012-07-15 00:06:35 -0700
  • 6dc7c685f0 new toImage() method to support node caching Eric Rowell 2012-07-14 23:41:16 -0700
  • 2629c1237c cleaned up intersects logic, and added more docs Eric Rowell 2012-07-14 18:41:34 -0700
  • 864938ed33 added data url support for Kinetic.Image, and added unit tests Eric Rowell 2012-07-14 18:32:00 -0700
  • 4692c51c74 toDataURL() is now synchronous, and works with all nodes, including the stage, layers, groups, and shapes. This also sets things up nicely for node caching. You can now cache anything, including the whole stage, layers, groups, or shapes, manifested as Kinetic Images that were instantiated with data urls Eric Rowell 2012-07-14 18:10:37 -0700
  • d62df7ba5c setup filters. saveImageData can now work for any nodes, including shapes, groups, layers, and the stage. images can now take image data as a parameter. This enables shape caching. New beforeAttrChange event which fires before an attr is changed Eric Rowell 2012-07-14 16:25:56 -0700
  • 2548e3c2ef added performance test suite with two sample performance tests Eric Rowell 2012-07-14 09:57:21 -0700
  • 5bfcf3ffa8 the stage ids and names hashes are now updated correctly whenever a node's id or name changes Eric Rowell 2012-07-13 21:24:38 -0700
  • 9a83d3dfdf on attr change handler eent object now contains oldVal and newVal property Eric Rowell 2012-07-13 20:06:28 -0700
  • 01e2541c9d Merge pull request #48 from vijairamcharan/master ericdrowell 2012-07-12 17:31:18 -0700
  • 63a1ed1ad5 Enabled all tests Jason Follas 2012-07-12 18:38:17 -0400
  • e6031e1bf8 Fix for Scientific Notation bug in Path Jason Follas 2012-07-12 18:35:51 -0400
  • d4f03e64b1 removed unecessary regex in Class file which was tripping up the JS minifier Eric Rowell 2012-07-11 22:55:18 -0700
  • 41299d7f98 Moved center offset translation from drawing to getTransform() Vijai Ramcharan 2012-07-10 20:28:42 +0200
  • 474d6aaab5 Added unit test for getAbsolutePosition and center offset Vijai Ramcharan 2012-07-10 20:22:38 +0200
  • 0b1ddbd530 Added TextPath shape (extension of Path shape, but renders text along path instead of stroking/filling the path) Jason Follas 2012-07-09 09:08:30 -0400
  • 780d5568db updated the documentation for all methods to reflect the new inhertiance changes. And yes, if you're curious, it took forever. Eric Rowell 2012-07-08 21:56:52 -0700
  • 5169c93219 fixed afterFrame index bug which caused the event to trigger on the wrong index Eric Rowell 2012-07-08 19:15:23 -0700
  • d0f37f7c88 rewrote text array algo in Text. added newline support. now handling edge case in which the text box width is smaller than a character width. if a line is not able to wrap via space or dash, the word itself is wrapped. Eric Rowell 2012-07-08 13:59:43 -0700
  • 30fd5c1fa7 greatly improved sprite animation performance by hooking into the global animation object Eric Rowell 2012-07-07 21:39:03 -0700
  • a8ab9a2533 implemented clone method (inspired by matteo78) and added thorough unit tests Eric Rowell 2012-07-07 14:43:12 -0700
  • 7f7cd24838 attr change events no longer bubble. updated functional test data urls Eric Rowell 2012-07-07 11:52:04 -0700
  • 9baaee2440 getIntersections no longer returns visible shapes in the result set, and can also be called from any container Eric Rowell 2012-07-06 21:45:18 -0700
  • 1f3d1cc905 added event bubbling functional test Eric Rowell 2012-07-06 10:05:37 -0700
  • 014d4f198f fixed mouseover / mouseout incorrectly firing when moving from one node to another node inside the same container Eric Rowell 2012-07-06 00:27:55 -0700
  • d28d2c910d fixed gub with Container.remove() method which had bad logic removing children nodes Eric Rowell 2012-07-04 22:04:03 -0700
  • 26e753b90c fixed RegularPolygon getters and setters Eric Rowell 2012-07-04 19:52:56 -0700
  • de7cab4cf3 moved animation logic into Animation.js. Global.js now only contains logic and properties that operate on stages Eric Rowell 2012-07-03 23:00:52 -0700
  • 6126c73a84 moved data type logic into new utility files Type.js and renamed GlobalObject to Global Eric Rowell 2012-07-03 22:08:59 -0700
  • 17644fcb8f made performance improvement for isVisible method, suggested by mysza Eric Rowell 2012-07-03 12:59:31 -0700
  • 3d4d2d20c0 now utilizing John Resig's mashup of Base.js and protototype.js inheritiance Class so that it's easy for developers to extend KineticJS objects with extend() or to simply tack on new methods and properties that's available to all children classes. Moved getter and setter logic to Node. Moved transition class to root directory and created Tween class Eric Rowell 2012-07-03 12:07:27 -0700
  • e2e16d49c1 updated serialization/deserialization unit tests Eric Rowell 2012-07-01 21:12:52 -0700