Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport upstream/master, minor code format fix
- Loading branch information
Showing
222 changed files
with
21,694 additions
and
5,268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# http://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist | ||
examples/flashcanvas.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"extends": ["eslint:recommended"], | ||
"env": { | ||
"es6": true | ||
}, | ||
"overrides": { | ||
"files": ["rollup.config.js", "ava.config.js"], | ||
"parserOptions": { | ||
"sourceType": "module", | ||
"ecmaVersion": 8 | ||
} | ||
}, | ||
"rules": { | ||
"no-useless-escape": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.nyc_output | ||
node_modules | ||
test/actual | ||
test/actual_node | ||
test/actual_browser | ||
test/diff_node | ||
test/diff_browser | ||
.vscode | ||
.idea | ||
yarn-error.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
./* | ||
!./dist | ||
!./package.json | ||
!./LICENSE | ||
!./README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
language: node_js | ||
node_js: | ||
- "node" | ||
before_install: | ||
- sudo apt-get update | ||
- sudo apt-get install -y libgif-dev | ||
after_failure: | ||
- zip -r ./canvg-expected.zip ./test/actual_node ./test/diff_node | ||
- curl --upload-file ./canvg-expected.zip https://transfer.sh/canvg-expected.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Change Log | ||
|
||
## v2.0.0 (beta) | ||
- **Breaking change**: now dependent on [canvas 2.x](https://github.com/Automattic/node-canvas) | ||
- Implement focal gradient radius ([#675](https://github.com/canvg/canvg/pull/675)) | ||
- Fixes 0 height rects ([#674](https://github.com/canvg/canvg/pull/674)) | ||
- Fixes masks with alpha ([#672](https://github.com/canvg/canvg/pull/672)) | ||
- Misc minor issues ([#670](https://github.com/canvg/canvg/pull/670)) | ||
- Fixes opacity hierarchy ([#666](https://github.com/canvg/canvg/pull/666)) | ||
- Better number array parsing ([#665](https://github.com/canvg/canvg/pull/665)) | ||
- Better external font parsing ([#664](https://github.com/canvg/canvg/pull/664)) | ||
- Fixes parsing of negatives ([#663](https://github.com/canvg/canvg/pull/663)) | ||
- Fixes scaling on redraws ([#662](https://github.com/canvg/canvg/pull/662)) | ||
- Fixes `text-anchor` ([#660](https://github.com/canvg/canvg/pull/660)) | ||
- Fixes <animate> under <text> ([#656](https://github.com/canvg/canvg/pull/656)) | ||
- Handle milliseconds appropriately ([#653](https://github.com/canvg/canvg/pull/653)) | ||
- Optimizing updates ([#650](https://github.com/canvg/canvg/pull/650)) | ||
|
||
## v1.5.4 | ||
- Created Change Log | ||
- Fixed Image class for node ([#631](https://github.com/canvg/canvg/pull/631)) | ||
- Corrected typings ([#638](https://github.com/canvg/canvg/pull/638)) | ||
- Do not blow up when using `feDropShadow` ([#639](https://github.com/canvg/canvg/pull/639)) | ||
- Latter CSS specifity wins over former ([#642](https://github.com/canvg/canvg/pull/642)) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.