aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/regexp.c
Commit message (Collapse)AuthorAgeFilesLines
* * Implement new optimization methodVsevolod Stakhov2009-04-281-19/+49
|
* * Fix stupid error in case structure.Vsevolod Stakhov2009-04-271-0/+6
|
* * Add expression parser utilityVsevolod Stakhov2009-04-271-15/+5
| | | | * Temporaly switch off expression optimizer as it should be reworked
* * Fix error in regexp module configurationVsevolod Stakhov2009-04-271-1/+1
|
* * Skip identical parts while testing mime regexpsVsevolod Stakhov2009-04-271-2/+11
|
* Fix misprint.Vsevolod Stakhov2009-04-241-1/+1
|
* * Validate utf8 chars to avoid crashesVsevolod Stakhov2009-04-241-1/+54
|
* * Some more bugs are (hopefuly) fixedVsevolod Stakhov2009-04-231-2/+9
|
* * Threat message regexps as raw by defaultVsevolod Stakhov2009-04-231-2/+6
|
* * Another fix to regexps parserVsevolod Stakhov2009-04-231-3/+14
|
* * Fix regexp_match_number functionVsevolod Stakhov2009-04-231-17/+0
|
* * Fix expression parser: make it recursive and allow expressions inside ↵Vsevolod Stakhov2009-04-231-18/+23
| | | | | | function's arguments * Rewrite functions interface and implement arguments parsing
* * Add raw mode flag for improving performance by avoiding expensive utf8 ↵Vsevolod Stakhov2009-04-211-4/+4
| | | | | | transforms * Improve FreeBSD start script by adding config test precmd
* * Add some debugVsevolod Stakhov2009-04-201-0/+3
| | | | * Check for headers not only in message but also in its primary part
* * Threat raw header regexps as raw regexpsVsevolod Stakhov2009-04-161-1/+1
| | | | * Add regexp flag /r for raw regexp of any types
* * For mime parts set flag 'raw' and if we cannot determine charset of part ↵Vsevolod Stakhov2009-04-151-1/+8
| | | | | | or cannot encode it to utf8 just use for such parts raw regexps
* * Try to convert each text part of messages to utf8 to avoid problems with ↵Vsevolod Stakhov2009-04-151-1/+1
| | | | regexps
* * Add per-task regexp results cache, that would optimize regexp engine ↵Vsevolod Stakhov2009-04-051-0/+20
| | | | | | performance by avoiding multiply match of the same regexp
* * Check mime regexp only in text and html partsVsevolod Stakhov2009-04-031-4/+4
| | | | | | * Add 2 functions: - has_content_part(type, subtype) - has_content_part_len(type, subtype, min, max)
* * Optimize speed of regexp_match_number function by avoid of regexp checks ↵Vsevolod Stakhov2009-03-311-0/+3
| | | | when threshold is already reached
* * Fix order of functions argumentsVsevolod Stakhov2009-03-311-0/+5
| | | | * Do not try to check non-regexp expressions
* * Fix error in regexp processingVsevolod Stakhov2009-03-311-1/+1
|
* * Make regexp cache functions public for using them in other placesVsevolod Stakhov2009-03-291-0/+46
| | | | | * Add function regexp_match_number that checks number of matched arguments: e.g.: regexp_match_number(2, ${__RE1}, ${__RE2}, header_exists(Subject))
* * Fix variables substitutionVsevolod Stakhov2009-03-271-4/+4
| | | | | * Add simple lua interface to access task structures * Improve error reporting for regexp module
* * Fix bug in expressions parser and optimizerVsevolod Stakhov2009-03-241-2/+3
|
* * Fix many compile time warnings and polish codeVsevolod Stakhov2009-03-241-0/+2
|
* * Fix expression optimizatorVsevolod Stakhov2009-03-241-1/+4
|
* * Use pool allocator for temp strings in headersVsevolod Stakhov2009-03-241-2/+2
|
* * Add smart handling of message headersVsevolod Stakhov2009-03-241-12/+12
|
* * Misprint in optimizer functionVsevolod Stakhov2009-03-191-2/+2
|
* * Fix bug in redirectorVsevolod Stakhov2009-03-191-0/+1
| | | | * Do not write info about redirects to log file as this info is already in redirector's log file
* * Add optimization support for regexpsVsevolod Stakhov2009-03-191-2/+45
|
* * Add functions support to rspamd regexpsVsevolod Stakhov2009-03-191-4/+9
| | | | | | | | * Parse expressions with state machine which allows different kinds of arguments in expressions * Fix test to accord current data * Add support of fucntions to regexp module * Move all regexp logic to separate file, describe its API * Fix descriptors leakage in surbl module
* * With flag -t syntax of modules variables is also inspectedVsevolod Stakhov2009-03-191-4/+14
| | | | * Set "C" locale on start to avoid some troubles with logging
* * Allow escaped quotes in quoted strings, for example "\"some string\""Vsevolod Stakhov2009-03-181-0/+3
| | | | * Add warnings when we got errors while parsing rexeps
* * Add ability to match raw headersVsevolod Stakhov2009-03-171-3/+44
| | | | * Update documentation
* * Some fixes to regexp moduleVsevolod Stakhov2009-03-121-0/+7
| | | | * Add documentation for rspamd regexp module
* * New rspamd protocol (changed replies)Vsevolod Stakhov2009-03-031-1/+1
| | | | | | | | * Add ability to attach string lists to symbols * Check destructors and do not add identical destructors (argument and function) to pool's destructors * Remove 2 warnings when building with gmime22 * Attach url names to surbl symbols * Fix bug with blocking on read (I think it is linux specific thought)
* * Add compatibility with gmime24Vsevolod Stakhov2009-03-021-0/+4
|
* * Implement rspamd IO with IO dispatcher (TODO: still some issues with ↵Vsevolod Stakhov2009-02-191-1/+1
| | | | timeouts must be resolved)
* * Prepare to migrate to cmake (still need to write install target and ↵Vsevolod Stakhov2009-02-161-13/+1
| | | | | | | | working with XS implicitly) * Move all system includes to one file where we detect availability of all that includes * Fix license misprint * Fix some issues with perl initializing
* * Add BSD license textVsevolod Stakhov2009-02-161-0/+24
|
* * Do another rework of filters/metrics and statfiles processingVsevolod Stakhov2009-01-291-2/+2
| | | | * Add 'probability' normalizing to winnow algorithm and calculate not pure weight but normalized probability
* * Rewrite message parserVsevolod Stakhov2009-01-211-1/+6
| | | | | | * Change mime parts storage * Add html tags striping (ported from php code) * Rework learning to process only text and striped html parts
* * Reorganize structure of source filesVsevolod Stakhov2008-11-011-0/+247
* Adopt build system for new structure --HG-- rename : cfg_file.h => src/cfg_file.h rename : cfg_file.l => src/cfg_file.l rename : cfg_file.y => src/cfg_file.y rename : cfg_utils.c => src/cfg_utils.c rename : controller.c => src/controller.c rename : filter.c => src/filter.c rename : filter.h => src/filter.h rename : fstring.c => src/fstring.c rename : fstring.h => src/fstring.h rename : main.c => src/main.c rename : main.h => src/main.h rename : mem_pool.c => src/mem_pool.c rename : mem_pool.h => src/mem_pool.h rename : memcached-test.c => src/memcached-test.c rename : memcached.c => src/memcached.c rename : memcached.h => src/memcached.h rename : perl.c => src/perl.c rename : perl.h => src/perl.h rename : plugins/regexp.c => src/plugins/regexp.c rename : plugins/surbl.c => src/plugins/surbl.c rename : protocol.c => src/protocol.c rename : protocol.h => src/protocol.h rename : upstream.c => src/upstream.c rename : upstream.h => src/upstream.h rename : url.c => src/url.c rename : url.h => src/url.h rename : util.c => src/util.c rename : util.h => src/util.h rename : worker.c => src/worker.c