Commit graph

169 commits

Author SHA1 Message Date
Ron de las Alas
597c18c04a ci: add paperjs build workflow 2023-10-30 16:12:18 -04:00
adroitwhiz
d4df40729c Update canvas 2020-05-29 12:32:58 -04:00
adroitwhiz
c3c51d29f6 Merge commit '7bb34e4' into merge-latest-paper 2020-05-29 12:26:53 -04:00
Jürg Lehni
7bb34e4602 Release version 0.12.7 2020-05-23 23:10:15 +02:00
Jürg Lehni
db82f41151 Update year, author email addresses and links 2020-05-23 22:24:42 +02:00
Jürg Lehni
b6d01e55e5 Finally fix weird issues with publish tasks
See b65527e360
2020-05-23 21:42:04 +02:00
Jürg Lehni
65886449e1 Release version 0.12.6 2020-05-23 21:30:44 +02:00
Jürg Lehni
c7684bb406 Release version 0.12.5 2020-05-23 16:23:20 +02:00
DD Liu
eab98477cb
Revert "Merge paper.js 0.12.3" 2020-04-30 11:43:22 -04:00
Jürg Lehni
4bc92ce132 Release version 0.12.4 2019-12-15 21:46:29 +01:00
adroitwhiz
4e764613d3 Update resemblejs+canvas 2019-11-09 10:29:06 -05:00
adroitwhiz
fbd0de1925 Merge paper.js 0.12.3 2019-11-08 21:16:48 -05:00
Jürg Lehni
f89934e331 Release version 0.12.3 2019-06-22 14:40:54 +02:00
Jürg Lehni
3bce17815f Release version 0.12.2 2019-06-13 23:36:52 +02:00
Jürg Lehni
bcfc0eb413 Release version 0.12.1 2019-06-06 00:13:07 +02:00
Jürg Lehni
767ce043ba Remove node 6 support 2019-06-05 18:33:54 +02:00
Jürg Lehni
2cb55a839d Update dependencies 2019-06-05 18:13:22 +02:00
Jürg Lehni
330b7d0eb9 Avoid clash with --branch argv in Node 10 2019-04-11 20:01:31 +02:00
sasensi
f25690aa91 Rename type definition file to paper.d.ts. 2018-12-03 14:41:47 +01:00
sasensi
bbd65324bc Add typescript definition generation
This add a gulp task (`gulp docs:typescript`) to automatically generate
a typescript definition for the library. This should solve the problem
of having an out of sync type definition when we change the API.

This task takes advantage of existing JSDoc parsing to generate a
temporary file which is later formatted through a mustache template to
generate the final definition. This definition is then tested by
compiling a typescript file that use it.
The generated definition is added to the `gulp zip` task in order to be
published along with the bundled library.

So 2 new dev-dependencies are added with this change: `mustache` and
`typescript` packages. Using node and mustache to generate the
definition instead of relying on existing templating system is
motivated by a better development experience, with easier debugging
possibilities... through the usage of more modern tools.

As a side note, support of "rest parameters" (when a parameter can be
present multiple times) is added to existing JSDoc parser in order to
support this pattern on typescript side (E.g. for `Color#set()` method
which accept any sequence of parameters that is supported by `Color`
constructors).
2018-12-03 14:41:47 +01:00
Jürg Lehni
a66391678e Release version 0.12.0 2018-12-03 14:26:23 +01:00
Jürg Lehni
b1705f628b Fix typos 2018-11-21 11:58:22 +01:00
DD
dd85e737f2 Update canvas prebuilt 2018-10-24 14:38:26 -04:00
DD
ab7fa1e091 Merge branch 'doubleUpstreamDevelop' into mergePaper 2018-10-23 10:16:40 -04:00
Jürg Lehni
d325fce909 Travis CI: Fix error during tests 2018-10-17 17:38:42 +02:00
Jürg Lehni
e5cedd3cef Release version 0.11.8 2018-10-17 17:05:40 +02:00
Jürg Lehni
3cc3ce8f13 Release version 0.11.7 2018-10-17 16:56:58 +02:00
Jürg Lehni
e043c6cbd5 Fix issues with gulp publish script 2018-10-17 16:49:04 +02:00
DD
fd1435d94d Fix tests and make Travis deploy scratch paperjs 2017-12-04 18:34:59 -05:00
Jürg Lehni
193592b88b Release version 0.11.5 2017-10-08 17:48:07 +02:00
Jürg Lehni
c403c86a23 Release version 0.11.4 2017-06-10 14:32:21 +02:00
Jürg Lehni
1eecc97fc7 Update to gulp-git-streamed v2.4.0 for Node.js v8.0.0 2017-06-05 22:47:33 +02:00
Jürg Lehni
bbb7bfeba7 Release version 0.11.3 2017-04-23 17:15:03 +02:00
Jürg Lehni
188c006197 Update to straps.js v3.0.1 and make all functions and accessors enumerable. 2017-04-22 18:50:53 +02:00
Jürg Lehni
153c36c9ce Fix git URL. 2017-04-21 12:54:15 +02:00
Jürg Lehni
90f816f959 Release version 0.11.2 2017-04-20 19:34:40 +02:00
Jürg Lehni
5046d6968b Release version 0.11.1 2017-04-20 18:43:16 +02:00
Jürg Lehni
91199f19f0 Bring back deactivation of Node.js modules on browser.
The require() statements are in the main code, not in the sub-modules!
2017-04-20 11:00:49 +02:00
Jürg Lehni
d0a4532d94 Release version 0.11.0 2017-04-19 22:07:46 +02:00
Jürg Lehni
a7d259bfc0 Release version 0.10.4 2017-04-19 19:55:21 +02:00
Jürg Lehni
2bac4e71e0 Introduce paper-jsdom and paper-jsdom-canvas submodules.
Relates to #1252
2017-04-19 19:53:39 +02:00
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