Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Media queries: Ensure values get destroyed. | Michael Drake | 2019-03-10 | 1 | -5/+16 |
| | |||||
* | Media Queries: fix parsing of media-condition | John-Mark Bell | 2019-03-10 | 1 | -5/+6 |
| | |||||
* | Parse: only emit start ruleset if there's a brace | John-Mark Bell | 2019-03-10 | 1 | -11/+20 |
| | |||||
* | Parse: fix handling of EOF | John-Mark Bell | 2019-03-10 | 1 | -8/+20 |
| | |||||
* | Parse: maintain stack of brackets in parseAny | John-Mark Bell | 2019-03-10 | 1 | -7/+7 |
| | |||||
* | Parse: fix broken state transition in parseAny | John-Mark Bell | 2019-03-10 | 1 | -2/+2 |
| | |||||
* | Parse: fix dump of tokens with interned strings | John-Mark Bell | 2019-03-10 | 1 | -1/+5 |
| | |||||
* | HACKS for testing Media Queries parsing. | Michael Drake | 2019-03-10 | 3 | -1/+21 |
| | | | | | | | | | | | Top level stylesheets need to have their media query passed in. So we need a way to parse standalone media queries. This was hacked together to explore doing that. However, it encounteded an issue where it seems the parseAtRule() function in src/parse/parse.c doesn't handle the full grammar for media queries. | ||||
* | Media Queries: Parse only needs propstrings out of css_language. | Michael Drake | 2019-03-10 | 3 | -54/+62 |
| | |||||
* | Media Queries: Store type as value, rather than lwc_string. | Michael Drake | 2019-03-10 | 2 | -4/+60 |
| | | | | | | Otherwise we need to convert it in selection, and select/ doesn't have access to the css_language interned strings table. | ||||
* | Media Queries: Fix range parsing. | Michael Drake | 2019-03-10 | 1 | -1/+1 |
| | |||||
* | Media Queries: Add error-path resource cleanup. | Michael Drake | 2019-03-10 | 1 | -28/+16 |
| | |||||
* | Media Queries: Add destruction functions. | Michael Drake | 2019-03-10 | 2 | -1/+58 |
| | |||||
* | Media Queries: Implement parsing <general-enclosed>. | Michael Drake | 2019-03-10 | 1 | -1/+98 |
| | |||||
* | Media Queries: Squash invalid use of unused variable warning. | Michael Drake | 2019-03-10 | 1 | -1/+2 |
| | | | | error: ‘last’ may be used uninitialized in this function [-Werror=maybe-uninitialized] | ||||
* | Media Queries: Add forward declaration of mq_parse_condition. | Michael Drake | 2019-03-10 | 1 | -0/+4 |
| | |||||
* | Media Queries: mq_parse_ratio doesn't need language object. | Michael Drake | 2019-03-10 | 1 | -5/+5 |
| | |||||
* | Media Queries: Minor fixes. | Michael Drake | 2019-03-10 | 1 | -4/+5 |
| | |||||
* | Strings: Add 'infinite'. | Michael Drake | 2019-03-10 | 2 | -1/+2 |
| | |||||
* | Media Queries: Include string.h for memset. | Michael Drake | 2019-03-10 | 1 | -0/+2 |
| | |||||
* | Media Queries: Include stylesheet.h for css_style. | Michael Drake | 2019-03-10 | 1 | -0/+1 |
| | |||||
* | Media Queries: remainder of parser | John-Mark Bell | 2019-03-10 | 2 | -80/+351 |
| | |||||
* | Propstrings: add AND, ONLY, OR | John-Mark Bell | 2019-03-10 | 2 | -1/+4 |
| | |||||
* | Media Queries: parse features | John-Mark Bell | 2019-03-10 | 2 | -4/+452 |
| | |||||
* | Units: parse new unit names | John-Mark Bell | 2019-03-10 | 1 | -0/+8 |
| | |||||
* | Media Queries: sort out object lifetimes | John-Mark Bell | 2019-03-10 | 2 | -16/+8 |
| | |||||
* | Media Queries: datastructures and plumbing. | John-Mark Bell | 2019-03-10 | 4 | -93/+220 |
| | | | | | | | | | | | | | No parse implementation as yet. Selection hasn't been updated, either. One item of note in that area is that a client currently provides the media for top-level sheets being added to a selection context. This probably needs to change to providing a lwc_string containing the verbatim media query from the containing document's import mechanism. That way, the internal representation of media queries can remain opaque to clients. | ||||
* | Parsing: Fix undefined shift in css__parse_hash_colour. | Michael Drake | 2018-07-28 | 1 | -2/+2 |
| | | | | | | | | | | uint a = 0xff; a << 24 `a` gets promoted to int, which can't store the value. src/parse/properties/utils.c:655:16: runtime error: left shift of 255 by 24 places cannot be represented in type 'int' src/parse/properties/utils.c:889:15: runtime error: left shift of 255 by 24 places cannot be represented in type 'int' | ||||
* | Add support for new length units. | Lucas Neves | 2017-11-13 | 1 | -0/+26 |
| | |||||
* | Squash GCC7 -Wimplicit-fallthrough warnings. | Michael Drake | 2017-10-22 | 1 | -2/+2 |
| | |||||
* | Selection: Logic for the flexbox properties. | Lucas Neves | 2017-10-21 | 1 | -1/+1 |
| | |||||
* | Parsing: Add support for parsing the flexbox properties. | Lucas Neves | 2017-10-21 | 9 | -30/+492 |
| | |||||
* | Strip trailing whitespace. | Michael Drake | 2017-09-04 | 38 | -726/+726 |
| | |||||
* | Parsing: Add support for parsing the CSS3 box-sizing property. | Michael Drake | 2017-04-27 | 5 | -4/+14 |
| | |||||
* | Perser generator: Squash coverity #1361551 Unused value | Michael Drake | 2016-08-13 | 1 | -1/+0 |
| | |||||
* | Parse: Squash coverity #1361552: Unused value | Michael Drake | 2016-08-13 | 1 | -2/+3 |
| | |||||
* | Update to use correct BUILD/HOST variables due to buildsystem changes | Vincent Sanders | 2014-12-19 | 1 | -1/+1 |
| | |||||
* | strncasecmp is defined in strings.h | Vincent Sanders | 2014-09-05 | 1 | -0/+1 |
| | |||||
* | Fix advancing when play-during rule has !important set. | Michael Drake | 2014-07-24 | 1 | -1/+1 |
| | |||||
* | Fix warning. | Michael Drake | 2014-06-02 | 1 | -1/+2 |
| | |||||
* | Add support for CSS3 overflow-x and overflow-y properties. | Michael Drake | 2014-06-01 | 7 | -11/+121 |
| | | | | | | | | Now, overflow is a shorthand property setting both overflow-x and overflow-y. The getter for the computed overflow has been removed, and replaced with two for overflow-x and overflow-y. | ||||
* | ensure generation tool exits if it cannot open its output file. (coverity ↵ | Vincent Sanders | 2014-01-24 | 1 | -0/+1 |
| | | | | 1127066) | ||||
* | Fix destruction of wrong style. Coverity #1137922. | Michael Drake | 2013-12-15 | 1 | -1/+1 |
| | |||||
* | Update for new lpu API. | Michael Drake | 2013-12-14 | 3 | -8/+6 |
| | |||||
* | Various changes which modify API and ABI: | Michael Drake | 2013-12-13 | 6 | -68/+36 |
| | | | | | | | | | - Remove client allocation function. - Change node_classes callback not to yield array ownership to libcss. - Node bloom filters now built by, during selection libcss. - Added selection callbacks to get and set data on document nodes. Test suite, example, and documentation updated to match. | ||||
* | Fixup for insensitive hash utilisation. | Michael Drake | 2013-12-02 | 1 | -4/+10 |
| | |||||
* | Ensure that element/class/id names in selector details always get their ↵ | Michael Drake | 2013-12-02 | 1 | -0/+18 |
| | | | | caseless string. | ||||
* | Handle css__stylesheet_style_append() returning error. Coverity #1127060. | Michael Drake | 2013-11-08 | 1 | -4/+22 |
| | |||||
* | Add computed style accessor for writing-mode and and writing-mode to the ↵ | Michael Drake | 2013-09-10 | 1 | -0/+1 |
| | | | | property handler table. | ||||
* | Add support for parsing the writing-mode property. Thanks to Caitlin Potter. | Caitlin Potter | 2013-09-10 | 4 | -2/+11 |
| |