1. 19 Dec, 2016 1 commit
    • Federico Mena Quintero's avatar
      Add a testing mode so reftests can use predictable text rendering · 25457b72
      Federico Mena Quintero authored
      This adds an rsvg_handle_internal_set_testing() API, which should only
      be called by the test suite.  Internally, it sets cairo_font_options_t
      that should yield reproducible text rendering.
      
      For example, I get different rendering results from text objects when I
      run "make check" as a user, than when I run it as root.
      25457b72
  2. 02 Dec, 2016 1 commit
  3. 17 Nov, 2016 2 commits
    • Federico Mena Quintero's avatar
      RsvgNode: don't keep the node's element name in this struct while parsing · b2c5f373
      Federico Mena Quintero authored
      While an RsvgHandle is parsing, it keeps a stack with the name of the
      current XML element.  However, it kept the element name as part of the
      RsvgNode structure.  The name pointers are only valid while the
      xmlParserCtxtPtr is alive; after that, node->name contains a dangling
      pointer (fortunately unused).
      
      Instead of burdening RsvgNode with maintaining the parsing stack, we now
      keep this stack in RsvgHandlePrivate instead.
      b2c5f373
    • Federico Mena Quintero's avatar
      Remove unused RsvgLoadPolicy · 4daa2de3
      Federico Mena Quintero authored
      It was set to the single possible value at construction time,
      and then checked with an assertion for that value; it wasn't
      used for anything.
      4daa2de3
  4. 09 Nov, 2016 1 commit
  5. 10 Jun, 2014 1 commit
  6. 13 Jun, 2012 2 commits
  7. 27 Jan, 2012 1 commit
  8. 26 Jan, 2012 2 commits
    • Christian Persch's avatar
      Add permission check before loading other files · a2e869cb
      Christian Persch authored
      Wrap _rsvg_io_acquire_* in _rsvg_handle_acquire_* that first
      checks whether the load should be allowed. For the moment, always allow
      the load; more restricted policies will be introduced in a follow-up commit.
      a2e869cb
    • Christian Persch's avatar
      Remove _rsvg_register_types · f31e5df5
      Christian Persch authored
      It was only used to work around bug 357406 and bug 362217 in the now-obsolete
      gtk2 engine. Just make that module resident instead, and use proper
      G_DEFINE_TYPE macro for RsvgHandle.
      f31e5df5
  9. 12 Nov, 2011 2 commits
    • Christian Persch's avatar
      Bump libxml2 dependency to 2.7.0 · 9e0d425c
      Christian Persch authored
      ... and drop compat code for older libxml2.
      9e0d425c
    • Christian Persch's avatar
      Plug a mem leak · 159331ba
      Christian Persch authored
      The entity hashtable was leaking the keys.
      
      ==10167== 6 bytes in 1 blocks are definitely lost in loss record 19 of 155
      ==10167==    at 0x402AD89: malloc (vg_replace_malloc.c:236)
      ==10167==    by 0x4566BDA: standard_malloc (gmem.c:85)
      ==10167==    by 0x4566F80: g_malloc (gmem.c:159)
      ==10167==    by 0x457C89A: g_strdup (gstrfuncs.c:351)
      ==10167==    by 0x405774D: rsvg_entity_decl (rsvg-base.c:843)
      159331ba
  10. 07 Nov, 2011 5 commits
  11. 02 Jul, 2010 1 commit
  12. 26 Jun, 2010 1 commit
  13. 22 Jun, 2010 3 commits
  14. 30 Apr, 2010 1 commit
  15. 27 Apr, 2010 1 commit
  16. 07 Apr, 2010 1 commit
  17. 06 Apr, 2010 1 commit
  18. 22 Nov, 2008 1 commit
    • Dominic Lachowicz's avatar
      Feature request: rsvg_handle_get_dimensions_sub() (#555682). Patches from · 6d261c89
      Dominic Lachowicz authored
      2008-11-22  Dominic Lachowicz  <domlachowicz@gmail.com>
      
      	* rsvg-cairo-render.h: Feature request: 
      rsvg_handle_get_dimensions_sub()
      	(#555682). Patches from Hagen Schink (troja84@gmail.com) and 
      	Robert Staudinger (robert.staudinger@gmail.com)
      	* librsvg.def: 
      	* rsvg-private.h:
      	* ChangeLog:
      	* rsvg-structure.c:
      	* rsvg-base.c:
      	* rsvg-css.c:
      	* rsvg.h:
      	* rsvg-dimensions.c:
      	* Makefile.am:
      	* rsvg-cairo-render.c:
      	* rsvg-gobject.c: ditto
      
      
      svn path=/trunk/; revision=1190
      6d261c89
  19. 20 Oct, 2008 1 commit
    • Dominic Lachowicz's avatar
      gdmgreeter segfault due to libxml2 API/ABI change (#549087). Patch by Tom · a78e2808
      Dominic Lachowicz authored
      2008-10-20  Dominic Lachowicz <domlachowicz@gmail.com>
      
              * rsvg-gobject.c: gdmgreeter segfault due to libxml2 API/ABI change
              (#549087). Patch by Tom Parker (palfrey%40tevp.net). Untested against
              libxml2 >= 2.7.0, but DV says "from the distance, that patch seems
              to do the right thing"
              * rsvg-base.c: ditto
      
      
      svn path=/trunk/; revision=1182
      a78e2808
  20. 12 Feb, 2008 1 commit
  21. 12 Jan, 2007 2 commits
  22. 05 Jan, 2007 1 commit
    • Christian Persch's avatar
      Bug #393297: no need to make GTypeInfo static. · 26978ba4
      Christian Persch authored
      2007-01-05  Christian Persch  <chpe@svn.gnome.org>
      
      	* gtk-engine/svg-draw.c: (rsvg_style_register_type):
      	* gtk-engine/svg-rc-style.c: (rsvg_rc_style_register_type):
      	* rsvg-gobject.c: Bug #393297: no need to make GTypeInfo static.
      
      svn path=/trunk/; revision=1086
      26978ba4
  23. 03 Nov, 2006 2 commits
    • Dom Lachowicz's avatar
      Bug 361267 - SVGs with duplicate IDs cause Nautilus/eog to crash. · b8e5df3f
      Dom Lachowicz authored
      	* rsvg-structure.c: Bug 361267 - SVGs with duplicate IDs cause Nautilus/eog to
      	crash. Basically, a <use> used itself, causing infinite drawing recursion.
      b8e5df3f
    • Dom Lachowicz's avatar
      Introduce PRIVATE API to get around bugs 357406 and 362217. IMHO, · 708a319b
      Dom Lachowicz authored
      	* rsvg-gobject.c: Introduce PRIVATE API to get around bugs 357406 and 362217.
      	IMHO, gobject's type registration and quark/error system is fundamentally
      	broken with respect to (un)loadable modules such as GTK+ theme engines. This
      	is the best I can do for now without breaking librsvg's API. This may cause
      	as many headaches as it fixes, though.
      	* rsvg-private.h: Declare new _rsvg_register_types() function
      	* gtk-engine/svg-main.c: Invoke new type registration function
      	* librsvg.def: export this function
      708a319b
  24. 30 Apr, 2006 1 commit
  25. 18 Apr, 2006 1 commit
  26. 06 Feb, 2006 1 commit
  27. 05 Feb, 2006 2 commits