commit 2465e1bfc0aab8d03fb4a2c3a6b6cc110fcbde98
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Mon Jan 8 18:09:17 2018 -0600

    Makefile.am: Argh, add text.rs to the sources

 Makefile.am | 1 +
 1 file changed, 1 insertion(+)

commit a341604fe3fe599a5f559089d7d2148bf88d3d1f
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Mon Jan 8 17:54:40 2018 -0600

    Update NEWS for 2.42.0

 NEWS | 9 +++++++++
 1 file changed, 9 insertions(+)

commit cd31851a13fe419abd08b50361d4d77031bbdcff
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Mon Jan 8 17:48:21 2018 -0600

    Bump version to 2.42.0
    
    The Rust version is the stable series now.

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit af38bfa462ae31ec0496771513802d6d0ca5bc2c
Merge: b567478 4c612f4
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Mon Jan 8 17:33:27 2018 -0600

    Merge branch 'hospitality'

commit b567478e77baf9c9ffb295c06c94b48562aa610e
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Mon Jan 8 14:21:29 2018 -0600

    gitlab:175 - Clarify docs about needing a hash sign in the "_sub()" APIs.
    
    https://gitlab.gnome.org/GNOME/librsvg/issues/175

 rsvg-handle.c | 16 +++++++---------
 rsvg.c        |  5 ++---
 2 files changed, 9 insertions(+), 12 deletions(-)

commit 29f1d9a71fb2a0968b19e6d0b9afb6fe140a9cda
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Mon Jan 8 13:50:49 2018 -0600

    gitlab#179 - rsvg_filter_primitive_free(): Check the GStrings for NULL before freeing them
    
    rsvg_new_filter_primitive_merge_node() reuses a plain
    RsvgFilterPrimitive struct and doesn't set ->result.  Allow for this
    general behavior in the destructor.
    
    https://gitlab.gnome.org/GNOME/librsvg/issues/179

 rsvg-filter.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

commit ab593f860660770bda46e0f02254bc85ac2a86a5
Author: Lovell Fuller <github@lovell.info>
Date:   Sat Jan 6 10:45:02 2018 +0000

    Ensure GFile is unreferenced to avoid filename memory leak
    See commit 475764f

 rsvg-base-file-util.c | 1 +
 1 file changed, 1 insertion(+)

commit 58b3267372e557cf1ff1f0af1888509bb42e26cc
Merge: e9cf303 882c1d4
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Mon Jan 8 09:15:43 2018 -0600

    Merge branch 'alatiera/librsvg-master'
    
    Changes suggested by rust-clippy.
    
    https://gitlab.gnome.org/GNOME/librsvg/merge_requests/1

commit 882c1d42685abdc9e58d80cd9e10a4d16a7eac6c
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Mon Jan 8 09:00:49 2018 -0600

    bbox.rs: Fix typo in clippification
    
    dst.rect.y should be dst.rect.x in the first hunk

 rust/src/bbox.rs | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

commit f041560fa7426cb664f91d893e6d2cd7a6b886ec
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Mon Jan 8 08:47:51 2018 -0600

    marker.rs: Add back comment that got removed during clippy

 rust/src/marker.rs | 2 ++
 1 file changed, 2 insertions(+)

commit 4c612f42c28fb4de5e74feee01db7aa573fee038
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Jan 5 18:15:37 2018 -0600

    ARCHITECTURE.md: element attributes; start of the Rendering section

 ARCHITECTURE.md | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

commit a4e99dde3b118f87a38af821c840778e428674f4
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Tue Jan 2 20:30:54 2018 -0600

    ARCHITECTURE.md: Describe the loading stage

 ARCHITECTURE.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

commit 2cc8a71b370992c886982dc7f73aadbab35dc0ec
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 28 12:45:54 2017 -0600

    Update .gitignore

 .gitignore | 1 +
 1 file changed, 1 insertion(+)

commit 9b95fe46f04af697adb02de5b20b44187545e068
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 28 12:42:10 2017 -0600

    ARCHITECTURE.md - new file with a description of librsvg's internals

 ARCHITECTURE.md | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

commit e9cf303cc826aa1c3f4471574b1440842a2ff3d8
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Tue Dec 19 17:34:01 2017 -0600

    Add rsvg_drawing_ctx_render_pango_layout(); bind it to Rust

 rsvg-base.c             |  9 +++++++++
 rsvg-private.h          |  6 ++++++
 rsvg-text.c             |  2 +-
 rust/src/drawing_ctx.rs | 14 ++++++++++++++
 4 files changed, 30 insertions(+), 1 deletion(-)

commit b08c30eece1f328d69d4ea4ee7eae418d84a3917
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Tue Dec 19 15:36:27 2017 -0600

    Node::foreach_child() / Node::has_children(): new functions.
    
    Make the Node.children field private.

 rust/src/gradient.rs  | 10 ++++++----
 rust/src/node.rs      | 20 ++++++++++++--------
 rust/src/pattern.rs   |  3 +--
 rust/src/structure.rs |  8 +++++---
 4 files changed, 24 insertions(+), 17 deletions(-)

