Commit graph

5610 commits

Author SHA1 Message Date
Jürg Lehni
89a3c9f452 Include bugs URL in package files. 2015-08-21 17:36:48 +02:00
Jürg Lehni
599e595916 Update publish.sh script to work with develop / master branches. 2015-08-21 17:16:14 +02:00
Jürg Lehni
dacb69b697 Switch back to load.js versions for development. 2015-08-21 17:14:42 +02:00
Jürg Lehni
7d82491cce Release version v0.9.24 2015-08-21 16:59:35 +02:00
Jürg Lehni
716d21e369 Always use fat-line clipping since fallback doesn't behave the same way. 2015-08-21 16:39:41 +02:00
Jürg Lehni
caf6321caf Always include Http object. 2015-08-21 16:38:27 +02:00
Jürg Lehni
ec0e4fcd15 Remove unused build options. 2015-08-21 16:38:17 +02:00
Jürg Lehni
bae7fa435f Some minor clean-ups for #593. 2015-08-21 15:53:37 +02:00
Jürg Lehni
8f9e0f58fa Merge pull request #593 from megawac/helpers
Helpers
2015-08-21 15:53:06 +02:00
Jürg Lehni
5f50372b02 More optimizations and clean up in Base.equals() 2015-08-21 15:42:19 +02:00
Jürg Lehni
4f17aa376d Merge pull request #594 from megawac/equals
Refactor and optimize base equals
2015-08-21 15:36:51 +02:00
Jürg Lehni
13b5e6ce22 Help JS minification. 2015-08-21 15:15:06 +02:00
Jürg Lehni
4cdc572824 Merge pull request #729 from sapics/item-matrix
setMatrix of item makes more useful
2015-08-21 15:11:49 +02:00
Jürg Lehni
27b7063fc4 To avoid possible duplicate browser requests for PaperScript files, support the data-src attribute as well as src.
Closes #749.
2015-08-21 15:11:01 +02:00
Jürg Lehni
eb3628063c Handle missing keyup events for keys pressed while Command key is down on Mac.
Closes #630.
2015-08-21 13:56:44 +02:00
Jürg Lehni
3dd0f1fc1b Introduce new option in SVGExport to not embed images.
Closes #696
2015-08-20 19:34:38 +02:00
Jürg Lehni
650bf5d616 Implement CORS support on Raster.
Closes #754
2015-08-20 19:14:33 +02:00
Jürg Lehni
0436b2749a Fix some comments. 2015-08-19 17:28:41 +02:00
Jürg Lehni
84b202fd79 Expose and reuse Curve evaluation method names. 2015-08-19 17:26:52 +02:00
Jürg Lehni
9fe93d1434 Move Curve evaluate() method to private scope. 2015-08-19 17:19:42 +02:00
Jürg Lehni
da82116501 Rework handling of weighted and normalized curve tangents and normals.
Relates to #563
2015-08-19 17:15:41 +02:00
Jürg Lehni
eb8c5b4a3e Handle em and pt font sizes correctly on Firefox.
Closes #734
2015-08-19 12:57:22 +02:00
Jürg Lehni
59eec1f27b Implement Curve#isLinear(), #isCollinear() & co without depending on the segments being part of a path. 2015-08-19 11:43:37 +02:00
Jürg Lehni
2366e03265 Implement getItems(function() {}).
As requested in #751.
2015-08-19 01:04:47 +02:00
Jürg Lehni
39ea409684 Fix issue with param.overlapping in #getItems()
Consider items fully contained inside the rectangle as overlapping as well.

Closes #751.
2015-08-19 00:55:44 +02:00
Jürg Lehni
e476672748 Use better epsilon values in Numerical.solveQuadratic() and solveCubic()
To finally satisfy both #541 and #708.

