Commit graph

3485 commits

Author SHA1 Message Date
Incuuu
fa5bba0df7 Fix problem with empty options 2015-04-07 15:00:11 +04:00
Incuuu
4907861edb Add tests for setBackgroundImage options parameter 2015-04-07 13:38:26 +04:00
Andrea Bogazzi
320a08faa1 bunch of spaces for jscs 2015-04-06 23:29:29 +02:00
Andrea Bogazzi
364bc29a5e Shorter version of multiply transform matrix 2015-04-06 23:18:15 +02:00
Juriy Zaytsev
506f4dfa47 Merge pull request #2069 from asturur/svgParsing
Parse svg with 100% dimension or missing dimensions
2015-04-06 21:24:47 +02:00
Juriy Zaytsev
75452223e8 Merge pull request #2089 from asturur/fix-text-parser
Clean text from svg
2015-04-06 18:44:52 +02:00
Incuuu
84adc7b4d3 Fix bug with options of image instance in setBackgroundImage 2015-04-06 18:54:51 +04:00
Andrea Bogazzi
426ce2a31a Update text.class.js 2015-04-06 14:24:26 +02:00
Andrea Bogazzi
45273cd04c Clean text from svg 2015-04-06 14:17:51 +02:00
Andrea Bogazzi
ddbf256d94 Update path_group.class.js 2015-04-06 12:57:09 +02:00
Andrea Bogazzi
affb15d7ec Update path_group.class.js 2015-04-06 12:24:32 +02:00
Juriy Zaytsev
5f988a2600 Merge pull request #2083 from asturur/changes-in-rendering
Changes in rendering
2015-04-06 02:52:41 +02:00
Juriy Zaytsev
caaa99b553 Merge pull request #2086 from asturur/transformPoint
Correct transformPoint Function
2015-04-06 02:51:38 +02:00
Andrea Bogazzi
48e83f4a7a Update parser.js 2015-04-06 01:36:00 +02:00
Andrea Bogazzi
8747ed1bd6 Update misc.js 2015-04-05 21:34:58 +02:00
Juriy Zaytsev
e932be0a15 Merge pull request #2081 from asturur/renderCursor
Render cursor - fix for viewportTransfrom
2015-04-05 18:00:50 +02:00
Juriy Zaytsev
29b7701142 Merge pull request #2082 from asturur/drawControl-change
Update drawControl
2015-04-04 15:17:05 +02:00
Andrea Bogazzi
e15fcd4056 Update group.class.js 2015-04-04 14:17:22 +02:00
Andrea Bogazzi
1550c9d154 Update object.class.js 2015-04-04 14:12:02 +02:00
Andrea Bogazzi
a7271aaf9f Update path.class.js 2015-04-04 13:50:39 +02:00
Andrea Bogazzi
b932cc2eb1 Update path_group.class.js 2015-04-04 13:48:07 +02:00
Andrea Bogazzi
26b91222e9 Update object.class.js 2015-04-04 13:45:50 +02:00
Andrea Bogazzi
3e96328c26 Update text.class.js 2015-04-04 13:45:21 +02:00
Andrea Bogazzi
37d5e63380 Update itext.class.js 2015-04-04 13:22:37 +02:00
Andrea Bogazzi
dff6ab94eb Update drawControl 2015-04-04 12:36:18 +02:00
Andrea Bogazzi
50e1d574e5 fixes cursor position with viewporttransform 2015-04-04 11:24:38 +02:00
Andrea Bogazzi
b6687f069a Update itext.class.js 2015-04-02 13:23:37 +02:00
Juriy Zaytsev
ebe2f687c1 Merge pull request #2075 from asturur/fixSVGimpor
Fix transform matrix of particular complex situation
2015-04-01 01:16:01 +02:00
Andrea Bogazzi
950fdbd89e Fix transform matrix of particular complex situation 2015-03-31 23:59:18 +02:00
Juriy Zaytsev
61b4a649f4 Merge pull request #2074 from rodovich/set-group-coords
Fix hit detection on the active group after zooming.
2015-03-31 21:57:23 +02:00
Jim Rodovich
5d4fa49cd3 Fix hit detection on the active group after zooming. 2015-03-31 11:51:04 -05:00
Juriy Zaytsev
1257c52a87 Merge pull request #2065 from asturur/renderCursor
Render cursor on upper canvas
2015-03-31 13:38:57 +02:00
Juriy Zaytsev
e43ebdfea7 Merge pull request #2068 from asturur/fix-jscs
attemp to fix jscs crash
2015-03-31 12:57:31 +02:00
Andrea Bogazzi
f03c9d244b Modify cursor tick 2015-03-31 01:47:53 +02:00
Andrea Bogazzi
568e2ed2c0 attemp to fix jscs crash 2015-03-31 01:46:38 +02:00
kangax
9d06af010a Build dist 2015-03-30 12:06:14 +02:00
kangax
92154f7a16 Update JSCS, fix style issues 2015-03-30 12:05:49 +02:00
Juriy Zaytsev
bb1f234d8e Merge pull request #2064 from sapics/fix_jsdoc_setangle
Fix doc for setAngle
2015-03-30 11:51:44 +02:00
sapics
7d487d55de remove SHARED_ATTRIBUTES for no svg import 2015-03-30 10:28:54 +09:00
sapics
c90062c78e Remove overlap definition of setAngle in jsdoc 2015-03-30 10:27:08 +09:00
sapics
f52eee78e4 remove unused variable 2015-03-30 10:26:48 +09:00
Juriy Zaytsev
889efa1c4a Merge pull request #1999 from StileEducation/PR_toJSON_selection
Make toJSON/toSVG behave sensibly with an active selection group
2015-03-25 13:02:22 +01:00
KJ Tsanaktsidis
7453776856 Call set() when unwinding the group transform
set() is called when the group transform is realized by the group
on the object, so set needs to be called when the inverse operation
is done too so that things watching these properties see both the
action and the undo.
2015-03-25 11:23:25 +11:00
Juriy Zaytsev
17f2e6415e Merge pull request #2055 from slashgrin/itext_instance_leak
Track IText instances per-canvas, not globally.
2015-03-24 13:36:52 +01: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
Juriy Zaytsev
de85900c8f Merge pull request #2050 from asturur/iText-clearing-cache-on-style-change
Clear cache on setStyle on itext
2015-03-21 15:39:27 +01:00
Andrea Bogazzi
84bd8bbda0 Update itext.class.js 2015-03-21 12:17:34 +01:00
Juriy Zaytsev
9e1a93db5a Merge pull request #2035 from gordyr/Fixes-grouped-mouse-cursor-hit-detection
Fixes #2034 Mouse hit detection on active groups
2015-03-19 11:13:25 +01:00
gordyr
7b6cca5136 Fixed whitespace for Travis build 2015-03-11 23:55:18 +00:00
gordyr
657945f9fd Fixes Mouse hit detection on active groups
Skips the checking of grouped objects within _searchPossibleTargets since we already check the group as a whole target itself.  Failing to do so would lead to grouped objects being picked up as targets outside of the group since their coordinates change temporarily while grouped.
2015-03-11 23:29:45 +00:00