| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
Prepare 2.55.2
See merge request GNOME/librsvg!811
|
| |
| |
| |
| | |
This branch is becoming obsolete pretty soon.
|
| |
| |
| |
| |
| | |
This branch is about to become obsolete, and I don't feel like fixing
clippy warnings at the end of its lifetime.
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
(#942): Fix crash when XML files get recursively included through XInclude
See merge request GNOME/librsvg!809
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is a new limit, MAX_XINCLUDE_DEPTH, which is a constant with the
maximum level of nesting for XInclude.
We keep a counter of the current nesting level in XmlStateInner, and
check against the limit every time we need to xinclude another XML
document.
The sample file has <xi:include parse="xml" href=""/> which properly
causes the *same* file to be included, per https://www.w3.org/TR/xinclude-11/#include_element
The href attribute is optional; the absence of this attribute is
the same as specifying href="", that is, the reference is to the
same document.
Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/942
|
|\
| |
| |
| |
| | |
Backport fixes to the CI from the main branch
See merge request GNOME/librsvg!743
|
| | |
|
| | |
|
| |
| |
| |
| | |
It doesn't run unit tests anymore; it runs coverage and cargo bench.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
The job for the rust-stable build already generates the docs; just
pick them up from there.
|
| |
| |
| |
| | |
They are not needed there.
|
| |
| |
| |
| | |
All other images and distros get a build without docs.
|
| |
| |
| |
| | |
I think this is a leftover from the gtk-rs repos?
|
| | |
|
| |
| |
| |
| | |
The latter still works, but let's use the new accepted name.
|
|/
|
|
|
| |
The images for rust-minimum and rust-nightly don't need it, as the
jobs for clippy and fmt use the stable image.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Some internals documentation, and refactor the XML parser a bit
See merge request GNOME/librsvg!738
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
| |
| |
| |
| |
| |
| |
| | |
Similar in spirit to the last commit, to remove
DocumentBuilder::append_stylesheet_from_text() this time.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
| |
| |
| |
| |
| |
| |
| | |
I.e. load the xml-stylesheet there, instead of having a
DocumentBuilder::append_stylesheet_from_xml_processing_instruction().
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
| |
| |
| |
| |
| |
| | |
We'll need that LoadOptions for the XML parser, too.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
| |
| |
| |
| |
| |
| |
| |
| | |
the XML module
It has no business in document.rs.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
| |
| |
| |
| |
| |
| | |
Replace its only caller with a call to Stylesheet::from_data().
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
|/
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
|
|\
| |
| |
| |
| |
| |
| | |
(#92): In the use element, honor the overflow:hidden property of a referenced symbol
Closes #92
See merge request GNOME/librsvg!737
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Commit 62f31feec7 mentions
https://www.w3.org/TR/SVG11/masking.html#AutoClipAtViewportNotViewBox
- but now I think I misunderstood it. If one wishes to clip to the
viewBox, that version of the spec mentions setting the `clip` property
to the same bounds as the viewBox.
However, the `clip` property is deprecated (Appendix A: The deprecated
clip property)- https://drafts.fxtf.org/css-masking/#clip-property and
librsvg never implemented it anyway. Looks like we'll have to
implement that appendix, or use clip-path instead.
Also, the clip mode was passed around as Option<ClipMode> - reduce it
to an enum with two cases (more legible than a boolean), and remove
the Option.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/737>
|
|/
|
|
|
|
|
|
|
|
|
| |
referenced symbol
We meant to look at the referenced <symbol>'s computed values, not the
<use>'s computed values.
Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/92
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/737>
|
|\
| |
| |
| |
| |
| |
| | |
Move more content to the development guide
Closes #886
See merge request GNOME/librsvg!735
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/735>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/735>
|