Commit graph

5543 commits

Author SHA1 Message Date
Jürg Lehni
4fde7ab37d Add applyMatrix option to importSVG() 2015-06-16 17:52:34 +02:00
Jürg Lehni
036ba45326 Update JSDoc. 2015-06-16 17:51:22 +02:00
Jürg Lehni
b541088c6f A whole lot of documentation clean-up. 2015-06-16 17:50:37 +02:00
Jürg Lehni
0d8deb4a9e Update JSDoc. 2015-06-16 16:49:00 +02:00
Jürg Lehni
ecfa09e676 Handle SVG attributes in correct sequence.
Closes #694.
2015-06-16 15:54:29 +02:00
Jürg Lehni
7a6ee5d5f4 Do not implicitly close paths in SVG compound paths.
Closes #705
2015-06-16 14:49:54 +02:00
Jürg Lehni
2cf6cd7a14 Correctly clone all attributes in Shape#toPath() and Path#toShape()
Also write documentation for both methods.
Closes #622.
2015-06-16 14:30:40 +02:00
Jürg Lehni
ba12eec7f5 Some documentation clean-up.
- Prefer @return over @returns
- Place @see at the end, before @example
2015-06-16 14:08:34 +02:00
Jürg Lehni
496b8ecd0f Implement unit test for issue #708. 2015-06-16 12:56:53 +02:00
Jürg Lehni
ce41447793 Prevent invalid invinite solutions in Numerical.solveQuadratic()
Closes #708
2015-06-16 12:30:25 +02:00
Jürg Lehni
e3f04478d9 Clean up Curve.getParameterOf() code. 2015-06-16 12:29:27 +02:00
Jürg Lehni
575436bafe Improve handling of SVG defs located in odd places.
Relates to #702
2015-06-16 12:21:19 +02:00
Jürg Lehni
917139bb3f Merge pull request #702 from jardakotesovec/Import-svg-defs-first
SVG Import defs first
2015-06-16 11:49:58 +02:00
Jürg Lehni
b26c6221f1 Fix PaperScript increment operator in rare special case.
Closes #691.
2015-06-15 23:43:03 +02:00
Jürg Lehni
2004e7065a Merge branch 'byte-foundry-npm_everywhere' into develop 2015-06-15 23:11:22 +02:00
Jürg Lehni
2721ceb579 Merge branch 'npm_everywhere' of https://github.com/byte-foundry/paper.js into byte-foundry-npm_everywhere
Conflicts:
	package.json
2015-06-15 23:10:29 +02:00
Jürg Lehni
183f4909d0 Remove moot version property from bower.json
As proposed by @kkirsche in #709
2015-06-15 22:55:51 +02:00
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
ba092b316e Implement unit test for error behind issue #676 2015-06-15 19:01:21 +02:00
Jarda Kotesovec
b6e48ad8d8 SVG Import defs first 2015-06-12 15:20:18 +02:00
Jürg Lehni
6ec34fbb60 Replace Lenna with Marilyn. 2015-05-31 10:50:04 +02:00
Jürg Lehni
33c0ef0e5c Rename custom emitter events in unit tests. 2015-05-13 20:24:08 +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
593590d707 Start implementing unit tests for hit-testing options. 2015-04-12 15:14:03 +02:00
Jürg Lehni
8e7829db5e Remove obsolete comment about hitTest options merge 2015-04-12 15:07:26 +02:00
rumman
11f4fa49b0 emitter instances with base 2015-04-08 21:01:38 +02:00
rumman
33046fff47 emitter tests 2015-04-08 10:42:50 +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
faecea3955 Merge branch 'fix-simplify-bug' into develop 2015-04-04 15:54:58 +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
=
b1c78c0ce0 include all dist/ files in package.json .files
so that npm can be used as a client-side package manager
2015-03-23 22:20:01 +01:00
Jürg Lehni
6fd74832dd Merge branch 'megawac-browserify' into develop
Conflicts:
	README.md
2015-03-08 17:29:28 +01:00
Jürg Lehni
a677d289e5 Merge branch 'browserify' of https://github.com/megawac/paper.js into megawac-browserify 2015-03-08 17:27:54 +01:00
Jürg Lehni
3d3e420fe0 Simplify even further. 2015-03-08 13:22:45 +01:00
Jürg Lehni
8fb358e8e7 Simplify title. 2015-03-08 13:22:09 +01:00
Jürg Lehni
a9f1b6984d Minor text adjustment. 2015-03-08 13:20:42 +01:00
Jürg Lehni
5b947fe190 Update README to reflect new branch policy. 2015-03-08 13:20:42 +01:00
Jürg Lehni
c6af2ea916 Updat README for latest version of node-canvas 2015-03-08 13:20:42 +01:00
Jürg Lehni
203e52e8cf Minor text adjustment. 2015-03-08 13:17:24 +01:00