summaryrefslogtreecommitdiff
path: root/gtk/gtkcsscustomproperty.c
Commit message (Collapse)AuthorAgeFilesLines
* cssstylefuncs: Rename functionsBenjamin Otte2015-01-071-1/+1
| | | | | This is in preaparation for the big GtkCssComputedValues => GtkCssStyle rename
* Fix the buildMatthias Clasen2014-10-241-1/+1
| | | | Some forgotten include path adjustments.
* Move gtkthemingengine to deprecated directoryMatthias Clasen2014-08-291-1/+2
| | | | This is the place for wholly-deprecated sources.
* themingengine: DeprecateBenjamin Otte2014-08-161-2/+3
|
* gtk: port many nullability annotation fixes from Vala bindingsEvan Nemerson2014-05-301-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=730745
* Deprecate GdkColorMatthias Clasen2014-05-221-1/+3
| | | | | It has been replaced by GdkRGBA. Time to make it official. http://bugzilla.gnome.org/show_bug.cgi?id=636695
* Docs: use // for comments in examplesMatthias Clasen2014-02-141-1/+1
| | | | | Without sgml mode, we can't escape /* as /* anymore, so just switch to // for comments in examples.
* Docs: Remove all entities and turn off sgml modeMatthias Clasen2014-02-091-1/+1
| | | | | With all element markup gone, it is time to turn off sgml mode, and get rid of entities as well.
* docs: use proper quotations instead of '*'William Jon McCann2014-02-071-1/+1
|
* Docs: Don't use note elementsMatthias Clasen2014-02-021-4/+0
| | | | In most cases, the text itself makes the message clear enough.
* docs: use |[ ]| instead of <programlisting></programlisting>William Jon McCann2014-01-291-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* API: Deprecate functions to register custom CSS propertiesBenjamin Otte2012-11-301-0/+7
| | | | | We should slowly transition code to using the GTK-provided CSS. So here we go.
* deprecations: Move files into deprecated/ dirBenjamin Otte2012-11-251-1/+2
|
* symboliccolor: DeprecateBenjamin Otte2012-11-251-0/+4
| | | | | | | 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.
* symboliccolor: Remove extra includesBenjamin Otte2012-11-251-0/+1
| | | | That header was included in way too many places.
* csscustomproperty: Move compute code to GtkCssTypedValueBenjamin Otte2012-08-281-13/+0
| | | | This way, we don't need the print_value vfunc anymore.
* styleproperty: Remove base argumentBenjamin Otte2012-05-111-2/+1
| | | | | from _gtk_style_property_parse_value(). The GtkCssParser takes care of that now.
* cssstylefuncs: Remove base argumentBenjamin Otte2012-05-111-1/+1
| | | | The GtkCssParser keeps track of the base file now.
* cssvalue: Split out old value handling to new typed valueBenjamin Otte2012-04-171-10/+8
| | | | | | | ... 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.
* customproperty: Implement assign vfuncBenjamin Otte2012-04-171-0/+16
| | | | | I'm going to overwrite the GtkCssStyleProperty one, so better keep this one.
* customproperty: Add our own query_value functionBenjamin Otte2012-04-171-0/+18
| | | | | I'm about to change the CssStyleProperty one, so better copy things here.
* cssstyelproperty: Rempove specified-type and computed-type propsBenjamin Otte2012-04-171-2/+0
| | | | | This removes the necessity to keep a GType associated with style properties and code can now make use of GtkCssValue completely.
* styleproperty: Simplify compute_value functionBenjamin Otte2012-04-171-1/+13
| | | | | | The compute_value fallback path is only needed for custom properties, the real style properties have custom compute functions if they need them already.
* customproperty: Don't rely on querying style propertyBenjamin Otte2012-04-171-2/+11
| | | | This way, we can remove type madness from GtkCssStyleProperty later.
* styleproperty: Make _gtk_style_property_parse_value() return a CssValueBenjamin Otte2012-04-171-8/+15
| | | | Also split out initial/inherit handling into a custom GtkCssValue class.
* cssvalue: Remove _gtk_css_value_new_take_gvalue()Benjamin Otte2012-04-171-1/+5
| | | | | Having two constructors from GValues complicates refactorings, so I'd rather not have them.
* customproperty: Fix thinkoBenjamin Otte2012-04-091-2/+2
| | | | .. in 43c56d70ea247b3317c386e22407ad20769d2762
* customproperty: Ensure style properties are registeredBenjamin Otte2012-04-091-0/+16
| | | | | ... before reigstering our own. Also, use that capability to emit a warning.
* csscustomproperty: Redo RGBA/Color parsingBenjamin Otte2012-04-091-14/+9
| | | | | This fixes custom parse functions returning RGBA values where we expected symbolic colors.
* css: Use GtkCssValues instead of GValue in the css machineryAlexander Larsson2012-03-081-17/+20
| | | | | | 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.
* Change FSF AddressJavier Jardón2012-02-271-2/+1
|
* css: Ensure proper type for parsing custom propertiesBenjamin Otte2012-02-021-3/+8
|
* css: Create SymbolicColor fallback properties for colorsBenjamin Otte2012-02-021-3/+14
|
* styleproperty: Introduce "specified type" and "computed type"Benjamin Otte2012-02-021-0/+2
| | | | | Make the types explicit. This way, we can actually do useful stuff with them (like sanity checks, d'oh).
* styleproperty: Move pspec to GtkCssCustomPropertyBenjamin Otte2012-01-091-3/+3
| | | | It's only used there.
* styleproperty: Move property_parse_func memberBenjamin Otte2012-01-091-5/+8
| | | | It belongs in GtkCssCustomProperty
* styleproperty: Add custom parser for custom propertiesBenjamin Otte2012-01-091-0/+37
| | | | | In particular, move the property_parse_func handling to GtkCssCustomProperty exclusively.
* styleproperty: Move pspec to GtkCssStylePropertyBenjamin Otte2012-01-091-3/+3
| | | | shorthands don't use pspecs anymore.
* css: No longer expose internal propertiesBenjamin Otte2012-01-091-1/+1
| | | | | | ... 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.
* css: Handle custom properties in a custom objectBenjamin Otte2012-01-091-0/+209
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.