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
Jürg Lehni
bb20e3a4a7
Switch from Rimraf to Del for deleting in Gulp.
2016-01-17 05:16:58 +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
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
sapics
d5d4d263f5
Add jshint to travis
2016-01-09 11:55:36 +09:00
Jürg Lehni
6136bd8143
Fix issue with SVG serialization in newer versions of JSDOM.
...
And define some meaningful ranges for problematic Node.js modules.
Closes #821
2016-01-07 23:08:01 +01:00
Jürg Lehni
e9d575e8b1
Switch to QUnit 1.20 (bower), and implement a workaround for hidepassed issues.
2015-12-30 21:55:21 +01:00
Jürg Lehni
a1e4b9fa3c
Release version v0.9.25
2015-10-25 11:24:42 +01:00
Jürg Lehni
c184bdacac
Update prepro.js to fix issue with version in main comment.
2015-10-24 09:14:07 +02:00
Jürg Lehni
2cf637d13b
Merge remote-tracking branch 'origin/boolean-fix' into develop
2015-10-21 01:44:15 +02:00
Jürg Lehni
247e80f569
Update to latest prepro.js with proper support for strings and scientific numbers.
2015-10-11 15:50:25 +02:00
Jürg Lehni
37e3ac7883
Support Node v4.0.0, now that node-canvas is compatible
...
Closes #772
2015-09-15 00:26:47 +02:00
Jürg Lehni
3940e9ec63
Update dependencies.
2015-09-09 14:24:35 +02:00
Jürg Lehni
608a1c0883
Adjust node engine requirements until node-canvas supports v4.0.0.
2015-09-09 13:36:14 +02:00
Jürg Lehni
89a3c9f452
Include bugs URL in package files.
2015-08-21 17:36:48 +02:00
Jürg Lehni
7d82491cce
Release version v0.9.24
2015-08-21 16:59:35 +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
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
4044089d0e
Update to latest uglifyjs to void minify issues.
2015-07-07 11:52:27 +02:00
mattoufp
854a8caa6b
Make "canvas" dependency optional to avoid unnecessary builds
2015-07-06 17:00:52 +02:00
Jürg Lehni
b0255d9fc2
Bump version to v0.9.23
2015-06-23 17:03:39 +02:00
Jürg Lehni
2721ceb579
Merge branch 'npm_everywhere' of https://github.com/byte-foundry/paper.js into byte-foundry-npm_everywhere
...
Conflicts:
package.json
2015-06-15 23:10:29 +02:00
=
b1c78c0ce0
include all dist/ files in package.json .files
...
so that npm can be used as a client-side package manager
2015-03-23 22:20:01 +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
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
Russell Vea
fcaede86b0
Freezing jsdom version at v3 until iojs gets better.
2015-02-26 17:23:40 -10:00
Graeme Yeates
e4e786051d
Also expose core (for custom browserify/webpack builds)
...
Lets users
`var paper = require("paper/dist/paper-core");`
2014-12-10 08:19:28 -05:00
Graeme Yeates
da2a4e3cfc
#461 ; export the browser version when using browserify
2014-12-09 16:56:12 -05:00
Jürg Lehni
ed31476dea
Bump version to v0.9.21
2014-11-22 19:23:35 -08:00
Jürg Lehni
73751040b7
Bump version to v0.9.20
2014-08-25 14:48:05 +02:00
Jürg Lehni
bcd3fe2493
Bump version to v0.9.19
2014-08-16 18:31:53 +02:00
Jürg Lehni
9d7ec13724
Update prepro.js to version that can evaluate whole expressions, and fix a newly introduced issue with it.
2014-05-14 15:14:03 +02:00
Jürg Lehni
2111e76804
Bump version to v0.9.18
2014-04-07 11:26:37 +02:00
Jürg Lehni
46ac9052c8
Some more JSON package file reformatting.
2014-04-07 00:35:08 +02:00
Jürg Lehni
f6c167247d
Convert to JSON pretty format with two spaces and adjust Node paths.
2014-04-07 00:30:26 +02:00
Jürg Lehni
6ddf112b39
Add component.json and streamline package.json and bower.json
...
Closes #442
2014-04-06 12:47:22 +02:00
Jürg Lehni
45d7ffd81e
Bump version to v0.9.17
2014-03-20 17:23:45 +01:00
Jürg Lehni
2b15c125c3
Bump version to v0.9.16
2014-03-13 17:49:37 +01:00
Jürg Lehni
e22fa3a664
Update copyright notice.
2014-01-04 01:47:16 +01:00
Jürg Lehni
4b3c3e22ff
Update to latest Prepro.js that exposes all globals.
2013-12-29 16:36:44 +01:00
Jürg Lehni
fc02c58ddb
Implement asynchronously loading Rasters from disk and remote locations for Node.js
...
Closes #328 .
2013-12-03 23:07:54 +01:00
Jürg Lehni
4caafd4623
Bump version to v0.9.15
2013-12-02 10:00:44 +01:00
Jürg Lehni
93d10983ee
Update to latest Prepro.js and switch from global options object to __options, to avoid name clashes.
2013-11-29 20:26:38 +01:00
Jürg Lehni
afb326d16e
Bump version to v0.9.14
2013-11-28 19:46:12 +01:00
Jürg Lehni
ade2a2f456
Bump version to v0.9.13
2013-11-26 17:33:56 +01:00
Jürg Lehni
3da3161a33
Bump version to v0.9.12
2013-11-14 14:46:54 +01:00
Jürg Lehni
5bb3482073
Bump version to v0.9.11
2013-11-02 21:29:09 +01:00
Jürg Lehni
825a090e6b
Bump version to v0.9.10
2013-10-29 22:00:23 +01:00
Jürg Lehni
4e98036828
Bump version to v0.9.9
2013-07-21 16:51:52 -07:00
Jürg Lehni
a9cf4a373b
Bump version to v0.9.8
2013-07-03 14:00:25 -07:00
Jürg Lehni
6b575d476d
Clean up package and bower files.
2013-07-01 06:50:39 -07:00
Jürg Lehni
041586fa01
Bump version to v0.9.7
2013-06-27 14:31:42 -07:00
Jürg Lehni
899ec1d360
Make built version of paper.js for node work and work towards using that in NPM.
2013-06-27 14:31:03 -07:00