commit 30978e89f85bdd25fd96d1c12d4467d7fd2914d7
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Tue Dec 19 14:32:44 2017 -0600

    Node.foreach_child(): New function.
    
    Implement rsvg_node_foreach_child() in terms of that, and also
    Node.draw_children().

 rust/src/node.rs | 28 +++++++++++++++++++---------
 1 file changed, 19 insertions(+), 9 deletions(-)

commit 6a00a5056017d0c48fe5aaa7f2f6a198dc29f246
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Sun Dec 17 11:35:45 2017 +0200

    Clear new_without_default and match_ref_pats.
    
    For more see:
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#new_without_default
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#match_ref_pats

 rust/src/gradient.rs     |  4 ++--
 rust/src/path_builder.rs | 10 ++++++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

commit da8793500de203759e3f29b0eca4c31ede8cd635
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Sun Dec 17 11:12:10 2017 +0200

    Clear warnings.
    
    Clear redundant_closue, if_let_redundant_pattern_matching,
    while_let_on_iterator and assign_op_pattern.
    
    For more see:
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#redundant_closure
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#if_let_redundant_pattern_matching
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#while_let_on_iterator
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#assign_op_pattern

 rust/src/aspect_ratio.rs | 4 ++--
 rust/src/drawing_ctx.rs  | 4 ++--
 rust/src/marker.rs       | 4 ++--
 rust/src/path_parser.rs  | 2 +-
 rust/src/property_bag.rs | 2 +-
 rust/src/shapes.rs       | 2 +-
 6 files changed, 9 insertions(+), 9 deletions(-)

commit 8070eaa9c36cf2aa080cc999a9e3a2508b14bc19
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Sun Dec 17 10:51:22 2017 +0200

    Clear useless_let_if_seq warnings.
    
    For more see:
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#useless_let_if_seq

 rust/src/bbox.rs        | 38 +++++----------------
 rust/src/gradient.rs    | 10 +++---
 rust/src/path_parser.rs | 90 ++++++++++++++++++++-----------------------------
 3 files changed, 49 insertions(+), 89 deletions(-)

commit 341f68559ce926347320ca4cff40b4d9b1b64632
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Sun Dec 17 10:28:54 2017 +0200

    Clear len_zero, match_bool, singel_match warnings.
    
    For more see:
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#len_zero
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#match_bool
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#single_match

 rust/src/gradient.rs    |  2 +-
 rust/src/image.rs       |  9 ++-------
 rust/src/lib.rs         |  1 +
 rust/src/marker.rs      | 48 ++++++++++++++++--------------------------------
 rust/src/path_parser.rs |  7 ++++---
 5 files changed, 24 insertions(+), 43 deletions(-)

commit cb005237f9bc6c8122564bc0befa7cb97a363870
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Sun Dec 17 09:47:03 2017 +0200

    Clear needless_return, let_and_return and or_fun_call warnings.
    
    For more see:
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#needless_return
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#let_and_return
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#or_fun_call

 rust/src/drawing_ctx.rs  |  4 +---
 rust/src/gradient.rs     |  2 +-
 rust/src/length.rs       |  4 ++--
 rust/src/path_builder.rs |  6 ++----
 rust/src/path_parser.rs  | 18 +++++++++---------
 rust/src/pattern.rs      |  3 +--
 rust/src/structure.rs    |  4 ++--
 7 files changed, 18 insertions(+), 23 deletions(-)

commit 7c2c26451e123b930ab9e9c17c7b078caadd1049
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Sun Dec 17 09:29:23 2017 +0200

    Clear useless_vec, needless_borrow and unreadable_literal.
    
    For more see:
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#useless_vec
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#needless_borrow
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#unreadable_literal

 rust/src/color.rs    | 8 ++++----
 rust/src/error.rs    | 4 ++--
 rust/src/gradient.rs | 2 +-
 rust/src/image.rs    | 2 +-
 rust/src/marker.rs   | 2 +-
 rust/src/shapes.rs   | 2 +-
 6 files changed, 10 insertions(+), 10 deletions(-)

commit 26509f13fc84f39f390f7779ca213be81eeebf2d
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Sun Dec 17 09:18:34 2017 +0200

    Clear cast_lossless clippy warnings.
    
    For more see:
    https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#cast_lossless

 rust/src/bbox.rs         |  8 ++++----
 rust/src/color.rs        |  8 ++++----
 rust/src/gradient.rs     |  8 ++++----
 rust/src/image.rs        |  4 ++--
 rust/src/length.rs       |  6 +++---
 rust/src/opacity.rs      |  4 ++--
 rust/src/parsers.rs      | 14 +++++++-------
 rust/src/path_builder.rs |  6 +++---
 rust/src/path_parser.rs  |  6 +++---
 rust/src/pattern.rs      |  4 ++--
 rust/src/stop.rs         |  8 ++++----
 rust/src/text.rs         |  2 +-
 12 files changed, 39 insertions(+), 39 deletions(-)

