First implementation of brushes
Add circle brush
Avoid expensive regex when modifying data url string
Discard active group when clearing canvas
Prevent event.js from erroring out in Node
Merge master
Refactor brushes
Change pattern brush to work with fabric.Pattern
Fixed failing test: fabric.util.loadImage
Merge master
Add shadow support to brushes
Valid svg output (http://validator.w3.org/):
- delete width/height attributes from g (http://www.w3.org/TR/SVG/struct.html#GElement) and path element (http://www.w3.org/TR/SVG/paths.html#PathElement)
- update DOCTYPE for svg version 1.1
drawCorners -> drawControls, for consistency. Remove unused hasCorners and use hasControls instead of hideCorners. Version 1.0.12
Merge pull request #437 from Kienz/svgOutputValidation

Ensure valid SVG output (http://validator.w3.org/)
Fix doc. Thanks @rodrigopandini
Merge pull request #413 from uruz/feature/fix-failing-test

Fix failing test: fabric.util.loadImage
res -> response and remove unnecessary semicolon
[BACK_INCOMPAT] Implement fabric.Gradient#toSVG() and radialGradient

- Implement radial gradient and expand linear gradient (stop-opacity should now take into account)
- Gradients should now be included in the SVG output for the following fabric objects: circle, ellipse, line, path, polygon, polyline, rect and triangle (text is not yet implemented)
- Gradients (linear / radial) can be applied to stroke or fill property => change setGradientFill(options) to setGradient(type, options)
- Change toObject() that linear and radial gradients can be serialized
- Expand fabric.Color by 16 basic colors fabric.Color.colorNameMap => gradients with e.g. stop-color="blue" and stop-opacity="0.5 can be converted to RGBA color
- RGBA colors in svg has no affect (convert to RGB color), only stop-opacity has affect to color opacity
- Attached some test svg files http://kienzle.geschaeft.s3.amazonaws.com/projects/fabricjs/gradients/gradients.rar
Doc fixes
Update setGradient and addColorStop interface
- setGradient('fill', {x1: 50, y2: 10, colorStops: {'0.7', 'rgba(0,153,153,0.5)'}});
- addColorStop({'0.4', 'blue'});