Commit Graph

487 Commits

Author SHA1 Message Date
Eric Rowell
a30d6730fe documented Filters namespace, filters, and Transform class, and cleaned up jsdoc warnings 2012-11-11 17:08:16 -08:00
Eric Rowell
753971247d fix #146 used standard object notation in thorfile to hopefully prevent older versions of Ruby from failing 2012-11-10 18:08:32 -08:00
Eric Rowell
908fa24b8e fix 149 cleaned up Kinetic.Canvas usage 2012-11-10 17:05:35 -08:00
Eric Rowell
4cc505446a updated docs 2012-11-05 07:33:54 -08:00
Eric Rowell
bb26f948f2 Merge pull request #144 from BlackScorp/master
Ignore IDE Files
2012-11-05 07:31:58 -08:00
BlackScorp
f1573fb7e2 ignore IDE Files 2012-11-05 09:13:05 +01:00
Eric Rowell
356c302ac3 added shapeType property to Sprite which fixes a bug related to cloning Sprites. Also added more unit tests 2012-11-04 18:15:29 -08:00
Eric Rowell
2e31d9f2b6 updated Filter comments 2012-11-04 11:35:17 -08:00
Eric Rowell
656a7a63e4 added Invert filter which inverts image colors 2012-11-04 11:30:40 -08:00
Eric Rowell
b76cc09742 added Brighten filter 2012-11-04 10:52:33 -08:00
Eric Rowell
921d9f0caa improved unit test for setDrawFunc() 2012-11-04 08:54:32 -08:00
Eric Rowell
1a53757d2e added comment for IE9 Windows7 64bit bug 2012-11-04 08:08:32 -08:00
Eric Rowell
b3e7e26248 console.warn() was failing in IE9 running on Windows7 64bit. changed check to window.console 2012-11-04 08:07:09 -08:00
Eric Rowell
32e72176ca isListening() method now takes into account ancestor listening 2012-11-03 22:20:46 -07:00
Eric Rowell
257497755b added defensive coding to _handleEvent() method which fixes a bug related to canceling stage drag and drop while dragging 2012-11-03 21:49:20 -07:00
Eric Rowell
9c1f32d341 added dist files to ignore file and updated Thorfile. Dist files should no longer be checked into the repo 2012-11-03 21:14:27 -07:00
Eric Rowell
fb1186883a purging dist files 2012-11-03 20:59:18 -07:00
Eric Rowell
0748692c1d added new fire() method which fires synthetic events and custom events. Simulate() now simulates user events with event bubbling 2012-11-03 17:19:21 -07:00
Eric Rowell
df829e1e89 fixed up toImage() docs 2012-11-03 16:08:29 -07:00
Eric Rowell
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 2012-11-03 11:16:33 -07:00
Eric Rowell
1ad12bbbf1 updated readme 2012-11-02 10:03:29 -07:00
ericdrowell
35876c854c Merge pull request #138 from pavelpower/master
use function simulate for user event
2012-11-02 09:12:07 -07:00
Pavel Akhmetchanov
4536f3cdef Update src/Node.js
replace function simulate. Added event attribute.
2012-11-02 17:59:17 +06:00
Eric Rowell
d0ebbc939a added setAttrs() method back in because I realized that it wasn't hurting performance that much 2012-10-28 22:45:37 -07:00
Eric Rowell
fb90709b3a greatly improved transition performance by directly setting attr properties for each frame, and also removing unecessary redraws when transition finishes 2012-10-28 22:41:13 -07:00
Eric Rowell
f1e2503873 added tests for configurator combinations 2012-10-19 23:31:26 -07:00
Eric Rowell
8298bdee7a updated build file to better support custom builds via configurator 2012-10-18 23:32:57 -07:00
Eric Rowell
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 2012-10-14 20:22:22 -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
d636afb6fe text.getWidth() and getHeight() now return calculated width and height. Removed getBoxWidth() and getBoxHeight() methods 2012-10-11 20:00:13 -07:00
Eric Rowell
353cd939bd readded linecap attr to shape level 2012-10-10 20:00:27 -07:00
Eric Rowell
0ae50ba523 merge trunk 2012-10-10 19:25:50 -07:00
Eric Rowell
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 2012-10-10 18:48:08 -07:00
ericdrowell
b025767a27 updated jsdocs. TextPath setText() now calls Text setText(). Polygon setPoints() method now has data conversion logic similar to Line 2012-10-07 21:12:45 -07:00
ericdrowell
f74955641a fixed multiple bugs related to toDataURL() when using hidden layers 2012-10-07 19:38:12 -07:00
ericdrowell
432533ae4a greatly improved the OO design for draw logic. removed unecessary _draw() and __draw() methods 2012-10-07 19:14:14 -07:00
ericdrowell
f1bc2fe4e8 updated unit tests 2012-10-06 16:11:49 -07:00
ericdrowell
fcd4b345fc moved cornerRadius proprty to Shape level 2012-10-06 15:55:10 -07:00
ericdrowell
e16935efb3 merge pull request #115 which improves get() design, and also enables the ability to select by node ttype 2012-10-06 15:40:49 -07:00
ericdrowell
07a8848098 updated text shadows unit test 2012-10-06 15:22:51 -07:00
ericdrowell
82bfd9c15a text shadows now work correctly again 2012-10-06 15:19:33 -07:00
ericdrowell
a3840fdc69 moved line cap logic to shape level so that Path can also utilize line caps 2012-10-06 15:05:03 -07:00
David Johansson
8e03a97d46 Improved get method to inlude get by shapeType. Also improved the oo-design. 2012-10-06 23:35:46 +02:00
ericdrowell
6f230fc42b pull request #109 opacity can now be applied to the stage 2012-10-06 13:53:50 -07:00
ericdrowell
3f8801a494 setZIndex now correctly reorders layer canvases 2012-10-05 18:59:03 -07:00
ericdrowell
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. 2012-10-03 20:38:29 -07:00
ericdrowell
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 2012-10-03 19:38:12 -07:00
ericdrowell
67d3507925 Merge pull request #112 from davonium/on_off
Off can remove all listeners in the same name space by .off(".foobar")
2012-10-03 16:34:14 -07:00
David Johansson
fa2c8fb88d Off can remove all listeners in the same name space by .off(".foobar") 2012-10-04 00:50:04 +02:00
ericdrowell
9ba21651a9 fixed typo 2012-10-03 10:58:52 -07:00