commit c51a17add11fb923a9b422a0b193e6522fb4e0f3
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Sat Dec 16 20:59:20 2017 +0200

    Fix doc_markdown warnings.
    
    More info: https://rust-lang-nursery.github.io/rust-clippy/v0.0.176/index.html#doc_markdown

 rust/src/aspect_ratio.rs | 4 ++--
 rust/src/opacity.rs      | 2 +-
 rust/src/space.rs        | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

commit aadad2507da5752ace999083e8dace53ae62be66
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Sat Dec 16 20:54:24 2017 +0200

    Clippy: Ignore some warnings.

 rust/src/lib.rs | 4 ++++
 1 file changed, 4 insertions(+)

commit 05459ae859dcb00419609b09fbeed7470c1d4e83
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 15 12:51:42 2017 -0600

    normalize_default(): No need to coalesce (space, tab)
    
    Tabs have already been removed by the map().
    
    Thanks to Jamey Sharp for pointing this out.

 rust/src/space.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 8f1a6bc2c6a1133a2c8bf925854bfb494d70a1ef
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 15 11:48:04 2017 -0600

    rsvg_text_create_layout(): This is now implemented in Rust.  Yay!

 rsvg-text.c      |  81 ++-----------------------------------------
 rust/src/lib.rs  |   5 +++
 rust/src/text.rs | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 109 insertions(+), 79 deletions(-)

commit 617c2a23e3ff0387c7aa8a16aa711ac9a8346ece
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 15 11:39:38 2017 -0600

    rsvg_text_create_layout(): Set all the layout properties first; set the text at the very end

 rsvg-text.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 862a44eda862915e38472e87f96509c97b252481
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 15 11:33:01 2017 -0600

    Bind state::get_font_decor() to Rust

 rsvg-styles.h     |  1 +
 rust/src/state.rs | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

commit 7c5b68ff92a18366187d5ba102f43877a25bb850
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 15 11:18:06 2017 -0600

    New accessor rsvg_state_get_font_decor()

 rsvg-styles.c | 9 +++++++++
 rsvg-styles.h | 3 +++
 rsvg-text.c   | 8 +++++---
 3 files changed, 17 insertions(+), 3 deletions(-)

commit 8da08fe5654735018489655845e49aada22e4330
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 15 11:11:31 2017 -0600

    TextDecoration: Make this a struct of booleans, not a bitfield

 rsvg-styles.c | 10 ++++++----
 rsvg-styles.h | 13 +++++--------
 rsvg-text.c   |  4 ++--
 3 files changed, 13 insertions(+), 14 deletions(-)

commit 2e1eb6bba3dd4f3a76cf8b12597d4b2458079acc
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 15 11:03:13 2017 -0600

    rsvg_text_create_layout(): Assert that the provided text is not NULL

 rsvg-text.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

commit f7ef0c508a14defb362d9ac60edf5d9200a8616a
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 15 11:00:56 2017 -0600

    rsvg-text.c: Create pango attributes inline; no need to specify their extents
    
    Attributes get created to span the whole text by default.

 rsvg-text.c | 19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

commit be9eec634e6138e4ce686a1652b70c02e9832aa3
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 15 10:58:44 2017 -0600

    Bind rsvg_state_get_letter_spacing()

 rsvg-styles.c     |  7 +++++++
 rsvg-styles.h     |  2 ++
 rsvg-text.c       |  4 +++-
 rust/src/state.rs | 25 ++++++++++++++++---------
 4 files changed, 28 insertions(+), 10 deletions(-)

commit cda0462a3b2103938a4de15b7ef4634d37341edb
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 15 09:10:25 2017 -0600

    state::get_font_family() should return an Option<String>

 rust/src/state.rs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 8904d626908bb4a94bd82b04eeda079c4535448e
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 15 08:41:50 2017 -0600

    Bindings for text_gravity, font_family, font_style, font_weight, font_stretch

 rsvg-styles.c     | 36 ++++++++++++++++++++++++++++++++++++
 rsvg-styles.h     | 19 +++++++++++++++++++
 rsvg-text.c       | 24 ++++++++++++++----------
 rust/src/state.rs | 31 +++++++++++++++++++++++++++++++
 4 files changed, 100 insertions(+), 10 deletions(-)

commit 45c0af021dd158b927534111cb026d406c18949c
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 15 07:05:06 2017 -0600

    Add rsvg_state_get_unicode_bidi(), rsvg_state_get_text_dir(); bind them to Rust

 rsvg-styles.c     | 12 ++++++++++++
 rsvg-styles.h     |  6 ++++++
 rsvg-text.c       |  9 ++++++---
 rust/src/state.rs | 22 +++++++++++++++++++++-
 4 files changed, 45 insertions(+), 4 deletions(-)

commit a4acff186ee43451bceb1f19b4f1832b4f60b3b7
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 14 14:16:49 2017 -0600

    state.rs: Bind rsvg_state_get_language() to Rust

 rust/src/state.rs | 13 +++++++++++++
 1 file changed, 13 insertions(+)

