Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add some missing nullable return annotations | Sophie Herold | 2020-10-17 | 1 | -1/+1 |
| | |||||
* | css: Move _gtk_css_print_string around | Matthias Clasen | 2020-10-02 | 1 | -1/+3 |
| | | | | | | Move this to a separate header, since it is not parser functionality, and kill the duplicate gtkcssparserprivate.h header. | ||||
* | Fix minor typos | Yuri Chornoivan | 2020-05-28 | 1 | -1/+1 |
| | |||||
* | styleproperty: Remove ability to query properties | Benjamin Otte | 2020-01-28 | 1 | -63/+1 |
| | | | | With gtk_style_context_get() gone, this is no longer used. | ||||
* | Drop unused gtkcssstylefuncs.c | Matthias Clasen | 2017-11-30 | 1 | -1/+0 |
| | | | | | Clean up all the places where the header was still included needlessly. | ||||
* | Drop the aliasing api for style properties | Matthias Clasen | 2017-09-17 | 1 | -20/+0 |
| | | | | | This was added to deprecate style properties. All deprecated style properties are gone now, so this is no longer needed. | ||||
* | API: Remove API to set CSS properties from GValues | Benjamin Otte | 2016-10-16 | 1 | -34/+2 |
| | | | | | | | This API was only used in GtkModifierStyle and GtkStyleProperties and they are both on their way out. CSS properties must now be set using strings via the regular parser API. | ||||
* | Add some missing (nullable) annotations | Rico Tzschichholz | 2016-09-22 | 1 | -1/+1 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=771826 | ||||
* | Add a way to add aliases for css properties | Matthias Clasen | 2015-11-20 | 1 | -0/+20 |
| | | | | | This will be used to rename some properties in a more systematic way without breaking all users of the old name. | ||||
* | Use stupid quotes instead of dumb quotes | Matthias Clasen | 2015-09-23 | 1 | -1/+1 |
| | | | | | | Following a similar change in GLib a while ago. 'bla' may by stupid, but it looks less dumb than `bla'. | ||||
* | Do not return on void functions | Ignacio Casal Quinteiro | 2015-02-19 | 1 | -1/+1 |
| | |||||
* | styleproperties: Deprecate | Benjamin Otte | 2014-10-24 | 1 | -0/+2 |
| | |||||
* | styleproperties: Remove header where it's not used | Benjamin Otte | 2014-10-24 | 1 | -1/+0 |
| | |||||
* | styleproperty: Remove base argument | Benjamin Otte | 2012-05-11 | 1 | -4/+2 |
| | | | | | from _gtk_style_property_parse_value(). The GtkCssParser takes care of that now. | ||||
* | styleproperty: Make _gtk_style_property_parse_value() return a CssValue | Benjamin Otte | 2012-04-17 | 1 | -10/+7 |
| | | | | Also split out initial/inherit handling into a custom GtkCssValue class. | ||||
* | styleproperty: Make _gtk_style_property_query() take a GValue | Benjamin Otte | 2012-04-17 | 1 | -4/+6 |
| | | | | | ... and don't make it return a GtkCssValue. We want to use this for compat with the old GValue APIs after all... | ||||
* | css: Use GtkCssValues instead of GValue in the css machinery | Alexander Larsson | 2012-03-08 | 1 | -8/+4 |
| | | | | | | 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 Address | Javier Jardón | 2012-02-27 | 1 | -3/+1 |
| | |||||
* | styleproperty: Make query function take a vfunc | Benjamin Otte | 2012-01-11 | 1 | -9/+9 |
| | | | | | This way we can use different methods to query properties and aren't bound to a GtkStyleProperties object. | ||||
* | styleproperty: Call style properties init function in more places | Benjamin Otte | 2012-01-09 | 1 | -3/+3 |
| | | | | | In particular, call it when querying properties by id. This is necessary for make check to not die. | ||||
* | styleproperty: Remove context arg from _gtk_style_context_query() | Benjamin Otte | 2012-01-09 | 1 | -3/+1 |
| | |||||
* | styleproperty: Move implementations to separate file | Benjamin Otte | 2012-01-09 | 1 | -634/+1 |
| | |||||
* | styleproperty: Let parse_value() initialize the value | Benjamin Otte | 2012-01-09 | 1 | -0/+19 |
| | | | | ... and document that behavior. | ||||
* | styleproperty: Move parse func | Benjamin Otte | 2012-01-09 | 1 | -59/+0 |
| | | | | It's specific to GtKCssStyleProperty after all. | ||||
* | styleproperty: Set a default value for border-*-radius | Benjamin Otte | 2012-01-09 | 1 | -4/+8 |
| | | | | That way, we don't have to check if it is indeed set. | ||||
* | styleproperty: Remove _gtk_style_property_unpack() | Benjamin Otte | 2012-01-09 | 1 | -13/+0 |
| | | | | The function is no longer needed in public API | ||||
* | styleproperty: Make parse_value() a vfunc | Benjamin Otte | 2012-01-09 | 1 | -0/+21 |
| | |||||
* | styleproperty: Move pspec to GtkCssStyleProperty | Benjamin Otte | 2012-01-09 | 1 | -1/+1 |
| | | | | shorthands don't use pspecs anymore. | ||||
* | styleproperty: require property in _gtk_style_property_parse_value() | Benjamin Otte | 2012-01-09 | 1 | -45/+42 |
| | | | | Other code uses _gtk_css_style_parse_value() instead now. | ||||
* | styleproperty: Make query() and assign() vfuncs | Benjamin Otte | 2012-01-09 | 1 | -245/+34 |
| | | | | ... and implement them in the 2 known subclasses. | ||||
* | styleproperty: Move value printing to real properties | Benjamin Otte | 2012-01-09 | 1 | -29/+0 |
| | | | | | | We can't print shorthands, so don't try. In particular, I want to get away from shorthands being representable using GValue, and this function kinda requires that. | ||||
* | css: Split generic parse/print functions out | Benjamin Otte | 2012-01-09 | 1 | -1320/+8 |
| | | | | | It seems to be some sort of sport for me to split them out and merge them back in... | ||||
* | css: 'transparent' is a valid color everywhere | Benjamin Otte | 2012-01-09 | 1 | -22/+5 |
| | |||||
* | styleproperty: Move member variables | Benjamin Otte | 2012-01-09 | 1 | -24/+25 |
| | | | | | These variables are only relevant for style properties, but not for shorthands, so put them there. | ||||
* | css: Move a bunch of functions | Benjamin Otte | 2012-01-09 | 1 | -46/+17 |
| | | | | ... from GtkStyleProperty to GtkCssStyleProperty. | ||||
* | styleproperty: Move id handling | Benjamin Otte | 2012-01-09 | 1 | -18/+6 |
| | | | | | only real style properties can have an id, so let GtkCssStylePropertyClass handle it. | ||||
* | styleproperty: Add gtk_style_property_assign() | Benjamin Otte | 2012-01-09 | 1 | -0/+41 |
| | |||||
* | styleproperty: Add GtkStyleProperty::value-type | Benjamin Otte | 2012-01-09 | 1 | -1/+36 |
| | |||||
* | styleproperty: unconstify | Benjamin Otte | 2012-01-09 | 1 | -25/+25 |
| | | | | | GtkStyleProperty is a real GObject now, so treat it like one and don't use const. | ||||
* | styleproperty: Remove unuse args from register() | Benjamin Otte | 2012-01-09 | 1 | -108/+35 |
| | | | | Those arguments are only relevant for shorthands. | ||||
* | styleproperty: Move shorthand declarations to new file | Benjamin Otte | 2012-01-09 | 1 | -803/+3 |
| | |||||
* | styleproperty: border image is not a generic conversion thingy | Benjamin Otte | 2012-01-09 | 1 | -3/+0 |
| | |||||
* | styleproperty: Add a name property | Benjamin Otte | 2012-01-09 | 1 | -27/+106 |
| | | | | | And move the properties array to GtkStylePropertyClass. Also add some docs. | ||||
* | styleproperty: Get rid of _gtk_style_property_is_shorthand() | Benjamin Otte | 2012-01-09 | 1 | -10/+2 |
| | | | | Use GTK_IS_CSS_SHORTHAND_PROPERTY() instead now that we have it. | ||||
* | styleproperty: Split into shorthand and real style properties | Benjamin Otte | 2012-01-09 | 1 | -2/+7 |
| | |||||
* | styleproperty: Make this an object | Benjamin Otte | 2012-01-09 | 1 | -1/+26 |
| | |||||
* | styleproperty: Add _gtk_style_property_query() | Benjamin Otte | 2012-01-09 | 1 | -3/+29 |
| | | | | This way, we only need to export one function, not 3. | ||||
* | css: Remove generic 'none' handling | Benjamin Otte | 2012-01-09 | 1 | -8/+0 |
| | | | | | Includes updated tests. Who could have thought that our tests were broken. Ooops. | ||||
* | styleproperty: Add custom 'none' handling | Benjamin Otte | 2012-01-09 | 1 | -1/+18 |
| | | | | | The generic 'none' handling needs to go, because 'none' is not a valid value most of the time. | ||||
* | css: Add generic support for 'inherit' and 'initial' | Benjamin Otte | 2012-01-09 | 1 | -2/+27 |
| | | | | CSS3 says they work for every property, so here we go. |