| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Instead of path, line and position, emit the section the error happened
in. This has a lot more information to consume.
|
| |
|
|
|
|
| |
Just treat regions the same as elements.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of relying on GScanner and its idea of syntax, code up a parser
that obeys the CSS spec.
This also has the great side effect of reporting correct line numbers
and positions.
Also included is a reorganization of the returned error values. Instead
of error values describing what type of syntax error was returned, the
code just returns SYNTAX_ERROR. Other messages exist for when actual
values don't work or when errors shouldn't be fatal due to backwards
compatibility.
|
| |
|
| |
|
|
|
|
|
|
| |
This is intented to convert the contents of a CSS provider back to a
string.
It is not complete yet but good enough for starting a testsuite. :)
|
|
|
|
| |
We reference GFile...
|
|
|
|
| |
consistency, improved debugging, etc
|
|
|
|
|
|
| |
Sorry for this late ABI break, but the newly added style classes
definitely need padding, so I can just as well add missing padding
globally.
|
|
|
|
| |
When we take a GError argument, better use it.
|
|
|
|
| |
GError arguments must be **.
|
|
|
|
|
| |
Both API and file format is documented, there's still missing
a migration doc though.
|
|
|
|
| |
This functions loads a CSS file from a installed theme.
|
| |
|
|
|
|
|
| |
This method returns a GtkCssProvider with the default style information
loaded.
|
| |
|
|
GtkCssProvider is a GtkStyleProvider implementation which is able to read
CSS-like input to style widgets.
At the moment, only the basic parser features are available.
|