| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: John-Mark Bell <jmb@netsurf-browser.org>
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
svn path=/trunk/libcss/; revision=14004
|
|
|
|
| |
svn path=/trunk/libcss/; revision=13772
|
|
|
|
| |
svn path=/trunk/libcss/; revision=13482
|
|
|
|
|
|
| |
Things missing: parser tests; the following descriptors: font-feature-settings, font-stretch, font-variant, unicode-range.
svn path=/trunk/libcss/; revision=13244
|
|
|
|
| |
svn path=/trunk/libcss/; revision=12817
|
|
|
|
| |
svn path=/trunk/libcss/; revision=12204
|
|
|
|
| |
svn path=/trunk/libcss/; revision=12161
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11179
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10814
|
|
|
|
| |
svn path=/trunk/libcss/; revision=9702
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is a more descriptive synonym for -W.
Use -W instead which is understood by all common versions of GCC
(i.e. GCC 2.95 supports it, which is the oldest GCC version we have to support)
Additionally, conditionalise our -Werror usage on whether we're building for
BeOS/Haiku. On these platforms, the standard library headers result in warnings.
GCC 2 is quite happy to build this code on other platforms, so shouldn't be
the trigger for dropping -Werror (even if BeOS is the only target where GCC2 is
likely to be used).
svn path=/trunk/libcss/; revision=9665
|
|
|
|
| |
svn path=/trunk/libcss/; revision=9019
|
|
|
|
|
|
| |
invalid in ANSI C.
svn path=/trunk/libcss/; revision=8982
|
|
|
|
|
|
| |
This avoids build failures when our local headers have changed but the buildsystem settings point to an include path that includes headers from a previous version.
svn path=/trunk/libcss/; revision=8958
|
|
|
|
| |
svn path=/trunk/libcss/; revision=7228
|
|
|
|
|
|
| |
searching.
svn path=/trunk/libcss/; revision=7113
|
|
|
|
|
|
|
| |
Lose trailing commas.
GCC 2.95 compatibility.
svn path=/trunk/libcss/; revision=7099
|
|
|
|
| |
svn path=/trunk/libcss/; revision=7032
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6857
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6856
|
|
|
|
|
|
|
|
|
| |
It passes the tests, perhaps we need more of them.
Lifetimes of lwc_string objects really need attention before we can consider
this finished.
svn path=/trunk/libcss/; revision=6517
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5258
|
|
Currently comprises a lexer.
svn path=/trunk/libcss/; revision=4112
|