Commit graph

128 commits

Author SHA1 Message Date
Jürg Lehni
f5c8cd094c Node.js: Move all dependencies to optionalDependencies
Closes #1171
2017-03-19 16:17:43 +01:00
Jürg Lehni
7a2ccc6d44 More work on supporting hybrid contexts.
Relates to #1252
2017-03-19 16:03:29 +01:00
Jürg Lehni
3ffd7c4ac2 Add "paperjs" as package keyword. 2017-03-08 23:49:45 +01:00
Jürg Lehni
b587e0b5b8 Release version 0.10.3 2017-03-08 10:44:43 +01:00
Jürg Lehni
e810039668 Support Node.js v7, and keep testing for v5 in Travis CI. 2016-12-29 10:56:06 +01:00
Jürg Lehni
56cfdd9ab6 Only use precommit and prepush hooks when working on develop branch.
This should solve @iconexperience's troubles outlined in https://github.com/paperjs/paper.js/issues/1116#issuecomment-244037792
2016-09-20 17:07:38 -04:00
Jürg Lehni
befac6b8da Update gulp-qunits to fix build problems on Node.js v4.5.0 2016-09-20 16:25:14 -04:00
Jürg Lehni
e539633852 Implement new and shorter segments array notation.
Supporting:

- Closing paths by including `true` as the last entry
- Nested segment arrays that can be passed to PathItem.create() and the CompoundPath constructor to create all sub-paths
2016-07-19 13:08:21 +02:00
Jürg Lehni
32d8c969fb Clean up handling of #_set(), #set() and #initialize()
Convention:

- #_set() is for actually setting properties, e.g. on Point, Size, so that derived classes can reuse other parts (e.g. SegmentPoint)
- #set() is a shortcut to #initialize() on all basic types, to offer the same amount of flexibility when setting values.
2016-07-18 20:11:01 +02:00
Jürg Lehni
80f4ba947f First attempt at supporting JSPM.
Relates to #1104
2016-07-13 21:04:53 +02:00
Jürg Lehni
4df2dfb343 No need for npm prepublish now that we have the gulp publish task. 2016-07-09 23:49:11 +02:00
Jürg Lehni
a14e1e4c97 Replace extend() with Object.assign() 2016-07-09 23:36:11 +02:00
Jürg Lehni
bf2eada11c Remove component.json and clean up package files a bit.
Component is not maintained anymore, per https://github.com/componentjs/component/issues/639
2016-07-09 21:31:25 +02:00
Jürg Lehni
a02f181c00 Release version 0.10.2 2016-07-09 21:04:37 +02:00
Jürg Lehni
1b1b9a1606 Gulp: Change publish task so that dist folder contains built versions on master branch.
As required by Bower...
2016-07-09 19:48:02 +02:00
Jürg Lehni
9fefa7dbf0 Release version 0.10.1 2016-07-09 17:17:22 +02:00
Jürg Lehni
e13300440e Correct a few issues with documentation and NPM publishing that slipped through in the v0.10.0 release. 2016-07-09 17:13:15 +02:00
Jürg Lehni
0b31b5fdc6 Release version 0.10.0 2016-07-09 16:37:39 +02:00
Jürg Lehni
cbbc7f0bbc Switch to husky for git precommit / prepush handling. 2016-07-09 16:28:08 +02:00
Jürg Lehni
7936ca6677 Update NPM dependencies. 2016-07-09 16:10:29 +02:00
Jürg Lehni
2667dc159e Use pre-commit to lint code before commits, and pre-push to run tests. 2016-07-09 15:48:21 +02:00
Jürg Lehni
e15de78347 Update JSHint and fix some some hinting errors. 2016-07-09 14:32:01 +02:00
Jürg Lehni
cb4ffc7945 Update to latest gulp-qunits. 2016-07-03 14:13:50 +02:00
Jürg Lehni
df8969f1c4 Switch to jsdom v9.4.0 with native DOMParser support.
Closes #1093
2016-07-03 13:39:05 +02:00
Jürg Lehni
cfa215051d Update to latest gulp-git-streamed and remove publish workaround code. 2016-07-03 12:17:37 +02:00
Jürg Lehni
07e87964a5 Node.js: Support v6. 2016-05-22 16:00:27 +02:00
Jürg Lehni
f4e4e7ab9c Switch to jsdom v8.3.0, now that it includes our node-canvas PR.
See https://github.com/tmpvar/jsdom/pull/1366
2016-04-04 17:55:43 -07:00
Jürg Lehni
73002603dd jsdom v8.0.0 equires Node.js v4.0.0 or newer. 2016-03-14 18:47:05 +01:00
Jürg Lehni
27badf58f3 Fix #986: Exclude node-specific packages in browser bundlers. 2016-02-23 13:54:46 +01:00
Jürg Lehni
c35814f94f Node.js: Fix bug when using paper-core.js
And improve Node.js examples. Closes #975
2016-02-15 23:59:31 +01:00
Jürg Lehni
892e56793d Update straps.js 2016-02-12 18:20:40 +01:00
Jürg Lehni
e38a33fd64 SVGImport: Inherit default styles on Node.js too. 2016-02-11 11:20:32 +01:00
Jürg Lehni
8542eb62b4 Gulp: Add test:browser task, to solve CORS issues on Chrome. 2016-02-11 10:05:21 +01:00
Jürg Lehni
8fb7c41537 Implement support for web-workers.
Relates to #634, closes #582
2016-02-02 17:30:38 +01:00
Jürg Lehni
50843d8f87 Node: Switch to jsdom v8.0.1 with patched-in image support.
And fix XMLSerializer#serializeToString() to work with it.
2016-01-31 22:47:57 +01:00
Jürg Lehni
1a3a4be0b6 Gulp: Implement publish task. 2016-01-31 14:30:14 +01:00
Jürg Lehni
8c60931200 Tests: Update to gulp-qunits 2.0.1 2016-01-31 12:43:38 +01:00
Jürg Lehni
e232ebc443 Examples: Move away from using a symlink to be able to require('paper') from within examples.
- Node 5 / NPM 3 struggles with it
- It never worked on Windows
2016-01-31 12:43:38 +01:00
Jürg Lehni
567f286774 Tests: Switch to our own gulp-qunits module.
Since it handles PhantomJS as well as Node.js execution, and formats errors identically and quickly.
2016-01-31 12:43:38 +01:00
Jürg Lehni
e0429f44df Tests: Improve QUnit test logging and various cleanup on helpers. 2016-01-31 12:43:38 +01:00
Jürg Lehni
4c84c3dad5 Tests: Start getting QUnit tests to work on Node.js
Work in progress…
2016-01-31 12:43:20 +01:00
Jürg Lehni
3a8a7eff94 Update node-canvas version. 2016-01-26 20:33:33 +01:00
Jürg Lehni
e1a51f858a More work on unified version for browsers and node.
Relates to #739
2016-01-26 20:02:23 +01:00
Jürg Lehni
15797903cf Update to jsdom v7.2.2 with https://github.com/tmpvar/jsdom/pull/1366 back-portedd. 2016-01-26 16:51:40 +01:00
Jürg Lehni
c479ec9272 Start with transition to unified version.
Relates to #739
2016-01-26 11:41:49 +01:00
Jürg Lehni
1dcb19ec3b Implement jshint and watch task. 2016-01-25 11:35:15 +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
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
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