Vsevolod Stakhov
c60da0cca1
[Project] Initial addition of lua helpers for fuzzy
5 jaren geleden
Vsevolod Stakhov
fc754c3abd
[Minor] Remove unused macros
5 jaren geleden
Vsevolod Stakhov
fedaaa3a1e
[Minor] Remove redundant refcount increase
5 jaren geleden
Vsevolod Stakhov
4ea06f2591
[Fix] Restore URLs exporting in ClickHouse plugin
5 jaren geleden
Vsevolod Stakhov
a3f746d902
[Minor] Ignore skipped tasks
TODO: write a generic framework for that stuff
5 jaren geleden
Vsevolod Stakhov
1038ed360c
[Minor] Fix symbol usage in reputation plugin
5 jaren geleden
Vsevolod Stakhov
f01128b8de
Merge pull request #2618 from moisseev/ci
[Test] Add test for composites with symbol groups
5 jaren geleden
Vsevolod Stakhov
52f8082f6a
Merge pull request #2619 from citrin/fedora-clang
Test build with clang
5 jaren geleden
Alexander Moisseev
1fdff2d983
[Test] Add test for composites with symbol groups
5 jaren geleden
Anton Yuzhaninov
ea4f4f5692
Turn off TORCH for clang build
It turned out that clang significantly slower than gcc on rspamd code
(at least with -O0). Switch off torch to decrease build time.
5 jaren geleden
Anton Yuzhaninov
3514992d2b
Remove unused function
gboolean support was removed in commit 91287bb840
.
5 jaren geleden
Anton Yuzhaninov
a1eb8af054
Enable clang plugin
Build clang plugin and use it to check rspamd printf-like functions
(rspamd_printf, rspamd_fprintf, rspamd_default_log_function, e.t.c).
5 jaren geleden
Anton Yuzhaninov
3ec6820a92
Don't use LLVM_CXX_FLAGS/LLVM_C_FLAGS
llvm-config --cxxflags shows CFLAGS used to compile clang. If clang
installed from package and package was build using GCC then it will
contain GCC specific flags. In case of clang installed as RPM packge
-specs= flags also added. There is not point to use them to
compile plugin. For now hardcode flags in clang-plugin/CMakeLists.txt
Add -O2 - we want plugin to work fast even if we to compiling rspamd
code with -O0.
5 jaren geleden
Vsevolod Stakhov
a0584524b4
[Minor] Fix expiry config overriding
5 jaren geleden
Vsevolod Stakhov
ecc4bc9be5
Merge pull request #2617 from moisseev/ci
[Test] Add composites test
5 jaren geleden
Alexander Moisseev
046e1b263a
[Test] Add composites test
5 jaren geleden
Vsevolod Stakhov
f2a185c18a
[Minor] Do not parse raw regexp for explicitly utf expressions
5 jaren geleden
Vsevolod Stakhov
1253b3e710
Merge pull request #2614 from citrin/remove-libnsl-dependency
Stop linking with -lnsl on Linux
5 jaren geleden
Vsevolod Stakhov
e6de9872c2
[Feature] Detect orphaned parts and attach them to message
5 jaren geleden
Anton Yuzhaninov
a796cd7321
Don't set PREFIX variable in cmake
As I can see this variable is not used by rspamd build system. Remove it
because setting it causes a lot of warning with
-DENABLE_CLANG_PLUGIN=ON - PREFIX variable is not documented but used by
cmake internally.
5 jaren geleden
Anton Yuzhaninov
d4c2bd7ca0
build with -O0
Compilation with -O2/-O3 is slow.
5 jaren geleden
Anton Yuzhaninov
841f1d2273
Build with clang
5 jaren geleden
Anton Yuzhaninov
55d667d387
Stop linking with -lnsl on Linux
As far as I know on Linux libnsl is used only for NIS/NIS+ support.
It is highly unlikey that Rspamd users use NIS in 2018.
Keep linking with libnsl on Solaris - there it is likely needed even if
NIS is not used.
5 jaren geleden
Vsevolod Stakhov
a8b22f9aac
[Minor] Ops, fix symbol name
5 jaren geleden
Vsevolod Stakhov
993c4a7552
[Conf] Add DWL support in the default configuration
5 jaren geleden
Vsevolod Stakhov
82834075cb
[Fix] Fix DKIM based RBLs
5 jaren geleden
Vsevolod Stakhov
80928e500c
[Rules] Add LEAKED_PASSWORD_SCAM rule
5 jaren geleden
Vsevolod Stakhov
34f0b5587e
[Rework] Change time handling
5 jaren geleden
Vsevolod Stakhov
8376bed06c
[Minor] Fix deps
5 jaren geleden
Vsevolod Stakhov
a3c0fbd979
[Project] Rework dynamic parts of symcache items
5 jaren geleden
Vsevolod Stakhov
4929e73f2b
[Project] Another rework for symbols cache
5 jaren geleden
Vsevolod Stakhov
c16f639333
[Minor] g_abort requires quite a recent glib
5 jaren geleden
Vsevolod Stakhov
8ac1446b8a
[Minor] Fix dependencies resolution
5 jaren geleden
Vsevolod Stakhov
59d10f38bf
[Minor] Sigh, another issue with classifier pseudo-filter
5 jaren geleden
Vsevolod Stakhov
7054a882a1
Merge pull request #2612 from citrin/luacov-merge
Speedup lua coverage collecting for functional test
5 jaren geleden
Vsevolod Stakhov
186683c8e8
[Minor] Another hack for classifiers
5 jaren geleden
Vsevolod Stakhov
3a1e6a2f3c
[Minor] Allow to add conditions for bayes symbol
5 jaren geleden
Anton Yuzhaninov
8fb8f139e5
Sync lua coverage with .drone.yml
5 jaren geleden
Vsevolod Stakhov
ccc9d0065d
[Minor] Convert some enums to static macros
5 jaren geleden
Anton Yuzhaninov
3ebf458996
Speedup lua coverage collecting for functional test
luacov-coveralls merge mode (-j flag) was created to join reports
containing coverage for different source files (e.g. C and Lua code).
Coverage for the same file in two report is not merged, instead one
source file is added several times to source_files array in JSON. As
a result if we use luacov-coveralls -j on report for same source files
it ends up spending a lot of time on parsing and dumping big JSON files.
This change reduces functional test time from 7+ minutes to 4+ minutes.
5 jaren geleden
Vsevolod Stakhov
649f9aa4a3
[Feature] Allow to add 3rd party clang plugins
5 jaren geleden
Vsevolod Stakhov
c974d1eaaa
[Minor] Fix format strings
5 jaren geleden
Vsevolod Stakhov
91287bb840
[Fix] Remove ambigious format flag from printf
5 jaren geleden
Vsevolod Stakhov
939cec679d
[Minor] Fix LLVM detection
5 jaren geleden
Vsevolod Stakhov
d7e3ea948d
[Fix] Fix squeezed symbols when using settings
5 jaren geleden
Vsevolod Stakhov
856cb10dda
[Minor] Various fixes around async events
5 jaren geleden
Vsevolod Stakhov
a821e3c6d9
[Minor] Improve debugging for lua squeeze
5 jaren geleden
Vsevolod Stakhov
3ce1f7720f
[Minor] Improve debug traces for async events
5 jaren geleden
Vsevolod Stakhov
0c20729f33
[Rework] Add more traces to async events, get rid of GQuarks
5 jaren geleden
Vsevolod Stakhov
2ae394086b
[Minor] Fix variable name
5 jaren geleden