Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Fix] Use correct type for keylen in lua_ucl_newindex | Petr Vaněk | 2024-10-02 | 1 | -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 array | Vsevolod Stakhov | 2024-08-16 | 1 | -43/+118 |
| | |||||
* | [Minor] Fix import again | Vsevolod Stakhov | 2024-08-15 | 1 | -20/+28 |
| | |||||
* | [Project] Try to allow more transparent access of ucl elements | Vsevolod Stakhov | 2024-08-15 | 1 | -52/+67 |
| | |||||
* | [Minor] Some minor fixes | Vsevolod Stakhov | 2024-08-15 | 1 | -6/+10 |
| | |||||
* | [Project] Some more fixes | Vsevolod Stakhov | 2024-08-15 | 1 | -19/+28 |
| | |||||
* | [Project] Add API method to push unwrapped UCL object | Vsevolod Stakhov | 2024-08-14 | 1 | -9/+8 |
| | |||||
* | [Fix] Make tostring in UCL a bit less brain-damaged | Vsevolod Stakhov | 2024-08-13 | 1 | -2/+6 |
| | |||||
* | [Project] Add more stuff to transparent UCL | Vsevolod Stakhov | 2024-08-13 | 1 | -30/+85 |
| | |||||
* | [Project] Allow manipulations with opaque UCL objects | Vsevolod Stakhov | 2024-08-13 | 1 | -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 Stakhov | 2024-03-18 | 1 | -452/+455 |
| | |||||
* | [Minor] Check types in ucl `parse_text` method | Vsevolod Stakhov | 2022-11-27 | 1 | -1/+4 |
| | |||||
* | [Minor] Fix empty strings import | Vsevolod Stakhov | 2022-09-23 | 1 | -2/+16 |
| | | | | Issue: #4281 | ||||
* | [Minor] Set binary flag on binary texts | Vsevolod Stakhov | 2022-07-01 | 1 | -4/+9 |
| | |||||
* | [Minor] Allow ucl emitters to output rspamd_text | Vsevolod Stakhov | 2021-10-15 | 1 | -8/+16 |
| | |||||
* | [Fix] Fix pushing ucl strings with \0 inside | Vsevolod Stakhov | 2020-12-18 | 1 | -2/+2 |
| | |||||
* | [Minor] Relax `parse_text` input arguments to allow both string and text | Vsevolod Stakhov | 2020-12-18 | 1 | -1/+15 |
| | |||||
* | [Fix] Fix issue with pushing binary formats to Lua strings | Vsevolod Stakhov | 2020-11-16 | 1 | -2/+3 |
| | |||||
* | [Minor] Fix old broken logic compatibility | Vsevolod Stakhov | 2020-03-12 | 1 | -7/+8 |
| | |||||
* | [Minor] Allow to push objects to lua replacing UCL_NULL | Vsevolod Stakhov | 2020-03-11 | 1 | -23/+50 |
| | |||||
* | [Minor] Slightly improve numeric checks (not finished) | Vsevolod Stakhov | 2020-01-28 | 1 | -6/+12 |
| | |||||
* | [Minor] Libucl: Fix rspamd{text} parsing | Vsevolod Stakhov | 2019-09-16 | 1 | -3/+3 |
| | |||||
* | [Feature] Libucl: Allow to sort keys in ucl objects | Vsevolod Stakhov | 2019-07-08 | 1 | -0/+13 |
| | |||||
* | [Minor] Don't double-escape lua strings in libucl | Paul Arthur | 2018-05-10 | 1 | -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 keys | Vsevolod Stakhov | 2018-05-02 | 1 | -2/+2 |
| | | | | | Issue: #2211 Closes: #2211 | ||||
* | [Minor] Unify types | Vsevolod Stakhov | 2018-04-24 | 1 | -3/+3 |
| | |||||
* | [Fix] Propagate key when import implicit array from Lua | Vsevolod Stakhov | 2018-04-24 | 1 | -1/+8 |
| | |||||
* | [Feature] Improve allocation policy when interacting with Lua | Vsevolod Stakhov | 2018-02-14 | 1 | -16/+21 |
| | |||||
* | [Feature] Allow to reserve elements in libucl | Vsevolod Stakhov | 2018-02-14 | 1 | -1/+2 |
| | |||||
* | [Minor] Allow to parse ucl object from rspamd_text | Vsevolod Stakhov | 2018-02-14 | 1 | -0/+49 |
| | |||||
* | [Feature] Save real ucl types when exporting to Lua | Vsevolod Stakhov | 2017-11-05 | 1 | -29/+122 |
| | |||||
* | [Minor] Massive spelling correction | Alexander Moisseev | 2017-06-27 | 1 | -1/+1 |
| | | | | by a bot https://github.com/ka7/misspell_fixer | ||||
* | [Feature] UCL: register parser variables from Lua | Andrew Lewis | 2017-04-18 | 1 | -0/+76 |
| | |||||
* | [Feature] Add escaped version of lua_ucl import | Vsevolod Stakhov | 2017-04-07 | 1 | -11/+48 |
| | |||||
* | [Minor] Do not set file vars by default in lua ucl | Vsevolod Stakhov | 2017-02-19 | 1 | -2/+1 |
| | |||||
* | [Minor] Add auto type to the parser method | Vsevolod Stakhov | 2017-01-13 | 1 | -0/+3 |
| | |||||
* | [Feature] Allow custom parse types in lua ucl | Vsevolod Stakhov | 2017-01-13 | 1 | -14/+51 |
| | |||||
* | [Fix] Fix name of var | Vsevolod Stakhov | 2017-01-02 | 1 | -1/+1 |
| | | | | MFH: true | ||||
* | [Fix] Plug memory leak | Vsevolod Stakhov | 2017-01-01 | 1 | -0/+2 |
| | | | | MFH: true | ||||
* | Refactor UCL API | Vsevolod Stakhov | 2016-02-16 | 1 | -3/+3 |
| | |||||
* | Backport fixes from libucl | Vsevolod Stakhov | 2016-02-14 | 1 | -15/+353 |
| | |||||
* | Fix ucl from lua arrays. | Vsevolod Stakhov | 2015-04-18 | 1 | -0/+1 |
| | |||||
* | Fix pushing array to lua from UCL. | Vsevolod Stakhov | 2015-04-07 | 1 | -9/+23 |
| | |||||
* | Move ucl and rdns to contrib. | Vsevolod Stakhov | 2015-02-21 | 1 | -0/+820 |