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
Lev Solntsev
b367c87490 Merge pull request #778 from LISBON11/fix_coa
Fix coa
2017-09-05 15:21:45 +03:00
Liza Golubenko
b96982ffac add tests for coa 2017-08-24 01:31:57 +03:00
Liza Golubenko
114b2cfaf3 fix coa 2017-08-24 00:46:13 +03:00
Lev Solntsev
d70f6fc831 Merge pull request #776 from caub/patch-1
Update cleanupIDs.js
2017-08-10 23:58:02 +03:00
Cyril Auburtin
661e6d1570 Update cleanupIDs.js
begin an be `"0s;third.end"`

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/begin
2017-08-10 16:16:30 +02:00
davidleston
898f0a2ca5 Closes svg/svgo#759. Upper case hex color now converts to shortname. 2017-07-12 17:15:13 -07:00
davidleston
c4727ee742 Closes svg/svgo#757. ff0000 now converts to red when shorthex is false. 2017-07-12 17:05:31 -07:00
davidleston
da2e4487b5 Closes svg/svgo#757. ff0000 now converts to red when shorthex is false. 2017-07-12 17:03:25 -07:00
David Leston
7f329bc74c Typo fixed: if yout plugin -> if your plugin 2017-07-12 14:01:24 -07:00
Craig Martin
dd8865b5da update readme to remove link to obsolete tool 2017-06-30 13:21:42 -04:00
JoshyPHP
40bcb7f996 Fix arcto sweep flag when a transformation matrix is applied
When a transformation matrix flips the coordinates horizontally or vertically (but not both) clockwise arcs need to become counterclockwise and vice-versa.

Fixes #708
2017-06-30 14:35:02 +02:00
Lev Solntsev
bc3c8a6e38 Merge pull request #751 from vcanales/feature/datauri-fix
config: fix datauri config object name
2017-06-29 10:16:37 +03:00
Vicente Canales
65a0575d8f config: fix datauri config object name 2017-06-28 15:50:59 -04:00
Lev Solntsev
96e1afb988 Merge pull request #742 from caub/round_viewBox
fix viewBox round
2017-06-14 21:55:28 +03:00
caub
8592d2080b fix viewBox round 2017-06-14 12:16:31 +02:00
Lev Solntsev
19e2c9ac15 Merge pull request #704 from caub/round_viewBox
round viewBox too
2017-06-14 10:14:51 +03:00
Lev Solntsev
8947cc5969 Merge pull request #735 from vcanales/feature/datauri-api
Allow datauri option on js api
2017-06-13 23:36:24 +03:00
Lev Solntsev
718d576206 Merge pull request #741 from davidtheclark/aria-attributes
Add keepAriaAttrs to removeUnknownsAndDefaults
2017-06-13 23:35:06 +03:00
David Clark
5c1aab8ad8 Add keepAriaAttrs to removeUnknownsAndDefaults
Closes #684.
2017-06-13 13:22:56 -07:00
caub
5828949c21 round viewBox too 2017-06-10 12:33:59 +02:00
Vicente Canales
91a6804cb9 add datauri configuration parameter 2017-06-02 17:34:08 -04:00
Vicente Canales
51832d4c8a allow datauri option on js api 2017-06-02 17:34:03 -04:00
Lev Solntsev
c943b4c3bc Merge pull request #712 from justrhysism/master
Resolves #690: Add option to process folders recursively.
2017-05-11 22:52:04 +03:00
Rhys Lloyd rhys.lloyd@empired.com
f35a503752 Resolves #690: Add option to process folders recursively. 2017-05-04 14:10:42 +09:30
Lev Solntsev
98369def3a Merge pull request #696 from caub/switch
remove useless switch groups
2017-04-02 22:40:40 +04:00
Lev Solntsev
4125d2857b Merge pull request #695 from caub/remDefs
clean .reduce with side-effects
2017-04-02 22:36:18 +04:00
caub
4cf413908e remove useless switch groups 2017-04-02 19:07:42 +02:00
caub
5c2a9160fc clean .reduce with side-effects 2017-04-02 17:00:34 +02:00
GreLI
d74f6a0e2f Promisify SVGO 2017-03-25 23:46:43 +03:00
Lev Solntsev
e4be4bbc10 Merge pull request #688 from pklingem/removeScriptElement
add removeScriptElement plugin
2017-03-25 23:17:23 +04:00
GreLI
faabeff4f4 Parse commas in viewBox 2017-03-25 22:06:15 +03:00
Lev Solntsev
0bc82faaf8 Merge pull request #687 from Yeti-or/yeti-or.fix-misspel
Fix typo
2017-03-23 21:45:38 +04:00
Patrick Klingemann
9f05ac814b add removeScriptElement plugin 2017-03-23 12:45:21 -04:00
Vasiliy Loginevskiy
194187ce16 Fix typo 2017-03-23 16:21:53 +03:00
Lev Solntsev
5c15834144 Merge pull request #685 from Yeti-or/yeti-or.remove-dep
Remove unnecessary dependency
2017-03-22 12:51:48 +04:00
Vasiliy Loginevskiy
4495a34f55 Remove unnecessary dependency 2017-03-22 09:03:51 +03:00
Lev Solntsev
40a935370a Merge pull request #655 from caub/uselessFills
additional option for removeUselessFillStroke, to actually remove inv…
2017-03-11 15:48:53 +04:00
caub
bcd908691f fix for hasStyleOrScript, it must be initialized with SVGO constructor, not global, else it'll keep previous run value 2017-02-25 21:38:50 +01:00
caub
5a1693bd5e additional option for removeUselessFillStroke, to actually remove invisible shapes 2017-02-17 01:29:19 +01:00
GreLI
2608ae1467 Use Map/Set in cleanupIDs 2017-02-05 22:59:19 +03:00
Lev Solntsev
9ef29ca4b7 Merge pull request #658 from Zearin/patch-2
Minor README heading tweaks
2017-02-05 22:07:33 +04:00
Zearin
7395bcd858 Minor README heading tweaks 2017-02-05 13:06:32 -05:00
GreLI
d5896991bd Lint fixes 2017-02-05 19:24:16 +03:00
GreLI
ece43a3f55 Bump to Node v4 2017-02-05 19:20:13 +03:00
Lev Solntsev
282c193c67 Merge pull request #640 from lahmatiy/remove-unused-styles
Remove unused styles based on usage data
2017-02-01 00:59:43 +04:00
Lev Solntsev
d4ff31d9db Merge pull request #610 from Velenir/feature/cleanupIDs--force-and-except
Allow to force clean svg with style or script, excepting custom ids (in cleanupIDs)
2017-02-01 00:58:25 +04:00
GreLI
ad053787d0 update russian readme to latest changes v0.7.2 2017-01-29 21:02:46 +03:00
GreLI
ec306c9b18 0.7.2 2017-01-29 20:57:26 +03:00
GreLI
e5829273f9 update docs 2017-01-29 20:57:26 +03:00
Lev Solntsev
085a4ef014 Merge pull request #654 from Zearin/patch-1
Use GFM tables for README’s plugins list
2017-01-29 20:34:54 +04:00