1. 02 Aug, 2015 2 commits
  2. 17 Jul, 2015 1 commit
    • Benjamin Otte's avatar
      css: Fix GtkCssChange enum · 6c862f22
      Benjamin Otte authored
      Previously, the (1<<31) value evaluated to the 64bit value
      instead of
      Avoid this by explicitly casting the value to unsigned long long.
      Also cast all values to unsigned long long to achieve consistency
      and hopefully in the future get new values added the same way.
  3. 06 Jul, 2015 2 commits
    • Paolo Borelli's avatar
      css: support text-decoration-style · 1eb1481b
      Paolo Borelli authored
      The support is limited to underline single, double and wavy, which
      is what pango has today.
    • Benjamin Otte's avatar
      csstypes: expand GtkCssChange enum · 6323010e
      Benjamin Otte authored
      Instead of GTK_CSS_CHANGE_POSITION we now have 4 values:
      Nobody is using them directly yet.
  4. 05 Jul, 2015 3 commits
  5. 18 Mar, 2015 5 commits
  6. 05 Feb, 2015 1 commit
    • Benjamin Otte's avatar
      css: Add -gtk-dpi CSS property hack · 89f635fe
      Benjamin Otte authored
      This property is necessary to ensure widgets automatically update after
      the text scale factor is changed desktop-wide.
      And if I'm already doing a property like this, I can make it
      overridable. So now you can override the dpi per-widget with CSS like
      GtkSwitch {
        -gtk-dpi: 48;
      if you want to debug things.
      Long-term, we want to get rid of this property and insist on dpi being
      96 everywhere and people can change the font size to get larger fonts.
  7. 27 Jan, 2015 2 commits
  8. 20 Jan, 2015 1 commit
    • Benjamin Otte's avatar
      css: Move icon properties to the end · 9ce8ce11
      Benjamin Otte authored
      The order in which properties are defined depends on the order in which
      they are computed. And that means that properties can only depend on
      other properties that are defined before them.
      The next patches will need this reordering.
  9. 07 Jan, 2015 1 commit
  10. 08 Oct, 2014 1 commit
  11. 03 Oct, 2014 1 commit
  12. 28 Aug, 2014 1 commit
  13. 20 Aug, 2014 1 commit
  14. 14 May, 2014 3 commits
    • Benjamin Otte's avatar
      css: Add a -gtk-icon-style property · 109fcb98
      Benjamin Otte authored
      The values can be:
        "requested" - the style as requested
        "regular"   - use a regular full-color icon
        "symbolic"  - use a symbolic icon
      The property defaults to "requested", so no changes should be seen
      unless CSS overrides it.
      It is also inherited, so that using this CSS
        .toolbar { -gtk-icon-style: symbolic; }
      is enough to force the whole toolbar to use symbolic icons.
    • Benjamin Otte's avatar
      css: Add -gtk-icon-transform property · f56ba837
      Benjamin Otte authored
      This property allows transforming icons and is mainly intended to be
      used for spinner animations.
    • Benjamin Otte's avatar
      css: Add -gtk-icon-source property · 226e1cd2
      Benjamin Otte authored
      This is to be used for rendering icon content via CSS, such as spinners
      or checkboxes.
  15. 01 May, 2014 1 commit
  16. 20 Aug, 2013 1 commit
  17. 07 Feb, 2013 1 commit
  18. 10 Dec, 2012 1 commit
  19. 01 Dec, 2012 2 commits
    • Benjamin Otte's avatar
      css: Fix order of enum · 14604876
      Benjamin Otte authored
      We switched around the order in gtkcssenumvalue.h, we need to switch
      this order, too. Otherwise the parsing code will go bonkers.
    • Benjamin Otte's avatar
      css: Add more features to font-size code · 0d9d5761
      Benjamin Otte authored
      We now support the keywords (like xx-small, medium, larger, smaller...)
      and I've changed the default value to be "medium".
      This required some shuffling of the "get default font size" code. But
      all is well now.
  20. 14 Nov, 2012 1 commit
  21. 01 Oct, 2012 1 commit
  22. 28 Sep, 2012 2 commits
  23. 17 Sep, 2012 1 commit
  24. 28 Aug, 2012 3 commits
    • Benjamin Otte's avatar
      css: Remove unused macro · fe026b3b
      Benjamin Otte authored
      GTK_CSS_DEPENDS_ON_EVERYTHING was used as a placeholder when
      implementing dependencies. Now that dependencies are completely
      implemented, it's no longer necessary.
    • Benjamin Otte's avatar
      cssvalue: First step of proper dependency tracking · 01252624
      Benjamin Otte authored
      Instead of using the EVERYTHING aka FIXME value for tdependencies,
      actually compute the dependencies in a bunch of simple cases.
    • Benjamin Otte's avatar
      css: Introduce dependencies for value computations · 0e2f35ed
      Benjamin Otte authored
      When values are computed, they might depend on various other values and
      we need to track this so we can update the values when those other
      values change. This is the first step in making that happen.
      This patch does not do any dependency tracking at all, instead it uses
  25. 17 Apr, 2012 1 commit
    • Benjamin Otte's avatar
      stylecontext: Add an animating framework · a2408088
      Benjamin Otte authored
      The design principles were:
      - synchronized
      If multiple style contexts are animating, they should all do an
      animation step at the same time.
      - degrades well
      Even when there's thousands of style contexts all animating at the same
      time, the animation steps don't starve the CPU. This is achieved by
      making sure the timeout is really fast. It just sets a bunch of flags.
      - no hidden bottlenecks
      Turning animatability on or off on a style context is O(1).
      So far it is unused.