summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'prepare-2.55.2' into 'librsvg-2.55'2.55.2librsvg-2.55Federico Mena Quintero2023-03-1510-293/+535
|\ | | | | | | | | Prepare 2.55.2 See merge request GNOME/librsvg!811
| * CI: allow coverage to failFederico Mena Quintero2023-03-141-0/+1
| | | | | | | | This branch is becoming obsolete pretty soon.
| * Allow clippy to failFederico Mena Quintero2023-03-141-0/+3
| | | | | | | | | | This branch is about to become obsolete, and I don't feel like fixing clippy warnings at the end of its lifetime.
| * CI: bump the stable rust version to 1.63 for grcovFederico Mena Quintero2023-03-141-2/+2
| |
| * Bump the MSRV to 1.60 for assert_cmd and predicatesFederico Mena Quintero2023-03-145-5/+8
| |
| * Update deprecated calls to chrono::Utc.timestamp()Federico Mena Quintero2023-03-142-2/+2
| |
| * Update NEWSFederico Mena Quintero2023-03-141-0/+6
| |
| * Bump version to 2.55.2Federico Mena Quintero2023-03-144-285/+514
|/
* Merge branch 'xinclude-recursion-2.55' into 'librsvg-2.55'Federico Mena Quintero2023-03-145-2/+51
|\ | | | | | | | | (#942): Fix crash when XML files get recursively included through XInclude See merge request GNOME/librsvg!809
| * Add a test for xinclude recursion across two filesFederico Mena Quintero2023-03-132-0/+6
| |
| * (#942): Fix crash when XML files get recursively included through XIncludeFederico Mena Quintero2023-03-133-2/+45
|/ | | | | | | | | | | | | | | | | | 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
* Merge branch 'backport-ci-fixes-2.55' into 'librsvg-2.55'Federico Mena Quintero2022-09-085-48/+55
|\ | | | | | | | | Backport fixes to the CI from the main branch See merge request GNOME/librsvg!743
| * CI: Remove stages with no jobsFederico Mena Quintero2022-09-081-2/+0
| |
| * CI: move the distcheck job to the acceptance test stageFederico Mena Quintero2022-09-081-1/+1
| |
| * CI: rename the "unit test" stage to "analysis"Federico Mena Quintero2022-09-081-3/+3
| | | | | | | | It doesn't run unit tests anymore; it runs coverage and cargo bench.
| * CI: don't "make" before "make distcheck"Federico Mena Quintero2022-09-081-1/+0
| |
| * Bump the base tag for container imagesFederico Mena Quintero2022-09-081-1/+1
| |
| * CI: Don't rebuild while generating reference documentationFederico Mena Quintero2022-09-081-15/+4
| | | | | | | | | | The job for the rust-stable build already generates the docs; just pick them up from there.
| * CI: don't build docs or the vala artifacts for the coverage jobFederico Mena Quintero2022-09-081-1/+1
| | | | | | | | They are not needed there.
| * CI: explicitly only build docs for the rust-stable imageFederico Mena Quintero2022-09-081-9/+25
| | | | | | | | All other images and distros get a build without docs.
| * install-rust.sh: Don't install rustdoc-stripperFederico Mena Quintero2022-09-081-5/+0
| | | | | | | | I think this is a leftover from the gtk-rs repos?
| * CI: only install grcov in the stable imageFederico Mena Quintero2022-09-083-4/+9
| |
| * install-rust-tools.sh: It's called clippy, not clippy-preview nowFederico Mena Quintero2022-09-081-1/+1
| | | | | | | | The latter still works, but let's use the new accepted name.
| * CI: only install clippy and rustfmt for the rust-stable container imageFederico Mena Quintero2022-09-083-7/+12
|/ | | | | The images for rust-minimum and rust-nightly don't need it, as the jobs for clippy and fmt use the stable image.
* Bump the container base tag for the librsvg-2.55 branchFederico Mena Quintero2022-09-051-1/+1
|
* Bump version to 2.55.12.55.1Federico Mena Quintero2022-09-054-54/+40
|
* Update NEWSFederico Mena Quintero2022-09-051-0/+21
|
* Merge branch 'more-docs' into 'main'Marge Bot2022-08-305-115/+166
|\ | | | | | | | | Some internals documentation, and refactor the XML parser a bit See merge request GNOME/librsvg!738
| * Remove superfluous referencesFederico Mena Quintero2022-08-291-2/+2
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
| * Create inline stylesheets in the XML module instead of DocumentBuilderFederico Mena Quintero2022-08-292-13/+12
| | | | | | | | | | | | | | 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>
| * Move all the logic for XML processing instructions to the XML moduleFederico Mena Quintero2022-08-292-27/+21
| | | | | | | | | | | | | | 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>
| * XmlState: carry a LoadOptions instead of just its unlimited_size valueFederico Mena Quintero2022-08-292-12/+17
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
| * document.rs: Pass around a single Arc<LoadOptions> instead of cloning itFederico Mena Quintero2022-08-293-10/+16
| | | | | | | | | | | | We'll need that LoadOptions for the XML parser, too. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
| * Move the code to validate an XML processing instruction for a stylesheet to ↵Federico Mena Quintero2022-08-292-11/+11
| | | | | | | | | | | | | | | | the XML module It has no business in document.rs. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
| * DocumentBuilder::append_stylesheet - new functionFederico Mena Quintero2022-08-291-2/+9
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
| * Document a methodFederico Mena Quintero2022-08-291-0/+1
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
| * Inline function in its only callerFederico Mena Quintero2022-08-291-11/+7
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
| * Some more docstrings for DocumentBuilderFederico Mena Quintero2022-08-291-0/+12
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
| * Add a couple of docstring linksFederico Mena Quintero2022-08-291-5/+4
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
| * Stylesheet::from_href - take an AllowedUrl instead of validating it hereFederico Mena Quintero2022-08-292-19/+23
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
| * Stylesheet::empty() - rename from new() and make privateFederico Mena Quintero2022-08-291-3/+3
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
| * Stylesheet::parse - make privateFederico Mena Quintero2022-08-292-3/+7
| | | | | | | | | | | | Replace its only caller with a call to Stylesheet::from_data(). Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
| * Stylesheet::load - take an AllowedUrl instead of validating it hereFederico Mena Quintero2022-08-291-17/+21
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
| * Add docs for fields of DocumentBuilder.Federico Mena Quintero2022-08-291-1/+21
|/ | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
* Merge branch '92-symbol-clip' into 'main'Marge Bot2022-08-275-19/+36
|\ | | | | | | | | | | | | (#92): In the use element, honor the overflow:hidden property of a referenced symbol Closes #92 See merge request GNOME/librsvg!737
| * Remove ClipMode::ClipToVbox, it is not used anywhereFederico Mena Quintero2022-08-262-17/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * (#92): In the use element, honor the overflow:hidden property of a ↵Federico Mena Quintero2022-08-264-5/+28
|/ | | | | | | | | | | 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>
* Merge branch 'devel-docs' into 'main'Marge Bot2022-08-2613-1352/+1577
|\ | | | | | | | | | | | | Move more content to the development guide Closes #886 See merge request GNOME/librsvg!735
| * Oops, fix Makefile.am for NEWSFederico Mena Quintero2022-08-251-1/+1
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/735>
| * Fix references to presentations in the README; add them to the development guideFederico Mena Quintero2022-08-252-5/+35
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/735>