Commit graph

343 commits

Author SHA1 Message Date
Andrea Bogazzi
f998fa496e Update test.js 2015-06-07 10:02:48 +02:00
Juriy Zaytsev
d817ae6f63 Merge pull request #2256 from asturur/fix-style-parsing
Fix style parsing
2015-06-03 14:13:38 -04:00
sapics
e07350c9e7 fix group initialization 2015-06-03 08:45:19 +09:00
Andrea Bogazzi
452383594a Update parser.js 2015-06-02 23:05:54 +02:00
sapics
79db396d3a fix unit test error in google chrome 2015-05-23 08:47:42 +09:00
Andrea Bogazzi
286e018e3a Update itext.js
fix test for browser
2015-05-18 22:58:21 +02:00
kangax
316861cd57 Fix pattern test 2015-05-18 12:11:56 -04:00
kangax
c35ec9459d Fix fabric.Circle#setRadius not returning circle. Closes #2196 2015-05-18 11:15:09 -04:00
Ulrich Sossou
4603ec9581 Replace empty values of stroke-dasharray in unit tests by 'none' 2015-05-18 07:00:36 +01:00
Juriy Zaytsev
ca50ab90a5 Merge pull request #2163 from kibao/fix/node-segmentation-fault
node.js segmentation fault when image couldn't be loaded
2015-05-13 11:47:06 -04:00
Milan Wanielik
2cb0de11e1 Merge branch 'master' into fix/duplicate-line-styles
Conflicts:
	src/mixins/itext_behavior.mixin.js
	test/unit/itext.js
2015-05-13 09:46:35 +02:00
Milan Wanielik
0d5ad0cec4 remove insertNewlineStyleObject fixes, one issue per branch 2015-05-12 12:04:55 +02:00
Milan Wanielik
b3c57385f2 remove shiftLineStyles fixes, one issue per branch 2015-05-12 12:02:15 +02:00
Milan Wanielik
5259cdbb2e add unit test for IText functions insertNewlineStyleObject and shiftLineStyles 2015-05-12 11:57:41 +02:00
Andrea Bogazzi
1f84378565 obect stroke restoring was missing 2015-05-09 11:05:05 +02:00
kibao
69d616ad23 Node.js Invoke loadImage callback if there is no data or a network error 2015-05-06 21:34:41 +02:00
Andrea Bogazzi
afcf7c1285 Update group.js 2015-05-05 12:53:55 +02:00
Juriy Zaytsev
68915cbcb6 Merge pull request #2164 from asturur/Fix-Image-from-Object
Fix image resize filter from object
2015-05-05 11:47:57 +02:00
Andrea Bogazzi
ed5b1b66b0 Fix image resize filter from object 2015-05-05 08:32:30 +02:00
Andrea Bogazzi
80c3012646 Update object_origin.mixin.js 2015-05-02 19:13:44 +02:00
Juriy Zaytsev
91897de495 Merge pull request #2153 from asturur/iTextGlitch
I text glitches fix
2015-04-29 13:17:17 +02:00
Andrea Bogazzi
4bed22f4a9 iText clean up and style fixes 2015-04-29 08:27:56 +02:00
sapics
0e18219bda remove first start() call 2015-04-28 14:13:06 +09:00
Juriy Zaytsev
6c92681cf9 Merge pull request #2136 from sapics/fix_unit_test_shadow
Fix unit test for shadow
2015-04-23 12:40:08 +02:00
kangax
94f7035624 Lint unit tests and fix errors/warnings 2015-04-23 11:47:35 +02:00
sapics
0d23eb8c21 fix test/unit/canvas.js just remove character "c" 2015-04-22 20:37:50 +09:00
Juriy Zaytsev
3586cb26f7 Merge pull request #2141 from asturur/fixThis.Canvas
Make .canvas property always present
2015-04-22 13:17:38 +02:00
Juriy Zaytsev
54211dd349 Merge pull request #2130 from asturur/ActiveGroupSorter
Fix sortedObjects
2015-04-22 13:05:53 +02:00
Andrea Bogazzi
bd2f99b271 Update group.js 2015-04-22 06:37:49 +02:00
sapics
c15e40117c Fix unit test of shadow 2015-04-21 14:23:04 +09:00
Andrea Bogazzi
a5e9ae8372 Added test for object sorting 2015-04-21 00:45:46 +02:00
sapics
60d7495608 unit test for detect path initialize bug 2015-04-16 17:01:06 +09:00
Incuuu
4907861edb Add tests for setBackgroundImage options parameter 2015-04-07 13:38:26 +04:00
Jeff Parsons
a0a4d77272 Track IText instances per-canvas, not globally.
Previously instances of the IText shape were added to a globally-shared
array when they were created. There are two problems with this approach:

1) Interactions with one canvas affect others. I would never expect
   text in one canvas to exit edit mode just because I interacted with
   some otherwise-unrelated canvas.

2) Every IText instance leaks. There is no mechanism to clean up references
   to IText instances in the global array, so every such instance will
   hang around in memory forever, regardless of whether it is removed from
   the canvas or if the canvas itself is removed.

Discovered while profiling memory usage in Chrome.
2015-03-24 14:14:43 +11:00
Andrea Bogazzi
08a1c6b418 Fix path group toSvg method.
now respect current originX and originY
2015-03-01 23:27:17 +01:00
Juriy Zaytsev
55bc74bc4c Merge pull request #1958 from asturur/Fix-svg-tiny-test-suite
Fixes svg rendering rules
2015-02-05 10:53:41 +01:00
asturur
6a6b74aae1 Fixes svg rendering rules 2015-02-03 14:24:11 +01:00
Juriy Zaytsev
3b54fd031d Merge pull request #1951 from asturur/transformMatrix-for-pathgroup
Fixes for path-group transformMatrix in svg export
2015-01-28 13:41:15 +01:00
Andrea Bogazzi
0523352dfa Fix pathGroup TransformMatrix
solves missing transformMatrix
2015-01-28 12:41:09 +01:00
Juriy Zaytsev
5903c23634 Merge pull request #1872 from asturur/itext-rendering
text rendering changes
2015-01-27 16:10:09 +01:00
Andrea Bogazzi
0e09961c64 Update to text, rendering and optimization 2015-01-26 02:49:37 +01:00
Juriy Zaytsev
49d68723cb Merge pull request #1935 from asturur/shoadow2
Missing space was breaking path single shape export.
2015-01-20 01:51:41 +01:00
Andrea Bogazzi
79d9618352 Fix single path toSVG export. 2015-01-20 01:49:16 +01:00
Andrea Bogazzi
6605880f4b Update shadow.js 2015-01-18 17:29:37 +01:00
Juriy Zaytsev
f125941e21 Merge pull request #1825 from asturur/Line-tests
Line accuracy issue in pathgroup with high zoom level
2014-11-22 14:26:01 +01:00
Andrea Bogazzi
f4385b2de9 Fix line accuray issue, remove some duplicate code, do not force width = 1 on 0. Fix object render method to render 0-dimensions lines
Check how this version could behave in general rendering.
2014-11-20 22:34:47 +01:00
Juriy Zaytsev
efbb3e40b3 Merge pull request #1770 from asturur/fix-text-toSVG
Fix text top position in svg export
2014-11-05 18:53:38 +01:00
Juriy Zaytsev
8f0b9055b1 Merge pull request #1788 from asturur/Some-text-goodies
Some text goodies
2014-10-29 11:41:39 +01:00
Andrea Bogazzi
552c6a833c Update text.js 2014-10-28 17:12:10 +01:00
Andrea Bogazzi
7725227d44 Update text.class.js
fix text top position in svg export
2014-10-26 22:51:26 +01:00