1. 26 Sep, 2017 1 commit
  2. 07 Jul, 2017 3 commits
  3. 06 Jul, 2017 1 commit
  4. 27 Jun, 2017 2 commits
  5. 20 Jun, 2017 1 commit
  6. 13 Jun, 2017 1 commit
  7. 20 May, 2017 1 commit
  8. 18 May, 2017 2 commits
  9. 18 Apr, 2017 1 commit
  10. 23 Mar, 2017 1 commit
  11. 17 Feb, 2017 4 commits
  12. 27 Jan, 2017 2 commits
  13. 13 Dec, 2016 1 commit
  14. 12 Dec, 2016 2 commits
  15. 07 Dec, 2016 3 commits
  16. 02 Dec, 2016 1 commit
  17. 01 Dec, 2016 1 commit
  18. 22 Nov, 2016 2 commits
  19. 18 Nov, 2016 1 commit
  20. 17 Nov, 2016 3 commits
    • Federico Mena Quintero's avatar
      Dispatch creation of new nodes from an array of element names, not a chain of strcmp() · 4b22ec83
      Federico Mena Quintero authored
      Also, the rsvg_new_SOME_NODE_TYPE () constructor functions now take the
      element name.
      
      This lets us:
      
      * Use bsearch() on the sorted array of element names, instead of an
        unordered chain of if (strcmp (...)).  We can replace this later with
        something better like a trie.
      
      * Port things to Rust more easily, since the constructor functions can
        dispatch on their own based on the element name.
      
      * Avoid special cases in the way
        rsvg_new_node_component_transfer_function() and
        rsvg_new_node_light_source() are called; now they dispatch on their
        own based on the element name.
      4b22ec83
    • Federico Mena Quintero's avatar
      node_set_atts(): Check here for the property bag being empty · 58a645cc
      Federico Mena Quintero authored
      Every ::set_atts() implementation used to check on its own whether the
      property bag is empty (common for "plain" SVG elements with no defined
      attributes?) before actually querying the property bag.
      
      Now we do that check in a single place, in the toplevel node_set_atts()
      helper, instead of having each node type do it on its own.
      
      This means that ::set_atts() implementation which do "validation" work
      or any other post-initialization after the attributes have been set,
      will have to support their ::set_atts() not being called at all if there
      are no attributes in the first place.
      58a645cc
    • Federico Mena Quintero's avatar
      Implement rsvg_length_normalize() fully in Rust · 4d19ded9
      Federico Mena Quintero authored
      We add an RsvgLength::normalize() method, and the corresponding
      rsvg_length_normalize() function to make this accessible to the C code.
      
      This removes the old _rsvg_css_normalize_length() function.
      4d19ded9
  21. 16 Nov, 2016 2 commits
  22. 11 Nov, 2016 1 commit
  23. 09 Nov, 2016 3 commits