Eric Rowell
4683ae6917
removed test dependencies from grunt
2013-09-11 12:05:34 -07:00
Eric Rowell
a9496339d1
finished migrating all unit tests over to Mocha
2013-09-11 12:02:03 -07:00
Eric Rowell
029348ec54
updated readme again
2013-09-10 21:52:11 -07:00
Eric Rowell
f4bd464d55
updated the readme with new test info
2013-09-10 21:51:07 -07:00
Eric Rowell
9d50953447
updated readme with new test info
2013-09-10 21:47:14 -07:00
Eric Rowell
25df441a8d
removed text path test context trace test
2013-09-10 21:40:26 -07:00
Eric Rowell
dd6f8a754d
migrated stage tests to Mocha
2013-09-10 21:38:26 -07:00
Eric Rowell
2fb34e3dc7
migrated TextPath and Shape tests to mocha
2013-09-10 21:17:56 -07:00
Eric Rowell
1ea9e68ff6
migrated Canvas, DragAndDrop, Global, and Tween tests to mocha
2013-09-09 10:08:16 -07:00
Eric Rowell
c40fc7cf38
removed Global namespace. global stuff is now just global, inside the Kinetic namespace. There was no reason to have a secondary level for global vars
2013-09-08 22:02:04 -07:00
Eric Rowell
400fae734d
migrated unit tests to Mocha
2013-09-08 21:36:54 -07:00
Eric Rowell
1d586098dd
removed label context trace assertion
2013-09-07 23:55:36 -07:00
Eric Rowell
976b88dea5
migrated path tests to Mocha, and also correctly fixed #567
2013-09-07 23:42:11 -07:00
Eric Rowell
9141953569
migrated more plugin tests, and continued working on context tracer
2013-09-07 20:55:03 -07:00
Eric Rowell
7d047ecaac
Merge branch 'master' of github.com:ericdrowell/KineticJS
2013-09-07 17:58:58 -07:00
Eric Rowell
ee5f4c3e3b
finished migrating all shape unit tests over to mocha. continued working on context tracing support
2013-09-07 17:57:48 -07:00
ippo615
75d0b8fe04
Added experimental filter section.
...
I added the experimental folder to show some work on filters that
can be applied to an entire layer. Multiple filters can be applied
to a layer (in any order, multiple times). To hook into the layer I
use:
layer.on('draw', filterFunc);
Eventually, I would like to move that to `layer.filterFunc` and
automatically apply it after the draw. `filterFunc` looks like:
function filterFunc(){
// Get pixel data and create a temporary pixel buffer for working
var imageData = this.getContext().getImageData(0,0,this.getCanvas().width,this.getCanvas().height);
var scratchData = this.getContext().createImageData(imageData);
// Apply all filters here
ColorStretch(imageData,scratchData,{});
// Copy the pixel data back
this.getContext().putImageData(scratchData,0,0);
}
`ColorStretch` is an example of a filter. It takes 3 arguments: the
original image data, image data to write the result to, and an options
object.
2013-09-04 21:08:39 -04:00
Eric Rowell
eddcf8ccbe
removed configParams directory
2013-09-04 09:18:04 -07:00
Eric Rowell
e5cdaff1d1
removed console log from runner
2013-09-04 09:06:18 -07:00
Eric Rowell
db43c1a694
added image unit tests. Added stage factory function to mocha runner
2013-09-04 09:05:19 -07:00
Eric Rowell
43376556a4
fixed up context clip method
2013-09-02 21:19:14 -07:00
Eric Rowell
7ac45b7c4c
migrated Ellipse test to Mocha, and finished up context wrapper methods
2013-09-02 21:16:26 -07:00
Eric Rowell
f298267bd7
migrated text tests. added more context wrapper methods and properties
2013-09-02 20:35:25 -07:00
Eric Rowell
18d36d9d77
migrated Rect and Blob tests to Mocha
2013-09-02 11:39:05 -07:00
Eric Rowell
c802935208
changed fillStroke() to fillStrokeShape() for consistency
2013-09-02 11:09:30 -07:00
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
Evan Hahn
9210407ba4
Add Bower support
...
If this is merged into `master`, it'll need to be tagged as version
4.7.0 so that Bower will work.
git tag -a v4.7.0
2013-09-01 11:55:52 -04: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