Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
3 月之前
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 月之前
Vsevolod Stakhov
537a7180a0
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
11 月之前
Vsevolod Stakhov
b2f0dd775c
[Minor] Get rid of some compiler warnings
1 年之前
Vsevolod Stakhov
c020213cb5
[Minor] Replace some of macro uses
2 年之前
Vsevolod Stakhov
7fee396041
[Minor] Fix some more issues
Found by: coverity scan
2 年之前
Vsevolod Stakhov
1589bd19ff
[Minor] Use the proper variable in debug
Found by: coverity scan
2 年之前
Vsevolod Stakhov
9865ad6ea4
[Minor] Forgot fabs
2 年之前
Vsevolod Stakhov
7fd9e99c6c
[Fix] Fix expressions logic for and/or and float values
2 年之前
Vsevolod Stakhov
acaf4fe66e
[Minor] Use ema functions to calculate average ticks for expressions
2 年之前
Vsevolod Stakhov
4278c58ed2
[Minor] Remove expensive debugging from expressions processing on compile time
2 年之前
Vsevolod Stakhov
183ae244a5
[Feature] Add support of '==' and '!=' in Rspamd expressions
3 年之前
Vsevolod Stakhov
298432d784
[Fix] Fix false - operation
4 年之前
Vsevolod Stakhov
9564581806
[Minor] Add const attribute
4 年之前
Vsevolod Stakhov
6ea707966a
[Rework] Split operations processing and add more debug logs
4 年之前
Vsevolod Stakhov
8139bbca9c
[Rework] Rework expressions processing
4 年之前
Vsevolod Stakhov
986426d29f
[Rework] Modernize logging for expressions
4 年之前
Vsevolod Stakhov
c97d6296c3
[Project] Support multiply, minus and divide operators in expressions
4 年之前
Vsevolod Stakhov
12fee52a2f
[Minor] Fix setting structure's fields
5 年之前
Vsevolod Stakhov
957e21258d
[Rework] Rework expression API
5 年之前
Vsevolod Stakhov
29a3b94f4d
[Minor] Allow to execute expressions with process closures
5 年之前
Vsevolod Stakhov
abaa90892c
[Minor] Fixes for the previous project
5 年之前
Vsevolod Stakhov
01e6bf680b
[Minor] Add more operations sanity check in expressions parser
5 年之前
Vsevolod Stakhov
ef337345b5
[Minor] Fix evals maths
5 年之前
Mikhail Galanin
a9bc3d63a3
[Minor] Use struct to pass parameters to process_atom() functions
5 年之前
Vsevolod Stakhov
6ac7be499b
[Minor] Fix printing of expressions limits
6 年之前
Vsevolod Stakhov
f6363ae05c
[Feature] Allow floating and negative values in expressions limits
6 年之前
Vsevolod Stakhov
3e15585024
[Fix] Further fixes around floating point expressions
6 年之前
Vsevolod Stakhov
b2b9cfa616
[Minor] Further portion of g_slice elimination
6 年之前
Vsevolod Stakhov
22d602b81f
[Feature] Use rdtsc where possible
6 年之前
Vsevolod Stakhov
b0bc4a9e9c
[Rework] Use floating point arithmetics in Rspamd expressions
6 年之前
Vsevolod Stakhov
3e7227fb5b
[Minor] Add guards when free an expresssion
7 年之前
Vsevolod Stakhov
20457a019f
[Fix] Fix memory corruprtion and leak
7 年之前
Vsevolod Stakhov
87be736a89
[Fix] More leaks eliminated
7 年之前
Vsevolod Stakhov
7da9a15f9b
[Fix] Fix memory leak in expression destroying
7 年之前
Vsevolod Stakhov
43566f1597
[Fix] Plug memory leak in expressions parsing during reload
7 年之前
Vsevolod Stakhov
5134580d74
[CritFix] Fix issue with expressions processing
If the first rule in A + B + C + D > X matched then it was counted like
`1 + 1` and not as `0 + 1` as the accumulator was incorrectly treated in
that case.
8 年之前
Vsevolod Stakhov
40237abf07
[Fix] Fix sorting of limits
8 年之前
Vsevolod Stakhov
54781dd54d
[Feature] Add tracking for rspamd expressions
8 年之前
Vsevolod Stakhov
fb236b262f
[Feature] Save operation node for expressions atoms
8 年之前
Vsevolod Stakhov
3256178a24
Fix couple of issues found by gcc-6
8 年之前
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
8 年之前
Vsevolod Stakhov
b5dfdb55e6
Do not re-set GError
8 年之前
Vsevolod Stakhov
4ec67ca54b
Fix issue with zero length atoms
8 年之前
Vsevolod Stakhov
e74409e4f5
Add function to traverse AST atoms
8 年之前
Vsevolod Stakhov
1ba46d50f4
Fix regexp_search invocation.
9 年之前
Vsevolod Stakhov
e94fe5faba
Fix comparision operators.
9 年之前
Vsevolod Stakhov
086f56ab61
Expression parsing errors are not asserts actually.
9 年之前
Vsevolod Stakhov
52153908f5
Fix AST processing for sole comparision rules.
9 年之前
Vsevolod Stakhov
2d18d5d8b0
Really use pcre jit...
9 年之前