Jürg Lehni
572a51d2a7
Protect Emitter#emit() against handler list changes.
...
Closes #706 .
2015-06-15 20:03:13 +02:00
Jürg Lehni
c7281ee619
Properly handle bounds caching when items are empty first.
...
Closes #676 .
2015-06-15 19:04:15 +02:00
Jürg Lehni
6ec34fbb60
Replace Lenna with Marilyn.
2015-05-31 10:50:04 +02:00
Jürg Lehni
6b428f5a37
Assume that Emiter#_evenTypes is not always defined.
...
Resolves https://github.com/paperjs/paper.js/pull/674#discussion_r30042363
2015-05-13 20:21:22 +02:00
Jürg Lehni
75c6db6986
Merge pull request #674 from rumman23/670-custom-events
...
custom events
2015-05-13 18:14:08 +02:00
Jürg Lehni
dd20df42da
Allow the clearing of Color#highlight by setting to null.
...
Closes #688
2015-05-11 23:24:13 +02:00
Jürg Lehni
111d5c8f66
Merge pull request #681 from hackalyze/load-scripts-synchronously
...
Fix paperscript source from being executed out-of-order
2015-05-11 19:57:47 +02:00
Jan
ade1a1fda3
Change clone() function to fix issue #687
...
As described in issue #687 , clone() ignored the 'radial' property. Added the property to the constructor in the clone() function to get the expected behaviour.
2015-05-11 19:43:15 +02:00
Jürg Lehni
27bb8a356f
Implement unique ids, and fix issue with Base.deserialize()
...
Gradient and Symbol were overriding each other in the dictionary, and dictionary entries could not contain references to other dictionary entries.
Closes #690
2015-05-11 19:39:39 +02:00
Jürg Lehni
783d1622b9
Remove faulty character.
2015-05-11 19:15:52 +02:00
Chris Pawlukowsky
2ede4f0a6b
It was possible for loadAll to execute paperscript source in a different order from the order the script tags appear in the HTML. This is due to the script source being retrieved asynchronously in loadScript in the call to Http.request. This fix retrieves paperscript source synchronously unless the HTML5 async attribute is included on the script element.
2015-04-18 10:23:44 -04:00
Jürg Lehni
8174405924
Include force parameter in View#update()
...
Closes #675 .
2015-04-12 15:23:24 +02:00
Jürg Lehni
8e7829db5e
Remove obsolete comment about hitTest options merge
2015-04-12 15:07:26 +02:00
rumman
8b24a33b17
unregistered events enabled in emitter
2015-04-07 22:33:48 +02:00
Jürg Lehni
7749641e66
Handle out-of-bounds offsets/parameters correctly.
...
Closes #660
2015-04-04 17:05:39 +02:00
Jürg Lehni
563a26f112
Clean up PathFitter fix a bit.
2015-04-04 15:54:34 +02:00
Jürg Lehni
66fbb9ee2a
Merge branch 'fix-simplify-bug' of https://github.com/calamitas/paper.js into fix-simplify-bug
2015-04-04 15:35:37 +02:00
Jürg Lehni
143e71d8f9
Bump version to v0.9.22
2015-02-28 19:22:45 +01:00
Jürg Lehni
993a9df178
Simplify fix for #626 a bit.
...
Closes #626 .
2015-02-28 19:20:48 +01:00
Jürg Lehni
8a625e0acd
Merge pull request #627 from iam-TJ/issue_626
...
Issue 626: Don't try to iterate a null array
2015-02-28 19:18:50 +01:00
Jürg Lehni
5625563ed7
Merge pull request #643 from alexburner/patch-1
...
Fixing PlacedSymbol overflow
2015-02-28 19:08:05 +01:00
Jürg Lehni
48bc34b21f
Filter out deserialized dictionary in Base.deserialize()
...
Closes #637
2015-02-28 19:03:03 +01:00
Jürg Lehni
2002c4a3af
Merge pull request #639 from iconexperience/master
...
Fix for #638 SVG export creates 'data-paper-data="null"' attribute if item._data is null
2015-02-28 18:33:53 +01:00
Jürg Lehni
3b47d7ee89
Only draw Raster items when they're fully loaded.
...
Closes #645 .
2015-02-28 18:30:23 +01:00
Jürg Lehni
23ec75f5d2
Read CanvasView size correctly from arguments array.
2015-02-27 18:00:36 +01:00
Russell Vea
c0c8079913
Update to use jsdom v4 (document.defaultView vs. document.parentWindow).
2015-02-26 16:56:26 -10:00
Jürg Lehni
15813107c0
Remove unused variables.
2015-02-26 13:44:09 +01:00
Jürg Lehni
7c2492ac2a
Docs: Improve Item#applyMatrix.
2015-02-26 13:38:29 +01:00
Alex Burner
9e95b8788a
Fixing PlacedSymbol overflow
...
Initial value for `overflow` of svg elements is `visible`, but for elements that establish new viewports the value is overridden to `hidden`. A hidden overflow causes clipping of thick strokes, and may have additional consequences (I'm here because I was having trouble with my strokes).
As detailed in this issue: https://github.com/paperjs/paper.js/issues/642
2015-02-24 22:15:04 -08:00
Jonathan Puckey
3b70fcd603
Fix mistake in PaperScript reference - thanks to paperjs/paperjs.github.io/pull/5
2015-02-24 18:35:28 +01:00
Peter Vanbroekhoven
d5c25dbc52
Change PathFitter to constrain newly found control points.
...
See https://github.com/paperjs/paper.js/issues/414 .
2015-02-22 20:05:06 +01:00
Jan
1d8c662c98
Update SVGExport.js
...
Check for `'null'` before setting custom paper data attribute, because `JSON.stringify()` returns `"null"` (as a String object) if the argument is null.
2015-02-13 12:10:47 +01:00
Jan
c5ced798e8
Update SVGExport.js
2015-02-13 11:59:05 +01:00
TJ
d3af8483a8
Don't try to iterate a null array
...
Signed-off-by: TJ <hacker@iam.tj>
2015-01-26 21:21:46 +00:00
Jonathan Puckey
809c41b1cf
Merge pull request #591 from ponychicken/detectAtomShell
...
Browser detection: Add Atom shell
2015-01-21 14:57:15 +01:00
Jürg Lehni
55e2f6610a
Rename nRoots to count.
2015-01-10 22:06:11 +01:00
Jürg Lehni
22be259167
Deal with edge cases in Curve.solveCubic() where small cubics are very close to lines.
...
Also reduce Numerical.EPSILON again, as required by some rare edge cases.
Relates to #541 .
2015-01-10 22:05:42 +01:00
Jürg Lehni
665d154c95
Simplify control-flow in Numerical.solveCubic() a bit.
2015-01-10 17:57:37 +01:00
Jürg Lehni
814512f562
No need to check solutions for bounds again.
2015-01-05 22:01:56 +01:00
Jürg Lehni
efaae89dfc
No need to add 0.
2015-01-05 21:47:15 +01:00
BrownBear2
4d36a2d6f4
fixed svg path parsing for arcs with more than one definition
2015-01-05 21:32:21 +01:00
Jürg Lehni
1c758a415a
Switch to new and improved Line.getSignedDistance() in fat-line clipping code as well.
2015-01-05 16:20:33 +01:00
Jürg Lehni
920469426e
Remove the harmony version of Number.isFinite() in favor of the generally available global isFinite() for now.
2015-01-05 16:17:11 +01:00
Jan
60ddc68e56
Improve Line.getSignedDistance()
...
Improved code is shorter, faster, and should product results with higher precision.
2015-01-05 15:16:45 +01:00
Jürg Lehni
1803cd216a
Handle empty paths in Path#join()
...
Closes #516
2015-01-05 00:42:00 +01:00
Jürg Lehni
6562f861ab
More code clean-up.
2015-01-05 00:13:30 +01:00
Jürg Lehni
9977b6ab68
Some code clean-up.
2015-01-05 00:09:34 +01:00
Jürg Lehni
72bd150a34
Fix the rest of the failing tests that 6c6ad76c94
had caused.
...
Also closes #610 .
2015-01-04 23:59:25 +01:00
Jürg Lehni
5f3df1f5a1
Fix some failing tests with PathItem#contains(), introduced by commit 6c6ad76c94
2015-01-04 23:28:39 +01:00
Jürg Lehni
5d875f2d83
Clean up code formatting.
2015-01-04 22:37:27 +01:00