Commit graph

7277 commits

Author SHA1 Message Date
Jürg Lehni
6a278c040a Minor clean-ups for the past few PRs 2018-10-03 18:21:26 +02:00
Jürg Lehni
959ccc83c2
Merge pull request #1531 from sasensi/Fix_#1503_Item#position_caching_issue
Fix #1503 Item#position caching issue
2018-10-03 17:33:24 +02:00
Jürg Lehni
27b92a6007 Improve handling of push() with lots of items
Improves fix for #1493, should pass CI again
2018-10-03 16:45:38 +02:00
Jürg Lehni
da3a36230f Color: Improve CSS string parser and docs 2018-10-03 15:56:15 +02:00
Jürg Lehni
e41ed5e723 Increase test:phantom timeout 2018-10-03 11:37:46 +02:00
Jürg Lehni
9201ea973e
Merge pull request #1533 from sasensi/Fix_#1501_errors_with_event_listeners_on_mobile
Fix #1501 errors with event listeners on mobile
2018-10-03 10:22:49 +02:00
Jürg Lehni
a148e61129
Merge pull request #1534 from sasensi/Fix_#1493_Path#add_crashes_whith_1000000_segments
Fix #1493 Path#add crashes whith 1000000 segments
2018-10-03 10:18:15 +02:00
Jürg Lehni
f032dcbf06
Merge pull request #1535 from sasensi/Fix_selected_position_is_wrongly_placed_when_item_is_in_a_group_with_matrix_not_applied
Fix: selected position is wrongly placed when item is in a group with matrix not applied
2018-10-03 10:16:59 +02:00
sasensi
34679614c0 Fix: selected position is wrongly placed when item is in a group with matrix not applied 2018-10-03 09:43:40 +02:00
sasensi
d12b99e252 Improve Path#add performance with big arrays 2018-10-03 08:59:36 +02:00
Jürg Lehni
5b0a3d2384
Merge pull request #1532 from sapics/fix-svg-import-apply-attributes
Fix:SvgImport apply attributes to item
2018-10-02 21:11:40 +02:00
sasensi
f673542640 Refactor code to fit style rules 2018-10-02 19:28:35 +02:00
sasensi
c034ebf554 Refactor code to fit style rules 2018-10-02 19:20:12 +02:00
sasensi
fc5bb4b10e Fix #1493 Path#add crashes whith 1000000 segments 2018-10-02 14:09:34 +02:00
sasensi
54e1a0c1ef Fix: calling event.preventDefault() on not cancelable events produces errors 2018-10-02 10:31:49 +02:00
sasensi
cb9fbd7789 Fix #1501 document touchstart/touchmove events are passive by default in chrome and event.preventDefault() calls are ignored 2018-10-02 10:29:39 +02:00
sapics
cce5b24e9a Fix:SvgImport apply attributes to item #1416 2018-10-02 16:35:32 +09:00
sasensi
704d37be2f Fix #1503 Item#position caching issue 2018-10-01 19:25:04 +02:00
sasensi
07ae09a76a Fix #1521 adding raster.smoothing property 2018-09-30 18:46:02 +02:00
Jürg Lehni
53897d7498 Simplify code from #1528 2018-09-29 16:26:47 +02:00
Jürg Lehni
990cf02879
Merge pull request #1528 from paperjs/fsih-svg-translate-optional-arguments
SVGImport: Support optional arguments in SVG translate and rotate
2018-09-29 16:25:22 +02:00
DD
bf63bf223c Add rotate case as well 2018-09-29 16:19:32 +02:00
DD
8d0fecbb1b For SVG import, If second argument is missing in translate, assume that it's zero. Currently it assumes that y matches x if y is missing. 2018-09-29 16:19:09 +02:00
Jürg Lehni
8792d142b3 Some code cleanup for #1515 2018-09-29 15:09:02 +02:00
Jürg Lehni
9f4bc8d7a3 Reformat README to stick to 80 chars per line 2018-09-29 15:09:00 +02:00
Jürg Lehni
9c87c06633 Fix faulty instruction about ESLint / prettier 2018-09-29 14:54:08 +02:00
Jürg Lehni
ef2c56b164
Merge pull request #1515 from sasensi/Fix_#1506_#1513_by_checking_winding_quality_in_boolean_subtraction
Fix #1506 #1513 by checking winding quality in boolean subtraction
2018-09-29 14:51:18 +02:00
sapics
e057f20f37
Merge pull request #1511 from sapics/free-memory2
Release memory on Color
2018-09-29 13:31:38 +09:00
sapics
eb740c2452 Minor fix 2018-09-29 12:29:12 +09:00
sapics
d55249919e
Merge pull request #1526 from sapics/patch1
Fix Cannot read property 'parent' of undefined in node
2018-09-29 12:16:53 +09:00
Bojan Hribernik
6925888024 Fix Cannot read property 'parent' of undefined in node
This happens in webpack bundle in node server rendering react application:
```js
TypeError: Cannot read property 'parent' of undefined
    at Object.eval (webpack:///./node_modules/paper/dist/node/self.js?:20:28)
    at eval (webpack:///./node_modules/paper/dist/node/self.js?:62:30)
    at Object../node_modules/paper/dist/node/self.js (/home/bojan/www/climbuddy/client/server/map.bundle.js:34531:1)
    at __webpack_require__ (/home/bojan/www/climbuddy/client/server/map.bundle.js:26:30)
    at Object.eval (webpack:///./node_modules/paper/dist/paper-core.js?:35:16)
    at eval (webpack:///./node_modules/paper/dist/paper-core.js?:14798:3)
    at Object../node_modules/paper/dist/paper-core.js (/home/bojan/www/climbuddy/client/server/map.bundle.js:34553:1)
    at __webpack_require__ (/home/bojan/www/climbuddy/client/server/map.bundle.js:26:30)
    at eval (webpack:///./node_modules/react-paper-bindings/lib/View.js?:15:18)
    at Object../node_modules/react-paper-bindings/lib/View.js (/home/bojan/www/climbuddy/client/server/map.bundle.js:37188:1)
```
2018-09-29 12:14:32 +09:00
sapics
e7f09af890
Merge pull request #1522 from paperjs/fix-travis
Fix travis errors
2018-09-29 09:59:12 +09:00
sapics
b26c852c3c Fix:travis replace test version of node v6 to v6.12, because v6.13 and v6.14 cause unreasonable error in SymbolDefinition.initialize 2018-09-29 09:51:13 +09:00
sapics
1331554862 Fix:test replace gif to png because jsdom causes error 2018-09-29 08:55:41 +09:00
sapics
e9c4e8cf3b Release memory on Color 2018-09-27 18:39:39 +09:00
Jürg Lehni
2cda6a3694
Merge pull request #1518 from sapics/patch-1
Code style fix: replace tabs to spaces
2018-09-27 11:09:07 +02:00
Jürg Lehni
c61cdd9282
Merge pull request #1517 from sapics/https
Fix dead links and prefer https in README.md
2018-09-27 11:08:10 +02:00
sapics
f8d8b5cc03
Code style fix: replace tabs to spaces 2018-09-27 16:47:17 +09:00
sapics
0bf5aa5990 Fix dead links and prefer https in README.md 2018-09-27 12:23:44 +09:00
Jürg Lehni
a5683c1184
Merge pull request #1510 from sasensi/fix_Path.splitAt()_documentation_example
Fix Path.splitAt() documentation example
2018-09-26 15:09:42 +02:00
sasensi
9a8aae00bd Fix #1506 #1513 by checking winding quality in boolean subtraction 2018-09-26 14:05:29 +02:00
sasensi
2ff1fc272d add Samuel Asensi to contributors list 2018-09-20 12:35:15 +02:00
sasensi
6ca654d6d3 fix Path.splitAt() documentation example 2018-09-20 12:24:35 +02:00
Jürg Lehni
6cbf5292da
Merge pull request #1508 from sapics/travis-1
Travis: remove node v7 due to no LTS and add v8 due to active LTS
2018-09-14 10:06:11 +02:00
sapics
49271b3f92 Travis: remove node v7 due to no LTS and add v8 due to active LTS 2018-09-14 15:28:55 +09:00
Jürg Lehni
a61e83edf2 Simplify fix for #1452 2018-03-06 12:57:05 +01:00
Jürg Lehni
aae62926e2
Merge pull request #1452 from park9140/fix-issue-with-svg-import-of-raster-images
fix issue with svg import of raster images
2018-03-06 12:47:29 +01:00
Jürg Lehni
ad7b12f6c5
Merge pull request #1456 from codetriage-readme-bot/codetriage-badge
Add CodeTriage badge to paperjs/paper.js
2018-03-05 21:49:25 +01:00
codetriage-readme-bot
353cbee91c Add CodeTriage badge to paperjs/paper.js
Adds a badge showing the number of people helping this repo on CodeTriage.

