Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Significantly optimise CSS selection performance. | Michael Drake | 2013-12-01 | 7 | -123/+448 |
| | | | | | | | | | | | | | | | | Now we pass a node bloom filter to css_get_style. That node bloom filter is filled with the node's ancestor element, class, and id names. Internally, libcss also generates a bloom filter for each selector chain. If the selector chain's bloom filter is not a subset of the node bloom filter, we know that the selector chain's rule does not apply to the node. This avoids the slow selector chain matching process. Other smaller optimisations to move the ruling out of selector chains for inapplicable media types and other reasons to before we start comparing rules from different sources to find the next rule. All this is now done in hash.c so select.c never sees the trivially ruled out rules. | ||||
* | Bloom filter implementation for selection optimisation. | Michael Drake | 2013-12-01 | 1 | -0/+205 |
| | |||||
* | Fix NULL check of array. Coverity #1127067. | Michael Drake | 2013-11-08 | 1 | -5/+3 |
| | |||||
* | Remove redundant masks. Coverity #1127061, #1127062, #1127063, #1127064, ↵ | Michael Drake | 2013-11-08 | 1 | -24/+6 |
| | | | | and #1127065. | ||||
* | Handle css__stylesheet_style_append() returning error. Coverity #1127060. | Michael Drake | 2013-11-08 | 1 | -4/+22 |
| | |||||
* | Update test dumpers to output writing-mode. | Michael Drake | 2013-09-10 | 2 | -0/+36 |
| | |||||
* | Add tests for writing-mode. Update selection tests to handle writing-mode. | Michael Drake | 2013-09-10 | 3 | -0/+208 |
| | |||||
* | Add computed style accessor for writing-mode and and writing-mode to the ↵ | Michael Drake | 2013-09-10 | 4 | -0/+26 |
| | | | | property handler table. | ||||
* | Add support for parsing the writing-mode property. Thanks to Caitlin Potter. | Caitlin Potter | 2013-09-10 | 13 | -5/+154 |
| | |||||
* | Fix test data for border shorthand property. | Michael Drake | 2013-09-10 | 1 | -0/+40 |
| | |||||
* | Apply slightly modified patch from Murat Gocmen. | Michael Drake | 2013-09-10 | 1 | -4/+12 |
| | |||||
* | Add a couple of letter spacing tests. | Michael Drake | 2013-06-19 | 1 | -0/+184 |
| | |||||
* | Clarify MBZ. | John-Mark Bell | 2013-06-05 | 1 | -1/+1 |
| | |||||
* | Early return after processing @namespace. | John-Mark Bell | 2013-04-29 | 1 | -0/+3 |
| | |||||
* | Don't use the nonportable alloca() during tests. | Anthony J. Bentley | 2013-04-27 | 2 | -2/+6 |
| | |||||
* | ensure enough parameetrs to IDENT list exist | Vincent Sanders | 2013-04-22 | 1 | -67/+75 |
| | |||||
* | set component version for releaserelease/0.2.0 | Vincent Sanders | 2013-04-19 | 1 | -1/+1 |
| | |||||
* | add a .gitattributes so .gitignore is not exported | Vincent Sanders | 2013-04-18 | 1 | -0/+2 |
| | |||||
* | Hopefully silence a warning | Daniel Silverstone | 2012-10-15 | 1 | -1/+1 |
| | |||||
* | Prioritise id and class hashes over element hash when inserting rules. | Michael Drake | 2012-08-26 | 2 | -47/+108 |
| | |||||
* | Skip empty/broken rules early, before we match their selector chains. | Michael Drake | 2012-08-26 | 1 | -11/+13 |
| | |||||
* | Fix not([node_name]) selection. | Michael Drake | 2012-08-07 | 1 | -1/+7 |
| | |||||
* | Initialise variables used in lwc out params. | John-Mark Bell | 2012-07-19 | 1 | -8/+8 |
| | |||||
* | Cleanup: Remove unused UNUSED() | Daniel Silverstone | 2012-07-19 | 1 | -2/+0 |
| | |||||
* | Merge CLANG fixes from dsilvers/clang-fix | Daniel Silverstone | 2012-07-01 | 2 | -15/+18 |
|\ | |||||
| * | Clear up CLANG warnings in various property setters | Daniel Silverstone | 2012-07-01 | 1 | -11/+14 |
| | | |||||
| * | Clear up CLANG warnings in css__stylesheet_selector_append_specific | Daniel Silverstone | 2012-07-01 | 1 | -4/+4 |
|/ | |||||
* | Update to new NSBUILD infrastructure | Daniel Silverstone | 2012-06-29 | 11 | -13/+15 |
| | | | | svn path=/trunk/libcss/; revision=14004 | ||||
* | Git ignores | Daniel Silverstone | 2012-06-04 | 2 | -0/+5 |
| | | | | svn path=/trunk/libcss/; revision=13949 | ||||
* | Fix up documentation lies | John Mark Bell | 2012-05-29 | 1 | -8/+3 |
| | | | | svn path=/trunk/libcss/; revision=13933 | ||||
* | Fix error reporting | John Mark Bell | 2012-05-08 | 1 | -5/+5 |
| | | | | svn path=/trunk/libcss/; revision=13916 | ||||
* | correctly apply enum casts to avoid warnings about casting between | Vincent Sanders | 2012-04-14 | 2 | -42/+43 |
| | | | | | | disimmilar enumerations. svn path=/trunk/libcss/; revision=13868 | ||||
* | Complete widows and orphans support. Thanks to James Montgomerie. | Michael Drake | 2012-04-13 | 8 | -38/+236 |
| | | | | svn path=/trunk/libcss/; revision=13864 | ||||
* | Bring example back up to date. Note: untested. | Michael Drake | 2012-04-12 | 1 | -32/+196 |
| | | | | svn path=/trunk/libcss/; revision=13856 | ||||
* | Fix debug build (warnings about comparing different enums). | François Revel | 2012-04-06 | 2 | -36/+42 |
| | | | | svn path=/trunk/libcss/; revision=13810 | ||||
* | Remove pedantic from CFLAGS ready for wapcaplet rework | Daniel Silverstone | 2012-03-29 | 1 | -1/+1 |
| | | | | svn path=/trunk/libcss/; revision=13772 | ||||
* | Add common CSS tokens to stylesheet string table. | Michael Drake | 2012-03-29 | 2 | -0/+11 |
| | | | | svn path=/trunk/libcss/; revision=13771 | ||||
* | Fix comma at end of enumerator list warning. | François Revel | 2012-03-25 | 1 | -1/+1 |
| | | | | svn path=/trunk/libcss/; revision=13709 | ||||
* | Use correct unit enum values for computed clip rectangle | Rob Kendrick | 2012-03-25 | 1 | -1/+1 |
| | | | | svn path=/trunk/libcss/; revision=13651 | ||||
* | Correct type of out parameter | John Mark Bell | 2012-03-24 | 2 | -2/+2 |
| | | | | svn path=/trunk/libcss/; revision=13644 | ||||
* | Dodgy bodge to shut clang up | Daniel Silverstone | 2012-03-24 | 1 | -1/+3 |
| | | | | svn path=/trunk/libcss/; revision=13642 | ||||
* | Bump version number | Vincent Sanders | 2012-02-27 | 1 | -1/+1 |
| | | | | svn path=/trunk/libcss/; revision=13482 | ||||
* | Remove out-of-sync sources comment. Make source list clearer and sort it. | Michael Drake | 2012-02-03 | 1 | -27/+32 |
| | | | | svn path=/trunk/libcss/; revision=13417 | ||||
* | Add parsing of CSS3 Multi-column layout module shorthand properties. ↵ | Michael Drake | 2012-02-03 | 8 | -6/+973 |
| | | | | | | (columns & column-rule) svn path=/trunk/libcss/; revision=13416 | ||||
* | Add support for parsing CSS3 Multi-column layout properties: | Michael Drake | 2012-01-28 | 27 | -115/+2655 |
| | | | | | | | | | | | | | | | | | | + break-after + break-before + break-inside + column-count + column-fill + column-gap + column-rule-color + column-rule-style + column_rule-width + column_span + column_width TODO: Shorthand properties (columns, column-rule) TODO: Selection svn path=/trunk/libcss/; revision=13412 | ||||
* | Add some tests. | Michael Drake | 2012-01-28 | 3 | -0/+22 |
| | | | | svn path=/trunk/libcss/; revision=13411 | ||||
* | Fix \!important for opacity property. | Michael Drake | 2012-01-27 | 2 | -0/+29 |
| | | | | svn path=/trunk/libcss/; revision=13410 | ||||
* | Fix test build. | Michael Drake | 2012-01-26 | 2 | -4/+4 |
| | | | | svn path=/trunk/libcss/; revision=13409 | ||||
* | Fix font-face defaults (credit: James Montgomerie) | John Mark Bell | 2012-01-24 | 1 | -1/+10 |
| | | | | svn path=/trunk/libcss/; revision=13406 | ||||
* | @font-face support. Credit: James Montgomerie | John Mark Bell | 2011-12-04 | 22 | -52/+1577 |
| | | | | | | Things missing: parser tests; the following descriptors: font-feature-settings, font-stretch, font-variant, unicode-range. svn path=/trunk/libcss/; revision=13244 |