1. 04 Aug, 2016 1 commit
  2. 20 Nov, 2015 1 commit
  3. 12 Sep, 2015 1 commit
  4. 06 Feb, 2015 1 commit
  5. 07 Jan, 2015 4 commits
  6. 24 Oct, 2014 2 commits
  7. 05 Feb, 2014 1 commit
  8. 03 Jul, 2013 1 commit
    • Alexander Larsson's avatar
      css: Add a scale argument to css-value compute vfunc · af2c40bd
      Alexander Larsson authored
      We need to be able to compute different GtkCssImage values
      depending on the scale, and we need this at compute time so that
      we don't need to read any images other than the scale in used (to
      e.g. calculate the image size). GtkStyleProviderPrivate is shared
      for all style contexts, so its not right.
      af2c40bd
  9. 09 Nov, 2012 1 commit
  10. 28 Sep, 2012 1 commit
    • Benjamin Otte's avatar
      css: Huge refactoring to avoid computing wrong values · 1454ba15
      Benjamin Otte authored
      Here's the shortest description of the bug I can come up with:
      When computing values, we have 3 kinds of dependencies:
      (1) other properties ("currentColor" or em values)
      (2) inherited properties ("inherit")
      (3) generic things from the theme (@keyframes or @define-color)
      Previously, we passed the GtkStyleContext as an argument, because it
      provided these 3 things using:
      (1) _gtk_style_context_peek_property()
      (2) _gtk_style_context_peek_property(gtk_style_context_get_parent())
      (3) context->priv->cascade
      
      However, this makes it impossible to lookup values other than the ones
      accessible via _gtk_style_context_peek_property(). And this is exactly
      what we are doing in gtk_style_context_update_cache(). So when the cache
      updates encountered case (1), they were looking up the values from the
      wrong style data.
      
      So this large patch essentially does nothing but replace the
      context argument in all compute functions with new arguments for the 3
      cases above:
      (1) values
      (2) parent_values
      (3) provider
      
      We apparently have a lot of computing code.
      1454ba15
  11. 28 Aug, 2012 2 commits
  12. 08 Mar, 2012 1 commit
  13. 01 Mar, 2012 1 commit
  14. 27 Feb, 2012 1 commit
  15. 02 Feb, 2012 2 commits
  16. 11 Jan, 2012 1 commit
  17. 09 Jan, 2012 12 commits