asturur
0bb156f308
Update misc.js
...
it had some problem with len of string 0 and slicing from 0 to -0 , or calculating len of ''.
now is ok, rects went crazy and i didn't notice.
2014-07-17 07:44:03 +02:00
asturur
d34f970ffb
Update misc.js
2014-07-17 00:42:31 +02:00
asturur
81092715c1
Update misc.js
...
added missing space.
2014-07-17 00:38:55 +02:00
asturur
d78996194b
Update misc.js
2014-07-17 00:37:27 +02:00
asturur
bd4c7a0c4d
Update parser.js
2014-07-16 18:56:10 +02:00
asturur
0d4320c018
Update parser.js
...
Use parseUnit to normalize pt,pc,mm,in,cm to px.
2014-07-16 15:34:54 +02:00
asturur
bf4fa0091f
Update misc.js
...
add parseUnit function to normalize mm,cm,in,pt,pc to pixels.
res is setted to 96dpi is not real screen resolution dependant.
2014-07-16 15:29:41 +02:00
kangax
69fdc220e1
Add JSDoc validation in JSCS. Few style/doc fixes.
2014-07-16 11:45:50 +02:00
Mike Shaver
825bec65df
More doc-comment fixes.
2014-07-15 15:59:53 -07:00
Juriy Zaytsev
49a783bb2a
Merge pull request #1484 from shaver/doc-comment-fixes
...
Fix some doc comment errors that were preventing build.
2014-07-16 00:47:47 +02:00
Mike Shaver
095ee86e37
Fix some doc comment errors that were preventing build.
2014-07-15 15:34:06 -07:00
Juriy Zaytsev
26a964f241
Merge pull request #1476 from twffy/upstream
...
Fix positioning of controls for lines
2014-07-15 19:17:05 +02:00
Paul Kaplan
bbd1dd2d99
Simplify point parsing logic
...
The SVG spec basically allows delimiting numbers and pairs of numbers
with either whitespace or commas, so convert all commas to whitespace,
split on whitespace and remove the `asPairs` logic
2014-07-14 09:59:03 -05:00
Paul Kaplan
112dce71a3
Allow whitespace around commas in point parsing
...
Per the SVG spec:
http://www.w3.org/TR/SVG/shapes.html#PointsBNF
2014-07-12 18:08:03 -05:00
Tom French
9bbb4911c9
Brace style and JSHint
2014-07-11 18:29:17 +01:00
Tom French
91c642b0fa
Fix controls for lines while scaling
2014-07-11 13:24:26 +01:00
Tom French
154b1cf5a3
Fix controls for scaled lines
2014-07-11 13:12:38 +01:00
Tom French
1434daac47
Fix controls for lines without caps
2014-07-11 13:12:13 +01:00
asturur
a453ba83d7
Update ellipse.class.js
...
Fixes border without killing opacity. Opacity need to be moved in render function maybe, not in _render.
2014-07-10 12:09:47 +02:00
Tom French
c40cada006
Merge remote-tracking branch 'upstream/master'
2014-07-09 20:12:38 +01:00
Tom French
23ab51b733
Fixes for stroked objects
2014-07-09 19:51:28 +01:00
Juriy Zaytsev
1663b5644c
Merge pull request #1466 from simvan/IE8-IsVML-issue
...
isVML causing an issue in IE8 when filling in the corners of rectangles
2014-07-09 12:26:38 +02:00
Stefan Kienzle
9ad2279e8a
Revert JSCS tweaks for single-line return statements.
2014-07-08 13:32:58 +02:00
Simon van Lankveld
6df9412bf7
Changing isVML to a function so that the G_vmlCanvasManager can be evaluated when needed instead a single time at the beginning.
2014-07-08 21:49:20 +12:00
Stefan Kienzle
de99a508c2
Make setCursor public.
...
JSCS tweaks.
2014-07-07 16:18:31 +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
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
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
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
Stefan Kienzle
6e97a70469
Reset backgroundColor with null value
2014-07-01 18:29:06 +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
4ccc2c83ba
Update parser.js
...
Moved in a separate function.
Tried to fix sneaky tabs and spaces.
2014-06-24 15:17:59 +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
asturur
049259cc09
style parsing fix
...
code style should be ok this time
2014-06-22 20:51:04 +02:00
kangax
715fda8e94
Revert "Update path.class.js"
...
This reverts commit 77dd88569d .
2014-06-21 19:23:44 +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