1. 28 Feb, 2016 1 commit
  2. 04 Feb, 2016 1 commit
  3. 30 Jan, 2016 1 commit
    • Matthias Clasen's avatar
      CSS provider: Add a way to emit errors · 2c7fdf64
      Matthias Clasen authored
      Currently, GtkCssProvider can emit ::parsing-error only during
      the actual parsing, although the documentation hints that it might
      happen at other times.
      
      This commit adds a emit_error method to the GtkStyleProviderPrivate
      interface that will let us emit errors from the compute() implementations
      as well, which can be useful (e.g. if an image fails to load).
      2c7fdf64
  4. 14 Jan, 2016 1 commit
  5. 07 Jan, 2016 1 commit
  6. 26 Dec, 2015 1 commit
    • Matthias Clasen's avatar
      Redo the CSS docs · 26d8688c
      Matthias Clasen authored
      Split the CSS docs off from the GtkCssProvider docs and
      give them their own chapter. Among other things, this commit
      introduces more or less complete definitions of the syntax for
      the supported selectors, a complete list of all supported
      properties, and definitions for their values. This includes
      documentation for GTK+-specific properties such as -gtk-icon-source.
      26d8688c
  7. 20 Dec, 2015 1 commit
  8. 02 Dec, 2015 1 commit
  9. 21 Nov, 2015 3 commits
  10. 16 Nov, 2015 3 commits
  11. 28 Oct, 2015 1 commit
  12. 09 Sep, 2015 1 commit
  13. 27 Aug, 2015 1 commit
  14. 27 Jul, 2015 1 commit
    • Matthias Clasen's avatar
      Plug a memory leak · 4050abe2
      Matthias Clasen authored
      GtkCssProvider was using the wrong unref function for GtkCssKeyframe
      objects. Funnily, this didn't crash at all, the refcount was at the
      same place in the struct - it just didn't free all the memory, causing
      valgrind to complain.
      4050abe2
  15. 18 Mar, 2015 1 commit
  16. 07 Jan, 2015 1 commit
  17. 18 Dec, 2014 1 commit
  18. 10 Dec, 2014 2 commits
  19. 13 Nov, 2014 1 commit
    • Matthias Clasen's avatar
      GtkCssProvider: Load themes from versioned directories · e2ce0700
      Matthias Clasen authored
      Look for themes in $prefix/themes/$name/gtk-$version/ (for
      version = 3.16, 3.14, ...), before using the old location
      $prefix/themes/$name/gtk-3.0/. This gives theme authors a
      way to support multiple versions of GTK+ 3 with separate
      css files.
      e2ce0700
  20. 12 Nov, 2014 1 commit
  21. 24 Oct, 2014 1 commit
  22. 22 Oct, 2014 1 commit
  23. 04 Oct, 2014 2 commits
  24. 28 Aug, 2014 1 commit
  25. 19 Jul, 2014 1 commit
    • Benjamin Otte's avatar
      cssmatcher: Use widget path's state · 19eb1614
      Benjamin Otte authored
      Don't take a state when constructing the CSS matcher. Instead, rely on
      the newly introduced state in the widget path.
      
      This way, the state can be queried not only on the first element, but on
      all elements of the widget path.
      19eb1614
  26. 07 Jul, 2014 1 commit
  27. 16 Jun, 2014 1 commit
    • Benjamin Otte's avatar
      cssprovider: Names starting with -gtk- aren't style props · aa6652aa
      Benjamin Otte authored
      We want to have the "-gtk-" prefix for our custom CSS properties. But
      we also want to parse names starting with a "-" as style properties.
      So make sure that "-gtk-" is treated like a normal property and we emit
      errors when somebody uses it wrong.
      
      This is to catch errors with people typing
        -gtk-iconsource: none;
      instead of the correct
        -gtk-icon-source: none;
      aa6652aa
  28. 04 Apr, 2014 1 commit
  29. 19 Mar, 2014 1 commit
    • Benjamin Otte's avatar
      cssprovider: Fix error message · d5792eb1
      Benjamin Otte authored
        expected a valid semicolon
      sounds kinda not so great. Make it say
        expected semicolon
      
      Unless somebody can tell me the difference between valid and invalid
      semicolons?
      d5792eb1
  30. 02 Mar, 2014 2 commits
  31. 15 Feb, 2014 1 commit
  32. 09 Feb, 2014 1 commit
  33. 08 Feb, 2014 1 commit