Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
3 months ago
Vsevolod Stakhov
6b2b416718
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
3 months ago
Vsevolod Stakhov
537a7180a0
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
11 months ago
Vsevolod Stakhov
6b49660d24
[Minor] Use sane HTTP codes in case of proxy errors
4 years ago
Vsevolod Stakhov
c271eb3665
[Rework] Add C++ guards to all headers
5 years ago
Vsevolod Stakhov
3d7aef5571
[Minor] Add starts_with function for rspamd_ftok_t
5 years ago
Vsevolod Stakhov
8adf20f620
[Project] Another try to normalize unicode properly
5 years ago
Vsevolod Stakhov
b522caaf83
[Project] Start words unicode structure rework
5 years ago
Vsevolod Stakhov
63ee3e00db
[Minor] Add routine to convert an ftok_t to a C string
5 years ago
Vsevolod Stakhov
7c09818f41
[Minor] Add macros to access strings data
6 years ago
Vsevolod Stakhov
4beb2f2970
[Minor] Final stage of g_slice removal
6 years ago
Alexander Moisseev
bb5a9f8e45
[Minor] Massive spelling correction
by a bot https://github.com/ka7/misspell_fixer
7 years ago
Vsevolod Stakhov
6f7fe30ec6
[Minor] Add macro to assing rspamd_ftok_t from c string
7 years ago
Vsevolod Stakhov
98ef56b2b1
[Minor] Add macro to make ftok_t from string literal
7 years ago
Vsevolod Stakhov
bad0ee3816
[Feature] Improve fstrings API
8 years ago
Vsevolod Stakhov
8fce0b5868
[Minor] Add macro to clear rspamd fstring
8 years ago
Vsevolod Stakhov
163f058f1f
[Feature] Add function to convert fstring_t to c string
8 years ago
Vsevolod Stakhov
4ef507e159
[Feature] Add utility method to convert ftok to C string
8 years ago
Vsevolod Stakhov
276df90bed
[Minor] Make fstrgrow non-static function
8 years ago
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
8 years ago
Vsevolod Stakhov
58fc8c267a
Add routine to compare an ftok with C string
8 years ago
Vsevolod Stakhov
4af2ef67e9
Add emitting of ucl object to rspamd_fstring_t.
8 years ago
Vsevolod Stakhov
62b2188d82
Add routine to free fstring mapped ftoks.
8 years ago
Vsevolod Stakhov
2567f0c4c7
Add tokens comparision routines.
8 years ago
Vsevolod Stakhov
60ce496100
Add fixed strings assigning utility function.
8 years ago
Vsevolod Stakhov
e0eda44225
Add fixed strings comparision routines.
8 years ago
Vsevolod Stakhov
d70fb7a4a7
Fix statistics.
8 years ago
Vsevolod Stakhov
aac916db77
Start miration to the new strings.
8 years ago
Vsevolod Stakhov
c7f92da47d
Start new fixed strings library.
8 years ago
Vsevolod Stakhov
a21fb8ed5b
Start removing of old fuzzy algorithm.
9 years ago
Vsevolod Stakhov
d2150fc165
Refactor function names.
9 years ago
Vsevolod Stakhov
379055dbbb
Unify style without sorting headers.
10 years ago
Vsevolod Stakhov
fe79d8c5a3
Revert "Unify code style."
This reverts commit e0483657ff
.
10 years ago
Vsevolod Stakhov
e0483657ff
Unify code style.
10 years ago
Vsevolod Stakhov
61555065f3
Rework project structure, remove trash files.
10 years ago
Vsevolod Stakhov
ad837700b8
Refactor memory pool naming.
10 years ago
Vsevolod Stakhov
632e9a8987
Add support of buffered IO reset to support persistent connections.
12 years ago
Vsevolod Stakhov
b0ddff4f0d
* Add new algorithm based on diff algorithm to compare relatively short text parts
13 years ago
Vsevolod Stakhov
a3fa4d6723
* Welcome 0.4.0
Uncompatible changes:
- Statistics is uncompatible in utf8 mode
Major changes:
- Improved utf8 mode
- Convert all characters to lowercase in statistics
- Skip URL's in statistics
- Improve speed of bayes classifier by using integer arithmetics
- Fixed statfiles synchronization that was broken for a long time
- Synchronization is now configurable
Minor changes:
- Bugfixes
- Removed some of legacy code
- Types polishing
13 years ago
Vsevolod Stakhov
6b306ab875
Fixes types (use glib ones) no functional change.
Now all comments in commit logs beginning with '*' would be included in changelog, so
important changes would be separated from small ones.
13 years ago
Vsevolod Stakhov
17f26fd5ed
* Strip header values to avoid problems with libc functions
15 years ago
Vsevolod Stakhov
1cd34f5283
* Add initial LMTP support and LDA delivery to rspamd
15 years ago
Vsevolod Stakhov
bcece60fa1
* Implement rspamd IO with IO dispatcher (TODO: still some issues with timeouts must be resolved)
15 years ago
Vsevolod Stakhov
87c9659fdd
* Rewrite perl client for rspamd, now it allows access to both normal and control interfaces
* Fix small errors in tokenizer and controller interface
15 years ago
Vsevolod Stakhov
f8e0edcfeb
* Add simple hash function for hashing tokens
15 years ago
Vsevolod Stakhov
2aa9c74f1c
* Reorganize structure of source files
* 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
15 years ago
cebka@mailsupport.rambler.ru
193acf73e5
* Small updates to memory pool library
- 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)
15 years ago
Vsevolod Stakhov
2564777f53
* Add gnome mime parser to rspamd
* Add some protocol parser with evbuffer
* Add pkg-check to configure script for detecting gmime and glib
16 years ago
Vsevolod Stakhov
8dbb9984ed
* Add initial release of mime parser. Now can only decode base64 and quoted-printable.
16 years ago
Vsevolod Stakhov
2da7593c28
* Add fixed string library
16 years ago