Go to file
Andrew Garrett bfe57be65d Rewrite of Abuse Filter parser tokeniser.
I've made it more performant and fixed a few bugs by using regexes
instead of PHP loops, where possible, under the assumption that the
PCRE parser is more efficient than the same thing implemented in pure PHP.
Also, I'm now passing the same string around and calculating offsets, which
Tim tells me is far more performant than continually truncating the same string.

All tests still pass, with the exception of string.t, which I've modified
to remove the offending code, which never worked.
2009-02-11 01:41:51 +00:00
db_patches newlines at ends of files are nice :) 2009-01-27 19:04:17 +00:00
tests Rewrite of Abuse Filter parser tokeniser. 2009-02-11 01:41:51 +00:00
Views * Break long lines. If I'm going to review this code, I need to be able to read it. 2009-02-07 09:34:11 +00:00
AbuseFilter.alias.php Localisation updates for extension messages from Betawiki (2009-02-02 14:46 UTC) 2009-02-02 15:01:57 +00:00
AbuseFilter.class.php * Break long lines. If I'm going to review this code, I need to be able to read it. 2009-02-07 09:34:11 +00:00
abusefilter.css Prettify and enhance usability of test and examine views. 2009-01-30 00:54:20 +00:00
AbuseFilter.hooks.php * Break long lines. If I'm going to review this code, I need to be able to read it. 2009-02-07 09:34:11 +00:00
AbuseFilter.i18n.php Rewrite of Abuse Filter parser tokeniser. 2009-02-11 01:41:51 +00:00
AbuseFilter.parser.php Rewrite of Abuse Filter parser tokeniser. 2009-02-11 01:41:51 +00:00
AbuseFilter.php Add a fancy selector for the warning message in the Abuse Filter edit screen, and allow inline previews of the warning messages. 2009-02-03 22:45:42 +00:00
abusefilter.tables.pg.sql Quick Postgres support. 2008-07-18 16:03:27 +00:00
abusefilter.tables.sql newlines at ends of files are nice :) 2009-01-27 19:04:17 +00:00
edit.js Add an edit link too. 2009-02-03 22:54:46 +00:00
install.php Only increment site stats if we are creating the account. 2009-01-23 22:53:50 +00:00
phpTest.php Rewrite of Abuse Filter parser tokeniser. 2009-02-11 01:41:51 +00:00
red_x.png Prettify and enhance usability of test and examine views. 2009-01-30 00:54:20 +00:00
SpecialAbuseFilter.php * Break long lines. If I'm going to review this code, I need to be able to read it. 2009-02-07 09:34:11 +00:00
SpecialAbuseLog.php * Break long lines. If I'm going to review this code, I need to be able to read it. 2009-02-07 09:34:11 +00:00
yes_check.png Prettify and enhance usability of test and examine views. 2009-01-30 00:54:20 +00:00