commit 2ff918b28f974b5436a7257a70b1ea04f2d632a2 Author: Federico Mena Quintero Date: Mon Jun 11 19:54:21 2018 -0500 Update NEWS for 2.43.0 NEWS | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 72 insertions(+), 2 deletions(-) commit 8921e76f779df3dea02d40fb589c79fe39de0863 Author: Federico Mena Quintero Date: Mon Jun 11 19:13:04 2018 -0500 rustfmt rsvg_internals/src/defs.rs | 6 +----- rsvg_internals/src/image.rs | 1 - rsvg_internals/src/lib.rs | 11 ++--------- rsvg_internals/src/load.rs | 15 +++++++++++---- rsvg_internals/src/node.rs | 5 +---- rsvg_internals/src/stop.rs | 1 - 6 files changed, 15 insertions(+), 24 deletions(-) commit b31df6aab1dbcf82b94aa87936668333ceb7063b Author: GuillaumeGomez Date: Mon Jun 11 23:36:05 2018 +0200 Fix build errors rsvg_internals/src/load.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 9b4a9e9c05d6ee7b81c18b23e7a32c392bcc817f Author: Guillaume Gomez Date: Sat Feb 10 00:00:44 2018 +0100 Add windows tests .gitignore | 1 + appveyor.yml | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) commit 3e09cd30ebe5fb1820d2521cfccb27baccbf6a9b Merge: b313708e f13405b8 Author: Federico Mena Quintero Date: Mon Jun 11 09:40:56 2018 -0500 Merge branch 'pborelli/librsvg-load' commit b313708e567f9f87eb8f011ab85a31d12fd45486 Author: Jehan Date: Sat Jun 9 21:17:14 2018 +0200 tests: fix also VPATH build for unit tests. tests/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8722ae31dee6d1da047485a4763c4764bc0e06d1 Author: Jehan Date: Sat Jun 9 19:04:51 2018 +0200 Makefile: fix VPATH (out-of-tree) builds. In `librsvg/rsvg.h`, the include is "librsvg-enum-types.h", which is a generated file and is therefore inside $(top_builddir)/librsvg/. Makefile.am | 6 ++++-- gdk-pixbuf-loader/Makefile.am | 3 ++- tools/Makefile.am | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) commit 7ae7af7f8cbfd83fe422ae229a0c9378d6620d8e Author: Federico Mena Quintero Date: Mon Jun 11 09:02:06 2018 -0500 Oops, regenerate the last test file with linearization/unlinearization .../reftests/bugs/241-light-source-type-ref.png | Bin 4036 -> 3983 bytes 1 file changed, 0 insertions(+), 0 deletions(-) commit f13405b838b9805c6b4dc9396bb00aaa2f3ff5f6 Author: Paolo Borelli Date: Sun Jun 10 16:05:39 2018 +0200 defs: move node registration to rust Makefile.am | 1 + librsvg/rsvg-load.c | 28 +--------------------------- rsvg_internals/src/defs.rs | 25 +++++++++++++++++++++++++ rsvg_internals/src/lib.rs | 2 ++ rsvg_internals/src/node.rs | 20 ++++++++++++++++++++ 5 files changed, 49 insertions(+), 27 deletions(-) commit de9951f70bb094d74938fd52357cc03a61ecca4a Author: Paolo Borelli Date: Sat Jun 9 17:02:50 2018 +0200 load: rework handling of class attribute Now also the class is stored in the node, in a way similar to id. librsvg/filters/blend.c | 3 +- librsvg/filters/color_matrix.c | 3 +- librsvg/filters/component_transfer.c | 6 ++-- librsvg/filters/convolve_matrix.c | 3 +- librsvg/filters/diffuse_lighting.c | 3 +- librsvg/filters/displacement_map.c | 3 +- librsvg/filters/erode.c | 3 +- librsvg/filters/flood.c | 3 +- librsvg/filters/gaussian_blur.c | 3 +- librsvg/filters/image.c | 3 +- librsvg/filters/light_source.c | 3 +- librsvg/filters/specular_lighting.c | 3 +- librsvg/filters/tile.c | 3 +- librsvg/filters/turbulence.c | 3 +- librsvg/rsvg-filter.h | 34 +++++++++--------- librsvg/rsvg-load.c | 42 +++++----------------- librsvg/rsvg-private.h | 1 + librsvg/rsvg-styles.h | 2 +- rsvg_internals/src/cnode.rs | 2 ++ rsvg_internals/src/load.rs | 68 +++++++++++++++++++++++++++--------- rsvg_internals/src/node.rs | 22 ++++++++++++ rsvg_internals/src/state.rs | 11 ++---- rsvg_internals/src/structure.rs | 12 +------ rsvg_internals/src/text.rs | 1 + rsvg_internals/src/viewport.rs | 1 + 25 files changed, 140 insertions(+), 101 deletions(-) commit 15ad587f879100df1058ff8f1cfec08168a266de Author: Paolo Borelli Date: Sun Jun 10 15:28:00 2018 +0200 node: add and use get_id method librsvg/rsvg-load.c | 9 +++++---- librsvg/rsvg-styles.h | 4 ++-- rsvg_internals/src/node.rs | 4 ++++ rsvg_internals/src/state.rs | 11 ++++------- rsvg_internals/src/structure.rs | 6 +----- 5 files changed, 16 insertions(+), 18 deletions(-) commit f11e589fbe7cea994875de8992aedd4369aa5aee Author: Paolo Borelli Date: Sun Jun 10 13:03:28 2018 +0200 load: macroify node creation functions rsvg_internals/src/load.rs | 657 +++++++++++---------------------------------- 1 file changed, 163 insertions(+), 494 deletions(-) commit 9d84918bac42d065989556961dbffb901a357eb4 Author: Paolo Borelli Date: Sun Jun 10 10:43:33 2018 +0200 load: move all node creation function in load.rs For now they are moved verbatim, but at least they are not exported to C anymore librsvg/rsvg-filter.h | 12 - librsvg/rsvg-load.c | 4 + librsvg/rsvg-structure.h | 104 -------- rsvg_internals/src/clip_path.rs | 20 +- rsvg_internals/src/filters/composite.rs | 25 +- rsvg_internals/src/filters/merge.rs | 44 +--- rsvg_internals/src/filters/node.rs | 21 +- rsvg_internals/src/filters/offset.rs | 25 +- rsvg_internals/src/gradient.rs | 37 +-- rsvg_internals/src/image.rs | 18 +- rsvg_internals/src/lib.rs | 41 --- rsvg_internals/src/link.rs | 20 +- rsvg_internals/src/load.rs | 447 +++++++++++++++++++++++++++++--- rsvg_internals/src/marker.rs | 22 +- rsvg_internals/src/mask.rs | 20 +- rsvg_internals/src/pattern.rs | 26 +- rsvg_internals/src/shapes.rs | 141 ++-------- rsvg_internals/src/stop.rs | 18 +- rsvg_internals/src/structure.rs | 118 +-------- rsvg_internals/src/text.rs | 57 +--- 20 files changed, 495 insertions(+), 725 deletions(-) commit ac6f7bcf03289589435cbb603b17e9ed43676e6b Author: Federico Mena Quintero Date: Fri Jun 8 11:47:17 2018 -0500 Add test for the light source type .../reftests/bugs/241-light-source-type-ref.png | Bin 0 -> 4036 bytes tests/fixtures/reftests/bugs/241-light-source-type.svg | 16 ++++++++++++++++ 2 files changed, 16 insertions(+) commit b9b29ae5a88f0bab981f23f58efa953f582a312b Author: Federico Mena Quintero Date: Fri Jun 8 11:43:14 2018 -0500 (#241) rsvg_new_node_light_source() - Fix cut&paste error between feDistantLight and feSpotLight Sigh, I broke this and never caught it because there weren't tests for filters with light sources. https://gitlab.gnome.org/GNOME/librsvg/issues/241 librsvg/filters/light_source.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 01101c5d96cd7edcc72023d6f9993cd8beede221 Author: Federico Mena Quintero Date: Fri Jun 8 08:06:11 2018 -0500 Add tests for (#282), copied/regenerated from librsvg-2.42 (#282) - Don't reuse the input surface for painting feComposite's output feComposite tried to take a shortcut if one of its inputs is an existing surface, by painting its output to that same surface. However, the overall filter may want to reuse the original surface unchanged. This was causing drop shadows, done like Inkscape's, to be mis-painted. https://gitlab.gnome.org/GNOME/librsvg/issues/282 tests/fixtures/reftests/bugs/282-drop-shadow-ref.png | Bin 0 -> 1699 bytes tests/fixtures/reftests/bugs/282-drop-shadow.svg | 12 ++++++++++++ 2 files changed, 12 insertions(+) commit d2cf5f4441c0a6925f96c55a27db3f250ac2eecb Author: Federico Mena Quintero Date: Tue Jun 5 17:44:13 2018 -0500 rustfmt rsvg_internals/src/drawing_ctx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 85d88d887e3f845755575453cf9632e5f1f0fd36 Merge: a4ccc04a b0c74b91 Author: Federico Mena Quintero Date: Tue Jun 5 17:43:38 2018 -0500 Merge branch 'pborelli/librsvg-draw-ctx' commit a4ccc04a238d8ba2f660a9c79921cc845d871e48 Author: Federico Mena Quintero Date: Tue Jun 5 17:36:30 2018 -0500 rustfmt .rustfmt.toml | 1 - rsvg_internals/src/filters/merge.rs | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit b0c74b919fd55e5ea8a7da21665f0c6abab9bab4 Author: Paolo Borelli Date: Sun Jun 3 18:51:48 2018 +0200 structure: avoid C roundtrip rsvg_internals/src/state.rs | 2 +- rsvg_internals/src/structure.rs | 29 ++--------------------------- 2 files changed, 3 insertions(+), 28 deletions(-) commit 823a22576e52fb52e786aaf981e802a174396cc9 Author: Paolo Borelli Date: Sun Jun 3 20:54:51 2018 +0200 drawing_ctx: move useful comment to rust librsvg/rsvg-drawing-ctx.c | 18 ------------------ rsvg_internals/src/drawing_ctx.rs | 5 +++++ 2 files changed, 5 insertions(+), 18 deletions(-) commit 4e7c2b6cd7a7c97d5508315ca16ac7743ba4b6a1 Author: Paolo Borelli Date: Sun Jun 3 20:08:25 2018 +0200 drawing_ctx: remove unused field librsvg/rsvg-drawing-ctx.h | 1 - 1 file changed, 1 deletion(-) commit d048320a1e275133da8d678f7f7f130af87bb640 Author: Paolo Borelli Date: Sun Jun 3 19:53:11 2018 +0200 drawing_ctx: move get_acquired_node_of_type to rust librsvg/rsvg-drawing-ctx.c | 38 -------------------------------------- rsvg_internals/src/drawing_ctx.rs | 30 ++++++++++++++++-------------- 2 files changed, 16 insertions(+), 52 deletions(-) commit 0b728c8f9e810c6235015289c7504cc2788e8a96 Author: Paolo Borelli Date: Sun Jun 3 19:14:15 2018 +0200 drawing_ctx: do not pass in the handle It is a bit more verbose, but reduces coupling. rsvg_drawing_ctx_new now cannot fail. librsvg/rsvg-drawing-ctx.c | 32 +++++++++++++------------ librsvg/rsvg-drawing-ctx.h | 10 +++++++- librsvg/rsvg-handle.c | 58 ++++++++++++++++++++++++++++------------------ 3 files changed, 62 insertions(+), 38 deletions(-) commit 7ee0bb1fb9c66b8e19b416dfd28a1a3c8be2977b Author: Paolo Borelli Date: Sun Jun 3 18:57:37 2018 +0200 handle: cleanup get_position_sub No need to use the DimensionData struct, since just the width and height fields are used. librsvg/rsvg-handle.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) commit f345d614a1d4c1922eda2487e9a4aacd2f40ffa5 Merge: 5a2dd2a8 0d6e1b81 Author: Federico Mena Quintero Date: Tue Jun 5 12:53:14 2018 -0500 Merge branch 'YaLTeR/librsvg-filters-to-rust-3' commit 5a2dd2a8c5bb05992fcaf87fea110e6d39ebf16d Author: Federico Mena Quintero Date: Tue Jun 5 08:52:16 2018 -0500 (#273) - Pass the node being filtered down to the filter rendering functions feImage wants to render the node it is referencing via href, but with a cascade from the node to which the filter is being applied - similar to the element. This requires that we are able to obtain the node, to which the filter is being applied, from the filter rendering function. This commit introduces FilterContext::get_node_being_filtered(). pop_discrete_layer() also takes a node - this is so that it can create the FilterContext with the node that is being filtered. Also, Node::draw_children() now takes a node argument, so it can pass it to pop_discrete_layer(). This makes filters-composite-02-b.svg render almost exactly like the SVG 1.1 official reference image, except for the Arithmetic column; the lower-right item has an extra row of pixels on top... We regenerate filters-composite-02-b-ref.png for now. https://gitlab.gnome.org/GNOME/librsvg/issues/273 librsvg/filters/common.h | 3 ++ librsvg/filters/image.c | 7 +++- rsvg_internals/src/clip_path.rs | 2 +- rsvg_internals/src/drawing_ctx.rs | 14 +++++-- rsvg_internals/src/filters/context.rs | 21 +++++++++- rsvg_internals/src/filters/ffi.rs | 9 ++++- rsvg_internals/src/image.rs | 4 +- rsvg_internals/src/lib.rs | 1 + rsvg_internals/src/link.rs | 2 + rsvg_internals/src/marker.rs | 4 +- rsvg_internals/src/mask.rs | 2 +- rsvg_internals/src/node.rs | 3 +- rsvg_internals/src/pattern.rs | 4 +- rsvg_internals/src/shapes.rs | 30 +++++++------- rsvg_internals/src/structure.rs | 13 ++++--- rsvg_internals/src/text.rs | 2 +- rsvg_internals/src/viewport.rs | 43 ++++++++++++++++++--- .../reftests/svg1.1/filters-composite-02-b-ref.png | Bin 16055 -> 15917 bytes 18 files changed, 123 insertions(+), 41 deletions(-) commit 778e0b932df9458ebe685fcea80a3a4ea1f08a65 Author: Federico Mena Quintero Date: Tue Jun 5 07:34:21 2018 -0500 rsvg_drawing_ctx_draw_node_on_surface() - Take an optional node to cascade from librsvg/filters/image.c | 1 + librsvg/rsvg-drawing-ctx.c | 3 ++- librsvg/rsvg-drawing-ctx.h | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) commit 0d6e1b81789c3829b7d2b878a9ab1302c215f136 Author: Ivan Molodetskikh Date: Tue Jun 5 16:20:57 2018 +0300 Port feMerge to Rust Makefile.am | 2 +- librsvg/filters/merge.c | 192 --------------------- rsvg_internals/src/filters/ffi.rs | 4 +- rsvg_internals/src/filters/merge.rs | 169 ++++++++++++++++++ rsvg_internals/src/filters/mod.rs | 1 + rsvg_internals/src/lib.rs | 1 + .../reftests/svg1.1/filters-offset-01-b-ref.png | Bin 10560 -> 10654 bytes 7 files changed, 175 insertions(+), 194 deletions(-) commit 3ebdaf9af2b4e2a6b9674482d3ddd9457ab2fdc5 Author: Federico Mena Quintero Date: Tue Jun 5 07:24:39 2018 -0500 rsvg_drawing_ctx_draw_node_from_stack() - Pass an optional node to cascade from According to the spec, elements referenced from feImage are suposed to cascade like the element. The spec is not very clear on this, but filters-composite-02-b.svg indicates that the referenced element cascades from the original element that has the filter applied to it. For example, Here, baz has a filter applied to it, and the feImage in the filter references foo. However, foo should inherit its CSS properties from baz, not from bar. This commit lets us give rsvg_drawing_ctx_draw_node_from_stack() a second, optional node to cascade from. If it is NULL, then the node to draw will use its own default cascade. librsvg/rsvg-drawing-ctx.c | 2 +- librsvg/rsvg-drawing-ctx.h | 1 + librsvg/rsvg-handle.c | 6 +++--- rsvg_internals/src/drawing_ctx.rs | 18 +++++++++++++++++- 4 files changed, 22 insertions(+), 5 deletions(-) commit 7c92faeaad990af6540b61f86c43d74b4c60c24d Author: Ivan Molodetskikh Date: Tue Jun 5 14:59:44 2018 +0300 Impl set_pixel() for cairo::ImageSurfaceData rsvg_internals/src/filters/composite.rs | 28 ++++++++++++---------------- rsvg_internals/src/filters/iterators.rs | 17 +++++++++++++++++ rsvg_internals/src/filters/offset.rs | 9 ++------- 3 files changed, 31 insertions(+), 23 deletions(-) commit a03bc942243b581bd2af2f71199f365d656e185e Author: Ivan Molodetskikh Date: Tue Jun 5 14:33:49 2018 +0300 Port rsvg_filter_get_{in,result} to Rust librsvg/filters/common.c | 118 ++++++++++++++++------------------ librsvg/filters/common.h | 16 ++++- rsvg_internals/src/filters/context.rs | 55 +++++++++++++++- rsvg_internals/src/lib.rs | 2 + 4 files changed, 124 insertions(+), 67 deletions(-) commit 962437250f42f56c318a28bc50bdde83ca22ddca Author: Ivan Molodetskikh Date: Tue Jun 5 14:12:47 2018 +0300 Silence two warnings rsvg_internals/src/cond.rs | 2 +- rsvg_internals/src/drawing_ctx.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 949858c7af988ec2812b031f4989e77de1bd9e5e Author: Ivan Molodetskikh Date: Tue Jun 5 14:11:34 2018 +0300 Implement BackgroundImage and BackgroundAlpha librsvg/filters/common.c | 60 +++++++++++++-------------- librsvg/rsvg-drawing-ctx.c | 6 +++ librsvg/rsvg-drawing-ctx.h | 3 ++ rsvg_internals/src/drawing_ctx.rs | 45 +++++++++++++++++++++ rsvg_internals/src/filters/context.rs | 76 ++++++++++++++++++++++++++++++++--- 5 files changed, 155 insertions(+), 35 deletions(-) commit 4ca90fa90de9caa701833a514168f903efd3bfec Author: Ivan Molodetskikh Date: Tue Jun 5 11:59:18 2018 +0300 Fix find_light_source_in_children() librsvg/filters/light_source.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bb4a9d4df81e57ed67c02618e0e1d839de6558dc Author: Ivan Molodetskikh Date: Tue Jun 5 11:37:12 2018 +0300 Stub out FillPaint and StrokePaint rsvg_internals/src/filters/context.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 3103ac64bf52adc2cd1c25abba7a97e7d0a04eb3 Author: Ivan Molodetskikh Date: Tue Jun 5 11:36:08 2018 +0300 Implement SourceAlpha in get_input() rsvg_internals/src/filters/context.rs | 101 +++++++++++++++++++++++++++++++++- 1 file changed, 100 insertions(+), 1 deletion(-) commit 7cc179c6436e00c0cc1bbb41bee4f0552a91fde7 Author: Ivan Molodetskikh Date: Tue Jun 5 11:04:14 2018 +0300 Return correct bounds from get_input() rsvg_internals/src/filters/context.rs | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) commit 7669a121fbac1ca0fcf4d86b54ccc7be16fdc65d Author: Ivan Molodetskikh Date: Tue Jun 5 11:03:55 2018 +0300 Remove extra FilterContext::compute_bounds() arg rsvg_internals/src/filters/context.rs | 19 ++++++------------- rsvg_internals/src/filters/mod.rs | 5 ----- 2 files changed, 6 insertions(+), 18 deletions(-) commit c5bfd649ac393e685fb76df2f760b2d353d22af2 Author: Federico Mena Quintero Date: Mon Jun 4 18:21:57 2018 -0500 Node: store the element's id, or None. We pass it everywhere to the construction functions now. We'll use this for several things: debugging, CSS cascading, etc. librsvg/filters/blend.c | 3 +- librsvg/filters/color_matrix.c | 3 +- librsvg/filters/component_transfer.c | 6 ++-- librsvg/filters/convolve_matrix.c | 3 +- librsvg/filters/diffuse_lighting.c | 3 +- librsvg/filters/displacement_map.c | 3 +- librsvg/filters/erode.c | 3 +- librsvg/filters/flood.c | 3 +- librsvg/filters/gaussian_blur.c | 3 +- librsvg/filters/image.c | 3 +- librsvg/filters/light_source.c | 3 +- librsvg/filters/merge.c | 6 ++-- librsvg/filters/specular_lighting.c | 3 +- librsvg/filters/tile.c | 3 +- librsvg/filters/turbulence.c | 3 +- librsvg/rsvg-filter.h | 38 ++++++++++++------------ librsvg/rsvg-load.c | 52 ++++++++++++++++++++++----------- librsvg/rsvg-private.h | 1 + librsvg/rsvg-structure.h | 52 ++++++++++++++++----------------- rsvg_internals/src/clip_path.rs | 3 ++ rsvg_internals/src/cnode.rs | 9 ++++-- rsvg_internals/src/filters/composite.rs | 12 ++++++-- rsvg_internals/src/filters/node.rs | 9 +++++- rsvg_internals/src/filters/offset.rs | 12 ++++++-- rsvg_internals/src/gradient.rs | 4 +++ rsvg_internals/src/image.rs | 9 +++++- rsvg_internals/src/link.rs | 9 +++++- rsvg_internals/src/load.rs | 37 ++++++++++++++++++++--- rsvg_internals/src/marker.rs | 9 +++++- rsvg_internals/src/mask.rs | 9 +++++- rsvg_internals/src/node.rs | 18 ++++++++++++ rsvg_internals/src/pattern.rs | 9 +++++- rsvg_internals/src/shapes.rs | 45 ++++++++++++++++++++++++---- rsvg_internals/src/stop.rs | 9 +++++- rsvg_internals/src/structure.rs | 49 +++++++++++++++++++++++++++---- rsvg_internals/src/text.rs | 32 +++++++++++++++++--- 36 files changed, 365 insertions(+), 113 deletions(-) commit a9f76253a5940a54b2f9be91cc78a156c433ddce Merge: 072e1c11 8cee3df6 Author: Federico Mena Quintero Date: Mon Jun 4 17:27:58 2018 -0500 Merge branch 'YaLTeR/librsvg-filters-to-rust-2' commit 8cee3df678be149e4bb525e081ca30d0082d234d Author: Ivan Molodetskikh Date: Mon Jun 4 23:57:48 2018 +0300 Use camelCase filterUnits and primitiveUnits rsvg_internals/src/filters/node.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 072e1c11ecb39987aaf9c027dd4d3395d69989ad Merge: b11261f7 b855f33e Author: Federico Mena Quintero Date: Mon Jun 4 12:19:39 2018 -0500 Merge branch 'saurvs/librsvg-load_rust' commit b855f33e08b1a962bcb7cc629eef94814026a2f5 Author: Federico Mena Quintero Date: Mon Jun 4 12:15:25 2018 -0500 rustfmt rsvg_internals/src/load.rs | 104 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 79 insertions(+), 25 deletions(-) commit f6742ae32b5a23f66cb4519f7052a05e1dc5d1da Author: Federico Mena Quintero Date: Mon Jun 4 12:14:28 2018 -0500 Tell rustfmt to skip the list of node creators rsvg_internals/src/load.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 53dca862404f08578d280061ac0e057fc300441b Author: Saurav Sachidanand Date: Sat Jun 2 20:57:15 2018 +0530 Move node creation to Rust Makefile.am | 1 + librsvg/rsvg-load.c | 150 ++------------------------------------------- librsvg/rsvg-structure.h | 4 ++ rsvg_internals/src/lib.rs | 3 + rsvg_internals/src/load.rs | 150 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 163 insertions(+), 145 deletions(-) commit b11261f77193bfbde8fda1fbaa5493c540d36831 Merge: 7598fed7 d11d958a Author: Federico Mena Quintero Date: Mon Jun 4 12:00:29 2018 -0500 Merge branch 'ffontaine/librsvg-master' commit d11d958ad578704f977abe3ecd174e761202faec Author: Federico Mena Quintero Date: Mon Jun 4 12:00:03 2018 -0500 COMPILING.md: Update to mention the RUST_TARGET environment variable COMPILING.md | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 7598fed70bde71f01dca9866cfa468b5cb3e35ce Author: Federico Mena Quintero Date: Mon Jun 4 11:35:23 2018 -0500 Punctuation fix. README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 11b37c9967d0e210ab0a6ff5524b7e61dff987f0 Author: Ivan Molodetskikh Date: Mon Jun 4 15:05:14 2018 +0300 Add some missing attributes rsvg_internals/src/filters/context.rs | 4 +++- rsvg_internals/src/filters/mod.rs | 3 +++ rsvg_internals/src/filters/node.rs | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) commit fbf3fc05d7ba511ec1b583d98ffef69f12554a19 Author: Ivan Molodetskikh Date: Mon Jun 4 14:36:01 2018 +0300 Regenerate (TEMPORARY) test results Need to be regenerated when half-pixel shift is fixed. .../reftests/svg1.1/filters-composite-02-b-ref.png | Bin 16062 -> 16055 bytes .../reftests/svg1.1/filters-offset-01-b-ref.png | Bin 10442 -> 10560 bytes 2 files changed, 0 insertions(+), 0 deletions(-) commit 619d9cb104e1eaebb2888b5d472f000f36084865 Author: Ivan Molodetskikh Date: Mon Jun 4 14:35:28 2018 +0300 Port the filter node to Rust Makefile.am | 2 +- librsvg/filters/common.c | 134 +++++++++++++++++----------------- librsvg/filters/common.h | 29 ++++---- librsvg/rsvg-filter.c | 58 --------------- librsvg/rsvg-filter.h | 16 ++-- rsvg_internals/src/filters/context.rs | 56 ++++---------- rsvg_internals/src/filters/ffi.rs | 10 +-- rsvg_internals/src/filters/mod.rs | 1 + rsvg_internals/src/filters/node.rs | 76 +++++++++++++++++++ rsvg_internals/src/lib.rs | 3 +- 10 files changed, 187 insertions(+), 198 deletions(-) commit 4a9399045ae0ade14b90400b646ea2c79c839181 Author: Ivan Molodetskikh Date: Mon Jun 4 14:34:45 2018 +0300 Add Node::get_impl() rsvg_internals/src/node.rs | 4 ++++ 1 file changed, 4 insertions(+) commit ec03a245afaf4a32d0ccade12ff9f3beb1ec2d87 Author: Ivan Molodetskikh Date: Mon Jun 4 12:03:03 2018 +0300 Refactor feComposite to use the new iterator rsvg_internals/src/filters/composite.rs | 106 ++++++++++++-------------------- 1 file changed, 41 insertions(+), 65 deletions(-) commit 75918ae291cbdbdb973481ba27979e1f3cf07944 Author: Ivan Molodetskikh Date: Mon Jun 4 11:31:43 2018 +0300 Refactor feOffset to use the new iterator rsvg_internals/src/filters/offset.rs | 72 +++++++++++++++--------------------- 1 file changed, 30 insertions(+), 42 deletions(-) commit dbd4a7fad476653e4b47b66b95418ae96c40fb50 Author: Ivan Molodetskikh Date: Mon Jun 4 11:07:52 2018 +0300 Fix invalid assert conditions in srgb rsvg_internals/src/srgb.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 45145a0363397b5b8fe12d8d5c7d896a23479a32 Author: Ivan Molodetskikh Date: Mon Jun 4 10:57:58 2018 +0300 Remove unneeded pub from ImageSurfaceDataShared rsvg_internals/src/filters/iterators.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3bb5f0e81584c40876739fdae054e07c0b328120 Author: Ivan Molodetskikh Date: Sat Jun 2 22:17:52 2018 +0300 Add some pixel iteration benchmarks rsvg_internals/benches/pixel_iterators.rs | 100 ++++++++++++++++++++++++++++++ rsvg_internals/src/lib.rs | 2 +- 2 files changed, 101 insertions(+), 1 deletion(-) commit 6d30736521641d6431dc30942fd2e0fef1dc0118 Author: Ivan Molodetskikh Date: Sat Jun 2 22:17:23 2018 +0300 Add crate-type lib to Cargo.toml rsvg_internals/Cargo.toml | 2 +- rsvg_internals/src/property_macros.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 019953f2b591197eaf4288df6a3d085ce7fc0ed5 Author: Ivan Molodetskikh Date: Sat Jun 2 22:15:34 2018 +0300 Add filters::iterators Makefile.am | 1 + rsvg_internals/src/filters/iterators.rs | 229 ++++++++++++++++++++++++++++++++ rsvg_internals/src/filters/mod.rs | 2 + 3 files changed, 232 insertions(+) commit 7284685ee8fdb635efa91a7f855bf61134d8c623 Author: Ivan Molodetskikh Date: Sat Jun 2 10:47:37 2018 +0300 Make filters::input a private mod rsvg_internals/src/filters/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f0b76ab6f003b8e05d4caab2b6d844e97b97796f Author: Fabrice Fontaine Date: Sat Jun 2 09:46:59 2018 +0200 Add RUST_TARGET variable Add RUST_TARGET environment variable through AC_ARG_VAR to allow the user to override the rust target name. Indeed, using $host when cross-compiling is not always the good option especially when vendor part of target is not set to unknown but to another value such as buildroot. Indeed, in this case aarch64-buildroot-linux-gnu won't be recognised as a valid target by rust/cargo. Signed-off-by: Fabrice Fontaine Makefile.am | 2 +- configure.ac | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) commit 978a87b3f3d4d89f63a42701deb1fea318b54b26 Author: Federico Mena Quintero Date: Fri Jun 1 19:33:31 2018 -0500 Remind people that github will delete their pull requests README.md | 4 ++++ 1 file changed, 4 insertions(+) commit 5050dcf06dc6a0dd7948baddf104e236b49909a1