With this change in place, https://github.com/paperjs/boolean-test is also finally back to run with 0 errors. Woop!
2015-08-18 23:47:28 +02:00
Jürg Lehni
098ddda3bc Include copyright comment in gulp file. 2015-08-18 22:51:34 +02:00
Jürg Lehni
08bdfe585b Fix issue in getWinding() where rays were counted twice.
Closes #736.
2015-08-18 22:36:10 +02:00
Jürg Lehni
be603c7da8 Fix Item#pivot test. 2015-08-18 17:23:33 +02:00
Jürg Lehni
c0a5e1fdbc Update to latest straps.js
Closes #748
2015-08-18 12:17:39 +02:00
Jürg Lehni
98edddc5ac Include _pivot in cloning.
Closes #747
2015-08-17 14:47:56 +02:00
Jürg Lehni
4ee68e5782 Various changes to #isCollinear(), #isOrthogonal(), #isArc()
- Rename #isArc() - > #isOrthogonalArc()
- Implement versions for Curve
- Write proper documentation
2015-08-17 14:33:48 +02:00
Jürg Lehni
f8314f927e Various changes on #isLinear(), #hasHandles() & co
Relates to #652

- Implement #hasHandles() on Path, Segment and Curve
- Remove Path#isPolygon()
- Define #isLinear() consistently across Path, Segment and Curve.
- Introduce new Segment#isStraight()
2015-08-17 14:31:23 +02:00
Jürg Lehni
97ca1f6ff8 Fix negation in previous commit. 2015-08-17 14:19:31 +02:00
Jürg Lehni
65f085cc98 Have option.matchShapes control conversion to SVG polygon elements as well.
Closes #753
2015-08-17 14:18:22 +02:00
Jürg Lehni
2b0098321f Merge pull request #744 from Olegas/fix-async-typo
Fixed typo in word 'async'
2015-08-06 07:24:18 +02:00
Oleg Elifantiev
70766c47d5 Fixed typo in word 'async' 2015-08-05 11:46:54 +03:00
Jürg Lehni
10fb616665 Fixed leaked globals.
Detected using QUnit's "Check for Globals" feature!
2015-07-27 12:36:45 +02:00
Jürg Lehni
4ad8875a8c Install qunitjs module as a NPM dev dependency. 2015-07-27 12:25:45 +02:00
Jürg Lehni
ffb3ea8d15 Fix wrong URL in documentation. 2015-07-27 12:15:01 +02:00
Jürg Lehni
6712cbb4e9 Start using gulp to run quint test suite through phantomjs.
Eventually all build scripts shall run through this.
2015-07-27 11:53:08 +02:00
Jürg Lehni
3816407ee7 Clean up SVGExport tests. 2015-07-27 11:42:41 +02:00
Jürg Lehni
5604dd7a30 Clean up SVGImport tests. 2015-07-27 10:29:50 +02:00
Jürg Lehni
5f42020869 Increase tolerances in #getAverageColor() tests.
The phantomjs canvas appear to produce less precise results.
2015-07-27 10:03:11 +02:00
Jürg Lehni
59b7da0ed5 Fall back to pixelRatio 1 when none is defined.
Required in Item#rasterize() for non-native blend modes. This broke phantomjs tests.
2015-07-27 09:56:37 +02:00
Jürg Lehni
cce42bc6f2 Filter out project key in object literal constructor.
It was causing issues when running test suites in phantomjs.
2015-07-26 14:01:00 +02:00
sapics
da2caa999e item.setMatrix useful 2015-07-11 18:31:03 +09:00
Jürg Lehni
4044089d0e Update to latest uglifyjs to void minify issues. 2015-07-07 11:52:27 +02:00
Jürg Lehni
b29e432bed Switch back to load.js version of dist libraries. 2015-07-07 11:41:27 +02:00
Jürg Lehni
ed3edbbf4a Merge pull request #723 from MattouFP/optional-canvas-dep
Make "canvas" dependency optional to avoid unnecessary builds
2015-07-07 11:00:04 +02:00