GreLI
02c24c9ca8
Fixed crash on uppercase color name. Fixes #511
2016-03-08 16:34:41 +03:00
GreLI
9b84827382
Fixed sign losing in scale matrix. Fixes #513
2016-03-08 09:54:18 +03:00
GreLI
0b23ff63c2
Improvements on parsing error handling.
2016-02-29 01:03:16 +03:00
GreLI
81e1ebe475
removeAttrs doc addition. Resolves #469
2016-02-28 23:53:02 +03:00
GreLI
748756e18d
Capture parsing errors, but no further. (Don't break tests.)
2016-02-28 23:09:32 +03:00
GreLI
6dfaafdd5b
Bump dependencies
2016-02-28 21:07:31 +03:00
Lev Solntsev
77d2a1a300
Merge pull request #503 from MeoMix/patch-3
...
Use explicit file types
2016-02-23 10:55:18 +03:00
Lev Solntsev
d15c3b22bf
Merge pull request #502 from MeoMix/patch-2
...
Use explicit file types
2016-02-23 10:55:15 +03:00
Lev Solntsev
ee0e37a272
Merge pull request #501 from MeoMix/patch-1
...
Use explicit file types
2016-02-23 10:55:11 +03:00
Sean Anderson
a61f4b315d
Use explicit file types
2016-02-22 21:30:39 -08:00
Sean Anderson
bf4014223b
Use explicit file types
2016-02-22 21:29:47 -08:00
Sean Anderson
5132900904
Use explicit file types
...
It's good practice to declare the file type being required. This will help svgo play nice with JSPM. Additionally, one of the requires was already declaring its file type. So, this PR adds consistency, too.
2016-02-22 21:28:29 -08:00
Lev Solntsev
c4402205cc
Merge pull request #499 from pra85/patch-1
...
Minor English tweak
2016-02-19 22:03:21 +03:00
Prayag Verma
b0d36a4830
Minor English tweak
...
Change sentence structure to make it more readable
2016-02-19 20:16:47 +05:30
GreLI
25fc738c03
Fixed transform moving around the mask as well
2016-02-15 14:09:04 +03:00
GreLI
9cdb046383
Improved parser error handling.
...
Show output error position. Resolves #482
2016-02-08 00:36:56 +03:00
GreLI
e21f8d0e64
Better config error handling. Resolves #466
2016-02-08 00:00:17 +03:00
GreLI
7b9943072f
Don't fail on plain string SVG after #486
2016-02-07 23:22:54 +03:00
GreLI
4e9daaef3c
Config object sanity check. Should fix #458
2016-02-07 20:36:20 +03:00
Kir Belevich
fc07ce7e59
bump years in LICENSE file
2016-01-31 16:28:00 +07:00
Lev Solntsev
9c4a9e64a8
Merge pull request #486 from holymonson/master
...
Add charset handling on Data URI
2016-01-16 16:10:59 +03:00
Monson Shao
4e9194153f
Add charset handling on Data URI
...
Handle data URI scheme containing optional charset field like `data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20...` .
2016-01-16 20:38:37 +08:00
GreLI
1335334cc7
Fixed crashing on invoking rounding several times. Closes #480
2016-01-13 17:17:26 +03:00
GreLI
044fc3b168
Correct all angle calculations to use circle radii instead of curves control points
2016-01-09 19:35:18 +03:00
GreLI
1b0051ad1c
Fixed angle calculation with zero length curve control point.
...
Fixes #477
2016-01-06 13:57:19 +03:00
GreLI
0d91a0455d
Parse XML entities.
...
Fixes #225 , fixes #272 , fixes #314 . Closes #476 .
2016-01-04 20:22:11 +03:00
Lev Solntsev
bca9fedbfc
Merge pull request #475 from yandavid/master
...
Added tests for svg2js behavior if passed in malformed svg
2016-01-04 19:45:05 +03:00
David Yan
1771cc14be
Added an example of how to configure the indent of pretty formatted svgs in the sample .svgo.yml
2015-12-30 01:22:54 -08:00
David Yan
9abb467b03
Fixed up some inefficiencies with jsAPI.js
2015-12-30 00:53:58 -08:00
David Yan
91300f3d88
Fixed test that uses String.prototype.includes to use indexOf instead
2015-12-28 20:20:08 -08:00
David Yan
4800bf77ca
Added tests for svg2js behavior if passed in malformed svg
2015-12-28 20:08:54 -08:00
Lev Solntsev
5c3cb26a02
Merge pull request #474 from yandavid/master
...
Fixed the gemnasium badge to use svg instead of png
2015-12-28 14:59:19 +03:00
David Yan
3f6cddbb2b
Fixes #464 by outputting the version to stdout instead of letting coa send it to stderr
2015-12-28 01:11:57 -08:00
David Yan
573d865d01
Fixed a minor grammatical error in README.md
2015-12-28 00:22:09 -08:00
David Yan
5de4edfa05
Fixed the gemnasium badge to use svg instead of png
2015-12-28 00:12:25 -08:00
Lev Solntsev
0d698e5fba
Merge pull request #473 from yandavid/master
...
Fixed typo in the JSDoc block of plugins/convertStyleToAttrs.js
2015-12-28 10:29:38 +03:00
David
b049081374
Replaced the deprecated "globalstrict" jshint option with "strict": "global"
2015-12-27 17:54:03 -08:00
David
cdd44ce557
Fixed typo in the JSDoc block of plugins/convertStyleToAttrs.js
2015-12-27 17:31:30 -08:00
Lev Solntsev
cd8120a3e6
Merge pull request #462 from lencioni/patch-1
...
Change --quite to --quiet in changelog
2015-11-23 21:50:57 +03:00
Joe Lencioni
0dc48e7934
Change --quite to --quiet in changelog
2015-11-23 10:10:32 -08:00
GreLI
7327974335
typo fix
v0.6.1
2015-11-21 14:06:05 +03:00
GreLI
6d80481eb1
v0.6.1
2015-11-21 14:03:33 +03:00
GreLI
1d6343fdf8
Кemoved unused variable and jshint error fix
2015-11-21 13:50:17 +03:00
GreLI
da442cbb8d
Amend transform parsing to parse numbers. Prevents producing NaNs in paths in case of absent numbers separator.
2015-11-21 13:46:13 +03:00
GreLI
fc174aa9f0
Fixed error on empty or CDATA styles. Fixed #455 . Fixes #456
2015-11-21 13:00:31 +03:00
GreLI
da5107abd8
MinifyStyles: unix line-endings
2015-11-21 12:58:15 +03:00
Lev Solntsev
ce35516229
Merge pull request #445 from phihag/quiet
...
Add option --quiet
2015-11-19 12:49:05 +03:00
Philipp Hagemeister
c9062872e9
Conform informal syntax requirements everywhere
2015-11-18 20:29:15 +01:00
Philipp Hagemeister
8283c542da
Conform to code style
2015-11-18 20:06:56 +01:00
Lev Solntsev
c4ba124375
Merge pull request #453 from TrySound/unpublish-lib-cov
...
Ignore lib-cov on npm publish
2015-11-08 21:09:40 +03:00