Commit Graph

  • ec415c55de added _setPoints so that points setter methods could leverage the same logic that was in the setAttrs() method Eric Rowell 2012-05-13 11:58:40 -0700
  • 7f8a174b51 fixed bug with _setSize() Eric Rowell 2012-05-13 11:32:26 -0700
  • 7be0e5f577 refactored _getXY utility and usage Eric Rowell 2012-05-13 10:46:49 -0700
  • e4f5e11792 finished up pattern fill support Eric Rowell 2012-05-13 10:27:40 -0700
  • 81df49e75d pulled out _setPointAttr from Node and moved it to the GlobalObject as _setXY, which enables x,y property setting for any object, not just attrs. also added _setSize which has similar logic for height width properties Eric Rowell 2012-05-12 18:37:07 -0700
  • 9e3475f37a setup support for pattern fills Eric Rowell 2012-05-12 18:18:06 -0700
  • 92919058b2 after a bit more thought, I've decided to change the maxWidth property to width, to make it even more similar to CSS sizing rules. If you set the width of the text box to a certain value, and the text string width is longer than that width, the text will be clipped Eric Rowell 2012-05-12 17:49:01 -0700
  • 05df078295 reworked text max width logic to use clipping rather than native max width functionality which scales the text (what was w3c thinking? no idea) Eric Rowell 2012-05-12 17:11:57 -0700
  • 4b1403f7fe Merge pull request #20 from matthieu-ravey/master ericdrowell 2012-05-12 15:49:48 -0700
  • 502115fad7 Kinetic.Line detection type is now defaulted to pixel since this is the expected detection strategy Eric Rowell 2012-05-12 15:45:04 -0700
  • 51258531bf fixed bug with getTextSize() which was throwing a JS error if used before adding text to the stage Eric Rowell 2012-05-12 15:32:27 -0700
  • 1146919d3d modified setDefaultAttrs() so that it doesn't overwrite attrs defaulted in a custom class that extends a Kinetic class Eric Rowell 2012-05-12 15:15:42 -0700
  • cd276169d7 Adding maxWidth support for fillText and strokeText Matthieu Ravey 2012-05-10 11:15:29 +0200
  • 28f7fc246d changed shadowFillStroke() to applyStyles(). Took applyLineJoin() out of shape draw functions and moved it to the Shape._draw() method. Eric Rowell 2012-05-09 22:31:55 -0700
  • 2993191fe6 improved shadow logic such that it first attempts to apply shadows to a shape's fill if it's defined, otherwise it will attempt to apply the shadow to the stroke Eric Rowell 2012-05-09 19:15:49 -0700
  • 16c251bb97 added drawFunc property to layer so that layers can easily draw non-node background graphics Eric Rowell 2012-05-09 18:53:20 -0700
  • a27741ce03 added shadow support. changed fillStroke method to shadowFillStroke Eric Rowell 2012-05-08 23:06:13 -0700
  • 622278a510 point properties can now be set with an array of points or an array of numbers for convenience Eric Rowell 2012-05-08 22:11:37 -0700
  • 40ebb21033 implemented dashed and dotted line styling for Kinetic.Line based on method written by Phrogz Eric Rowell 2012-05-08 19:11:19 -0700
  • f2976e7dd1 added support for linear gradients and radial gradients using the fill property Eric Rowell 2012-05-03 14:20:50 -0700
  • 7d92a2099e fixed animation race condition bug that sometimes produced multiple requestAnimFrame calls, and also changed throttle property to be in fps (it used to be in ms). This will make it more consistent with other properties related to frame rates Eric Rowell 2012-05-03 12:05:54 -0700
  • 3585e000b6 added new Kinetic.Sprite shape that enables you to easily add animated sprites to the stage Eric Rowell 2012-05-02 00:35:32 -0700
  • 7bcd34ec47 added new beforeDraw() and afterDraw() event handlers for Layer Eric Rowell 2012-04-28 23:03:58 -0700
  • 1dbe93a232 added new Line Shape Eric Rowell 2012-04-28 21:12:01 -0700
  • ffd9924511 tweaked throttling algo and added unit tests Eric Rowell 2012-04-28 19:52:45 -0700
  • ff31dcb0ae fixed small bug related to animations - if you called .start() multiple times, multiple animation instances would be created. This wasn't desirable. Also beefed up animation unit tests Eric Rowell 2012-04-28 18:33:05 -0700
  • e8dcb8e584 fixed glitchy flash on transitions when applying multiple transitions to the same node at different times Eric Rowell 2012-04-28 17:45:13 -0700
  • bd17b54aa8 added stage.reset() method so that you can reset the stage to its original state. hooked this in with stage.load() so that the stage starts when a clean slate when loading json Eric Rowell 2012-04-28 13:57:43 -0700
  • 9cc380608e fixed drawing bug related to new throttle feature Eric Rowell 2012-04-28 13:46:54 -0700
  • 6bed850042 added defensive coding when removing node from container in case it has not yet been added to the container Eric Rowell 2012-04-28 13:06:22 -0700
  • 8dce92c2fd introduced new setDefaultAttrs() method which greatly simplifies the logic required inside node constructors. This will also make plugin creation much easier Eric Rowell 2012-04-28 12:55:18 -0700
  • c661cff85a fill, stroke, and strokeWidth values of undefined, null, '', or 0 are now correctly handled Eric Rowell 2012-04-28 12:30:14 -0700
  • 9f6381aef3 stage.setSize() now correctly sets the content node dimensions. Also refactored object and DOM node sizing Eric Rowell 2012-04-28 12:23:23 -0700
  • 3ac0e5592e added throttling unit tests Eric Rowell 2012-04-28 11:41:58 -0700
  • 3200a9063a identified a couple public methods in the global object which are actually private Eric Rowell 2012-04-28 11:23:47 -0700
  • 4e82139b74 added layer throttling which greatly improves drag and drop and other mousemove drawing performance Eric Rowell 2012-04-28 11:18:40 -0700
  • 04554e0e6a removed Transition constructor block comment to remove it from jsdocs. Devs should just use the transitionTo() method without knowing how it works under the covers Eric Rowell 2012-04-28 00:10:26 -0700
  • 222aea4e2e removed .onContent() and replaced with .getDOM() Eric Rowell 2012-04-28 00:07:44 -0700
  • 9fef9e54d9 added new stage.getIntersects() method which allows you to obtain all the shapes that intersect a given point. Also enhanced all methods that require an x or y by allowing either two arguments to be passed in or an object to be passed in. Example foo(100, 50) or foo({x:100, y:50}); Eric Rowell 2012-04-27 23:57:01 -0700
  • 192681374d added new selector capability to .get() method. You can now select all nodes by type inside of a container, such as by Shape, Group, or Layer Eric Rowell 2012-04-27 22:54:39 -0700
  • 2879c0763f changed isPointInShape() to intersects(). Currently the method accepts a point object, but I may extend this to also accept another shape object Eric Rowell 2012-04-27 20:54:49 -0700
  • c02e7a0cee adding prod build Eric Rowell 2012-04-27 19:42:49 -0700
  • 70df77f9fa enhanced setAttrs() logic to allow custom node properties and functions Eric Rowell 2012-04-27 19:42:04 -0700
  • 508bfb7a9b rewrote cropping logic from last pull request, fixed serialization issue in unit test, added new unit tests, and added getX() and getY() methods Eric Rowell 2012-04-27 19:08:45 -0700
  • f5735b3462 Merge pull request #16 from lewispeckover/master ericdrowell 2012-04-27 18:04:24 -0700
  • dedf276c74 Added clipping to Image Lewis Peckover 2012-04-22 18:56:50 +0100
  • d3eac4d5f9 added rounded corners to Rect Lewis Peckover 2012-04-19 23:27:04 +0100
  • 78e4022126 made isPointInShape() a public method for the purpose of collision detection Eric Rowell 2012-04-15 09:18:30 -0700
  • c698005adc refactored fillStroke() method Eric Rowell 2012-04-14 21:53:00 -0700
  • 47b8a8e0d6 new setDetectionType() and getDetectionType() methods to enable path and pixel detection swapping Eric Rowell 2012-04-14 21:46:38 -0700
  • 860025263b added about 50 unit tests to better test selector support Eric Rowell 2012-04-14 21:34:36 -0700
  • a908c59769 fixed center offset + drag and drop bug by fixing a root problem with the getAbsoluteTransform() method. This method no longer takes into account the center offset. Center offset transforms are now applied separately Eric Rowell 2012-04-14 18:27:06 -0700
  • df8df63400 refactored setAbsolutePosition() method and Shape _draw method Eric Rowell 2012-04-14 16:27:00 -0700
  • 5e46018012 discovered that the slow drag and drop behavior with Google Chrome is only effecting my Windows 7 test machine, not Mac. I've removed the drag and drop optimizing code for now Eric Rowell 2012-04-14 12:15:01 -0700
  • 3a520376e5 fixed stage.hide() bug, created new isVisible() method, and moved visible check to container Eric Rowell 2012-04-14 12:04:45 -0700
  • c17029d38e fixed up fillStroke() logic in the Shape class Eric Rowell 2012-04-14 10:47:52 -0700
  • fb9f324cfb exposed absolute positioning logic inside the _prepareDrag method so that developers have access to it via the setAbsolutePosition() method Eric Rowell 2012-04-14 10:40:54 -0700
  • 2108736df7 added chrome specific logic to improve the drag and drop performance until the chrome bug is fixed Eric Rowell 2012-04-14 10:13:07 -0700
  • 1c8669eb7a undoing optimized drag and drop for now because I added it in due to Google Chrome's latest release which made drag and drop very slow (while other browsers are still fast), and the changes that I made to help work around it were slightly effecting the experience in other browsers. I'll file a ticket with Google Chrome instead Eric Rowell 2012-04-14 10:04:17 -0700
  • 5c7b969974 new setAttrs() method which enables you to set attributes in bulk Eric Rowell 2012-04-12 23:02:55 -0700
  • b7f14ca821 dynamically set drag time interval to determine the optimal dragging performance. Makes dragging and dropping even smoother and responsive Eric Rowell 2012-04-12 21:33:40 -0700
  • 328f457512 updated docs Eric Rowell 2012-04-08 21:37:10 -0700
  • b8516b1b0c moved .get() method to Container so that all containers can use it, not just stage. This allows you to select nodes within other nodes Eric Rowell 2012-04-08 21:26:13 -0700
  • 63c8dde6d5 no longer auto clearing shape data. added new shape.clearData() method instead Eric Rowell 2012-04-08 20:25:31 -0700
  • 30e8973956 added setX and setY methods for convenience Eric Rowell 2012-04-08 18:22:04 -0700
  • 4f36b27199 refined global object temp nodes has removal when removing nodes from container. Also added another unit test Eric Rowell 2012-04-08 17:50:46 -0700
  • 2035d188c8 added hash cleanup logic when nodes are moved from a container. Also added unit tests Eric Rowell 2012-04-08 17:37:49 -0700
  • 3c17e59eb0 moved ids and names hashes to the stage level Eric Rowell 2012-04-08 11:01:31 -0700
  • 8c70333472 added simple selector support by id (#) or by name (.). Selecting by name is similar to selecting by class in other DOM libraries Eric Rowell 2012-04-07 20:32:24 -0700
  • 3243e5f8ff added support for image de-serialization and cleaned up some of the Shape attr default logic Eric Rowell 2012-04-07 19:08:16 -0700
  • d3b025254a new getAttrs() method Eric Rowell 2012-04-07 18:50:53 -0700
  • 0a94c75e22 decided that the developer should be responsible for setting custom drawing functions, images, and event handlers via selectors rather than a hash map passed into the load() method Eric Rowell 2012-04-07 18:40:44 -0700
  • 1a40e50622 finished custom shape serialization with new attrs structure Eric Rowell 2012-04-07 15:03:19 -0700
  • 58eb778e9a re-integrated simple serialization and deserialization with new attrs structure Eric Rowell 2012-04-07 14:39:31 -0700
  • ff896a4946 unit tests and functional tests now passing. Next up, re-integrate serialization with new attrs structure Eric Rowell 2012-04-07 14:04:15 -0700
  • 6d618b97b5 first phase of new attrs architecture to better represent Node states Eric Rowell 2012-04-05 23:48:58 -0700
  • 15bd27562e continued work on serialization/de-serialization Eric Rowell 2012-04-05 20:38:12 -0700
  • 350f7b7496 implemented stage.load() which allows you to deserialize a json string Eric Rowell 2012-04-05 00:06:00 -0700
  • bf86dacb59 setup simple serialization Eric Rowell 2012-04-04 22:57:36 -0700
  • f5b6b3c06f fixed _modifyPathContext optimization problem Eric Rowell 2012-04-04 20:46:58 -0700
  • 0ac84408e9 fixed bug with mouseout / mouseover events with nodes on the edge of the stage Eric Rowell 2012-04-04 20:19:53 -0700
  • 21981e94eb updated text metrics unit test so that it passes in Firefox Eric Rowell 2012-04-04 20:08:53 -0700
  • dc45f5e2d6 when using pixel detection, clear shape data whenever shape is drawn Eric Rowell 2012-04-04 19:53:11 -0700
  • 2dff730081 added functional test that tests all of the transition easing functions Eric Rowell 2012-04-03 23:46:59 -0700
  • 602220bdce finished new animation, transitions, and tweens functionality Eric Rowell 2012-04-03 23:00:35 -0700
  • f953e4694f tons of refactoring. Now have separate Transition and Tween classes Eric Rowell 2012-04-03 22:23:13 -0700
  • 9e3baf69c1 added first phase of transition event subscription Eric Rowell 2012-04-03 14:08:06 -0700
  • a6b526ee76 added new animation stop logic Eric Rowell 2012-04-03 13:44:48 -0700
  • fc5825e61e got the unit tests and functional tests passing. Have a few things left to do, and a bit more testing before I merge the transitions rewrite back into the trunk Eric Rowell 2012-04-02 23:38:14 -0700
  • d5834c8351 more new transition architecture integration Eric Rowell 2012-04-02 22:54:05 -0700
  • 77aea95e7a round 1 of animation + transition rewrite, while combing Xaric's Tween port Eric Rowell 2012-04-02 21:03:59 -0700
  • 6ce9d5489c reworked pixel detection. I now require the dev to use shape.save() to save the pixel data for performance reasons Eric Rowell 2012-04-01 19:38:30 -0700
  • 72c0555d0b pixel detection performance was horrible for large amounts of shapes. Added some optimizations which require knowledge of a shape's perceivable position and size based on transforms. This will be added in later. For the time being, only Kinetic.Images will have access to the detectionType property. Image cannot be transformed or offset with the center offset. Support for these will come soon as well. Eric Rowell 2012-04-01 17:18:01 -0700
  • 313c6a1541 fixed drag and drop bug related to drag constraints and positioned containers. Just needed to move the drag constraint logic after the matrix unravel Eric Rowell 2012-04-01 15:59:12 -0700
  • bdafb3eb25 when node is at the edge of the canvas, and you mouse over the node and then off the canvas, the mouseout handlers for the node are executed Eric Rowell 2012-04-01 11:34:22 -0700
  • 86a1337017 fixed bug related to multiple removals of same node Eric Rowell 2012-04-01 10:29:16 -0700
  • 71b0449071 fixed drag and drop issue and reverted default easing back to linear Eric Rowell 2012-04-01 10:06:00 -0700
  • 3a8afc747c fixed bug related to multiple drag and drop initializations Eric Rowell 2012-04-01 09:32:20 -0700
  • 6889cd742c Merge pull request #10 from jfollas/master ericdrowell 2012-04-01 09:21:10 -0700
  • 96659d7299 Revert to previous no-parameter (image/png) behavior if an exception is encountered while calling canvas toDataURL() with parameters. See this forum post: http://www.kineticjs.com/forum/viewtopic.php?f=10&t=423 Jason Follas 2012-04-01 11:00:58 -0400