common: Port HighlightRule to ExpressionMatch
authorShane Synan <digitalcircuit36939@gmail.com>
Sat, 1 Sep 2018 21:02:00 +0000 (16:02 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 3 Sep 2018 20:12:02 +0000 (22:12 +0200)
commit74226102118400b228618f7373137a4a01e7d85f
tree8089ddcb0e88a6d38529f36503df4d9440d32e84
parenta6586b5f46fd062982111c0154f66216727cbc3a
common: Port HighlightRule to ExpressionMatch

Port HighlightRule objects to ExpressionMatch class, providing easy
caching and simplifying expression handling.

Migrate HighlightRule struct into a full-blown class for easier
management and greater assurance over automatic internal cache
management.

Port HighlightRuleManager to ExpressionMatch for nickname matching,
providing easy caching and simplifying expression handling.
(Noticing a theme?)

Add tons of documentation comments, too, and fix up line lengths.
src/common/highlightrulemanager.cpp
src/common/highlightrulemanager.h
src/qtui/settingspages/corehighlightsettingspage.cpp