mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-25 06:26:03 +00:00
4f6c4d886e
- visitors: remove commented code |
||
---|---|---|
.. | ||
include | ||
tests | ||
affunctions.h | ||
afstring.h | ||
aftypes.h | ||
ast.h | ||
check.cpp | ||
equiv.cpp | ||
equiv.h | ||
equivset.txt | ||
eval.cpp | ||
evaluate.cpp | ||
expr.cpp | ||
filter_evaluator.h | ||
fray.cc | ||
fray.h | ||
main.cpp | ||
makefile | ||
makefile.config.example | ||
maketest.cpp | ||
parser.h | ||
parserdefs.h | ||
README | ||
request.cpp | ||
request.h | ||
runtests.sh | ||
syntax_check.cpp | ||
xml.cpp |
This is the AbuseFilter native expression parser. It improves the performance of the filter by using a C++ program to parse the expression. parser_native has been tested on these platforms: * Solaris 10 (Intel Core 2) with GCC 3.4.3 * Solaris 10 (Intel Core 2) with Sun Studio 12 (C++ patch 124864-04) * Debian Linux (Intel Xeon, AMD Opteron) with GCC 4.3.1 * Debian Linux (Intel Xeon) with Intel C++ 10.1.015 parser_filter requires Boost (www.boost.org) 1.35.0 or higher. Earlier versions will generate a parser which does not work. parser_filter also requires GNU MP (gmplib.org), with C++ support enabled (--enable-cxx). To compile it, copy makefile.config.example to makefile.config, edit it, and run 'make'. (GNU make is required.) To run the test framework, run 'make test'.