Commit graph

5520 commits

Author SHA1 Message Date
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
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
Jürg Lehni
586554975a Update README to reflect new branch policy. 2015-03-08 13:15:08 +01:00
Jürg Lehni
0c36413633 Updat README for latest version of node-canvas 2015-03-08 12:36:50 +01:00
Jürg Lehni
113f54f0af Always use load.js on develop branch. 2015-03-07 12:05:42 +01:00
Jürg Lehni
5df30c4a7a Clean up FutureSplash code a bit. 2015-03-07 11:05:57 +01:00
Jürg Lehni
c847dd2cc0 Merge pull request #600 from Patak123/patch-1
Update FutureSplash.html
2015-03-06 09:29:13 +01:00
Jürg Lehni
5b1ecc07ac Improve version requirements in package.json 2015-03-01 16:42:37 +01:00
Jürg Lehni
d75076e3eb Remove grunt dependencies, and bump uglify-js 2015-02-28 20:38:13 +01: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
Jürg Lehni
47883dfa3d Merge pull request #644 from rbvea/master
Update to use jsdom v4 (document.defaultView vs. document.parentWindow).
2015-02-27 17:48:50 +01:00
Russell Vea
fcaede86b0 Freezing jsdom version at v3 until iojs gets better. 2015-02-26 17:23:40 -10: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