summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Update for new lpu API.Michael Drake2013-12-148-50/+9
|
* Improve explanation of TODO.Michael Drake2013-12-131-1/+5
|
* Hideous casing to avoid warning (treated as error) with RO toolchain.Michael Drake2013-12-131-1/+3
|
* Various changes which modify API and ABI:Michael Drake2013-12-1351-2292/+797
| | | | | | | | | - Remove client allocation function. - Change node_classes callback not to yield array ownership to libcss. - Node bloom filters now built by, during selection libcss. - Added selection callbacks to get and set data on document nodes. Test suite, example, and documentation updated to match.
* Just match against universal string intern instead of checking strings ↵Michael Drake2013-12-073-8/+13
| | | | length/data.
* Slight simplification to selector detail itterator.Michael Drake2013-12-071-3/+2
|
* Fixup for insensitive hash utilisation.Michael Drake2013-12-022-11/+37
|
* Since element/class/id names are known to have insensitive string set, just ↵Michael Drake2013-12-021-23/+8
| | | | use that hash value for hash table, instead of calculating own hash.
* We know element/id/class names are available through the insensitive ptr now.Michael Drake2013-12-021-22/+9
|
* Ensure that element/class/id names in selector details always get their ↵Michael Drake2013-12-021-0/+18
| | | | caseless string.
* Add selection test using bloom filter.Michael Drake2013-12-013-1/+1633
|
* Update for new selection API.Michael Drake2013-12-011-1/+7
|
* Significantly optimise CSS selection performance.Michael Drake2013-12-017-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 Drake2013-12-011-0/+205
|
* Fix NULL check of array. Coverity #1127067.Michael Drake2013-11-081-5/+3
|
* Remove redundant masks. Coverity #1127061, #1127062, #1127063, #1127064, ↵Michael Drake2013-11-081-24/+6
| | | | and #1127065.
* Handle css__stylesheet_style_append() returning error. Coverity #1127060.Michael Drake2013-11-081-4/+22
|
* Update test dumpers to output writing-mode.Michael Drake2013-09-102-0/+36
|
* Add tests for writing-mode. Update selection tests to handle writing-mode.Michael Drake2013-09-103-0/+208
|
* Add computed style accessor for writing-mode and and writing-mode to the ↵Michael Drake2013-09-104-0/+26
| | | | property handler table.
* Add support for parsing the writing-mode property. Thanks to Caitlin Potter.Caitlin Potter2013-09-1013-5/+154
|
* Fix test data for border shorthand property.Michael Drake2013-09-101-0/+40
|
* Apply slightly modified patch from Murat Gocmen.Michael Drake2013-09-101-4/+12
|
* Add a couple of letter spacing tests.Michael Drake2013-06-191-0/+184
|
* Clarify MBZ.John-Mark Bell2013-06-051-1/+1
|
* Early return after processing @namespace.John-Mark Bell2013-04-291-0/+3
|
* Don't use the nonportable alloca() during tests.Anthony J. Bentley2013-04-272-2/+6
|
* ensure enough parameetrs to IDENT list existVincent Sanders2013-04-221-67/+75
|
* set component version for releaserelease/0.2.0Vincent Sanders2013-04-191-1/+1
|
* add a .gitattributes so .gitignore is not exportedVincent Sanders2013-04-181-0/+2
|
* Hopefully silence a warningDaniel Silverstone2012-10-151-1/+1
|
* Prioritise id and class hashes over element hash when inserting rules.Michael Drake2012-08-262-47/+108
|
* Skip empty/broken rules early, before we match their selector chains.Michael Drake2012-08-261-11/+13
|
* Fix not([node_name]) selection.Michael Drake2012-08-071-1/+7
|
* Initialise variables used in lwc out params.John-Mark Bell2012-07-191-8/+8
|
* Cleanup: Remove unused UNUSED()Daniel Silverstone2012-07-191-2/+0
|
* Merge CLANG fixes from dsilvers/clang-fixDaniel Silverstone2012-07-012-15/+18
|\
| * Clear up CLANG warnings in various property settersDaniel Silverstone2012-07-011-11/+14
| |
| * Clear up CLANG warnings in css__stylesheet_selector_append_specificDaniel Silverstone2012-07-011-4/+4
|/
* Update to new NSBUILD infrastructureDaniel Silverstone2012-06-2911-13/+15
| | | | svn path=/trunk/libcss/; revision=14004
* Git ignoresDaniel Silverstone2012-06-042-0/+5
| | | | svn path=/trunk/libcss/; revision=13949
* Fix up documentation liesJohn Mark Bell2012-05-291-8/+3
| | | | svn path=/trunk/libcss/; revision=13933
* Fix error reportingJohn Mark Bell2012-05-081-5/+5
| | | | svn path=/trunk/libcss/; revision=13916
* correctly apply enum casts to avoid warnings about casting between Vincent Sanders2012-04-142-42/+43
| | | | | | disimmilar enumerations. svn path=/trunk/libcss/; revision=13868
* Complete widows and orphans support. Thanks to James Montgomerie.Michael Drake2012-04-138-38/+236
| | | | svn path=/trunk/libcss/; revision=13864
* Bring example back up to date. Note: untested.Michael Drake2012-04-121-32/+196
| | | | svn path=/trunk/libcss/; revision=13856
* Fix debug build (warnings about comparing different enums).François Revel2012-04-062-36/+42
| | | | svn path=/trunk/libcss/; revision=13810
* Remove pedantic from CFLAGS ready for wapcaplet reworkDaniel Silverstone2012-03-291-1/+1
| | | | svn path=/trunk/libcss/; revision=13772
* Add common CSS tokens to stylesheet string table.Michael Drake2012-03-292-0/+11
| | | | svn path=/trunk/libcss/; revision=13771
* Fix comma at end of enumerator list warning.François Revel2012-03-251-1/+1
| | | | svn path=/trunk/libcss/; revision=13709