summaryrefslogtreecommitdiff
path: root/src/select/select_generator.py
Commit message (Collapse)AuthorAgeFilesLines
* select: generator: Simplify function parameter generationMichael Drake2022-12-031-6/+4
|
* select: generator: Declare and define bits togetherMichael Drake2022-12-031-4/+1
|
* select: generator: Remove dead codeMichael Drake2022-12-031-149/+36
| | | | | | | | | | This doesn't change the output of the generator at all. It removes the capability to handle property groups, which has been unused since property grouping was removed. Property grouping was originally an attempt to reduce computed style size, which became redundant complexity when computed styles became interned.
* select: generator: Generate _bits variantsMichael Drake2022-11-271-22/+27
| | | | | This avoids having overrides to provide trivially generated variants.
* select: generator: Split out propget printerMichael Drake2022-11-271-58/+61
|
* select: codegen: Deterministic output by subsorting props by nameMichael Drake2022-11-031-1/+1
|
* select: codegen: Squash comparison with literal warningsMichael Drake2022-11-031-24/+24
|
* Computed styles: Remove last traces of extension blocks.Michael Drake2019-05-121-1/+0
|
* Computed styles: Drop uncommon extension blocks.Michael Drake2019-05-121-3/+0
| | | | | | | | | | | | | | They were a space saving feature, but they became largely redundant with computed style sharing. They also made the code complex and buggy in many places. E.g. the cascade, inheritance / composition, and intial values all needed to behave corretly when they, or their parent, had or didn't have an uncommon block. Also, only the uncommon block was really used. Fixes: https://bugs.netsurf-browser.org/mantis/view.php?id=2641
* Select generator: Squash undefined behaviour in generated code.Michael Drake2018-07-281-1/+1
| | | | | | | 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.
* Selection: Autogenerated propset: Fix release of previous strings.Michael Drake2017-11-251-2/+2
|
* Select: Bug fixes in the generator.lcneves/select-autogenLucas Neves2017-11-191-13/+12
|
* Select: autogenerator for computed.h, propset.h and propget.h.Lucas Neves2017-11-131-0/+832