summaryrefslogtreecommitdiff
path: root/gsk/gskrendernodeparserprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* rendernodeparser: Skip root node when it's a containerBenjamin Otte2019-05-211-1/+0
| | | | | | | When printing, behave the same way as when parsing: Magically skip a container node if there is one - just like the parser magically creates a container node to hold all the nodes it parses.
* Add error func to node deserializationTimm Bäder2019-05-051-2/+3
|
* Parse render nodes from text filesTimm Bäder2019-05-051-0/+11
Instead of the previous approach using GVariant, this new approach uses human-readable text files as the serialization format for render nodes. The format is a custom one, but it is inspired by QML and conforms to the CSS syntax. Because of that, we can use the CSS machinery from GTK to parse it, and in particular share code to parse properties that GTK's CSS machinery also supports, such as colors. This commit breaks all existing usages of node files - such as the testsuite and various test tools - they will be fixed in further commits.