~vcs-imports/librsvg/+git/librsvg:bilelmoussaoui/properties

Last commit made on 2024-02-22
Get this branch:
git clone -b bilelmoussaoui/properties https://git.launchpad.net/~vcs-imports/librsvg/+git/librsvg

Branch merges

Branch information

Name:
bilelmoussaoui/properties
Repository:
lp:~vcs-imports/librsvg/+git/librsvg

Recent commits

9a2cec8... by Bilal Elmoussaoui <email address hidden>

librsvg-c: Use glib::Properties macro

Simplifies the code a bit

Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/926>

e470535... by Marge Bot <email address hidden>

Merge branch 'nightly' into 'main'

Fix and work around excessively strict dead_code lint in Rust 1.78 nightly

See merge request GNOME/librsvg!927

865b467... by "L. E. Segovia" <email address hidden>

Fix and work around excessively strict dead_code lint in Rust 1.78 nightly

See https://github.com/rust-lang/rust/issues/120770

Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/927>

93b3e0a... by Federico Mena Quintero

Merge branch 'prepare-2.57.91' into 'main'

Prepare 2.57.91

See merge request GNOME/librsvg!924

9ac513c... by Federico Mena Quintero

Bump version to 2.57.91 - crate version 2.58.0-beta.1

29db02b... by Federico Mena Quintero

Update NEWS

71d2e8d... by Marge Bot <email address hidden>

Merge branch 'opaque-element-1055' into 'main'

(#1055): Fix unsoundness in the use of the selectors crate

Closes #1055

See merge request GNOME/librsvg!923

65205b9... by Federico Mena Quintero

(#1055): Fix unsoundness in the use of the selectors crate

selector::OpaqueElememt::new() takes a &T, but internally it just
casts &T into &() and doesn't care. This is letting unsoundness
through the borrow checker.

  impl OpaqueElement {
      /// Creates a new OpaqueElement from an arbitrarily-typed pointer.
      pub fn new<T>(ptr: &T) -> Self {
          unsafe {
              OpaqueElement(NonNull::new_unchecked(
                  ptr as *const T as *const () as *mut (),
              ))
          }
      }
  }

So, we now pass an &Element instead of &Ref<...>, as the latter is
ephemeral, as it comes from &node.borrow().

Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/1055

Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/923>

5e1ee12... by Marge Bot <email address hidden>

Merge branch '902-ch-text-orientation' into 'main'

account for text orientation in ch calculation

Closes #902

See merge request GNOME/librsvg!922

ccfedaf... by Mackenzie Morgan

formatting

Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/922>