Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Select: Properties: Implement copy handler for complex properties | Michael Drake | 2022-08-29 | 8 | -155/+306 |
| | |||||
* | Select: Properties: Add copy handler for simple properties | Michael Drake | 2022-08-29 | 118 | -507/+1778 |
| | |||||
* | Select: Support CSS property-wide 'unset' value | Michael Drake | 2022-08-29 | 1 | -3/+18 |
| | |||||
* | Select: Support CSS property-wide 'initial' value | Michael Drake | 2022-08-29 | 1 | -3/+6 |
| | |||||
* | Select: Make inherit flag handling aware of other default values | Michael Drake | 2022-08-29 | 69 | -170/+172 |
| | |||||
* | Parse: Nongenerated properties: Explicit defaults | Michael Drake | 2022-08-29 | 31 | -135/+363 |
| | |||||
* | Parse: Important: Handle new explicit defaulting values | Michael Drake | 2022-08-29 | 1 | -1/+1 |
| | |||||
* | Parse: Explicit default support for generated properties | Michael Drake | 2022-08-29 | 1 | -93/+93 |
| | |||||
* | Parse: Update code generator to support new values | Michael Drake | 2022-08-29 | 1 | -4/+42 |
| | |||||
* | Stylesheet: Helpers for all default property values | Michael Drake | 2022-08-29 | 1 | -1/+33 |
| | |||||
* | Parse: Utils: Helper to get any value from flags | Michael Drake | 2022-08-29 | 1 | -0/+29 |
| | |||||
* | Bytecode: Flag values for explicit defaulting | Michael Drake | 2022-08-29 | 1 | -4/+25 |
| | |||||
* | Parse: Propstrings: Add unset and revert | Michael Drake | 2022-08-29 | 2 | -2/+4 |
| | |||||
* | Select: MQ: Support prefers-color-scheme in boolean context | Michael Drake | 2022-08-28 | 1 | -4/+5 |
| | | | | | In boolean context it indicates that the browser supports this feature. | ||||
* | Select: MQ: Use interned strings for media features | Michael Drake | 2022-08-28 | 4 | -36/+63 |
| | | | | Avoids some strcmps. | ||||
* | Select: Add strings for media query features | Michael Drake | 2022-08-28 | 2 | -0/+29 |
| | |||||
* | Select: Split out useful strings | Michael Drake | 2022-08-28 | 4 | -289/+320 |
| | |||||
* | Selection: Media queries: Apply prefers-color-scheme | Michael Drake | 2022-07-31 | 1 | -0/+33 |
| | |||||
* | Parse/MQ: unknown media-types do not match | John-Mark Bell | 2022-05-24 | 1 | -4/+1 |
| | | | | | | | | Per https://www.w3.org/TR/mediaqueries-4/#error-handling, "An unknown <media-type> must be treated as not matching" Ensure, however, that a rule with a condition and no type behaves as if type was all. | ||||
* | Parse/MQ: reject forbidden media-type identifiers | John-Mark Bell | 2022-05-24 | 1 | -15/+40 |
| | | | | | | "and" / "not" / "only" / "or" are forbidden, so must be rejected Add tests for these scenarios | ||||
* | Select: Hash: Fix bloom instrumentation for size != 4. | Michael Drake | 2022-03-16 | 1 | -1/+1 |
| | |||||
* | Bloom: Init: Switch to memset. | Michael Drake | 2022-03-16 | 1 | -21/+2 |
| | | | | | GCC is a bit better at optimising a memset. For clang it makes no difference. | ||||
* | Bloom: Style: Align function parameters. | Michael Drake | 2022-03-16 | 1 | -2/+3 |
| | |||||
* | Bloom: Docs: Sync comments with reality. | Michael Drake | 2022-03-16 | 1 | -4/+11 |
| | |||||
* | Bloom: Docs: Fix comment typo. | Michael Drake | 2022-03-16 | 1 | -1/+1 |
| | |||||
* | Selection: Optimise bloom filter merging. | Michael Drake | 2022-03-13 | 1 | -2/+3 |
| | |||||
* | Squash warning on apple darwin CI. | Michael Drake | 2021-06-14 | 1 | -7/+9 |
| | |||||
* | Selection: Don't duplicate unit conversion members in media descriptor. | Michael Drake | 2021-05-19 | 9 | -61/+93 |
| | |||||
* | Selection: Remove client callback for unit conversion. | Michael Drake | 2021-05-19 | 5 | -179/+76 |
| | | | | | | | Now clients provide a unit conversion context and libcss provides code to perform unit conversion. This reduces the amount of common code that clients have to write. | ||||
* | Units: Add support for length unit conversion to libcss. | Michael Drake | 2021-05-19 | 5 | -97/+677 |
| | | | | Currently only used for unit conversion. | ||||
* | Units: Remove units that nobody supports. | Michael Drake | 2021-05-19 | 5 | -36/+10 |
| | |||||
* | parse: Squash leak of system font names. | Michael Drake | 2021-05-19 | 1 | -0/+3 |
| | |||||
* | parse: Perform client to parse unit conversion for system fonts. | Michael Drake | 2021-05-19 | 1 | -2/+45 |
| | |||||
* | add css 3.1 complex predefined counter styles for addative systems | Vincent Sanders | 2021-02-15 | 6 | -5/+149 |
| | |||||
* | Improve list style fallback styling and range processing | Vincent Sanders | 2021-02-14 | 1 | -176/+231 |
| | |||||
* | fix list style formatting with negative values | Vincent Sanders | 2021-02-13 | 1 | -158/+161 |
| | |||||
* | Initialise the string map with a better macro | Vincent Sanders | 2021-02-12 | 1 | -594/+598 |
| | | | | | To avoid duplicating the string for every string map entry use a simple macro. | ||||
* | implement the remaining css 3.1 simple predefined counter styles | Vincent Sanders | 2021-02-12 | 6 | -4/+370 |
| | |||||
* | implement the firt half of the css 3.1 simple predefined counter styles | Vincent Sanders | 2021-02-09 | 6 | -98/+321 |
| | |||||
* | Use two more bits, six total, for the list style property | Vincent Sanders | 2021-02-09 | 4 | -526/+526 |
| | | | | | | Adding the two bits that were previously reserved (Must Be Zero) for use in the list style property gives space for sixty four styles instead of sixteen. | ||||
* | add cyclic system to list style formatting | Vincent Sanders | 2021-02-08 | 1 | -2/+75 |
| | |||||
* | make roman numeral list style obey range limit and fix decimal fallback | Vincent Sanders | 2021-02-06 | 1 | -15/+31 |
| | |||||
* | make list stle structures const and fix initialisation for older compilers | Vincent Sanders | 2021-02-06 | 1 | -22/+25 |
| | |||||
* | add text formatting of values with list styles | Vincent Sanders | 2021-02-05 | 2 | -1/+543 |
| | |||||
* | select: Split out bytecode to unit conversion helper. | Michael Drake | 2020-12-04 | 4 | -43/+54 |
| | |||||
* | select: mq: Fix to convert parse unit types to public unit types. | Michael Drake | 2020-12-01 | 1 | -4/+9 |
| | |||||
* | parse: properties: Add property-specific unit class masks. | Michael Drake | 2020-11-15 | 4 | -22/+270 |
| | | | | | | | | | There's a table we can index into for calc(): const uint32_t property_unit_mask[CSS_N_PROPERTIES] And there are #defines for where the code is already property-specific, avoiding the lookup. | ||||
* | parse: properties.gen: Convert to using unit allow masks. | Michael Drake | 2020-11-15 | 1 | -21/+21 |
| | |||||
* | bytecode: Change unit representation, so that length has a bit set. | Michael Drake | 2020-11-15 | 1 | -42/+44 |
| | | | | This means that we can use a mask to check the unit class. | ||||
* | select: computed: Squash use of uninitialised variable warning. | Michael Drake | 2020-11-13 | 1 | -1/+1 |
| |