aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter/filtertree.h
Commit message (Collapse)AuthorAgeFilesLines
* Integrate FilterTree into browser (#6)Aqua-sama2018-10-191-1/+1
| | | | | | - change filter.path to filter.hosts to represent that the setting is only used for hostlist-format lists - change FilterTree::match to use QUrl and not QString
* urlfilter: destroy FilterLeaves only when destroying the FilterTreeAqua-sama2018-10-191-10/+18
| | | | | Add QMutex lock when adding rules clang-format pass
* urlfilter: add Domain classAqua-sama2018-10-181-1/+8
| | | | (#6): Add domain matcher class
* urlfilter: Add FilterTree classAqua-sama2018-10-161-0/+46
FilterTree is a class that holds filter rules, sorted by the domain they are to be applied on. The rules are to follow FilterLeaf as interface. - Add a hostlist rule format to FilterTree. - Add a test for hostlist format.