Commit graph

935 commits

Author SHA1 Message Date
kangax
39fc445c07 Add fontStyle to delegated properties 2013-03-05 19:33:16 +01:00
Juriy Zaytsev
fabe98a015 Merge pull request #462 from llocust/patch-3
Update dom_event.js
2013-03-04 16:55:23 -08:00
llocust
ff8b09fb35 Update dom_event.js
Sorry.. Copy+Past from .min version...
e->event
2013-03-05 04:54:41 +04:00
Juriy Zaytsev
249d1103fa Merge pull request #461 from llocust/patch-2
Update dom_event.js
2013-03-04 16:43:59 -08:00
llocust
5662472f81 Update dom_event.js
On a mobile (touchbased) platform at an event 'touchend' data are stored in the changedTouches array.
2013-03-05 04:14:43 +04:00
kangax
b260845af9 Fix hasControls value being lost after object is part of a group. Closes #445. 2013-03-02 01:39:32 +01:00
kangax
af5a0ac74f Make group getter respect delegated properties 2013-03-02 01:25:34 +01:00
kangax
638876f3f8 Add support for passing additional state properties into saveState 2013-03-02 01:25:08 +01:00
kangax
293227811f Doc additions 2013-02-27 00:48:27 +01:00
kangax
17a88e93e1 Doc fixes 2013-02-24 12:40:16 +01:00
kangax
7d9c91de70 res -> response and remove unnecessary semicolon 2013-02-22 17:24:22 +01:00
Juriy Zaytsev
4651d6ecd9 Merge pull request #413 from uruz/feature/fix-failing-test
Fix failing test: fabric.util.loadImage
2013-02-22 08:22:09 -08:00
kangax
be4db2f409 Fix doc. Thanks @rodrigopandini 2013-02-20 23:42:38 +01:00
Juriy Zaytsev
a0c31a2628 Merge pull request #437 from Kienz/svgOutputValidation
Ensure valid SVG output (http://validator.w3.org/)
2013-02-20 04:28:32 -08:00
kangax
9be89b2f2f drawCorners -> drawControls, for consistency. Remove unused hasCorners and use hasControls instead of hideCorners. Version 1.0.12 2013-02-20 13:19:22 +01:00
Kienz
686b926955 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
2013-02-19 19:48:07 +01:00
kangax
80469a23eb Fix createCanvasElement canvas initialization. IE<9 now works again. 2013-02-19 13:34:50 +01:00
Juriy Zaytsev
621e5a65e0 Merge pull request #435 from Kienz/patch-2
Fix wrong width/height of image objects. Closes #433.
2013-02-19 01:42:42 -08:00
Kienz
ec28167906 Fix for issue #433 - wrong width/height of image objects
If svg with image objects was parsed the width/height props 
of the image were overridden by width/height of the svg file.
2013-02-19 09:19:46 +01:00
kangax
9df85553b9 [BACK_INCOMPAT] Add fabric.util.createAccessors. Add accessors for fabric.Text -specific properties (setTextDecoration, setFontWeight, setFontStyle, etc.). Make text object dimensions change when setting dimension-affecting properties. fabric.Text#setFontsize becomes setFontSize. Version 1.0.11. 2013-02-18 16:22:48 +01:00
kangax
7b8dfe5a30 More test fixes 2013-02-17 13:48:21 +01:00
kangax
39e2078fb6 Version 1.0.10 2013-02-17 13:39:58 +01:00
kangax
3f3d336852 Fix text unit tests 2013-02-17 13:26:53 +01:00
kangax
5a91472bdc Remove trailing comma 2013-02-17 13:26:45 +01:00
Juriy Zaytsev
8c867366fb Merge pull request #429 from Kienz/svgOutputPatternBugfix
Fix SVG output for backgroundColorPattern with repeat: 'no-repeat'
2013-02-17 04:18:51 -08:00
Kienz
b172a47ebe Fixed svg output for backgroundColorPattern with repeat: 'no-repeat' 2013-02-16 18:55:00 +01:00
kangax
a77cbfe2be Text fixes for node-canvas. Version 1.0.9 2013-02-15 14:11:58 +01:00
Juriy Zaytsev
24e9bb8513 Merge pull request #425 from Kienz/patch-1
Change order of fabric.Group objects toSVG()
2013-02-15 04:40:48 -08:00
Kienz
d9f88d061d fabric.Group objects toSVG() order changed
Changed the sort order in toSVG() from "first..last" to "last..first".
If they rendern on canvas the same order is used https://github.com/kangax/fabric.js/blob/master/src/group.class.js#L243
2013-02-15 13:17:12 +01:00
Juriy Zaytsev
6aa9bf691b Merge pull request #424 from Kienz/svgoutput
fabric.StaticCanvas.toSVG() + fabric.StaticCanvas.setBackgroundColor
2013-02-14 17:54:12 -08:00
Kienz
5e81f7ab09 Add backgroundColor to svg output
Add backgroundColorPattern to svg output
Bugfix backgroundImage in sag output - width/height are depend on backgroundImageStretch
Bugfix in setBackgroundColor - rename pattern to repeat
2013-02-14 22:06:01 +01:00
Juriy Zaytsev
1d15556321 Merge pull request #421 from Kienz/offsetProblem
Bugfix for wrong offset for cloned objects (polygon & polyline)
2013-02-13 11:08:08 -08:00
Kienz
2cd3525147 Bugfix for wrong offset if object is cloned. Same bug as issue #416 2013-02-13 19:22:19 +01:00
kangax
cd93d7efd9 Build distribution. Version 1.0.7 2013-02-11 13:23:43 +01:00
kangax
160e7e5ded Alias fabric.Observable.fire to trigger, similar to jQuery, Backbone, etc. Closes #401 2013-02-11 13:22:30 +01:00
kangax
97fa81aa77 Fix polygon boundaries. Closes #416 2013-02-11 13:21:33 +01:00
kangax
a0dcad78a1 Specify that fontSize is in pixels 2013-02-06 22:36:39 +01:00
kangax
776d966bdb Remove polygon offsetting fix which broke some SVG shapes 2013-02-06 21:04:14 +01:00
kangax
ed0716718a Fix build minification. Closes #417 2013-02-06 20:42:39 +01:00
kangax
4995fd9ed1 Fix free drawing path initialization 2013-02-06 20:41:58 +01:00
kangax
a4340fda45 Doc fixes 2013-02-06 16:20:53 +01:00
kangax
f140e2159e Build distribution 2013-02-06 16:20:53 +01:00
kangax
c49cbd33bc Fix bug in loadFromJSON 2013-02-06 16:20:53 +01:00
kangax
e4719d4300 Add support for animating 2nd level object properties 2013-02-06 16:20:53 +01:00
Juriy Zaytsev
a174387292 Merge pull request #415 from Arthaey/master
Add option to suppress XML preamble in toSVG method
2013-02-06 06:17:38 -08:00
Arthaey
48ab4607b9 Add option to suppress XML preamble in toSVG method. 2013-02-05 22:20:56 -08:00
Alexey Boriskin
137aa0eaa5 Fixed failing test: fabric.util.loadImage 2013-02-05 20:51:01 +04:00
kangax
18e6e4f353 Version 1.0.6 2013-02-04 20:49:05 +01:00
kangax
5ee9b13a92 Add support for shadows (via fabric.Shadow) 2013-02-04 20:49:05 +01:00
kangax
8b04e286a8 Log full errors instead of just its messages 2013-02-04 20:49:05 +01:00