commit 2ec37a704a9001e4828559f846bc379916aa655b
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 14 14:16:37 2017 -0600

    rsvg_state_get_language(): New accessor

 rsvg-styles.c | 6 ++++++
 rsvg-styles.h | 4 ++++
 rsvg-text.c   | 6 ++++--
 3 files changed, 14 insertions(+), 2 deletions(-)

commit bed85586a257c8fe25a0f3a61e38bb8fe958ddab
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 14 14:05:04 2017 -0600

    drawing_ctx.rs: Bind get_pango_context() to Rust

 rust/src/drawing_ctx.rs | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

commit 408df468dba6049f10109641a1710b8e55cef5fc
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 14 14:04:10 2017 -0600

    Add rsvg_drawing_ctx_get_pango_context() to call the virtual method
    
    Don't call it by poking at the vtable struct by hand.

 rsvg-base.c    | 6 ++++++
 rsvg-private.h | 3 +++
 rsvg-text.c    | 2 +-
 3 files changed, 10 insertions(+), 1 deletion(-)

commit 922fac5c28a5591148014c97d3a668a04f5ce47a
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 14 09:24:37 2017 -0600

    Add pango-sys to the Rust dependencies

 rust/Cargo.lock | 1 +
 rust/Cargo.toml | 1 +
 rust/src/lib.rs | 2 ++
 3 files changed, 4 insertions(+)

commit 222e48db9aef9ce4854184c911a9d20b9723b4b5
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 14 09:16:34 2017 -0600

    Add Pango to the Rust dependencies

 rust/Cargo.lock | 28 ++++++++++++++++++++++++++++
 rust/Cargo.toml |  1 +
 2 files changed, 29 insertions(+)

commit e9852c2b9be83cb68f3002fca9a817f34a6f364c
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 14 09:13:29 2017 -0600

    Update glib, glib-sys, cairo, cairo-sys dependencies to the latest versions

 rust/Cargo.lock | 220 +++++++++++++++++++++++++++-----------------------------
 rust/Cargo.toml |  10 ++-
 2 files changed, 109 insertions(+), 121 deletions(-)

commit e4baae8523cff847307db62dee800fc7fda54c1d
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 14 07:50:52 2017 -0600

    rsvt-text: Make rsvg_text_create_layout() create the PangoContext itself
    
    This makes life easier on its callers.

 rsvg-text.c | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

commit 2e1fa166f14a42f9478b459fbf94b0985be70c19
Merge: 55a9a94 52fb044
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Wed Dec 13 22:01:22 2017 -0600

    Merge branch 'gitlab-migration'

commit 52fb0440470c91f61283baad9a5c1e5cb8364d94
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Wed Dec 13 21:55:13 2017 -0600

    Change git and bugzilla URLs to gitlab
    
    We still need to rename test files to match the new bug numbers...

 CONTRIBUTING.md    | 33 +++++++++++++++++++--------------
 README.md          |  2 +-
 configure.ac       |  2 +-
 librsvg.doap       |  3 ++-
 rsvg-cairo-draw.c  |  2 +-
 rust/src/marker.rs |  2 +-
 tests/README.md    |  8 ++++++--
 tests/styles.c     |  1 -
 8 files changed, 31 insertions(+), 22 deletions(-)

commit 55a9a945bb22dec703ec610983f620db6e7d05fd
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Wed Dec 13 21:37:27 2017 -0600

    RsvgLength::from_cssparser() - parse a single length here
    
    Use that new function from "impl Parse for RsvgLength", and create the
    cssparser::Parser there.  We check the parser for exhaustion in that
    impl.
    
    This will let us parse list-of-length values.

 rust/src/length.rs | 167 ++++++++++++++++++++++++++++-------------------------
 1 file changed, 87 insertions(+), 80 deletions(-)

commit 6908ba1e138bc7211fbf2b4e7a61ec91b0742475
Merge: d0715ff 68536fb
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Wed Dec 13 21:21:15 2017 -0600

    Merge github.com:alatiera/librsvg - optimize xml:space normalization

commit 68536fb1e709c61194322b4068fd6613b5305cee
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Sat Dec 9 12:04:23 2017 +0200

    Remove borrow::Cow usage since it's not really helpfull.
    
    Revert "Change the signature of the whitespace normalizer functions."
    
    This reverts commit 4a6be7c7a0ca3c6ac58757b2011374d3a1ad263d.

 rust/src/space.rs | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit 6fc8583a4f96e6242daedb78650c7f13a760e885
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Sat Dec 9 10:46:51 2017 +0200

    Added extra test cases.

 rust/src/space.rs | 29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

