Skip to content

Commit b8ee7fc

Browse files
author
Marge Bot
committed
Merge branch 'prepare-2.58.92' into 'main'
Prepare 2.58.92 See merge request GNOME/librsvg!991
2 parents f909cdd + 3dc1a45 commit b8ee7fc

File tree

10 files changed

+48
-16
lines changed

10 files changed

+48
-16
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ vs2019-x64:
417417
paths:
418418
- "${CI_PROJECT_DIR}/msvc-build/meson-logs"
419419
- "${CI_PROJECT_DIR}/msvc-build/tests/output"
420+
allow_failure: true
420421

421422
distcheck:
422423
stage: acceptance test

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace.package]
2-
version = "2.58.91"
2+
version = "2.58.92"
33
authors = ["Federico Mena Quintero <federico@gnome.org>", "Many others"]
44
description = """
55
A library to render SVG images to Cairo surfaces. GNOME uses this to

NEWS

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
Version 2.58.92
2+
===============
3+
4+
librsvg crate version 2.59.0-beta.2
5+
6+
Librsvg is now part of Google's oss-fuzz and is fuzz-tested
7+
automatically - see
8+
https://gnome.pages.gitlab.gnome.org/librsvg/devel-docs/oss_fuzz.html
9+
for details. Many thanks to correctmost for doing this work and for
10+
keeping track of librsvg's entries in oss-fuzz.
11+
12+
This release has two bug fixes from fuzz testing, and a new API call.
13+
14+
- #1087 - Don't leak XML entities when the XML document fails to parse.
15+
16+
- #1092 - Fix stack overflow in <use> reference cycle.
17+
18+
- #429 - Librsvg now supports cancellable rendering; you can start
19+
rendering an RsvgHandle in one thread, and stop it from another
20+
thread with a GCancellable. In the C API, you can use the
21+
rsvg_handle_set_cancellable_for_rendering() function; in the Rust
22+
API, CairoRenderer now has a with_cancellable() method.
23+
24+
- Many build fixes for Windows, MacOS, iOS, and cross-compilation
25+
(Amyspark, Guillaume Desmottes).
26+
27+
- Continued refactoring for a render tree.
28+
29+
- Many fixes to the documentation.
30+
31+
132
Version 2.58.91
233
===============
334

devel-docs/releasing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ off items while making a release.
1313
already be increased but not released; double-check it).
1414
- ☐ Copy version number to ``Cargo.toml``.
1515
- ☐ Copy version number to ``doc/librsvg.toml``.
16-
- ☐ Compute and write version number to ``rsvg/Cargo.toml``, see :ref:`crate version<crate_version>` below.
16+
- ☐ Compute crate version number and write it to ``rsvg/Cargo.toml``, see :ref:`crate version<crate_version>` below.
1717
- ☐ Copy the crate version number to the example in `rsvg/src/lib.rs`.
1818
- ☐ ``cargo update`` - needed because you tweaked ``Cargo.toml``, and
1919
also to get new dependencies.

doc/librsvg.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[library]
2-
version = "2.58.91"
2+
version = "2.58.92"
33
description = "Librsvg - load and render SVG documents"
44
authors = "Librsvg developers"
55
license = "LGPL-2.1-or-later"

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
project('librsvg',
22
'c',
3-
version: '2.58.91', # Keep this in sync with Cargo.toml, doc/librsvg.toml, rsvg/Cargo.toml
3+
version: '2.58.92', # Keep this in sync with Cargo.toml, doc/librsvg.toml, rsvg/Cargo.toml
44
meson_version: '>= 1.2.0',
55
default_options: [
66
'pkgconfig.relocatable=true',

rsvg/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "librsvg"
33
documentation = "https://gnome.pages.gitlab.gnome.org/librsvg/doc/rsvg/index.html"
4-
version = "2.59.0-beta.1"
4+
version = "2.59.0-beta.2"
55
authors.workspace = true
66
description.workspace = true
77
license.workspace = true

rsvg/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
//!
2121
//! ```toml
2222
//! [dependencies]
23-
//! librsvg = "2.59.0-beta.1"
23+
//! librsvg = "2.59.0-beta.2"
2424
//! cairo-rs = "0.19"
2525
//! gio = "0.19" # only if you need streams
2626
//! ```

rsvg/src/test_utils/compare_surfaces.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub fn compare_surfaces(
7272
let mut num_pixels_changed = 0;
7373
let mut max_diff = 0;
7474

75-
let black = Pixel::default().alpha(255);
75+
let black = Pixel::default().with_alpha(255);
7676

7777
{
7878
let mut diff_data = surf_diff.data().unwrap();
@@ -92,7 +92,7 @@ pub fn compare_surfaces(
9292
let a = pixel_diff.a;
9393
pixel_diff.map_rgb(|_| a)
9494
} else {
95-
pixel_diff.alpha(255)
95+
pixel_diff.with_alpha(255)
9696
}
9797
} else {
9898
black

0 commit comments

Comments
 (0)