Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Documentation: Add new units to bytecode docs. | Michael Drake | 2019-03-10 | 1 | -0/+9 |
| | |||||
* | 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 | 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 | 7 | -109/+233 |
| | | | | | | | | | | | | | 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. | ||||
* | Update component version for releaserelease/0.8.0 | Vincent Sanders | 2018-08-22 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Tests: Passing NULL to memcmp is undefined. | Michael Drake | 2018-07-28 | 1 | -1/+2 |
| | | | | test/parse2-auto.c:222:39: runtime error: null pointer passed as argument 2, which is declared to never be null | ||||
* | Fixed point: Squash undefined shift error. | Michael Drake | 2018-07-28 | 1 | -1/+1 |
| | | | | /include/libcss/fpmath.h:86:29: runtime error: left shift of negative value -1 | ||||
* | Fixed point: Squash undefined left shift of -ve value error. | Michael Drake | 2018-07-28 | 1 | -1/+1 |
| | | | | include/libcss/fpmath.h:60:27: runtime error: left shift of negative value -2611200 | ||||
* | 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' | ||||
* | Tests: Fix undefined behaviour in css_fixed printing. | Michael Drake | 2018-07-28 | 1 | -1/+1 |
| | | | | test/number.c:137:22: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself | ||||
* | 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 | 6 | -6/+5259 |
| | | | | | | | | 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. | ||||
* | Merge branch 'tlsa/lcneves/select-autogen' | Michael Drake | 2018-01-05 | 20 | -5281/+3924 |
|\ | |||||
| * | 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 |
| | | |||||
| * | Tests: add tests for new length units. | Lucas Neves | 2017-11-13 | 5 | -0/+2550 |
| | | |||||
| * | Add support for new length units. | Lucas Neves | 2017-11-13 | 5 | -20/+98 |
| | | |||||
| * | 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 | 7 | -0/+1274 |
|/ | |||||
* | Squash GCC7 -Wimplicit-fallthrough warnings. | Michael Drake | 2017-10-22 | 2 | -4/+4 |
| | |||||
* | Tests: Fixes sizing of font-size: smaller in selection test. | Lucas Neves | 2017-10-21 | 2 | -2/+2 |
| | |||||
* | Merge branch 'lcneves/flexbox-tidy' | Michael Drake | 2017-10-21 | 38 | -160/+10656 |
|\ | |||||
| * | Tests: Remove invalid lines from selection test. | Lucas Neves | 2017-10-21 | 1 | -4/+0 |
| | | |||||
| * | Fixes use of spaces instead of tabs for whitespace. | Lucas Neves | 2017-10-21 | 1 | -61/+61 |
| | | |||||
| * | Tests: Add support and selection tests for the flexbox properties. | Lucas Neves | 2017-10-21 | 2 | -0/+6490 |
| | | |||||
| * | Tests: Add support and parsing tests for the flexbox properties. | Lucas Neves | 2017-10-21 | 3 | -15/+1933 |
| | | |||||
| * | 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 | 6 | -48/+675 |
| | | |||||
| * | 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 | 3 | -12/+269 |
|/ | |||||
* | Prepare for release of 0.7.0release/0.7.0 | Vincent Sanders | 2017-10-12 | 1 | -1/+1 |
| | |||||
* | Unit tests: Add non-integer NUMBER parsing test. | Michael Drake | 2017-09-20 | 1 | -0/+8 |
| | |||||
* | Strip trailing whitespace. | Michael Drake | 2017-09-04 | 190 | -1790/+1790 |
| | |||||
* | Example: Fix css_presentational_hints prototype and return value. | Lucas Neves | 2017-08-26 | 1 | -5/+5 |
| |