Commit graph

4182 commits

Author SHA1 Message Date
Jürg Lehni
f077e388a1 Include a json file for Bower. 2013-06-27 02:57:58 -07:00
Jürg Lehni
24b4c931b5 Update publish script. 2013-06-27 00:35:54 -07:00
Jürg Lehni
3078d127a9 Update version to v0.9.5. 2013-06-26 19:42:24 -07:00
Jürg Lehni
9bb6ec9ed7 Update build scripts to new approach for publishing. 2013-06-26 19:42:04 -07:00
Jürg Lehni
44cd3d4ad8 Change names of built library to paper-full.js, and have dist/paper.js link to it after build.sh was run. 2013-06-26 19:22:38 -07:00
Jürg Lehni
214db84b84 Improve src/load.js to directly load the library through PrePro's load.js 2013-06-26 19:14:54 -07:00
Jürg Lehni
4e173a7d35 Switch to the NPM version of PrePro's load.js 2013-06-26 18:57:46 -07:00
Jürg Lehni
b5b269fd8f Switch to NPM based PrePro and update README.MD accordingly. 2013-06-26 18:04:56 -07:00
Jürg Lehni
a908556956 Fix blend mode detection syntax. 2013-06-26 15:05:43 -07:00
Jürg Lehni
1126c699d2 Improve tests for native blend modes.
Each mode needs to be tested separately, since some browsers implement only a subset (WebKit).
2013-06-26 14:59:07 -07:00
Jürg Lehni
b8d773e129 Rename blendMode parameter to mode. 2013-06-26 14:37:41 -07:00
Jürg Lehni
6d38401f0c Use faster direct Curve constructor instead of Base.create(). 2013-06-25 09:58:18 -07:00
Jürg Lehni
9c5416360c Use direct constructor instead of #initialize(). 2013-06-25 09:56:34 -07:00
Jürg Lehni
52c889428b Remove Curve.create() in favor of direct constructor. 2013-06-25 09:54:13 -07:00
Jürg Lehni
772c83596f Replace Base.create() calls in favor of faster direct constructors. 2013-06-25 09:50:14 -07:00
Jürg Lehni
7e24de7c74 Replace SegmentPoint.create() in favor of normal constructor. 2013-06-25 09:48:51 -07:00
Jürg Lehni
3d5ae373a8 Remove static create() methods from LinkedPoint/Size/Rectangle, and give them initialize() methods instead that also name the classes in debugging. 2013-06-25 09:41:55 -07:00
Jürg Lehni
c6e50375df Expose nativeBlendModes and amend BlendModes example with information about the use of native modes. 2013-06-24 15:55:15 -07:00
Jürg Lehni
4c444f266f Update BlendModes example. 2013-06-24 15:20:43 -07:00
Jürg Lehni
1866e4ff15 Remove need for all special arguments in minification, and restructure code to avoid warnings. 2013-06-24 10:15:54 -07:00
Jürg Lehni
1279e8017d Remove unnecessary minification switches. 2013-06-24 09:37:49 -07:00
Jürg Lehni
7975232ee7 Remove workaround for obscure WebKit bug.
It wasn't fully working either. Solution:
https://bugs.webkit.org/show_bug.cgi?id=109961
2013-06-24 09:37:25 -07:00
Jürg Lehni
7d433406f8 Fix bouncing balls example.
The Clip class is gone.
2013-06-24 09:32:36 -07:00
Jürg Lehni
e746e723fd Remove unnecessary compression settings. 2013-06-24 09:19:19 -07:00
Jürg Lehni
b989892c24 Update copyright note about straps.js 2013-06-24 09:12:45 -07:00
Jürg Lehni
78a3e87ca1 Prevent separate View file in docs. 2013-06-24 09:10:26 -07:00
Jürg Lehni
9cfcad3190 Include core version in distribution. 2013-06-24 04:56:41 -07:00
Jürg Lehni
f56794bad4 Remove global variable leakage. 2013-06-24 04:52:13 -07:00
Jürg Lehni
e6bed426d7 Make inclusion of PaperScript optional and build a core version of the library without it. 2013-06-24 04:49:45 -07:00
Jürg Lehni
eef736f3d8 Move define() statement to export.js and remove define hack in PaperScript. 2013-06-24 04:40:35 -07:00
Jürg Lehni
4b53d558f1 Refactor PaperScript code so it can be moved outside of main paper scope.
Allowing for better minifaction and the potential use of strict mode due to absence of with() statements inside the main paper scope.
2013-06-24 04:40:07 -07:00
Jürg Lehni
fa3f91a754 Move PaperScript.get/setAttribute() to PaperScope. 2013-06-24 04:23:34 -07:00
Jürg Lehni
75c1225d4f Prevent overriding exported classes by inheriting classes with same _class value. 2013-06-24 04:22:43 -07:00
Jürg Lehni
d8188e8ddc Improve prepro.js' stripComments() method to respect regular expressions. 2013-06-23 21:02:37 -07:00
Jürg Lehni
a4535edbb9 Bring back _class names, since code minification breaks reliance on constructor.name.
Closes #248.
2013-06-23 20:18:32 -07:00
Jürg Lehni
dff39dff78 Use local bounds for hit-testing.
Fixes issue #247.
2013-06-23 19:49:36 -07:00
Jürg Lehni
8c9ac92a59 Define failing test for hit-testing bounds on raster items.
Linked to issue #247.
2013-06-23 19:48:46 -07:00
Jürg Lehni
9f7167a47f Clean up Item#hitTest() code. 2013-06-23 19:01:48 -07:00
Jürg Lehni
58f697abfc Fix hit-testing for guides. 2013-06-23 19:01:36 -07:00
Jürg Lehni
e59ae78285 Improve hit-testing tests for guides. 2013-06-23 19:00:57 -07:00
Jürg Lehni
dca049c6ab Implement failing test for hit-testing guides. 2013-06-23 18:18:49 -07:00
Jürg Lehni
76426c4cb3 Take #visible state into account when hit-testing.
Closes #243.
2013-06-23 17:55:14 -07:00
Jürg Lehni
f45fa853e7 Improve new hit-testing test. 2013-06-23 17:54:24 -07:00
Jürg Lehni
3b782f6338 Implement failing test for #243. 2013-06-23 17:52:31 -07:00
Jürg Lehni
1e81176cf1 Merge branch 'master' of github.com:paperjs/paper.js 2013-06-23 17:22:30 -07:00
Jürg Lehni
4b62949318 Fix tests for #246.
This is actually the right behavior: Setting length to negative values should flip around defined vectors.
2013-06-23 17:22:13 -07:00
Jürg Lehni
cf1b5a5df8 Define failing test for #246 2013-06-23 16:55:14 -07:00
Jürg Lehni
3d8f210268 Merge pull request #241 from chrisbarmonde/master
Fix project.clear()
2013-06-22 16:06:46 -07:00
Chris Barmonde
68626ca62b Fix project.clear() so it removes all layers properly. 2013-06-20 20:14:47 -06:00
Jürg Lehni
ca0513b1b2 Fix namespace for images in SVGExport. 2013-06-19 08:22:20 -07:00