commit d0715ff0ef7b23670fc50fd5c187fa96e3f02798
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 8 17:13:56 2017 -0600

    Post-release version bump to 2.41.3

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f822e90c7a91f12c76793ffe8e349584d4d813f8
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 8 15:56:15 2017 -0600

    doc/Makefile.am: Generate in xml mode

 doc/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c6540063264b2a1012486327c55eaeb9bdf4a220
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 8 15:52:08 2017 -0600

    Fix the source path in doc/Makefile.am

 doc/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4262b205027ff5cc7a5a0b66d578dc9f9ed02215
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 8 14:25:51 2017 -0600

    Fix the documentation infrastructure a bit

 doc/Makefile.am       | 39 ++++++++++++++++++++-------------------
 doc/rsvg-sections.txt |  2 --
 doc/rsvg.types        |  3 ---
 rsvg.h                | 15 ++++++++-------
 4 files changed, 28 insertions(+), 31 deletions(-)

commit effcf2bc3f9b2388df3bf2e42bf711e3a656ea91
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 8 12:11:47 2017 -0600

    Add missing files to the distribution

 Makefile.am       | 6 +++++-
 tests/Makefile.am | 3 +++
 2 files changed, 8 insertions(+), 1 deletion(-)

commit 05182acf3da1f9d5d0092e3114db22014eff06f0
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Fri Dec 8 12:09:25 2017 -0600

    Remove TODO from the Makefile.am; it no longer exists

 Makefile.am | 1 -
 1 file changed, 1 deletion(-)

commit 7edfd2c0e78ff2241097280dbbdea226bb8e9579
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Fri Dec 8 18:23:14 2017 +0200

    Reduce allocations in whitespace normalize_default.
    
    Instead of spliting->trimming->join use itertools::coalesce.

 rust/src/space.rs | 23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

commit 2409c588c6afcc639ffcc9ada567a90e37ef327a
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Fri Dec 8 16:57:39 2017 +0200

    Properly revert reggresions this time.
    
    Revert "Use str.replace() instead to convert newlines into spaces."
    Revert "Use str.replace() instead of map/match/collect ."
    
    This reverts commit 4e79a87c1b6c3899bcfcecba927888b864657b29.
    This reverts commit cef86a9fe9a706ef32df863f826b325ceb022be7.

 rust/src/space.rs | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

commit 4e79a87c1b6c3899bcfcecba927888b864657b29
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Fri Dec 8 09:40:56 2017 +0200

    Use str.replace() instead to convert newlines into spaces.

 rust/src/space.rs | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

commit 4a6be7c7a0ca3c6ac58757b2011374d3a1ad263d
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Fri Dec 8 08:14:55 2017 +0200

    Change the signature of the whitespace normalizer functions.
    
    Allow to pass any Type that can be converted into a CoW<str>.

 rust/src/space.rs | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit cef86a9fe9a706ef32df863f826b325ceb022be7
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Fri Dec 8 07:57:40 2017 +0200

    Use str.replace() instead of map/match/collect .

 rust/src/space.rs | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

commit 4118f41deae281738048b135a2dbfd200745181d
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Fri Dec 8 07:11:54 2017 +0200

    Reduce extra allocations by using itertools::join instead of std::iter::collect into std::iter::join.

 rust/Cargo.lock   | 10 ++++++++++
 rust/Cargo.toml   |  1 +
 rust/src/lib.rs   |  1 +
 rust/src/space.rs |  2 +-
 4 files changed, 13 insertions(+), 1 deletion(-)

commit 24b41fae77dcffd78049ec451efac852604a365e
Author: Jordan Petridis <jordanpetridis@protonmail.com>
Date:   Fri Dec 8 06:07:51 2017 +0200

    Replace split/filter on ' ' || '/t' with .split_whitespace method.

 rust/src/space.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 80ba307b92164eccf0ef4687ac0a4d5caf83260a
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 7 20:22:48 2017 -0600

    Update NEWS

 NEWS | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

commit e2a7485adad4a17efdc58beb60dbc9ebde0d524d
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 7 19:05:13 2017 -0600

    COMPILING.md - fix the example of how cross-compilation variables get passed
    
    Thanks to David Michael for noticing this.

 COMPILING.md | 23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

commit 2a4d8289218cba82f3bafcd39312476090b034c2
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 7 12:15:50 2017 -0600

    Reimplement normalize_default() with the magic of iterators
    
    Figuring out whether this is faster/slower than the old one is left as
    an exercise to the reader.

 rust/src/space.rs | 40 +++++++---------------------------------
 1 file changed, 7 insertions(+), 33 deletions(-)

commit f1512cdbdf8b8de92a3c3a5f018f5cabe711072c
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 7 11:20:14 2017 -0600

    Remove the "lastwasspace" tracking from rsvg-text.c
    
    Now this is all handled in the whitespace normalization function.

 rsvg-text.c | 46 +++++++++++-----------------------------------
 1 file changed, 11 insertions(+), 35 deletions(-)

commit a768f7ae81a9d8ef3933fdc6b729123e783c0ddf
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 7 11:16:10 2017 -0600

    Regenerate two test reference files after whitespace changes
    
    The affected files were in fact wrong before the changes to the
    whitespace normalization code.  The old C code wasn't removing
    trailing spaces from XML character data with xml:space="default".

 tests/fixtures/reftests/bugs/340047-ref.png         | Bin 4761 -> 4752 bytes
 .../reftests/svg1.1/coords-viewattr-03-b-ref.png    | Bin 24224 -> 24225 bytes
 2 files changed, 0 insertions(+), 0 deletions(-)