[![Open Source Helpers](https://www.codetriage.com/paperjs/paper.js/badges/users.svg)](https://www.codetriage.com/paperjs/paper.js)

## What is CodeTriage?

CodeTriage is an Open Source app that is designed to make contributing to Open Source projects easier. It works by sending subscribers a few open issues in their inbox. If subscribers get busy, there is an algorithm that backs off issue load so they do not get overwhelmed

[Read more about the CodeTriage project](https://www.codetriage.com/what).

## Why am I getting this PR?

Your project was picked by the human, @schneems. They selected it from the projects submitted to https://www.codetriage.com and hand edited the PR. How did your project get added to [CodeTriage](https://www.codetriage.com/what)? Roughly over 1 year ago, [TheShed412](https://github.com/TheShed412) added this project to CodeTriage in order to start contributing. Since then, 6 people have subscribed to help this repo.

## What does adding a badge accomplish?

Adding a badge invites people to help contribute to your project. It also lets developers know that others are invested in the longterm success and maintainability of the project.

You can see an example of a CodeTriage badge on these popular OSS READMEs:

- [![Email clients like GMAIL do not render SVG images](https://www.codetriage.com/rails/rails/badges/users.svg)](https://www.codetriage.com/rails/rails) https://github.com/rails/rails
- [![Email clients like GMAIL do not render SVG images](https://www.codetriage.com/crystal-lang/crystal/badges/users.svg)](https://www.codetriage.com/crystal-lang/crystal) https://github.com/crystal-lang/crystal

## Have a question or comment?

While I am a bot, this PR was manually reviewed and monitored by a human - @schneems. My job is writing commit messages and handling PR logistics.

If you have any questions, you can reply back to this PR and they will be answered by @schneems. If you do not want a badge right now, no worries, close the PR, you will not hear from me again.

Thanks for making your project Open Source! Any feedback is greatly appreciated.
2018-03-05 14:33:21 -06:00
Jonathan Park
74bb49d8c0 fix issue with svg import of raster images
When importing rasters after load if the image has a matrix with any translation/skew value
the image will calculate the wrong matrix after loading.

In order to correct this we append the translation rather than prepend so
that it happens in the correct order relative to the transformation.
2018-03-02 00:19:43 +00:00