commit 497c925593e41c12cec4a55e4365655a29c3fe59 Author: Federico Mena Quintero Date: Fri Jun 1 13:39:13 2018 -0500 Update NEWS NEWS | 2 ++ 1 file changed, 2 insertions(+) commit e0f9ea86480ca9563c4bcb927e04506c438fb17c Author: Federico Mena Quintero Date: Fri Jun 1 13:36:22 2018 -0500 (#266) - Don't ignore the results of filters with errors in attributes The only remaining C nodes are filters. The NodeTrait implementation of CNode::set_atts() was returning Ok(()) always, even if the C code had called rsvg_node_set_attribute_parse_error(). Instead, actually return that error result so the rest of the code will know about it. Additionally, don't render filter primitives that are in error. https://gitlab.gnome.org/GNOME/librsvg/issues/266 librsvg/rsvg-filter.c | 4 +- librsvg/rsvg-private.h | 6 + rsvg_internals/src/cnode.rs | 2 +- rsvg_internals/src/lib.rs | 1 + rsvg_internals/src/node.rs | 10 ++ .../266-filters-with-error-attributes.svg | 187 +++++++++++++++++++++ 6 files changed, 208 insertions(+), 2 deletions(-) commit 915a15b5f34b75eac03ad2ebcb7982b8750e2f7a Author: Federico Mena Quintero Date: Fri Jun 1 12:14:53 2018 -0500 Update NEWS NEWS | 7 +++++++ 1 file changed, 7 insertions(+) commit 248e9942e171023256afeba58da584ee6b96d5aa Author: Federico Mena Quintero Date: Fri Jun 1 12:08:17 2018 -0500 configure.ac: Bump version to 2.42.5 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2fa1ca97dc6cf749bc45346146097efe2eb4a4fc Author: Federico Mena Quintero Date: Fri Jun 1 12:00:20 2018 -0500 CONTRIBUTING.md: Note on how to install/update rustfmt CONTRIBUTING.md | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) commit a4888f62248114f171b58c7017f341575e534f26 Author: Federico Mena Quintero Date: Fri Jun 1 11:46:05 2018 -0500 Update .gitlab-ci.yml from master .gitlab-ci.yml | 39 +++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 22 deletions(-) commit ce3741b5e8c3065fce17d6dbcec5183f70863970 Author: Saurav Sachidanand Date: Wed May 30 23:41:51 2018 +0530 Write test artifacts to tests/output tests/Makefile.am | 3 +++ tests/README.md | 15 ++++++++------- tests/rsvg-test.c | 14 +++++++++++++- 3 files changed, 24 insertions(+), 8 deletions(-) commit 13e244d01b7c9f6391e7180f519a3d1cf74dce5a Author: Federico Mena Quintero Date: Fri Jun 1 10:59:58 2018 -0500 rustfmt - and update its configuration .rustfmt.toml | 5 +-- rsvg_internals/src/aspect_ratio.rs | 11 +++--- rsvg_internals/src/bbox.rs | 3 +- rsvg_internals/src/color.rs | 6 ++- rsvg_internals/src/coord_units.rs | 2 +- rsvg_internals/src/gradient.rs | 4 +- rsvg_internals/src/length.rs | 2 +- rsvg_internals/src/marker.rs | 76 +++++++++++++++++++------------------- rsvg_internals/src/node.rs | 2 +- rsvg_internals/src/paint_server.rs | 5 +-- rsvg_internals/src/path_parser.rs | 19 ++++++---- rsvg_internals/src/pattern.rs | 14 +++++-- rsvg_internals/src/shapes.rs | 40 ++++++++++++-------- rsvg_internals/src/stop.rs | 4 +- rsvg_internals/src/structure.rs | 34 ++++++++++------- rsvg_internals/src/transform.rs | 36 ++++++++++-------- rsvg_internals/src/viewbox.rs | 2 +- 17 files changed, 147 insertions(+), 118 deletions(-) commit b99692db46e2a6c61d37a70165198ad029c4ec69 Author: Federico Mena Quintero Date: Fri Jun 1 09:59:24 2018 -0500 (#276) - Guard against getting a cairo_t in an error state at the toplevel API The cairo-dock program was passing a cairo_t in an error state to rsvg_handle_render_cairo(), and so we failed deep in the innards of librsvg when cairo-rs validates the cairo::Context's status. Cairo-dock was doing something like surf = cairo_image_surface_create (... an invalid size ...); cr = cairo_create (surf); rsvg_handle_render_cairo (handle, cr); // we now catch the error right here We catch invalid cr's, emit a warning, and return FALSE from rsvg_handle_render_cairo*(). https://gitlab.gnome.org/GNOME/librsvg/issues/276 librsvg/rsvg-cairo-render.c | 11 +++++++++++ tests/api.c | 27 +++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) commit 15711ddd1e6ffc5052423a7550a926fa1a2c73b5 Author: Federico Mena Quintero Date: Fri Jun 1 08:43:57 2018 -0500 COMPILING.md: Note on how to run `make distcheck` so it will work COMPILING.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)