| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This way we can avoid -I$(top_builddir)/include/librsvg everywhere
just so that header can pick up rsvg-version.h, the only generated
header file.
Also, it seems more correct, e.g. GTK does it that way?
|
|
|
|
|
|
|
|
|
|
| |
Move headers to include/librsvg/*.h to keep both gtk-doc and
g-ir-scanner happy. We want to end up with a Rsvg-2.0.gir with a line
like
<c:include name="librsvg/rsvg.h"/>
Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/645
|
|\
| |
| |
| |
| | |
ci: Adjust gitlab-clippy invocation
See merge request GNOME/librsvg!439
|
|/
|
|
|
|
|
| |
The gitlab-clippy command-line tool behavior changed with the new
version, adjust the way we call it.
Also remove the obsolete --workspace argument for cargo.
|
|\
| |
| |
| |
| |
| |
| | |
#642 - Fix dx/dy offsets in nested <tspan> elements
Closes #642
See merge request GNOME/librsvg!435
|
| |
| |
| |
| |
| |
| |
| | |
xml:space normalization
The new test fails without this commit; it creates inter-line spacings
in the second <text> element.
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
Don't keep dx/dy in the structs as Option<Length<...>>; keep them as
f64.
x/y need to be kept as Option<f64> because they affect chunking.
|
|\
| |
| |
| |
| | |
ci: add bench tests to CI
See merge request GNOME/librsvg!433
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
Fix API for building a Loader
See merge request GNOME/librsvg!434
|
|/ |
|
|\
| |
| |
| |
| | |
ci: turn rustc warnings into errors in the CI
See merge request GNOME/librsvg!432
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
followup of !431 [1]
deny(warnings) is an anti-pattern as a newer release of
the compiler can cause working/released builds to stop
compilling for downstreams.
Having to export a RUST_FLAG is not the prettiest, but
its the best we got atm [2]
[1] https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/431
[2] https://github.com/rust-lang/cargo/issues/3591
|
|/
|
|
|
|
|
| |
Useful note, default inheritence can be disabled if needed
with `inherit: default:` or straight overwritten.
https://docs.gitlab.com/ce/ci/yaml/README.html#global-defaults
|
|\
| |
| |
| |
| | |
Remove deny(warnings) from the toplevel src/lib.rs
See merge request GNOME/librsvg!431
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This got moved from librsvg_crate/src/lib.rs, where it was presumably
because we didn't want warnings in the public API crate. Now that
we have a single crate, however, this can create warnings on
architectures which we don't test in the CI.
Specifically, this was causing this warning-as-error in
gnome-build-meta for aarch64:
======================================================================
345 | | rsvg_pixbuf_from_file_at_max_size => ptr::null_mut();
346 | |
347 | | !filename.is_null(),
348 | | max_width >= 1 && max_height >= 1,
349 | | error.is_null() || (*error).is_null(),
350 | | }
| |_____- in this macro invocation
|
= help: cast can be replaced by coercion; this might require a temporary variable
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: trivial cast: `*const u8` as `*const u8`
--> src/c_api/messages.rs:112:21
|
112 | concat!(stringify!($func_name), "\0").as_ptr() as *const _,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: src/c_api/pixbuf_utils.rs:344:5
|
344 | / rsvg_return_val_if_fail! {
345 | | rsvg_pixbuf_from_file_at_max_size => ptr::null_mut();
346 | |
347 | | !filename.is_null(),
348 | | max_width >= 1 && max_height >= 1,
349 | | error.is_null() || (*error).is_null(),
350 | | }
| |_____- in this macro invocation
|
|\
| |
| |
| |
| | |
Move xml code to a module
See merge request GNOME/librsvg!428
|
|/ |
|
|\
| |
| |
| |
| | |
Automake dist cleanup
See merge request GNOME/librsvg!430
|
| |
| |
| |
| |
| |
| | |
The latest version of gtk-doc seems to create this (empty) file when
running rsvg-scan, but it's not removed on distclean leading to an
error on 'make distcheck'.
|
|/
|
|
|
|
|
|
|
| |
Use EXTRA_DIST instead of "dist_installed_test_data" as provided by
glib-tap.mk. The test files are mostly used by "cargo test" now and
having them listed as "dist_installed_test_data" adds hundreds of
dependencies to 'make check' causing lots of noise in the output.
Also do not redefine NULL, it's already defined in glib-tap.mk.
|
|\
| |
| |
| |
| | |
ci: Disable cache for 'cargo fmt', it doesn't need it
See merge request GNOME/librsvg!429
|
|/
|
|
|
| |
Make .cache a build configuration that is explicitly pulled in by
jobs that need the cache. Rename .recreate_cache to .cache_push.
|
|\
| |
| |
| |
| | |
Adjust location of generated rsvg-version.h in .gitignore
See merge request GNOME/librsvg!427
|
|/ |
|
|\
| |
| |
| |
| | |
tests: Fix 'cargo test cmdline' after the crates merge
See merge request GNOME/librsvg!426
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Merge crates
Closes #640
See merge request GNOME/librsvg!425
|
| | |
|
| | |
|
| |
| |
| |
| | |
stage
|
| | |
|
| | |
|
| |
| |
| |
| | |
I hope I'm not butchering this...
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Rename librsvg/ to include/ since now it only has header files.
|
| | |
|
| |
| |
| |
| | |
Besides, it's RsvgHandle that that module implements.
|
| | |
|
| |
| |
| |
| | |
Not entirely happy about the pointer ones, but hey.
|
| | |
|
| | |
|
| | |
|