summaryrefslogtreecommitdiff
path: root/src/adblock/adblockhostmatcher.cpp
Commit message (Collapse)AuthorAgeFilesLines
* clean upAndrea Diamantini2011-07-251-4/+4
| | | | | | - QL1S - one stupid kDebug less - codingstyle
* A round of the "new" astyle 2.01...Andrea Diamantini2011-07-171-4/+4
|
* Coding styleAndrea Diamantini2011-02-251-2/+3
|
* 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.