Commit cee0d1f1 authored by RazrFalcon's avatar RazrFalcon

Version bump.

parent e7e5eebc
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Generated by https://github.com/RazrFalcon/barh -->
<svg height="293" shape-rendering="crispEdges" width="841" xmlns="http://www.w3.org/2000/svg">
<text font-family="Arial" font-size="16" x="61" y="36">resvg 0.4.0</text>
<text font-family="Arial" font-size="16" x="61" y="38">resvg 0.5.0</text>
<text font-family="Arial" font-size="16" x="56" y="71">Firefox 64.0</text>
<text font-family="Arial" font-size="16" x="4" y="104">Chromium r609904</text>
<text font-family="Arial" font-size="16" x="27" y="137">Inkscape 0.92.2</text>
<text font-family="Arial" font-size="16" x="48" y="170">librsvg 2.45.1</text>
<text font-family="Arial" font-size="16" x="27" y="137">Inkscape 0.92.3</text>
<text font-family="Arial" font-size="16" x="45" y="170">librsvg 2.45.2</text>
<text font-family="Arial" font-size="16" x="78" y="203">Batik 1.9</text>
<text font-family="Arial" font-size="16" x="51" y="236">QtSvg 5.11.1</text>
<rect fill="#ccc" height="242" width="1" x="144" y="10"/>
<text fill="#000" font-family="Arial" font-size="16" x="140" y="266">0</text>
<rect fill="#ccc" height="242" width="1" x="314" y="10"/>
<text fill="#000" font-family="Arial" font-size="16" x="301" y="266">204</text>
<text fill="#000" font-family="Arial" font-size="16" x="301" y="266">240</text>
<rect fill="#ccc" height="242" width="1" x="485" y="10"/>
<text fill="#000" font-family="Arial" font-size="16" x="472" y="266">408</text>
<text fill="#000" font-family="Arial" font-size="16" x="472" y="266">479</text>
<rect fill="#ccc" height="242" width="1" x="656" y="10"/>
<text fill="#000" font-family="Arial" font-size="16" x="645" y="266">611</text>
<text fill="#000" font-family="Arial" font-size="16" x="643" y="266">719</text>
<rect fill="#ccc" height="242" width="1" x="827" y="10"/>
<text fill="#000" font-family="Arial" font-size="16" x="814" y="266">815</text>
<rect fill="#3260cd" height="22" width="651" x="144" y="21"/>
<text fill="#fff" font-family="Arial" font-size="16" x="765" y="36">777</text>
<rect fill="#3260cd" height="22" width="634" x="144" y="54"/>
<text fill="#fff" font-family="Arial" font-size="16" x="748" y="71">757</text>
<rect fill="#3260cd" height="22" width="622" x="144" y="87"/>
<text fill="#fff" font-family="Arial" font-size="16" x="736" y="104">743</text>
<rect fill="#3260cd" height="22" width="542" x="144" y="120"/>
<text fill="#fff" font-family="Arial" font-size="16" x="656" y="137">647</text>
<rect fill="#3260cd" height="22" width="534" x="144" y="153"/>
<text fill="#fff" font-family="Arial" font-size="16" x="648" y="170">638</text>
<text fill="#000" font-family="Arial" font-size="16" x="814" y="266">958</text>
<rect fill="#3260cd" height="22" width="648" x="144" y="21"/>
<text fill="#fff" font-family="Arial" font-size="16" x="762" y="38">909</text>
<rect fill="#3260cd" height="22" width="616" x="144" y="54"/>
<text fill="#fff" font-family="Arial" font-size="16" x="730" y="71">865</text>
<rect fill="#3260cd" height="22" width="623" x="144" y="87"/>
<text fill="#fff" font-family="Arial" font-size="16" x="737" y="104">875</text>
<rect fill="#3260cd" height="22" width="536" x="144" y="120"/>
<text fill="#fff" font-family="Arial" font-size="16" x="650" y="137">752</text>
<rect fill="#3260cd" height="22" width="536" x="144" y="153"/>
<text fill="#fff" font-family="Arial" font-size="16" x="650" y="170">753</text>
<rect fill="#3260cd" height="22" width="506" x="144" y="186"/>
<text fill="#fff" font-family="Arial" font-size="16" x="620" y="203">604</text>
<rect fill="#3260cd" height="22" width="306" x="144" y="219"/>
<text fill="#fff" font-family="Arial" font-size="16" x="420" y="236">366</text>
<text fill="#fff" font-family="Arial" font-size="16" x="620" y="203">710</text>
<rect fill="#3260cd" height="22" width="273" x="144" y="219"/>
<text fill="#fff" font-family="Arial" font-size="16" x="387" y="236">383</text>
<rect fill="#333" height="242" width="1" x="144" y="10"/>
<text font-family="Arial" font-size="16" font-style="italic" x="444" y="288">Tests passed</text>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Generated by https://github.com/RazrFalcon/barh -->
<svg height="293" shape-rendering="crispEdges" width="841" xmlns="http://www.w3.org/2000/svg">
<text font-family="Arial" font-size="16" x="61" y="38">resvg 0.4.0</text>
<text font-family="Arial" font-size="16" x="61" y="38">resvg 0.5.0</text>
<text font-family="Arial" font-size="16" x="56" y="71">Firefox 64.0</text>
<text font-family="Arial" font-size="16" x="4" y="104">Chromium r609904</text>
<text font-family="Arial" font-size="16" x="27" y="137">Inkscape 0.92.2</text>
<text font-family="Arial" font-size="16" x="48" y="170">librsvg 2.45.1</text>
<text font-family="Arial" font-size="16" x="27" y="137">Inkscape 0.92.3</text>
<text font-family="Arial" font-size="16" x="45" y="168">librsvg 2.45.2</text>
<text font-family="Arial" font-size="16" x="78" y="203">Batik 1.9</text>
<text font-family="Arial" font-size="16" x="51" y="234">QtSvg 5.11.1</text>
<rect fill="#ccc" height="242" width="1" x="144" y="10"/>
......@@ -18,18 +18,18 @@
<text fill="#000" font-family="Arial" font-size="16" x="643" y="266">253</text>
<rect fill="#ccc" height="242" width="1" x="827" y="10"/>
<text fill="#000" font-family="Arial" font-size="16" x="814" y="266">337</text>
<rect fill="#3260cd" height="22" width="482" x="144" y="21"/>
<text fill="#fff" font-family="Arial" font-size="16" x="596" y="38">238</text>
<rect fill="#3260cd" height="22" width="585" x="144" y="54"/>
<text fill="#fff" font-family="Arial" font-size="16" x="699" y="71">289</text>
<rect fill="#3260cd" height="22" width="597" x="144" y="87"/>
<text fill="#fff" font-family="Arial" font-size="16" x="711" y="104">295</text>
<rect fill="#3260cd" height="22" width="516" x="144" y="120"/>
<text fill="#fff" font-family="Arial" font-size="16" x="630" y="137">255</text>
<rect fill="#3260cd" height="22" width="451" x="144" y="153"/>
<text fill="#fff" font-family="Arial" font-size="16" x="565" y="170">223</text>
<rect fill="#3260cd" height="22" width="516" x="144" y="186"/>
<text fill="#fff" font-family="Arial" font-size="16" x="630" y="203">255</text>
<rect fill="#3260cd" height="22" width="504" x="144" y="21"/>
<text fill="#fff" font-family="Arial" font-size="16" x="618" y="38">249</text>
<rect fill="#3260cd" height="22" width="583" x="144" y="54"/>
<text fill="#fff" font-family="Arial" font-size="16" x="697" y="71">288</text>
<rect fill="#3260cd" height="22" width="593" x="144" y="87"/>
<text fill="#fff" font-family="Arial" font-size="16" x="707" y="104">293</text>
<rect fill="#3260cd" height="22" width="512" x="144" y="120"/>
<text fill="#fff" font-family="Arial" font-size="16" x="626" y="137">253</text>
<rect fill="#3260cd" height="22" width="449" x="144" y="153"/>
<text fill="#fff" font-family="Arial" font-size="16" x="563" y="168">222</text>
<rect fill="#3260cd" height="22" width="520" x="144" y="186"/>
<text fill="#fff" font-family="Arial" font-size="16" x="634" y="203">257</text>
<rect fill="#3260cd" height="22" width="285" x="144" y="219"/>
<text fill="#fff" font-family="Arial" font-size="16" x="401" y="234">141</text>
<rect fill="#333" height="242" width="1" x="144" y="10"/>
......
......@@ -2,10 +2,10 @@
<!-- Generated by https://github.com/RazrFalcon/barh -->
<svg height="214" shape-rendering="crispEdges" width="833" xmlns="http://www.w3.org/2000/svg">
<text font-family="Arial" font-size="16" font-weight="bold" x="149" y="16">Time to render Elementary OS Icon Theme 5.0</text>
<text font-family="Arial" font-size="16" x="4" y="56">resvg 0.4.0 (cairo)</text>
<text font-family="Arial" font-size="16" x="25" y="91">resvg 0.4.0 (qt)</text>
<text font-family="Arial" font-size="16" x="4" y="56">resvg 0.5.0 (cairo)</text>
<text font-family="Arial" font-size="16" x="25" y="91">resvg 0.5.0 (qt)</text>
<text font-family="Arial" font-size="16" x="43" y="124">QtSvg 5.11.1</text>
<text font-family="Arial" font-size="16" x="40" y="157">librsvg 2.45.1</text>
<text font-family="Arial" font-size="16" x="37" y="157">librsvg 2.45.2</text>
<rect fill="#ccc" height="143" width="1" x="149" y="30"/>
<text fill="#000" font-family="Arial" font-size="16" x="132" y="187">0sec</text>
<rect fill="#ccc" height="143" width="1" x="314" y="30"/>
......
......@@ -2,10 +2,10 @@
<!-- Generated by https://github.com/RazrFalcon/barh -->
<svg height="214" shape-rendering="crispEdges" width="833" xmlns="http://www.w3.org/2000/svg">
<text font-family="Arial" font-size="16" font-weight="bold" x="149" y="16">Time to render Oxygen Icon Theme 4.12</text>
<text font-family="Arial" font-size="16" x="4" y="58">resvg 0.4.0 (cairo)</text>
<text font-family="Arial" font-size="16" x="25" y="91">resvg 0.4.0 (qt)</text>
<text font-family="Arial" font-size="16" x="4" y="58">resvg 0.5.0 (cairo)</text>
<text font-family="Arial" font-size="16" x="25" y="91">resvg 0.5.0 (qt)</text>
<text font-family="Arial" font-size="16" x="43" y="124">QtSvg 5.11.1</text>
<text font-family="Arial" font-size="16" x="40" y="157">librsvg 2.45.1</text>
<text font-family="Arial" font-size="16" x="37" y="157">librsvg 2.45.2</text>
<rect fill="#ccc" height="143" width="1" x="149" y="30"/>
<text fill="#000" font-family="Arial" font-size="16" x="132" y="187">0sec</text>
<rect fill="#ccc" height="143" width="1" x="313" y="30"/>
......
......@@ -7,12 +7,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
This changelog also contains important changes in dependencies.
## [Unreleased]
## [0.5.0] - 2018-01-04
### Added
- Added marker support.
- `marker` support.
- Partial `baseline-shift` support.
- `letter-spacing` support.
- (qt-backend) `word-spacing` support.
Does not work on the cairo backend.
- tools/explorer-thumbnailer
- tools/kde-dolphin-thumbnailer
### Fixed
- Object bounding box calculation.
......@@ -136,7 +140,8 @@ This changelog also contains important changes in dependencies.
### Fixed
- `font-size` attribute inheritance during `use` resolving.
[Unreleased]: https://github.com/RazrFalcon/resvg/compare/v0.4.0...HEAD
[Unreleased]: https://github.com/RazrFalcon/resvg/compare/v0.5.0...HEAD
[0.5.0]: https://github.com/RazrFalcon/resvg/compare/v0.4.0...v0.5.0
[0.4.0]: https://github.com/RazrFalcon/resvg/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/RazrFalcon/resvg/compare/v0.2.0...v0.3.0
[0.2.0]: https://github.com/RazrFalcon/resvg/compare/v0.1.0...v0.2.0
This diff is collapsed.
[package]
name = "resvg"
# When updating version, also modify html_root_url in the lib.rs, in the README and in the rendersvg
version = "0.4.0"
version = "0.5.0"
authors = ["Evgeniy Reizner <razrfalcon@gmail.com>"]
keywords = ["svg", "render", "raster"]
license = "MPL-2.0"
......@@ -27,7 +26,7 @@ travis-ci = { repository = "RazrFalcon/resvg" }
[dependencies]
log = "0.4.5"
rgb = "0.8.9"
usvg = { path = "usvg", version = "0.4.0" }
usvg = { path = "usvg", version = "0.5.0" }
unicode-segmentation = "1.2.1" # TODO: reexport?
# cairo backend
......@@ -37,7 +36,7 @@ pango = { version = "0.5", optional = true }
pangocairo = { version = "0.6", optional = true }
# qt backend
resvg-qt = { path = "resvg-qt", version = "0.4.0", optional = true }
resvg-qt = { path = "resvg-qt", version = "0.5.0", optional = true }
[features]
cairo-backend = ["cairo-rs", "gdk-pixbuf", "pango", "pangocairo"]
......
[package]
name = "resvg-capi"
version = "0.4.0"
version = "0.5.0"
authors = ["Evgeniy Reizner <razrfalcon@gmail.com>"]
keywords = ["svg", "render", "raster", "capi"]
license = "MPL-2.0"
......
[package]
name = "cairo-example"
version = "0.2.0"
version = "0.1.0"
authors = ["Reizner Evgeniy <razrfalcon@gmail.com>"]
workspace = "../.."
......
[package]
name = "resvg-qt"
version = "0.4.0"
version = "0.5.0"
authors = ["Reizner Evgeniy <razrfalcon@gmail.com>"]
keywords = ["qt", "ffi"]
license = "MIT"
......
......@@ -14,7 +14,7 @@ It can be used as a simple SVG to PNG converted.
And as an embeddable library to paint SVG on an application native canvas.
*/
#![doc(html_root_url = "https://docs.rs/resvg/0.4.0")]
#![doc(html_root_url = "https://docs.rs/resvg/0.5.0")]
//#![forbid(unsafe_code)]
#![warn(missing_docs)]
......
......@@ -13,13 +13,13 @@ An SVG thumbnails generator for the Windows Explorer.
```batch
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
set PATH=%userprofile%\.cargo\bin;C:\Qt\5.12.0\msvc2015_64\bin;%PATH%
# build C-API first
rem build C-API first
set QT_DIR=C:\Qt\5.12.0\msvc2015_64
cargo build --release --features "qt-backend" --manifest-path ../../capi/Cargo.toml
# build thumbnailer
rem build thumbnailer
qmake
nmake
# prepare files for installer
rem prepare files for installer
windeployqt --no-translations release\SVGThumbnailExtension.dll
```
......
......@@ -42,6 +42,7 @@ BOOL APIENTRY DllMain(HINSTANCE hinstDll, DWORD dwReason, LPVOID pvReserved)
// At the moment, the installer will disallow the install directory change.
QCoreApplication::addLibraryPath("C:/Program Files/reSVG Explorer Extension");
// TODO: Doesn't need when the SVG doesn't have any text.
int argc = 1;
new QGuiApplication(argc, nullptr);
}
......
......@@ -20,6 +20,9 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../../capi/include
)
# TODO: doesn't work
#find_library(RESVG_LIBRARY NAMES "libresvg.a" PATHS ${CMAKE_CURRENT_SOURCE_DIR}/../../target/release NO_DEFAULT_PATH)
set(resvgthumbnailer_PART_SRCS
resvgthumbnailer.cpp
)
......
......@@ -8,7 +8,7 @@ An SVG thumbnails generator for the KDE's
```bash
# build and install C-API first in case you don't have resvg intalled already
cargo build --release --features "qt-backend" --manifest-path ../../capi/Cargo.toml
sudo cp ../../../target/release/libresvg.so /usr/lib/
sudo cp ../../target/release/libresvg.so /usr/lib/
# build
mkdir build
......
[package]
name = "rendersvg"
version = "0.4.0"
version = "0.5.0"
authors = ["Evgeniy Reizner <razrfalcon@gmail.com>"]
keywords = ["svg", "render", "raster"]
license = "MPL-2.0"
......
[package]
name = "usvg-cli"
version = "0.4.0"
version = "0.5.0"
authors = ["Reizner Evgeniy <razrfalcon@gmail.com>"]
keywords = ["svg"]
license = "MPL-2.0"
......
[package]
name = "usvg"
# When updating version, also modify html_root_url in the lib.rs and in the ../tools/Cargo.toml
version = "0.4.0"
version = "0.5.0"
authors = ["Evgeniy Reizner <razrfalcon@gmail.com>"]
keywords = ["svg"]
license = "MPL-2.0"
......
......@@ -58,7 +58,7 @@ Full spec can be found [here](https://github.com/RazrFalcon/usvg/blob/master/doc
[SVG]: https://en.wikipedia.org/wiki/Scalable_Vector_Graphics
*/
#![doc(html_root_url = "https://docs.rs/usvg/0.4.0")]
#![doc(html_root_url = "https://docs.rs/usvg/0.5.0")]
#![cfg_attr(feature = "cargo-clippy", allow(collapsible_if))]
......
This diff is collapsed.
......@@ -51,7 +51,7 @@ test!(minimal, false,
viewBox='0 0 1 1'
preserveAspectRatio='xMidYMid'
xmlns:usvg='https://github.com/RazrFalcon/usvg'
usvg:version='0.4.0'>
usvg:version='0.5.0'>
<defs/>
<path
fill='#000000'
......@@ -82,7 +82,7 @@ test!(groups, false,
viewBox='0 0 1 1'
preserveAspectRatio='xMidYMid'
xmlns:usvg='https://github.com/RazrFalcon/usvg'
usvg:version='0.4.0'>
usvg:version='0.5.0'>
<defs/>
<path
fill='#000000'
......@@ -111,7 +111,7 @@ test!(clippath_with_invalid_child, false,
viewBox='0 0 1 1'
preserveAspectRatio='xMidYMid'
xmlns:usvg='https://github.com/RazrFalcon/usvg'
usvg:version='0.4.0'>
usvg:version='0.5.0'>
<defs/>
</svg>
");
......@@ -136,7 +136,7 @@ test!(clippath_with_invalid_children, false,
viewBox='0 0 1 1'
preserveAspectRatio='xMidYMid'
xmlns:usvg='https://github.com/RazrFalcon/usvg'
usvg:version='0.4.0'>
usvg:version='0.5.0'>
<defs/>
</svg>
");
......@@ -155,7 +155,7 @@ test!(group_clippath, false,
viewBox='0 0 1 1'
preserveAspectRatio='xMidYMid'
xmlns:usvg='https://github.com/RazrFalcon/usvg'
usvg:version='0.4.0'>
usvg:version='0.5.0'>
<defs>
<clipPath
id='clip1'
......@@ -206,7 +206,7 @@ test!(ignore_groups_with_id, false,
viewBox='0 0 1 1'
preserveAspectRatio='xMidYMid'
xmlns:usvg='https://github.com/RazrFalcon/usvg'
usvg:version='0.4.0'>
usvg:version='0.5.0'>
<defs/>
<path
id='some_group'
......@@ -236,7 +236,7 @@ test!(pattern_with_invalid_child, false,
viewBox='0 0 1 1'
preserveAspectRatio='xMidYMid'
xmlns:usvg='https://github.com/RazrFalcon/usvg'
usvg:version='0.4.0'>
usvg:version='0.5.0'>
<defs/>
<path
fill='none'
......@@ -261,7 +261,7 @@ test!(pattern_without_children, false,
viewBox='0 0 1 1'
preserveAspectRatio='xMidYMid'
xmlns:usvg='https://github.com/RazrFalcon/usvg'
usvg:version='0.4.0'>
usvg:version='0.5.0'>
<defs/>
<path
fill='none'
......@@ -314,7 +314,7 @@ test!(preserve_id, false,
viewBox='0 0 1 1'
preserveAspectRatio='xMidYMid'
xmlns:usvg='https://github.com/RazrFalcon/usvg'
usvg:version='0.4.0'>
usvg:version='0.5.0'>
<defs>
<linearGradient
id='lg1'
......@@ -484,7 +484,7 @@ test!(ignore_empty_groups_with_id, true,
viewBox='0 0 1 1'
preserveAspectRatio='xMidYMid'
xmlns:usvg='https://github.com/RazrFalcon/usvg'
usvg:version='0.4.0'>
usvg:version='0.5.0'>
<defs/>
</svg>
");
......@@ -502,7 +502,7 @@ test!(keep_groups_with_id, true,
viewBox='0 0 1 1'
preserveAspectRatio='xMidYMid'
xmlns:usvg='https://github.com/RazrFalcon/usvg'
usvg:version='0.4.0'>
usvg:version='0.5.0'>
<defs/>
<g
id='some_group'
......@@ -535,7 +535,7 @@ test!(simplify_paths_1, false,
viewBox='0 0 1 1'
preserveAspectRatio='xMidYMid'
xmlns:usvg='https://github.com/RazrFalcon/usvg'
usvg:version='0.4.0'>
usvg:version='0.5.0'>
<defs/>
<path
fill='#000000'
......@@ -564,7 +564,7 @@ test!(group_with_default_opacity, false,
viewBox='0 0 1 1'
preserveAspectRatio='xMidYMid'
xmlns:usvg='https://github.com/RazrFalcon/usvg'
usvg:version='0.4.0'>
usvg:version='0.5.0'>
<defs/>
<path
fill='#000000'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment