Commit graph

2411 commits

Author SHA1 Message Date
Andrea Bogazzi
2415eec00d Update object.class.js 2014-09-13 17:05:17 +02:00
Andrea Bogazzi
e284fc0ec3 Update gradient.class.js 2014-09-13 17:03:56 +02:00
Juriy Zaytsev
e6db38bb85 Merge pull request #1654 from zigotica/patch-1
bugfix: add toObject so Blend can be serialized
2014-09-12 17:58:25 +04:00
Sergi Meseguer
bc4c1c0c6d bugfix: add toObject so Blend can be serialized (added missing ;) 2014-09-12 15:53:59 +02:00
Juriy Zaytsev
071c63135e Merge pull request #1639 from asturur/Polygons-and-Polylines-top-and-left-property-precendece
Polygons and polylines top and left property precedence
2014-09-11 10:58:42 +04:00
Sergi Meseguer
879bfbbb62 bugfix: add toObject so Blend can be serialized (extend not needed) 2014-09-10 13:59:22 +02:00
Sergi Meseguer
af2b6c70b4 bugfix: add toObject so Blend can be serialized 2014-09-10 13:46:14 +02:00
Juriy Zaytsev
5d63f452a3 Merge pull request #1646 from asturur/Fix-bad-optimization-in-arc.js
Update arc.js
2014-09-09 16:22:10 +04:00
Andrea Bogazzi
7cbe8a965e Update arc.js
Fix useless optimization of code that was rendering arcs not correctly
2014-09-09 14:17:44 +02:00
Andrea Bogazzi
c2820bfcd5 Update polygon.class.js
!options..left would fail in case of left = 0.
2014-09-05 23:04:12 +02:00
Andrea Bogazzi
67a4be50a2 Update polyline.class.js
Mirror polygon changes
2014-09-04 22:59:24 +02:00
Andrea Bogazzi
aff2c4f313 Update polygon.class.js
Now polygon Top and Left can be setted in the contructor call or calculated by the points.
2014-09-04 22:37:25 +02:00
Juriy Zaytsev
791c74a82e Merge pull request #1631 from asturur/Gradient-Fix-Part-2
Fix gradient rendering
2014-09-04 01:57:37 +04:00
Juriy Zaytsev
74bc327011 Merge pull request #1635 from asturur/Polygons-and-Polylines
Fix polygons and polylines rendering
2014-09-04 01:55:29 +04:00
Juriy Zaytsev
f250b259ec Merge pull request #1616 from asturur/Itext-firefox-squares-and-new-keys
Add support for control keys
2014-09-04 01:18:11 +04:00
Andrea Bogazzi
917d83b139 Update polyline.class.js 2014-09-03 22:49:47 +02:00
Andrea Bogazzi
6afc4dbc3a Update polygon.class.js 2014-09-03 22:49:04 +02:00
Andrea Bogazzi
c1bd4ea4a3 Update polyline.js 2014-09-03 22:40:45 +02:00
Andrea Bogazzi
2e6fb2c411 Update polygon.js 2014-09-03 22:39:54 +02:00
Andrea Bogazzi
2dd8884129 Update gradient.class.js
why it didn't tell me all togheter is a mistery.
Code style fix part 2.
2014-09-02 22:51:44 +02:00
Andrea Bogazzi
f854db4e4c Update gradient.class.js
code styles error fixed.
2014-09-02 22:47:49 +02:00
Andrea Bogazzi
55f9a5947b Update rect.class.js 2014-09-02 22:40:49 +02:00
Andrea Bogazzi
d87af17aa4 Update gradient.class.js 2014-09-02 22:40:00 +02:00
Juriy Zaytsev
cefc838e90 Merge pull request #1628 from asturur/text-export-fpr-groups
Update text.class.js
2014-08-30 14:57:13 +04:00
kangax
ffedcb2042 Build distribution 2014-08-30 13:23:22 +04:00
kangax
da3184aaae Fix style error 2014-08-30 13:22:19 +04:00
kangax
a3d40878d6 Update JSCS to 1.6, fix errors, hook up travis 2014-08-30 13:18:43 +04:00
Juriy Zaytsev
392d3e9a7e Merge pull request #1624 from asturur/missing-width-or-height
Update parser.js
2014-08-29 13:15:05 +04:00
Andrea Bogazzi
3b911a9882 Update text.class.js
Fixes exporting of text simple group.
Thanks to Chris Buergi to make me notice
2014-08-28 22:28:28 +02:00
Juriy Zaytsev
f75df1aa60 Merge pull request #1627 from ChrisBuergi/SVGViewportTransformationOptOut
Allow to opt out from the viewport transformation of the SVG output.
2014-08-28 18:08:04 +04:00
Chris Buergi
7db0fe0aa2 Allow to opt out from the viewport transformation of the SVG output. 2014-08-28 13:43:36 +02:00
Andrea Bogazzi
b43492554a Update parser.js
Added comment for future reference
2014-08-28 00:04:07 +02:00
Andrea Bogazzi
4c4ba5bfe0 Update parser.js
Added comment for future reference
2014-08-27 23:09:31 +02:00
Andrea Bogazzi
cd7bea6183 Update parser.js
Better than getting 0px width and height.
Specs say that when they are missing we should consider 100%, in our case 100% will be 100px because we don't have anything to compare the SVG to before adding the SVG into a canvas.
Otherwise we could take canvas widht and height.
2014-08-27 14:17:33 +02:00
Juriy Zaytsev
307dcb3ebf Merge pull request #1620 from c089/prevent-loading-fs-module-in-browser
prevent loading the the `fs` module in the browser
2014-08-26 12:14:17 +02:00
Christoph Neuroth
7abe3fd70f prevent loading the the fs module in the browser
while browserify uses an empty module for `fs` by default, webpack does
not and will refuse to bundle fabric (previous versions of webpack did
bundle it, but that was considered a bug in webpack which was recently
fixed (webpack/webpack#411).
2014-08-26 10:40:53 +02:00
Andrea Bogazzi
18b17b4170 Update itext_key_behavior.mixin.js
Sorry, i missed that.
2014-08-25 15:14:19 +02:00
Andrea Bogazzi
f83636acb1 Update itext_key_behavior.mixin.js
Better behaviour of selection with keyboard.
Now you can cross from select direction LEFT to RIGHT and back.
2014-08-25 15:10:12 +02:00
Andrea Bogazzi
41b53f53e4 Update itext_key_behavior.mixin.js 2014-08-25 12:21:59 +02:00
Andrea Bogazzi
bce8d4f847 Update itext_key_behavior.mixin.js 2014-08-25 12:02:16 +02:00
Juriy Zaytsev
fbc9f21a1d Merge pull request #1614 from sorich87/hotfix/width-of-char-calculation
Fix text selection and cursor position when text is justified
2014-08-24 19:38:33 +02:00
Ulrich Sossou
dc7266bc1d Fix coding style 2014-08-24 18:25:58 +01:00
Ulrich Sossou
2541b7b69b Properly calculate width of whitespace characters when text is justified 2014-08-24 15:41:51 +01:00
Juriy Zaytsev
605946b47b Merge pull request #1613 from sorich87/hotfix/printable-characters-not-working
Fix printable characters not working
2014-08-23 20:10:48 +02:00
Ulrich Sossou
f02622ea26 Merge branch 'master' into hotfix/printable-characters-not-working
Conflicts:
	src/mixins/itext_key_behavior.mixin.js
2014-08-23 18:58:29 +01:00
Juriy Zaytsev
060a4f6b12 Merge pull request #1604 from sorich87/hotfix/top-cursor-boundary-calculation
Use _getTopOffset to calculate top cursor boundary
2014-08-23 19:53:01 +02:00
kangax
63c43163ca Version 1.4.11 2014-08-23 19:04:10 +02:00
kangax
cecd9bea26 Build distribution 2014-08-23 18:52:16 +02:00
Juriy Zaytsev
29c0448235 Merge pull request #1573 from brexis/patch-1
Update itext_key_behavior.mixin.js
2014-08-23 18:46:11 +02:00
Juriy Zaytsev
ee6cea72dd Merge pull request #1605 from mgalang/master
Add darken, lighten, subtract modes to blend filter
2014-08-20 21:27:20 +02:00