commit 54c264a43d61c26a3c99824cc4decb3066f5f389
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 7 11:00:29 2017 -0600

    Use rsvg_xml_space_normalize() instead of _rsvg_text_chomp()

 rsvg-text.c | 63 ++++++++++++++++++++-----------------------------------------
 1 file changed, 20 insertions(+), 43 deletions(-)

commit 62a7689d17976e7aabcb5560422252d9713f39fa
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 7 11:00:09 2017 -0600

    Export rsvg_xml_space_normalize() from Rust to C

 rsvg-text.c       |  9 +++++++++
 rust/src/lib.rs   |  4 ++++
 rust/src/space.rs | 11 +++++++++++
 3 files changed, 24 insertions(+)

commit 7a113a9eb366fc4b5ec395a21380f57961388459
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 7 09:28:07 2017 -0600

    space.rs: Include the relevant portions of the spec

 rust/src/space.rs | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

commit 6ecccdfe2beaece2890acaf0461856001115b6d4
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 7 09:24:47 2017 -0600

    space::normalize_preserve() - Use iterator functions instead of making fire by rubbing sticks

 rust/src/space.rs | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

commit c9c01b5b1ef4e6898b1492df64755de31f54ebb2
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Thu Dec 7 08:39:02 2017 -0600

    space.rs: New file to deal with xml:space normalization

 Makefile.am       |  1 +
 rust/src/lib.rs   |  1 +
 rust/src/space.rs | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 94 insertions(+)

commit 9f4a802bd26f6eb5ce4c798207c4e63fcfd6b2ec
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Wed Dec 6 18:55:43 2017 -0600

    Add text-text-10-t.svg from the SVG 1.1 test suite
    
    This tests text rotation

 .../reftests/svg1.1/text-text-10-t-ref.png         | Bin 0 -> 45339 bytes
 tests/fixtures/reftests/svg1.1/text-text-10-t.svg  |  76 +++++++++++++++++++++
 2 files changed, 76 insertions(+)

commit a86aca8ca2f8c5d3eb5635546e522f11cda72443
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Wed Dec 6 18:50:17 2017 -0600

    Add text-text-08-b.svg from the SVG 1.1 test suite
    
    This tests stroke and fill opacities for text

 .../reftests/svg1.1/text-text-08-b-ref.png         | Bin 0 -> 40082 bytes
 tests/fixtures/reftests/svg1.1/text-text-08-b.svg  |  64 +++++++++++++++++++++
 2 files changed, 64 insertions(+)

commit e0ea43f27e6b9f8e2d28512964bb7da7cfce39cd
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Wed Dec 6 18:45:39 2017 -0600

    Add text-text-03-b.svg from the SVG 1.1 test suite
    
    This tests font-weight (regular/bold) and font-style (italic)

 .../reftests/svg1.1/text-text-03-b-ref.png         | Bin 0 -> 19989 bytes
 tests/fixtures/reftests/svg1.1/text-text-03-b.svg  |  94 +++++++++++++++++++++
 2 files changed, 94 insertions(+)

