| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This is in preaparation for the big GtkCssComputedValues => GtkCssStyle
rename
|
|
|
|
| |
Some forgotten include path adjustments.
|
|
|
|
| |
This is the place for wholly-deprecated sources.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=730745
|
|
|
|
|
| |
It has been replaced by GdkRGBA. Time to make it official.
http://bugzilla.gnome.org/show_bug.cgi?id=636695
|
|
|
|
|
| |
Without sgml mode, we can't escape /* as /* anymore,
so just switch to // for comments in examples.
|
|
|
|
|
| |
With all element markup gone, it is time to turn off
sgml mode, and get rid of entities as well.
|
| |
|
|
|
|
| |
In most cases, the text itself makes the message clear enough.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=723119
|
|
|
|
|
| |
We should slowly transition code to using the GTK-provided CSS. So here
we go.
|
| |
|
|
|
|
|
|
|
| |
Symbolic colors are an implementation detail of the CSS engine and have
been superceded by GtkCssColorValue. We don't want them clobbering the
public API. In particular because the only use I could find in the
public API is people using it to shade colors.
|
|
|
|
| |
That header was included in way too many places.
|
|
|
|
| |
This way, we don't need the print_value vfunc anymore.
|
|
|
|
|
| |
from _gtk_style_property_parse_value(). The GtkCssParser takes care of
that now.
|
|
|
|
| |
The GtkCssParser keeps track of the base file now.
|
|
|
|
|
|
|
| |
... and Make this new value be a real GValue, as we don't need to save
performance for these anymore (it's just used for custom properties).
And I'd rather have code work for all values then be optimized for no
reason.
|
|
|
|
|
| |
I'm going to overwrite the GtkCssStyleProperty one, so better keep this
one.
|
|
|
|
|
| |
I'm about to change the CssStyleProperty one, so better copy things
here.
|
|
|
|
|
| |
This removes the necessity to keep a GType associated with style
properties and code can now make use of GtkCssValue completely.
|
|
|
|
|
|
| |
The compute_value fallback path is only needed for custom properties,
the real style properties have custom compute functions if they need
them already.
|
|
|
|
| |
This way, we can remove type madness from GtkCssStyleProperty later.
|
|
|
|
| |
Also split out initial/inherit handling into a custom GtkCssValue class.
|
|
|
|
|
| |
Having two constructors from GValues complicates refactorings, so I'd
rather not have them.
|
|
|
|
| |
.. in 43c56d70ea247b3317c386e22407ad20769d2762
|
|
|
|
|
| |
... before reigstering our own. Also, use that capability to emit a
warning.
|
|
|
|
|
| |
This fixes custom parse functions returning RGBA values where we
expected symbolic colors.
|
|
|
|
|
|
| |
Also, in places where we're computing a new CssValue based on an
old one, make sure that if nothing changes we're returning a reference
to the old one, rather than creating a new identical instance.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Make the types explicit. This way, we can actually do useful stuff with
them (like sanity checks, d'oh).
|
|
|
|
| |
It's only used there.
|
|
|
|
| |
It belongs in GtkCssCustomProperty
|
|
|
|
|
| |
In particular, move the property_parse_func handling to
GtkCssCustomProperty exclusively.
|
|
|
|
| |
shorthands don't use pspecs anymore.
|
|
|
|
|
|
| |
... in gtk_style_properties_lookup_property(). Those properties will
soon stop having pspecs or even being gettable and settable, so better
not tell anyone about it.
|
|
This way we can also get rid of the hack where we required modifying the
pspec after creation, as the name is now a separate property.
|