1. 03 Jul, 2016 1 commit
    • Georges Basile Stavracas Neto's avatar
      css: add background-blend-mode support · 369db4a4
      Georges Basile Stavracas Neto authored
      CSS supports blend modes, in which a series of layers are
      merged together according to the given operation or set of
      operations.
      
      Support for blend modes landed on Cairo, which exposes all
      the commons and also the exquisites blend modes available.
      Adding support for blend modes, then, is just a matter of
      using the available Cairo operations.
      
      This patch adds the background-blend-mode CSS enum property,
      and adapts the background rendering code to blend the backgrounds
      using the available blend modes when they're set.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=768305
      369db4a4
  2. 13 Feb, 2016 1 commit
    • Benjamin Otte's avatar
      cssnumbervalue: Remove gtk_css_number_value_get_unit() · e2d966ed
      Benjamin Otte authored
      This is in preparation for calc(), as calc(50% - 5px) is valid CSS
      but has 2 units. Instead, add a function to query a value's dimension
      (so we can differentiate lengths from numbers) and add a function to
      query if the value contains percentages.
      e2d966ed
  3. 09 Nov, 2015 1 commit
  4. 09 Sep, 2015 2 commits
    • Matthias Clasen's avatar
      More bit manipulation speedups · 59797754
      Matthias Clasen authored
      The same trick that was applied to _gtk_css_change_for_child in
      the previous commit can be applied to _gtk_css_change_for_sibling
      as well, and that is what this commit does.
      
      With both functions converted, gtk_css_change_translate is no
      longer needed and gets dropped.
      59797754
    • Matthias Clasen's avatar
      Manipulate bits more efficiently · d7dd6ecc
      Matthias Clasen authored
      The function to translate GtkCssChange enum values to the PARENT
      ones is called very frequently. This patch speeds it up tremendously.
      The callgrind instruction count for this function in the listbox
      demo goes from 108M to 7M.
      d7dd6ecc
  5. 27 Aug, 2015 2 commits
  6. 06 Jul, 2015 2 commits
    • Benjamin Otte's avatar
      csstypes: Change NTH_CHILD and NTH_LAST_CHILD change propagation · df711381
      Benjamin Otte authored
      For now assume that if those flags change for a node, they also changed
      for all sibling nodes. This is not strictly true but simplifies
      invalidation.
      
      The reason it simplifies invalidation is that when removing or adding a
      node, we can just invalidate the first node (for NTH_LAST_CHILD) and the
      new node (for NTH_CHILD) and all the other nodes will be invalidated
      automatically.
      df711381
    • Benjamin Otte's avatar
      csstypes: expand GtkCssChange enum · 6323010e
      Benjamin Otte authored
      Instead of GTK_CSS_CHANGE_POSITION we now have 4 values:
      GTK_CSS_CHANGE_FIRST_CHILD, GTK_CSS_CHANGE_LAST_CHILD,
      GTK_CSS_CHANGE_NTH_CHILD and GTK_CSS_CHANGE_NTH_LAST_CHILD
      
      Nobody is using them directly yet.
      6323010e
  7. 18 Mar, 2015 3 commits
  8. 28 Aug, 2012 1 commit
  9. 17 Apr, 2012 11 commits
  10. 17 Mar, 2012 1 commit
  11. 08 Mar, 2012 1 commit
  12. 27 Feb, 2012 1 commit
  13. 08 Feb, 2012 1 commit
  14. 02 Feb, 2012 4 commits
  15. 09 Jan, 2012 2 commits
  16. 08 Nov, 2011 1 commit
  17. 09 Jun, 2011 1 commit
  18. 02 Jun, 2011 1 commit
  19. 30 Oct, 2008 1 commit
  20. 01 Jul, 2008 1 commit
  21. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7