Commit Graph

20 Commits

Author SHA1 Message Date
CruX
f5398e4888 [Fix] Remove aarch64 GC64 workaround
luajit contains full support for lightuserdata on aarch64 in newest 2.1 versions
2021-08-24 19:18:02 +02:00
Vsevolod Stakhov
fd396a6293 [Fix] Do not use GC64 workaround on 32bit platforms, omg
Issue: #3459
2020-09-17 23:30:34 +01:00
Vsevolod Stakhov
d05d841321 [Fix] Mmap return value must be checked versus MAP_FAILED
Issue: #3459
2020-09-17 23:26:05 +01:00
Vsevolod Stakhov
175d7ac25a [Minor] Update lpeg to the upstream 2020-07-09 13:15:27 +01:00
Vsevolod Stakhov
4eba0ef162 [Fix] Fix poor man allocator algorithm 2020-07-09 13:15:27 +01:00
Spühler Stefan
c8f69801ec [Fix] Segmentation fault in contrib/lua-lpeg/lpvm.c on ppc64el
This disables a workaround only intended for aarch64 if the target
architecture is powerpc.

Issue: #3365
2020-05-12 14:33:06 +02:00
Vsevolod Stakhov
e0e0d361a4 [Minor] Lpeg: Improve logging on type mismatch 2020-02-24 09:49:30 +00:00
Vsevolod Stakhov
9bdb819160 [Minor] Protect lpeg code against empty texts 2020-02-20 15:56:54 +00:00
Christian Göttsche
d1410ad779 [Minor] silence redefinition of macro
[74/340] Building C object contrib/lua-lpeg/CMakeFiles/rspamd-lpeg.dir/lpprint.c.o
In file included from ../contrib/lua-lpeg/lpprint.c:11:
../contrib/lua-lpeg/lptypes.h:15: warning: "NDEBUG" redefined
   15 | #define NDEBUG
      |
<command-line>: note: this is the location of the previous definition
[75/340] Building C object contrib/lua-lpeg/CMakeFiles/rspamd-lpeg.dir/lpcap.c.o
In file included from ../contrib/lua-lpeg/lpcap.h:9,
                 from ../contrib/lua-lpeg/lpcap.c:9:
../contrib/lua-lpeg/lptypes.h:15: warning: "NDEBUG" redefined
   15 | #define NDEBUG
      |
<command-line>: note: this is the location of the previous definition
[77/340] Building C object contrib/lua-lpeg/CMakeFiles/rspamd-lpeg.dir/lpvm.c.o
In file included from ../contrib/lua-lpeg/lpcap.h:9,
                 from ../contrib/lua-lpeg/lpvm.c:15:
../contrib/lua-lpeg/lptypes.h:15: warning: "NDEBUG" redefined
   15 | #define NDEBUG
      |
<command-line>: note: this is the location of the previous definition
[79/340] Building C object contrib/lua-lpeg/CMakeFiles/rspamd-lpeg.dir/lpcode.c.o
In file included from ../contrib/lua-lpeg/lpcode.c:12:
../contrib/lua-lpeg/lptypes.h:15: warning: "NDEBUG" redefined
   15 | #define NDEBUG
      |
<command-line>: note: this is the location of the previous definition
[81/340] Building C object contrib/lua-lpeg/CMakeFiles/rspamd-lpeg.dir/lptree.c.o
In file included from ../contrib/lua-lpeg/lptree.c:15:
../contrib/lua-lpeg/lptypes.h:15: warning: "NDEBUG" redefined
   15 | #define NDEBUG
      |
<command-line>: note: this is the location of the previous definition
2020-01-16 19:37:12 +01:00
Vsevolod Stakhov
4c81a52183 [Minor] Remove enforced "-O3" from contrib libraries 2019-12-25 13:05:01 +00:00
Vsevolod Stakhov
4e516ef443 [Minor] Fix asan friendliness in lpeg 2019-11-29 09:05:31 +00:00
Vsevolod Stakhov
b1a7978b2d [Minor] Allow rspamd_text matching in lpeg 2019-11-25 12:35:06 +00:00
Vsevolod Stakhov
6e31344466 [Minor] Fix compile warnings 2019-10-10 17:17:09 +01:00
Vsevolod Stakhov
0cde7b0683 [Minor] Init tree before usage 2019-09-27 15:05:16 +01:00
Vsevolod Stakhov
6dbf2e4e35 [Minor] Arm64: Implement poor man slabs
Issue: #2906
2019-06-03 17:09:15 +01:00
Vsevolod Stakhov
92ec3e389a [Minor] Adopt lpeg for aarch64 and luajit
Issue: #2906
2019-05-24 16:29:02 +01:00
Vsevolod Stakhov
2c5aaa7e85 [Minor] Add lpeg re module 2019-04-08 11:51:01 +01:00
Vsevolod Stakhov
736a5f1d12 Revert "[Minor] Use less aggressive optimisation level"
This reverts commit 9bfff1d477.
2019-03-05 23:18:19 +00:00
Vsevolod Stakhov
9bfff1d477 [Minor] Use less aggressive optimisation level 2019-03-05 22:51:29 +00:00
Vsevolod Stakhov
714eb56e17 [Minor] Move lua contrib libraries to lua- prefix 2018-05-23 18:14:15 +01:00