summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* WIP: update cssparser to 0.29wip-update-cssparserFederico Mena Quintero2022-11-282-14/+14
| | | | | | | | | | This is not easily possible until the selectors crate makes a release; selectors-0.23 still uses cssparser 0.28. (It has already been updated to cssparser 0.29; it's just that selectors hasn't made a release with that yet.) See https://github.com/servo/servo/issues/29105
* Update criterion to 0.4Federico Mena Quintero2022-11-282-62/+74
|
* Update the xml5ever and markup5ever cratesFederico Mena Quintero2022-11-283-18/+36
|
* Merge branch 'remove-test-generator' into 'main'Marge Bot2022-11-28157-245/+994
|\ | | | | | | | | | | | | Remove the dependency on test-generator Closes #924 See merge request GNOME/librsvg!776
| * (#924): Remove the test-generator dependencyFederico Mena Quintero2022-11-282-132/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | The test-generator crate seems unmaintained since about two years ago, and it is pulling in old versions of crates like syn (which takes a long time to compile). We now enumerate the test files by hand in the tests/src/*.rs sources; this is made a bit easier with some helper macros. Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/924 Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
| * cargo fmtFederico Mena Quintero2022-11-283-5/+5
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
| * reference tests: don't use test_generatorFederico Mena Quintero2022-11-281-26/+746
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
| * bugs tests: don't use test_generatorFederico Mena Quintero2022-11-281-6/+3
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
| * loading_crash tests: don't use test_generatorFederico Mena Quintero2022-11-281-6/+45
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
| * render_crash tests: don't use test_generatorFederico Mena Quintero2022-11-281-6/+55
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
| * text tests: Rename test files that start with a bug numberFederico Mena Quintero2022-11-285-4/+4
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
| * reference tests: Rename test files that start with a bug numberFederico Mena Quintero2022-11-2896-10/+10
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
| * errors tests: Rename test files that start with a bug numberFederico Mena Quintero2022-11-284-3/+3
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
| * dimensions tests: Rename test files that start with a bug numberFederico Mena Quintero2022-11-287-43/+43
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
| * crash tests: Rename test files that start with a bug numberFederico Mena Quintero2022-11-2813-0/+0
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
| * cmdline tests: Rename test files that start with a bug numberFederico Mena Quintero2022-11-284-3/+3
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
| * api tests: Rename test files that start with a bug numberFederico Mena Quintero2022-11-282-1/+1
| | | | | | | | Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
| * render-crash tests: Rename test files that start with a bug numberFederico Mena Quintero2022-11-2825-1/+1
| | | | | | | | | | | | | | From 123-blahblah.svg to bug123-blahblah.svg, so that it's easier to turn them into Rust symbols like bug123_blahblah later. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
| * Remove superfluous use of test_resourcesFederico Mena Quintero2022-11-281-4/+3
|/ | | | | | The path is hardcoded and is not a glob, so just use it directly. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/776>
* 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>