| 1 |
Version 2.62.1 |
| 2 |
============== |
| 3 |
|
| 4 |
librsvg crate version 2.62.1 |
| 5 |
|
| 6 |
librsvg-rebind crate version 0.3.0 |
| 7 |
|
| 8 |
- There are no changes from 2.62.0, just an update of the image-rs |
| 9 |
crate to align it with the rest of GNOME 50's versions for |
| 10 |
dependencies. |
| 11 |
|
| 12 |
|
| 13 |
Version 2.62.0 |
| 14 |
============== |
| 15 |
|
| 16 |
librsvg crate version 2.62.0 |
| 17 |
|
| 18 |
librsvg-rebind crate version 0.3.0 |
| 19 |
|
| 20 |
- The minimum supported Rust version (MSRV) is 1.92.0. |
| 21 |
|
| 22 |
- The librsvg and librsvg-rebind crates now use Rust/Cargo edition=2024. |
| 23 |
|
| 24 |
- #1218: Fix rendering of markers at the end of open subpaths. |
| 25 |
|
| 26 |
- #1216: Small optimization for userLanguage so regexes only get |
| 27 |
compiled if needed (Adetoye Anointing). |
| 28 |
|
| 29 |
- Update gtk-rs-core crates to 0.22.0. |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
Version 2.61.92 |
| 34 |
=============== |
| 35 |
|
| 36 |
librsvg crate version 2.62.0-beta.2 |
| 37 |
|
| 38 |
librsvg-rebind crate version 0.3.0-beta.0 |
| 39 |
|
| 40 |
- #1218: Fix rendering of markers at the end of open subpaths. |
| 41 |
|
| 42 |
- #1216: Small optimization for userLanguage so regexes only get |
| 43 |
compiled if needed (Adetoye Anointing). |
| 44 |
|
| 45 |
- #1225: Update the time crate to 0.3.47 for RUSTSEC-2026-0009 |
| 46 |
|
| 47 |
- #1226: Switch to Rust/Cargo edition=2024. |
| 48 |
|
| 49 |
|
| 50 |
Version 2.61.91 |
| 51 |
=============== |
| 52 |
|
| 53 |
librsvg crate version 2.62.0-beta.1 |
| 54 |
|
| 55 |
librsvg-rebind crate version 0.3.0-beta.0 |
| 56 |
|
| 57 |
- Fix linking to the native library in librsvg-rebind |
| 58 |
(Maximiliano Sandoval). |
| 59 |
|
| 60 |
- #1216 - Fix path used for the gdk-pixbuf-query-loaders binary when |
| 61 |
compiling with spack. |
| 62 |
|
| 63 |
- Update dependencies (Sophie Herold). |
| 64 |
|
| 65 |
- Sanitize the Markdown files and add CI checks for them (Jordan Petridis). |
| 66 |
|
| 67 |
|
| 68 |
Version 2.61.90 |
| 69 |
=============== |
| 70 |
|
| 71 |
librsvg crate version 2.62.0-beta.0 |
| 72 |
|
| 73 |
librsvg-rebind crate version 0.3.0-beta.0 |
| 74 |
|
| 75 |
- #1211 - librsvg-rebind's constructors now return Result<Self> |
| 76 |
instead of Result<Option> for ergonomics (Maximiliano Sandoval). |
| 77 |
|
| 78 |
- Fix typos in documentation (Jeremy Bicha). |
| 79 |
|
| 80 |
- Update gtk-rs-core to 0.22.0-alpha (Maximiliano Sandoval). |
| 81 |
|
| 82 |
- Fix version number of cargo-c in rsvg/Cargo.toml. |
| 83 |
|
| 84 |
|
| 85 |
Version 2.61.3 |
| 86 |
============== |
| 87 |
|
| 88 |
librsvg crate version 2.61.3 |
| 89 |
|
| 90 |
librsvg-rebind crate version 0.2.1 |
| 91 |
|
| 92 |
- #1196 - Reject file: URIs or UNC paths with hostnames in href |
| 93 |
references, to avoid NTLM hash leaks on Windows. |
| 94 |
|
| 95 |
- #1201 - Make loading limits work with libxml2 2.15.0 and later. |
| 96 |
|
| 97 |
- #1191 - Make the rsvg-convert test suite not depend on having fonts |
| 98 |
installed in the system. This helps build systems which otherwise |
| 99 |
had to disable some of the PDF tests. |
| 100 |
|
| 101 |
- rsvg-convert: Fix build when PDF support is disabled in Cairo |
| 102 |
(Kleis Auke Wolthuizen). |
| 103 |
|
| 104 |
Version 2.61.2 |
| 105 |
============== |
| 106 |
|
| 107 |
librsvg crate version 2.61.2 |
| 108 |
|
| 109 |
librsvg-rebind crate version 0.2.1 |
| 110 |
|
| 111 |
- #1186 - Disable compilation of the gdk-pixbuf loader module by |
| 112 |
default. It used to be that if meson detected that |
| 113 |
gdk-pixbuf-query-loaders(1) is available, then it would build the |
| 114 |
gdk-pixbuf loader module. Now that GNOME has switched to glycin |
| 115 |
loaders for images, which are sandboxed, gdk-pixbuf loaders are |
| 116 |
deprecated. You can still compile the gdk-pixbuf loader in librsvg |
| 117 |
by using the "-Dpixbuf-loader=enabled" option when invoking meson. |
| 118 |
|
| 119 |
- #1205 - Reduce stack usage with deeply nested layers. This should |
| 120 |
be of interest especially for users of Alpine or musl-libc. Librsvg |
| 121 |
should hopefully no longer require users of musl-libc to increase |
| 122 |
the stack size for it; please tell the maintainer if that is the |
| 123 |
case! |
| 124 |
|
| 125 |
- #1187 - "rsvg-convert --version" now also outputs the versions of |
| 126 |
the C library dependencies being used at runtime. |
| 127 |
|
| 128 |
- #1190 - The build process now checks the version of cargo-cbuild, as |
| 129 |
it needs to be coordinated with the minimum supported Rust version. |
| 130 |
The minimum cargo-cbuild for this release is 0.10.10. |
| 131 |
|
| 132 |
- Compiling rsvg-convert is now optional, via the |
| 133 |
"-Drsvg-convert=disabled" option for Meson (Thomas Devoogdt). |
| 134 |
|
| 135 |
- Update Rust dependencies. |
| 136 |
|
| 137 |
Version 2.61.1 |
| 138 |
============== |
| 139 |
|
| 140 |
librsvg crate version 2.61.1 |
| 141 |
|
| 142 |
librsvg-rebind crate version 0.2.1 |
| 143 |
|
| 144 |
- #1182 - Don't use GIO-based file sniffing so referencing external |
| 145 |
files works reliably on Windows. |
| 146 |
|
| 147 |
- #1188 - Fixed miscellaneous lints in the CI's shell scripts and in |
| 148 |
the pull-container-image.sh script for development. |
| 149 |
|
| 150 |
- Update Rust dependencies. |
| 151 |
|
| 152 |
Version 2.61.0 |
| 153 |
============== |
| 154 |
|
| 155 |
librsvg crate version 2.61.0 |
| 156 |
|
| 157 |
librsvg-rebind crate version 0.1.0 |
| 158 |
|
| 159 |
- The minimum supported Rust version (MSRV) is 1.85.1. |
| 160 |
|
| 161 |
- #1178: Improved performance when using an application-supplied |
| 162 |
stylesheet for an SVG handle - do cascading only once in that case |
| 163 |
instead of twice. |
| 164 |
|
| 165 |
- #1164: Don't panic if there are no fonts installed - this happens |
| 166 |
easily in Alpine containers (Lovell Fuller). |
| 167 |
|
| 168 |
- Update to gtk-rs-core 0.21 (Maximiliano Sandoval). |
| 169 |
|
| 170 |
- Vastly improved infrastructure to generate the development guide and |
| 171 |
the rsvg-convert manual page (Toluwaleke Ogundipe). |
| 172 |
|
| 173 |
- Start implementing the SVG2 text stack (Adetoye Anointing, from his |
| 174 |
Outreachy internship). |
| 175 |
|
| 176 |
- Fixed the Windows CI (Chun-wei Fan). |
| 177 |
|
| 178 |
- Lots of internal cleanups to make it easier to remove Cairo in the future. |
| 179 |
|
| 180 |
Version 2.60.0 |
| 181 |
============== |
| 182 |
|
| 183 |
librsvg crate version 2.60.0 |
| 184 |
|
| 185 |
librsvg-rebind crate version 0.1.0 |
| 186 |
|
| 187 |
This is a summary of changes from the last development period. For |
| 188 |
details, see the individual release notes for the 2.59.9x releases. |
| 189 |
|
| 190 |
- The minimum supported Rust version (MSRV) is 1.77.2. |
| 191 |
|
| 192 |
- Many build fixes for various platforms (Amyspark, Alexander Kanavin, |
| 193 |
Colin Sane). |
| 194 |
|
| 195 |
- #414 - Basic support for the dominant-baseline property (Paul Melis). |
| 196 |
|
| 197 |
- #1146 - Parse the white-space property. It is not processed yet; |
| 198 |
this is part of the work to support SVG2 text layout (Adetoye Anointing). |
| 199 |
|
| 200 |
- #1138 - Report errors correctly from the parsers for attribute values. |
| 201 |
|
| 202 |
- Portability fixes to the C header files. |
| 203 |
|
| 204 |
|
| 205 |
Version 2.59.91 |
| 206 |
=============== |
| 207 |
|
| 208 |
librsvg crate version 2.60.0-beta.1 |
| 209 |
|
| 210 |
librsvg-rebind crate version 0.1.0 |
| 211 |
|
| 212 |
* #1147 - Fix linkage on Illumos. |
| 213 |
|
| 214 |
* #1143 - Fix the build of the static library on MinGW (Amyspark). |
| 215 |
|
| 216 |
* Fix versioning of library name (Amyspark). |
| 217 |
|
| 218 |
* Enable cross-compilation of the gdk-pixbuf loader if meson/qemu can |
| 219 |
handle it (Colin Sane). |
| 220 |
|
| 221 |
Version 2.59.90 |
| 222 |
=============== |
| 223 |
|
| 224 |
librsvg crate version 2.60.0-beta.0 |
| 225 |
|
| 226 |
librsvg-rebind crate version 0.1.0 |
| 227 |
|
| 228 |
- #414 - Basic support for the dominant-baseline property (Paul Melis). |
| 229 |
|
| 230 |
- #1138 - Report errors correctly from the parsers for attribute values. |
| 231 |
|
| 232 |
- #951 - Slightly improved test coverage (Vaishnavi Nawghare). |
| 233 |
|
| 234 |
- #1136 - Don't use defined() in C macro definitions, since it is not |
| 235 |
portable. |
| 236 |
|
| 237 |
- #1146 - Parse the white-space property. It is not processed yet; |
| 238 |
this will come after the Outreachy internship (Adetoye Anointing). |
| 239 |
|
| 240 |
- Documentation fixes (Kleis Auke Wolthuizen). |
| 241 |
|
| 242 |
- Many build fixes (Amyspark). |
| 243 |
|
| 244 |
- Improvements for cross builds (Alexander Kanavin). |
| 245 |
|
| 246 |
- Fix CRLF characters in Python sources (sulincix). |
| 247 |
|
| 248 |
|
| 249 |
Version 2.59.2 |
| 250 |
============== |
| 251 |
|
| 252 |
- #1100 - Fix stack overflow due to unbounded recursion. Now there is |
| 253 |
a hard limit on the number of nested layers that an SVG document may |
| 254 |
have. This is not a hard limit on the amount of stack space |
| 255 |
consumed, but it is a general mitigation. |
| 256 |
|
| 257 |
- #1128 - Fix regression when rendering paths with very flat |
| 258 |
elliptical arcs. This bug was introduced in 2.59.1 as part of the |
| 259 |
mitigation for paths with coordinates that Cairo is unable to |
| 260 |
handle. |
| 261 |
|
| 262 |
- #1109 - Fix centering and text-anchor in general for scaled text. |
| 263 |
|
| 264 |
- #1134 - Fix building with Rust 1.82 on Windows (Christoph Reiter). |
| 265 |
|
| 266 |
Changes thanks to the ongoing Outreachy internship: |
| 267 |
|
| 268 |
- #1127 - Make cancellation work for all the resource loading |
| 269 |
functions (Adetoye Anointing). |
| 270 |
|
| 271 |
- #1071 - Add documentation for rsvg-bench to the development guide |
| 272 |
(Adetoye Anointing). |
| 273 |
|
| 274 |
- #892 - Slight improvement in memory consumption for language tags |
| 275 |
(Adetoye Anointing). |
| 276 |
|
| 277 |
- Many updates to the developer's documentation, for Outreachy |
| 278 |
interns. |
| 279 |
|
| 280 |
Special thanks to Toluwaleke Ogundipe for refreshing the style and |
| 281 |
content of the development guide, and greatly improving its build |
| 282 |
process. |
| 283 |
|
| 284 |
|
| 285 |
Version 2.59.1 |
| 286 |
============== |
| 287 |
|
| 288 |
librsvg crate version 2.59.1 |
| 289 |
|
| 290 |
librsvg-rebind crate version 0.1.0 |
| 291 |
|
| 292 |
Two mitigations for crashes found throuh fuzz testing: |
| 293 |
|
| 294 |
- #1088, #1118 - Cairo is easy to crash by giving it path coordinates |
| 295 |
that are outside of the range that it can represent internally with |
| 296 |
its fixed-point arithmetic. Fuzzers usually produce SVGs with very |
| 297 |
large numbers for coordinates, which overflow Cairo's arithmetic. |
| 298 |
This is just a *mitigation*, not a complete fix: librsvg will now |
| 299 |
check if path coordinates are outside of Cairo's supported range, |
| 300 |
and it will not render shapes with problematic coordinates. |
| 301 |
However, fuzzers may still produce coordinates that are in range but |
| 302 |
that still make Cairo crash. I am starting to learn Cairo's code to |
| 303 |
see if this can be fixed gradually. |
| 304 |
|
| 305 |
|
| 306 |
Version 2.59.0 |
| 307 |
============== |
| 308 |
|
| 309 |
librsvg crate version 2.59.0 |
| 310 |
|
| 311 |
librsvg-rebind crate version 0.1.0 |
| 312 |
|
| 313 |
The biggest change in this release is that librsvg now uses the Meson |
| 314 |
build system instead of autotools. Many, many thanks to Amyspark and |
| 315 |
Centricular for doing and funding this massive work. |
| 316 |
|
| 317 |
With Meson, librsvg now builds a lot more reliably on Windows and |
| 318 |
MacOS. |
| 319 |
|
| 320 |
The Meson options for different compile-time configurations are |
| 321 |
documented in devel-docs/compiling.rst. |
| 322 |
|
| 323 |
Requirements for build tools: |
| 324 |
|
| 325 |
- Meson 1.2.0 or later |
| 326 |
- Rust 1.77.2 or later |
| 327 |
- cargo-c 0.9.19 or later (https://github.com/lu-zero/cargo-c) |
| 328 |
|
| 329 |
Summary of changes (see the release notes for the 2.58.9x releases for |
| 330 |
more details): |
| 331 |
|
| 332 |
- Librsvg now uses Meson instead of Autotools (Amyspark, Chun-wei Fan, |
| 333 |
Kleis Auke Wolthuizen, Jordan Petridis, Lovell Fuller, Nirbheek |
| 334 |
Chauhan). |
| 335 |
|
| 336 |
- There is a -Davif meson option to include support for AVIF in the |
| 337 |
image-rs crate, which librsvg uses to load raster images. See |
| 338 |
devel-docs/compiling.rst for details. (Jan Alexander Steffens) |
| 339 |
|
| 340 |
- #1061 - Librsvg now explicitly builds only its supported raster |
| 341 |
formats for image-rs: JPEG, PNG, GIF, WEBP, and optional |
| 342 |
compile-time support for AVIF (Kleis Auke Wolthuizen). Other raster |
| 343 |
image formats are not supported, to minimize the attack surface. |
| 344 |
Please file a bug if you need more formats. |
| 345 |
|
| 346 |
- #429 - Librsvg now supports cancellable rendering; you can start |
| 347 |
rendering an RsvgHandle in one thread, and stop it from another |
| 348 |
thread with a GCancellable. In the C API, you can use the |
| 349 |
rsvg_handle_set_cancellable_for_rendering() function; in the Rust |
| 350 |
API, CairoRenderer now has a with_cancellable() method. |
| 351 |
|
| 352 |
- #1089 - For Rust users, there is now a 'librsvg-rebind' crate that |
| 353 |
binds the C API for use from Rust. Internally this links to the |
| 354 |
system's librsvg shared library, in contrast with the 'librsvg' |
| 355 |
crate, which is statically linked and which has a native Rust API. |
| 356 |
The 'librsvg-rebind' crate is for cases where the additional code |
| 357 |
size from static linking is not desired. This librsvg-rebind crate |
| 358 |
is available from crates.io. (Sophie Herold). |
| 359 |
|
| 360 |
- A bunch of fixes to bugs found through fuzz testing. |
| 361 |
|
| 362 |
|
| 363 |
Version 2.58.94 |
| 364 |
=============== |
| 365 |
|
| 366 |
librsvg crate version 2.59.0-beta.3 |
| 367 |
|
| 368 |
This version has build fixes, and two fixes from fuzz testing. |
| 369 |
|
| 370 |
- #1107 - The minimum supported Rust version (MSRV) is 1.77.2. We |
| 371 |
rolled this back from 1.78.0 since that version has problems with |
| 372 |
Meson on Windows. |
| 373 |
|
| 374 |
- #1117 - Fix assertion failures with large Hue value in hsl() or |
| 375 |
hwb() colors. |
| 376 |
|
| 377 |
- #1115 - Limit the baseFrequency for feTurbulence to avoid integer |
| 378 |
overflow. |
| 379 |
|
| 380 |
- #1120 - Only make exported symbols visible in the library's binary |
| 381 |
(Amyspark). |
| 382 |
|
| 383 |
- !1003 - Fix the -Davif=enabled feature; it was not being handled |
| 384 |
correctly at compilation time. |
| 385 |
|
| 386 |
- !1013 - Ensure compatibility with Binutils < 2.39 (Kleis Auke |
| 387 |
Wolthuizen). |
| 388 |
|
| 389 |
- Build fixes for Windows (Nirbheek Chauhan, Chun-wei Fan, |
| 390 |
Christoph Reiter). |
| 391 |
|
| 392 |
|
| 393 |
Version 2.58.93 |
| 394 |
=============== |
| 395 |
|
| 396 |
librsvg crate version 2.59.0-beta.3 |
| 397 |
|
| 398 |
The minimum supported Rust version (MSRV) is 1.78.0. |
| 399 |
|
| 400 |
- #1089 - The source tree now has 'librsvg-rebind', a new Rust crate that |
| 401 |
binds the C API for use from Rust. Internally this links to the |
| 402 |
system's librsvg shared library, in contrast with the 'librsvg' |
| 403 |
crate, which is statically linked and which has a native Rust API. |
| 404 |
The 'librsvg-rebind' crate is for cases where the additional code |
| 405 |
size from static linking is not desired. We will publish the |
| 406 |
'librsvg-rebind' crate on crates.io shortly. (Sophie Herold). |
| 407 |
|
| 408 |
For example, glycin (the sandboxed image loading crate used by |
| 409 |
Loupe) now uses librsvg-rebind to shrink the code size of its imgae |
| 410 |
loaders. |
| 411 |
|
| 412 |
- Fix gdk-pixbuf dependency for gobject-introspection (Amyspark). |
| 413 |
|
| 414 |
- #1097 - Build fixes for MacOS and _getentropy (Amyspark). |
| 415 |
|
| 416 |
- #1084 - Build fixes for cross-compilation on WSL2 (Chun-wei Fan). |
| 417 |
|
| 418 |
- Update to Rust 1.78 (Jordan Petridis, Federico Mena Quintero). |
| 419 |
|
| 420 |
- Update gtk-rs (Bilal Elmoussaoui, Sophie Herold). |
| 421 |
|
| 422 |
- #1104 - More downstream tweaks for oss-fuzz (correctmost). |
| 423 |
|
| 424 |
|
| 425 |
Version 2.58.92 |
| 426 |
=============== |
| 427 |
|
| 428 |
librsvg crate version 2.59.0-beta.2 |
| 429 |
|
| 430 |
Librsvg is now part of Google's oss-fuzz and is fuzz-tested |
| 431 |
automatically - see |
| 432 |
https://gnome.pages.gitlab.gnome.org/librsvg/devel-docs/oss_fuzz.html |
| 433 |
for details. Many thanks to correctmost for doing this work and for |
| 434 |
keeping track of librsvg's entries in oss-fuzz. |
| 435 |
|
| 436 |
This release has two bug fixes from fuzz testing, and a new API call. |
| 437 |
|
| 438 |
- #1087 - Don't leak XML entities when the XML document fails to parse. |
| 439 |
|
| 440 |
- #1092 - Fix stack overflow in <use> reference cycle. |
| 441 |
|
| 442 |
- #429 - Librsvg now supports cancellable rendering; you can start |
| 443 |
rendering an RsvgHandle in one thread, and stop it from another |
| 444 |
thread with a GCancellable. In the C API, you can use the |
| 445 |
rsvg_handle_set_cancellable_for_rendering() function; in the Rust |
| 446 |
API, CairoRenderer now has a with_cancellable() method. |
| 447 |
|
| 448 |
- Many build fixes for Windows, MacOS, iOS, and cross-compilation |
| 449 |
(Amyspark, Guillaume Desmottes). |
| 450 |
|
| 451 |
- Continued refactoring for a render tree. |
| 452 |
|
| 453 |
- Many fixes to the documentation. |
| 454 |
|
| 455 |
|
| 456 |
Version 2.58.91 |
| 457 |
=============== |
| 458 |
|
| 459 |
librsvg crate version 2.59.0-beta.1 |
| 460 |
|
| 461 |
This is another early alpha release with more fixes to the Meson-based |
| 462 |
build system, to give time to distros to adjust their packaging scripts. |
| 463 |
|
| 464 |
One detail that I forgot to document in the last version: with the new |
| 465 |
Meson build system, the filename of the gdk-pixbuf loader module is |
| 466 |
libpixbufloader_svg.so, with an underscore, which is different from |
| 467 |
libpixbufloader-svg.so from the Autotools, which uses a hyphen. This |
| 468 |
filename is never actually used by people, and |
| 469 |
gdk-pixbuf-query-loaders will automatically detect it at installation |
| 470 |
time. Packaging scripts may need to be changed to use this filename. |
| 471 |
|
| 472 |
- Librsvg now requires cairo version 1.18.0 or later. |
| 473 |
|
| 474 |
- #1061 - Librsvg now explicitly builds only its supported raster |
| 475 |
formats for image-rs: JPEG, PNG, GIF, WEBP, and optional |
| 476 |
compile-time support for AVIF (Kleis Auke Wolthuizen). Other raster |
| 477 |
image formats are not supported, to minimize the attack surface. |
| 478 |
Please file a bug if you need more formats. |
| 479 |
|
| 480 |
- #1073 - Don't generate gdk-pixbuf loaders cache if DESTDIR is set |
| 481 |
(Jordan Petridis). |
| 482 |
|
| 483 |
- Documentation updates for meson (Kleis Auke Wolthuizen, Federico Mena). |
| 484 |
|
| 485 |
- #1080 - Document the fact that the default DPI in the C API for |
| 486 |
RsvgHandle is 90 DPI, unlike rsvg-convert and the Rust API, which use |
| 487 |
96 DPI. |
| 488 |
|
| 489 |
- #1078 - Document the security considerations for the image-rs crate |
| 490 |
and the raster image formats that librsvg supports. |
| 491 |
|
| 492 |
- Fix and fine-tune compilation on Windows (MSVC and msys2), MacOS, |
| 493 |
and Android (Amyspark, Chun-wei Fan). |
| 494 |
|
| 495 |
- Fix installation when only compiling the static library (Kleis Auke |
| 496 |
Wolthuizen). |
| 497 |
|
| 498 |
- #1063 - Update Pango for CI and fix a test file. The test suite now |
| 499 |
includes the DejaVu Sans font, which supports extra glyphs/languages |
| 500 |
for the test suite. |
| 501 |
|
| 502 |
Version 2.58.90 |
| 503 |
=============== |
| 504 |
|
| 505 |
librsvg crate version 2.59.0-beta.0 |
| 506 |
|
| 507 |
Thanks to Amyspark and Centricular, librsvg has been ported to the |
| 508 |
Meson build system. Librsvg no longer uses autotools! This is the |
| 509 |
first experimental/alpha release so that distributions can get their |
| 510 |
packaging scripts changed and report errors before the 2.59.0 release. |
| 511 |
|
| 512 |
In theory, librsvg should build like a normal meson-based project. |
| 513 |
See devel-docs/compiling.rst for details and documentation about the |
| 514 |
compile-time options available in meson_options.txt. |
| 515 |
|
| 516 |
Meson should let full builds of librsvg work reliably on Windows and |
| 517 |
MacOS, and to be integrated as a subproject in other meson-based |
| 518 |
projects. |
| 519 |
|
| 520 |
Requirements: |
| 521 |
|
| 522 |
- rustc 1.70.0 or later |
| 523 |
- cargo-cbuild 0.9.19 or later |
| 524 |
|
| 525 |
Changes in this release: |
| 526 |
|
| 527 |
- Librsvg now uses Meson instead of Autotools (Amyspark, Chun-wei Fan, |
| 528 |
Kleis Auke Wolthuizen). |
| 529 |
|
| 530 |
- There is a -Davif meson option to include support for AVIF in the |
| 531 |
image-rs crate, which librsvg uses to load raster images. See |
| 532 |
devel-docs/compiling.rst for details. (Jan Alexander Steffens) |
| 533 |
|
| 534 |
- Start revamping the fuzzing infrastructure (correctmost). |
| 535 |
|
| 536 |
Things that I would love people to test: |
| 537 |
|
| 538 |
- Do distros need to patch anything in the meson files? This should |
| 539 |
not be required; please file a bug if you find there is something missing. |
| 540 |
|
| 541 |
- Does the "cargo vendor" and source replacement machinery work? |
| 542 |
|
| 543 |
Special thanks to Amyspark, Chun-wei Fan, Jordan Petridis, Kleis Auke |
| 544 |
Wolthuizen, and Lovell Fuller for doing the hard work of mesonifying |
| 545 |
librsvg, and for their suggestions about build-time options. |
| 546 |
|
| 547 |
|
| 548 |
Version 2.58.0 |
| 549 |
============== |
| 550 |
|
| 551 |
librsvg crate version 2.58.0 |
| 552 |
|
| 553 |
The most significant change in this release is that librsvg no longer |
| 554 |
uses gdk-pixbuf for loading raster images (for eample, when there is |
| 555 |
an element <image href="foo.jpg"/>. All image loading uses Rust |
| 556 |
codecs now. Please see the release notes for 2.57.90 below for more |
| 557 |
details. |
| 558 |
|
| 559 |
Librsvg's gdk-pixbuf loader for SVG documents is unchanged; you can |
| 560 |
still load SVG files from gdk-pixbuf with it as usual. |
| 561 |
|
| 562 |
New features since 2.57.0 (for fine-grained bug fixes, please see the |
| 563 |
release notes for development releases): |
| 564 |
|
| 565 |
- #902 - Add basic support for "ch" length units in CSS (Mackenzie Morgan). |
| 566 |
|
| 567 |
- #997 - Support "var(--foo, #aabbcc)" just for colors. This is the |
| 568 |
minimum required to render color SVG emoji fonts that provide color |
| 569 |
fallbacks, but it is not yet full support for CSS var(). |
| 570 |
|
| 571 |
Fixes since the last development release: |
| 572 |
|
| 573 |
- #1062 - Limit numOctaves in feTurbulence to avoid unbounded CPU consumption. |
| 574 |
|
| 575 |
- #1064 - Don't panic when a :lang selector has an argument that is |
| 576 |
not a language-range (Lukáš Tyrychtr). |
| 577 |
|
| 578 |
Special thanks for this release cycle: |
| 579 |
|
| 580 |
- Thanks to correctmost for doing several rounds of fuzzing, and then |
| 581 |
found some interesting bugs! |
| 582 |
|
| 583 |
- Thanks to Jordan Petridis for adding CI jobs for testing on |
| 584 |
gnome-os's regular builds. |
| 585 |
|
| 586 |
- As usual, thanks to Chun-wei Fan for keeping the Windows builds |
| 587 |
going, and Bilal Elmoussaoui for updating gtk-rs crates. |
| 588 |
|
| 589 |
Version 2.57.92 |
| 590 |
=============== |
| 591 |
|
| 592 |
librsvg crate version 2.58.0-beta.2 |
| 593 |
|
| 594 |
- #1059 - Don't panic when rendering feOffset with a too-large offset. |
| 595 |
|
| 596 |
- #1060 - Don't panic when a decoded image has dimensions of zero. |
| 597 |
|
| 598 |
Version 2.57.91 |
| 599 |
=============== |
| 600 |
|
| 601 |
- #943 - Rsvg-convert now prints a helpful message if you run it |
| 602 |
without arguments, to indicate that it is reading from standard |
| 603 |
input. |
| 604 |
|
| 605 |
- #902 - Take text orientation into account for 'ch' units |
| 606 |
(Mackenzie Morgan). |
| 607 |
|
| 608 |
- For Rust programs, the rsvg crate no longer depends on gdk-pixbuf. |
| 609 |
Hopefully this means that your Rust programs will have to link to |
| 610 |
one fewer library. |
| 611 |
|
| 612 |
- The C enumeration RsvgUnit now has a RSVG_UNIT_CH variant for "ch" |
| 613 |
units. However, this is only used for reporting the size of SVG |
| 614 |
documents, which should very seldom come in "ch" units. |
| 615 |
|
| 616 |
- #1055 - Fix unsoundness in the use of the selectors crate. |
| 617 |
|
| 618 |
- Update gtk-rs crates (Bilal Elmoussaoui). |
| 619 |
|
| 620 |
Version 2.57.90 |
| 621 |
=============== |
| 622 |
|
| 623 |
librsvg crate version 2.58.0-beta.0 |
| 624 |
|
| 625 |
- Librsvg no longer uses gdk-pixbuf for loading raster images; all |
| 626 |
image loading uses Rust code now. Older versions of librsvg would |
| 627 |
use the traditional libpng and libjpeg-turbo libraries, and |
| 628 |
gdk-pixbuf's own GIF decoder. Starting with this version of |
| 629 |
librsvg, it only uses Rust crates for image codecs. |
| 630 |
|
| 631 |
In addition, librsvg will no longer accept any arbitrary image |
| 632 |
format that gdk-pixbuf happens to support: the only supported |
| 633 |
formats for the <image> element are PNG, JPEG, GIF, WEBP, and SVG. |
| 634 |
(The SVG2 specification only mandates PNG and JPEG.) |
| 635 |
|
| 636 |
The reasons for using Rust image loaders are as follows: |
| 637 |
|
| 638 |
- Reduce the attack surface from memory-unsafe libraries. While |
| 639 |
libpng/libjpeg-turbo are very well tested and extensively fuzzed, |
| 640 |
other gdk-pixbuf loaders are not as well tested. Switching to |
| 641 |
memory-safe code sounds like a better idea for the future. |
| 642 |
|
| 643 |
- Make using librsvg easier on Windows and MacOS, where installing |
| 644 |
gdk-pixbuf is somewhat tricky. |
| 645 |
|
| 646 |
- Give a chance to the Rust image codecs to improve by having more |
| 647 |
people test them from a widely-used code base like librsvg. GNOME |
| 648 |
has already uses the Rust image crates in the Loupe image viewer, |
| 649 |
and this has led to fixes in the image crates. |
| 650 |
|
| 651 |
- Support SVG2 semantics for referencing other SVG documents in an |
| 652 |
<image> element. For historical reasons, librsvg just used |
| 653 |
gdk-pixbuf to recurse into itself in that case. Now it handles |
| 654 |
SVG sub-images directly. |
| 655 |
|
| 656 |
The normal SVG loader for gdk-pixbuf that librsvg installs is |
| 657 |
unchanged; you can still load SVG images with gdk-pixbuf as usual. |
| 658 |
|
| 659 |
The refactoring to load images directly in Rust is based on |
| 660 |
Emile Snyder's work from some months ago. |
| 661 |
|
| 662 |
- #902 - Add basic support for "ch" length units in CSS (Mackenzie Morgan). |
| 663 |
|
| 664 |
- #1019 - Fix small-caps and bump the version of Pango required to 1.50.0. |
| 665 |
|
| 666 |
- #1037 - Handle the case where Cairo returns an empty rectangle for a |
| 667 |
filled object's bounding box (Henrik Nilsson). |
| 668 |
|
| 669 |
- #1026 - Fix panic when using negative scaling transforms on the |
| 670 |
toplevel (WhyHelloThere). |
| 671 |
|
| 672 |
- #997 - Support "var(--foo, #aabbcc)" just for colors. This is the |
| 673 |
minimum required to render color SVG emoji fonts that provide color |
| 674 |
fallbacks, but it is not yet full support for CSS var(). |
| 675 |
|
| 676 |
- Fix Windows and MacOS builds with respectg to Fontconfig (Alessandro Bono). |
| 677 |
|
| 678 |
- Fix the VS2017 build (Chun-wei Fan). |
| 679 |
|
| 680 |
- Update cairo-rs (Guillaume Gomez). |
| 681 |
|
| 682 |
- Update the project metadata files (Andre Klapper). |
| 683 |
|
| 684 |
|
| 685 |
Version 2.57.0 |
| 686 |
============== |
| 687 |
|
| 688 |
librsvg crate version 2.57.0 |
| 689 |
|
| 690 |
This is the first stable version of librsvg to be available as a |
| 691 |
Rust crate in crates.io. Please see the documentaiton at |
| 692 |
https://gnome.pages.gitlab.gnome.org/librsvg/doc/rsvg/index.html |
| 693 |
|
| 694 |
This version of librsvg corresponds to the GNOME 45 release. |
| 695 |
|
| 696 |
These are some user-visible new features since 2.56. For details, |
| 697 |
look at the release notes from the 2.56.9x development series: |
| 698 |
|
| 699 |
- rsvg-convert can now output PDF versions 1.4, 1.5, 1.6, in addition |
| 700 |
to the default 1.7, especially for LaTeX users. See the |
| 701 |
rsvg-convert(1) man page for options like --format=pdf1.4 (Simon Buttgereit). |
| 702 |
|
| 703 |
- #985 - Support the image-rendering property (nedondev). |
| 704 |
|
| 705 |
- #989 - For consistency with other command-line tools, rsvg-convert |
| 706 |
now supports an argument "-" to specify the standard input. This is |
| 707 |
in addition to the already-supported syntax of not specifying an |
| 708 |
input file at all (Lukáš Tyrychtr). |
| 709 |
|
| 710 |
- Partial support for the edgeMode attribute in feGaussianBlur, only |
| 711 |
for small blurs right now. |
| 712 |
|
| 713 |
- The minimum supported Rust version (MSRV) is 1.70.0. |
| 714 |
|
| 715 |
|
| 716 |
Version 2.56.93 |
| 717 |
=============== |
| 718 |
|
| 719 |
librsvg crate version 2.57.0-beta.3 |
| 720 |
|
| 721 |
- #1009 - Fix rsvg-convert man page about overriding styles with |
| 722 |
!important in an external stylesheet. |
| 723 |
|
| 724 |
- #1008 - Clean up the documentation for the Rust API. |
| 725 |
|
| 726 |
- #1012 - RenderingError::InvalidTransform no longer exists; this was |
| 727 |
not meant to be an error that surfaces to the public API. |
| 728 |
|
| 729 |
- Update cssparser and selectors crates (Lukáš Tyrychtr, Federico Mena). |
| 730 |
|
| 731 |
- Remove unnecessary dependencies (Uli Schlachter). |
| 732 |
|
| 733 |
Version 2.56.92 |
| 734 |
=============== |
| 735 |
|
| 736 |
librsvg crate version 2.57.0-beta.2 |
| 737 |
|
| 738 |
- #991 - Fix the build for aarch64. |
| 739 |
|
| 740 |
- More extensive logging for filter primitives. |
| 741 |
|
| 742 |
- Update gtk-rs-core to 0.18 (Bilal Elmoussaoui). |
| 743 |
|
| 744 |
- Update dependencies (Sophie Herold, Kalev Lember). |
| 745 |
|
| 746 |
- Include license text in packaged crates (Davide Cavalca). |
| 747 |
|
| 748 |
- The minimum supported Rust version (MSRV) is 1.70.0, due to the gtk-rs-core update. |
| 749 |
|
| 750 |
Version 2.56.91 |
| 751 |
=============== |
| 752 |
|
| 753 |
This is a security release for bug #996. |
| 754 |
|
| 755 |
- #996 - Fix arbitrary file read when href has special characters. |
| 756 |
|
| 757 |
- #998 - Fix cascade for symbol elements being referenced from use elements. |
| 758 |
|
| 759 |
- rsvg-convert can now output PDF versions 1.4, 1.5, 1.6, in addition |
| 760 |
to the default 1.7, especially for LaTeX users. See the |
| 761 |
rsvg-convert(1) man page for options like --format=pdf1.4 (Simon Buttgereit). |
| 762 |
|
| 763 |
- #664 - Rename the Rust crate to "rsvg", in preparation for crates.io |
| 764 |
(Sophie Herold). |
| 765 |
|
| 766 |
- The minimum supported Rust version (MSRV) is 1.66.0. |
| 767 |
|
| 768 |
Version 2.56.90 |
| 769 |
=============== |
| 770 |
|
| 771 |
This version of librsvg depends on Cairo 1.17.0 or later, to make it |
| 772 |
more reliable on Windows. Also, that version of Cairo fixes a lot of |
| 773 |
crashers when using out-of-bounds coordinates in paths. |
| 774 |
|
| 775 |
- #985 - Support the image-rendering property (nedondev). |
| 776 |
|
| 777 |
- #989 - For consistency with other command-line tools, rsvg-convert |
| 778 |
now supports an argument "-" to specify the standard input. This is |
| 779 |
in addition to the already-supported syntax of not specifying an |
| 780 |
input file at all (Lukáš Tyrychtr). |
| 781 |
|
| 782 |
- #965 - Shrink the shared library by telling the linker to omit unused |
| 783 |
code (Sebastian Dröge). |
| 784 |
|
| 785 |
- #950 - Massive reorganization of the source tree. With this, Rust |
| 786 |
programs like Loupe can avoid including the dependencies that |
| 787 |
librsvg only uses for rsvg-convert (Sophie Herold, Federico Mena |
| 788 |
Quintero, Chun-wei Fan, Michael Catanzaro, Abderrahim Kitouni). |
| 789 |
|
| 790 |
- Partial support for the edgeMode attribute in feGaussianBlur, only |
| 791 |
for small blurs right now. |
| 792 |
|
| 793 |
- Update dependencies (Lukáš Tyrychtr, Kalev Lember)). |
| 794 |
|
| 795 |
- Librsvg now runs its CI on Windows with MSVC!!! (Chun-wei Fan). |
| 796 |
|
| 797 |
- Lots of build fixes for Windows (Chun-wei Fan, Kleis Auke Wolthuizen). |
| 798 |
|
| 799 |
- Lots of internal refactoring to allow fixing long-standing bugs. |
| 800 |
Nothing is user-visible yet. |
| 801 |
|
| 802 |
- #966 - Fix a bunch of broken links in the documentation; we have a link |
| 803 |
checker now for the development guide. |
| 804 |
|
| 805 |
Special thanks to Sophie Herold for jumpstarting the source |
| 806 |
reorganization, and Chun-wei Fan for being patient with Windows build |
| 807 |
problems and for actually implementing CI for MSVC. |
| 808 |
|
| 809 |
Version 2.56.0 |
| 810 |
============== |
| 811 |
|
| 812 |
- #942: Fix crash when XML files get recursively included through |
| 813 |
XInclude. Thanks to Stefan Schiller for catching this. |
| 814 |
|
| 815 |
- When running the suite of reference tests, you can now use the |
| 816 |
TESTS_OUTPUT_DIR environment variable to specify where results for |
| 817 |
failures get written. See tests/README.md for details. |
| 818 |
|
| 819 |
- The minimum supported Rust version (MSRV) is 1.64. |
| 820 |
|
| 821 |
Version 2.55.92 |
| 822 |
=============== |
| 823 |
|
| 824 |
- #925 - Update to cssparser 0.29.6; this adds support for hwb() color |
| 825 |
syntax, from the CSS Color Module Level 4 spec |
| 826 |
(https://drafts.csswg.org/css-color-4/#changes). Note that values |
| 827 |
inside hwb() are *not* comma-separated, just whitespace. |
| 828 |
|
| 829 |
- #932 - Fix panic when a requested font-size is too big. |
| 830 |
|
| 831 |
- #930 - Validate all clipPath and mask transforms. |
| 832 |
|
| 833 |
- Add a performance tracking framework. This is part of an Outreachy |
| 834 |
internship (Neetu Mehta). |
| 835 |
|
| 836 |
- Slight improvements in the size of generated code and memory consumption. |
| 837 |
|
| 838 |
- The Rust crate is now called "rsvg", for consistency with other |
| 839 |
crates that don't usually have a "lib" prefix. |
| 840 |
|
| 841 |
- The Rust API documentation is now available at |
| 842 |
https://gnome.pages.gitlab.gnome.org/librsvg/doc/rsvg/index.html |
| 843 |
|
| 844 |
Version 2.55.91 |
| 845 |
=============== |
| 846 |
|
| 847 |
The minimum supported Rust version (MSRV) is 1.64, because of the gtk-rs update. |
| 848 |
|
| 849 |
- #929 - Support "turn" unit for CSS <angle> values (Khadija Kamran). |
| 850 |
|
| 851 |
- #743 - Support the feDropShadow element (John Ledbetter, Federico Mena). |
| 852 |
|
| 853 |
- #928 - Fix panic when a feTile filter gets an empty source region. |
| 854 |
|
| 855 |
- Update to gtk-rs 0.17.0 (Bilal Elmoussaoui). |
| 856 |
|
| 857 |
- Simplify the NMake Makefiles for Windows; see win32/MSVC-Builds.md |
| 858 |
for details (Chun-wei Fan). |
| 859 |
|
| 860 |
- Documentation and infrastructure updates (Andre Klapper, Violet Holland). |
| 861 |
|
| 862 |
- Consolidate the scattered .md documents into the Development Guide. |
| 863 |
Updated links throughout. |
| 864 |
(https://gnome.pages.gitlab.gnome.org/librsvg/devel-docs/index.html) |
| 865 |
|
| 866 |
- Internal refactoring of the test suite. |
| 867 |
|
| 868 |
- Updated dependencies to avoid duplicated crates. |
| 869 |
|
| 870 |
Version 2.55.90 |
| 871 |
=============== |
| 872 |
|
| 873 |
The minimum supported Rust version (MSRV) is 1.63. |
| 874 |
|
| 875 |
- #878 - rsvg-convert now supports Tab completion for bash, elvish, |
| 876 |
fish, powershell, and zsh. Please run "rsvg-convert --completion bash" |
| 877 |
to generate the completion file. You can use the other shells' names |
| 878 |
as an argument to the --completion option. (Marcos Simental) |
| 879 |
|
| 880 |
- #885 - Support vector-effect="non-scaling-stroke" for paths (Michael Howell). |
| 881 |
|
| 882 |
- #875 - Apply width, height when `<use>`ing an `<svg>` (Michael Howell). |
| 883 |
|
| 884 |
- There is a new development guide for librsvg, for people who want to |
| 885 |
help in its development. I hope this will be especially useful to |
| 886 |
Outreachy and Summer of Code interns: |
| 887 |
https://gnome.pages.gitlab.gnome.org/librsvg/devel-docs/index.html |
| 888 |
|
| 889 |
- #92 - In the use element, honor the overflow:hidden property of a |
| 890 |
referenced symbol. |
| 891 |
|
| 892 |
- #737 - Treat property and attribute parse errors / invalid values as |
| 893 |
if they were not present, per the specs. Previously this would |
| 894 |
cause the offending element's subtree to not be rendered. |
| 895 |
|
| 896 |
- #913 - Make feGaussianBlur work as a pass-through filter if the stdDeviation is invalid. |
| 897 |
|
| 898 |
- Define missing crate metadata for Cargo.toml (Guillaume Desmottes). |
| 899 |
|
| 900 |
- Add some tests that were missing for the C API. |
| 901 |
|
| 902 |
- Fix the basic test suite in Windows. |
| 903 |
|
| 904 |
- Miscellaneous fixes for the build and CI (Jürg Billeter). |
| 905 |
|
| 906 |
- Plenty of internal refactoring to enable more consistent logging. |
| 907 |
|
| 908 |
- Slight reductions in memory consumption for elements with |
| 909 |
context-stroke and context-fill. |
| 910 |
|
| 911 |
- Experimental gdk-pixbuf loader in Rust (Alberto Ruiz). This is not |
| 912 |
installed yet. |
| 913 |
|
| 914 |
- Update the gtk-rs crates to 0.16.0 (Bilal Elmoussaoui). |
| 915 |
|
| 916 |
- Port rsvg-convert's argument parsing to the clap4 crate (Lukáš Tyrychtr). |
| 917 |
|
| 918 |
- Updates to the dependencies (Kalev Lember, Christoph Reiter, Jordan Petridis). |
| 919 |
|
| 920 |
- The CI now has a cargo-deny step, which should help us notice when |
| 921 |
there are security advisories for dependencies (Neetu Mehta). |
| 922 |
|
| 923 |
Version 2.55.2 |
| 924 |
============== |
| 925 |
|
| 926 |
- #942: Fix crash when XML files get recursively included through |
| 927 |
XInclude. Thanks to Stefan Schiller for catching this. |
| 928 |
|
| 929 |
- The Minimum Supported Rust Version (MSRV) is now Rust 1.60. Several |
| 930 |
dependencies have bumped their MSRV on their own, unfortunately. |
| 931 |
|
| 932 |
Version 2.55.1 |
| 933 |
============== |
| 934 |
|
| 935 |
As an experiment, I'll move librsvg from even-odd versioning (odd |
| 936 |
minor version is unstable, even minor version is stable), to the |
| 937 |
versioning scheme that GNOME uses these days. So, 2.55.x is the new |
| 938 |
stable series. |
| 939 |
|
| 940 |
* There is a new development guide for librsvg, for people who want to |
| 941 |
help in its development. I hope this will be especially useful to |
| 942 |
Outreachy and Summer of Code interns: |
| 943 |
https://gnome.pages.gitlab.gnome.org/librsvg/devel-docs/index.html |
| 944 |
|
| 945 |
* Define missing crate metadata for Cargo.toml (Guillaume Desmottes). |
| 946 |
|
| 947 |
* Add some tests that were missing for the C API. |
| 948 |
|
| 949 |
* Fix the basic test suite in Windows. |
| 950 |
|
| 951 |
* Miscellaneous fixes for the build and CI (Jürg Billeter). |
| 952 |
|
| 953 |
Version 2.55.0-alpha |
| 954 |
==================== |
| 955 |
|
| 956 |
This is the first release in the new development series. |
| 957 |
|
| 958 |
- The Minimum Supported Rust Version (MSRV) is now Rust 1.58. |
| 959 |
|
| 960 |
- #855: The release tarball no longer contains vendored Rust |
| 961 |
dependencies. Most distributions now have infrastructure to pull |
| 962 |
these themselves, so let's make the tarball smaller. |
| 963 |
|
| 964 |
- #880 - Accept patterns with userSpaceOnUse units for the stroke of |
| 965 |
axis-aligned lines. |
| 966 |
|
| 967 |
- #706: Small reductions in memory consumption of the DOM tree |
| 968 |
(Michael Howell). |
| 969 |
|
| 970 |
- Updates for the gtk-rs API (Bilal Elmoussaoui). |
| 971 |
|
| 972 |
Version 2.54.4 |
| 973 |
============== |
| 974 |
|
| 975 |
- #817 - Support CSS Color 4 syntax for `<alpha-value>`. Opacities |
| 976 |
can be specified as numbers or percentages now, e.g. `0.5` or `50%` |
| 977 |
(Michael Howell). |
| 978 |
|
| 979 |
- #870 - Roll back minimum required version of Pango to 1.46.0 |
| 980 |
(Kleis Auke Wolthuizen). |
| 981 |
|
| 982 |
- #867 - Fix Windows NMake install when documentation is not built. |
| 983 |
(Peter Williams). |
| 984 |
|
| 985 |
Version 2.54.3 |
| 986 |
============== |
| 987 |
|
| 988 |
- #866 - Fix detection of gi-docgen (David King, Jan Alexander Steffens). |
| 989 |
|
| 990 |
- Install the generated documentation in the correct place so that |
| 991 |
Devhelp can find it (thanks to Jan Tojnar for pointing this out). |
| 992 |
|
| 993 |
Version 2.54.2 |
| 994 |
============== |
| 995 |
|
| 996 |
- #823 - Fix regressions when computing element geometries. |
| 997 |
|
| 998 |
- Add a --disable-gtk-doc option for the configure script, so people |
| 999 |
can disable generating documentation for cross-compiling (Matt |
| 1000 |
Turner). |
| 1001 |
|
| 1002 |
- MSVC: Support generating documentation, and passing introspection |
| 1003 |
paths (Chun-wei Fan) |
| 1004 |
|
| 1005 |
Version 2.54.1 |
| 1006 |
============== |
| 1007 |
|
| 1008 |
This release just has some build-time fixes. |
| 1009 |
|
| 1010 |
- Fix oversight in the Minimum Supported Rust Version (MSRV) - this |
| 1011 |
release requires Rust 1.56 or later. This has been true since |
| 1012 |
librsvg 2.53.1, but it was not checked correctly. (Matt Turner) |
| 1013 |
|
| 1014 |
- #859 - Make rst2man and gi-docgen optional. (Kleis Auke Wolthuizen) |
| 1015 |
|
| 1016 |
- #856 - Fix documentation comments. |
| 1017 |
|
| 1018 |
Version 2.54.0 |
| 1019 |
============== |
| 1020 |
|
| 1021 |
This is a summary of the 2.53.x release notes; you can also read them |
| 1022 |
for more detail. Not many new features; we've been working on |
| 1023 |
infrastructure and documentation. |
| 1024 |
|
| 1025 |
- Librsvg now supports SVG2 geometry properties for these elements: |
| 1026 |
rect, circle, ellipse, image, svg (Jeremias Ortega). |
| 1027 |
|
| 1028 |
- #721 - Catch circular references when rendering patterns. |
| 1029 |
|
| 1030 |
- The C API documentation now uses gi-docgen instead of gtk-doc. |
| 1031 |
Rsvg-convert's man page is now converted to reStructuredText instead |
| 1032 |
of troff. |
| 1033 |
|
| 1034 |
- The "Recommendations for applications" chapter in the documentation |
| 1035 |
is much improved! |
| 1036 |
|
| 1037 |
Version 2.53.2 |
| 1038 |
============== |
| 1039 |
|
| 1040 |
- #851 - Output filled text as text for PDF; fixes regression due to |
| 1041 |
outputting all text as paths. |
| 1042 |
|
| 1043 |
- Fix taller-than-wide proportional scaling and size limiting in |
| 1044 |
rsvg-convert. |
| 1045 |
|
| 1046 |
- #772, #773, #774, #775, #776 - Implement SVG2 geometry properties |
| 1047 |
for these elements: rect, circle, ellipse, image, svg (Jeremias |
| 1048 |
Ortega). |
| 1049 |
|
| 1050 |
- #450 - Fix potential unaligned accesses in surface iterators |
| 1051 |
(Michael Howell). |
| 1052 |
|
| 1053 |
- Actually use GDK_PIXBUF_MODULEDIR when calling |
| 1054 |
gdk-pixbuf-query-loaders (Fabrice Fontaine). |
| 1055 |
|
| 1056 |
- Windows build fixes (Chun-wei Fan). |
| 1057 |
|
| 1058 |
- Add links to functions and types throughout the C API documentation. |
| 1059 |
|
| 1060 |
Version 2.53.1 |
| 1061 |
============== |
| 1062 |
|
| 1063 |
While it is not a user-visible change, Jordan Petridis has ported |
| 1064 |
librsvg's Continuous Integration (CI) infrastructure to use |
| 1065 |
Freedesktop CI Templates. This lets us test librsvg easily on |
| 1066 |
different environments. If you want your environment tested, now is |
| 1067 |
the time to add it! |
| 1068 |
|
| 1069 |
- #599 - Fix incorrect text rendering when text has different scales |
| 1070 |
in the X/Y axes. This regressed after librsvg 2.52.5, when Pango |
| 1071 |
had to revert its fix for the same bug. Now librsvg renders all |
| 1072 |
text as paths, and does the scaling itself. Please file a bug if |
| 1073 |
you have evidence that this presents a performance problem for you. |
| 1074 |
|
| 1075 |
- Update to the latest gtk-rs release (Bilal Elmoussaoui). |
| 1076 |
|
| 1077 |
- Port to Freedesktop CI Templates (Jordan Petridis). |
| 1078 |
|
| 1079 |
- Visual Studio builds can work from a git checkout now (Chun-wei Fan) |
| 1080 |
|
| 1081 |
- Windows build fixes (Martin Hertz, Chun-wei Fan) |
| 1082 |
|
| 1083 |
Version 2.53.0 |
| 1084 |
============== |
| 1085 |
|
| 1086 |
This is the first release in the new development series. There are no |
| 1087 |
new features, just changes to how the documentation is built. |
| 1088 |
|
| 1089 |
The man page for rsvg-convert is now generated from a reStructuredText |
| 1090 |
document, and the C API reference is generated using gi-docgen. |
| 1091 |
|
| 1092 |
Please make sure you install python3-docutils (for rst2man) and |
| 1093 |
gi-docgen before compiling librsvg from a tarball. |
| 1094 |
|
| 1095 |
- #755 - rsvg-convert's man page is now generated from reStructuredText. |
| 1096 |
|
| 1097 |
- #827 - Move C API reference to gi-docgen. |
| 1098 |
|
| 1099 |
- Test suite updates (Michael Howell). |
| 1100 |
|
| 1101 |
- Link against bcrypt for Visual Studio builds (Martin Hertz). |
| 1102 |
|
| 1103 |
Version 2.52.5 |
| 1104 |
============== |
| 1105 |
|
| 1106 |
Just bugfixes this time: |
| 1107 |
|
| 1108 |
- #812 - Fix mangled output in rsvg-convert when redirecting output to |
| 1109 |
a pipe on Windows (Michael Howell). |
| 1110 |
|
| 1111 |
- #766 - When outputting to SVG, rsvg-convert now uses the |
| 1112 |
width/height units specified in the command line; it always used |
| 1113 |
pixels before (Daniel Petri Rocha). |
| 1114 |
|
| 1115 |
- #814 - Fix incorrect top/left margins for SVG/PS/EPS/PDF output |
| 1116 |
(Daniel Petri Rocha). |
| 1117 |
|
| 1118 |
- #599 - Fix incorrect placement of glyphs when text has non-uniform |
| 1119 |
scaling in the X/Y axes. This is not a librsvg bug, but is fixed by |
| 1120 |
Pango 1.49.3 and later. Hopefully Pango 1.48.11 will be released |
| 1121 |
soon with this fix as well. Note that this release of librsvg |
| 1122 |
cannot increase the minimum Pango version to 1.48.11 because it is |
| 1123 |
not released yet. |
| 1124 |
|
| 1125 |
Miscellaneous: |
| 1126 |
|
| 1127 |
- Updated crate dependencies: assert_cmd, cast, clap cssparser, |
| 1128 |
float-cmp, itertools, nalgebra, png, proptest, rctree, selectors, |
| 1129 |
system-deps. |
| 1130 |
|
| 1131 |
Version 2.52.4 |
| 1132 |
============== |
| 1133 |
|
| 1134 |
New features: |
| 1135 |
|
| 1136 |
- #816 - Support the isolation property from the Compositing and |
| 1137 |
Blending Level 1 specification. |
| 1138 |
|
| 1139 |
- Support Visual Studio 2022 (Chun-wei Fan). |
| 1140 |
|
| 1141 |
Fixes: |
| 1142 |
|
| 1143 |
- #818 - The opacity and mix-blend-mode properties were not being |
| 1144 |
applied when an element has a mask. |
| 1145 |
|
| 1146 |
- Fix panic when an empty group has a pattern fill and filters. |
| 1147 |
|
| 1148 |
- Fix the tests on Windows; the still only work when Fontconfig is |
| 1149 |
present (Chun-wei Fan). |
| 1150 |
|
| 1151 |
- Work around a bug in the cairo-rs bindings in the test suite, that |
| 1152 |
only manifests itself in s/390x due to its calling convention. See |
| 1153 |
https://github.com/gtk-rs/gtk-rs-core/issues/335 |
| 1154 |
|
| 1155 |
Version 2.52.3 |
| 1156 |
============== |
| 1157 |
|
| 1158 |
Bugfixes, mostly for text layout. Also, text links in PDF! |
| 1159 |
|
| 1160 |
- #17 - Support text-decoration=overline. |
| 1161 |
|
| 1162 |
- #249 - Basic support for the unicode-bidi property. Librsvg still |
| 1163 |
considers each tspan independently of others, which is incorrect, but |
| 1164 |
at least bidi-override works now for a single embedding level. |
| 1165 |
|
| 1166 |
- #804 - Fix placement of tspan that changes the text direction. |
| 1167 |
|
| 1168 |
- #805 - :lang() selector should now match lang attribute from an |
| 1169 |
element's parent. (Michael Howell) |
| 1170 |
|
| 1171 |
- #806 - Fix the text-anchor property for right-to-left text. |
| 1172 |
|
| 1173 |
- #807 - PDF now includes links inside text elements. (Michael Howell) |
| 1174 |
|
| 1175 |
Version 2.52.2 |
| 1176 |
============== |
| 1177 |
|
| 1178 |
Bugfixes and new features! |
| 1179 |
|
| 1180 |
## New features |
| 1181 |
|
| 1182 |
Thanks to Michael Howell, rsvg-convert now supports generating |
| 1183 |
multi-page PDFs in a sensible way. |
| 1184 |
|
| 1185 |
With one SVG document per page, each page with the |
| 1186 |
SVG's natural size: |
| 1187 |
|
| 1188 |
rsvg-convert --format=pdf -o out.pdf a.svg b.svg c.svg |
| 1189 |
|
| 1190 |
With all pages sized as portrait US Letter, and each SVG scaled to fit |
| 1191 |
so that there is a 1in margin around each page: |
| 1192 |
|
| 1193 |
rsvg-convert --format=pdf -o out.pdf \ |
| 1194 |
--page-width=8.5in --page-height=11in \ |
| 1195 |
--width=6.5in --height=8.5in --keep-aspect-ratio \ |
| 1196 |
--top=1in --left=1in \ |
| 1197 |
a.svg b.svg c.svg |
| 1198 |
|
| 1199 |
Please see the man page for details. |
| 1200 |
|
| 1201 |
- #738 - Support <a> elements inside <text>. Also, support the CSS :link |
| 1202 |
pseudo-class for matching against links. (Michael Howell) |
| 1203 |
|
| 1204 |
- #649 - Support the CSS :lang() pseudo-class for matching against an |
| 1205 |
element's xml:lang attribute. (Michael Howell) |
| 1206 |
|
| 1207 |
- #790 - Support the mask-type property from SVG2. |
| 1208 |
|
| 1209 |
## Fixes |
| 1210 |
|
| 1211 |
- #800 - Don't panic when a shorthand property is set to |
| 1212 |
inherit. (Michael Howell) |
| 1213 |
|
| 1214 |
- #788 - Fix regression with the viewport size of interior <svg> |
| 1215 |
elements. (Michael Howell) |
| 1216 |
|
| 1217 |
- #731 - Allow length units to be case-insensitive, per SVG2. (Kolja Lampe) |
| 1218 |
|
| 1219 |
## Documentation |
| 1220 |
|
| 1221 |
- There is now a FEATURES.md in the repository, where you can see all |
| 1222 |
the elements, attributes, and properties that librsvg supports. We |
| 1223 |
will be adding detail to this gradually. |
| 1224 |
|
| 1225 |
- For developers, there is now devel-docs/adding-a-property.md with a |
| 1226 |
tutorial on how to add support for new CSS properties. |
| 1227 |
|
| 1228 |
Version 2.52.1 |
| 1229 |
============== |
| 1230 |
|
| 1231 |
This is a bugfix release; there are no new features this time. |
| 1232 |
|
| 1233 |
## Changes: |
| 1234 |
|
| 1235 |
- #791 - Fix ordering of tspan inside text elements for right-to-left |
| 1236 |
languages. |
| 1237 |
|
| 1238 |
- #789 - Fix text-anchor positioning for right-to-left languages. |
| 1239 |
|
| 1240 |
- #797 - Fix regression in computing sizes when an SVG has only one of |
| 1241 |
width/height and a viewBox. Thanks to Joshua Fogg for compiling a |
| 1242 |
list of test cases for this. |
| 1243 |
|
| 1244 |
- #565 - Spec compliance - the writing-mode property applies only to |
| 1245 |
text elements, no to individual tspan elements. |
| 1246 |
|
| 1247 |
- #794 - Fix build on big-endian platforms. |
| 1248 |
|
| 1249 |
- Clarify documentation for the rsvg_handle_write() / |
| 1250 |
rsvg_handle_close() deprecated APIs. |
| 1251 |
|
| 1252 |
Version 2.52.0 |
| 1253 |
============== |
| 1254 |
|
| 1255 |
This is a big release! What follows is a summary from the 2.51.x |
| 1256 |
release notes; you can also read them for more detail. |
| 1257 |
|
| 1258 |
The biggest user-visible change is that rsvg-convert has been ported |
| 1259 |
to Rust (Sven Neumann, Paolo Borelli), and it has new features! |
| 1260 |
|
| 1261 |
## New features in rsvg-convert |
| 1262 |
|
| 1263 |
### Support for physical units |
| 1264 |
|
| 1265 |
rsvg-convert is now aware of physical units, and |
| 1266 |
fixes a bug where PDFs were created at the wrong size. Do you need to |
| 1267 |
render an SVG in a PDF file, scaled to 10x10 cm, placed at a certain |
| 1268 |
position of a landscape A4 page? |
| 1269 |
|
| 1270 |
rsvg-convert --format=pdf \ |
| 1271 |
--page-width=297mm --page-height=210mm \ |
| 1272 |
--width=10cm --height=10cm --keep-aspect-ratio \ |
| 1273 |
--top=5cm --left=8cm \ |
| 1274 |
foo.svg > foo.pdf |
| 1275 |
|
| 1276 |
Please see the rsvg-convert(1) man page for more details and plenty of |
| 1277 |
examples. |
| 1278 |
|
| 1279 |
### Support for Accept-Language |
| 1280 |
|
| 1281 |
Previously, librsvg picked up the user's language preferences through |
| 1282 |
environment variables like LANG and LC_MESSAGES. This is inconvenient |
| 1283 |
for applications that call rsvg-convert but don't want to synthesize a |
| 1284 |
LANG variable. |
| 1285 |
|
| 1286 |
There is a new option in rsvg-convert so you can pass |
| 1287 |
--accept-language=<languages> formatted as an HTTP Accept-Language |
| 1288 |
header. This is used to specify which languages will be chosen from |
| 1289 |
elements with the "systemLanguage" attribute: |
| 1290 |
|
| 1291 |
rsvg-convert --accept-language=es-MX,en foo.svg |
| 1292 |
|
| 1293 |
That command will select Mexican Spanish and English from suitable SVG |
| 1294 |
elements. Please see the man page for details. |
| 1295 |
|
| 1296 |
### Miscellaneous |
| 1297 |
|
| 1298 |
rsvg-convert's default DPI is now 96, to better match W3C |
| 1299 |
standards. It was 90 before for historical reasons. We can change |
| 1300 |
this back to 90 if it breaks too many scripts. You can use the |
| 1301 |
options "--dpi-x=90 --dpi-y=90" to restore the old behavior. |
| 1302 |
|
| 1303 |
rsvg-convert no longer supports the "xml" or "recording" output |
| 1304 |
formats. These are useful only for debugging Cairo, not for general |
| 1305 |
usage. |
| 1306 |
|
| 1307 |
## SVG2/CSS3 features |
| 1308 |
|
| 1309 |
The following features are supported now. Madds H, John Ledbetter, |
| 1310 |
worked on these features. |
| 1311 |
|
| 1312 |
- transform property from SVG2; previously librsvg only supported the |
| 1313 |
transform attribute from SVG1.1, which has different syntax. |
| 1314 |
|
| 1315 |
- context-fill and context-stroke for <marker> and <use> elements. |
| 1316 |
|
| 1317 |
- markers now support orient="auto-start-reverse". |
| 1318 |
|
| 1319 |
- paint-order for text elements. |
| 1320 |
|
| 1321 |
- "auto" values for the width and height attributes of the <image>, |
| 1322 |
<rect>, and <svg> elements. |
| 1323 |
|
| 1324 |
- All the <filter-function> types from the Filter Effects Module Level |
| 1325 |
1 specification: blur(), brightness(), contrast(), drop-shadow(), |
| 1326 |
grayscale(), hue-rotate(), invert(), opacity(), sepia(), saturate(). |
| 1327 |
|
| 1328 |
- The filter property now supports chains of uri() filters or |
| 1329 |
<filter-function> shortcuts. |
| 1330 |
|
| 1331 |
- Support CSS selectors for attribute matching, like rect[attr^="prefix"] |
| 1332 |
|
| 1333 |
## New APIs |
| 1334 |
|
| 1335 |
See the HTML documentation for details: |
| 1336 |
|
| 1337 |
- rsvg_handle_get_intrinsic_size_in_pixels() |
| 1338 |
|
| 1339 |
- rsvg_major_version / rsvg_minor_version / rsvg_micro_version |
| 1340 |
variables - used to obtain the librsvg version from languages other |
| 1341 |
than C, since they do not have access to the C macros like |
| 1342 |
LIBRSVG_MAJOR_VERSION. |
| 1343 |
|
| 1344 |
## Deprecations |
| 1345 |
|
| 1346 |
The following APIs are deprecated but still available: |
| 1347 |
|
| 1348 |
- rsvg_handle_render_cairo() - use rsvg_handle_render_document() instead. |
| 1349 |
|
| 1350 |
- rsvg_handle_render_cairo_sub() - use rsvg_handle_render_layer() or |
| 1351 |
rsvg_handle_render_element() depending on what you want to do. |
| 1352 |
|
| 1353 |
Please see the "Migrating from old APIs" chapter in the HTML |
| 1354 |
documentation for details. |
| 1355 |
|
| 1356 |
## News for developers |
| 1357 |
|
| 1358 |
If you want to run the librsvg test suite easily, there are now Docker |
| 1359 |
scripts to do so. Please see the tools/docker/README.md file for |
| 1360 |
details. (Madds H) |
| 1361 |
|
| 1362 |
There is no leftover C code in the library; all of the implementation |
| 1363 |
and the publically-visible symbols are defined in the Rust code. The |
| 1364 |
remaining .h files are all public and do not reflect any .c |
| 1365 |
code. (Sven Neumann) |
| 1366 |
|
| 1367 |
The test suite is now ported to Rust. The only remaining tests in C |
| 1368 |
are for the C API itself (tests/api.c). With the test suite in |
| 1369 |
Rust, the tests are automatically run in parallel across CPU cores, |
| 1370 |
making test runs much faster. (Sven Neumann, Dunja Lalic) |
| 1371 |
|
| 1372 |
"cargo build", "cargo test" now work without running autotools first, |
| 1373 |
so you can in general develop librsvg as a normal Rust project. |
| 1374 |
|
| 1375 |
The HTML documentation has new chapters; you may find interesting |
| 1376 |
things there! |
| 1377 |
|
| 1378 |
## News for distributors |
| 1379 |
|
| 1380 |
There is a new list of librsvg releases with security fixes in |
| 1381 |
SECURITY.md. That file also contains security-related information |
| 1382 |
on librsvg's dependencies. |
| 1383 |
|
| 1384 |
The Minimum Supported Rust Version (MSRV) is now Rust 1.52. |
| 1385 |
|
| 1386 |
## Special thanks |
| 1387 |
|
| 1388 |
Paolo Borelli and Sven Neumann did a lot of painstaking work to finish |
| 1389 |
porting the library and rsvg-convert to Rust. |
| 1390 |
|
| 1391 |
Sven Neumann and Dunja Lalic ported the test suite to Rust, making it |
| 1392 |
much faster. |
| 1393 |
|
| 1394 |
Dunja Lalic rewrote the Continuous Integration infrastructure, making |
| 1395 |
it MUCH faster. |
| 1396 |
|
| 1397 |
Madds H did their Outreachy internship for librsvg and implemented a |
| 1398 |
bunch of useful SVG2/CSS3 features. |
| 1399 |
|
| 1400 |
John Ledbetter methodically went through all the <filter-function> |
| 1401 |
shortcuts and implemented them for SVG2. |
| 1402 |
|
| 1403 |
Ismael Luceno has been cleaning up our autotools scripts. |
| 1404 |
|
| 1405 |
Andre Klapper has been wrangling numerous bug reports from Wikimedia |
| 1406 |
as usual. |
| 1407 |
|
| 1408 |
Chun-wei Fan, Abraham Toriz, Christian Hergert, Ignacio Casal Quinteiro |
| 1409 |
have been keeping the Windows and MacOS builds working. |
| 1410 |
|
| 1411 |
|
| 1412 |
Version 2.51.4 |
| 1413 |
============== |
| 1414 |
|
| 1415 |
- #618 - SVG2: Implement context-fill and context-stroke for markers |
| 1416 |
(Madds H). |
| 1417 |
|
| 1418 |
- #727 - SVG2: Implement paint-order for text elements (Madds H). |
| 1419 |
|
| 1420 |
- #747 - SVG2: Support width="auto" and height="auto" for the image element. |
| 1421 |
|
| 1422 |
- Fix the Windows build (Chun-wei Fan). |
| 1423 |
|
| 1424 |
- The tools/docker directory now has scripts that developers can use |
| 1425 |
to test librsvg on containers for various Linux distributions. |
| 1426 |
|
| 1427 |
- Gtk-rs dependency is updated to 0.14.0 (Bilal Elmoussaoui, Chun-wei Fan). |
| 1428 |
|
| 1429 |
- #758 - Panic when rendering with masks or opacity to a non-image surface. |
| 1430 |
|
| 1431 |
- #757 - Fix 32-bit builds. |
| 1432 |
|
| 1433 |
|
| 1434 |
Version 2.51.3 |
| 1435 |
============== |
| 1436 |
|
| 1437 |
The big news is that rsvg-convert is now aware of physical units, and |
| 1438 |
fixes a bug where PDFs were created at the wrong size. Do you need to |
| 1439 |
render an SVG in a PDF file, scaled to 10x10 cm, placed at a certain |
| 1440 |
position of a landscape A4 page? |
| 1441 |
|
| 1442 |
rsvg-convert --format=pdf \ |
| 1443 |
--page-width=297mm --page-height=210mm \ |
| 1444 |
--width=10cm --height=10cm --keep-aspect-ratio \ |
| 1445 |
--top=5cm --left=8cm \ |
| 1446 |
foo.svg > foo.pdf |
| 1447 |
|
| 1448 |
Please see the rsvg-convert(1) man page for more details and plenty of |
| 1449 |
examples. |
| 1450 |
|
| 1451 |
SVG2 features: |
| 1452 |
|
| 1453 |
Markers now implement orient="auto-start-reverse". The work on |
| 1454 |
markers is by Madds H., who is doing their Outreachy internship for |
| 1455 |
librsvg. |
| 1456 |
|
| 1457 |
All the <filter-function> types in SVG2 are now supported, thanks to |
| 1458 |
John Ledbetter. |
| 1459 |
|
| 1460 |
- The Minimum Supported Rust Version (MSRV) is now Rust 1.52. This |
| 1461 |
takes care of CVE-2021-28878 in the Rust standard library. |
| 1462 |
|
| 1463 |
- #514 - rsvg-convert is now aware of physical units. |
| 1464 |
|
| 1465 |
- #484 - Markers can now have orient="auto-start-reverse" per SVG2 |
| 1466 |
(Madds H - Outreachy internship). |
| 1467 |
|
| 1468 |
- #711 - Implement the drop-shadow() filter function (John Ledbetter). |
| 1469 |
|
| 1470 |
- #713 - Implement the hue-rotate() filter function (John Ledbetter). |
| 1471 |
|
| 1472 |
- #677 - rsvg-convert, do not clip the rightmost/bottomost pixels of |
| 1473 |
an image with partial pixel coverage. |
| 1474 |
|
| 1475 |
- Partial fix for #668 - Render small caps for fonts that support the |
| 1476 |
"smcp" OpenType feature. Librsvg and Pango are not yet able to |
| 1477 |
synthesize small caps for fonts that do not support them, but for |
| 1478 |
those that do, they should work fine now. |
| 1479 |
|
| 1480 |
- #566 - Restrict which elements can appear inside a clipPath, to be |
| 1481 |
spec compliant. |
| 1482 |
|
| 1483 |
- #746 - Possible cairo_save() without cairo_restore() in render_layer(). |
| 1484 |
|
| 1485 |
- Various updates to the developer's documentation. |
| 1486 |
|
| 1487 |
|
| 1488 |
Version 2.51.2 |
| 1489 |
============== |
| 1490 |
|
| 1491 |
This release fixes an important bug about text spacing. The bug fix |
| 1492 |
requires an update to at least Pango 1.44. Sorry for the increased |
| 1493 |
requirements! |
| 1494 |
|
| 1495 |
Librsvg now supports most of the filter function shortcuts in SVG2; |
| 1496 |
see below. |
| 1497 |
|
| 1498 |
Previously, librsvg picked up the user's language preferences through |
| 1499 |
environment variables like LANG and LC_MESSAGES. This is inconvenient |
| 1500 |
for applications that call rsvg-convert but don't want to synthesize a |
| 1501 |
LANG variable. |
| 1502 |
|
| 1503 |
There is a new option in rsvg-convert so you can pass |
| 1504 |
--accept-language=<languages> formatted as an HTTP Accept-Language |
| 1505 |
header. This is used to specify which languages will be chosen from |
| 1506 |
elements with the "systemLanguage" attribute: |
| 1507 |
|
| 1508 |
rsvg-convert --accept-language=es-MX,en foo.svg |
| 1509 |
|
| 1510 |
That command will select Mexican Spanish and English from suitable SVG |
| 1511 |
elements. Please see the man page for details. |
| 1512 |
|
| 1513 |
- The Minimum Supported Rust Version (MSRV) is now Rust 1.51. |
| 1514 |
|
| 1515 |
- Librsvg now requires at least Pango 1.44. |
| 1516 |
|
| 1517 |
- #730 - Incorrect text spacing when the transform is not 1:1. You |
| 1518 |
can see this when a small font-size is scaled up due to a |
| 1519 |
transform. It is less visible for a large font-size scaled down. |
| 1520 |
|
| 1521 |
- #709 #710 #712 714 #715 #716 #717 - The "filter" attribute now |
| 1522 |
accepts lists of "<filter-function>" per SVG2. There is support for |
| 1523 |
blur(), contrast(), grayscale(), invert(), opacity(), saturate(), |
| 1524 |
sepia() (John Ledbetter). |
| 1525 |
|
| 1526 |
- #356 - Add --accept-language option to rsvg-convert. |
| 1527 |
|
| 1528 |
- #704 - Fix circle/ellipse in paths when they are made out of a |
| 1529 |
single Arc command. |
| 1530 |
|
| 1531 |
- #691 - Don't allow number lists with unbounded lengths in |
| 1532 |
tableValues attributes, for feComponentTransfer and |
| 1533 |
feConvolveMatrix (Madds H). |
| 1534 |
|
| 1535 |
- #718 - Negative rx/ry in rect element should be ignored. |
| 1536 |
|
| 1537 |
- #687 - Reduce memory pressure when rendering text. |
| 1538 |
|
| 1539 |
- Fix build on 32-bit ARM (Lovell Fuller). |
| 1540 |
|
| 1541 |
- Update the Rust crate dependencies (Bastien Orivel). |
| 1542 |
|
| 1543 |
- Refactoring parsers (Paolo Borelli). |
| 1544 |
|
| 1545 |
- There is a new list of librsvg releases with security fixes in |
| 1546 |
SECURITY.md. That file also contains security-related information |
| 1547 |
on librsvg's dependencies. |
| 1548 |
|
| 1549 |
Special thanks to John Ledbetter for carefully implementing each of |
| 1550 |
the new shortcuts for filter functions in SVG2. |
| 1551 |
|
| 1552 |
|
| 1553 |
Version 2.51.1 |
| 1554 |
============== |
| 1555 |
|
| 1556 |
- The Minimum Supported Rust Version is now 1.48. |
| 1557 |
|
| 1558 |
- rsvg-convert should fully work on Windows again (Abraham Toriz). |
| 1559 |
|
| 1560 |
- rsvg-convert's SVG output format uses pixel units instead of points again. |
| 1561 |
|
| 1562 |
- #699 - Images embedded as data: URLs didn't render if they had a |
| 1563 |
MIME type with a charset parameter. |
| 1564 |
|
| 1565 |
- #698 - Add limit for too-large radiuses on the feMorphology filter (Madds H). |
| 1566 |
|
| 1567 |
- #686 - Reduced stack usage (Sebastian Dröge). |
| 1568 |
|
| 1569 |
- #261 - Parse the enable-background property. |
| 1570 |
|
| 1571 |
- #703 - Properly ignore elements in an error state inside the "switch" element. |
| 1572 |
|
| 1573 |
- #695 - Fix cascading mode for the "feImage" element. |
| 1574 |
|
| 1575 |
- Fix cascading for the "filter" element and filter primitives in general. |
| 1576 |
|
| 1577 |
- Remove constraints on the types of units used within the "filter" |
| 1578 |
element and filter primitives. |
| 1579 |
|
| 1580 |
- Reduced memory consumption in general by about 300 bytes per SVG element. |
| 1581 |
|
| 1582 |
- Update vulnerable crates: |
| 1583 |
smallvec to 1.6.1 (RUSTSEC-2021-0003) |
| 1584 |
generic-array to 0.13.3 (RUSTSEC-2020-0146) |
| 1585 |
|
| 1586 |
- Lots of cleanups to the build (Sven Neumann). |
| 1587 |
|
| 1588 |
- Update to gtk-rs 0.9 (Bilal Elmoussaoui). |
| 1589 |
|
| 1590 |
- Updated ARCHITECTURE.md and documentation in general. |
| 1591 |
|
| 1592 |
Special thanks to Dunja Lalic for adding the start of code coverage |
| 1593 |
analysis to the build. |
| 1594 |
|
| 1595 |
|
| 1596 |
Version 2.51.0 |
| 1597 |
============== |
| 1598 |
|
| 1599 |
There are many changes in this development release! This experimental |
| 1600 |
release is meant for early testing, with the understanding that some |
| 1601 |
things may be broken, especially since we have large changes to the |
| 1602 |
way librsvg's artifacts are built. |
| 1603 |
|
| 1604 |
The biggest user-visible change is that rsvg-convert has been ported |
| 1605 |
to Rust (Sven Neumann, Paolo Borelli). |
| 1606 |
|
| 1607 |
Please file bugs at https://gitlab.gnome.org/GNOME/librsvg/-/issues/new |
| 1608 |
if these changes break your scripts; they are experimental for the |
| 1609 |
2.51.x development series: |
| 1610 |
|
| 1611 |
- #646 - rsvg-convert's default DPI is now 96, to better match W3C |
| 1612 |
standards. It was 90 before for historical reasons. We can change |
| 1613 |
this back to 90 if it breaks too many scripts. You can use the |
| 1614 |
options "--dpi-x=90 --dpi-y=90" to restore the old behavior. |
| 1615 |
|
| 1616 |
- rsvg-convert's --export-id (-i) option should now have more useful |
| 1617 |
behavior. This extracts a particular element from the SVG document |
| 1618 |
and renders it scaled to the size specified by the --width/--height |
| 1619 |
arguments, or to the pixel size of the element as if it had no |
| 1620 |
transformations applied. |
| 1621 |
|
| 1622 |
- rsvg-convert no longer supports the "xml" or "recording" output |
| 1623 |
formats. These are useful only for debugging Cairo, not for general |
| 1624 |
usage. |
| 1625 |
|
| 1626 |
Known missing features, which should be restored for the stable release: |
| 1627 |
|
| 1628 |
- rsvg-convert does not allow stdin/stdout streams on Windows; this is |
| 1629 |
being tracked in issue #676. |
| 1630 |
|
| 1631 |
The following are changes related to porting to Rust; they are not |
| 1632 |
necessarily user-visible, but important for developers of the library: |
| 1633 |
|
| 1634 |
- There is no leftover C code in the library; all of the |
| 1635 |
implementation and the publically-visible symbols are defined in the |
| 1636 |
Rust code. The remaining .h files are all public and do not reflect |
| 1637 |
any .c code. (Sven Neumann) |
| 1638 |
|
| 1639 |
- The test suite is now ported to Rust. The only remaining tests in C |
| 1640 |
are for the C API itself (tests/api.c). With the test suite in |
| 1641 |
Rust, the tests are automatically run in parallel across CPU cores, |
| 1642 |
making test runs much faster. (Sven Neumann, Dunja Lalic) |
| 1643 |
|
| 1644 |
- "cargo build", "cargo test" should now work without running |
| 1645 |
autotools first. |
| 1646 |
|
| 1647 |
- The C API is now implemented on top of the public Rust API, without |
| 1648 |
special hooks into the library's internals. |
| 1649 |
|
| 1650 |
The following APIs are deprecated but still available: |
| 1651 |
|
| 1652 |
- rsvg_handle_render_cairo() - use rsvg_handle_render_document() instead. |
| 1653 |
|
| 1654 |
- rsvg_handle_render_cairo_sub() - use rsvg_handle_render_layer() or |
| 1655 |
rsvg_handle_render_element() depending on what you want to do. |
| 1656 |
|
| 1657 |
- These deprecations are because the new APIs conform with the web |
| 1658 |
world's view of how SVGs should be positioned and scaled in |
| 1659 |
surrounding content. Whereas the old APIs were about rendering SVGs |
| 1660 |
to whatever current transformation matrix a Cairo context may |
| 1661 |
contain, the new APIs take a rectangular viewport and librsvg |
| 1662 |
automatically scales the SVG document to fit in it. The "natural |
| 1663 |
sizing" that was implicit in the deprecated APIs is now explicitly |
| 1664 |
documented, and available through the new API |
| 1665 |
rsvg_handle_get_intrinsic_size_in_pixels(). |
| 1666 |
|
| 1667 |
New APIs: |
| 1668 |
|
| 1669 |
- rsvg_handle_get_intrinsic_size_in_pixels() converts an SVG |
| 1670 |
document's intrinsic dimensions to pixels, i.e. transforms the SVG |
| 1671 |
document's "width" and "height" attributes to CSS pixels. |
| 1672 |
|
| 1673 |
New features and bug fixes: |
| 1674 |
|
| 1675 |
- #615: SVG2: Support a chain of uri() filters in the "filter" property |
| 1676 |
(John Ledbetter, Sven Neumann). |
| 1677 |
|
| 1678 |
- #483: Support CSS selectors for attribute matching, like rect[attr^="prefix"] |
| 1679 |
|
| 1680 |
- #554: Fixed the geometry_for_layer() APIs to not ignore the passed viewport. |
| 1681 |
|
| 1682 |
- Fixed CSS "import" so it allows only files from the same base directory |
| 1683 |
(Lars Schmertmann). |
| 1684 |
|
| 1685 |
- #642 - Fix dx/dy offsets in nested <tspan> elements. |
| 1686 |
|
| 1687 |
- #601 - Compute correct bounds for objects with stroke-width=0. |
| 1688 |
|
| 1689 |
- Slight speed improvements in the RGBA premultiplication code (Sven Neumann). |
| 1690 |
|
| 1691 |
- #623 - The pkg-config files (*.pc) do not define the 'svgz_supported' and |
| 1692 |
'css_supported' variables anymore. These variables were hardcoded |
| 1693 |
to 'true' and unchanged since 2011. |
| 1694 |
|
| 1695 |
- #624 - The source repository no longer produces a librsvg-uninstalled.pc file. |
| 1696 |
|
| 1697 |
- Fix the MacOS build (Christian Hergert, Ignacio Casal Quinteiro). |
| 1698 |
|
| 1699 |
- Deal with missing pkg-config (Ismael Luceno). |
| 1700 |
|
| 1701 |
- For cross-compilation, check for target-specific prefixed tools like |
| 1702 |
rustc/cargo (Heiko Becker). |
| 1703 |
|
| 1704 |
Changes in the Rust API: |
| 1705 |
|
| 1706 |
- #597 - The LoadingError and RenderingError enums have changed, and |
| 1707 |
are now marked #[non_exhaustive]. They will probably change again |
| 1708 |
to hide details of error variants before we make librsvg available |
| 1709 |
as a crate on crates.io. |
| 1710 |
|
| 1711 |
Special thanks for this release: |
| 1712 |
|
| 1713 |
- Dunja Lalic for revamping the CI infrastructure and making our CI |
| 1714 |
runs much, much faster - !398. |
| 1715 |
|
| 1716 |
- Sven Neumann, Dunja Lalic for porting the test suite to Rust. |
| 1717 |
|
| 1718 |
- Sven Neumann, Paolo Borelli for porting rsvg-convert to Rust and |
| 1719 |
unraveling all the little historical details that were embedded in |
| 1720 |
it. |
| 1721 |
|
| 1722 |
- Paolo Borelli for constant refactoring. |
| 1723 |
|
| 1724 |
|
| 1725 |
Version 2.50.7 |
| 1726 |
============== |
| 1727 |
|
| 1728 |
Two cairo-related bug fixes: |
| 1729 |
|
| 1730 |
- #745 - Fix mismatched cairo_save/restore when running in inside the Cairo test suite. |
| 1731 |
- #746 - Possible cairo_save() without cairo_restore() in render_layer(). |
| 1732 |
|
| 1733 |
|
| 1734 |
Version 2.50.6 |
| 1735 |
============== |
| 1736 |
|
| 1737 |
This release fixes an important bug about text spacing. The bug fix |
| 1738 |
requires an update to at least Pango 1.44. Sorry for the increased |
| 1739 |
requirements! |
| 1740 |
|
| 1741 |
- Librsvg now requires at least Pango 1.44. |
| 1742 |
|
| 1743 |
- #730 - Incorrect text spacing when the transform is not 1:1. You |
| 1744 |
can see this when a small font-size is scaled up due to a |
| 1745 |
transform. It is less visible for a large font-size scaled down. |
| 1746 |
|
| 1747 |
- #704 - Fix circle/ellipse in paths when they are made out of a |
| 1748 |
single Arc command. |
| 1749 |
|
| 1750 |
|
| 1751 |
Version 2.50.5 |
| 1752 |
============== |
| 1753 |
|
| 1754 |
- #699 - Images embedded as data: URLs didn't render if they had a |
| 1755 |
MIME type with a charset parameter. |
| 1756 |
|
| 1757 |
- #691 - Don't allow number lists with unbounded lengths in |
| 1758 |
tableValues attributes, for feComponentTransfer and |
| 1759 |
feConvolveMatrix (Madds H). |
| 1760 |
|
| 1761 |
- #718 - Negative rx/ry in rect element should be ignored. |
| 1762 |
|
| 1763 |
|
| 1764 |
Version 2.50.4 |
| 1765 |
============== |
| 1766 |
|
| 1767 |
Update dependent crates that had security vulnerabilities: |
| 1768 |
|
| 1769 |
generic-array to 0.13.3 - RUSTSEC-2020-0146 |
| 1770 |
|
| 1771 |
- #686 - Reduced stack usage (Sebastian Dröge). |
| 1772 |
|
| 1773 |
- #698 - Add limit for too-large radiuses on the feMorphology filter (Madds H). |
| 1774 |
|
| 1775 |
- #703 - Properly ignore elements in an error state inside the "switch" element. |
| 1776 |
|
| 1777 |
|
| 1778 |
|
| 1779 |
Version 2.50.3 |
| 1780 |
============== |
| 1781 |
|
| 1782 |
- #601 - Compute correct bounds for objects with stroke-width=0. |
| 1783 |
|
| 1784 |
- #545 - Fix MacOS build (Ignacio Casal Quinteiro, Christian Hergert). |
| 1785 |
|
| 1786 |
- Fix test suite on Rust 1.49 (Sven Neumann). |
| 1787 |
|
| 1788 |
Version 2.50.2 |
| 1789 |
============== |
| 1790 |
|
| 1791 |
- #642 - Fix dx/dy offsets in nested <tspan> elements. |
| 1792 |
|
| 1793 |
Version 2.50.1 |
| 1794 |
============== |
| 1795 |
|
| 1796 |
- #615: SVG2: Support a chain of uri() filters in the "filter" property |
| 1797 |
(John Ledbetter, Sven Neumann). |
| 1798 |
|
| 1799 |
- #483: Support CSS selectors for attribute matching, like rect[attr^="prefix"] |
| 1800 |
|
| 1801 |
- #554: Fixed the geometry_for_layer() APIs to not ignore the passed viewport. |
| 1802 |
|
| 1803 |
- Fixed CSS "import" so it allows only files from the same base directory |
| 1804 |
(Lars Schmertmann). |
| 1805 |
|
| 1806 |
- #623 - The pkg-config files (*.pc) do not define the 'svgz_supported' and |
| 1807 |
'css_supported' variables anymore. These variables were hardcoded |
| 1808 |
to 'true' and unchanged since 2011. |
| 1809 |
|
| 1810 |
- #624 - The source repository no longer produces a librsvg-uninstalled.pc file. |
| 1811 |
|
| 1812 |
Version 2.50.0 |
| 1813 |
============== |
| 1814 |
|
| 1815 |
- The following is a summary of changes between 2.48.x and 2.50.0. For |
| 1816 |
full details, please see the 2.49.x release notes below. |
| 1817 |
|
| 1818 |
- This release requires at least Rust 1.40. |
| 1819 |
|
| 1820 |
- Windows builds now support ARM64, thanks to Chun-wei Fan. |
| 1821 |
|
| 1822 |
- Librsvg now consumes much less memory for large SVG files. The limit for |
| 1823 |
the maximum number of elements in an SVG is bigger now at 1 million |
| 1824 |
elements (this limit exists to avoid unbounded memory consumption by |
| 1825 |
maliciously large files, and is plenty to render even very detailed |
| 1826 |
maps). Thanks to Sergey "Shnatsel" Davidoff and Adam Reichold for making |
| 1827 |
this possible. |
| 1828 |
|
| 1829 |
- #34 - The 'font' shorthand in is now supported in CSS. Librsvg |
| 1830 |
ignores the 'line-height' sub-property because it cannot be done |
| 1831 |
easily with Pango, but everything else in 'font' should work now. |
| 1832 |
|
| 1833 |
- Many new features from SVG2: |
| 1834 |
|
| 1835 |
- #508 - radialGradient now supports the "fr" property from SVG2 |
| 1836 |
(Dunja Lalic, Corentin Rossignon). |
| 1837 |
|
| 1838 |
- #568 - Support href attribute in addition to xlink:href per SVG2. |
| 1839 |
|
| 1840 |
- #560 - Ignore missing filter references per SVG2. |
| 1841 |
|
| 1842 |
- #607 - Support the mix-blend-mode property from SVG2 and the |
| 1843 |
Compositing and Blending Level 1 specification, so layers can be |
| 1844 |
composited with operators like multiply/screen/color-burn, etc. |
| 1845 |
https://www.w3.org/TR/compositing-1/ (John Ledbetter). |
| 1846 |
|
| 1847 |
- #473 - Support the paint-order property from SVG2, so one can pick |
| 1848 |
the order in which a path's fill/stroke/markers are drawn (John Ledbetter). |
| 1849 |
|
| 1850 |
- Many bug fixes and little optimizations; see the 2.49.x release notes for |
| 1851 |
details. Thanks to Paolo Borelli, Daniel Kolesa, Ernestas Kulik. |
| 1852 |
Sven Neumann, Bastien Orivel, Jordan Petridis, Emile Snyder. |
| 1853 |
|
| 1854 |
- Special thanks to Sven Neumann for fixing all the cargo-clippy lints. |
| 1855 |
|
| 1856 |
|
| 1857 |
Version 2.49.5 |
| 1858 |
============== |
| 1859 |
|
| 1860 |
- #607 - Support the mix-blend-mode property from SVG2 and the |
| 1861 |
Compositing and Blending Level 1 specification, so layers can be |
| 1862 |
composited with operators like multiply/screen/color-burn, etc. |
| 1863 |
https://www.w3.org/TR/compositing-1/ (John Ledbetter). |
| 1864 |
|
| 1865 |
- #473 - Support the paint-order property from SVG2, so one can pick |
| 1866 |
the order in which a path's fill/stroke/markers are drawn (John Ledbetter). |
| 1867 |
|
| 1868 |
- Cleanups of the basic drawing and paint-handling code (Paolo Borelli). |
| 1869 |
|
| 1870 |
- Many style fixes per cargo-clippy (Sven Neumann). |
| 1871 |
|
| 1872 |
- Improved documentation on the library's internals. |
| 1873 |
|
| 1874 |
Version 2.49.4 |
| 1875 |
============== |
| 1876 |
|
| 1877 |
- Support ARM64 Windows builds (Chun-wei Fan). |
| 1878 |
|
| 1879 |
- #165 - Draw zero-length paths with square caps correctly (Bastien Orivel). |
| 1880 |
|
| 1881 |
- #568 - Support href attribute in addition to xlink:href per SVG2. |
| 1882 |
|
| 1883 |
- #560 - Ignore missing filter references per SVG2. |
| 1884 |
|
| 1885 |
- #609 - Support the transform attribute again in clipPath (Sven Neumann). |
| 1886 |
|
| 1887 |
- Update Criterion benchmarks (Ernestas Kulik). |
| 1888 |
|
| 1889 |
- Update to newer dependencies (Bastien Orivel). |
| 1890 |
|
| 1891 |
- Many style fixes per cargo-clippy (Dunja Lalic, Sven Neumann). |
| 1892 |
|
| 1893 |
Version 2.49.3 |
| 1894 |
============== |
| 1895 |
|
| 1896 |
- #34 - The 'font' shorthand in is now supported in CSS. Librsvg |
| 1897 |
ignores the 'line-height' sub-property because it cannot be done |
| 1898 |
easily with Pango, but everything else in 'font' should work now. |
| 1899 |
|
| 1900 |
- #605 - Compute 'bolder' and 'lighter' font-weight correctly. |
| 1901 |
|
| 1902 |
- #219 - Make the path parser have a tokenizer/parser (Emile Snyder). |
| 1903 |
|
| 1904 |
- Fixes for the CI after the gitlab.gnome.org changes (Jordan Petridis). |
| 1905 |
|
| 1906 |
- Fixed some typos in the documentation (codespell is awesome!). |
| 1907 |
|
| 1908 |
Version 2.49.2 |
| 1909 |
============== |
| 1910 |
|
| 1911 |
- Fix failing tests. |
| 1912 |
|
| 1913 |
Version 2.49.1 |
| 1914 |
============== |
| 1915 |
|
| 1916 |
- (#604) - Fix build on big-endian machines. Thanks to Daniel Kolesa |
| 1917 |
for testing this repeatedly. |
| 1918 |
|
| 1919 |
Version 2.49.0 |
| 1920 |
============== |
| 1921 |
|
| 1922 |
- Memory consumption of parsed SVG data is greatly reduced. Property |
| 1923 |
values, path data, and text nodes now use much less memory than |
| 1924 |
before. Thanks to Sergey "Shnatsel" Davidoff and Adam Reichold for |
| 1925 |
their contributions. |
| 1926 |
|
| 1927 |
- With that reduction in memory consumption, librsvg can now load up |
| 1928 |
to 1 million XML elements. This is a hard limit to avoid malicious |
| 1929 |
files consuming arbitrary amounts of memory. |
| 1930 |
|
| 1931 |
- #508 - radialGradient now supports the "fr" property from SVG2 |
| 1932 |
(Dunja Lalic, Corentin Rossignon). |
| 1933 |
|
| 1934 |
- Sven Neumann has written a fantastic test suite for rsvg-convert(1). |
| 1935 |
Now we can modify this program with confidence. |
| 1936 |
|
| 1937 |
- Many, many cleanups (Paolo Borelli). |
| 1938 |
|
| 1939 |
- #594 - Only compute locale information for elements that need it. |
| 1940 |
|
| 1941 |
- As usual, thanks to Bastien Orivel for keeping dependent crates updated. |
| 1942 |
|
| 1943 |
- Fix Windows builds without PangoFT2. |
| 1944 |
|
| 1945 |
- Benchmarks of internal functions work now. You can run "cargo bench" |
| 1946 |
in librsvg/ and rsvg_internals/. |
| 1947 |
|
| 1948 |
Version 2.48.5 |
| 1949 |
============== |
| 1950 |
|
| 1951 |
- #577 - Support multiple fonts in the font-family property (Bastien Orivel). |
| 1952 |
Previously in font-family="Foo, Bar, Baz" only Foo would get used. |
| 1953 |
|
| 1954 |
- #591 - Catch overflow when rendering files with a huge viewBox. |
| 1955 |
|
| 1956 |
- #593 - Don't panic with an empty objectBoundingBox for a mask. |
| 1957 |
|
| 1958 |
- #596 - Fix introspection data for rsvg_handle_set_stylesheet (Sutou Kouhei). |
| 1959 |
|
| 1960 |
- Fixes to the librsvg_crate documentation (Abraham Toriz). |
| 1961 |
|
| 1962 |
- Loading raster images for inclusion in an SVG and producing |
| 1963 |
GdkPixbufs is now faster. |
| 1964 |
|
| 1965 |
Version 2.48.4 |
| 1966 |
============== |
| 1967 |
|
| 1968 |
- #590 - Fix regression when rendering masks. |
| 1969 |
|
| 1970 |
- #588 - Fix panic when a big viewBox creates an invalid transform. |
| 1971 |
|
| 1972 |
- #592 - Fix invalid argument to g_log_structured_array() |
| 1973 |
|
| 1974 |
Version 2.48.3 |
| 1975 |
============== |
| 1976 |
|
| 1977 |
- Librsvg now requires glib 2.50.0 or later. |
| 1978 |
|
| 1979 |
- rsvg-convert's --background-color option now accepts colors with |
| 1980 |
transparency like #rrggbbaa, rgba(...), hsla(...); the transparency |
| 1981 |
value was ignored before (Hao Guan). |
| 1982 |
|
| 1983 |
- #584 - Fix arithmetic overflow when rendering to large GdkPixbufs. |
| 1984 |
|
| 1985 |
- #582 - Make librsvg build with Rust 1.39 again. |
| 1986 |
|
| 1987 |
- #581 - Don't require upcalls into C code for Debian powerpc. |
| 1988 |
|
| 1989 |
Version 2.48.2 |
| 1990 |
============== |
| 1991 |
|
| 1992 |
- Fix linking of the test suite against Harfbuzz. |
| 1993 |
|
| 1994 |
Version 2.48.1 |
| 1995 |
============== |
| 1996 |
|
| 1997 |
- #129 - Fix baseline-shift for simple subscripts/superscripts and |
| 1998 |
absolute offsets. This should fix a lot of Wikimedia images with |
| 1999 |
formulas. |
| 2000 |
|
| 2001 |
- #548 - Support images with data: URLs that don't have a MIME-type. |
| 2002 |
This fixes some Open Clip Art images generated by old versions |
| 2003 |
of Adobe Illustrator. |
| 2004 |
|
| 2005 |
- Fix build of the test suite on Windows (Chun-wei Fan). |
| 2006 |
|
| 2007 |
- Support running the rsvg_internals tests on Windows (Chun-wei Fan). |
| 2008 |
|
| 2009 |
Version 2.48.0 |
| 2010 |
============== |
| 2011 |
|
| 2012 |
- The following is a summary of changes between 2.46.x and 2.48.0. |
| 2013 |
For full details, please see the 2.47.x release notes below. |
| 2014 |
|
| 2015 |
- This release requires at least Rust 1.39. |
| 2016 |
|
| 2017 |
- #379 - New API, rsvg_handle_set_stylesheet(), to set a CSS |
| 2018 |
stylesheet independent of the SVG document. |
| 2019 |
|
| 2020 |
- #510 - support opacity in patterns. |
| 2021 |
|
| 2022 |
- Librsvg's XML parser now supports namespaces (xmlns), and is |
| 2023 |
stricter than before about it. Files may fail to parse if there are |
| 2024 |
attributes or elements with namespace prefixes (e.g. foo:bar instead |
| 2025 |
of plain bar), but without a corresponding namespace declaration |
| 2026 |
(e.g. xmlns:foo="http://example.com/foo"). |
| 2027 |
|
| 2028 |
This may happen especially with incorrectly-written SVGs that use |
| 2029 |
xlink:href or xi:include attributes without the corresponding |
| 2030 |
namespace declarations. If you run into this, just add the |
| 2031 |
following to your toplevel SVG element: |
| 2032 |
|
| 2033 |
<svg xmlns="http://www.w3.org/2000/svg" |
| 2034 |
xmlns:xlink="http://www.w3.org/1999/xlink" |
| 2035 |
xmlns:xi="http://www.w3.org/2001/XInclude"> |
| 2036 |
^^^^^^^^^ these ones |
| 2037 |
|
| 2038 |
- Librsvg no longer depends on libcroco, and now does all CSS |
| 2039 |
processing using Rust crates from Mozilla Servo. As a result, |
| 2040 |
librsvg can now handle much more complex CSS selectors than before. |
| 2041 |
|
| 2042 |
- Link-time optimization (LTO) is disabled by default on release |
| 2043 |
builds, as this increased build time too much. Downstream |
| 2044 |
distributors may want to turn it back on in the toplevel Cargo.toml. |
| 2045 |
|
| 2046 |
- #515 (CVE-2019-20446) - Librsvg now has limits on the number of |
| 2047 |
loaded XML elements, and the number of referenced elements within an |
| 2048 |
SVG document. This is to mitigate malicious SVGs which try to |
| 2049 |
consume all memory, and those which try to consume an exponential |
| 2050 |
amount of CPU time. |
| 2051 |
|
| 2052 |
- Many bugfixes; please see the 2.47.x release notes below. |
| 2053 |
|
| 2054 |
Version 2.47.4 |
| 2055 |
============== |
| 2056 |
|
| 2057 |
- (#240) - Fix rsvg-convert's multipage PDF output when the zoom |
| 2058 |
option is used (Sven Neumann). |
| 2059 |
|
| 2060 |
- (#547) - Do not stop rendering if an <image> element references a |
| 2061 |
nonexistent file. This fixes a number of Open Clipart cases. |
| 2062 |
|
| 2063 |
- (#558) - Compute the font-size cascade correctly when there are "em" |
| 2064 |
#and "ex" units involved. |
| 2065 |
|
| 2066 |
- Updated the man page for rsvg-convert (Sven Neumann). |
| 2067 |
|
| 2068 |
Version 2.47.3 |
| 2069 |
============== |
| 2070 |
|
| 2071 |
- #379 - New API, rsvg_handle_set_stylesheet(), to set a CSS |
| 2072 |
stylesheet independent of the SVG document. |
| 2073 |
|
| 2074 |
- #510 - support opacity in patterns (Sven Neumann). |
| 2075 |
|
| 2076 |
- Move away from the Cairo transform type to our own (Paolo Borelli). |
| 2077 |
|
| 2078 |
- Update the gtk-rs version. |
| 2079 |
|
| 2080 |
Version 2.47.2 |
| 2081 |
============== |
| 2082 |
|
| 2083 |
- Handling of the "result", "in", "in2" attributes in filter |
| 2084 |
primitives is slightly stricter now, and spec compliant. Their |
| 2085 |
arguments must be of type CSS custom-ident, so "default", "inherit", |
| 2086 |
"initial", and "unset" are disallowed. Most SVGs should still work |
| 2087 |
fine. |
| 2088 |
|
| 2089 |
- #542 - Fix infinite loop when processing CSS sibling combinators. |
| 2090 |
|
| 2091 |
- #408 - feImage filters no longer clip their output to integer |
| 2092 |
coordinates. |
| 2093 |
|
| 2094 |
- #504 - Documentation for the Rust crate (available at |
| 2095 |
https://gnome.pages.gitlab.gnome.org/librsvg/doc/librsvg/) now has |
| 2096 |
API usage examples. |
| 2097 |
|
| 2098 |
- Debug logs from RSVG_LOG=1 should now be more legible and contain |
| 2099 |
better information on invalid CSS. |
| 2100 |
|
| 2101 |
- Remove link-time workarounds for Rust pre-1.35 (Kleis Auke Wolthuizen). |
| 2102 |
|
| 2103 |
- Unify internal error types to share the CSS code with gnome-shell. |
| 2104 |
|
| 2105 |
- Made handling of XML namespaces more spec-compliant. |
| 2106 |
|
| 2107 |
- Lots of refactoring to start moving away from Cairo internals |
| 2108 |
(Paolo Borelli). |
| 2109 |
|
| 2110 |
Version 2.47.1 |
| 2111 |
============== |
| 2112 |
|
| 2113 |
- Librsvg no longer depends on libcroco! It now does all CSS |
| 2114 |
processing using Rust crates from Mozilla Servo; these are also the |
| 2115 |
crates that are in use in recent versions of Firefox. As a result, |
| 2116 |
librsvg can now handle much more complex CSS selectors than before. |
| 2117 |
Fixes #79, #167, #237, #283, #336, #428, #441, #466, #525, #525 |
| 2118 |
(Paolo Borelli, Federico Mena). Thanks to Evgeniy Reizner |
| 2119 |
for fixing https://github.com/servo/servo/issues/22972, which made |
| 2120 |
it possible to use Servo's selectors crate. |
| 2121 |
|
| 2122 |
- #524 - Panic when reading an invalid stylesheet URL in an XML |
| 2123 |
processing instruction (Paolo Borelli) |
| 2124 |
|
| 2125 |
- Lots of little improvements to the documentation. |
| 2126 |
|
| 2127 |
- Link-time optimization (LTO) is disabled by default on release |
| 2128 |
builds, as this increased build time too much. Downstream |
| 2129 |
distributors may want to turn it back on in the toplevel Cargo.toml. |
| 2130 |
|
| 2131 |
- We now have the start of documentation on the library's internals at |
| 2132 |
https://gnome.pages.gitlab.gnome.org/librsvg/doc/rsvg_internals/index.html |
| 2133 |
This should be interest of newcomers to librsvg's source code. |
| 2134 |
|
| 2135 |
Version 2.47.0 |
| 2136 |
============== |
| 2137 |
|
| 2138 |
- Librsvg's XML parser now supports namespaces (xmlns), and is |
| 2139 |
stricter than before about it. Files may fail to parse if there are |
| 2140 |
attributes or elements with namespace prefixes (e.g. foo:bar instead |
| 2141 |
of plain bar), but without a corresponding namespace declaration |
| 2142 |
(e.g. xmlns:foo="http://example.com/foo"). |
| 2143 |
|
| 2144 |
This may happen especially with incorrectly-written SVGs that use |
| 2145 |
xlink:href or xi:include attributes without the corresponding |
| 2146 |
namespace declarations. If you run into this, just add the |
| 2147 |
following to your toplevel SVG element: |
| 2148 |
|
| 2149 |
<svg xmlns="http://www.w3.org/2000/svg" |
| 2150 |
xmlns:xlink="http://www.w3.org/1999/xlink" |
| 2151 |
xmlns:xi="http://www.w3.org/2001/XInclude"> |
| 2152 |
^^^^^^^^^ these ones |
| 2153 |
|
| 2154 |
- Patterns and gradients reused across more than one element will only |
| 2155 |
get resolved once now; this should make things marginally faster for |
| 2156 |
patterns or gradients with fallbacks. |
| 2157 |
|
| 2158 |
- #515 - Librsvg now has limits on the number of loaded XML elements, |
| 2159 |
and the number of referenced elements within an SVG document. This |
| 2160 |
is to mitigate malicious SVGs which try to consume all memory, and |
| 2161 |
those which try to consume an exponential amount of CPU time. |
| 2162 |
|
| 2163 |
- #521 - Compute geometries correctly if there is a viewBox attribute. |
| 2164 |
|
| 2165 |
- #308 - Fix stack exhaustion with circular references in <use> elements. |
| 2166 |
|
| 2167 |
- Consistently use the LGPL 2.1 wherever it is mentioned. |
| 2168 |
|
| 2169 |
- Patterns and gradients reused across more than one element will only |
| 2170 |
get resolved once now; this should make things marginally faster for |
| 2171 |
patterns or gradients with fallbacks. |
| 2172 |
|
| 2173 |
- #515 - Librsvg now has limits on the number of loaded XML elements, |
| 2174 |
and the number of referenced elements within an SVG document. This |
| 2175 |
is to mitigate malicious SVGs which try to consume all memory, and |
| 2176 |
those which try to consume an exponential amount of CPU time. |
| 2177 |
|
| 2178 |
- #506 - Fix empty patterns which reference a fallback pattern with |
| 2179 |
children. |
| 2180 |
|
| 2181 |
Version 2.46.0 |
| 2182 |
============== |
| 2183 |
|
| 2184 |
- The following are highlights compared to the 2.44.x series. For |
| 2185 |
full details, please see the release notes for the 2.45.x series. |
| 2186 |
|
| 2187 |
- All of librsvg.so is now implemented in Rust! That is, except for a |
| 2188 |
very thin wrapper over the public API functions. Hopefully we can |
| 2189 |
remove this wrapper when Cargo gets some more features around |
| 2190 |
controlling the linking step. This release requires at least Rust 1.34. |
| 2191 |
|
| 2192 |
- Librsvg now comes with a Rust crate that can be used from Rust |
| 2193 |
applications. See librsvg_crate/examples. This Rust API is |
| 2194 |
designed to be idiomatic; if you want a Rust binding to the shared |
| 2195 |
library instead, please use the "rsvg-rs" crate from crates.io. |
| 2196 |
|
| 2197 |
- The following API functions are new in the C library: |
| 2198 |
rsvg_handle_get_intrinsic_dimensions() |
| 2199 |
rsvg_handle_render_document() |
| 2200 |
rsvg_handle_render_layer() |
| 2201 |
rsvg_handle_render_element() |
| 2202 |
rsvg_handle_get_geometry_for_layer() |
| 2203 |
rsvg_handle_get_geometry_for_element() |
| 2204 |
|
| 2205 |
Correspondingly, there is a new chapter in the documentation, called |
| 2206 |
"Recommendations for Applications". These new APIs conform better |
| 2207 |
with the web platform's idea of how SVG sizing/positioning should |
| 2208 |
work. Applications should now find it easier to scale and render |
| 2209 |
SVGs in a single call, instead of having to obtain image dimensions |
| 2210 |
first. |
| 2211 |
|
| 2212 |
- A bunch of functions have been deprecated but are still available: |
| 2213 |
|
| 2214 |
- rsvg_handle_write()/close() are deprecated in favor of the |
| 2215 |
stream functions. Unfortunately the write()/close() pair |
| 2216 |
require buffering the entire document, in case it is a .svgz |
| 2217 |
compressed file; the streaming functions do not have this |
| 2218 |
problem. |
| 2219 |
|
| 2220 |
- Functions that return RsvgDimensionData and RsvgPositionData are |
| 2221 |
deprecated, since they just use integers instead of floating |
| 2222 |
point numbers. They are replaced with the _get_geometry_*() |
| 2223 |
functions above. |
| 2224 |
|
| 2225 |
- The library is a lot more strict now in terms of detecting that the |
| 2226 |
API functions are called in the correct order. For example, calling |
| 2227 |
rsvg_handle_get_dimensions() before rsvg_handle_close() will now |
| 2228 |
emit a critical warning. |
| 2229 |
|
| 2230 |
- Librsvg is gradually moving towards using code from Mozilla's Servo. |
| 2231 |
We haven't quite gotten rid of libcroco and libxml2 yet, but this is |
| 2232 |
in progress. |
| 2233 |
|
| 2234 |
- Many thanks to all the people who participated in the long cycle for |
| 2235 |
2.45. Having the whole library's functionality in Rust is a big |
| 2236 |
accomplishment! |
| 2237 |
|
| 2238 |
Version 2.45.92 |
| 2239 |
=============== |
| 2240 |
|
| 2241 |
- #496 - Ensure all lengths and angles parse as finite numbers |
| 2242 |
|
| 2243 |
- #497 - Don't panic on paths with all-invalid commands |
| 2244 |
|
| 2245 |
- #500 - Added additional SVG blend-modes for the feBlend filter primitive (Andargor) |
| 2246 |
|
| 2247 |
- Some changes in the build structure to allow for faster builds. |
| 2248 |
|
| 2249 |
Version 2.45.91 |
| 2250 |
=============== |
| 2251 |
|
| 2252 |
- The documentation has a new chapter, Recommendations for Applications. |
| 2253 |
|
| 2254 |
- #451 - Make rsvg-convert detect images larger than pixman's limit. |
| 2255 |
|
| 2256 |
- #410 - Update introspection annotations. |
| 2257 |
|
| 2258 |
- #449 - librsvg_crate: Make cancellable arguments consistent with gio-rs |
| 2259 |
|
| 2260 |
- librsvg_crate: Take all gio arguments as IsA<SomeGioType> generics |
| 2261 |
|
| 2262 |
- Updated Rust crates to avoid duplicates (Bastien Orivel) |
| 2263 |
|
| 2264 |
Version 2.45.90 |
| 2265 |
=============== |
| 2266 |
|
| 2267 |
- New API functions: |
| 2268 |
rsvg_handle_render_document() |
| 2269 |
rsvg_handle_render_layer() |
| 2270 |
rsvg_handle_render_element() |
| 2271 |
rsvg_handle_get_geometry_for_layer() |
| 2272 |
rsvg_handle_get_geometry_for_element() |
| 2273 |
|
| 2274 |
CairoRenderer in the librsvg_crate has corresponding functions |
| 2275 |
as well. |
| 2276 |
|
| 2277 |
- Fix builds with gettext ≥ 0.20 (Ting-Wei Lan). |
| 2278 |
|
| 2279 |
- If the C API is called out of order, downgrade hard panics to |
| 2280 |
g_critical() to cope with incorrect/old applications that called |
| 2281 |
rsvg_handle_get_dimensions() before rsvg_handle_close(). |
| 2282 |
|
| 2283 |
- API reference documentation is much improved. |
| 2284 |
|
| 2285 |
Version 2.45.8 |
| 2286 |
============== |
| 2287 |
|
| 2288 |
- This version requires at least Rust 1.34. |
| 2289 |
|
| 2290 |
- #485 - Fix build on Rust earlier than 1.36 (Kleis Auke Wolthuizen). |
| 2291 |
|
| 2292 |
- More polishing of the Windows build (Chun-wei Fan). |
| 2293 |
|
| 2294 |
- Update gtk-rs and dependent crates (Bastien Orivel) |
| 2295 |
|
| 2296 |
Version 2.45.7 |
| 2297 |
============== |
| 2298 |
|
| 2299 |
- Fix #463 - Don't panic if an SVG has character data outside the |
| 2300 |
first element. |
| 2301 |
|
| 2302 |
- Fix #467: Don't panic when there's an xi:include fallback with no |
| 2303 |
parent element. Thanks to Bastien Orivel for running afl-fuzz |
| 2304 |
on librsvg. |
| 2305 |
|
| 2306 |
- Fix #471: Fix blurry semi-opaque objects when rendering with a |
| 2307 |
scaled transformation. Thanks to the gnome-games people for |
| 2308 |
isolating a test case and to Evgeniy Reizner for providing a more |
| 2309 |
minimal one. |
| 2310 |
|
| 2311 |
- Fix #481: Don't ignore the first x/y/dx/dy in text/tspan elements if |
| 2312 |
there is more than one position specified. |
| 2313 |
|
| 2314 |
- #452 - In librsvg_crate, SvgHandle now has a ::has_element_with_id() |
| 2315 |
method. |
| 2316 |
|
| 2317 |
- rsvg-convert now catches the case where the SVG has no dimensions. |
| 2318 |
|
| 2319 |
- Replaced the Visual Studio build infrastructure for NMake |
| 2320 |
(Chun-wei Fan). |
| 2321 |
|
| 2322 |
- This version no longer contains the rsvg-view program, so librsvg no |
| 2323 |
longer depends on GTK. Please see |
| 2324 |
https://viruta.org/removing-rsvg-view.html for |
| 2325 |
the rationale behind this change. |
| 2326 |
|
| 2327 |
- The poly element no longer supports "verts" as an alias for the |
| 2328 |
"points" attribute. The "verts" name was only used in SVG pre-1.0, |
| 2329 |
and we had been cargo-culting that name ever since. |
| 2330 |
|
| 2331 |
- We now use more machinery from Mozilla Servo, in this case the |
| 2332 |
markup5ever and rust-selectors crates. This is in line with |
| 2333 |
gradually replacing libcroco with a Rust-only CSS machinery. |
| 2334 |
|
| 2335 |
- Lots and lots of refactoring and cleanups: use the rctree crate |
| 2336 |
instead of our own tree representation; remove interior mutability |
| 2337 |
in element structs; make the gradients and patterns code less |
| 2338 |
repetitive (Paolo Borelli). |
| 2339 |
|
| 2340 |
- Update some dependencies (Bastien Orivel). |
| 2341 |
|
| 2342 |
- New section in COMPILING.md about cross-compilation to Windows using |
| 2343 |
mingw (Takuro Ashie) |
| 2344 |
|
| 2345 |
- Fix static linking and Windows builds (Kleis Auke Wolthuizen). |
| 2346 |
|
| 2347 |
Version 2.45.6 |
| 2348 |
============== |
| 2349 |
- Librsvg now requires Rust 1.30.0 or later. |
| 2350 |
|
| 2351 |
- Librsvg now requires Cairo 1.16.0 or later. Thanks to |
| 2352 |
Julian Sparber for keeping up with cairo-rs API changes. |
| 2353 |
|
| 2354 |
- This version introduces librsvg_crate, an idiomatic Rust crate for |
| 2355 |
using librsvg from Rust programs directly, without using GObject |
| 2356 |
machinery. This API is subject to change, but you can start using |
| 2357 |
it now in an experimental fashion. Thanks to Paolo Borelli and |
| 2358 |
Jordan Petridis for fine-tuning this new API. |
| 2359 |
|
| 2360 |
- All of the librsvg internals are now in Rust! The C code is just a |
| 2361 |
thin wrapper over Rust functions. |
| 2362 |
|
| 2363 |
- The internals library has been converted to Rust 2018 (Jordan Petridis). |
| 2364 |
|
| 2365 |
- Within librsvg_crate, there is a new infrastructure for doing |
| 2366 |
reftests in Rust, that does not depend on PNG reference files. See |
| 2367 |
librsvg_crate/tests for details. |
| 2368 |
|
| 2369 |
- This release introduces the following new APIs: |
| 2370 |
rsvg_handle_get_intrinsic_dimensions(), |
| 2371 |
rsvg_handle_get_geometry_for_element(). |
| 2372 |
|
| 2373 |
- Parsing of the "style" attribute, which has a plain list of CSS |
| 2374 |
property declarations, is now done with rust-cssparser. |
| 2375 |
- CSS selector matching should be marginally faster than before. |
| 2376 |
|
| 2377 |
- Fix Visual Studio builds (Chun-wei Fan). |
| 2378 |
|
| 2379 |
- Fix #11 - Respect the "direction" property for bidirectional text (Khaled Hosny). |
| 2380 |
|
| 2381 |
- Fix #295 - Ensure the initial viewport fits into temporary surfaces for compositing |
| 2382 |
|
| 2383 |
- Fix #425 - Don't fail parsing if the system's locale is broken (Paolo Borelli). |
| 2384 |
|
| 2385 |
- Fix #438, #443 - Don't create intermediate raster surfaces unless |
| 2386 |
absolutely needed. This was causing blurred output for SVGs from |
| 2387 |
Inkscape and Illustrator, since they include an "enable-background" |
| 2388 |
property even when there are no filters in use. Thanks to Julian |
| 2389 |
Sparber, Jordan Petridis, Zeeshan Ali for doing a huge "git bisect" |
| 2390 |
to find the cause of this bug. |
| 2391 |
|
| 2392 |
- Fix #443 - Fix blurry output when enable-background is used without filters. |
| 2393 |
|
| 2394 |
- Fix #455 - Fix rounding error on i386 (Olivier Tilloy). |
| 2395 |
|
| 2396 |
- Check for Cairo errors when constructing paths. |
| 2397 |
|
| 2398 |
Version 2.45.5 |
| 2399 |
============== |
| 2400 |
|
| 2401 |
- At build time, you can now pass $CARGO and $RUSTC environment |
| 2402 |
variables if you need to override the default Rust toolchain. |
| 2403 |
Please see COMPILING.md for details. (Tobias Kortkamp) |
| 2404 |
- Fix #405 - In the gdk-pixbuf loader, don't crash if the write() |
| 2405 |
function doesn't receive a GError. |
| 2406 |
- Fix #268 - Remove the comp-op property; it's not in SVG 1.1 nor SVG 2. |
| 2407 |
- Fix #415 - register RsvgHandleFlags and the RsvgError enum values in |
| 2408 |
a thread-safe fashion (Sebastian Dröge). |
| 2409 |
- All of the library's non-GObject functionality is implemented in |
| 2410 |
Rust now. |
| 2411 |
- Update the cairo crate (Kornel Lesiński). |
| 2412 |
- Clean up the loading code paths (Paolo Borelli). |
| 2413 |
- Updated compilation docs for Debian (Jordan Petridis) |
| 2414 |
- Updated parts of the reference documentation. |
| 2415 |
|
| 2416 |
Version 2.45.4 |
| 2417 |
============== |
| 2418 |
|
| 2419 |
- Brown paper bag release, my apologies. |
| 2420 |
- Fix #402 - Fix the library's soname. Thanks to Gabriele Balducci |
| 2421 |
for reporting it, and Kalev Lember for fixing it. |
| 2422 |
|
| 2423 |
Version 2.45.3 |
| 2424 |
============== |
| 2425 |
|
| 2426 |
- Big news! All the real work in the library is now implemented in |
| 2427 |
Rust. The public API is implemented in C, but most it calls |
| 2428 |
immediately into the Rust code. Special thanks to Paolo Borelli and |
| 2429 |
Carlos MartÃn Nieto for making this possible. |
| 2430 |
|
| 2431 |
- rsvg_handle_set_base_uri() now really assumes that it is passed a |
| 2432 |
URI. Previously it would try to differentiate between real URIs, |
| 2433 |
and absolute or relative file paths. If this breaks your code |
| 2434 |
(i.e. you are passing a filename, not a URI), please tell us so we |
| 2435 |
can restore the old behavior! |
| 2436 |
|
| 2437 |
- Fix #395 - Don't panic in feMorphology if it ends up with a negative |
| 2438 |
scaling transformation. |
| 2439 |
- Fix #398 - Detect circular references in gradients. |
| 2440 |
- Match the Firefox/Chrome behavior on gradients and patterns with |
| 2441 |
circular references for fallbacks (Paolo Borelli). |
| 2442 |
- Fixes for Rust 1.30 and below (Jordan Petridis). |
| 2443 |
- Lots and lots of refactoring (Paolo Borelli, Federico Mena). |
| 2444 |
|
| 2445 |
Version 2.45.2 |
| 2446 |
============== |
| 2447 |
|
| 2448 |
- rsvg_cleanup() is now deprecated. This was only meant to be called |
| 2449 |
from code to be checked by Valgrind. Leak checkers may show |
| 2450 |
reachable memory from libxml2; real memory leaks should still be |
| 2451 |
reported, of course. (Kornel Lesiński). |
| 2452 |
|
| 2453 |
- As an experimental change, librsvg no longer calls xmlInitParser() |
| 2454 |
from libxml2. Please tell us if this causes problems for |
| 2455 |
multithreaded programs. |
| 2456 |
|
| 2457 |
- Added g_warning()s to ensure the API is called in the correct |
| 2458 |
sequence. |
| 2459 |
|
| 2460 |
- The text handling code has been completely refactored and |
| 2461 |
simplified. This will allow us to implement the x/y/dx/dy |
| 2462 |
properties for multiple glyphs in the future. Please report any |
| 2463 |
problems you experience in text rendering. |
| 2464 |
|
| 2465 |
- Fix #385 - Don't crash if there is no rsvg_handle_write() before |
| 2466 |
rsvg_handle_close(). |
| 2467 |
- Fix #391 - Avoid undefined behavior when casting opaque pointers |
| 2468 |
(Jordan Petridis). |
| 2469 |
- Fix crash when a linear RGB filter is followed by an SRGB filter |
| 2470 |
(Ivan Molodetskikh). |
| 2471 |
- Fix #393 - Stack overflow when freeing thousands of sibling elements. |
| 2472 |
- Fix positioning of adjacent <tspan> elements. |
| 2473 |
- All the toplevel loading and drawing code is implemented in Rust now. |
| 2474 |
- Pixbuf conversion code is in Rust now (Paolo Borelli). |
| 2475 |
- Cleanups in the code for XML processing, markers, attributes (Paolo |
| 2476 |
Borelli). |
| 2477 |
- Many build/link fixes (Jordan Petridis). |
| 2478 |
- Cleanups in the code that calls libxml2 (Kornel Lesiński). |
| 2479 |
|
| 2480 |
Version 2.45.1 |
| 2481 |
============== |
| 2482 |
|
| 2483 |
- New public API, rsvg_handle_get_geometry_sub(), to get the exact |
| 2484 |
geometry of an element. The functions |
| 2485 |
rsvg_handle_get_position_sub() and rsvg_handle_get_dimensions_sub() |
| 2486 |
are deprecated now; these returned incomplete data with integer |
| 2487 |
coordinates (Julian Sparber). |
| 2488 |
|
| 2489 |
- rsvg_handle_write() and rsvg_handle_close() are now deprecated in |
| 2490 |
favor of the functions which use a GInputStream. The former need to |
| 2491 |
buffer the entire SVG data first; the latter don't need buffering. |
| 2492 |
|
| 2493 |
- Librsvg no longer tries to load XML entities which reference |
| 2494 |
external resources, either parameter or general entities, declared |
| 2495 |
in the DTD. This never worked properly, and it is better to do so |
| 2496 |
via the xi:include mechanism. Also, unparsed external entities with |
| 2497 |
a notation are not really supported in SVG; it has its own <image> |
| 2498 |
element and similar for that purpose. Only internal general |
| 2499 |
entities are supported now, for example: |
| 2500 |
|
| 2501 |
<!ENTITY foo "<some xml here>"> |
| 2502 |
<!ENTITY bar "some text here"> |
| 2503 |
|
| 2504 |
- Started support for localized error messages (Daniel GarcÃa Moreno). |
| 2505 |
|
| 2506 |
- Ported to Rust: loading code, XML processing code, data: URL parsing, |
| 2507 |
|
| 2508 |
- Many code cleanups and refactorings, courtesy of Paolo Borelli. |
| 2509 |
- Fix undefined behavior in casts (Jordan Petridis). |
| 2510 |
- Cairo/Rust API updates by Julian Sparber. |
| 2511 |
- configure.ac cleanups by Maya Rashish. |
| 2512 |
|
| 2513 |
Version 2.45.0 |
| 2514 |
============== |
| 2515 |
|
| 2516 |
- Librsvg now requires Rust 1.27. |
| 2517 |
- Librsvg now requires Cairo 1.15.12. |
| 2518 |
- Fix building when srcdir != builddir (Mathieu Bridon). |
| 2519 |
- Fix #339 - Panic in filters with primitiveUnits="objectBoundingBox" |
| 2520 |
on zero-sized elements (Ivan Molodetskikh). |
| 2521 |
- Fix #335 - Don't panic if the toplevel node is not <svg>. |
| 2522 |
- Fixes from fuzz testing (Ivan Molodetskikh): don't panic when the |
| 2523 |
feConvolveMatrix kernel is not set; fix upper bounds in filter pixel |
| 2524 |
getters. |
| 2525 |
- Fix #337 - Don't panic with "em" or "ex" units in the font-size property. |
| 2526 |
- Fix #338 - Don't panic when an image element doesn't have |
| 2527 |
width/height attributes. |
| 2528 |
- Fix #340 - Don't panic when a marker has a zero-sized viewBox attribute. |
| 2529 |
- Fix #341 - Don't infinite-loop with cyclic pattern references. |
| 2530 |
- Fix #342 - Don't crash if a <use> node references one of its ancestors. |
| 2531 |
- Special thanks to Ivan Molodetskikh for doing a fuzz-testing run for |
| 2532 |
this round. |
| 2533 |
- Fix #344 - Don't panic when a viewBox has overflowing numbers. |
| 2534 |
- Fix #345 - Fix panics due to bad path parsing and overflows in |
| 2535 |
surface size. |
| 2536 |
- Updates to the CI infrastructure and the build documentation (Jordan |
| 2537 |
Petridis). |
| 2538 |
- Cleanups and refactoring (Paolo Borelli, Linus Unnebäck, Federico Mena). |
| 2539 |
- Fix #343 - Handle child being in error in feComponentTransfer. |
| 2540 |
- Fix #346 - Handle filter primitives producing errors. |
| 2541 |
- Fix #347 - Regression in computation of text element extents. |
| 2542 |
- Fix #348 - Fix incorrect font sizing. |
| 2543 |
- Fix #349 - Don't panic when loading an external image that is bigger |
| 2544 |
than Cairo's limits. |
| 2545 |
- Fix - rsvg_handle_get_dimensions_sub() no longer panics if passed a |
| 2546 |
nonexistent fragment identifier. |
| 2547 |
- Fix 32-bit builds (Jordan Petridis). |
| 2548 |
- Fix #256 - Correctly match the systemLanguage attribute with the |
| 2549 |
user's locale. |
| 2550 |
- Fix #320 - Parse xml:lang correctly. |
| 2551 |
- Fix #334 - Don't modify the caller's cairo_t state during rendering. |
| 2552 |
- Fix #349 - Don't panic if we get a "data:" URI with empty data. |
| 2553 |
- Fix #352 - Don't panic on getting a very large "order" for |
| 2554 |
feConvolveMatrix (Ivan Molodetskikh). |
| 2555 |
- Fix #363 - Don't drop spaces around <tspan> elements. |
| 2556 |
- Fix #365 - rsvg-convert now uses pixel units for SVG output, instead |
| 2557 |
of points. This requires cairo 1.15.12 (Antonio Ospite). |
| 2558 |
- Fix #358, #366 - tweaks to have the test suite pass on i386 and |
| 2559 |
non-x86_64 platforms (Simon McVittie, Federico Mena). |
| 2560 |
- Fix #368 - With RSVG_LOG=1, librsvg will now report when SVGs have |
| 2561 |
references to nonexistent elements, to aid debugging (for example, |
| 2562 |
in an xlink:href attribute). |
| 2563 |
- Fix #371 - rsvg-convert was positioning extracted elements |
| 2564 |
incorrectly when using the -w/-h options together with --export-id. |
| 2565 |
- Fix #372 - Mis-rendering in small arc segments. |
| 2566 |
- Fix #373 - Rendering of gradients for horizontal/vertical stroked |
| 2567 |
lines with gradientUnits="userSpaceOnUse". |
| 2568 |
- Fix a couple of memory leaks in the error paths of the GdkPixbuf |
| 2569 |
loader (Benedikt Heine). |
| 2570 |
- Allow reference tests with a small difference to pass without |
| 2571 |
breaking the build (Simon McVittie). |
| 2572 |
- CSS processing code is now in Rust, although it still calls libcroco |
| 2573 |
to do the parsing. |
| 2574 |
- XML processing code is partially moved to Rust, although it still |
| 2575 |
calls libxml2 for the XML parsing. |
| 2576 |
- Special thanks to Alex Crichton for ensuring that MacOS builds work. |
| 2577 |
|
| 2578 |
Version 2.44.2 |
| 2579 |
============== |
| 2580 |
|
| 2581 |
- A *double brown paper bag* release! Super strong, this one! |
| 2582 |
- Fix #325 - Don't leak all the elements at the toplevel. |
| 2583 |
- Fix #328 - Make masking work on big-endian. Thanks to |
| 2584 |
Simon McVittie for quick testing of this on s390x. |
| 2585 |
- Fix library ordering so -Wl,--as-needed works (Simon McVittie). |
| 2586 |
|
| 2587 |
Version 2.44.1 |
| 2588 |
============== |
| 2589 |
|
| 2590 |
- This is a brown paper bag release! Apologies for the bugs: |
| 2591 |
- Fix #324 - Don't panic if trying to render a non-empty SVG with no |
| 2592 |
elements (Paolo Borelli). |
| 2593 |
- Fix #325 - All the elements were being leaked at the toplevel. |
| 2594 |
- Fix #326 - Fix COMPILING.md - librsvg 2.44 does not build on Ubuntu |
| 2595 |
18.04 because it has a rust version that is too old. |
| 2596 |
|
| 2597 |
Version 2.44.0 |
| 2598 |
============== |
| 2599 |
|
| 2600 |
- Librsvg now has minimal logging for debugging by setting the |
| 2601 |
RSVG_LOG environment variable. See CONTRIBUTING.md for details. |
| 2602 |
- Speed improvements for Gaussian blur, SRGB conversions, and various |
| 2603 |
filters (Ivan Molodetskikh). |
| 2604 |
- Fix #264 - the letter-spacing property now supports "normal" in |
| 2605 |
addition to lengths (Paolo Borelli). |
| 2606 |
- Fix #318 - the font-weight property was being parsed incorrectly. |
| 2607 |
- Fix #323 - don't use 100% "forever" with malicious SVGs that cause |
| 2608 |
an exponential number of elements to be instanced through the |
| 2609 |
<use> element. We limit the number of <use> instances now. |
| 2610 |
- Fix #293 - Don't panic when masking an empty group. |
| 2611 |
- Fix #319 - Parse single font-family correctly. |
| 2612 |
- Cleanups for the internal representation of elliptical arcs in paths |
| 2613 |
(letheed). |
| 2614 |
|
| 2615 |
Version 2.43.4 |
| 2616 |
============== |
| 2617 |
|
| 2618 |
- This is an early release to test the effects of threading in librsvg. |
| 2619 |
- The lighting and Gaussian blur filters are now parallelized with |
| 2620 |
Rayon; they will use all available cores (Ivan Molodetskikh). |
| 2621 |
|
| 2622 |
Version 2.43.3 |
| 2623 |
============== |
| 2624 |
|
| 2625 |
- Tentative fix: #309 - Don't panic if rendering to a non-image Cairo surface. |
| 2626 |
- Optimizations for Gaussian blur and other filters (Ivan Molodetskikh). |
| 2627 |
- Optimizations in SRGB <-> linear RGB conversions (Ivan Molodetskikh). |
| 2628 |
- More C to Rust conversion in the loading code (Paolo Borelli). |
| 2629 |
|
| 2630 |
Version 2.43.2 |
| 2631 |
============== |
| 2632 |
|
| 2633 |
- All the filter effects have been ported to Rust as part of Ivan |
| 2634 |
Molodetskikh's Summer of Code project!!!!! |
| 2635 |
- We now require Rust 1.26. |
| 2636 |
- We now include Rust debug information even in release builds, to make it |
| 2637 |
easier to obtain stack traces. |
| 2638 |
- Fix #310 - Respect DPI in the font-size property (Mike Marcacci). |
| 2639 |
- Fix: draw the circle/ellipse elements with the same orientation as |
| 2640 |
the SVG 1.1 test suite; this is relevant for stroke-dasharray (Ivan |
| 2641 |
Molodetskikh). |
| 2642 |
- Refactoring of the drawing code and font sizes (Paolo Borelli). |
| 2643 |
- New filters in Rust: feConvolveMatrix, feColorMatrix, feMorphology, |
| 2644 |
feDisplacementMap, feGaussianBlur, feDistantLight, feSpotLight, |
| 2645 |
fePointLight, feTile. |
| 2646 |
- Updated Rust dependencies (Igor Gnatenko). |
| 2647 |
|
| 2648 |
Version 2.43.1 |
| 2649 |
============== |
| 2650 |
|
| 2651 |
- Fix: #259 - Test fonts should now work with --enable-installed-tests |
| 2652 |
- Fix: #277 - Don't panic when trying to filter an empty group |
| 2653 |
(Ivan Molodetskikh). |
| 2654 |
- Fix: #292 - Don't panic if we try to clip an empty group. |
| 2655 |
- Fix the feOffset filter's coordinate parsing. (Ivan Molodetskikh). |
| 2656 |
- Fix linearization of SRGB data in the feComposite filter (Ivan |
| 2657 |
Molodetskikh). |
| 2658 |
- Fix CSS cascading in filters (Ivan Molodetskikh). |
| 2659 |
- Fix, don't render filters if they are in error (Ivan Molodetskikh). |
| 2660 |
- Fixed a couple of memory leaks in the test suite. |
| 2661 |
- Filters now support FillPaint and StrokePaint for input (Ivan Molodetskikh). |
| 2662 |
- Filters now support the color-interpolation-filters property |
| 2663 |
(Ivan Molodetskikh). |
| 2664 |
- The feImage, feBlend, feComponentTransfer filters are now in Rust |
| 2665 |
(Ivan Molodetskikh). |
| 2666 |
- The feOffset filter now supports fractional offsets (Ivan Molodetskikh). |
| 2667 |
- The drawing context code is now in Rust. This is a tremendous |
| 2668 |
amount of work! (Paolo Borelli) |
| 2669 |
- All the style property parsers have been moved to rust-cssparser. |
| 2670 |
|
| 2671 |
Version 2.43.0 |
| 2672 |
============== |
| 2673 |
|
| 2674 |
- This is the start of the 2.43 development series, and you bet we are |
| 2675 |
doing extensive changes! |
| 2676 |
- Many, many thanks to Jordan Petridis for keeping our Continuous |
| 2677 |
Infrastructure updated all the time, and for emergency fixes when |
| 2678 |
they were necessary. |
| 2679 |
- As part of the Summer of Code 2018, Ivan Molodetskikh is porting the |
| 2680 |
filter effects to Rust. These are done so far: core filters |
| 2681 |
infrastructure, feComposite, feMerge, feOffset. The only remaining |
| 2682 |
SVG elements done in C pertain to filter effects, and Ivan is taking |
| 2683 |
care of them. |
| 2684 |
- The feComposite filter now operates in linear RGB space, for better |
| 2685 |
spec compliance. We transform back to SRGB for the final results |
| 2686 |
(see issue #275 for pending work on fully supporting this |
| 2687 |
elsewhere). |
| 2688 |
- Filters now compute their bounds to floating-point values, instead |
| 2689 |
of clipping them to integers. |
| 2690 |
- The text, tspan, tref elements are now in Rust (Paolo Borelli). |
| 2691 |
- Text rendering should be better. We now perform text measurement |
| 2692 |
operations with the actual affine transformation that the text will |
| 2693 |
use in the end. This should give Pango/Freetype a better chance of |
| 2694 |
doing scale-appropriate hinting. |
| 2695 |
- The basic styling infrastructure has moved to Rust (Paolo Borelli, |
| 2696 |
Federico Mena). We don't use the old and limited cascading code |
| 2697 |
anymore. We also audited which CSS properties are supposed to |
| 2698 |
inherit automatically or not; this should be working per the SVG |
| 2699 |
spec now. Special thanks to Paolo for doing the largest part of the |
| 2700 |
work in moving the style data to Rust; this was a painstaking, |
| 2701 |
months-long process of constant refactoring. |
| 2702 |
- The internals of the drawing infrastructure and bounding-box |
| 2703 |
computation are now done in Rust (Paolo Borelli). |
| 2704 |
- Element creation from the parsing stage is now in Rust (Saurav |
| 2705 |
Sachidanand). |
| 2706 |
- Clipping and Masking are now done in Rust (Paolo Borelli). |
| 2707 |
- Our tests now include the full Adwaita icon theme, so it doesn't |
| 2708 |
break. |
| 2709 |
- Fix: #241 - feDistantLight and feSpotLight now work again. |
| 2710 |
- Fix: #282 - feComposite is fixed not to overwrite the source image |
| 2711 |
in some cases; this fixes drop shadows generated from Inkscape (Ivan |
| 2712 |
Molodetskikh). |
| 2713 |
- We have the beginnings of Windows CI, courtesy of Guillaume Gomez. |
| 2714 |
- Changes from 2.42.4: |
| 2715 |
- Fix: elements with systemLanguage attributes without variants now |
| 2716 |
work better (Paolo Borelli). |
| 2717 |
- gitlab#227 - Fix: we now catch negative values in stroke-dasharray |
| 2718 |
properties instead of leaving the cairo_t in an error state. |
| 2719 |
- gitlab#228 - Fix: empty transform attribute now correctly yields an |
| 2720 |
identity transform (Dmitry Kontsevoy). |
| 2721 |
- Fix possible crash on invalid gradient references. |
| 2722 |
- Make robust against patterns and gradients with no children. |
| 2723 |
- Lots of code cleanups and refactorings (Jordan Petridis, Dmitry |
| 2724 |
Kontsevoy, Ivan Molodetskikh). |
| 2725 |
- Code moved to Rust: low-level path and PangoLayout drawing, "switch" |
| 2726 |
element (Paolo Borelli). |
| 2727 |
- New Rust dependencies: float_cmp, pangocairo crates. |
| 2728 |
- We now require Rust 1.21 or later. |
| 2729 |
- Changes from 2.42.5: |
| 2730 |
- #276 - rsvg_handle_render_cairo() will now refuse to render if the |
| 2731 |
cairo_t passed to it is in an error state. Fixes a panic in the |
| 2732 |
cairo-dock program. |
| 2733 |
- #206 - The test suite now writes test artifacts to tests/output |
| 2734 |
instead of /tmp (Saurav Sachidanand). |
| 2735 |
|
| 2736 |
Version 2.42.3 |
| 2737 |
============== |
| 2738 |
|
| 2739 |
- gitlab#205 - The configure script now checks for Rust 1.20.0 - |
| 2740 |
previously this minimum requirement was not well-defined. |
| 2741 |
- gitlab#204 - New feature: If an SVG has an <a> link element, we now |
| 2742 |
generate the corresponding link when outputting to a Cairo PDF |
| 2743 |
surface. If you use rsvg-convert(1) with PDF output, <a> links in |
| 2744 |
the SVG will work in the PDF (Dmitry Kontsevoy). |
| 2745 |
- gitlab#108 - New feature: support font-size:larger and font-size:smaller |
| 2746 |
relative sizes. |
| 2747 |
- New feature: rsvg-convert now supports SOURCE_DATE_EPOCH per |
| 2748 |
https://reproducible-builds.org/specs/source-date-epoch/ to generate |
| 2749 |
reproducible output for PDFs (Chris Lamb). |
| 2750 |
- gitlab#197 - New requirement: We now require Freetype2 2.9.0, which |
| 2751 |
fixes font rendering bugs. The test reference PNGs have been |
| 2752 |
regenerated with this version. You may see changes in font |
| 2753 |
rendering as a result of this updated requirement. |
| 2754 |
- gitlab#91 - Fix rendering of masks and clips when the initial |
| 2755 |
transformation has a translation component (Massimo). |
| 2756 |
- gitlab#112 - Fix: apply style attributes for all SVG elements, not just |
| 2757 |
for the toplevel one. |
| 2758 |
- gitlab#161 - Fix the marker angle for the last vertex of closed |
| 2759 |
paths (Juraj Fiala). |
| 2760 |
- gitlab#198 - Fix: Make rsvg_pixbuf_from_file() and its derived |
| 2761 |
functions work again. Now we have tests for the whole public API. |
| 2762 |
- gitlab#143 - Minor optimizations for Gaussian blurs (Timm Bäder). |
| 2763 |
- gitlab#201 - Minor speedups in the code to parse SVG attributes. |
| 2764 |
- gitlab#178 - Fix some tests that failed on 32-bit machines. |
| 2765 |
- COMPILING.md now lists our build dependencies, and has command lines |
| 2766 |
which you can use on openSUSE/Fedora/Debian/Ubuntu/MacOS to set up a |
| 2767 |
development environment for librsvg (Jordan Petridis, Brion Vibber). |
| 2768 |
- gitlab#211 - Running the configure script on MacOS now works and |
| 2769 |
doesn't try to use -Bsymbolic for linking (Brion Vibber). |
| 2770 |
- gitlab#In addtion to --enable-debug/--disable-debug to control the Rust |
| 2771 |
compilation, now you can use an environment variable |
| 2772 |
LIBRSVG_DEBUG=yes / LIBRSVG_DEBUG=no if you wish. |
| 2773 |
- Code moved to Rust: SVG paint servers (Dmitry Kontsevoy), SVG |
| 2774 |
attribute parsing. |
| 2775 |
- We now use a Cargo workspace internally, to move more things to Rust |
| 2776 |
(Jordan Petridis, Chun-wei Fan). |
| 2777 |
- Special thanks in this release to Jordan Petridis for MAJOR |
| 2778 |
improvements to our Continuous Integration infrastructure, the |
| 2779 |
repository structure, and updates to the compilation documentation. |
| 2780 |
Also for setting up 32-bit builds for continuous integration. |
| 2781 |
|
| 2782 |
Version 2.42.2 |
| 2783 |
============== |
| 2784 |
|
| 2785 |
- gitlab#193 - Don't crash when feConvolveMatrix doesn't specify |
| 2786 |
orderx/ordery attributes. |
| 2787 |
- gitlab#136 - Parse stroke-dasharray property correctly. This code |
| 2788 |
is in Rust now; yay! (Jordan Petridis). |
| 2789 |
- Don't render markers if they are zero-sized, per the spec. |
| 2790 |
- Performance: eliminate a bunch of string copies during parsing. |
| 2791 |
- Update rust-cssparser to 0.23 (Igor Gnatenko). |
| 2792 |
|
| 2793 |
Version 2.42.1 |
| 2794 |
============== |
| 2795 |
|
| 2796 |
- gitlab#182 - Parse the transform attribute in a faster/simpler way. |
| 2797 |
We now use rust-cssparser instead of lalrpop. This is especially |
| 2798 |
noticeable on SVGs with lots of "transform" attributes. |
| 2799 |
- gitlab#187 - Don't crash when setting a gradient on a zero-sized object. |
| 2800 |
- gitlab#184 - (Windows) Don't use PangoFT2 if not available (Chun-wei Fan). |
| 2801 |
- gitlab#181 - Inherit attributes in the <svg> element properly. |
| 2802 |
- gitlab#160 - rsvg-convert - fix error reporting when reading from |
| 2803 |
stdin (Phlip Withnall). |
| 2804 |
- gitlab#152 - Fix detection of image type in "data:" URIs when they |
| 2805 |
don't specify a MIME type (Andreas Smas). |
| 2806 |
- gitlab#117 - (Windows) rsvg-convert - Set stdout to O_BINARY |
| 2807 |
(Bakhtiar Hasmanan). |
| 2808 |
- gitlab#133 - More stringent parsing of path data; better tests. |
| 2809 |
- (Windows/MSVC) Fix linking of the Rust internals library (Chun-wei Fan). |
| 2810 |
- Fix typos and links in the .md files. |
| 2811 |
|
| 2812 |
Version 2.42.0 |
| 2813 |
============== |
| 2814 |
|
| 2815 |
- Fix a memory leak in rsvg_handle_new_from_file() (Lovell Fuller). |
| 2816 |
- Optimize the xml:space normalization function (Jordan Petridis). |
| 2817 |
- gitlab#179 - fix a runtime warning in the feMergeNode code. |
| 2818 |
- gitlab#175 - Clarify documentation about the rsvg_*_sub() APIs. |
| 2819 |
- Stylistic fixes from cargo-clippy (Jordan Petridis). |
| 2820 |
- Port the Pango glue code to Rust. |
| 2821 |
- New ARCHITECTURE.md with a description of librsvg's internals. |
| 2822 |
|
| 2823 |
Version 2.41.2 |
| 2824 |
============== |
| 2825 |
|
| 2826 |
- We now require glib 2.52.0. |
| 2827 |
- bgo#787895 - Fix mis-use of libxml2. Thanks to Nick Wellnhofer for |
| 2828 |
the guidance. |
| 2829 |
- bgo#761175 - Allow masks and clips to reuse a node being drawn. |
| 2830 |
- Fix xml:space normalization, per the spec. |
| 2831 |
- Don't access the file system when deciding whether to load a remote |
| 2832 |
file with a UNC path for a paint server (i.e. don't try to load it at all). |
| 2833 |
- We now support cross-compilation of the Rust code (David Michael). |
| 2834 |
See COMPILING.md for details. |
| 2835 |
- Fixed bugs from Coverity runs (Philip Withnall). |
| 2836 |
- Vastly improved README.md, new COMPILING.md, improved CONTRIBUTING.md. |
| 2837 |
- Markers now have the correct default size per the SVG spec. |
| 2838 |
- Visual Studio: We now use HIGHENTROPYVA linker option on x64 builds, |
| 2839 |
to enhance the security of built binaries (Chun-wei Fan). |
| 2840 |
- Cargo is now verbose as well if you use "make V=1". |
| 2841 |
- Fixed some memory leaks. |
| 2842 |
- Don't render elements that establish a viewport if their viewBox |
| 2843 |
size is 0, per the spec. |
| 2844 |
- SVG elements ported to Rust: image, clipPath, mask, character data in elements. |
| 2845 |
- Fixed loading files one byte at a time. |
| 2846 |
- Reference documentation is now DocBook 5.1. |
| 2847 |
- Reference docs now have an overview of the library. |
| 2848 |
- Distribute README.md in the tarball properly. |
| 2849 |
- Expanded the test suite. |
| 2850 |
- Lots of internal refactoring. |
| 2851 |
|
| 2852 |
Version 2.41.1 |
| 2853 |
============== |
| 2854 |
|
| 2855 |
- The feConvolveMatrix filter primitive wasn't being rendered at all; |
| 2856 |
now it works. |
| 2857 |
- Pattern specifications can now have a fallback color, per the spec - |
| 2858 |
https://www.w3.org/TR/SVG/painting.html#SpecifyingPaint |
| 2859 |
- Tests now use a very basic form of reproducible font rendering. |
| 2860 |
This means that "make check" should pass even if you have a custom |
| 2861 |
Fontconfig setup. |
| 2862 |
- Fixed recursive fallbacks in gradients. |
| 2863 |
- Per the spec, we now don't render elements which have invalid |
| 2864 |
attributes. |
| 2865 |
- Windows build: support building with Fontconfig; support Visual |
| 2866 |
Studio 2017; generate .pc files upon install (Chun-wei Fan) |
| 2867 |
- Fixed bgo#621088 - Text elements can now be used as clipping paths. |
| 2868 |
- Fixed bgo#587721 - Fix rendering of text elements with transformations |
| 2869 |
(Massimo) |
| 2870 |
- Fixed bgo#776932 - Don't crash on elements with an invalid |
| 2871 |
"transform" attribute. |
| 2872 |
- Fixed bgo#777155 - Ignore patterns that have close-to-zero dimensions. |
| 2873 |
- Fixed bgo#776297 - Don't render markers for rect / circle elements; |
| 2874 |
fix marker angles in some cases (Massimo). |
| 2875 |
- Fixed bgo#777834 - Don't crash when rendering text with empty |
| 2876 |
extents. |
| 2877 |
- Fixed bgo#634324 - Gaussian blur with negative-scaling |
| 2878 |
transformation was being rendered incorrectly. |
| 2879 |
- Fixed bgo#783835 - Don't divide by zero in Gaussian blurs |
| 2880 |
- Fixed division by zero in feTile filter when the input surface is |
| 2881 |
empty. |
| 2882 |
- Fixed bgo#779489 - Link to pangoft2 as required. |
| 2883 |
- Don't crash in filters when one of them yields an invalid surface |
| 2884 |
for an intermediate result. |
| 2885 |
- Update for bgo#778666 - Use our own thumbnailer specification file |
| 2886 |
(Jeremy Bicha). |
| 2887 |
- Fixed bgo#782098 - Don't pass deprecated options to gtkdoc-scangobj |
| 2888 |
(Ting-Wei Lan). |
| 2889 |
- Fixed bgo#777833 - Various memory leaks (Philip Withnall, Federico Mena) |
| 2890 |
- Fixed bgo#786372 - Use the correct default for the style element's |
| 2891 |
"type" attribute. |
| 2892 |
- Fixed bgo#634514 - Don't render unknown elements and their children. |
| 2893 |
- Fix parsing of "azimuth", "elevation", "limitingConeAngle" for |
| 2894 |
filter effects. |
| 2895 |
- Fixed bgo#785276 - Don't crash on empty or single-byte files. |
| 2896 |
- Made the <switch> element work; SVG feature names were being |
| 2897 |
tested incorrectly. |
| 2898 |
- Fixed a few cases of uninitialized struct fields. |
| 2899 |
- Code converted to Rust: preserveAspectRatio attribute, viewBox |
| 2900 |
attribute, core Node structure, path/line/rect/circle/ellipse basic |
| 2901 |
shapes, group/defs/switch/svg/use/symbol structural elements, pattern element |
| 2902 |
and pattern fallbacks, marker rendering, various parsers, error |
| 2903 |
propagation from parsers, gradient stops, gradient element, |
| 2904 |
- Added a bunch of new test cases for the new features and the |
| 2905 |
code converted to Rust. |
| 2906 |
- We now require cairo-rs 0.2.0 |
| 2907 |
- We now require lalrpop 0.13.1 |
| 2908 |
- The librsvg tarball now comes with the Rust dependencies embedded |
| 2909 |
using "cargo vendor". Linux distros can replace these dependencies |
| 2910 |
with their own versions using the infrastructure described in |
| 2911 |
http://doc.crates.io/source-replacement.html |
| 2912 |
|
| 2913 |
Version 2.41.0 |
| 2914 |
============== |
| 2915 |
|
| 2916 |
- The big news is that parts of librsvg are now implemented in the |
| 2917 |
Rust programming language, instead of C. The public API remains |
| 2918 |
identical. Rust should provide us with memory safety and nicer |
| 2919 |
built-in abstractions for the code, as well as an easier way to do |
| 2920 |
unit tests. Special thanks to all the people who sent tips on Rust |
| 2921 |
idioms, and to Sebastian Dröge and Hubert Figuière for the Automake bits. |
| 2922 |
- Added an "--enable-debug" option to configure.ac - this will tell |
| 2923 |
the Rust compiler to generate debugging code, instead of working in |
| 2924 |
release mode. Note that you must still pass CFLAGS by hand by the |
| 2925 |
regular means for the C code. |
| 2926 |
- For Windows builds, only MSVC 2012 and upward are supported now. |
| 2927 |
- Chun-wei Fan made it possible to regenerate the MSVC project files |
| 2928 |
when Makefile.am changes. |
| 2929 |
- Fixed bgo#763386 - handle curveto segments where three control |
| 2930 |
points are coincident. Thanks to Massimo for the detailed test cases. |
| 2931 |
- Fixed bgo#603550 - Compute the luminance correctly when generating a |
| 2932 |
mask. Thanks to Mike Lewis for the patch. |
| 2933 |
- Fixed bgo#776297 - Only render markers in path, line, polygon, |
| 2934 |
polyline elements. |
| 2935 |
- Fixed feImage filters when they reference SVG nodes; they were |
| 2936 |
translated incorrectly. |
| 2937 |
- Fixed feComponentTransferFunction when there are duplicated feFuncX |
| 2938 |
elements. |
| 2939 |
- Fixed bgo#761871 - handle reflection points for quadratic and cubic |
| 2940 |
curves correctly. |
| 2941 |
- Fixed bgo#686953 - support the "marker" shorthand property. |
| 2942 |
- Fixed a few minor issues pointed out by Coverity. |
| 2943 |
- The path data parser now handles boolean values in Arc elements correctly. |
| 2944 |
- Fixed conformance bugs in gradient inheritance. |
| 2945 |
- Radial gradients now adjust the focus point correctly to be within |
| 2946 |
the gradient's radius. |
| 2947 |
- Stroke width normalization is now conformant to the spec. |
| 2948 |
- Viewport-relative length normalization is now conformant to the spec. |
| 2949 |
- Added some of the official SVG 1.1 test files to our test suite. Fixed |
| 2950 |
a little bunch of conformance bugs. |
| 2951 |
- As a small optimization, we only push/pop CSS states when rendering |
| 2952 |
will actually happen, instead of for all (potentially invisible) nodes. |
| 2953 |
- Code that has been converted to Rust: marker orientations and |
| 2954 |
rendering, path data parser, path building, length normalization, |
| 2955 |
gradient inheritance, bounding boxes with affine transformations. |
| 2956 |
- Lots of refactoring to accomodate the Rust code, and general cleanups as well. |
| 2957 |
- Added tests/README.md with instructions on how to run the test suite |
| 2958 |
and update it. |
| 2959 |
rsvg-test can now skip files or directories that start with "ignore". |
| 2960 |
- Improved the README. |
| 2961 |
|
| 2962 |
Version 2.40.16 |
| 2963 |
=============== |
| 2964 |
|
| 2965 |
- Chun-wei Fan added support for building the introspection files under MSVC. |
| 2966 |
- Fixed bgo#760262 - Make the zooming options in rsvg-convert(1) work again |
| 2967 |
for scaling the resulting image. Fix by Menner <[email protected]>. |
| 2968 |
- Fixed bgo#764808 - Wikipedia generates equations as SVGs and renders |
| 2969 |
them, but uses fill="currentColor". Since we don't let callers |
| 2970 |
specify a starting state for CSS, we need to start with opaque black |
| 2971 |
as the default current color. |
| 2972 |
- Added documentation for how to replace the deprecated |
| 2973 |
rsvg_handle_set_size_callback(). |
| 2974 |
|
| 2975 |
Version 2.40.15 |
| 2976 |
=============== |
| 2977 |
|
| 2978 |
- Apologies for the lack of 2.40.14. I mistakenly tagged the |
| 2979 |
repository before updating the NEWS file. |
| 2980 |
- librsvg now uses the Contributor Covenant Code of Conduct, |
| 2981 |
version 1.4, to which all contributors and maintainers are expected |
| 2982 |
to abide. Please see the code_of_conduct.md file for details. |
| 2983 |
- Chun-wei Fan fixed builds on Visual Studio pre-2012. |
| 2984 |
- Fixed bgo#759084 - Don't crash when filters don't actually exist |
| 2985 |
Fix by Benjamin Otte. |
| 2986 |
- Javier Jardón updated our autogen.sh to use modern autotools. |
| 2987 |
- Fixed bgo#761728 - Memory leak in the PrimitiveComponentTransfer |
| 2988 |
filter. Fix by Ron Hopper. |
| 2989 |
|
| 2990 |
Version 2.40.13 |
| 2991 |
=============== |
| 2992 |
|
| 2993 |
- Chun-wei Fan and Paolo Borelli fixed the Windows build. |
| 2994 |
- Menner added basic support for the "baseline-shift" attribute in |
| 2995 |
text objects. We support "sub", "super", and plain "baseline", so |
| 2996 |
you can at least have subscripts and superscripts for formulas and |
| 2997 |
such. There is no support for percentages or explicit lengths yet. |
| 2998 |
bgo#340047. |
| 2999 |
- Menner fixed some duplicate logic when rendering paths, which would |
| 3000 |
try to decide whether to create intermediate surfaces. Now we have |
| 3001 |
a single place where this is done. This fixes inconsistent text |
| 3002 |
spacing in some situations. bgo#749415. |
| 3003 |
- Rewrote the markers engine, for bgo#685906 and bgo#760180 - Our |
| 3004 |
machinery for rendering SVG markers (like arrowheads and such) |
| 3005 |
didn't handle several cases correctly. Curves with coincident |
| 3006 |
control points produced incorrect orientations for the markers, as |
| 3007 |
did multiple contiguous zero-length segments. We follow the spec |
| 3008 |
for this now and handle things correctly. Also, markers didn't |
| 3009 |
render in the correct position if they had the viewBox attribute |
| 3010 |
set. |
| 3011 |
|
| 3012 |
Version 2.40.12 |
| 3013 |
=============== |
| 3014 |
|
| 3015 |
- Benjamin Otte did *great* work in refactoring the test harness to |
| 3016 |
use Glib's gtest infrastructure, instead of using home-grown |
| 3017 |
machinery. Tests can simply be put as SVG files in the tests/ |
| 3018 |
subdirectories; it is not necessary to list them explicitly in some |
| 3019 |
text file. Yay! |
| 3020 |
- Gzipped SVGs now work if read from streams. |
| 3021 |
- References to objects/filters/URIs/etc. are now handled lazily. |
| 3022 |
Also, there is a general-purpose cycle detector so malformed SVGs |
| 3023 |
don't cause infinite loops. Work by Benjamin Otte. |
| 3024 |
- Removed parsing of Adobe blend modes; they were not implemented, anyway. |
| 3025 |
- Fixed bgo#700911 - feComponentTransfer filter functions did not work at all. |
| 3026 |
- Fixed bgo#630732 - out-of-bounds read in feComponentTransfer with tableValues. |
| 3027 |
- Fixed bgo#677068 - incorrect reflection points in paths. |
| 3028 |
|
| 3029 |
Version 2.40.11 |
| 3030 |
=============== |
| 3031 |
|
| 3032 |
- Add project files for building on Visual Studio (bgo#753555). Work |
| 3033 |
by Chun-wei Fan. |
| 3034 |
- Added an "--export-id" option to rsvg-convert(1). This lets you |
| 3035 |
select a single object to export, for example, to pick out a group |
| 3036 |
from a multi-part drawing. Note that this is mostly useful for PNG |
| 3037 |
output right now; for SVG output we don't preserve many attributes |
| 3038 |
which could be useful in the extracted version. Doing this properly |
| 3039 |
requires an internal "output to SVG" backend instead of just telling |
| 3040 |
Cairo to render to SVG. |
| 3041 |
|
| 3042 |
Version 2.40.10 |
| 3043 |
=============== |
| 3044 |
|
| 3045 |
- Fixed bgo#748608 - Memory leak when Gaussian-blurring. Thanks to |
| 3046 |
Carlos Garnacho for fixing my leaky code. |
| 3047 |
- Fixed bgo#739329 - font-family attributes with singly-quoted names |
| 3048 |
were not handled correctly, yielding incorrect fonts. Patch by Menner. |
| 3049 |
- Fixed bgo#476507 - Path start/end markers didn't have the correct angle |
| 3050 |
if the path was a curve with coincident control points. Patch by Menner. |
| 3051 |
- Fixed bgo#688689 - Support font-style="normal" within a non-normal |
| 3052 |
styled text block. Patch by Paolo. |
| 3053 |
- Fixed builddir != srcdir. Patch by Matthias Clasen. |
| 3054 |
- Remove a bunch of deprecated GTK+ calls. |
| 3055 |
- This version of librsvg requires GTK+ 3.10.0, which is, ahem, only two years old. |
| 3056 |
We previously required a version of GTK+ which is four years old. Out with |
| 3057 |
the old, in with the old. |
| 3058 |
|
| 3059 |
Version 2.40.9 |
| 3060 |
============== |
| 3061 |
|
| 3062 |
- Fixed bgo#738367 - V/v/H/h commands in path elements were not |
| 3063 |
working. Patch by Andrea Griffini. |
| 3064 |
- Fixed bgo#605875 - Gaussian-blurred objects were sometimes missing. |
| 3065 |
Based on a patch by Eduard Braun. |
| 3066 |
- Fixed bgo#710163 - use _wfullpath() on Windows when canonicalizing |
| 3067 |
filenames. Patch by LRN. |
| 3068 |
|
| 3069 |
Version 2.40.8 |
| 3070 |
============== |
| 3071 |
|
| 3072 |
- Bugs fixed from fuzz testing: #744688 - possible double g_free() |
| 3073 |
when processing stroke-dasharray |
| 3074 |
- Optimize rendering of polylines, lines, rectangles, circles, and |
| 3075 |
ellipses. These should be marginally faster, marginally more |
| 3076 |
precise, and should put less pressure on the memory allocator. |
| 3077 |
|
| 3078 |
Version 2.40.7 |
| 3079 |
============== |
| 3080 |
|
| 3081 |
- Bugs fixed from fuzz testing: #703102, #738050, #738169, #744270, #744299 |
| 3082 |
- Fixed unfiled bug from fuzz testing, where the convolution filter |
| 3083 |
had an integer multiplication overflow. |
| 3084 |
- Fix build of rsvg-convert on Windows. |
| 3085 |
- Fix a bunch of compiler warnings. |
| 3086 |
|
| 3087 |
Version 2.40.6 |
| 3088 |
============== |
| 3089 |
|
| 3090 |
- MinGW build fixes |
| 3091 |
- Fix path data number parsing |
| 3092 |
- Fix build with newer libtool |
| 3093 |
|
| 3094 |
Version 2.40.1 |
| 3095 |
============== |
| 3096 |
|
| 3097 |
- Build fixes |
| 3098 |
- Crash fixes |
| 3099 |
|
| 3100 |
Version 2.40 |
| 3101 |
============ |
| 3102 |
|
| 3103 |
- Add support for parsing rgba() colours and improve colour parsing |
| 3104 |
- rsvg-filter: Fix memory leak |
| 3105 |
- Remove support for GTK+2 along with the old theme engine |
| 3106 |
- Require at least version 3.2 of GTK+ |
| 3107 |
- Remove support for old versions of gdk-pixbuf |
| 3108 |
- Add eps support to rsvg-convert |
| 3109 |
|
| 3110 |
Version 2.39.0 |
| 3111 |
- don't load resources from the net (#691708, CVE-2013-1881) |
| 3112 |
|
| 3113 |
Version 2.37.0 |
| 3114 |
|
| 3115 |
- bump pango requirement to 1.32.6 |
| 3116 |
- mark pixbuf loader as threadsafe |
| 3117 |
|
| 3118 |
Version 2.36.4 |
| 3119 |
============== |
| 3120 |
|
| 3121 |
- build fixes |
| 3122 |
|
| 3123 |
Version 2.36.3 |
| 3124 |
============== |
| 3125 |
|
| 3126 |
- build fixes |
| 3127 |
|
| 3128 |
Version 2.36.2 |
| 3129 |
============== |
| 3130 |
|
| 3131 |
- GObject introspection fixes (#677674) |
| 3132 |
- added Vala bindings (#677676) |
| 3133 |
- deprecate including headers apart from rsvg.h directly |
| 3134 |
- build fixes (#677661) |
| 3135 |
|
| 3136 |
Version 2.36.1 |
| 3137 |
============== |
| 3138 |
|
| 3139 |
- Bugs fixed: #672725, #672791, #672885, #673748 |
| 3140 |
|
| 3141 |
Version 2.36.0 |
| 3142 |
============== |
| 3143 |
|
| 3144 |
- Bugs fixed: #669563, #672414, #672792, #672725 |
| 3145 |
|
| 3146 |
Version 2.35.2 |
| 3147 |
============== |
| 3148 |
|
| 3149 |
_ Bug fixes |
| 3150 |
|
| 3151 |
Version 2.35.1 |
| 3152 |
============== |
| 3153 |
|
| 3154 |
- Bugs fixed: #664684, #664533, #665905, #665824 |
| 3155 |
|
| 3156 |
Version 2.35.0 |
| 3157 |
============== |
| 3158 |
|
| 3159 |
This version contains many bug fixes and improvements. |
| 3160 |
- Update libxml2 dependency to 2.7.0 |
| 3161 |
- Make GIO and libcroco hard requirements |
| 3162 |
- Use attributes for deprecations instead of defines |
| 3163 |
- Many memory leaks plugged |
| 3164 |
- Bugs fixed: #621636, #630112, #624820, #624835, #581108, #614157, |
| 3165 |
#630733, #473862, #590788, #626559, #663049, #663049 |
| 3166 |
|
| 3167 |
Version 2.34.1 |
| 3168 |
============== |
| 3169 |
|
| 3170 |
This version contains fixes for CVE-2011-3146. |
| 3171 |
|
| 3172 |
- cairo: reduce cost of measuring bounding boxes |
| 3173 |
- Use "const" instead G_CONST_RETURN (#652213) |
| 3174 |
- Call xmlFreeParserCtxt after using the context (#655472) |
| 3175 |
- Store node type separately in RsvgNode (#658014) |
| 3176 |
|
| 3177 |
Version 2.34.0 |
| 3178 |
============== |
| 3179 |
|
| 3180 |
- Allow building rsvg-view with gtk 3 |
| 3181 |
|
| 3182 |
Bugs fixed: |
| 3183 |
629392 - stroke-dasharray is inherited by sibling texts |
| 3184 |
626802 - NULL-ptr crash in g_str_equal in rsvg-styles.c |
| 3185 |
641586 - configure should honour aclocal flags ACLOCAL_FLAGS |
| 3186 |
640336 - Typo in rsvg.1 |
| 3187 |
635214 - svgz never supported by pixbuf loader |
| 3188 |
FDO 30071 - crash when rendering this svg with librsvg to a pdf or ps or recording surface |
| 3189 |
629412 - Missing test files on librsvg-2.31.0 |
| 3190 |
630714 - fix stray comma |
| 3191 |
|
| 3192 |
Version 2.32.1 |
| 3193 |
============== |
| 3194 |
|
| 3195 |
Version 2.32.0 |
| 3196 |
============== |
| 3197 |
|
| 3198 |
Version 2.31.0 |
| 3199 |
============== |
| 3200 |
|
| 3201 |
- buildable against standalone gdk-pixbuf |
| 3202 |
- require GIO |
| 3203 |
|
| 3204 |
- Bug fixed: |
| 3205 |
|
| 3206 |
337979 text size not rendered correctly |
| 3207 |
545158 Segfault or bad rendering when displaying a SVG file |
| 3208 |
614556 Background pixbuf in filter process should not be created if it's not needed. |
| 3209 |
616018 cairo-freetype font rendering code should be removed. |
| 3210 |
620130 Decode base64 inplace |
| 3211 |
620238 crashes rending a trivial file |
| 3212 |
620592 Use correct free func |
| 3213 |
620649 Simplify code by using g_clear_error |
| 3214 |
620693 presentation attributes in svg element are ignored |
| 3215 |
620822 Build fails with make -jx" |
| 3216 |
621699 make librsvg gio friendly |
| 3217 |
622790 use standalone gdk-pixbuf |
| 3218 |
623383 [PATCH] crash on rsvg-gobject.c:141, in instance_dispose function |
| 3219 |
|
| 3220 |
Version 2.26.3 |
| 3221 |
============== |
| 3222 |
|
| 3223 |
- Bug fixed: |
| 3224 |
143300 wrong bounding box when importing SVG |
| 3225 |
403274 text in thumbnail too large |
| 3226 |
404976 Unicode decomposed chars are not rendered well |
| 3227 |
524690 text alignment incorrect with text-anchor:end |
| 3228 |
545158 Segfault or bad rendering when displaying a SVG file |
| 3229 |
563933 corrupted rendering of a card in 'Paris' aisleriot card theme |
| 3230 |
564527 rsvg_handle_get_dimensions_sub weird behaviour |
| 3231 |
564544 shape-rendering crispEdges property is antialiasing line elements |
| 3232 |
566433 Could not read a valid svg file (inkspace read it) |
| 3233 |
579286 This SVG-File crashes nautilus/rsvg-view |
| 3234 |
581491 rsvg rendering is broken when encounters a 0px styled <text> |
| 3235 |
589612 EOG error when loading a large SVG |
| 3236 |
592207 Object cannot be rendered with more than 1 CSS {} rule |
| 3237 |
597873 glib-mkenums cannot be invoked when GLib is uninstalled. |
| 3238 |
597988 incorrect pkgconfig file let's others fail to detect librsvg |
| 3239 |
598151 Incorrect rendering of svg file |
| 3240 |
608575 Hang on particular SVG input |
| 3241 |
612951 SVG not rendered if header contains width or height in percentage |
| 3242 |
614123 librsvg builds tests even if tests are not run |
| 3243 |
614555 should remove unused rsvg_filter_adobe_blend function |
| 3244 |
614566 Needless G_OBJECT macro should be removed. |
| 3245 |
614606 !important is not respected |
| 3246 |
614643 does not handle comma separated CSS selector without libcroco |
| 3247 |
614703 Need tests for get_dimensions. |
| 3248 |
614704 css style doesn't override presentation attributes |
| 3249 |
614730 Rendering not disabled for 0 sized objects |
| 3250 |
614866 tests for CSS handling |
| 3251 |
615490 rsvg-view should scale image size by default if the image has huge canvas. |
| 3252 |
615699 rsvg-view should show zoom ratio. |
| 3253 |
615701 class directive in svg element is not used at all |
| 3254 |
615715 .class#id type selector is not supported. |
| 3255 |
616187 rsvg-view crashes when open a svg image |
| 3256 |
616835 Fix linking with pedantic linkers |
| 3257 |
617163 !important directive support without libcroco. |
| 3258 |
|
| 3259 |
Version 2.26.2 |
| 3260 |
============== |
| 3261 |
|
| 3262 |
- Enable silent build by default |
| 3263 |
- Use GDK_DRAWABLE() instead of non-existing GTK_DRAWABLE() |
| 3264 |
- Fix compiler warnings |
| 3265 |
|
| 3266 |
Version 2.26.1 |
| 3267 |
============== |
| 3268 |
|
| 3269 |
- Remove some deprecated gtk+/gdk functions and bump gtk+ requirement |
| 3270 |
- Fix linking with pedantic linkers |
| 3271 |
- Make librsvg compile with -DGSEAL_ENABLED |
| 3272 |
- Drop mozilla plugin |
| 3273 |
|
| 3274 |
Version 2.22.3 |
| 3275 |
============== |
| 3276 |
|
| 3277 |
- Make librsvg buildable on windows without freetype dependency |
| 3278 |
- Fix build and tests |
| 3279 |
- Fix the handling of the stroke-dashoffset property |
| 3280 |
- Bad rendering for some wacko SVG path data |
| 3281 |
- Fix some arcs not being well drawn in SVG path |
| 3282 |
- Fix various crashes |
| 3283 |
- Set license field of GdkPixBufFormat in the SVG loader |
| 3284 |
- Migrate use of GMemChunk to GSlice |
| 3285 |
- If an ID is not found, return an error and/or do not render whole SVG |
| 3286 |
|
| 3287 |
Version 2.22.2 |
| 3288 |
============== |
| 3289 |
|
| 3290 |
- Fix rsvg-convert crash in _rsvg_acquire_xlink_href_resource() |
| 3291 |
|
| 3292 |
Version 2.22.1 |
| 3293 |
============== |
| 3294 |
|
| 3295 |
- If a moveto is followed by multiple pairs of coordinates, the subsequent |
| 3296 |
pairs are treated as implicit lineto commands. |
| 3297 |
- Handle display:none |
| 3298 |
- Handle xml:space="preserve" |
| 3299 |
|
| 3300 |
Version 2.22.0 |
| 3301 |
============== |
| 3302 |
|
| 3303 |
- Text rendering fixes (especially for non-ASCII text) |
| 3304 |
- Better cairo integration (fixed bugs when rendering inside of cairo groups) |
| 3305 |
- Migrate from GVFS to GIO |
| 3306 |
- Migrate rsvg-view from GnomePrint to GtkPrint |
| 3307 |
|
| 3308 |
Version 2.18.0 |
| 3309 |
============== |
| 3310 |
|
| 3311 |
- Support for some of the SVG 1.2 comp-op properties |
| 3312 |
- Less-blurry output |
| 3313 |
- Marker orientation is fixed |
| 3314 |
- Support compressed SVG from the GdkPixbuf plugin |
| 3315 |
- CSS fixes |
| 3316 |
- Better support for SVG conditionals |
| 3317 |
- Support for SVG 1.1's shape-rendering and text-rendering properties |
| 3318 |
|
| 3319 |
Version 2.7.x |
| 3320 |
============= |
| 3321 |
|
| 3322 |
- Filters |
| 3323 |
- Hugely improved text support |
| 3324 |
- GTK+ theme engine |
| 3325 |
- Masks |
| 3326 |
- Path markers |
| 3327 |
- Mozilla plugin |
| 3328 |
- Patterns |
| 3329 |
- Standalone viewer |
| 3330 |
- Decent <image> support |
| 3331 |
- Numerous bug fixes |
| 3332 |
|
| 3333 |
== gnome-2-6 branch == |
| 3334 |
|
| 3335 |
Version 2.6.x |
| 3336 |
============= |
| 3337 |
|
| 3338 |
- A slew of bug fixes |
| 3339 |
|
| 3340 |
Version 2.5.x |
| 3341 |
============= |
| 3342 |
|
| 3343 |
- A slew of bug fixes |
| 3344 |
|
| 3345 |
Version 2.4.0 |
| 3346 |
============= |
| 3347 |
|
| 3348 |
- gdk-pixbuf loader fix |
| 3349 |
- support for title and desc elements |
| 3350 |
|
| 3351 |
Version 2.3.0 |
| 3352 |
============= |
| 3353 |
|
| 3354 |
- Support Paths inside of <defs> and use them in <use/> statements |
| 3355 |
- Vastly improved CSS support (libcroco and builtin) |
| 3356 |
- LibCroco CSS support |
| 3357 |
- Improved support for Gimp plugin |
| 3358 |
|
| 3359 |
== gnome-2-2 branch == |
| 3360 |
|
| 3361 |
Version 2.2.5 |
| 3362 |
============= |
| 3363 |
|
| 3364 |
- Gimp Import/Load plugin |
| 3365 |
- Bugfixes |
| 3366 |
|
| 3367 |
Version 2.2.4 |
| 3368 |
============= |
| 3369 |
|
| 3370 |
- Few bugfixes |
| 3371 |
|
| 3372 |
Version 2.2.3 |
| 3373 |
============= |
| 3374 |
|
| 3375 |
- All sorts of build and installation fixes |
| 3376 |
- "Bugfix" for a regression in GTK+'s pixbuf-io loader scheme |
| 3377 |
|
| 3378 |
Version 2.2.2 |
| 3379 |
============= |
| 3380 |
|
| 3381 |
- Handle SVGZ files (Gzipped SVG) |
| 3382 |
- Handle objectBoundingBox coordinates on gradients |
| 3383 |
- API extensions |
| 3384 |
- Various bugfixes and crash fixes |
| 3385 |
|
| 3386 |
Version 2.2.1 |
| 3387 |
============= |
| 3388 |
|
| 3389 |
- Better CSS style handling |
| 3390 |
- Fix for a crasher exploited by Sodipodi. Improved gradient handling |
| 3391 |
- RSVG allows you to specify the JPEG quality |
| 3392 |
- Handles Kontour's conicalGradients to some extent |
| 3393 |
|
| 3394 |
Version 2.2.0 |
| 3395 |
============= |
| 3396 |
|
| 3397 |
- Better CSS style handling |
| 3398 |
- Works in "international" locales (non-C locales) in a threadsafe manner |
| 3399 |
- Handle rounded rects |
| 3400 |
- Add manpage |
| 3401 |
- Handle "ex" units better |
| 3402 |
|
| 3403 |
Version 2.1.5 |
| 3404 |
============= |
| 3405 |
|
| 3406 |
- Missed files in tarball added. |
| 3407 |
|
| 3408 |
Version 2.1.4 |
| 3409 |
============= |
| 3410 |
|
| 3411 |
- Fixed memory leak |
| 3412 |
|
| 3413 |
- Better handling of display and visibility styles. |
| 3414 |
|
| 3415 |
Version 2.1.3 |
| 3416 |
============= |
| 3417 |
|
| 3418 |
- Better font handling (stretch, style, variant, weight supported, inherited) |
| 3419 |
|
| 3420 |
Version 2.1.2 |
| 3421 |
============= |
| 3422 |
|
| 3423 |
- Fixed crash with non-utf8 characters. |
| 3424 |
|
| 3425 |
Version 2.1.1 |
| 3426 |
============= |
| 3427 |
|
| 3428 |
- Better ellipse rendering |
| 3429 |
|
| 3430 |
- New functions to set rendering DPI |
| 3431 |
|
| 3432 |
- Better handling of SVGs colors, gradients and images |
| 3433 |
|
| 3434 |
- support dashes |
| 3435 |
|
| 3436 |
- Includes a new gdk-pixbuf svg loader |
| 3437 |
|
| 3438 |
- Includes a new gimp svg loader |
| 3439 |
|
| 3440 |
- Now installs a binary that can rasterize svgs. |
| 3441 |
|
| 3442 |
Version 2.1.0 |
| 3443 |
============= |
| 3444 |
|
| 3445 |
- New co-maintainer Dom Lachowicz |
| 3446 |
|
| 3447 |
- Added new svg based gtk+ engine |
| 3448 |
|
| 3449 |
- Handles SVGs a lot better. Especially with regards to units. |
| 3450 |
|
| 3451 |
Version 2.0.1 |
| 3452 |
============= |
| 3453 |
|
| 3454 |
- Fixed misrender of the ScalableGorilla trashcan. |
| 3455 |
|
| 3456 |
Version 2.0.0 |
| 3457 |
============= |
| 3458 |
|
| 3459 |
- Fixed crash when trying to open empty files (Anders) |
| 3460 |
|
| 3461 |
Version 1.1.6 |
| 3462 |
============= |
| 3463 |
|
| 3464 |
- Fix division by zero crashes when scaling an .svg without dimensions (Darin) |
| 3465 |
|
| 3466 |
Version 1.1.5 |
| 3467 |
============= |
| 3468 |
|
| 3469 |
- Add another new function for use in Nautilus icons (Alex Larsson) |
| 3470 |
|
| 3471 |
Version 1.1.4 |
| 3472 |
============= |
| 3473 |
|
| 3474 |
- Add new function for auto-scaling svg for use in Nautilus icons (Alex Larsson) |
| 3475 |
- Fix xml parsing to read much faster and work around libxml bug (Michael Meeks) |
| 3476 |
- Add back handling for .svg file without width and height (Darin) |
| 3477 |
- Improved internal error handling (Darin) |
| 3478 |
|
| 3479 |
Version 1.1.3 |
| 3480 |
============= |
| 3481 |
|
| 3482 |
- Fix major storage leaks (Anders) |
| 3483 |
|
| 3484 |
Version 1.1.2 |
| 3485 |
============= |
| 3486 |
|
| 3487 |
- Use the new intersector (Alex) |
| 3488 |
|
| 3489 |
Version 1.1.1 |
| 3490 |
============= |
| 3491 |
|
| 3492 |
- Ported to Gnome 2 (Ramiro, Darin) |
| 3493 |
- Ported to Pango instead of using FreeType directly (Darin) |
| 3494 |
- Replace FILE-based API with data pushing API (Jonathan) |
| 3495 |
|
| 3496 |
- Use pkgconfig rather than config scripts or .m4 files (Ramiro) |
| 3497 |
- Use stuff from libart rather than having our own copies (Darin) |
| 3498 |
- Move art_render_mask into libart (Darin) |
| 3499 |
- Use locale-independent functions for parsing the XML files, |
| 3500 |
not <ctype.h>, which is locale dependent (Darin) |
| 3501 |
- Other misc. API cleanups (Jonathan). |
| 3502 |
- Fix NULL-dereference bugs in gradient code (Darin) |
| 3503 |
- Fix handling of empty .svg files (Darin) |
| 3504 |
- Measures strings propertly taking affine into account (Darin) |
| 3505 |
- Fix empty struct portability problem (Darin) |
| 3506 |
- Other build fixes (Owen, Jacob, Anders) |