GreLI
|
8ec45b7251
|
Don't remove path with exponent. Fixes #405
|
2015-07-18 20:37:48 +03:00 |
|
GreLI
|
1253a0cc16
|
Corrected test passing after empty transform fix
|
2015-07-08 16:13:54 +03:00 |
|
GreLI
|
739a296621
|
v0.5.3
|
2015-06-21 22:23:00 +03:00 |
|
GreLI
|
55fd495564
|
Merge branch 'removeAttrsPlugin' of git://github.com/bennyschudel/svgo into removeAttrsPlugin
|
2015-06-21 21:48:38 +03:00 |
|
GreLI
|
62a0547bfa
|
Merge branch 'removeDimensionsPlugin' of git://github.com/bennyschudel/svgo into addClassesToSVGElement
|
2015-06-21 19:28:37 +03:00 |
|
GreLI
|
2c2f9e7e26
|
Use first item of few with same ID (as browsers do). Remove subsequent IDs. Resolves #378
|
2015-06-21 18:32:50 +03:00 |
|
GreLI
|
20e2a30773
|
Update ID in animateMotion ‘begin’ attribute. Fixes #373
|
2015-06-21 18:20:44 +03:00 |
|
Richard Livsey
|
1ec50c4a13
|
Allow providing custom plugins
Eg.
new SVGO({
plugins: [
myCustomPugin: {
type: ‘perItem’,
fn: function(item) {
/* do stuff */
}
}
]
});
|
2015-06-02 11:41:34 +01:00 |
|
GreLI
|
c1bf5baf97
|
Proper arcs transforming with SVD
|
2015-05-24 20:50:49 +03:00 |
|
GreLI
|
ff5e89d5bf
|
Reworked transform manipulation
|
2015-05-24 20:50:47 +03:00 |
|
GreLI
|
d0c3355056
|
Separate property for transformations precision with the increased value by default. Resolves #334
|
2015-04-12 22:38:29 +03:00 |
|
GreLI
|
d0a5d0e87d
|
Don't remove empty patterns with inheritance
|
2015-04-12 21:08:34 +03:00 |
|
GreLI
|
f651fd8de1
|
Fixed issues with multiple moveto coordinates on output. Fixes #338
|
2015-04-06 16:39:28 +03:00 |
|
GreLI
|
97a260bbf3
|
Proper computations with optional rotate() parameters
|
2015-04-06 14:47:12 +03:00 |
|
GreLI
|
ae2981cdea
|
Fixed support point function
|
2015-04-02 16:48:49 +03:00 |
|
GreLI
|
f68b310c1e
|
Fix for transformations with arcs converted to curves
|
2015-03-30 20:32:24 +03:00 |
|
GreLI
|
b3ee51c7bc
|
Fix path checking in removeHiddenElems. Fixes #333
|
2015-03-30 20:29:38 +03:00 |
|
GreLI
|
cf37722e29
|
Disable removeUselessStrokeAndFill if there is a <style> or <script>
|
2015-03-29 21:27:52 +03:00 |
|
GreLI
|
00df0b369e
|
Updated tests for removing id in <svg>
|
2015-03-29 21:25:14 +03:00 |
|
GreLI
|
ec70b37666
|
Simplified inherited attrs checking in removeUnknownsAndDefaults
|
2015-03-29 20:11:58 +03:00 |
|
GreLI
|
1121582564
|
Remove non-rendering elements without ids as well
|
2015-03-29 14:56:38 +03:00 |
|
GreLI
|
c47fa38700
|
Plugin to remove elements in <defs> without id. Resolves #310
|
2015-03-29 00:30:51 +03:00 |
|
GreLI
|
f49005c68d
|
Smarter transforms collapsing. Fixes #208
|
2015-03-22 22:33:22 +03:00 |
|
GreLI
|
e94cb994dd
|
Remove incorrect <path> elems, not just empty
|
2015-03-22 21:20:20 +03:00 |
|
GreLI
|
15e303bbf0
|
Convert colors now takes fractional percentages and minor improvements.
Fixes #175 and resolves #178.
|
2015-03-22 18:45:46 +03:00 |
|
GreLI
|
5f892ee7dd
|
Don't remove empty elements which could be animated.
Resolves #213.
|
2015-03-22 18:12:09 +03:00 |
|
GreLI
|
86ab59ceb5
|
Take in account optional ‘rotate()’ parameters.
Fixes #243, fixes #294.
|
2015-03-22 18:12:09 +03:00 |
|
GreLI
|
9b8250d6c4
|
Remove standard descriptions. Resolves #302
|
2015-03-22 18:12:09 +03:00 |
|
GreLI
|
4d966b7ceb
|
Don't collapse groups which have animations. Fixes #214
|
2015-03-22 18:12:09 +03:00 |
|
GreLI
|
e1060df7dc
|
Check path intersection while merging.
Fixes #253, resolves #260, fixes #298.
|
2015-03-22 18:06:40 +03:00 |
|
GreLI
|
e220b6cad0
|
Path data processing improvements.
Improved path data saving.
Collapse repeated now works at writing path data and doesn't affect pathJS to make further processing easier.
Resolves #204.
|
2015-03-17 22:03:17 +03:00 |
|
GreLI
|
62cfb364c4
|
Slightly improved convertShapeToPath
|
2015-03-15 13:17:06 +03:00 |
|
GreLI
|
20af96a6b5
|
Corrected path merging
|
2015-02-26 01:34:20 +03:00 |
|
GreLI
|
eecfabd5a9
|
Code styled and logic improvement in convertShapeToPath
|
2015-02-23 23:06:18 +03:00 |
|
GreLI
|
d3e4f63ae5
|
removeUselessStrokeAndFill is back. Checks for inherited attrs and references.
|
2015-02-23 23:06:18 +03:00 |
|
GreLI
|
02dcf78d74
|
Convert abolute lengths to pixel values
|
2015-02-23 23:06:09 +03:00 |
|
GreLI
|
1e81329982
|
Non greedy comments regexp
|
2015-02-23 17:52:53 +03:00 |
|
GreLI
|
73f7f3c183
|
Improved code for parsing CSS in attributes values
|
2015-02-23 17:29:23 +03:00 |
|
GreLI
|
d668a10d14
|
Prevent removing of meaningful whitespace in text tags. Fixes #299
|
2015-02-15 22:39:01 +03:00 |
|
GreLI
|
bd82898b05
|
Don't blow up in case of <foregnObject>. Fixes #279
|
2015-02-15 18:45:16 +03:00 |
|
GreLI
|
de1629faf9
|
Don't remove data-* attributes. Resolves #301
|
2015-02-15 15:11:42 +03:00 |
|
GreLI
|
5a51022b25
|
Don't pass 'clip-path' attr to shape elements at all. Fixes #231
|
2015-02-08 23:39:35 +03:00 |
|
GreLI
|
942d2f74fa
|
Better css parsing in style attr. Fixes #227
|
2015-02-08 22:33:24 +03:00 |
|
GreLI
|
ec7d4cc856
|
Updated test according to changes in pretty printing
|
2015-02-01 23:41:09 +03:00 |
|
GreLI
|
66ca37c366
|
Typo fix and updated tests
|
2015-01-27 14:12:29 +03:00 |
|
GreLI
|
bada6b2a8c
|
Transformations now accounting inherited stroke attributes. Finally fixes #162
|
2015-01-25 23:27:30 +03:00 |
|
Kiyohiko Heima
|
8222f41cd4
|
add tests of cleanupListOfValues
|
2014-12-07 21:48:10 +09:00 |
|
Vasiliy Loginevskiy
|
ccd0541712
|
Add shortNames colors optimization.
|
2014-12-05 23:50:37 +03:00 |
|
Vasiliy Loginevskiy
|
da5c339076
|
Improve cleanupEnableBackground plugin.
|
2014-11-13 08:41:53 +03:00 |
|
GreLI
|
d9ad4183fa
|
Don't move attrs to child if it has id
|
2014-11-04 22:25:13 +03:00 |
|