Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | 2 | -1/+15 | |
| | ||||||
* | Media Queries: sort out object lifetimes | John-Mark Bell | 2019-03-10 | 3 | -18/+18 | |
| | ||||||
* | Media Queries: datastructures and plumbing. | John-Mark Bell | 2019-03-10 | 6 | -106/+231 | |
| | | | | | | | | | | | | | 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. | |||||
* | Select generator: Squash undefined behaviour in generated code. | Michael Drake | 2018-07-28 | 4 | -603/+621 | |
| | | | | | | | uint8_t is promoted to int instead of unsigned, so it can't hold the values we try to store. Reran `make select_generator` to update generated code. | |||||
* | 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' | |||||
* | css_fixed: Avoid undefined shift. | Michael Drake | 2018-07-28 | 1 | -1/+1 | |
| | | | | | | From undefined behaviour sanitizer: src/utils/utils.c:130:18: runtime error: left shift of negative value -1 | |||||
* | Selection: Unify rule good for media helper. | Michael Drake | 2018-07-27 | 3 | -62/+54 | |
| | ||||||
* | Build: Commit generated computed style access source code. | Michael Drake | 2018-01-06 | 5 | -3/+5247 | |
| | | | | | | | | This means python3 is not required to build libcss. To re-generate the compute style access code, e.g. when adding new CSS properties, developers must run `make select_generator` and commit the updated generated source code. | |||||
* | Selection: Autogenerated propset: Fix release of previous strings. | Michael Drake | 2017-11-25 | 1 | -2/+2 | |
| | ||||||
* | Selection: Content prop, use CSS_CONTENT_SET as condition for generator. | Michael Drake | 2017-11-25 | 1 | -1/+1 | |
| | ||||||
* | Select: Bug fixes in the generator.lcneves/select-autogen | Lucas Neves | 2017-11-19 | 2 | -18/+17 | |
| | ||||||
* | Add support for new length units. | Lucas Neves | 2017-11-13 | 3 | -0/+52 | |
| | ||||||
* | Select: include autogenerated content in header files. | Lucas Neves | 2017-11-13 | 3 | -5261/+3 | |
| | ||||||
* | Select: autogenerator for computed.h, propset.h and propget.h. | Lucas Neves | 2017-11-13 | 6 | -0/+1273 | |
| | ||||||
* | Squash GCC7 -Wimplicit-fallthrough warnings. | Michael Drake | 2017-10-22 | 2 | -4/+4 | |
| | ||||||
* | Selection: Logic for the flexbox properties. | Lucas Neves | 2017-10-21 | 16 | -5/+751 | |
| | ||||||
* | Selection: Add support for the flexbox properties. | Lucas Neves | 2017-10-21 | 5 | -48/+640 | |
| | ||||||
* | Parsing: Add support for parsing the flexbox properties. | Lucas Neves | 2017-10-21 | 9 | -30/+492 | |
| | ||||||
* | Add codes to flexbox properties. | Lucas Neves | 2017-10-21 | 1 | -4/+74 | |
| | ||||||
* | Strip trailing whitespace. | Michael Drake | 2017-09-04 | 167 | -1444/+1444 | |
| | ||||||
* | Fix: Read beyond allocated memory when removing sheet from selection context. | Michael Drake | 2017-06-27 | 1 | -2/+2 | |
| | | | | Thanks to 'effin' on #netsurf. | |||||
* | Interface: Add public API for getting box-sizing from computed style. | Michael Drake | 2017-04-27 | 1 | -0/+5 | |
| | ||||||
* | Selection: Add support for the CSS3 box-sizing property. | Michael Drake | 2017-04-27 | 4 | -15/+52 | |
| | ||||||
* | Parsing: Add support for parsing the CSS3 box-sizing property. | Michael Drake | 2017-04-27 | 10 | -4/+92 | |
| | ||||||
* | Select: Squash error-path leak. | Michael Drake | 2017-02-03 | 1 | -1/+0 | |
| | | | | | If we allocated a font-face array previously, and failed to extend it, then we failed to free it on the error path. | |||||
* | Selection: Inline styles prevent computed style sharing. | Michael Drake | 2016-11-29 | 2 | -12/+27 | |
| | ||||||
* | Selection: Try all previous sibling nodes for sharable styles. | Michael Drake | 2016-11-20 | 1 | -7/+8 | |
| | | | | Previously we would only consider the first candidate. | |||||
* | Selection: Turn off style sharing debug output. | Michael Drake | 2016-11-19 | 1 | -1/+0 | |
| | ||||||
* | Enable sharing where pseudo common pseudo classes are the same. | Michael Drake | 2016-11-19 | 2 | -8/+79 | |
| | ||||||
* | Selection: Abstract common node flags setting code into helper. | Michael Drake | 2016-11-19 | 1 | -44/+22 | |
| | ||||||
* | Debug for recording which nodes fail to share style and why. | Michael Drake | 2016-11-19 | 1 | -0/+50 | |
| | ||||||
* | Documentation: Function param comment fix. | Michael Drake | 2016-11-19 | 1 | -1/+0 | |
| | ||||||
* | Optimisation: Bypass selection by sharing previous sibling's style. | Michael Drake | 2016-11-19 | 2 | -15/+310 | |
| | ||||||
* | Selection: Split out selection state {initi|fin}alisation. | Michael Drake | 2016-11-19 | 1 | -95/+149 | |
| | ||||||
* | Make node data contain list of partial node styles. | Michael Drake | 2016-11-19 | 3 | -2/+29 | |
| | ||||||
* | Separate node data creation and node bloom creation. | Michael Drake | 2016-11-19 | 1 | -18/+37 | |
| | ||||||
* | Allow more than just bloom to be stored on nodes. | Michael Drake | 2016-11-19 | 2 | -45/+90 | |
| | | | | | We now have a css_node_data struct which is sored on nodes. It currently contians just the bloom filter. | |||||
* | Split bloom filter get/set out into helpers. | Michael Drake | 2016-11-19 | 1 | -93/+148 | |
| | ||||||
* | Remove redundant API surface. | Michael Drake | 2016-11-19 | 3 | -8/+14 | |
| | ||||||
* | Remove trailing whitespace. | Michael Drake | 2016-11-19 | 1 | -1/+1 | |
| | ||||||
* | Add comment. | Michael Drake | 2016-11-19 | 1 | -0/+1 | |
| | ||||||
* | Intern partial styles. | Michael Drake | 2016-11-19 | 3 | -9/+129 | |
| | | | | | Note this changes the public API. We can't compose directly over child style now, since it may be interned. | |||||
* | Composition: Avoid extension block checks irrelevent to property group. | Michael Drake | 2016-11-19 | 1 | -14/+18 | |
| | ||||||
* | Change arena hash from FNV-1 to 32-bit MurmurHash2. | Michael Drake | 2016-11-19 | 2 | -17/+68 | |
| | ||||||
* | After composing styles, intern the result in the style sharing arena. | Michael Drake | 2016-11-19 | 1 | -4/+25 | |
| | | | | | Note this changes the API. Selection tests updated. | |||||
* | Add arena module for interning computed styles. | Michael Drake | 2016-11-19 | 3 | -1/+423 | |
| | | | | Builds, but currently unused. | |||||
* | Ensure computed content items are initialised to zero. | Michael Drake | 2016-11-19 | 1 | -0/+1 | |
| | | | | This allows comparing them with memcmp. | |||||
* | Move trivially compared parts of computed styles to sub-structures. | Michael Drake | 2016-11-19 | 18 | -454/+496 | |
| |