commit 2ced10432cc19c429b28bc081e18a246801e5db3
Author: Federico Mena Quintero <federico@gnome.org>
Date:   Wed Dec 6 18:43:29 2017 -0600

    Add Roboto fonts, remove LiberationSans, and normalize reference tests
    
    We'll need regular/bold/italic/bold-italic fonts for the text tests.

 rsvg-cairo-draw.c                                   |   5 ++++-
 tests/fixtures/reftests/bugs/340047-ref.png         | Bin 4779 -> 4761 bytes
 .../reftests/bugs/587721-text-transform-ref.png     | Bin 3910 -> 3898 bytes
 tests/fixtures/reftests/bugs/749415-ref.png         | Bin 21862 -> 20607 bytes
 tests/fixtures/reftests/bugs/760180-ref.png         | Bin 8640 -> 8715 bytes
 .../bugs/776297-marker-on-non-path-elements-ref.png | Bin 1203 -> 1205 bytes
 .../bugs/777834-empty-text-children-ref.png         | Bin 9386 -> 8477 bytes
 .../reftests/svg1.1/coords-trans-01-b-ref.png       | Bin 11819 -> 11820 bytes
 .../reftests/svg1.1/coords-trans-02-t-ref.png       | Bin 8286 -> 8110 bytes
 .../reftests/svg1.1/coords-trans-03-t-ref.png       | Bin 7889 -> 7743 bytes
 .../reftests/svg1.1/coords-trans-04-t-ref.png       | Bin 6654 -> 6589 bytes
 .../reftests/svg1.1/coords-trans-05-t-ref.png       | Bin 8105 -> 7854 bytes
 .../reftests/svg1.1/coords-trans-06-t-ref.png       | Bin 8493 -> 8249 bytes
 .../reftests/svg1.1/coords-trans-07-t-ref.png       | Bin 11482 -> 11131 bytes
 .../reftests/svg1.1/coords-trans-08-t-ref.png       | Bin 13265 -> 13223 bytes
 .../reftests/svg1.1/coords-trans-09-t-ref.png       | Bin 17268 -> 17163 bytes
 .../reftests/svg1.1/coords-viewattr-01-b-ref.png    | Bin 16515 -> 16264 bytes
 .../reftests/svg1.1/coords-viewattr-02-b-ref.png    | Bin 37569 -> 37198 bytes
 .../reftests/svg1.1/coords-viewattr-03-b-ref.png    | Bin 24302 -> 24224 bytes
 .../reftests/svg1.1/filters-color-02-b-ref.png      | Bin 6231 -> 6047 bytes
 .../reftests/svg1.1/filters-composite-02-b-ref.png  | Bin 16613 -> 15874 bytes
 .../reftests/svg1.1/masking-intro-01-f-ref.png      | Bin 14528 -> 14172 bytes
 .../reftests/svg1.1/masking-mask-01-b-ref.png       | Bin 17887 -> 17856 bytes
 .../reftests/svg1.1/masking-mask-02-f-ref.png       | Bin 4512 -> 4347 bytes
 .../reftests/svg1.1/masking-opacity-01-b-ref.png    | Bin 30924 -> 29991 bytes
 .../reftests/svg1.1/masking-path-01-b-ref.png       | Bin 12226 -> 11354 bytes
 .../reftests/svg1.1/masking-path-02-b-ref.png       | Bin 13294 -> 12489 bytes
 .../reftests/svg1.1/masking-path-03-b-ref.png       | Bin 23263 -> 21313 bytes
 .../reftests/svg1.1/masking-path-04-b-ref.png       | Bin 92911 -> 91469 bytes
 .../reftests/svg1.1/masking-path-05-f-ref.png       | Bin 7225 -> 7090 bytes
 .../reftests/svg1.1/painting-marker-01-f-ref.png    | Bin 8454 -> 8597 bytes
 .../reftests/svg1.1/painting-marker-02-f-ref.png    | Bin 9172 -> 9185 bytes
 .../reftests/svg1.1/painting-marker-03-f-ref.png    | Bin 29006 -> 28073 bytes
 .../reftests/svg1.1/painting-marker-04-f-ref.png    | Bin 27598 -> 26712 bytes
 .../reftests/svg1.1/painting-marker-06-f-ref.png    | Bin 8640 -> 8715 bytes
 .../reftests/svg1.1/painting-marker-07-f-ref.png    | Bin 5158 -> 4989 bytes
 .../svg1.1/painting-marker-properties-01-f-ref.png  | Bin 6175 -> 6113 bytes
 .../reftests/svg1.1/paths-data-01-t-ref.png         | Bin 25436 -> 25402 bytes
 .../reftests/svg1.1/paths-data-02-t-ref.png         | Bin 32917 -> 32826 bytes
 .../reftests/svg1.1/paths-data-03-f-ref.png         | Bin 30956 -> 30706 bytes
 .../reftests/svg1.1/paths-data-04-t-ref.png         | Bin 18138 -> 17850 bytes
 .../reftests/svg1.1/paths-data-05-t-ref.png         | Bin 16037 -> 15891 bytes
 .../reftests/svg1.1/paths-data-06-t-ref.png         | Bin 7242 -> 7189 bytes
 .../reftests/svg1.1/paths-data-07-t-ref.png         | Bin 6628 -> 6443 bytes
 .../reftests/svg1.1/paths-data-08-t-ref.png         | Bin 19317 -> 18892 bytes
 .../reftests/svg1.1/paths-data-09-t-ref.png         | Bin 17595 -> 17272 bytes
 .../reftests/svg1.1/paths-data-10-t-ref.png         | Bin 20995 -> 20604 bytes
 .../reftests/svg1.1/paths-data-12-t-ref.png         | Bin 9704 -> 9595 bytes
 .../reftests/svg1.1/paths-data-13-t-ref.png         | Bin 4526 -> 4395 bytes
 .../reftests/svg1.1/paths-data-14-t-ref.png         | Bin 12525 -> 12377 bytes
 .../reftests/svg1.1/paths-data-15-t-ref.png         | Bin 6001 -> 5852 bytes
 .../reftests/svg1.1/paths-data-16-t-ref.png         | Bin 7879 -> 7644 bytes
 .../reftests/svg1.1/paths-data-17-f-ref.png         | Bin 4464 -> 4283 bytes
 .../reftests/svg1.1/paths-data-18-f-ref.png         | Bin 4781 -> 4633 bytes
 .../reftests/svg1.1/paths-data-19-f-ref.png         | Bin 23515 -> 23394 bytes
 .../reftests/svg1.1/paths-data-20-f-ref.png         | Bin 9144 -> 8991 bytes
 .../reftests/svg1.1/pservers-grad-01-b-ref.png      | Bin 9758 -> 9202 bytes
 .../reftests/svg1.1/pservers-grad-02-b-ref.png      | Bin 22622 -> 21995 bytes
 .../reftests/svg1.1/pservers-grad-03-b-ref.png      | Bin 9805 -> 9495 bytes
 .../reftests/svg1.1/pservers-grad-04-b-ref.png      | Bin 24018 -> 23330 bytes
 .../reftests/svg1.1/pservers-grad-05-b-ref.png      | Bin 65037 -> 63416 bytes
 .../reftests/svg1.1/pservers-grad-06-b-ref.png      | Bin 21260 -> 20571 bytes
 .../reftests/svg1.1/pservers-grad-07-b-ref.png      | Bin 11051 -> 10623 bytes
 .../reftests/svg1.1/pservers-grad-08-b-ref.png      | Bin 38874 -> 37161 bytes
 .../reftests/svg1.1/pservers-grad-09-b-ref.png      | Bin 6207 -> 5874 bytes
 .../reftests/svg1.1/pservers-grad-10-b-ref.png      | Bin 9229 -> 8918 bytes
 .../reftests/svg1.1/pservers-grad-11-b-ref.png      | Bin 56357 -> 54921 bytes
 .../reftests/svg1.1/pservers-grad-12-b-ref.png      | Bin 23747 -> 23251 bytes
 .../reftests/svg1.1/pservers-grad-13-b-ref.png      | Bin 93434 -> 93210 bytes
 .../reftests/svg1.1/pservers-grad-14-b-ref.png      | Bin 24537 -> 24407 bytes
 .../reftests/svg1.1/pservers-grad-15-b-ref.png      | Bin 10180 -> 10014 bytes
 .../reftests/svg1.1/pservers-grad-16-b-ref.png      | Bin 4738 -> 4608 bytes
 .../reftests/svg1.1/pservers-grad-18-b-ref.png      | Bin 4733 -> 4603 bytes
 .../reftests/svg1.1/pservers-grad-21-b-ref.png      | Bin 11549 -> 11374 bytes
 .../reftests/svg1.1/pservers-grad-22-b-ref.png      | Bin 7605 -> 7414 bytes
 .../reftests/svg1.1/pservers-grad-23-f-ref.png      | Bin 6129 -> 6131 bytes
 .../reftests/svg1.1/pservers-grad-24-f-ref.png      | Bin 7313 -> 7251 bytes
 .../svg1.1/pservers-grad-stops-01-f-ref.png         | Bin 6356 -> 6353 bytes
 .../reftests/svg1.1/pservers-pattern-01-b-ref.png   | Bin 20788 -> 19967 bytes
 .../reftests/svg1.1/pservers-pattern-02-f-ref.png   | Bin 35135 -> 34951 bytes
 .../reftests/svg1.1/pservers-pattern-03-f-ref.png   | Bin 6074 -> 6079 bytes
 .../reftests/svg1.1/pservers-pattern-04-f-ref.png   | Bin 6160 -> 5998 bytes
 .../reftests/svg1.1/pservers-pattern-05-f-ref.png   | Bin 7148 -> 7154 bytes
 .../reftests/svg1.1/pservers-pattern-06-f-ref.png   | Bin 6103 -> 6043 bytes
 .../reftests/svg1.1/pservers-pattern-07-f-ref.png   | Bin 7651 -> 7606 bytes
 .../reftests/svg1.1/pservers-pattern-08-f-ref.png   | Bin 7654 -> 7609 bytes
 .../reftests/svg1.1/pservers-pattern-09-f-ref.png   | Bin 5840 -> 5846 bytes
 .../reftests/svg1.1/struct-cond-01-t-ref.png        | Bin 4498 -> 4367 bytes
 .../reftests/svg1.1/struct-cond-03-t-ref.png        | Bin 4433 -> 4244 bytes
 .../reftests/svg1.1/struct-svg-03-f-ref.png         | Bin 5890 -> 5892 bytes
 .../reftests/svg1.1/struct-symbol-01-b-ref.png      | Bin 52263 -> 52108 bytes
 .../reftests/svg1.1/struct-use-01-t-ref.png         | Bin 15253 -> 14391 bytes
 .../reftests/svg1.1/struct-use-03-t-ref.png         | Bin 7785 -> 7627 bytes
 .../reftests/svg1.1/struct-use-04-b-ref.png         | Bin 19927 -> 19669 bytes
 .../reftests/svg1.1/struct-use-09-b-ref.png         | Bin 6556 -> 6586 bytes
 .../reftests/svg1.1/text-align-01-b-ref.png         | Bin 18922 -> 17897 bytes
 .../reftests/svg1.1/text-align-03-b-ref.png         | Bin 15648 -> 14668 bytes
 tests/resources/LiberationSans-Regular.ttf          | Bin 139764 -> 0 bytes
 tests/resources/Roboto-Bold.ttf                     | Bin 0 -> 353376 bytes
 tests/resources/Roboto-BoldItalic.ttf               | Bin 0 -> 380912 bytes
 tests/resources/Roboto-Italic.ttf                   | Bin 0 -> 379588 bytes
 tests/resources/Roboto-Regular.ttf                  | Bin 0 -> 353888 bytes
