Commit graph

2164 commits

Author SHA1 Message Date
Juriy Zaytsev
4e64cf499a Merge pull request #1452 from twffy/master
Programmatic Canvas Zooming
2014-07-06 19:57:23 +02:00
Tom French
8cf9642fe4 Transform point given to zoomToPoint 2014-07-05 20:18:23 +01:00
Tom French
6b8ce5c1ce JSHint 2014-07-05 18:06:21 +01:00
Tom French
300de3be0d Correct rendering of active group 2014-07-04 20:07:04 +01:00
Tom French
d5f8d88bfc Fix ToSVG scaling 2014-07-04 17:47:25 +01:00
Tom French
ec0dcbfeb0 JSHint 2014-07-04 17:33:37 +01:00
Tom French
9dc2eaa658 Merge branch 'master' of https://github.com/twffy/fabric.js 2014-07-04 11:30:25 +01:00
Tom French
f6161f8713 ToSVG respects viewport transformation 2014-07-04 11:29:48 +01:00
Tom French
6fbd5df49c Fix FromObject 2014-07-04 11:29:48 +01:00
Tom French
42ce906e0d Fix group coordinates 2014-07-04 11:29:30 +01:00
Tom French
fc0dd0377a ToSVG respects viewport transformation 2014-07-04 11:13:55 +01:00
Tom French
77811aa4bc Fix FromObject 2014-07-04 10:52:12 +01:00
Tom French
09186c141b Fix group coordinates 2014-07-04 10:06:40 +01:00
Tom French
03926af729 Fix group coords 2014-07-04 09:37:32 +01:00
Tom French
6eae0994db Fix group coordinates 2014-07-04 09:05:48 +01:00
Tom French
a4129c31e8 Merge remote-tracking branch 'upstream/master'
Conflicts:
	dist/fabric.min.js
	dist/fabric.min.js.gz
	dist/fabric.require.js
	src/canvas.class.js
2014-07-03 16:02:43 +01:00
Stefan Kienzle
0572b99718 Merge pull request #1450 from ChrisBuergi/fire-event-on-itext-object
Fire 'selection:changed' on IText object.
2014-07-03 11:17:06 +02:00
Chris Buergi
9a867f893f Fire 'selection:changed' on IText object.
Previously the 'text:selection:changed' was only fired on the canvas, but not on the object.
2014-07-03 10:02:47 +02:00
Juriy Zaytsev
d692fcb466 Merge pull request #1445 from Kienz/fix-reset-bgcolor
Allow reset `backgroundColor` with null value
2014-07-01 18:44:06 +02:00
Stefan Kienzle
6e97a70469 Reset backgroundColor with null value 2014-07-01 18:29:06 +02:00
Juriy Zaytsev
1b2c6475b4 Merge pull request #1441 from ChrisBuergi/master
Render IText correctly when only fontWeight or fontStyle changes
2014-07-01 16:35:04 +02:00
Chris Buergi
dda68b44dd Render IText correctly when only fontWeight or fontStyle changes
Fixes rendering of characters that only have the styles "fontWeight" and/or "fontStyle" set. Previously _hasStyleChanged() did not detect a change if only one of those two styles have been set.
2014-06-30 16:19:35 +02:00
Juriy Zaytsev
0f2e306a64 Merge pull request #1425 from asturur/use-tag-use
Support use tag
2014-06-25 12:25:06 +02:00
asturur
b21820cc6b Update parser.js
Changed getElementsByTagName with queryselectorall, allow to go just on "use" node , but all of them ( getElementsByTagName doesn't , it select just first level of child.
Removed tagname check now useless.
2014-06-25 08:02:42 +02:00
Stefan Kienzle
50e3fd717c Merge pull request #1427 from asturur/shadow-return-null
Update shadow.class.js - `objects.setShadow(null)` removes the sahdow
Closes #1422
2014-06-24 15:48:16 +02:00
asturur
12c2fb82c3 Update shadow.class.js
At the end was a bad idea. If we call new fabric.Shadow() we should get a shadow whatever we pass as an argument.
2014-06-24 15:39:31 +02:00
asturur
22b0149e49 Update object.class.js
as suggested by Kienz.
2014-06-24 15:38:14 +02:00
asturur
a95897313f Update object.js
i need bigger spacebar.
or better i need to stick something on comma key that press even space after it.
Something that can bend down in one direction but not in the other, so when i press comma it push spacebar down, and when i press spacebar i don't fire a comma!
2014-06-24 15:34:18 +02:00
asturur
4ccc2c83ba Update parser.js
Moved in a separate function.
Tried to fix sneaky tabs and spaces.
2014-06-24 15:17:59 +02:00
asturur
62d281bd3d Update object.js
I'm not sure, i'm sorry i tried to guess.
2014-06-24 14:12:39 +02:00
kangax
492253e5ca JSCS tweaks. Down to 114 failures. 2014-06-24 14:12:17 +02:00
asturur
79d035d27e Update shadow.class.js
Shadow return null if null is passed.
Makes .setShadow(null) works.
2014-06-24 13:16:42 +02:00
asturur
52c9792e15 Use of tag use
Deep cloning nodes that should be used before normal document parsing.
2014-06-24 13:12:27 +02:00
Juriy Zaytsev
f01d1338da Merge pull request #1417 from asturur/master
Style parsing fix
2014-06-22 21:02:36 +02:00
asturur
049259cc09 style parsing fix
code style should be ok this time
2014-06-22 20:51:04 +02:00
kangax
facdec1225 Build dist 2014-06-21 19:25:00 +02:00
kangax
715fda8e94 Revert "Update path.class.js"
This reverts commit 77dd88569d.
2014-06-21 19:23:44 +02:00
kangax
69192f5767 Revert "Build dist"
This reverts commit 39ee3d6477.
2014-06-21 19:18:38 +02:00
kangax
62eb4e39f5 Revert "Build dist"
This reverts commit ac006b837f.
2014-06-21 19:15:10 +02:00
kangax
ac006b837f Build dist 2014-06-21 19:10:20 +02:00
kangax
39ee3d6477 Build dist 2014-06-21 19:10:20 +02:00
kangax
5c0455b428 Update packages 2014-06-21 19:10:19 +02:00
Juriy Zaytsev
48247712c7 Merge pull request #1415 from asturur/master
Update path.class.js
2014-06-21 19:07:57 +02:00
asturur
587d527bb8 Update arc.js
while investigating why some arcs fails, reduced the number of calls to math.sin and math.cos, not by that much.
2014-06-21 17:45:50 +02:00
asturur
77dd88569d Update path.class.js
Modified path positioning, fixes svg 170, debian logo, change some errors in different errors.
2014-06-21 17:03:54 +02:00
Juriy Zaytsev
713f3ad7b1 Merge pull request #1407 from asturur/master
Ellipse positioning fix
2014-06-21 16:30:37 +02:00
Juriy Zaytsev
6c2f928801 Merge pull request #1413 from asturur/parent.attribute
Stop error on parentAttributes.visible
2014-06-21 15:11:25 +02:00
asturur
35eebc0376 Update parser.js 2014-06-21 14:22:10 +02:00
asturur
54f5cf11e5 Update parser.js
Get rid of error stopping the parser for elements that doesn't have a parent with visible defined.
2014-06-21 14:19:31 +02:00
asturur
8294fd42ab Update circle.class.js
Same kind of modification from ellipse.
2014-06-21 10:37:31 +02:00