aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libucl/lua_ucl.c
Commit message (Collapse)AuthorAgeFilesLines
* [Fix] Use correct type for keylen in lua_ucl_newindexPetr Vaněk2024-10-021-2/+2
| | | | | | | | | | The keylen variable used in lua_ucl_newindex function should use size_t type instead of lua_Integer, because all functions that use keylen expect it to be of size_t type. This mismatch leads to incompatible pointer types, and modern versions of GCC fail to compile the code. Fixes: 9e87597ceb05 ("[Project] Allow manipulations with opaque UCL objects") Issue: https://github.com/rspamd/rspamd/issues/5163
* [Minor] Add some hacks to convert lua table into either object or an arrayVsevolod Stakhov2024-08-161-43/+118
|
* [Minor] Fix import againVsevolod Stakhov2024-08-151-20/+28
|
* [Project] Try to allow more transparent access of ucl elementsVsevolod Stakhov2024-08-151-52/+67
|
* [Minor] Some minor fixesVsevolod Stakhov2024-08-151-6/+10
|
* [Project] Some more fixesVsevolod Stakhov2024-08-151-19/+28
|
* [Project] Add API method to push unwrapped UCL objectVsevolod Stakhov2024-08-141-9/+8
|
* [Fix] Make tostring in UCL a bit less brain-damagedVsevolod Stakhov2024-08-131-2/+6
|
* [Project] Add more stuff to transparent UCLVsevolod Stakhov2024-08-131-30/+85
|
* [Project] Allow manipulations with opaque UCL objectsVsevolod Stakhov2024-08-131-3/+267
| | | | | | | | | If we export an UCL object to Lua we actually lose a lot of useful properties of UCL. For example, we miss ordering, comments, implicit arrays etc. This PR is intended to allow manipulation with UCL object like plain userdata, without unwrapping them to the Lua primitives.
* [Rework] Further types conversion (no functional changes)Vsevolod Stakhov2024-03-181-452/+455
|
* [Minor] Check types in ucl `parse_text` methodVsevolod Stakhov2022-11-271-1/+4
|
* [Minor] Fix empty strings importVsevolod Stakhov2022-09-231-2/+16
| | | | Issue: #4281
* [Minor] Set binary flag on binary textsVsevolod Stakhov2022-07-011-4/+9
|
* [Minor] Allow ucl emitters to output rspamd_textVsevolod Stakhov2021-10-151-8/+16
|
* [Fix] Fix pushing ucl strings with \0 insideVsevolod Stakhov2020-12-181-2/+2
|
* [Minor] Relax `parse_text` input arguments to allow both string and textVsevolod Stakhov2020-12-181-1/+15
|
* [Fix] Fix issue with pushing binary formats to Lua stringsVsevolod Stakhov2020-11-161-2/+3
|
* [Minor] Fix old broken logic compatibilityVsevolod Stakhov2020-03-121-7/+8
|
* [Minor] Allow to push objects to lua replacing UCL_NULLVsevolod Stakhov2020-03-111-23/+50
|
* [Minor] Slightly improve numeric checks (not finished)Vsevolod Stakhov2020-01-281-6/+12
|
* [Minor] Libucl: Fix rspamd{text} parsingVsevolod Stakhov2019-09-161-3/+3
|
* [Feature] Libucl: Allow to sort keys in ucl objectsVsevolod Stakhov2019-07-081-0/+13
|
* [Minor] Don't double-escape lua strings in libuclPaul Arthur2018-05-101-2/+2
| | | | | Strings are escaped during JSON/UCL output, so escaping them while building the object results in doubly escaped strings.
* [CritFix] Do not use volatile Lua strings as UCL keysVsevolod Stakhov2018-05-021-2/+2
| | | | | Issue: #2211 Closes: #2211
* [Minor] Unify typesVsevolod Stakhov2018-04-241-3/+3
|
* [Fix] Propagate key when import implicit array from LuaVsevolod Stakhov2018-04-241-1/+8
|
* [Feature] Improve allocation policy when interacting with LuaVsevolod Stakhov2018-02-141-16/+21
|
* [Feature] Allow to reserve elements in libuclVsevolod Stakhov2018-02-141-1/+2
|
* [Minor] Allow to parse ucl object from rspamd_textVsevolod Stakhov2018-02-141-0/+49
|
* [Feature] Save real ucl types when exporting to LuaVsevolod Stakhov2017-11-051-29/+122
|
* [Minor] Massive spelling correctionAlexander Moisseev2017-06-271-1/+1
| | | | by a bot https://github.com/ka7/misspell_fixer
* [Feature] UCL: register parser variables from LuaAndrew Lewis2017-04-181-0/+76
|
* [Feature] Add escaped version of lua_ucl importVsevolod Stakhov2017-04-071-11/+48
|
* [Minor] Do not set file vars by default in lua uclVsevolod Stakhov2017-02-191-2/+1
|
* [Minor] Add auto type to the parser methodVsevolod Stakhov2017-01-131-0/+3
|
* [Feature] Allow custom parse types in lua uclVsevolod Stakhov2017-01-131-14/+51
|
* [Fix] Fix name of varVsevolod Stakhov2017-01-021-1/+1
| | | | MFH: true
* [Fix] Plug memory leakVsevolod Stakhov2017-01-011-0/+2
| | | | MFH: true
* Refactor UCL APIVsevolod Stakhov2016-02-161-3/+3
|
* Backport fixes from libuclVsevolod Stakhov2016-02-141-15/+353
|
* Fix ucl from lua arrays.Vsevolod Stakhov2015-04-181-0/+1
|
* Fix pushing array to lua from UCL.Vsevolod Stakhov2015-04-071-9/+23
|
* Move ucl and rdns to contrib.Vsevolod Stakhov2015-02-211-0/+820