summaryrefslogtreecommitdiff
path: root/src/select/hash.c
Commit message (Collapse)AuthorAgeFilesLines
* A bunch more microoptimisationsJohn Mark Bell2011-09-061-62/+22
| | | | svn path=/trunk/libcss/; revision=12746
* CSS3 NamespacesJohn Mark Bell2011-03-121-15/+16
| | | | svn path=/trunk/libcss/; revision=11972
* Place negated class and id selectors in the universal hash chainJohn Mark Bell2011-01-311-2/+4
| | | | svn path=/trunk/libcss/; revision=11568
* Rename all css_[^_] internal symbols to css__ so that they're nicely namespacedDaniel Silverstone2011-01-261-9/+9
| | | | svn path=/trunk/libcss/; revision=11492
* Fix libcss to use new libwapcaplet behaviour.Daniel Silverstone2010-03-271-17/+10
| | | | | | | TODO: update the tests to include a refcounting proof svn path=/trunk/libcss/; revision=10162
* Change selector hash to segregate:John Mark Bell2009-07-291-133/+605
| | | | | | | | | | | | | 1) element selectors 2) universal selectors with class names 3) universal selectors with ids 4) universal selectors Only bother looking for matching selectors in 2 & 3 if the node being selected for has class names or an id, respectively. In theory, this should speed up style selection somewhat. svn path=/trunk/libcss/; revision=8882
* Calculate the in-memory size of stylesheets and provide some API to access this.John Mark Bell2009-07-271-0/+29
| | | | svn path=/trunk/libcss/; revision=8830
* Error checking for string comparisons.John Mark Bell2009-07-171-3/+13
| | | | svn path=/trunk/libcss/; revision=8608
* Fix selector hash some more. It turns out that I'd forgotten how it was ↵John Mark Bell2009-07-171-3/+33
| | | | | | meant to work. svn path=/trunk/libcss/; revision=8607
* Fix utterly broken selector chain search code.John Mark Bell2009-07-171-12/+0
| | | | svn path=/trunk/libcss/; revision=8604
* Change mechanism for handling case sensitivity of element names. Now has ↵John Mark Bell2009-07-171-2/+15
| | | | | | | | another selection handler callback for this. Change selector hash to use an ASCII case-insensitive hash function. svn path=/trunk/libcss/; revision=8602
* Use a proper hash function.John Mark Bell2009-07-161-1/+1
| | | | svn path=/trunk/libcss/; revision=8572
* Reduce code duplicationJohn Mark Bell2009-03-021-1/+1
| | | | svn path=/trunk/libcss/; revision=6671
* Port libcss to libwapcaplet.Daniel Silverstone2009-02-141-3/+3
| | | | | | | | | 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
* Drop css_error_handler and rename css_alloc to css_allocator_fnDaniel Silverstone2009-02-141-2/+2
| | | | svn path=/trunk/libcss/; revision=6482
* Use a chaining hash for selectors -- permits easy sorting of hash entries by ↵John Mark Bell2009-01-261-121/+105
| | | | | | specificity/rule index. svn path=/trunk/libcss/; revision=6280
* Add ability to delete items from the selector hash (we use lazy deletion, as ↵John Mark Bell2009-01-251-3/+48
| | | | | | it's simpler) svn path=/trunk/libcss/; revision=6272
* Selector hash.John Mark Bell2009-01-251-0/+288
svn path=/trunk/libcss/; revision=6263