Commit graph

26 commits

Author SHA1 Message Date
Andrea Bogazzi
8ec69e19de Update itext.js 2016-02-18 12:19:40 +01:00
Andrea Bogazzi
c16b525d41 Update itext.js 2016-02-18 12:01:50 +01:00
Andrea Bogazzi
c04eb03acb Update itext.js 2016-02-18 11:48:01 +01:00
Andrea Bogazzi
cda0611326 Add support for skew objects. 2015-09-17 14:22:12 +02:00
Andrea Bogazzi
5966b5e319 toObject returns deep cloning if necessary 2015-08-11 11:10:51 +02:00
Andrea Bogazzi
f805e57297 Update rect.js 2015-07-20 12:57:13 +02:00
Andrea Bogazzi
286e018e3a Update itext.js
fix test for browser
2015-05-18 22:58:21 +02:00
Ulrich Sossou
4603ec9581 Replace empty values of stroke-dasharray in unit tests by 'none' 2015-05-18 07:00:36 +01: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
kangax
94f7035624 Lint unit tests and fix errors/warnings 2015-04-23 11:47:35 +02: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
0e09961c64 Update to text, rendering and optimization 2015-01-26 02:49:37 +01:00
Andrea Bogazzi
af1138a686 Divided FillRule from globalCompositeOperation 2014-09-23 08:53:56 +02:00
kangax
17bf29616d Try fixing char width for travis again 2014-07-18 14:43:54 +02:00
kangax
da0037447b Change height in itext test 2014-07-18 12:19:51 +02:00
kangax
b189645bba Fix unit test 2013-11-25 21:57:32 +01:00
kangax
ae11740f82 Fix i-text style copy-pasting (doesn't work with multiline yet) 2013-11-25 21:32:00 +01:00
kangax
f84ac95f75 fix test 2013-11-25 16:53:31 +01:00
kangax
4950e35627 Add remaining i-text unit tests 2013-11-25 16:39:50 +01:00
kangax
1075ed0851 Even more i-text unit tests 2013-11-23 19:33:48 +01:00
kangax
58464d4773 More i-text unit tests 2013-11-23 19:28:12 +01:00
kangax
82509dc8d8 More IText tests 2013-11-23 13:45:53 +01:00
kangax
673fa39eba Start adding i-text unit tests; add additional util and color tests 2013-11-22 17:30:55 +01:00