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
Jürg Lehni
f8e5fae826
Include two new fail-cases for fat-line code.
2013-06-09 18:36:31 -07:00
hkrish
d8498b6418
Remove invalid code and unnecessary comments
2013-06-09 22:02:50 +05:30
hkrish
8758b232f4
Merge branch 'master' into fatline
...
* master:
Fix regression in importing SVG viewBox.
Minor code clean ups.
Properly fix exporting of classes into Base.exports.
Switch to HTML5 meta charset tags.
Fix issues with uglifyjs.
Include stats.js in distribution so all examples can work.
2013-06-09 18:08:31 +05:30
hkrish
ca2bfb8cab
Merge branch 'master' of https://github.com/paperjs/paper.js
...
* 'master' of https://github.com/paperjs/paper.js :
Fix regression in importing SVG viewBox.
2013-06-09 18:03:19 +05:30
Jürg Lehni
48651d5fb1
Fix regression in importing SVG viewBox.
2013-06-08 13:44:50 -07:00
hkrish
d6ed9890b8
Merge branch 'master' of https://github.com/paperjs/paper.js
...
* 'master' of https://github.com/paperjs/paper.js :
Minor code clean ups.
Properly fix exporting of classes into Base.exports.
Switch to HTML5 meta charset tags.
Fix issues with uglifyjs.
Include stats.js in distribution so all examples can work.
2013-06-08 23:26:45 +05:30
hkrish
d3405115c1
Use parameter on both curves in CurveLocation objects instead of Point in #getIntersection()
2013-06-08 21:37:43 +05:30
Jürg Lehni
75eddbcdba
Minor code clean ups.
2013-06-02 16:18:40 -07:00
Jürg Lehni
b896a98b1e
Properly fix exporting of classes into Base.exports.
2013-06-02 16:17:54 -07:00
Jürg Lehni
7f251b78e3
Switch to HTML5 meta charset tags.
2013-06-02 13:41:10 -07:00
Jürg Lehni
8016413d47
Fix issues with uglifyjs.
...
Workarounds so far, needs proper fixing in uglifyjs.
2013-06-01 16:45:35 -07:00
Jürg Lehni
de766303f8
Include stats.js in distribution so all examples can work.
2013-06-01 16:45:14 -07:00