Commit graph

2203 commits

Author SHA1 Message Date
asturur
5ca64ad636 Update parser.js 2014-07-17 16:25:59 +02:00
asturur
dfbd1887bf Update misc.js
some more polishing
2014-07-17 16:24:46 +02:00
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
kangax
404c1af7ef Update distribution 2014-07-16 01:02:06 +02:00
Juriy Zaytsev
c81394ccad Merge pull request #1485 from shaver/doc-fixes
More doc-comment fixes
2014-07-16 01:01:32 +02:00
Mike Shaver
825bec65df More doc-comment fixes. 2014-07-15 15:59:53 -07:00
kangax
e3423e788b Update distribution 2014-07-16 00:48:58 +02:00
kangax
d508c2c2d7 Update istanbul 2014-07-16 00:48:22 +02: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
Juriy Zaytsev
3e1221ca7b Merge pull request #1478 from paulkaplan/fix-point-parsing
Allow whitespace around commas in point parsing
2014-07-14 17:18:52 +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
a1cde528dc Add test for whitespace between commas 2014-07-14 09:57:14 -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
Juriy Zaytsev
697b6c076f Merge pull request #1471 from asturur/Elipses-borders
Fix ellipse border rendering when scaled
2014-07-10 13:13:53 +02: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
asturur
2ead055205 Merge pull request #6 from kangax/master
merge head
2014-07-10 12:02:34 +02:00
Juriy Zaytsev
06dc64a222 Merge pull request #1467 from twffy/master
Fix stroked objects
2014-07-09 21:46:17 +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
kangax
01972adb86 Version 1.4.8 2014-07-09 15:20:04 +02: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
Juriy Zaytsev
df1dec3c46 Merge pull request #1462 from Kienz/patch-1
Make setCursor public
2014-07-08 19:00:09 +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
asturur
06f57af21e Merge pull request #5 from kangax/master
update to latest rev
2014-07-06 20:09:56 +02:00
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