Commit graph

2106 commits

Author SHA1 Message Date
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
asturur
beb3fc205f Update ellipse.class.js
just extra space.
2014-06-21 10:31:04 +02:00
asturur
4729d104c8 Update ellipse.class.js
As crazy as it looks like. Translate the ellipse just if it doesn't have a transformMatrix.
I have the feeling that the problem is somewhere else, but i cannot fix it different way.
2014-06-21 10:29:22 +02:00
asturur
1257754d5b Update circle.class.js
Forgot those changes.
2014-06-20 09:17:34 +02:00
asturur
402c2a6f3a Update ellipse.class.js
Fixed some error i could not find but stopped the js to work.
2014-06-20 09:07:35 +02:00
asturur
efa6579450 Update path.class.js 2014-06-19 23:47:21 +02:00
asturur
fd658ce29b remove path positioning fixes
in different branch.
2014-06-19 23:46:06 +02:00
asturur
9c444b4ecb Path positioning
This path positioning change renders correctly the svg 170 ( the many red triangles ) and change the visualization of issue #1363. Need extensive testing. Consider that viewbox has to be implemented better, so don't take too much negatively the errors on svgs that have viewbox with negative numbers.

if this is not a solution i hope at least it can inspire someone
2014-06-19 23:33:12 +02:00
asturur
2dc5e298a3 Update ellipse.class.js 2014-06-19 21:38:26 +02:00
asturur
66d6b633ba Update ellipse.class.js 2014-06-19 21:37:33 +02:00
asturur
3f47559589 Start to fix the position of ellipses
Till this library won't use ctx.ellipse() this weird transformation will be a huge mess.
This little fix imroves position of not transformed ellipses.
You can see the fixes on the example i will post below.
It needs improvement to work with other transformMatrix.
2014-06-19 21:05:39 +02:00
Juriy Zaytsev
e97cc865cf Merge pull request #1405 from asturur/master
Managing opacity properties on polygon and path object
2014-06-19 17:59:08 +02:00
asturur
190973f6c9 Update ellipse.class.js
Always transparency rendering related.
2014-06-19 17:14:36 +02:00
asturur
8482c1c29b Update polygon.class.js
Apply opacity property to poligon class.
2014-06-19 10:42:55 +02:00
asturur
572038b0e5 Update path.class.js
apply opacity property on paths.
2014-06-19 10:42:05 +02:00
Juriy Zaytsev
81d2f2b21e Merge pull request #1397 from tmpvar/browserify-support
Allow browserify to run over fabric.js
2014-06-18 23:35:47 +02:00
Elijah Insua
4deb11d2dc ignore canvas/jsdom/xmldom when browserifying 2014-06-17 20:04:30 -07:00
kangax
069f6412b0 Update istanbul 2014-06-16 16:24:51 +02:00
kangax
03b2e73429 Try to update node-canvas again 2014-06-08 18:53:26 +02:00
kangax
1c6dc804e6 Version 1.4.7 2014-06-08 12:37:12 +02:00
kangax
43a4fe6b15 Build dist 2014-06-07 11:07:43 +02:00
Juriy Zaytsev
a6aca98fe0 Merge pull request #1381 from rodovich/closepath
Make closepath commands update current x/y coordinates.
2014-06-07 01:49:42 +02:00
kangax
29f9033c96 Build dist 2014-06-07 01:04:58 +02:00
Jim Rodovich
1201cfb1e1 Make closepath commands update current x/y coordinates.
Per the SVG spec,
> If a "closepath" is followed immediately by any other command, then
> the next subpath starts at the same initial point as the current
> subpath.
2014-06-06 13:50:54 -05:00
Juriy Zaytsev
a11e69de47 Merge pull request #1380 from rodovich/explicit-moveto
Don't draw lines for consecutive explicit "moveto" commands
2014-06-06 20:25:33 +02:00
Jim Rodovich
7d0c9ebb28 Add spec for multiple M/m commands being preserved.
This wasn't ever broken, but taken with the previous spec it makes more clear that there's a difference between `M 1,2 3,4` and `M 1,2 M 3,4`.
2014-06-06 10:37:24 -05:00
Jim Rodovich
ff04efdc76 Don't ever draw lines to explicit M/m commands.
#1365 converted multiple M/m coordinates to L/l commands when importing paths. The `_render` function was already attempting to connect those coordinates, but that's no longer necessary as the only consecutive M/m commands in `_render` were explicitly defined as M/m commands.
2014-06-06 10:31:54 -05:00
Stefan Kienzle
feef3c2ea6 Merge pull request #1374 from bountysource-support/patch-1
Add Bountysource badge to README
2014-06-05 09:49:25 +02:00
bountysource-support
f939d1bca3 Add Bountysource badge to README
Because you have some open bounties, we thought you might want to display this badge in your README!
2014-06-04 16:20:16 -07:00
Kienz
bdc4a7a943 no message 2014-06-05 01:00:27 +02:00
Kienz
c258b08f48 Add IE support for copy / paste events
Fix for `cut` event if nothing is selected
2014-06-05 00:56:34 +02:00
Stefan Kienzle
41933ccf20 Merge pull request #1348 from Kureev/copy/paste
Copy/Paste from/to external resources
2014-06-05 00:45:17 +02:00
Kureev Alexey
09836dc2c7 Copy/paste old browsers support check 2014-06-01 21:51:41 +02:00
Juriy Zaytsev
eba7cec18c Merge pull request #1365 from rodovich/implicit-lineto
Convert extra "moveto" coordinates to implicit "lineto" commands
2014-05-31 11:49:32 +02:00
Jim Rodovich
ac095b9bd7 Add spec for multiple M/m coordinates being converted to L/l. 2014-05-30 10:16:02 -05:00
Jim Rodovich
6f8444c86a Convert extra "moveto" coordinates to "lineto" commands.
Per the [SVG spec](http://www.w3.org/TR/SVG11/paths.html#PathDataMovetoCommands):

> If a moveto is followed by multiple pairs of coordinates, the
> subsequent pairs are treated as implicit lineto commands. Hence,
> implicit lineto commands will be relative if the moveto is relative,
> and absolute if the moveto is absolute."
2014-05-30 10:08:03 -05:00
Juriy Zaytsev
bda5ab8611 Merge pull request #1354 from rodovich/slow-click
Fix slow clicks (> 100 ms) focusing previously-deselected IText.
2014-05-28 18:04:47 +02:00
Jim Rodovich
7e8dc3a91f Fix slow clicks (> 100 ms) focusing previously-deselected IText. 2014-05-27 15:44:58 -05:00
Kureev Alexey
741e8cf43d Copy/Paste from/to external resources 2014-05-25 18:15:54 +04:00
Juriy Zaytsev
7fad64242c Merge pull request #1347 from Kureev/bower.json
Add more ignore files in bower.json
2014-05-25 15:39:48 +02:00
Kureev Alexey
8e313b190e bower.json: add to ignore build.js, build_all, build.sh, create_build_scripts.js, test.js and HEADER.js files 2014-05-25 17:36:06 +04:00