1. 26 Sep, 2017 1 commit
  2. 18 May, 2017 1 commit
  3. 16 May, 2017 1 commit
  4. 23 Mar, 2017 1 commit
  5. 22 Mar, 2017 1 commit
  6. 17 Mar, 2017 3 commits
  7. 17 Feb, 2017 4 commits
    • Federico Mena Quintero's avatar
    • Federico Mena Quintero's avatar
      cnode.rs: New function rsvg_rust_cnode_get_impl() to fetch the C-side implementation · 5d524850
      Federico Mena Quintero authored
      We need this for a couple of special cases that are *not*
      implementations of node methods and yet want to use the impl structures.
      For example, rsvg_handle_get_dimensions_sub() wants to peek at the
      toplevel svg->vbox.
      
      We add a Node.get_c_impl() method, and a NodeTrait.get_c_impl().  The
      CNode actually implements this last one by returning its stored
      c_node_impl.  Nodes implemented fully in Rust will return just a null
      pointer.
      
      We can hopefully remove that method once everything is implemented in Rust.
      
      * Move rsvg-structure.[ch] over to rsvg_rust_cnode_new()
      
      The new rsvg_foo_node_new() functions use rsvg_rust_cnode_new()
      internally instead of the old _rsvg_node_init().  Also, the RsvgFooNode
      structs don't have a "super" field anymore, since RsvgNode is now an
      opaque struct from the Rust code.
      
      We re-do the virtual methods for all of rsvg-structure.c.  Other files
      will follow.
      
      * Move rsvg-shapes.[ch] over to rsvg_rust_cnode_new().
      5d524850
    • Federico Mena Quintero's avatar
      Remove RsvgNode's declaration from the C code · df2f9770
      Federico Mena Quintero authored
      And make RsvgNodeGroup / RsvgNodeUse / RsvgNodeSymbol private.
      df2f9770
    • Federico Mena Quintero's avatar
      Rename rsvg_node_draw() to rsvg_node_draw_from_stack() · 8a528b61
      Federico Mena Quintero authored
      The new name indicates that we are drawing from the stack of
      nodes-to-draw.
      
      The name rsvg_node_draw() will be used just to call the vmethod.
      8a528b61
  8. 02 Feb, 2017 1 commit
  9. 02 Dec, 2016 2 commits
  10. 22 Nov, 2016 1 commit
  11. 17 Nov, 2016 1 commit
    • 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
  12. 09 Nov, 2016 2 commits
  13. 22 Oct, 2015 1 commit
  14. 26 Jan, 2012 1 commit
  15. 27 Nov, 2011 1 commit
  16. 06 Sep, 2011 1 commit
  17. 30 Apr, 2010 1 commit
  18. 18 Apr, 2010 1 commit
  19. 13 Jan, 2007 1 commit
  20. 12 Jan, 2007 2 commits
  21. 07 Dec, 2005 1 commit
    • Ray Strode's avatar
      remove the push call that's more probably wrong and clean up leaked · 2f837714
      Ray Strode authored
      2005-12-07 Ray Strode <rstrode@redhat.com>
      
      	* rsvg-base.c: remove the push call that's more probably wrong and
      	clean up leaked viewbox list node (bug 323436)
      	* rsvg-shapes.c: call finalize cleanup function of node parent class in
      	path_node and poly_node free functions (bug 323435)
      	* rsvg-structure.c: Ditto
      	* rsvg-structure.h: Ditto
      2f837714
  22. 24 Oct, 2005 2 commits
  23. 22 Oct, 2005 1 commit
  24. 21 Oct, 2005 1 commit
  25. 28 Jul, 2005 1 commit
  26. 19 Jul, 2005 1 commit
  27. 20 May, 2005 1 commit
  28. 19 May, 2005 1 commit
  29. 17 May, 2005 1 commit
  30. 16 May, 2005 1 commit
  31. 15 May, 2005 1 commit