Commit graph

2220 commits

Author SHA1 Message Date
asturur
cc830286e2 Merge pull request #4 from kangax/master
sync to head
2014-07-18 16:03:41 +02:00
kangax
17bf29616d Try fixing char width for travis again 2014-07-18 14:43:54 +02:00
kangax
7de2aedf7c Try fixing char width for travis again 2014-07-18 14:33:50 +02:00
kangax
3e294fee94 Try fixing char width for travis 2014-07-18 14:27:25 +02:00
kangax
3df3c396a2 Fix unit tests 2014-07-18 13:11:18 +02:00
kangax
c55b06908b Remove failing node versions from travis 2014-07-18 13:11:06 +02:00
kangax
da0037447b Change height in itext test 2014-07-18 12:19:51 +02:00
Juriy Zaytsev
9df8198de8 Merge pull request #1500 from Kienz/jsdocFixes
JSDoc + JSCS tweaks - Part 2
2014-07-18 11:56:23 +02:00
Stefan Kienzle
6b5f049bb0 JSDoc + JSCS tweaks - Part 2 2014-07-18 11:16:23 +02:00
Juriy Zaytsev
61853dd275 Merge pull request #1495 from Kienz/issue1494
Fix initialization of viewportTransform array
2014-07-17 18:54:27 +02:00
Juriy Zaytsev
2c6cafe34f Merge pull request #1496 from Kienz/jsdocFixes
JSDoc + JSCS tweaks - Part 1
2014-07-17 18:52:54 +02:00
Juriy Zaytsev
809ec30a59 Merge pull request #1491 from asturur/basic-unit-support
Basic unit support
2014-07-17 18:46:13 +02:00
asturur
795d8a7aa5 Update misc.js
some more polishing, for me and for toFixed.
2014-07-17 16:38:09 +02:00
asturur
df7671daa3 Update HEADER.js
Moved fabric.DPI to proper file.
2014-07-17 16:28:42 +02:00
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
Stefan Kienzle
b34387d10e JSDoc + JSCS tweaks - Part 1 2014-07-17 16:18:57 +02:00
Stefan Kienzle
43b029e8a4 Just do slice() for cloning 2014-07-17 14:35:28 +02:00
Stefan Kienzle
306a040fef Fix initialization of viewportTransform array
Add unit tests
JSDoc tweaks
2014-07-17 13:28:55 +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