Commit graph

451 commits

Author SHA1 Message Date
Andrea Bogazzi
0841c886b0 Update object.js 2015-08-10 01:38:28 +02:00
Andrea Bogazzi
0edd147b0e Update group.class.js 2015-08-08 14:30:24 +02:00
Juriy Zaytsev
bd09021b3b Fix tests 2015-07-20 13:53:38 -04:00
Andrea Bogazzi
f805e57297 Update rect.js 2015-07-20 12:57:13 +02:00
Juriy Zaytsev
2171dd1379 Output less irrelevant information in fabric.Image#toObject 2015-07-17 17:42:30 -04:00
Juriy Zaytsev
1499d34b1e Merge pull request #2348 from asturur/fix-pathgroup-parsing
Fix parsing pathgroup dimensions from inner paths
2015-07-17 11:31:42 -04:00
Andrea Bogazzi
21d9ddf9e4 Update path_group.class.js 2015-07-17 17:27:28 +02:00
Juriy Zaytsev
f45291cf42 Merge pull request #2345 from asturur/restore-parser
Restore parsing svg elements as a parent in caso of use tag plus svg tag
2015-07-17 10:43:31 -04:00
Juriy Zaytsev
4c915f17c6 Merge pull request #2349 from asturur/shadowcolor-su
add support for shadow colors in svg
2015-07-17 10:35:24 -04:00
Andrea Bogazzi
e41088329d Update shadow.class.js 2015-07-17 14:13:21 +02:00
Andrea Bogazzi
d9d8c715fd Update parser.js 2015-07-17 09:48:46 +02:00
Juriy Zaytsev
61d4f4d59c Merge pull request #2344 from asturur/emptypath
Allow to create path with empty path
2015-07-15 11:30:48 -04:00
Andrea Bogazzi
d36945f6e2 Update path.class.js 2015-07-15 16:50:25 +02:00
Juriy Zaytsev
0e154be1a3 Fix tests 2015-07-14 16:45:29 -04:00
Juriy Zaytsev
121c7faddd Fix tests linting 2015-07-10 14:34:15 -04:00
Andrea Bogazzi
7df9caa17a Update parser.js 2015-06-26 12:33:10 +02:00
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