| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Use separate build directories for librsvg and rsvg_convert, so that
building one of it does no require rebuilding the other. Also make the
cross-build batch generation done on the fly, so that they will be
removed once the Rust cross build work is completed (or failed--they can
be generated quite quickly if needed).
|
|
|
|
|
|
|
| |
Since symbol export is now handled by cargo-c, we can drop the
librsvg.symbols file, again, since it is no longer used.
This reverts commit 869fbf5949283f86762949c7cb989eee6470d6dd.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This updates the Visual Studio build files to build librsvg after it has
been updated to use cargo-c to build the C libraries, and, as a
side-effect, static builds are now supported as well at the same time.
As a convenience, we still provide rsvg-2.0-vsXX.dll resulting from the
builds for people that aren't able to re-link their applications against
rsvg-2.dll (the DLL file name that results from the cargo-c updates),
but a warning message is shown upon 'install' that people are advised to
re-compile their applications if possible, since rsvg-2.0.lib now links
to rsvg-2.dll.
|
|
|
|
| |
We are not using these anymore, so clean up things a bit.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We don't want it to generate headers, but we want it to generate the
Cflags with the correct includedir.
|
| |
|
|
|
|
| |
So that it matches the old name.
|
| |
|
|\
| |
| |
| |
| | |
Fix building latest GIT master on Windows
See merge request GNOME/librsvg!565
|
| |
| |
| |
| |
| |
| |
| | |
Update build instructions a bit, to better reflect on the current
situation when building with Visual Studio.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/565>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make the Visual Studio builds adapt to the more-thoroughly rustified
librsvg, and clean up things a bit, by:
* Updating the call to 'cargo' to better-match what is done in the
autotools builds. Also fix building rsvg-convert.exe, as it is now
handled by Cargo.
* Fixing the librsvg DLL build, as we need to go back to using .def files
as we now only have Rust sources for librsvg (core) itself.
* Drop items that are no longer in the sources, to clean things up.
* Speed up the build a bit.
* Make more dependency-discovery configurable.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/565>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since we no longer compile any C files that trigger the compiler directives
for exporting from the librsvg DLL, we must use a .def file to export
these symbols, otherwise we will end up in an unusable librsvg DLL.
This brings back the librsvg.symbols file which acts as the basis of our
.def file, which will be consumed by the NMake Makefiles.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/565>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The underlying issue is that these packages' build systems may not have
pkg-config files generated for us for their Visual Studio build system,
so we feed things into the linker instead.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/565>
|
|/
|
|
|
|
|
|
|
|
|
| |
Make sure we import the things we really need, and like what is
happening on *nix, the Win32 HANDLES that we get for stdin/stdout
need to be marked as unsafe before we can cast the resulting items.
Also make sure we deal with OutPutStream with the corresponding
Win32OutputStream.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/565>
|
|\
| |
| |
| |
| | |
Improve test coverage for rsvg-convert
See merge request GNOME/librsvg!562
|
| | |
|
| | |
|
| |
| |
| |
| | |
All the properties with Iri data specify their own default in their newtype.
|
| |
| |
| |
| | |
--accept-language
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
(#747) Add "auto" for image element width/height
See merge request GNOME/librsvg!561
|
|/
|
|
|
|
| |
Includes test
Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/747
|
|\
| |
| |
| |
| | |
(#727) Implement paint-order on text
See merge request GNOME/librsvg!560
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/560>
|
| |
| |
| |
| |
| |
| | |
clipping/fill/stroke cases
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/560>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/560>
|
|/
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/560>
|
|\
| |
| |
| |
| |
| |
| | |
(#759) - Replace SavedCr again - use a with_saved_cr() function
Closes #759
See merge request GNOME/librsvg!559
|
|/
|
|
|
|
|
|
|
|
|
| |
Sigh, it was so nice to cr.restore() on Drop of the SavedCr, but since
restore() can now return an error, this is no longer practicable. So,
we go back to the scheme of using a helper function - just so we can
use the ? operator easily in the callbacks.
Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/759
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/559>
|
|\
| |
| |
| |
| | |
(#760) Resolve both context_fill and context_stroke
See merge request GNOME/librsvg!558
|
|/
|
|
|
|
|
| |
Also implement test for swapped context_fill and stroke
ie fill="context_stroke"
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/558>
|
|\
| |
| |
| |
| | |
Add Docker test helper scripts
See merge request GNOME/librsvg!557
|
|/
|
|
|
|
|
| |
This allows someone to use docker to run the librsvg check suite
with choice of 3 OS images, opensuse, fedora, or debian
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/557>
|
|\
| |
| |
| |
| | |
(#618) Implement context-fill and context-stroke
See merge request GNOME/librsvg!556
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/556>
|
|/
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/556>
|
|\
| |
| |
| |
| | |
RELEASING.md - Instructions for making gitlab releases
See merge request GNOME/librsvg!555
|
|/
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/555>
|
|\
| |
| |
| |
| |
| |
| | |
(#757): Hack (?) to fix type inference on 32-bit builds
Closes #757
See merge request GNOME/librsvg!554
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sometimes when the build fails for whatever other reason, we get this:
error[E0283]: type annotations needed
--> src/rect.rs:126:26
|
126 | self.width() == Zero::zero() || self.height() == Zero::zero()
| ^^ cannot infer type
|
= note: cannot satisfy `i32: PartialEq<_>`
as if type inference didn't work there.
Now it seems to be recurrent on 32-bit builds. No idea why.
Hopefully fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/757
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/554>
|
|\
| |
| |
| |
| |
| |
| | |
(#758): Panic when rendering with masks or opacity to a non-image surface
Closes #758
See merge request GNOME/librsvg!553
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change the non-image-surface test to exercise a untested code paths.
This exposes this bug:
thread 'bugs::can_draw_to_non_image_surface' panicked at 'called
`Result::unwrap()` on an `Err` value: Surface(0x7f1728022bd0)',
src/drawing_ctx.rs:741:88
in the unwrap() here:
let surface_to_filter = SharedImageSurface::copy_from_surface(
&cairo::ImageSurface::try_from(temporary_draw_ctx.cr.target()).unwrap(),
)?;
This happens in the case where there are no filters, but there is
opacity, and the code incorrectly assumes that it has an image surface
to work with.
Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/758
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/553>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is slightly different from the one in tests/api.c - that one
tests that the cr's transform is preserved.
We'll leave that one as it is, and use the Rust one to test for the
tricky code paths in drawing_ctx.rs.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/553>
|
|/
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/553>
|