Commit graph

7245 commits

Author SHA1 Message Date
Jürg Lehni
a5a13f541a Update JSDoc to fix regression in link rendering 2019-06-22 15:18:40 +02:00
Samuel Asensi
4172eafba0 Add/unit test for color change propagation (#1675)
Relates to #1672
2019-06-22 15:17:35 +02:00
Jürg Lehni
b485724f83 Switch back to load.js versions on develop branch. 2019-06-22 14:43:53 +02:00
Jürg Lehni
f89934e331 Release version 0.12.3 2019-06-22 14:40:54 +02:00
Jürg Lehni
68ea63d99e Fix JSDoc warning message 2019-06-22 14:16:49 +02:00
Jürg Lehni
fd4cd90a19 Revert built dist files
See https://github.com/paperjs/paper.js/pull/1669#issuecomment-504659166
2019-06-22 13:51:35 +02:00
Samuel Asensi
b24e9b3835 Fix typescript definition issues (#1669)
Closes #1667
Closes #1664
Closes #1663
Closes #1659
2019-06-22 13:46:05 +02:00
Jürg Lehni
e5d7bafd39 Update JSDoc and add some minor doc changes 2019-06-22 13:41:05 +02:00
Jürg Lehni
0b806e52db Another attempt at fixing publish task
I guess we'll find out shortly if it works
2019-06-22 13:14:16 +02:00
Jürg Lehni
6c6982b563 Update CHANGELOG 2019-06-22 13:01:22 +02:00
Jürg Lehni
bc5a361470 Fix Color change propagation again
Closes #1672
2019-06-19 22:44:54 +02:00
Jürg Lehni
b5c753f23d Improve test for #1651
Move to the right place and simplify to only test against a non-invertible matrix.
2019-06-19 22:05:26 +02:00
Dan Stucky
32aff8e895 Handle non-invertible matrices in Item#contains() (#1651) 2019-06-19 21:59:41 +02:00
Samuel Asensi
55dbf010a8 Fix item.clipMask documentation (#1673)
Text items are not currently supported as clip masks.
2019-06-19 21:56:44 +02:00
Dobes Vandermeer
7d457a866e Add docs for internalBounds (#1655) 2019-06-18 06:16:46 +02:00
Samuel Asensi
c04746aa00 Fix SVG export with Symbol (#1670)
Closes #1668
2019-06-18 06:15:20 +02:00
Jürg Lehni
91a7448c07 Switch back to load.js versions on develop branch. 2019-06-13 23:43:50 +02:00
Jürg Lehni
3bce17815f Release version 0.12.2 2019-06-13 23:36:52 +02:00
Jürg Lehni
900a207954 Simplify agent renaming 2019-06-11 21:31:28 +02:00
Jürg Lehni
0a56c7cef0 No need to explicitly expose view
As it is enumerable on scope
2019-06-11 21:28:22 +02:00
Jürg Lehni
4857f1d73a Change jsdom -> agent.node detection 2019-06-11 21:25:11 +02:00
Jürg Lehni
f3e4c185fa Fix code style 2019-06-11 21:24:50 +02:00
Jürg Lehni
96a5d2bec7 Some CHANGELOG cleanup 2019-06-10 16:02:49 +02:00
Jürg Lehni
44a7759219 Fix Path._addBevelJoin() edge case 2019-06-10 16:02:39 +02:00
Jürg Lehni
41094cd871 Change publish:packages task to publish in series 2019-06-10 00:39:11 +02:00
Jürg Lehni
cb3fd61b6f Fix CHANGELOG heading hierarchy 2019-06-10 00:04:16 +02:00
sasensi
3177c7ac46 Fix Path#arcTo() when from/to points are equal
Closes #1613
2019-06-10 00:01:46 +02:00
Jürg Lehni
4ba406bfe3 Streamline code for #1427 2019-06-09 23:35:33 +02:00
sasensi
e3c298d3f4 Fix ignoring of clip item matrix in group internal bounds
Closes #1427
2019-06-09 23:28:30 +02:00
Jürg Lehni
4aa1bebf26 Improve handling of increment/decrement operators
Closes #1450
2019-06-09 19:29:07 +02:00
sasensi
80131f0398 Fix PaperScript#compile() with prefix operators
Closes #1611
2019-06-09 19:23:53 +02:00
Jürg Lehni
aca3059814 Move color owner handling directly to Color class
There was already Color#_owner, now there is Color#_setter too
2019-06-09 18:01:42 +02:00
sasensi
06e0c43325 Fix change propagation with colors on groups
Closes #1152
2019-06-09 17:54:18 +02:00
Jürg Lehni
5d14559116 Fix linting error and some minor cleanup 2019-06-09 16:54:15 +02:00
sasensi
25f2a0e779 Fix drawing with compound-paths as clip-items
Closes #1361
2019-06-09 16:37:38 +02:00
sasensi
0eae0b6e4d Prevent Item#importJSON() from overriding Item#insert()
Closes #1392
2019-06-09 16:28:20 +02:00
sasensi
eeb26436b0 Fix bounds error with nested empty items
Closes #1467
2019-06-09 16:10:54 +02:00
Jürg Lehni
c5b304bb78 Exclude gradients-2 test again on phantomjs
Reverting 5cb93ec46e 🤦‍♂️
The isNode() shenanigans was masking this issue
2019-06-09 14:57:02 +02:00
sasensi
5a3cf624aa Fix importSVG() linear gradient x2 default values 2019-06-09 14:42:52 +02:00
Jürg Lehni
1e2bbbdef2 Fix handling of native classes in tests again
Reverting breaking change in 10bdafa826
2019-06-09 14:34:32 +02:00
Jürg Lehni
5cb93ec46e Enable gradients-2 test in test:phantom
It doesn't seem to struggle with it anymore….
2019-06-09 14:06:35 +02:00
sasensi
4f282cec4b Fix SVG imported gradients default values
Add default values based on SVG specification document.
Closes #1632
2019-06-09 14:01:34 +02:00
Jürg Lehni
7e850d0e55 Fix resemble.js warnings during tests 2019-06-09 13:55:41 +02:00
Jürg Lehni
10bdafa826 Simplify preserving of native classes in tests 2019-06-09 13:42:20 +02:00
sapics
c30767ed2e Fix SvgExport when item.matrix is not invertible 2019-06-07 22:44:44 +02:00
Samuel Asensi
de824e1846 Fix exported SVG missing viewBox attribute (#1576)
SVG viewBox attribute was not added when bounds rectangle point was 0,0.
2019-06-07 22:30:01 +02:00
sasensi
314390d789 Improve new Raster(size[, position]) constructor
Closes #1621
2019-06-07 22:25:44 +02:00
Samuel Asensi
43ec699063 Fix path selection drawing with low handle size (#1600)
Closes #1327
2019-06-07 17:19:58 +02:00
Samuel Asensi
598d9a3356 Add SVG switch support (#1597)
SVG <switch> is simply parsed as a group because conditional attributes
cannot be evaluated in paper.js context.
Relates to #1389
2019-06-07 15:06:46 +02:00
Jürg Lehni
33a5625936 Reactivate ‘publish:packages’ script 2019-06-06 00:15:23 +02:00