Commit Graph

  • b3e7e26248 console.warn() was failing in IE9 running on Windows7 64bit. changed check to window.console Eric Rowell 2012-11-04 08:07:09 -0800
  • 32e72176ca isListening() method now takes into account ancestor listening Eric Rowell 2012-11-03 22:20:46 -0700
  • 257497755b added defensive coding to _handleEvent() method which fixes a bug related to canceling stage drag and drop while dragging Eric Rowell 2012-11-03 21:49:20 -0700
  • 9c1f32d341 added dist files to ignore file and updated Thorfile. Dist files should no longer be checked into the repo Eric Rowell 2012-11-03 21:14:27 -0700
  • fb1186883a purging dist files Eric Rowell 2012-11-03 20:59:18 -0700
  • 0748692c1d added new fire() method which fires synthetic events and custom events. Simulate() now simulates user events with event bubbling Eric Rowell 2012-11-03 17:19:21 -0700
  • df829e1e89 fixed up toImage() docs Eric Rowell 2012-11-03 16:08:29 -0700
  • 78668b0d38 greatly improved animation, transition, and drag and drop performance by dynamically switching between fixed and dynamic frame rates, and also created a single source of truth for the animation frame object Eric Rowell 2012-11-03 11:16:33 -0700
  • 1ad12bbbf1 updated readme Eric Rowell 2012-11-02 10:03:29 -0700
  • 35876c854c Merge pull request #138 from pavelpower/master ericdrowell 2012-11-02 09:12:07 -0700
  • 4536f3cdef Update src/Node.js Pavel Akhmetchanov 2012-11-02 17:59:17 +0600
  • d0ebbc939a added setAttrs() method back in because I realized that it wasn't hurting performance that much Eric Rowell 2012-10-28 22:45:37 -0700
  • fb90709b3a greatly improved transition performance by directly setting attr properties for each frame, and also removing unecessary redraws when transition finishes Eric Rowell 2012-10-28 22:41:13 -0700
  • f1e2503873 added tests for configurator combinations Eric Rowell 2012-10-19 23:31:26 -0700
  • 8298bdee7a updated build file to better support custom builds via configurator Eric Rowell 2012-10-18 23:32:57 -0700
  • 0b9af3028c continued refactoring and decoupling drag and drop logic. The code base now looks fully decoupled as far as I can tell - next step is to test configurator combinations Eric Rowell 2012-10-14 20:22:22 -0700
  • 3d0cb26e6d updated build file to also minify modules separately for custom builds. Started work on decoupling Animation and DragAndDrop logic from other modules Eric Rowell 2012-10-14 18:46:04 -0700
  • d636afb6fe text.getWidth() and getHeight() now return calculated width and height. Removed getBoxWidth() and getBoxHeight() methods Eric Rowell 2012-10-11 20:00:13 -0700
  • 353cd939bd readded linecap attr to shape level Eric Rowell 2012-10-10 20:00:27 -0700
  • 0ae50ba523 merge trunk Eric Rowell 2012-10-10 19:25:50 -0700
  • 2426c2bd2c moved width and height attrs to node level. This enables us to get and set shape dimensions via width and height. For example, if you have a circle with radius 50, getWidth() will return 100. Not all shapes width and height methods have been implemented yet Eric Rowell 2012-10-10 18:48:08 -0700
  • b025767a27 updated jsdocs. TextPath setText() now calls Text setText(). Polygon setPoints() method now has data conversion logic similar to Line ericdrowell 2012-10-07 21:12:45 -0700
  • f74955641a fixed multiple bugs related to toDataURL() when using hidden layers ericdrowell 2012-10-07 19:38:12 -0700
  • 432533ae4a greatly improved the OO design for draw logic. removed unecessary _draw() and __draw() methods ericdrowell 2012-10-07 19:14:14 -0700
  • f1bc2fe4e8 updated unit tests ericdrowell 2012-10-06 16:11:49 -0700
  • fcd4b345fc moved cornerRadius proprty to Shape level ericdrowell 2012-10-06 15:55:10 -0700
  • e16935efb3 merge pull request #115 which improves get() design, and also enables the ability to select by node ttype ericdrowell 2012-10-06 15:40:49 -0700
  • 07a8848098 updated text shadows unit test ericdrowell 2012-10-06 15:22:51 -0700
  • 82bfd9c15a text shadows now work correctly again ericdrowell 2012-10-06 15:19:33 -0700
  • a3840fdc69 moved line cap logic to shape level so that Path can also utilize line caps ericdrowell 2012-10-06 15:05:03 -0700
  • 8e03a97d46 Improved get method to inlude get by shapeType. Also improved the oo-design. David Johansson 2012-10-06 23:35:46 +0200
  • 6f230fc42b pull request #109 opacity can now be applied to the stage ericdrowell 2012-10-06 13:53:50 -0700
  • 3f8801a494 setZIndex now correctly reorders layer canvases ericdrowell 2012-10-05 18:59:03 -0700
  • f5d4228f3b removed load() method from stage. Added Kinetic.Node.create() which creates a node from a json string. This essentially allows us to deserialize any node, including a stage, layers, groups, and shapes. ericdrowell 2012-10-03 20:38:29 -0700
  • a97d3ad01f refactored toJSON() method to work for any node, not just the stage. Improved the OO design following David Johanssons lead, and also added another unit test ericdrowell 2012-10-03 19:38:12 -0700
  • 67d3507925 Merge pull request #112 from davonium/on_off ericdrowell 2012-10-03 16:34:14 -0700
  • fa2c8fb88d Off can remove all listeners in the same name space by .off(".foobar") David Johansson 2012-10-04 00:50:04 +0200
  • 9ba21651a9 fixed typo ericdrowell 2012-10-03 10:58:52 -0700
  • b6eb2cdf82 added mouseenter and mouseleave events. mouseover and mouseout were actually functioning like mouseenter and mouseleave. mouseover and mouseout now work similar to traditional DOM mouseover and mouseout. This change enables event delegation to work correctly ericdrowell 2012-10-03 10:53:09 -0700
  • c6237b59e6 fix #93 readded layer isListening and isVisible logic ericdrowell 2012-10-03 00:04:56 -0700
  • 0eff286243 fix #93 rather than detecting if a layer is listening or visible, I think it's cleaner to hide and show the buffer canvas along with the scene canvas inside the setVisible method ericdrowell 2012-10-02 23:33:53 -0700
  • 8cd47db046 fix #93 layer children were still detecting events even when layers were hidden ericdrowell 2012-10-02 23:12:49 -0700
  • 73bf805483 Made getAbsoluteOpacity work recursively. Also added support for stage opacity (included test). David Johansson 2012-10-01 00:55:12 +0200
  • 759ec116ce fixed up unit serialization tests. cleaned up constructor jsdoc comments. fixed Ellipse setRadius method ericdrowell 2012-09-26 20:28:20 -0700
  • f235ea032d improved OO design for remove() and add() ericdrowell 2012-09-26 19:26:53 -0700
  • 0a8f0ddb74 got really tired of doing node.getParent().remove(node). To remove a node, you now just do node.remove(). ericdrowell 2012-09-26 12:50:08 -0700
  • 900f02f912 merged pull request #65 and updated manual tests. Also removed dragConstraint and dragBounds as they are now redundant. I may introduce a set of dragBounds helper functions, similar to filters, that provide common functions out of the box, such as Horizontal and Vertical ericdrowell 2012-09-25 21:23:35 -0700
  • b757342b11 cleaned up isAncestorOf logic. stage should not be an ancestor of self. plus this was bad OO design ericdrowell 2012-09-25 16:30:13 -0700
  • 2b99a88b7e merge pull request #106 ericdrowell 2012-09-25 16:15:00 -0700
  • 8fdab12e96 merge pull request #102 ericdrowell 2012-09-25 16:07:28 -0700
  • d4734ba33a created _getFillType utility to help manage fill type objects. You can now dynamically switch between different fill types, including colors, linear gradients, radial gradients, and patterns ericdrowell 2012-09-25 15:57:57 -0700
  • ff926b34af in addition to Collection each() and apply(), I wanted to make it easier to attach event listeners to node collections, so I went with David Johansson's approach for whitelisting on() and off(). ericdrowell 2012-09-25 13:38:36 -0700
  • d522b9d9d0 now that the attrs engine has been rewritten, we can cleanly hide and show the layer canvas whenever the layer is hidden or shown via instantiation or with setters. Also improved layer hide and show unit test ericdrowell 2012-09-25 12:22:22 -0700
  • 74bef1e108 unrecognized selector should return an empty array. also formatted unit tests ericdrowell 2012-09-25 12:12:27 -0700
  • 9bfe5f5e52 refactored get() method ericdrowell 2012-09-25 12:06:02 -0700
  • 8b5013c393 adding empty dist files ericdrowell 2012-09-25 11:20:35 -0700
  • 366849e64e removing dist files ericdrowell 2012-09-25 11:14:15 -0700
  • 869e420099 Corrected Kinetic.Path.getPointOnLine() to work in negative x direction. Including Unit test. David Johansson 2012-09-25 08:56:15 +0200
  • 90ba0d9a78 merged with latest trunk ericdrowell 2012-09-24 20:36:54 -0700
  • 0353214fb6 first pass at rewriting the setAttrs logic in Node. In order to have a cleaner OO design, the data type logic needs to exist within each respective module, such that the setter methods are the source of truth. ericdrowell 2012-09-24 20:34:23 -0700
  • 16c7cd2708 Re-added Kinetic.Collection to _getNodes and a test confirming its necessity. David Johansson 2012-09-24 22:31:06 +0200
  • 222addd579 Merge pull request #103 from davonium/allow_dom_extension ericdrowell 2012-09-24 12:45:25 -0700
  • 8f8fcc8a90 Fix bug with toJSON, all properies of nodes were not serialized if some native objects of JS were extended. David Johansson 2012-09-24 21:26:13 +0200
  • 2c937362b7 Fix for TextPath shadow. SHadow was only added for first character. David Johansson 2012-09-24 19:35:11 +0200
  • a349fa488c fix #96 setting text to integer data types no longer fails ericdrowell 2012-09-23 18:41:05 -0700
  • 9fde3036f7 #fix 97 ericdrowell 2012-09-23 18:29:15 -0700
  • 24e3aa2c03 added isListening and isDraggable aliases for consistency ericdrowell 2012-09-23 16:06:44 -0700
  • bda7f9f082 no reason to use a Kinetic.Collection inside _getNodes because the elements are pushed into a collection outside of _getNodes ericdrowell 2012-09-23 15:47:15 -0700
  • 1d9679a0f3 Merge pull request #101 from davonium/collection ericdrowell 2012-09-23 15:43:48 -0700
  • a8cacb28e3 Merge remote-tracking branch 'upstream/master' into custom-dragBounds David Johansson 2012-09-24 00:16:43 +0200
  • 45d61a0eb6 Corrected behaviour of the collections apply method. Changed collections each-method to use same syntax as jQuery - function(index, element) and also being able to use 'this' to get the element. Added test for apply('on',...) since it needs more than one argument. David Johansson 2012-09-24 00:05:34 +0200
  • 9f5d0fe351 created Collection class to handle iterating over arrays returned from get() ericdrowell 2012-09-23 10:53:23 -0700
  • 8d6103d1e0 get() now returns a Node.Array array which has node methods. This means that you can do stuff like layer.get('.shape').setX(300) ericdrowell 2012-09-22 21:27:44 -0700
  • b56bd6618a fixed README ericdrowell 2012-09-22 17:52:54 -0700
  • 76a13ad8f2 updated README Eric Rowell 2012-09-22 17:27:18 -0700
  • d0a1b2870e when calling layer.hide() or show(), the physical canvas element is hidden and shown rather than clearing and redrawing the layer. This greatly improves hide and show performance for layers Eric Rowell 2012-09-18 09:25:16 -0700
  • 0f2cee5499 merged davonium's pull request which enables deep cloning Eric Rowell 2012-09-17 23:20:23 -0700
  • 01c2b28a6c it turns out that there was only a problem with moveDown. refactored logic proposed by Adam Eric Rowell 2012-09-17 22:49:24 -0700
  • 0bf3db0688 Merge pull request #92 from amw/fix-move-down ericdrowell 2012-09-17 22:24:06 -0700
  • a9811a8adc Fix Layer.moveToBottom/moveDown when only one layer is present. Adam Wróbel 2012-09-14 13:05:33 +0200
  • 580e52689c Deep cloning. Cloning also clones children. Also added unit test to confirm that it's working as expected. David Johansson 2012-09-02 23:44:00 +0200
  • 8883e80bfe cleaned up _getContentPosition() method and fixed event detections for stages below the fold on mobile devices Eric Rowell 2012-08-26 22:42:54 -0700
  • 1de5bce6e5 multi line text now correctly supports shadows Eric Rowell 2012-08-26 18:49:05 -0700
  • c01c08d557 now removing color key from shapes hash when a shape is removed from the stage Eric Rowell 2012-08-26 18:25:51 -0700
  • 89611aed5f rounding pos components when used with getImageData Eric Rowell 2012-08-26 12:23:29 -0700
  • 79a1029adb fixed getIntersections bug Eric Rowell 2012-08-26 11:00:18 -0700
  • 5e6c8774e8 the Sprite afterFrame function should only execute once Eric Rowell 2012-08-26 00:24:38 -0700
  • f08701e347 added radius type checking in setAttrs method Eric Rowell 2012-08-26 00:11:46 -0700
  • 6eda6d2607 decided to split Circle and Ellipse shapes because it was causing too many issues related to the mixed data type of radius, which could be a number or object with x and y properties Eric Rowell 2012-08-25 23:56:39 -0700
  • ddfcab2d55 layer reordering now correctly reorders scene canvases Eric Rowell 2012-08-25 22:26:25 -0700
  • 20f2158afb forgot to remove Class util as it is no longer used Eric Rowell 2012-08-25 21:23:55 -0700
  • 923b4d9c91 Merge remote-tracking branch 'upstream/master' into custom-dragBounds David Johansson 2012-08-23 22:39:25 +0200
  • 1ad2530889 removed john resig's Class class because it was really slowing down node instantiations. Created a custom solution that's much lighter weight, and about 50% faster Eric Rowell 2012-08-22 23:35:21 -0700
  • 45cf237ce0 Merge branch 'customextend' Eric Rowell 2012-08-22 23:18:46 -0700
  • 39957fba73 just run rectangle instantiation test for now Eric Rowell 2012-08-22 23:15:46 -0700
  • d48aa321f4 removed resig's Class dependency to test performance gain Eric Rowell 2012-08-22 23:13:09 -0700
  • 58ef06d372 applyFilter should generate a temp canvas based on the size of the image dimensions, not the user defined dimensions Eric Rowell 2012-08-21 21:31:44 -0700
  • 47a0605e00 converting bufferImage to imageBuffer in Image.js Eric Rowell 2012-08-21 19:55:32 -0700
  • 7b4ec5e6c8 changed bufferImage property to imageBuffer Eric Rowell 2012-08-21 19:42:29 -0700
  • 4b142db887 don't apply buffer fill if fill is not defined and shape contains an image Eric Rowell 2012-08-21 19:32:04 -0700