Jürg Lehni
|
4a8469b740
|
Define Base.isPlainValue() and use it to implement more flexible #equals() for Color and Rectangle.
|
2013-06-12 18:55:14 -07:00 |
|
Jürg Lehni
|
a163d890e6
|
Update straps.js
|
2013-06-12 18:54:34 -07:00 |
|
Jürg Lehni
|
294bfc9c9a
|
Improve IE Function#name fix and move it to straps.js, since constructor.name is used there too.
Cache result and improve RegExp.
|
2013-06-12 18:36:18 -07:00 |
|
Jürg Lehni
|
6fe60cff9d
|
Fix trailing comas.
|
2013-06-12 17:42:38 -07:00 |
|
Jürg Lehni
|
34ad9045cc
|
Fix wrong default fillColor on TextItems.
|
2013-06-12 17:30:35 -07:00 |
|
Jürg Lehni
|
cb0dcf1719
|
Fix accidental global leakage.
|
2013-06-12 17:27:20 -07:00 |
|
Jürg Lehni
|
13d97796aa
|
Start implementing unit tests for TextItem / PointText.
One failing already.
|
2013-06-12 16:50:24 -07:00 |
|
Jürg Lehni
|
d1932124d7
|
Implement #equals() in Point, Size and Rectangle without argument reading.
Closes #235
|
2013-06-12 15:28:29 -07:00 |
|
Jürg Lehni
|
e6721cdbd6
|
Clean up rectangle test.
|
2013-06-12 15:16:45 -07:00 |
|
Jürg Lehni
|
1394c36907
|
Find an elegant way to implement all variations of Rectangle(object) constructors.
|
2013-06-12 15:08:22 -07:00 |
|
Jürg Lehni
|
7c5478cd93
|
Define first solution for correctly handling Rectangle(object) constructors.
Work in progress.
|
2013-06-12 14:57:47 -07:00 |
|
Jürg Lehni
|
507520f79d
|
Improve equals() test helper.
|
2013-06-12 14:56:36 -07:00 |
|
Jürg Lehni
|
716cf1acb8
|
Add more failing tests for new Rectangle(object) constructors.
|
2013-06-12 14:56:21 -07:00 |
|
Jürg Lehni
|
b581f8b33e
|
Implement Style#selectedColor and Item#selectedColor as a way to control appearance of selections.
Closes #219.
|
2013-06-12 14:17:34 -07:00 |
|
Jürg Lehni
|
9977ec5c28
|
Rename #toCss() to #toCSS()
|
2013-06-12 14:04:59 -07:00 |
|
Jürg Lehni
|
8c596927fb
|
Store _removeSets per project, not globally.
|
2013-06-12 13:50:05 -07:00 |
|
Jürg Lehni
|
f59882b757
|
Handle Tool._removeSets also when there is no corresponding event handler installed.
Closes #204.
|
2013-06-12 13:46:14 -07:00 |
|
Jürg Lehni
|
f8c36b8276
|
Adopt Function#name regular expression to accommodate different scenarios of white-spaces.
|
2013-06-12 08:49:15 -07:00 |
|
Jürg Lehni
|
7a2f577b75
|
Implement Path#contains() correctly for open paths.
|
2013-06-12 00:35:34 -07:00 |
|
Jürg Lehni
|
ac1908878e
|
Define failing test for Path#contains() and open paths.
|
2013-06-12 00:28:57 -07:00 |
|
Jürg Lehni
|
f45a66d2ee
|
Filter out curves with zero length in Path#contains() algorithm.
Fixes #227
|
2013-06-12 00:19:54 -07:00 |
|
Jürg Lehni
|
3d99b5e931
|
Fix ADM support to avoid error messages.
|
2013-06-12 00:07:56 -07:00 |
|
Jürg Lehni
|
cb1f9e5b7c
|
Define failing test for #227
|
2013-06-12 00:00:42 -07:00 |
|
Jürg Lehni
|
b99d54f8c3
|
Add support for AMD (e.g. require.js)
Fixes #223.
|
2013-06-11 23:50:59 -07:00 |
|
Jürg Lehni
|
94e07e77f0
|
Redraw clipItem when drawing into separate canvas for blend-modes.
Closes #228.
|
2013-06-11 20:41:20 -07:00 |
|
Jürg Lehni
|
20f7c567aa
|
Use Base objects for drawing params, so we can use param.extend() on them for easier overriding.
|
2013-06-11 20:40:44 -07:00 |
|
Jürg Lehni
|
a7750c3e67
|
Support null arguments in Point#equals().
|
2013-06-11 20:14:45 -07:00 |
|
Jürg Lehni
|
3db6e103c2
|
Implement failing tests for Point#equals().
As needed to fix #235
|
2013-06-11 19:52:42 -07:00 |
|
Jürg Lehni
|
ce7d584c05
|
Revert readNull and clone parameter sequence in arguments reading code.
|
2013-06-11 19:49:35 -07:00 |
|
Jürg Lehni
|
2e565dcfce
|
Fix Function#name on browsers that don't support it.
Closes #236.
|
2013-06-11 19:07:25 -07:00 |
|
Jürg Lehni
|
18383875eb
|
Fix global variable leakage.
|
2013-06-11 17:46:50 -07:00 |
|
Jürg Lehni
|
375156059d
|
Do not use pathData in JSON for CompoundPaths.
|
2013-06-11 15:27:04 -07:00 |
|
Jürg Lehni
|
03a7503789
|
Fix issue in getPathData() with closed CompoundPaths.
|
2013-06-11 15:26:44 -07:00 |
|
Jürg Lehni
|
f2bb5d07df
|
Let's not go too far with optimizations.
|
2013-06-11 15:10:02 -07:00 |
|
Jürg Lehni
|
bd42ded79b
|
Include clipping example for SVG Export.
|
2013-06-11 15:00:18 -07:00 |
|
Jürg Lehni
|
875a766d19
|
Implement clipPath support in SVGExporter.
|
2013-06-11 14:50:13 -07:00 |
|
Jürg Lehni
|
35f17979df
|
Improve Node.js XMLSerializer workaround for lowercased tagNames.
|
2013-06-11 14:39:34 -07:00 |
|
Jürg Lehni
|
d41f79598e
|
Change exportDefinitions() to create an actual <defs> container for definitions.
|
2013-06-11 14:26:04 -07:00 |
|
Jürg Lehni
|
470cfae9f1
|
Clean up export code.
|
2013-06-11 14:15:54 -07:00 |
|
Jürg Lehni
|
a1cab3592b
|
No need to explicitly set fill to 'none' anymore since comparing style with parent handles this for us automatically now.
|
2013-06-11 14:15:43 -07:00 |
|
Jürg Lehni
|
530dfda4ba
|
Fix old group style test that was faulty but remain undetected because of other bug.
|
2013-06-11 13:58:04 -07:00 |
|
Jürg Lehni
|
72082bdcff
|
Fix new failing test.
|
2013-06-11 13:57:28 -07:00 |
|
Jürg Lehni
|
b512532d23
|
Improve compareColors() helper.
|
2013-06-11 13:53:48 -07:00 |
|
Jürg Lehni
|
0b42d594de
|
Simplify failing test.
|
2013-06-11 13:44:42 -07:00 |
|
Jürg Lehni
|
7bd96716ee
|
Define failing test for wrongly merged group fillColor.
|
2013-06-11 13:44:00 -07:00 |
|
Jürg Lehni
|
90d4834c01
|
Clean up jsDump modifications a bit.
|
2013-06-11 13:43:29 -07:00 |
|
Jürg Lehni
|
3a043e0023
|
Fix empty tests.
|
2013-06-11 13:40:50 -07:00 |
|
Jürg Lehni
|
763ce7f4b1
|
Update to latest version of QUnit and install jsDump parser for Base objects.
|
2013-06-11 13:38:08 -07:00 |
|
Jürg Lehni
|
b4ff0d347e
|
Optimize SVG import for clipped groups.
|
2013-06-11 12:57:03 -07:00 |
|
Jürg Lehni
|
7faf2a9e70
|
Clean-up @hkrish's changes a bit.
|
2013-06-09 18:37:08 -07:00 |
|