summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update component version for releaseHEADrelease/0.8.0masterVincent Sanders2018-08-221-1/+1
|
* Select generator: Squash undefined behaviour in generated code.Michael Drake2018-07-284-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 Drake2018-07-281-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 Drake2018-07-281-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 Drake2018-07-281-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 Drake2018-07-281-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 Drake2018-07-281-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 Drake2018-07-281-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 Drake2018-07-273-62/+54
|
* Build: Commit generated computed style access source code.Michael Drake2018-01-066-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 Drake2018-01-0520-5281/+3924
|\
| * Selection: Autogenerated propset: Fix release of previous strings.Michael Drake2017-11-251-2/+2
| |
| * Selection: Content prop, use CSS_CONTENT_SET as condition for generator.Michael Drake2017-11-251-1/+1
| |
| * Select: Bug fixes in the generator.lcneves/select-autogenLucas Neves2017-11-192-18/+17
| |
| * Tests: add tests for new length units.Lucas Neves2017-11-135-0/+2550
| |
| * Add support for new length units.Lucas Neves2017-11-135-20/+98
| |
| * Select: include autogenerated content in header files.Lucas Neves2017-11-133-5261/+3
| |
| * Select: autogenerator for computed.h, propset.h and propget.h.Lucas Neves2017-11-137-0/+1274
|/
* Squash GCC7 -Wimplicit-fallthrough warnings.Michael Drake2017-10-222-4/+4
|
* Tests: Fixes sizing of font-size: smaller in selection test.Lucas Neves2017-10-212-2/+2
|
* Merge branch 'lcneves/flexbox-tidy'Michael Drake2017-10-2138-160/+10656
|\
| * Tests: Remove invalid lines from selection test.Lucas Neves2017-10-211-4/+0
| |
| * Fixes use of spaces instead of tabs for whitespace.Lucas Neves2017-10-211-61/+61
| |
| * Tests: Add support and selection tests for the flexbox properties.Lucas Neves2017-10-212-0/+6490
| |
| * Tests: Add support and parsing tests for the flexbox properties.Lucas Neves2017-10-213-15/+1933
| |
| * Selection: Logic for the flexbox properties.Lucas Neves2017-10-2116-5/+751
| |
| * Selection: Add support for the flexbox properties.Lucas Neves2017-10-216-48/+675
| |
| * Parsing: Add support for parsing the flexbox properties.Lucas Neves2017-10-219-30/+492
| |
| * Add codes to flexbox properties.Lucas Neves2017-10-213-12/+269
|/
* Prepare for release of 0.7.0release/0.7.0Vincent Sanders2017-10-121-1/+1
|
* Unit tests: Add non-integer NUMBER parsing test.Michael Drake2017-09-201-0/+8
|
* Strip trailing whitespace.Michael Drake2017-09-04190-1790/+1790
|
* Example: Fix css_presentational_hints prototype and return value.Lucas Neves2017-08-261-5/+5
|
* Fix: Read beyond allocated memory when removing sheet from selection context.Michael Drake2017-06-271-2/+2
| | | | Thanks to 'effin' on #netsurf.
* Merge branch 'tlsa/box-sizing'Michael Drake2017-04-2722-7/+524
|\
| * Tests: Add box-sizing selection tests.Michael Drake2017-04-271-0/+200
| |
| * Tests: Dump box-sizing property in selection tests.Michael Drake2017-04-272-0/+69
| |
| * Interface: Add public API for getting box-sizing from computed style.Michael Drake2017-04-272-0/+8
| |
| * Selection: Add support for the CSS3 box-sizing property.Michael Drake2017-04-274-15/+52
| |
| * Tests: Add parser tests for box-sizing.Michael Drake2017-04-271-0/+33
| |
| * Tests: Add support for dumping the box-sizing property.Michael Drake2017-04-271-0/+11
| |
| * Tests: Add box-sizing bytecode unit tests.Michael Drake2017-04-271-0/+58
| |
| * Parsing: Add support for parsing the CSS3 box-sizing property.Michael Drake2017-04-2712-5/+106
|/
* Select: Squash error-path leak.Michael Drake2017-02-031-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 Drake2016-11-292-12/+27
|
* Selection: Try all previous sibling nodes for sharable styles.Michael Drake2016-11-201-7/+8
| | | | Previously we would only consider the first candidate.
* Merge branch 'tlsa/shared-styles'Michael Drake2016-11-1930-702/+1948
|\
| * Selection: Turn off style sharing debug output.Michael Drake2016-11-191-1/+0
| |
| * Enable sharing where pseudo common pseudo classes are the same.Michael Drake2016-11-192-8/+79
| |
| * Selection: Abstract common node flags setting code into helper.Michael Drake2016-11-191-44/+22
| |