aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter/filtertree.cpp
Commit message (Collapse)AuthorAgeFilesLines
* urlfilter: destroy FilterLeaves only when destroying the FilterTreeAqua-sama2018-10-191-15/+23
| | | | | Add QMutex lock when adding rules clang-format pass
* urlfilter: add Domain classAqua-sama2018-10-181-5/+5
| | | | (#6): Add domain matcher class
* urlfilter: Add FilterTree classAqua-sama2018-10-161-0/+86
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.