aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Make own strlcpy that does not calculate remaining string length (faster and ↵Vsevolod Stakhov2010-11-161-1/+1
| | | | | | more safe) Allow only ASCII symbols in logs, escape control chars
* * Many fixes to statfile syncronization systemVsevolod Stakhov2010-09-021-1/+3
| | | | * Fixed statfile pool initialization and synchronization with disk
* * Fix some problems with TXT recordsVsevolod Stakhov2010-07-131-0/+2
| | | | * Try to fix removing of DNS events
* * Make SURBL module to use rspamd dns moduleVsevolod Stakhov2010-07-091-1/+1
| | | | * Several fixes to DNS logic
* * Add support for parsing SPF and SRV recordsVsevolod Stakhov2010-07-091-2/+13
| | | | | * Fix PTR parsing * Add tests
* * Forgotten in previous commitVsevolod Stakhov2010-07-081-0/+91
|
* * Make DNS resolver workingVsevolod Stakhov2010-07-087-58/+51
| | | | | | * Many improvements to rspamd test suite: now it CAN be used for testing rspamd functionality * Write DNS resolver tests * Fix issues with memory_pool mutexes and with creating of statfiles
* * Add ability to change statfile size limit in config and allow reindexing ↵Vsevolod Stakhov2009-10-161-1/+1
| | | | of statfiles
* * New system of classifiers interface and statfiles processingVsevolod Stakhov2009-09-142-5/+8
| | | | | | | * Fix sample config * Fix compile warnings * Fix building without lua support * Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
* * Rework url parsing algorithmsVsevolod Stakhov2009-06-021-47/+1
| | | | | | | * Adopt all parts of rspamd for new url parser * Improve url-extracter utility by avoiding cut&paste of mime parsing * Small fixes to rspamc client * Bump version to 0.1.3
* * Add counters for rspamd symbolsVsevolod Stakhov2009-05-041-0/+2
| | | | * Fix shared hashes
* * Fix urls extracting, avoid code repeatingVsevolod Stakhov2009-04-171-2/+2
|
* * Fix misprintVsevolod Stakhov2009-03-301-1/+1
|
* * Fix error in parser when parsing last ')' we need to remove '(' from stack ↵Vsevolod Stakhov2009-03-271-0/+1
| | | | as well
* * Fix many compile time warnings and polish codeVsevolod Stakhov2009-03-241-0/+2
|
* * Fix error in expression parser that causes bad errors with expressions ↵Vsevolod Stakhov2009-03-231-3/+35
| | | | | | | | | | | | that have regexp at the end * Improve test for fuzzy hashes * Add new object - TextPart to perl XS library that allows access to stripped parts and fuzzy hashes * Add documentation for expressions parser and fot Mail::Rspamd::TextPart * Allways calculate fuzzy hash for text parts * Store text parts separately from other parts * Add compare_parts_distance for expressions that calculates difference in 2 parts messages * Do not try to substitute variables in empty strings
* * Add fuzzy hashes implementation (with adler-32 roll hash and FNV-32 hash)Vsevolod Stakhov2009-03-204-14/+48
| | | | * Add test case for fuzzy hashing check
* * Add functions support to rspamd regexpsVsevolod Stakhov2009-03-193-7/+39
| | | | | | | | * 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
* * Add new hash for storing hash data in shared memoryVsevolod Stakhov2009-01-271-0/+1
| | | | * Add rwlocks implementation (primitive) in memory pool library
* * Add simple implementation of classifiers abstraction and winnow classifierVsevolod Stakhov2008-12-041-2/+2
| | | | * Force statfile to work with float values
* * Remove strlcpy code and replace it with glib alternativeVsevolod Stakhov2008-12-032-4/+1
| | | | * Polish code and remove bugs found
* * Write functions to operate blocks in stat filesVsevolod Stakhov2008-11-284-0/+64
| | | | * Write test case for statistics files API
* * Reorganize structure of source filesVsevolod Stakhov2008-11-016-21/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * Add support of shared memory chunks to memory pool allocator. Also add ↵Vsevolod Stakhov2008-10-161-3/+25
| | | | | | locking support (spin mutexes) * Add simple test case for shared memory allocation
* * Implement expression parser (convertor to inverse polish record)cebka@cebka-laptop2008-10-136-7/+71
| | | | | | * Improve configure system by implementing dependencies * Add .depend files for subdirs that requre it * Write simple test for expressions parser
* * Write protocol output functionscebka@cebka-laptop2008-10-101-0/+4
| | | | * Fix test suite build under linux
* * Remove unused debug messages from url librarycebka@mailsupport.rambler.ru2008-09-241-2/+0
|
* * Small updates to memory pool librarycebka@mailsupport.rambler.ru2008-09-232-4/+8
| | | | | | | | | - fix cases when new chunk is allocated - add memory pool allocator statistics - let it work in multi-threaded environment - add strdup function for convinience * Use memory pool allocator more widely to avoid memory leaks in future and optimize performance * Task pool chunk size is now pre-defined constant (16 Kb currently)
* * Optimize memory pools allocatorcebka@mailsupport.rambler.ru2008-09-224-3/+34
| | | | * Add test case for memory pools
* * Write test case for async memcached librarycebka@mailsupport.rambler.ru2008-09-164-4/+91
| | | | * Fix memcached async library to pass test :)
* * Fix include dependenciescebka@mailsupport.rambler.ru2008-09-161-1/+1
|
* * Add utility for extracting urls from messageVsevolod Stakhov2008-09-101-0/+3
| | | | * Rework build system
* * Fix url parser (get regexp from our mail system)Vsevolod Stakhov2008-09-092-14/+62
| | | | * Add some more tests to url testcase
* * Fix url length while passing them to normalizerVsevolod Stakhov2008-09-081-2/+2
| | | | TODO: fix html parsing regexp (now it doesn't work)
* * Use glib logger and regexp matching functionsVsevolod Stakhov2008-09-081-2/+4
|
* * Add initial test suite using glib test suiteVsevolod Stakhov2008-09-084-0/+127