Commit graph

406 commits

Author SHA1 Message Date
kangax
4e940ea55a Allow node 0.6.8 2012-01-27 12:46:34 -05:00
kangax
a99c1cc9bb Update package.json to allow higher version canvas package. 2012-01-27 12:42:47 -05:00
kangax
3d6ae8442f Fix object controls not working in IE8. Closes #92. 2012-01-26 19:39:30 -05:00
Juriy Zaytsev
c57791e633 Merge pull request #105 from Kingsquare/master
Fix unit tests in < IE8.
2012-01-23 05:15:56 -08:00
kangax
0bb80dddf0 Fix fabric.Canvas#setOverlayImage('') not removing overlay image. 2012-01-21 23:07:16 -05:00
kangax
4565e0dd6a Fix parsing of gradients with stops that have absolute values (rather than percents). 2012-01-21 13:33:49 -05:00
kangax
c057b8b6d5 Fix vertical gradient rendering. Closes #108. Thanks aarr0n. 2012-01-21 12:59:30 -05:00
kangax
771ee6f89d Update year in header. 2012-01-20 14:29:51 -05:00
Tim de Koning
804de6094c Why shouldn't we allow GET parameters? Dynamicly generated SVG files (based on GET params) should be supported to 2012-01-20 11:29:51 +01:00
Tim de Koning
c34bc926ed Fir fox IE7 and IE8 multiline strings
IE7 and IE8 are the only browsers to strip newlines and spaces in the DOM tree. This is an ugly fix to work around this issue and make mulitline strings possible in IE.
2012-01-18 15:36:17 +01:00
Tim de Koning
2fab0b1ed7 Font rendering fix for < IE9
Fabric expects text to be rendered as Canvas elements. Cufon however falls back to VML rendering when canvas is not available in the browser. This mod of the Cufon library ALWAYS enabled the canvas rendering engine for Cufon.  This way font-rendering is available on IE7 and IE8 when excanvas is available.
2012-01-18 12:00:59 +01:00
Tim de Koning
f71f634afd IE8 and lower now actually render and show any loaded SVG 2012-01-18 10:44:03 +01:00
Tim de Koning
3795149dda Allow excanvas to kick in for IE8 and lower 2012-01-18 10:01:34 +01:00
Tim de Koning
364e76713c fabric.loadSVGFromString should work on IE8 and lower... 2012-01-17 17:29:45 +01:00
Tim de Koning
da9c75c073 improved doctype removal regex 2012-01-17 16:30:23 +01:00
Tim de Koning
17931fb764 fix for unittest "fabric.Parser.parseStyleAttribute" compliance in < IE8 2012-01-17 15:24:25 +01:00
Tim de Koning
26d6176928 fix for unittest fabric.util.loadSVGFromString in < IE8 2012-01-17 14:41:58 +01:00
kangax
1c8b5c122d Avoid sub-pixel antialiasing when drawing straight vertical or horizontal lines. 2012-01-15 12:46:52 -05:00
kangax
23c4ec2068 [BACK_INCOMPAT] Remove fabric.Object#getCenter as it doesn't make sense (getLeft/getTop already return object center coordinates). 2012-01-10 14:16:16 -05:00
kangax
de8684cfda Fix text shadow rendering in exported SVG. 2012-01-06 19:58:21 -05:00
kangax
c39053456c Fix fabric.Text#textShadow to actually use specified color. 2012-01-05 22:39:30 -05:00
kangax
e20a37ba6a Add fabric.Image.filters.Invert (thanks Travis Paul). 2012-01-05 17:38:35 -05:00
kangax
c451f32c9f Fix text alignment in SVG export. Center- and right-aligned text now displays properly. Add more tests to SVG export test suite. 2012-01-04 17:18:42 -05:00
kangax
ffc8362b4a Merge branch 'master' of github.com:kangax/fabric.js 2012-01-04 12:32:15 -05:00
kangax
9814cf12b5 Add support for text background color in SVG representation. 2012-01-04 12:31:37 -05:00
Juriy Zaytsev
c3d772bd3e Update link to unit tests in README. 2012-01-03 18:43:52 -05:00
kangax
b84cf9f496 Update version to 0.7.5. 2012-01-02 16:19:39 -05:00
kangax
a595fd5516 Add start_server.js. 2012-01-02 16:18:40 -05:00
kangax
d870410a7d First (and almost complete) implementation of fabric.Canvas#toSVG. 2012-01-02 16:14:20 -05:00
kangax
3544410689 Fix bug in canvas initialization in node. Thanks Urs. 2011-12-10 13:26:52 -05:00
kangax
cb7a4bdf86 Remove reference to window in util/misc.js for node compat. 2011-12-09 16:24:37 -05:00
kangax
326d662eec Fix JS error in older browsers (e.g. FF4) when fabric.Rect's x/y are undefined. Closes #84. Thanks Kienz. 2011-12-08 10:31:30 -05:00
kangax
ebab02dc02 Better docs layout. 2011-12-08 09:44:05 -05:00
kangax
d72fceb14b Documentation tweaks. 2011-12-08 09:44:05 -05:00
kangax
a8758ffbe1 Use requestAnimFrame polyfill instead of setInterval in fabric.util.animate. Add fabric.util.requestAnimFrame. 2011-12-08 09:44:05 -05:00
kangax
f3283cbb93 Update package.json to allow node 0.6.5. 2011-12-08 09:44:05 -05:00
Juriy Zaytsev
ad9fe2f064 Update README.md 2011-12-07 16:29:45 -05:00
kangax
ea99a1fc7c Pass actual event when firing synthetic "object:selected" one. 2011-12-05 12:55:31 -05:00
kangax
37f6e9d9b0 Build fabric distribution with modules=ALL. 2011-12-03 11:11:11 -05:00
Juriy Zaytsev
dff3d9bf40 Merge pull request #86 from jarek-itmore/master
Make it possible to render text object with custom fontWeight.
2011-12-02 08:05:40 -08:00
jarek
f4a9a7719e Merge remote-tracking branch 'upstream/master' 2011-12-02 09:53:33 +01:00
jarek
481fc8dd6e reverted changes from previous commit 2011-12-02 09:53:15 +01:00
kangax
eb9d64f89a Fix Opera <12 bug with canvas not getting correct prototype. 2011-11-28 19:47:41 -05:00
kangax
17926a17e8 Add build_docs.js script. 2011-11-27 23:59:43 -05:00
kangax
4404882bc1 Update package.json to fabric 0.7. 2011-11-27 23:59:18 -05:00
kangax
b8ea6b7cec [BACK_INCOMPAT] Add support for static canvases — fabric.StaticCanvas. fabric.Canvas#loadImageFromURL -> fabric.util.loadImage. Add fabric.Canvas#centerObject. 2011-11-27 23:57:28 -05:00
kangax
15c0dc3768 node build.js now does automatic minification
(minifier can be changed via "minifier" option)
2011-11-27 23:55:36 -05:00
jarek
f8045a84b9 fixed problem with drawing text object with non default fontWeight 2011-11-24 12:44:00 +01:00
kangax
6d376dd588 Fix gradient positioning in fabric.Gradient.forObject. 2011-11-20 12:34:36 -05:00
kangax
f3a3e81ea2 [BACK_INCOMPAT] Fix JS error when calling fabric.Image#toDataURL. toDataURL is now asynchronous, and passes data url to callback (first argument) instead of returning it. Closes #79. 2011-11-18 10:44:53 -05:00