commit 2465e1bfc0aab8d03fb4a2c3a6b6cc110fcbde98 Author: Federico Mena Quintero 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 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 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 Date: Mon Jan 8 17:33:27 2018 -0600 Merge branch 'hospitality' commit b567478e77baf9c9ffb295c06c94b48562aa610e Author: Federico Mena Quintero 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 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 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 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 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 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 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 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 Date: Thu Dec 28 12:45:54 2017 -0600 Update .gitignore .gitignore | 1 + 1 file changed, 1 insertion(+) commit 9b95fe46f04af697adb02de5b20b44187545e068 Author: Federico Mena Quintero 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Date: Fri Dec 15 09:10:25 2017 -0600 state::get_font_family() should return an Option rust/src/state.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 8904d626908bb4a94bd82b04eeda079c4535448e Author: Federico Mena Quintero 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 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 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 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 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 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 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 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 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 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 Date: Wed Dec 13 22:01:22 2017 -0600 Merge branch 'gitlab-migration' commit 52fb0440470c91f61283baad9a5c1e5cb8364d94 Author: Federico Mena Quintero 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 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 Date: Wed Dec 13 21:21:15 2017 -0600 Merge github.com:alatiera/librsvg - optimize xml:space normalization commit 68536fb1e709c61194322b4068fd6613b5305cee Author: Jordan Petridis 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 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 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(-)