summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'prepare-release' into 'main'2.55.90Marge Bot2022-11-256-40/+149
|\ | | | | | | | | Prepare 2.55.90 release See merge request GNOME/librsvg!775
| * Bump version to 2.55.90Federico Mena Quintero2022-11-254-34/+97
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/775>
| * Update NEWSFederico Mena Quintero2022-11-252-6/+52
|/ | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/775>
* Merge branch 'update-lopdf-crate-0.29.0' into 'main'Marge Bot2022-11-253-22/+20
|\ | | | | | | | | Update the lopdf crate to 0.29.0 See merge request GNOME/librsvg!774
| * Update the lopdf crate to 0.29.0Kalev Lember2022-11-253-22/+20
|/ | | | | | | ... and adapt tests/src/predicates/pdf.rs for lopdf API change from f64 floats to f32. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/774>
* Merge branch 'update-yeslogic-fontconfig-sys-crate' into 'main'Marge Bot2022-11-253-9/+31
|\ | | | | | | | | Update the yeslogic-fontconfig-sys crate to 4.0.1 See merge request GNOME/librsvg!773
| * Update the yeslogic-fontconfig-sys crate to 4.0.1Kalev Lember2022-11-243-9/+31
|/ | | | | | | ... and adapt tests/src/utils.rs for changed fontconfig_sys import paths. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/773>
* Merge branch 'completion-docs' into 'main'Marge Bot2022-11-222-0/+14
|\ | | | | | | | | Completion docs See merge request GNOME/librsvg!772
| * rsvg-convert.rst: Add the --convert option to the man pageFederico Mena Quintero2022-11-211-0/+6
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/772>
| * Note the --completion option in NEWSFederico Mena Quintero2022-11-211-0/+8
|/ | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/772>
* Merge branch 'rsvg-convert-tab-completion' into 'main'Marge Bot2022-11-213-8/+43
|\ | | | | | | | | | | | | (#878): Add tab-completion for rsvg-convert Closes #878 See merge request GNOME/librsvg!771
| * (#878): Add tab-completion for rsvg-convertSimental Magana, Marcos2022-11-213-8/+43
|/ | | | | | | | | | | | | | This commit introduces tab-completion for the rsvg-convert binary via a --completion option. It uses the shell completion generation for the clap crate. An example of how to use it to generate bash completion file: $ rsvg-convert --completion=bash > rsvg-convert.bash Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/878 Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/771>
* Merge branch 'alatiera/crossbeam' into 'main'Marge Bot2022-11-213-80/+79
|\ | | | | | | | | | | | | Update crates Closes #917 See merge request GNOME/librsvg!770
| * Update cratesJordan Petridis2022-11-203-80/+79
|/ | | | | | Close #917 Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/770>
* Merge branch 'main' into 'main'Marge Bot2022-11-191-1/+1
|\ | | | | | | | | fix spelling error See merge request GNOME/librsvg!769
| * fix spelling errorlilinjie2022-11-181-1/+1
|/ | | | | Signed-off-by: lilinjie <lilinjie@uniontech.com> Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/769>
* Merge branch 'update-lopdf-crate' into 'main'Marge Bot2022-11-092-10/+11
|\ | | | | | | | | Update the lopdf crate to 0.27.0 See merge request GNOME/librsvg!767
| * Update the lopdf crate to 0.27.0Kalev Lember2022-11-092-10/+11
|/ | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/767>
* Merge branch 'happier_clippy' into 'main'Marge Bot2022-11-093-3/+3
|\ | | | | | | | | Make clippy happier See merge request GNOME/librsvg!766
| * Make clippy happierLukáš Tyrychtr2022-11-073-3/+3
|/ | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/766>
* Merge branch 'librsvg-fix_908' into 'main'Marge Bot2022-11-043-151/+187
|\ | | | | | | | | | | | | Update to clap 4 Closes #908 See merge request GNOME/librsvg!765
| * cargo updateFederico Mena Quintero2022-11-041-47/+68
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/765>
| * Fix handling of flagsLukáš Tyrychtr2022-11-041-6/+7
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/765>
| * Update to clap 4Lukáš Tyrychtr2022-11-043-105/+119
|/ | | | | | Fixes #908 Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/765>
* Merge branch 'attribute-parsers-737' into 'main'Marge Bot2022-11-0437-760/+981
|\ | | | | | | | | | | | | #737 - Treat attribute parsing errors as per the spec Closes #737 and #913 See merge request GNOME/librsvg!763
| * clippy: Remove unneeded referenceFederico Mena Quintero2022-11-041-1/+1
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * Remove unused argumentsFederico Mena Quintero2022-11-042-24/+12
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * Remove the concept of an element being "in error"Federico Mena Quintero2022-11-047-91/+19
| | | | | | | | | | | | Fixes #737 Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * Element creation does not generate errors anymoreFederico Mena Quintero2022-11-041-20/+3
| | | | | | | | | | | | This removes ElementInner::set_error(). Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * SystemLanguage: turn into an enum; store Valid and Invalid variantsFederico Mena Quintero2022-11-042-36/+55
| | | | | | | | | | | | | | | | | | | | | | Previously, parsing an invalid BCP47 language tag would be reported as an Err(), and the corresponding element inside a <switch> would be set "in error". Then, the <switch> implementation would detect that the child element is in error and ignore it. We are switching to storing the error condition in the SystemLanguage itself. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * RequiredFeatures::from_attribute() - make infallibleFederico Mena Quintero2022-11-042-14/+10
| | | | | | | | | | | | Again, it has no error cases, anyway. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * RequiredExtensions::from_attribute() - make infallibleFederico Mena Quintero2022-11-042-6/+5
| | | | | | | | | | | | It doesn't have any error cases, anyway. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * Make parsing presentation attributes infallibleFederico Mena Quintero2022-11-042-12/+4
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * Make parsing xml:lang and xml:space infallibleFederico Mena Quintero2022-11-041-6/+24
| | | | | | | | | | | | | | | | I.e. make them just log an error if parsing fails. This is a bit gross; we can refactor it later. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * SpecifiedValues::parse_style_declarations - make infallibleFederico Mena Quintero2022-11-042-16/+3
| | | | | | | | | | | | Errors in property values are just logged, anyway. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * Make all set_attributes() infallible; remove ElementResultFederico Mena Quintero2022-11-0425-188/+80
| | | | | | | | | | | | | | | | | | Now that all set_attributes can only return Ok(()), they are infallible. With that, we can get rid of ElementResult. Next step: remove the concept of an element being "in error". Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * Make href of NodeId parsing infallibleFederico Mena Quintero2022-11-046-21/+29
| | | | | | | | | | | | | | | | | | | | For the href attributes that need a NodeId (e.g. a fragment identifier, like in gradient/pattern fallbacks), use set_attribute() before set_href(). For the others that just take any string, just tweak set_href(). Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * pattern.rs: use a TransformAttribute field so it can be parsed as the other ↵Federico Mena Quintero2022-11-041-7/+11
| | | | | | | | | | | | | | | | attributes The conversion to Transform is done in to_user_space() now. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * gradient.rs: use a TransformAttribute field so it can be parsed as the other ↵Federico Mena Quintero2022-11-042-8/+10
| | | | | | | | | | | | | | | | attributes The conversion to Transform is done in to_user_space() now. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * feTurbulence: check the baseFrequency at render time, not at parse timeFederico Mena Quintero2022-11-041-6/+15
| | | | | | | | | | | | This lets use set_attribute() as for the other attributes. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * feTurbulence: clamp the seed value in render(), not in set_attributes()Federico Mena Quintero2022-11-041-9/+10
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * filters/lighting.rs: use set_attribute() for specular_constantFederico Mena Quintero2022-11-041-6/+9
| | | | | | | | | | | | Same in principle as the last commit. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * filters/lighting.rs: use set_attribute() for diffuse_constantFederico Mena Quintero2022-11-041-5/+8
| | | | | | | | | | | | | | We can use NonNegative as the field's type to get the automatic parsing behavior. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * filters/lighting.rs: check the kernelUnitLength at render time, not at parse ↵Federico Mena Quintero2022-11-041-4/+27
| | | | | | | | | | | | | | | | time The parsing code is horrible; we'll refactor it soon. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * feConvolveMatrix: check the matrix size at render time, not at parse timeFederico Mena Quintero2022-11-042-42/+34
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * feConvolveMatrix: check the kernel_unit_length at render time, not at parse timeFederico Mena Quintero2022-11-041-3/+18
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * feConvolveMatrix: use NumberOptionalNumber for the order parameterFederico Mena Quintero2022-11-041-8/+7
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * filters/turbulence.rs: use set_attribute()Federico Mena Quintero2022-11-041-4/+6
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * filters/offset.rs: use set_attribute()Federico Mena Quintero2022-11-041-3/+7
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>
| * filters/morphology.rs: use set_attribute()Federico Mena Quintero2022-11-041-8/+20
| | | | | | | | | | | | | | This does the same transformation on the NumberOptionalNumber as was done before for gaussian_blur.rs. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/763>