Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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'. | ||||
* | css: Actually break at end of the string | Benjamin Otte | 2014-05-22 | 1 | -2/+3 |
| | | | | | | | | Introduced in 65c4c1555d0634c063c3aa354620de260e4aaf7f. Found by gnome-continuous running the testsuite. Includes fixing a broken test in the testsuite. | ||||
* | css: Fix printing code for CSS strings and idents | Benjamin Otte | 2014-05-05 | 1 | -0/+1 |
| | | | | It used to infloop on special characters. | ||||
* | css: Split out a common function | Benjamin Otte | 2014-05-05 | 1 | -0/+44 |
| | | | | It's used in two places already, and Iwant to use it in a third one. | ||||
* | cssparser: Don't detect /*/ as a comment | Marcus Kraßmann | 2012-11-28 | 1 | -1/+1 |
| | |||||
* | gtk: Make functions static that don't need to be non-static | Benjamin Otte | 2012-10-02 | 1 | -7/+7 |
| | | | | | | | | Also remove the starting underscore from function names where appropriate, as those functions are static now and not exported anymore. This is part of a bunch of fixes for gcc complaining about -Wmissing-declarations. | ||||
* | cssparser: Don't use a free'd string in error messages | Benjamin Otte | 2012-09-17 | 1 | -2/+3 |
| | |||||
* | cssparser: Change APIs that work with files | Benjamin Otte | 2012-05-11 | 1 | -3/+45 |
| | | | | | Now that we keep track of the parser's file, we don't require it to be passed anymore. | ||||
* | cssparser: Keep track of the file | Benjamin Otte | 2012-05-11 | 1 | -5/+13 |
| | |||||
* | cssparser: Move symbolic color parser to gtksymboliccolor.c | Benjamin Otte | 2012-04-17 | 1 | -251/+13 |
| | |||||
* | css: Remove GtkCssNumber | Benjamin Otte | 2012-04-17 | 1 | -29/+34 |
| | | | | It's completely replaced by GtkCssNumberValue now. | ||||
* | css: Add <time> type to css number stuff | Benjamin Otte | 2012-04-17 | 1 | -1/+3 |
| | |||||
* | cssparser: Use _gtk_css_parser_error_full() | Benjamin Otte | 2012-04-17 | 1 | -11/+6 |
| | |||||
* | cssparser: Add _gtk_css_parser_error_full() | Benjamin Otte | 2012-04-17 | 1 | -0/+17 |
| | |||||
* | Change FSF Address | Javier Jardón | 2012-02-27 | 1 | -3/+1 |
| | |||||
* | css: Implement support for angles | Benjamin Otte | 2012-02-02 | 1 | -8/+12 |
| | |||||
* | css: Add GtkCssNumber | Benjamin Otte | 2012-02-02 | 1 | -0/+117 |
| | |||||
* | Ensure we can load images via resource:// uris from CSS | Alexander Larsson | 2012-01-16 | 1 | -0/+10 |
| | |||||
* | parser: remove unused _gtk_css_parser_read_uri() | Cosimo Cecchi | 2012-01-13 | 1 | -49/+0 |
| | | | | It's not used anymore now. | ||||
* | parser: remove a duplicate copy of gtk_css_parse_url() | Cosimo Cecchi | 2012-01-13 | 1 | -0/+56 |
| | | | | Move the function to gtkcssparser.c and use it in both places. | ||||
* | Introduce _gtk_css_parser_try_length | Paolo Borelli | 2012-01-09 | 1 | -0/+17 |
| | | | | | This starts to introduce the proper API abstraction for when we will support different units | ||||
* | css: Add _gtk_css_parser_has_prefix() | Benjamin Otte | 2012-01-09 | 1 | -0/+9 |
| | |||||
* | css: 'transparent' is a valid color everywhere | Benjamin Otte | 2012-01-09 | 1 | -0/+7 |
| | |||||
* | Plug tiny leak in the css parser | Paolo Borelli | 2011-12-03 | 1 | -0/+1 |
| | |||||
* | css: Add _gtk_css_parser_try_enum | Alexander Larsson | 2011-11-25 | 1 | -0/+47 |
| | | | | | This helps parsing GType enums in CSS, properly handling CSS being case insensitive. | ||||
* | Add support for win32 theme colors as symbolic colors | Alexander Larsson | 2011-11-18 | 1 | -2/+11 |
| | |||||
* | cssparser: Fix cases where we could overrun the terminating 0 | Benjamin Otte | 2011-08-26 | 1 | -3/+8 |
| | |||||
* | cssparser: Make lines and positions 0-indexed | Benjamin Otte | 2011-08-26 | 1 | -1/+1 |
| | |||||
* | css: Use the correct free function | Benjamin Otte | 2011-07-20 | 1 | -1/+1 |
| | |||||
* | css: Make font property a shorthand | Benjamin Otte | 2011-06-15 | 1 | -1/+4 |
| | | | | | | | | | | | | | | ... and implement the CSS font properties: - font-size - font-style - font-family - font-weight - font-variant This is the second try at this. The first was backed out previously due to bugginess. Let's hope this one survives a bit longer. Also makes the font-family CSS test work again. | ||||
* | cssparser: Actually send an error in an error case | Benjamin Otte | 2011-06-13 | 1 | -0/+1 |
| | | | | | The error case was excess commas in rgb/rgba colors, such as rgba(0,255,0,0,0.5) | ||||
* | Revert "css: Make font property a shorthand" | Benjamin Otte | 2011-06-02 | 1 | -4/+1 |
| | | | | | | | | The hack in gtk_style_context_get_font() was causing segfaults in combobox code. This is not acceptable and I'm not awake enough to fix it, so just reverting until it's fixed sanely is easiest. This reverts commit cf6bfbdb17412a48c72b53aa1ad6d141114c48bc. | ||||
* | css: Make font property a shorthand | Benjamin Otte | 2011-06-02 | 1 | -1/+4 |
| | | | | | | | | | ... and implement the CSS font properties: - font-size - font-style - font-family - font-weight - font-variant | ||||
* | css: Don't infloop when resyncing over a slash | Benjamin Otte | 2011-06-02 | 1 | -0/+2 |
| | |||||
* | css: We want to unescape backslashes, not slashes | Benjamin Otte | 2011-06-02 | 1 | -1/+1 |
| | |||||
* | cssparser: Fix typo where we used "uint" for a type | Benjamin Otte | 2011-05-22 | 1 | -1/+1 |
| | | | | Interestingly this works for gcc, but breaks on MSVC. | ||||
* | css: Make property parsing functions take a css parser | Benjamin Otte | 2011-05-18 | 1 | -3/+10 |
| | | | | | Instead of reading a string and then passing that in, let the parse functions use the full power of the parser. | ||||
* | css: Rewrite the parser | Benjamin Otte | 2011-05-18 | 1 | -0/+938 |
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. |