From 0ba759ee3930aafc6b13fc942ba4244185847147 Mon Sep 17 00:00:00 2001 From: Reizner Evgeniy Date: Sun, 18 Jun 2017 16:31:12 +0300 Subject: [PATCH] Bugfix release. --- Cargo.lock | 6 +- Cargo.toml | 4 +- README.md | 12 ++-- ...correctness_chart_W3C_SVG_11_TestSuite.svg | 52 ++++++++--------- docs/images/correctness_chart_oxygen.svg | 56 +++++++++---------- ...performance_chart_W3C_SVG_11_TestSuite.svg | 48 ++++++++-------- docs/images/performance_chart_oxygen.svg | 48 ++++++++-------- .../ratio_chart_W3C_SVG_11_TestSuite.svg | 16 +++--- docs/images/ratio_chart_oxygen.svg | 14 ++--- ...orrectness_chart_W3C_SVG_11_TestSuite.json | 2 +- .../stats/data/correctness_chart_oxygen.json | 2 +- ...erformance_chart_W3C_SVG_11_TestSuite.json | 2 +- .../stats/data/performance_chart_oxygen.json | 2 +- .../ratio_chart_W3C_SVG_11_TestSuite.json | 8 +-- tools/stats/data/ratio_chart_oxygen.json | 6 +- 15 files changed, 139 insertions(+), 139 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 16191afb..9fb8343f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3,7 +3,7 @@ name = "svgcleaner" version = "0.9.1" dependencies = [ "clap 2.24.2 (registry+https://github.com/rust-lang/crates.io-index)", - "svgdom 0.6.0 (git+https://github.com/RazrFalcon/libsvgdom.git)", + "svgdom 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -64,7 +64,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "svgdom" version = "0.6.0" -source = "git+https://github.com/RazrFalcon/libsvgdom.git#2b0f1613ee609812545d110513bd98cd8da49c65" +source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "float-cmp 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "simplecss 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -103,7 +103,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum phf_shared 0.7.21 (registry+https://github.com/rust-lang/crates.io-index)" = "07e24b0ca9643bdecd0632f2b3da6b1b89bbb0030e0b992afc1113b23a7bc2f2" "checksum simplecss 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "135685097a85a64067df36e28a243e94a94f76d829087ce0be34eeb014260c0e" "checksum siphasher 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0df90a788073e8d0235a67e50441d47db7c8ad9debd91cbf43736a2a92d36537" -"checksum svgdom 0.6.0 (git+https://github.com/RazrFalcon/libsvgdom.git)" = "" +"checksum svgdom 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "97ded3cb4f39f2eb0048eb5731d5cb1e7bf72f6bb81b25041f40a6a34dc02886" "checksum svgparser 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b88bfad561af9e7887b91f588ca4a5f12bdf1b92bdf430a3d9f9143e46f2d26b" "checksum unicode-segmentation 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a8083c594e02b8ae1654ae26f0ade5158b119bd88ad0e8227a5d8fcd72407946" "checksum unicode-width 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "bf3a113775714a22dcb774d8ea3655c53a32debae63a063acc00a91cc586245f" diff --git a/Cargo.toml b/Cargo.toml index 6e8bd229..8a82bfa7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,11 +25,11 @@ path = "src/main.rs" [dependencies.svgdom] # latest -git = "https://github.com/RazrFalcon/libsvgdom.git" +# git = "https://github.com/RazrFalcon/libsvgdom.git" # local copy # path = "../svgdom" # from crates -# version = "0.5" +version = "0.6" [dependencies.clap] version = "2" diff --git a/README.md b/README.md index 09e476ea..01ef81a5 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ All stats were collected using the latest release version. *Less is better.* -![Alt text](https://cdn.rawgit.com/RazrFalcon/svgcleaner/v0.9.0/docs/images/correctness_chart_W3C_SVG_11_TestSuite.svg) +![Alt text](https://cdn.rawgit.com/RazrFalcon/svgcleaner/v0.9.1/docs/images/correctness_chart_W3C_SVG_11_TestSuite.svg) \* Most of the errors were due to incorrect `font-face` processing. Without including font-based errors, scores were: - `svgo`: 100 @@ -74,7 +74,7 @@ All stats were collected using the latest release version. *** -![Alt text](https://cdn.rawgit.com/RazrFalcon/svgcleaner/v0.9.0/docs/images/correctness_chart_oxygen.svg) +![Alt text](https://cdn.rawgit.com/RazrFalcon/svgcleaner/v0.9.1/docs/images/correctness_chart_oxygen.svg) \* Errors produced by numeric rounding were ignored. @@ -82,21 +82,21 @@ All stats were collected using the latest release version. *More is better.* -![Alt text](https://cdn.rawgit.com/RazrFalcon/svgcleaner/v0.9.0/docs/images/ratio_chart_W3C_SVG_11_TestSuite.svg) +![Alt text](https://cdn.rawgit.com/RazrFalcon/svgcleaner/v0.9.1/docs/images/ratio_chart_W3C_SVG_11_TestSuite.svg) \* Note that `svgo` and `scour` break most of the files. *** -![Alt text](https://cdn.rawgit.com/RazrFalcon/svgcleaner/v0.9.0/docs/images/ratio_chart_oxygen.svg) +![Alt text](https://cdn.rawgit.com/RazrFalcon/svgcleaner/v0.9.1/docs/images/ratio_chart_oxygen.svg) ### Cleaning time *Less is better.* -![Alt text](https://cdn.rawgit.com/RazrFalcon/svgcleaner/v0.9.0/docs/images/performance_chart_W3C_SVG_11_TestSuite.svg) +![Alt text](https://cdn.rawgit.com/RazrFalcon/svgcleaner/v0.9.1/docs/images/performance_chart_W3C_SVG_11_TestSuite.svg) -![Alt text](https://cdn.rawgit.com/RazrFalcon/svgcleaner/v0.9.0/docs/images/performance_chart_oxygen.svg) +![Alt text](https://cdn.rawgit.com/RazrFalcon/svgcleaner/v0.9.1/docs/images/performance_chart_oxygen.svg) ### Other diff --git a/docs/images/correctness_chart_W3C_SVG_11_TestSuite.svg b/docs/images/correctness_chart_W3C_SVG_11_TestSuite.svg index 86421445..12de5c36 100644 --- a/docs/images/correctness_chart_W3C_SVG_11_TestSuite.svg +++ b/docs/images/correctness_chart_W3C_SVG_11_TestSuite.svg @@ -1,57 +1,57 @@ - - + + Broken files in W3C SVG 1.1 TestSuite - svgcleaner 0.9.0 + svgcleaner 0.9.1 - + svgo 0.7.2 - + scour 0.35 - - + + 0 - - + + 100 - - + + 200 - - + + 300 - - + + 400 - - + + 525 - - - + + + 1 - - + + 284 - - + + 269 - - + + Files diff --git a/docs/images/correctness_chart_oxygen.svg b/docs/images/correctness_chart_oxygen.svg index fbb1177e..01815475 100644 --- a/docs/images/correctness_chart_oxygen.svg +++ b/docs/images/correctness_chart_oxygen.svg @@ -1,59 +1,59 @@ - - + + Broken files in Oxygen icon theme - svgcleaner 0.9.0 + svgcleaner 0.9.1 - + svgo 0.7.2 - + scour 0.35 - - + + 0 - - + + 1000 - - + + 2000 - - + + 3000 - - + + 4000 - - + + 4941 - - - + + + 1 - - - + + + 184 - - - + + + 8 - - + + Files diff --git a/docs/images/performance_chart_W3C_SVG_11_TestSuite.svg b/docs/images/performance_chart_W3C_SVG_11_TestSuite.svg index 92c9fa24..5d8cc6bb 100644 --- a/docs/images/performance_chart_W3C_SVG_11_TestSuite.svg +++ b/docs/images/performance_chart_W3C_SVG_11_TestSuite.svg @@ -1,53 +1,53 @@ - - + + Average cleaning time in W3C SVG 1.1 TestSuite - svgcleaner 0.9.0 + svgcleaner 0.9.1 - + svgo 0.7.2 - + scour 0.35 - - + + 0ms - - + + 60ms - - + + 120ms - - + + 180ms - - + + 240ms - - - + + + 1.6 - - + + 215 - - + + 137 - - + + Time diff --git a/docs/images/performance_chart_oxygen.svg b/docs/images/performance_chart_oxygen.svg index 2d3c4d9d..eccbe2d6 100644 --- a/docs/images/performance_chart_oxygen.svg +++ b/docs/images/performance_chart_oxygen.svg @@ -1,53 +1,53 @@ - - + + Average cleaning time in Oxygen icon theme - svgcleaner 0.9.0 + svgcleaner 0.9.1 - + svgo 0.7.2 - + scour 0.35 - - + + 0ms - - + + 600ms - - + + 1200ms - - + + 1800ms - - + + 2400ms - - - + + + 9 - - + + 687 - - + + 2216 - - + + Time diff --git a/docs/images/ratio_chart_W3C_SVG_11_TestSuite.svg b/docs/images/ratio_chart_W3C_SVG_11_TestSuite.svg index e3f777bd..4f313e11 100644 --- a/docs/images/ratio_chart_W3C_SVG_11_TestSuite.svg +++ b/docs/images/ratio_chart_W3C_SVG_11_TestSuite.svg @@ -4,11 +4,11 @@ Cleaning ratio in W3C SVG 1.1 TestSuite - - svgcleaner 0.9.0 + + svgcleaner 0.9.1 - - svgcleaner 0.8.1 + + svgcleaner 0.9.0 svgo 0.7.2 @@ -38,11 +38,11 @@ - 32.87 + 32.88 - - - 32.75 + + + 32.87 diff --git a/docs/images/ratio_chart_oxygen.svg b/docs/images/ratio_chart_oxygen.svg index 866de079..eb7fb0a3 100644 --- a/docs/images/ratio_chart_oxygen.svg +++ b/docs/images/ratio_chart_oxygen.svg @@ -4,11 +4,11 @@ Cleaning ratio in Oxygen icon theme - - svgcleaner 0.9.0 + + svgcleaner 0.9.1 - - svgcleaner 0.8.1 + + svgcleaner 0.9.0 svgo 0.7.2 @@ -40,9 +40,9 @@ 61.25 - - - 61.12 + + + 61.25 diff --git a/tools/stats/data/correctness_chart_W3C_SVG_11_TestSuite.json b/tools/stats/data/correctness_chart_W3C_SVG_11_TestSuite.json index 6c8aac55..69a68e37 100644 --- a/tools/stats/data/correctness_chart_W3C_SVG_11_TestSuite.json +++ b/tools/stats/data/correctness_chart_W3C_SVG_11_TestSuite.json @@ -6,7 +6,7 @@ }, "items": [ { - "name": "svgcleaner 0.9.0", + "name": "svgcleaner 0.9.1", "value": 1 }, { diff --git a/tools/stats/data/correctness_chart_oxygen.json b/tools/stats/data/correctness_chart_oxygen.json index 02753e8f..409977ba 100644 --- a/tools/stats/data/correctness_chart_oxygen.json +++ b/tools/stats/data/correctness_chart_oxygen.json @@ -6,7 +6,7 @@ }, "items": [ { - "name": "svgcleaner 0.9.0", + "name": "svgcleaner 0.9.1", "value": 1 }, { diff --git a/tools/stats/data/performance_chart_W3C_SVG_11_TestSuite.json b/tools/stats/data/performance_chart_W3C_SVG_11_TestSuite.json index 89d18ee4..f9ee376f 100644 --- a/tools/stats/data/performance_chart_W3C_SVG_11_TestSuite.json +++ b/tools/stats/data/performance_chart_W3C_SVG_11_TestSuite.json @@ -6,7 +6,7 @@ }, "items": [ { - "name": "svgcleaner 0.9.0", + "name": "svgcleaner 0.9.1", "value": 1.6 }, { diff --git a/tools/stats/data/performance_chart_oxygen.json b/tools/stats/data/performance_chart_oxygen.json index 48cc2d7b..ca2a1c63 100644 --- a/tools/stats/data/performance_chart_oxygen.json +++ b/tools/stats/data/performance_chart_oxygen.json @@ -6,7 +6,7 @@ }, "items": [ { - "name": "svgcleaner 0.9.0", + "name": "svgcleaner 0.9.1", "value": 9 }, { diff --git a/tools/stats/data/ratio_chart_W3C_SVG_11_TestSuite.json b/tools/stats/data/ratio_chart_W3C_SVG_11_TestSuite.json index 5803596a..48626579 100644 --- a/tools/stats/data/ratio_chart_W3C_SVG_11_TestSuite.json +++ b/tools/stats/data/ratio_chart_W3C_SVG_11_TestSuite.json @@ -6,12 +6,12 @@ }, "items": [ { - "name": "svgcleaner 0.9.0", - "value": 32.87 + "name": "svgcleaner 0.9.1", + "value": 32.88 }, { - "name": "svgcleaner 0.8.1", - "value": 32.75 + "name": "svgcleaner 0.9.0", + "value": 32.87 }, { "name": "svgo 0.7.2", diff --git a/tools/stats/data/ratio_chart_oxygen.json b/tools/stats/data/ratio_chart_oxygen.json index 738f7b3d..e1aa2688 100644 --- a/tools/stats/data/ratio_chart_oxygen.json +++ b/tools/stats/data/ratio_chart_oxygen.json @@ -6,12 +6,12 @@ }, "items": [ { - "name": "svgcleaner 0.9.0", + "name": "svgcleaner 0.9.1", "value": 61.25 }, { - "name": "svgcleaner 0.8.1", - "value": 61.12 + "name": "svgcleaner 0.9.0", + "value": 61.25 }, { "name": "svgo 0.7.2",