1. 20 Jun, 2017 2 commits
  2. 13 Jun, 2017 1 commit
  3. 31 May, 2017 1 commit
  4. 30 May, 2017 1 commit
  5. 20 May, 2017 1 commit
  6. 18 May, 2017 2 commits
  7. 23 Mar, 2017 3 commits
  8. 02 Feb, 2017 2 commits
  9. 01 Dec, 2016 1 commit
  10. 17 Nov, 2016 1 commit
  11. 16 Nov, 2016 5 commits
  12. 11 Nov, 2016 1 commit
  13. 09 Nov, 2016 1 commit
    • Federico Mena Quintero's avatar
      Make RsvgLength carry its own direction for normalization · 5a85e7cf
      Federico Mena Quintero authored
      This is the pattern that was there before:
      
        foo.some_len = _rsvg_css_parse_length (str);   /* at creation time */
      
        ...
      
        double real_len = _rsvg_css_normalize_length (&foo.some_len, ctx, LENGTH_DIR_HORIZONTAL); /* at rendering time */
      
      This led to a few inconsistencies in the way directions got used -
      sometimes cut&paste errors could creep in and a vertical direction
      would be used for a horizontal length, for example.
      
      This change makes the pattern be
      
        foo.some_len = _rsvg_css_parse_length (str, LENGTH_DIR_HORIZONTAL);   /* at creation time */
      
        ...
      
        double real_len = _rsvg_css_normalize_length (&foo.some_len, ctx); /* at rendering time */
      
      I.e. lengths get their direction-to-be-resolved-as at creation time,
      during parse_length(); this gets stored in a new field length.dir.
      Later, normalize_length() knows which direction to use.
      5a85e7cf
  14. 03 Nov, 2016 2 commits
  15. 06 Jan, 2016 1 commit
  16. 04 Aug, 2015 1 commit
  17. 12 Feb, 2015 1 commit
    • Federico Mena Quintero's avatar
      Internally use 'char *' for string data · 80f6366f
      Federico Mena Quintero authored
      There was a mixture of guint8*, guchar*, gchar*, etc.  Use char* because that's
      about as sane as we can get, and only cast where we can't change the public API
      or where we must interface with other libraries.  *Cough* xmlChar *cough*.
      
      This removes a metric assload of compiler warnings, and I'm fine with that.
      80f6366f
  18. 11 Oct, 2013 1 commit
  19. 05 Oct, 2013 1 commit
    • Benjamin Otte's avatar
      css: Improve rgb()/rgba() color parsing · 30991cd1
      Benjamin Otte authored
      - Don't crash when there's no '('
      - Allow mixed numbers and percentages
      - Accept real numbers and not just ints
      - Allow '.' as the only separator
      - Use less code
      30991cd1
  20. 04 Oct, 2013 1 commit
  21. 10 Mar, 2013 1 commit
  22. 20 Jun, 2012 1 commit
  23. 26 Mar, 2012 1 commit
  24. 24 Nov, 2011 1 commit
  25. 14 Nov, 2011 2 commits
  26. 07 Nov, 2011 2 commits
  27. 02 May, 2010 2 commits