Commit Graph

929 Commits

Author SHA1 Message Date
Eric Rowell
159959a077 migrated all Circle tests from old unit test framework to Mocha 2013-09-01 14:08:21 -07:00
Eric Rowell
fe551c1ece added more pass through methods for the new context class, and added more unit tests 2013-09-01 13:28:52 -07:00
Eric Rowell
0fc44eb3ff finished up all of the context traces for a simple rectangle rendering, and added unit test 2013-09-01 02:03:24 -07:00
Eric Rowell
8c3a53dc9d started working on context tracing. Added first context trace unit test 2013-09-01 01:13:52 -07:00
Eric Rowell
f144c67264 resolved conflicts 2013-08-31 21:53:42 -07:00
Eric Rowell
3ba89d36e7 introduced new Context class. I've bumped up the next release to v4.7.0 because this is a relatively big mind shift in how the framework works, and it's a big enough API change to warrant a minor update. This is the first step towards enabling context tracing for stellar unit testing 2013-08-31 21:49:18 -07:00
Jason Follas
938b37a07c Unit tests added for issue #249. Fixed rendering of TextPath along vertical lines. Added unit tests for SVG-as-images. 2013-08-30 11:23:46 -04:00
Eric Rowell
8e5e3e2bb3 removed status string from readme 2013-08-28 23:58:06 -07:00
Eric Rowell
07dee8f01e updated travis ci info a bit more in readme 2013-08-28 23:56:56 -07:00
Eric Rowell
e94cd6910d added travis ci images to readme 2013-08-28 23:55:42 -07:00
Eric Rowell
f10300f3c8 only run the tests on the latest version of nodesj 2013-08-28 23:51:34 -07:00
Eric Rowell
c347255fa5 update package.json 2013-08-28 23:47:07 -07:00
Eric Rowell
d7044ebd80 added grunt build step to yml file 2013-08-28 23:42:11 -07:00
Eric Rowell
b8ef4ee64b updated yml file 2013-08-28 23:38:24 -07:00
Eric Rowell
fcb3826154 checking in .travis.yml file for travis ci 2013-08-28 23:29:03 -07:00
Eric Rowell
4247553708 setup mocha-phantomjs, test runner, and a few Util tests 2013-08-28 23:19:29 -07:00
Eric Rowell
2f0c889b1e created a proper utility function that handles defaults. Integrating the ntew get() method fixes a shadowBlur issue. fixed #587 2013-08-28 09:48:42 -07:00
Eric Rowell
188bf2d8d0 Merge branch 'master' of github.com:ericdrowell/KineticJS 2013-08-27 22:09:35 -07:00
Eric Rowell
4665a2d002 updated Canvas docs 2013-08-27 22:06:32 -07:00
Eric Rowell
c8936a4bc0 added getter and setter methods for pixel ratio. Also added unit tests 2013-08-27 21:51:54 -07:00
ippo615
2f10116f55 Used filterCanvas.clear() to clear dirty canvas. 2013-08-27 20:53:15 -04:00
Jason Follas
b53d22a291 Fixed TextPath Bug (Issue 249, Credit for bug fix: @therth) 2013-08-27 08:30:41 -04:00
Jason Follas
bd07d96628 Added mouse position support when container is CSS transformed. History: https://github.com/ericdrowell/KineticJS/pull/141 2013-08-26 11:58:01 -04:00
Jason Follas
d8daefbf85 Formatting: Tabs to spaces 2013-08-26 08:10:32 -04:00
Jason Follas
c93f4348b0 Separated Fill and Stroke operations on Path so that it will only be filled when there's a "fill" attr. This prevents the Canvas path from being unexpectedly closed. https://github.com/ericdrowell/KineticJS/issues/567 2013-08-26 08:07:17 -04:00
Eric Rowell
6663ec0652 clipping regions now work correctly when device pixel ratio != 1 2013-08-25 22:26:42 -07:00
ippo615
cddf36b423 Improved performance of image filters. See Issue #462 2013-08-25 10:35:32 -04:00
ippo615
1d10a03772 Merge branch 'retina-filters' of https://github.com/amw/KineticJS into amw-retina-filters
Conflicts:
	src/shapes/Image.js
2013-08-25 10:12:25 -04:00
Eric Rowell
bf39df54b0 Merge branch 'master' of github.com:ericdrowell/KineticJS 2013-08-25 00:35:53 -07:00
Eric Rowell
ae66350d7f fixed #577 2013-08-25 00:34:49 -07:00
ippo615
80adc253fa Fixed Issue #572 (and other js hint warnings) 2013-08-23 22:31:06 -04:00
ippo615
3e2024b3f3 Fixed Issue #462
When image filters were being applied they were cached or buffered in
`filterCanvas`. It seemed like image would be drawn multiple times (ie
calling `layer.draw()` would cause the `drawFunc` to run about 2 to 4 times).
Each time it ran it would draw on top of the cached `filterCanvas`. The
non-zero alpha values accumulated until they reached 255, effectively
removing the alpha-channel.

To fix it, I create a new `filterCanvas` everytime. I don't check for or
use the previous `filterCanvas`. I haven't notice other issues by removing
it.
2013-08-23 21:55:11 -04:00
jfollas
dd306dc7fd Update presentation-schedule.md 2013-08-22 08:18:38 -04:00
Eric Rowell
ec81250637 Merge pull request #552 from ElliotChong/patch-1
Fixes #543 - mouseout should fire before mouseover
2013-08-16 15:41:53 -07:00
Eric Rowell
e8c27254ef promoted to v4.6.1 2013-08-14 04:39:02 -07:00
Eric Rowell
a7666eee39 rearranged some tests 2013-08-12 20:15:36 -07:00
Eric Rowell
2cf0a690f9 fixed up dd regression 2013-08-12 03:00:08 -07:00
Eric Rowell
355c80088f resolved some more merge issues 2013-08-11 22:02:49 -07:00
Eric Rowell
a4172088f1 resolving conflicts 2013-08-11 21:36:18 -07:00
Eric Rowell
d49ae15207 getStage() result is now cached. refactored caching system even further. 2013-08-11 20:34:54 -07:00
ippo615
08abb22072 Fixed broken filters. Improved documentation comments.
I tried to use imageData to speed up the transfer of pixel data. The
modified image would appear "behind" (ie obscured by) the original. I
manually copy the array of pixel data.
2013-08-11 22:20:39 -04:00
Eric Rowell
8654391de4 deprecated the clipFunc method. replaced it with clip, which has an x, y, width, and height 2013-08-10 22:00:29 -07:00
Eric Rowell
64d6c79a6a moved factory logic out of Node.js to Factory.js 2013-08-10 21:11:34 -07:00
Eric Rowell
db98fec243 added new crop methods 2013-08-10 20:30:25 -07:00
Eric Rowell
b8e3f10d3a getVisible returns the visible attr. isVisible takes ancestors into account. getListening returns listening attr. isListening takes ancestors into account. added unit tests. 2013-08-10 16:19:33 -07:00
Eric Rowell
12ed500570 updated tests 2013-08-10 14:30:17 -07:00
Eric Rowell
35db1f7a8b improved transform caching 2013-08-10 14:19:53 -07:00
Eric Rowell
0d6b8bdd79 fixed drag and drop regression by busting the transform cache inside the clearTransform method 2013-08-10 13:59:31 -07:00
Eric Rowell
1c51d65a93 caching system now relies on attr change events to clear the appropriate cache attrs 2013-08-10 13:04:02 -07:00
Eric Rowell
6f078dc127 now caching absolute opacity 2013-08-10 11:55:52 -07:00