Jürg Lehni
79a6915a7e
Move jsdoc-toolkit submodule to gulp/jsdoc
2016-01-23 19:23:43 +01:00
Jürg Lehni
fb9bdb4b39
Fetch all dev-dependencies NPM instead of Bower.
2016-01-23 19:01:38 +01:00
Jürg Lehni
eda738d4fa
Split gulpfile.js into separate task files.
2016-01-23 18:26:56 +01:00
Jürg Lehni
145135b4f5
Give tracePaths() the capability to deal with open paths.
...
Relates to #912
2016-01-23 11:40:22 +01:00
Jürg Lehni
36e31eb250
Implement better handling of Raster#source and Raster#toDataURL() on Node.js
...
Closes #914
2016-01-22 17:05:50 +01:00
Jürg Lehni
381d015f98
Merge pull request #916 from sapics/group-draw
...
Remove unused variable in group._draw
2016-01-20 07:27:03 +01:00
sapics
ecc36ec3cc
Remove unused variable in group._draw
2016-01-20 14:35:28 +09:00
Jürg Lehni
e4b03a7915
More code cleanup and simplifications in Matrix.
...
Relates to #915
2016-01-19 10:14:20 +01:00
Jürg Lehni
ceaf168f8c
Merge pull request #915 from sapics/matrix-invert
...
Fix matrix invert calculation
2016-01-19 09:58:52 +01:00
sapics
627a63cc5b
Fix matrix invert calculation
2016-01-19 16:08:39 +09:00
Jürg Lehni
6a0222ff21
Minor cleanup.
2016-01-18 11:03:30 +01:00
Jürg Lehni
8f0a2f37a0
Merge pull request #911 from sapics/hit-stroke
...
Add stroke hit-test option for shape items
2016-01-18 10:57:42 +01:00
Jürg Lehni
5cb4ab732b
Improve code explanation in load.js
2016-01-18 10:21:28 +01:00
Jürg Lehni
5fd0640d5f
Travis CI: Break script statement into multiple entries.
...
Also make sure we're testing the minified sources, as that could cause additional problems.
2016-01-18 10:08:53 +01:00
Jürg Lehni
9465b35ef6
Travis CI: Add additional packages required by node-canvas.
2016-01-18 10:02:36 +01:00
Jürg Lehni
40aa0b0081
Update Travis CI file to support Node 4.
2016-01-18 09:58:37 +01:00
Jürg Lehni
503fe11e41
Fix build issues on Travis and improve version handling in Gulp.js and Prepro.js
...
This reverts commit eaceb1bfc3
.
2016-01-18 09:56:02 +01:00
sapics
9c4296eda0
Add stroke hit-test option for shape items
2016-01-18 10:04:53 +09:00
Jürg Lehni
eaceb1bfc3
Some more work on gulp
...
Change the way versions are handled, and append the branch name if we're not publishing from master.
2016-01-18 01:18:57 +01:00
Jürg Lehni
4351ca310f
Fix hit-testing on Shape items and #strokeScaling.
...
Closes #697 .
2016-01-18 00:41:48 +01:00
Jürg Lehni
1ac8e46d55
Various fixes on handling of #strokeScaling and #strokeBounds calculations.
2016-01-17 23:57:56 +01:00
Jürg Lehni
ea7216d9fb
Improve _getStrokeMatrix() fix to correctly handle nested matrices.
2016-01-17 23:39:28 +01:00
Jürg Lehni
fd72ad0937
Correctly handle #strokeScaling in Path item hit-tests.
...
Hit-testing of Shape items with #strokeScaling still needs fixing too.
Relates to #697 .
2016-01-17 21:46:35 +01:00
Jürg Lehni
43a6c57cd6
Correctly handle #strokeScaling when calculating Path and Shape bounds.
...
Relates to #697
2016-01-17 20:27:25 +01:00
Jürg Lehni
40551fcacf
Make Matrix#orNullIfIdentity() private too, and fix error introduced by previous commit.
2016-01-17 19:34:54 +01:00
Jürg Lehni
d292e08ed2
Various renaming and introduction of additional methods in Matrix
...
- Rename Matrix#concatenate() to #append() and #preConcatenate() to #prepend().
- Over #invert() as alternative to #inverted(), directly modifying the matrix.
- Make Matrix#_shiftless() and internal function.
- Introduce versions that return copies instead, named #appended(). (previously #chain()) and #prepended().
- Rename internal Path#_getPenPadding() to #_getStrokePadding().
2016-01-17 19:30:47 +01:00
Jürg Lehni
2ed9fae105
Fix issue with PaperScript compilation if no url is specified.
...
Also change a few related things:
- Move url in PaperScript#execute() into options object
- Document PaperScope#execute()
Closes #902
2016-01-17 17:32:23 +01:00
Jürg Lehni
c4a16c52f3
Add section about PKG_CONFIG_PATH workaround on OSX.
2016-01-17 12:32:23 +01:00
Jürg Lehni
9282527dff
Update README to reflect the change to Gulp.
...
And restructure the gulp-file a bit to improve readability.
2016-01-17 12:28:20 +01:00
Jürg Lehni
bb20e3a4a7
Switch from Rimraf to Del for deleting in Gulp.
2016-01-17 05:16:58 +01:00
Jürg Lehni
9dec7a1a77
Bring back ascii_only option in uglifyjs, as it still seems to cause issues, e.g. in gulp test.
2016-01-17 04:40:29 +01:00
Jürg Lehni
d78d15998f
Update Travis-CI script to use Gulp.
2016-01-17 04:37:00 +01:00
Jürg Lehni
c8bc179928
Big refactoring of the build process, now entierly Gulp based.
2016-01-17 04:32:28 +01:00
Jürg Lehni
36cb88de4d
Write documentation for Project#addLayer() and #insertLayer()
...
Closes #903
2016-01-16 16:51:47 +01:00
Jürg Lehni
5a82a5d4b9
Switch to forked version of gulp-qunit that allows checking for leaked globals.
...
See https://github.com/jonkemp/gulp-qunit/issues/22
2016-01-16 16:41:49 +01:00
Jürg Lehni
7783ebeed1
Explain reasons for /* jshint */ statements.
...
And consistently name Prepro.js
2016-01-16 15:37:02 +01:00
Jürg Lehni
00d2002b6f
Follow convention for multi-line if-statements.
...
Relates to #907
2016-01-16 15:13:45 +01:00
Jürg Lehni
3a3d46692b
Give view proper Matrix transformation functions, just like on Item.
...
Relates to #832
2016-01-16 15:10:28 +01:00
Jürg Lehni
b3e81af9b6
Merge pull request #907 from iconexperience/getMonoCurves-performance-improvement
...
Improve performance of _getMonoCurves() by filtering more curves
2016-01-16 15:09:16 +01:00
iconexperience
5de9558533
Add performance improvement of _getMonoCurves() by filtering curves that have end points and control points sorted in y direction.
2016-01-16 15:05:49 +01:00
Jürg Lehni
7fa013092e
Define View#matrix, giving access to more fine-grained control over the view transformation.
...
Relates to #832
2016-01-16 14:25:11 +01:00
Jürg Lehni
2669d06642
Merge Item#_remove() and Layer#_remove().
...
And add Project#_changed(), so it can be called through #_getOwner().
2016-01-16 14:21:05 +01:00
Jürg Lehni
1e7faaa95f
Replace Project#addChild(), #insertChild() with #addLayer() and #insertLayer()
...
Also replace #_addToProject() with new #_insertItem() helper, and streamline all #_insertSibling() related methods.
Relates to #903
2016-01-16 13:56:01 +01:00
Jürg Lehni
f60c984746
Update JSDoc.
2016-01-16 00:14:41 +01:00
Jürg Lehni
7f51ceaa34
Throw exception if segments or curves of wrong paths are passed to smooth()
2016-01-16 00:07:29 +01:00
Jürg Lehni
1bc2d2fffe
Fix bug with mouse events in scripts without tools.
2016-01-15 23:45:58 +01:00
Jürg Lehni
884a0c54ad
Update JSDoc, and some minor documentation changes.
2016-01-15 23:42:20 +01:00
Jürg Lehni
16e42c68fd
Various minor documentation fixes (mainly capitalization).
2016-01-15 23:22:08 +01:00
Jürg Lehni
1e97b405ba
Finish documenting #smooth().
2016-01-15 20:14:56 +01:00
Jürg Lehni
80320431fe
Fix smoothing of ranges with negative indices.
2016-01-15 18:20:52 +01:00