1
0
mirror of https://github.com/svg/svgo.git synced 2025-08-09 02:22:08 +03:00
Commit Graph

1243 Commits

Author SHA1 Message Date
Zearin
c8e9b45e04 Use GFM tables for README’s plugins list 2017-01-27 12:53:37 -05:00
Lev Solntsev
443f4bd33c Merge pull request #641 from elrumordelaluz/master
Update CLI help
2017-01-12 20:49:52 +04:00
Roman Dvornov
340da36bc7 make unused styles removal safe
- avoid using usage data when document contains <script> or on*
attributes
- implemented usage.force option to force usage data using
2017-01-12 14:56:33 +03:00
Lionel T
e57ecbd012 Update CLI help
Add the missed possibility to pass a `JSON` string to `--config` argument
2017-01-12 12:37:05 +01:00
Roman Dvornov
da6a40da7f merge removeUnusedStyles plugin with minifyStyles 2017-01-12 14:32:47 +03:00
Roman Dvornov
fd5a8ca799 one more test for removeUnsusedStyles 2017-01-09 14:04:17 +03:00
Roman Dvornov
6741be9c95 initial implementation of removeUnusedStyles plugin 2017-01-09 13:49:15 +03:00
GreLI
a2a0a1ef3f Microoptimize removing space before minus 2016-12-25 18:17:39 +03:00
GreLI
b6e92f4bb2 Correct leading zero removing in case of exponential notation. Fix #551 2016-12-25 18:17:39 +03:00
GreLI
11a6068279 Collapse groups with non-inherited attr test improvement 2016-12-25 18:17:39 +03:00
GreLI
13e09e4642 Don't collapse groups with same non-inheritable attribue. Fix #550 2016-12-25 18:17:39 +03:00
GreLI
8b290bf976 Don't remove same transform in inner element (removeUnknownsAndDefaults). Fix #549 2016-12-25 18:17:39 +03:00
GreLI
d0a511fc37 Fix removing <animate> in <stop>. Fixes #544 2016-12-25 18:17:39 +03:00
Lev Solntsev
a672b613b9 Merge pull request #637 from AlimovSV/master
More options for setting "currentColor"
2016-12-20 10:36:47 +04:00
Sergey Alimov
dc259059fa Extend currentColor match conditions (string, rx, bool) 2016-12-19 14:55:43 +04:00
Lev Solntsev
f33baaab6e Merge pull request #626 from ehmicky/patch-1
Add documentation to PostCSS svgo plugin
2016-11-30 21:28:22 +04:00
ehmicky
c0c1713aca Add documentation to PostCSS svgo plugin 2016-11-29 08:22:29 +01:00
Lev Solntsev
19a9e3a159 Merge pull request #625 from s0meone/patch-1
Fix typo in README
2016-11-23 22:58:33 +04:00
Daniel van Hoesel
e0e1bc6887 Fix typo in README 2016-11-23 10:19:02 +01:00
Lev Solntsev
c69e533d14 Merge pull request #616 from maksugr/master
Add to readme information about svgo_bot
2016-11-13 13:43:49 +04:00
Roman Ponomarev
e58e96044a add to readme information about svgo_bot - Telegram Bot 2016-10-17 18:50:18 +03:00
Lev Solntsev
57bfacc74c Merge pull request #611 from JonathanStoye/docs/update
updating the docs on the testing section
2016-10-11 19:22:09 +04:00
Jonathan Stoye
e776299890 updating the docs on the testing section 2016-10-10 10:49:13 +02:00
Velenir
f3bff1fd32 Add tests for force=true in cleanupIDs
Add parameter force to ignore style and script in cleanupIDs

Add tests for except=[ids] in cleanupIDs

Add parameter except in cleanupIDs to skip cleaning up specific ids
2016-10-08 22:00:21 +03:00
Lev Solntsev
928c2449cb 0.7.1 v0.7.1 2016-09-27 11:42:36 +03:00
Lev Solntsev
ea5a085f46 Merge pull request #603 from primeiros/patch-1
Create ko.md
2016-09-27 12:30:08 +04:00
Lev Solntsev
8abdef7742 Revert changes in cleanupIDs requiring 0.12. Fixes #602 2016-09-27 11:25:14 +03:00
primeiros
e136a72b44 Create ko.md
Translate to Korean
2016-09-23 12:48:21 +09:00
Kir Belevich
04fa1d5e83 update readme 2016-09-22 21:21:51 +03:00
Kir Belevich
c84e53d20b update readme 2016-09-22 21:21:29 +03:00
Lev Solntsev
4822a44f37 Merge pull request #582 from gjjones/allows-use-of-addAttributes-plugin
Adds addAttributesToSVGElement to default plugins list.
2016-08-26 22:46:26 +04:00
Greg J. Jones
1e7306f570 Adds addAttributesToSVGElement to default plugins list. 2016-08-26 09:10:06 -04:00
GreLI
975a9ff223 0.7.0 0.7.0 2016-08-25 23:22:34 +03:00
GreLI
9984227fa1 Update Readme 2016-08-25 23:05:26 +03:00
Lev Solntsev
0a9870ad7a Merge pull request #530 from ricardobeat/master
add removeXMLNS plugin
2016-08-25 23:53:36 +04:00
Lev Solntsev
517449fc52 Merge pull request #529 from ricardobeat/addClassesNoRepeat
addClassesToSVGElement: avoid repeating classnames
2016-08-25 23:52:55 +04:00
Lev Solntsev
1d6c055a81 Merge pull request #546 from gjjones/master
adds addAttributes plugin
2016-08-25 23:34:09 +04:00
Lev Solntsev
f5a1ecf341 Merge pull request #579 from darktrojan/sortAttrs
Improve sortAttrs plugin
2016-08-25 23:31:03 +04:00
GreLI
c6f77d99ec Linter fixes 2016-08-25 22:20:14 +03:00
GreLI
cf20f5c6ca Loosed fixes 2016-08-25 22:18:04 +03:00
GreLI
d9e670c210 Use maps in cleanupIDs. Fixes #562 2016-08-25 22:14:34 +03:00
Geoff Lankow
24f7b5908b Sort attributes by namespace and conceptual prefix, otherwise alphabetically 2016-08-25 11:20:04 +12:00
GreLI
6e9854a046 Don't collapse a group with element when both have classes.
Fixes #572 (comment)
2016-08-24 22:01:19 +03:00
GreLI
44d6958db2 Don't pass mask around transform in collapseGroups.
Fixes #572
2016-08-24 22:01:18 +03:00
GreLI
1162dac878 Prettify code 2016-08-20 22:14:01 +03:00
GreLI
60d5175883 Normalize line endings of files in test for crossplatform work 2016-08-20 20:59:55 +03:00
GreLI
e961d6d08d Bump dependencies 2016-08-20 20:56:38 +03:00
GreLI
e4003b4dd2 Crossplatform work. Fixes #538 2016-08-20 20:39:55 +03:00
Lev Solntsev
815f5cf40c Merge pull request #576 from tombigel/patch-1
When minify:false cleanupIds deletes too many ids
2016-08-19 19:45:34 +04:00
Tom Bigelajzen
4865892f6e When minify:false cleanupIds deletes too many ids
when running cleanupIds with minify:false option it does not save a reference to all ids and removes ids that shouldn't be removed.
This fix adds a var that keeps a ref to the original id even if minify is not defined
2016-08-19 18:38:23 +03:00