| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the rsvg-convert binary
When building with autotools and srcdir==builddir,
./target/.../rsvg-convert gets moved into ./rsvg-convert. But since
./rsvg-convert is already a directory, we get an
./rsvg-convert/rsvg-convert binary.
Later, "make install" finds that ./rsvg-convert is a directory, not a
file, and fails to install the binary.
This renames the rsvg-convert directory to rsvg_convert, but makes
Cargo keep the name of the binary as rsvg-convert. Another option
would be to let Cargo use rsvg_convert per the package/directory name,
and rename the resulting binary.
Thanks to Abderrahim Kitouni for figuring this out!
Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/956
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/829>
|
|
|
|
|
|
| |
Sigh, assert_cmd requires this now.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/825>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/822>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/822>
|
|
|
|
|
|
| |
Closes #950
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/822>
|
|
|
|
|
|
|
| |
This helps with building librsvg on Fedora where the rust-chrono package
is built with the wasmbind feature disabled.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/819>
|
|
|
|
|
|
|
|
| |
This replaces unmaintained encoding crate by encoding_rs. The indirect
reference through lopdf still remains, but this is a start.
This fixes the direct part of #949.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/818>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/814>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/808>
|
|
|
|
|
|
| |
So that deps.rs won't mark regex="1" as vulnerable.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/808>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/807>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/806>
|
|
|
|
|
|
|
|
|
| |
This is more in line with the conventions for Rust crate names,
instead of "librsvg". Thanks to Stefan Lau for ceding the name, which
was previously used by the rsvg-rs bindings before librsvg itself
provided a Rust API.
Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/644
|
|
|
|
|
|
|
| |
The time 0.1 crate has a CVE attached to it.
The newly specified features will be the default for chrono 0.5.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/802>
|
|
|
|
|
|
| |
css.rs: Update for changes in the AtRuleParser trait's API
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/799>
|
|
|
|
|
|
| |
Mainly to shut up deps.rs, which flags "1" as vulnerable.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/795>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/795>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/794>
|
|
|
|
|
|
|
|
|
|
|
| |
ci/check_rust_versions.py is a script that checks that all the
mentioned *minimum* Rust versions (configure.ac, Cargo.toml, etc.) are
the same.
I don't think we mention the "stable" Rust version anywhere but
ci/container_builds.yml, so we don't need a check for that one.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/792>
|
|
|
|
|
|
| |
The new glib-macros requires it.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/792>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/792>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/789>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/778>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/778>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/778>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/778>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/777>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/777>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/775>
|
|
|
|
|
|
|
| |
... 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>
|
|
|
|
|
|
|
| |
... and adapt tests/src/utils.rs for changed fontconfig_sys import
paths.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/773>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/767>
|
|
|
|
|
|
| |
Fixes #908
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/765>
|
|
|
|
|
|
|
|
| |
overflow-checks is disabled by default in release builds. To test its
impact on how performance, add a profile.overflow and benchmark it during
cargo_bench job.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/764>
|
|
|
|
|
|
| |
The gtk-rs update requires this.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/760>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/760>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Bump version in Cargo.toml; use the "cargo" feature since the
crate_version!() macro is now gated.
- short("x") -> short('x') - takes a char now
- Add a Resolution newtype and a parser/validator.
- Add a ZoomFactor newtype and a parser/validator.
- arg_enum! -> #[derive(ValueEnum)]
- value_t!() -> ArgMatches::get_one()
- matches.is_present() -> matches.contains_id()
This compiles, but the tests fail.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/748>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/744>
|
|
|
|
|
|
| |
This is supported since Rust 1.56.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/735>
|
|
|
|
|
|
| |
Cherry-picked from https://gitlab.gnome.org/federico/librsvg/-/commit/2fa60213da4bdde03b6e707d5f519acf29eadfc0
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/732>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/708>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/706>
|
|
|
|
|
|
| |
This reverts commit 5ff60c13939ada253eb94b6e63c5d1519b2e526e.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/704>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/702>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/699>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/697>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/697>
|
|
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/690>
|