Commit Graph

  • f8f46daafe added work around for strange formatting error Eric Rowell 2012-07-01 20:58:13 -0700
  • 3e0ed1c2fb fixed up logical error in Text shape Eric Rowell 2012-07-01 17:14:15 -0700
  • 66f29c602e added padding attr change event binding to Text Eric Rowell 2012-07-01 17:08:59 -0700
  • 39e8a7af8d reverted Image shape. Image no longer extends rect because this was producing losses in performance and big losses in image quality when scaling the image Eric Rowell 2012-07-01 16:48:04 -0700
  • 6e3bae6b2d fixed typo introduced with search/replace Eric Rowell 2012-07-01 16:29:15 -0700
  • 4c521317ff Text shape is no longer a group made up of a Rect and Shape. The complexity overhead out-weighs the inelgance of duplicating a dozen lines of the Rect shape. Eric Rowell 2012-07-01 16:25:02 -0700
  • caae5a5155 bug fix: ellipse radius change no longer fires duplicate attr change event Eric Rowell 2012-07-01 15:30:51 -0700
  • 31566bff13 transition attr updates now fire the attr change event. Fixed problem with root level attrs not being fired when child level attr changed Eric Rowell 2012-07-01 00:19:56 -0700
  • ddb57a03ba updated testing instructions in the README Eric Rowell 2012-06-30 20:10:58 -0700
  • aa4b0955c0 added horizontal align logic back into the Text draw func Eric Rowell 2012-06-30 20:05:27 -0700
  • e279ea30b9 fixed up new Text wrap edge cases. Will add a bunch of unit tests soon Eric Rowell 2012-06-30 19:43:52 -0700
  • 6663b9e612 first pass at implementing auto word wrap. Still have a few edge cases to cover. Removed vertical align property as it is no longer relevant Eric Rowell 2012-06-30 00:40:54 -0700
  • 07ef653441 completely rewrote the Text shape. Kinetic.Text is now a Group that's composed of a Rect and a custom shape that draws text. align and vertical align now apply to the text alignment inside the text box. box rounded corners are now possible since Text uses Rect. Shadow logic improved. Beefed up the text getter and setter unit tests Eric Rowell 2012-06-27 19:50:32 -0700
  • 3b6dffe6e1 refactored Image event bindings and fixed radial gradient bug Eric Rowell 2012-06-24 13:39:36 -0700
  • a8c09516ba trying out Image extending Rect so that Image has Rect properties and methods such as corner radius Eric Rowell 2012-06-24 12:44:08 -0700
  • c1a08d8073 created new addSettersGetters method, further enhanced dynamic getters and setters Eric Rowell 2012-06-23 18:09:10 -0700
  • 80eb50a708 added new clearBeforeDraw Layer property which enables you to skip canvas clearing before each draw. Added new warn() method to test suite, and added error and warning colorings to the test counter Eric Rowell 2012-06-23 16:11:58 -0700
  • 6b36c7ed93 cleaned up shadow logic and defaults in _applyShadow Eric Rowell 2012-06-22 19:58:36 -0700
  • 19750782c7 improved drawing speed by 7% by optimizing stroke(), fill(), and several other methods Eric Rowell 2012-06-22 19:36:37 -0700
  • 422791a99a cleaned up undefined, null, 0, and '' comparison operators. To unset a attribute, you can now set it to null, 0, or ''. Setting an attribute to undefined will have no effect Eric Rowell 2012-06-22 13:15:29 -0700
  • 40a92a9988 added unit tests for Jonathan\'s toJSON() fix Eric Rowell 2012-06-21 21:46:52 -0700
  • ca6e8f1d14 Merge pull request #32 from boatmeme/11a1662c0e3e8c9bd20db2ac8ff3f2572b337cb7 ericdrowell 2012-06-21 21:35:01 -0700
  • 086dcd21c2 updated dist Eric Rowell 2012-06-21 12:48:03 -0700
  • ac3f512ab8 updated global object utilities Eric Rowell 2012-06-21 12:47:15 -0700
  • 5765ab749b converting arguments object into true array for setters, restored the original underscore.js methods, and moved radius conversion logic from the setAttrs method to a radiusChange event listener in Ellipse Eric Rowell 2012-06-20 12:55:34 -0700
  • 11a1662c0e variable cleanAttrs is a reference to node.attrs, and setting cleanAttrs[key] = undefined alters the original node.attrs causing unintended consequences for existing stage instance after calling toJSON() Jonathan Griggs 2012-06-19 20:13:07 -0600
  • ce5a8f3209 you can now cancel drag and drop with setDraggable(false) during a drag and drop operation Eric Rowell 2012-06-19 17:06:31 -0700
  • 5679b1fb76 fixed bug with Path dataChange event subscription Eric Rowell 2012-06-19 16:26:28 -0700
  • 667ee16aab added more functional tests Eric Rowell 2012-06-18 23:52:25 -0700
  • 76c85a639e changed listen property to listening, listen() to setListening(), and isListening() to getListening() for consistency Eric Rowell 2012-06-18 23:12:56 -0700
  • c8d8aa6028 changed draggable() to setDraggable(). added getDraggable(). added more unit tests and functional tests Eric Rowell 2012-06-18 22:02:13 -0700
  • dee78e86e2 added Circle backwards compatibility with Ellipse Eric Rowell 2012-06-18 19:09:07 -0700
  • 2c0aabcb9c removed timeouts from functional tests and uncommented image comparison tests Eric Rowell 2012-06-18 18:02:44 -0700
  • bf616d0d4d fixed mousemove event bug, and added a very rigorous functional test to test all of the basic shape events for both desktop and mobile Eric Rowell 2012-06-18 17:56:12 -0700
  • dc51d95eb1 image fills can now be scaled to simulate image cropping. Now that image fills can be offset and scaled, the Image Shape is now obsolute because any shape can now use regular images or cropped images. Eric Rowell 2012-06-17 17:18:49 -0700
  • fae1ff6cb7 removed Circle shape and replaced it with the more flexible Ellipse shape. If you define the radius with a number, the shape will be a circle. if you define the radius with an x and y component, it will be an oval Eric Rowell 2012-06-17 16:50:04 -0700
  • a49fc610d6 moved several manual tests to the unit test page. Added another functional test. Added warning logs to the functional test framework Eric Rowell 2012-06-16 01:21:35 -0700
  • c1b9d44885 setup data url hash for functional tests so that we can compare the visual result before and after a series of simulated events Eric Rowell 2012-06-16 00:02:55 -0700
  • 9ec8c94701 refactored event bindings to expose content node events and enable true functional tests without a test framework like Selenium. Added new manualTests.html page for manual tests. One of the manual tests has already been converted to a functional test. Will add in image data url hashmaps soon so that I can compare screenshots before and after a series of actions in the functional tests Eric Rowell 2012-06-15 11:47:55 -0700
  • 9b76f650f7 exposed content event bindings so that we can simulate mouse and touch events for the purpose of internal and external functional tests Eric Rowell 2012-06-14 23:46:52 -0700
  • 838c719c0e made a better fix for the mobile alternating drag and drop bug Eric Rowell 2012-06-14 20:29:07 -0700
  • 9a5f9006b8 updated jsdocs Eric Rowell 2012-06-14 14:56:13 -0700
  • 73ad904de6 updated jsdocs Eric Rowell 2012-06-14 02:19:51 -0700
  • 2455000f5c fixed set fill attr bug which occurred when instantiating the fill with a string color and then setting it later to a fill object such as a gradient or pattern. The fix will apply to any attr which can be a string or object Eric Rowell 2012-06-12 09:57:29 -0700
  • 6d4738cd2b all simple getters and setters are now dynamically created. This is the first step towards creating a code base that can unpack at run time to reduce file size Eric Rowell 2012-06-10 13:07:09 -0700
  • 6b70e1b18f now using setAttrs for all Shape and shapes setters Eric Rowell 2012-06-10 00:02:16 -0700
  • 13105969b1 attr change events are now only fired on root level attr changes. changed centerOffset property to offset property for consistency. did additonal refactoring Eric Rowell 2012-06-09 16:13:25 -0700
  • bba1d0ad21 now leveraging the setAttrs method for all setters in Node class. utilizing draggableChange attr event to trigger drag and drop inits Eric Rowell 2012-06-09 15:31:25 -0700
  • 9697af530c stage now listens for dimension changes, and updates the DOM dimensions if the widthChange or heightChange event is triggered Eric Rowell 2012-06-09 11:24:35 -0700
  • e64024d3bd refactored attr event change logic a bit. added delete operator in a couple places to fix memory leaks. added better event unit tests. Eric Rowell 2012-06-09 10:53:47 -0700
  • 12b61b3621 attr change events are now triggered for any root attr so long as the attr is set with the setAttrs method Eric Rowell 2012-06-09 01:47:41 -0700
  • 2cd24309ac first step to exposing event driven architecture. Devs can subscribe to attr change events with the on method. e.g. shape.on('widthChange', function(){...}) Eric Rowell 2012-06-08 21:56:33 -0700
  • 440c3ac279 event simulation now correctly bubbles Eric Rowell 2012-06-08 20:57:20 -0700
  • e7699a588f fixed mobile drag and drop bug. refactored _handleEvents(). added new functional test that has two drag and drop shapes Eric Rowell 2012-06-08 00:42:48 -0700
  • 0167432216 updated Path docs Eric Rowell 2012-06-06 21:41:29 -0700
  • d145d3e3a2 Merge pull request #25 from jfollas/master ericdrowell 2012-06-06 21:27:46 -0700
  • f9342cb019 Tab to spaces; fixed tests (i.e., disabled "testonly") Jason Follas 2012-06-06 00:33:29 -0400
  • b61c688a83 Implemented "a", "A". Added unit test for SVG "tiger" path (the canonical SVG example) Jason Follas 2012-06-05 23:56:46 -0400
  • e74fa3a319 fixed stage drag and drop bug on tablets Eric Rowell 2012-06-03 12:48:13 -0700
  • 8b22fb0690 updated Transition docs Eric Rowell 2012-06-03 10:36:50 -0700
  • e842cdf8ac stage setSize() method now converts inputs to integers. added a lot of setSize unit tests Eric Rowell 2012-06-02 21:27:26 -0700
  • 91eb4ea371 isVisible() method now takes into account ancestor visibility. This fixes several bugs related to odd event detection behavior with clusters of visible and invisible nodes Eric Rowell 2012-06-02 19:12:06 -0700
  • 9f243d4a2e garbage collecting empty arrays in _removeName method to free up space Eric Rowell 2012-06-02 00:39:17 -0700
  • 1b333bc800 new simulate() method to simulate node events. e.g. shape.simulate('click') Eric Rowell 2012-06-02 00:21:49 -0700
  • 385deb793d remove() method now correctly removes node descendants Eric Rowell 2012-06-01 23:56:01 -0700
  • ba796f4cc3 new tap event. touchmove no longer incorrectly fires onmousemove event. dbltap now correctly bubbles. cleaned up some other event handling logic. Eric Rowell 2012-06-01 00:44:38 -0700
  • 84e400e0f0 changed commands property to data per Jason's request. This provides a similar nomenclature to the SVG path data property Eric Rowell 2012-05-29 21:34:04 -0700
  • 2bc0465186 Merge pull request #24 from jfollas/master ericdrowell 2012-05-29 21:21:16 -0700
  • 59ee010050 Implemented 's' and 'S' Jason Follas 2012-05-29 16:14:58 -0400
  • 90364408d7 implemented 'T' and 't'. Jason Follas 2012-05-29 15:22:06 -0400
  • 90c07bdaa5 Implemented 'c', 'C', 'q', 'Q' paths Jason Follas 2012-05-29 14:41:23 -0400
  • d0acfb14e1 Added multi-point string handling to the path parser. Added support for 'm' and 'Z'. Jason Follas 2012-05-29 13:49:11 -0400
  • 89370bfee7 fixed bug with setScale method and _isNumber method. Added unit tests Eric Rowell 2012-05-28 23:46:40 -0700
  • 85cb03fa90 further optimized the path parser algo Eric Rowell 2012-05-28 19:00:22 -0700
  • 9fa7949d27 fixed closePath bug with Path shape, added getters and setters, and added another path unit test Eric Rowell 2012-05-28 16:11:43 -0700
  • a29d1520ae applying event throttling logic to mousemove and touchmove only Eric Rowell 2012-05-28 12:12:26 -0700
  • 3c72f8240b fixed up unit tests Eric Rowell 2012-05-28 12:02:02 -0700
  • a2defa4bed turns out there was no performance problems with the path (made a dumb mistake with implementation). However, during the analysis, I ended up adding event detection throttling which is pretty handy. It cuts down unecessary mousemove event handling dramatically and greatly improves performance when you have thousands of shapes Eric Rowell 2012-05-27 23:41:05 -0700
  • cc35abd0f6 first round of new Path shape. Despite multiple optimizations, the path performance isn't as good as a previous experiment done with v3.8.1. Will keep this as a separate branch until the performance issues are resolved Eric Rowell 2012-05-27 21:46:03 -0700
  • 4488f22c32 added drag and drop support for the stage. This essentially enables stage panning Eric Rowell 2012-05-27 00:07:36 -0700
  • e075a725a1 rewrote shadow logic. Shadows can now be applied to images and sprites, even if they have transparent pixels Eric Rowell 2012-05-26 20:34:36 -0700
  • af31e1ee83 refactored stage.reset method. Now storing node default attrs as an object which can be used by the stage to reset itself Eric Rowell 2012-05-26 18:40:43 -0700
  • 44ba6f7e5b bug fix - when setting a custom attr that points to self, the setAttrs method no longer gets stuck in a recursive loop throwing a stack overflow error. Also, objects that were instantiated from a class (non-literal objects) are no longer serializable Eric Rowell 2012-05-26 18:31:13 -0700
  • fd6bdb570c refactored get() and add() node methods. much cleaner now. Eric Rowell 2012-05-26 16:49:58 -0700
  • 07edfbc765 hooked setAttrs into setCrop() method and made the _getSize() method more flexibile by accepting more variations of input. added unit tests Eric Rowell 2012-05-26 16:37:37 -0700
  • 8c675327b9 hooked in the setAttrs method to the shadow setter and the pattern fill setter. added more unit tests Eric Rowell 2012-05-26 10:57:56 -0700
  • 0bb158c0fb hooked setAttrs into setPosition and setScale for more flexibility. Added in depth position and scale unit tests. add() and remove() methods are now chainable Eric Rowell 2012-05-25 20:18:05 -0700
  • 5526d2847e forgot to move the image object to the attrs for Kinetic.Image and Kinetic.Sprite Eric Rowell 2012-05-20 21:41:05 -0700
  • 61d325d383 fixed up some issues with serialization and deserialization and updated unit tests Eric Rowell 2012-05-20 16:42:37 -0700
  • e26575a6c8 fixed flickering when a node was added to the stage, updated, and redraw due to throttling Eric Rowell 2012-05-20 15:30:32 -0700
  • 2331222459 linear and radial gradients can now have any number of color stops Eric Rowell 2012-05-20 11:12:07 -0700
  • 4ba2818f97 improved shadow code quality and added support for text fill and stroke shadows Eric Rowell 2012-05-20 10:47:28 -0700
  • 97ddb507ea fixed layer drawFunc bug. Now using call() for layer beforeDraw and afterDraw custom functions so that they are executed from the layer's context Eric Rowell 2012-05-19 22:18:33 -0700
  • 7fcf5f156a added support for shadow alpha property Eric Rowell 2012-05-19 22:11:33 -0700
  • e60eb8be6e tons of refactoring to make the code base even more elegant and flexibile. In particular, the setAttrs() method is much more powerful now, and serves as a really convenient way for setting a bunch of node properties at once Eric Rowell 2012-05-19 21:14:04 -0700
  • 2ac2c2856c transitions can now operate on ANY numeric value for any Node object, regardless of the property's depth in a config object tree Eric Rowell 2012-05-13 18:59:10 -0700
  • 9944b897c4 added support for heigt and width properties inside an object config property to be transition-able Eric Rowell 2012-05-13 17:04:15 -0700
  • 1c36f208c0 added gaurd against infinite slopes for dashed lines Eric Rowell 2012-05-13 16:23:58 -0700
  • 5045c3fbc4 fixed slop calculation bug with dashed line logic Eric Rowell 2012-05-13 16:00:18 -0700
  • c6040ebf9d a bit of refactoring here and there, added some getters and setters that i missed in Kinetic.Sprite Eric Rowell 2012-05-13 14:04:29 -0700