summaryrefslogtreecommitdiff
path: root/src/adblock/adblockhostmatcher.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Finally found time to update copyrights... ;)Andrea Diamantini2011-02-241-1/+1
|
* Fix adblock host matcherAndrea Diamantini2010-09-091-6/+6
| | | | Benjamin Poulain's patch. Thanks :)
* Add a special matcher for ad block filters for host nameBenjamin Poulain2010-08-191-0/+55
Quite a few rules of ad block are just matching domains. Those are of the form: ||trolltech.com^$options This patch add a new class to deal with this kind of filter, AdBlockHostMatcher. Matching a host address is much faster (O(1)) than going through the entire list of rules.