Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-01 | core: fix print of pointer values | Sébastien Helleu | |
2024-03-12 | core: remove "wee-" prefix from source files in src/core and src/core/hook | Sébastien Helleu | |
2024-01-27 | core: use function util_strftimeval in evaluation of expression `date:xxx` | Sébastien Helleu | |
2024-01-01 | core: update copyright dates | Sébastien Helleu | |
2023-11-24 | tests: add eval tests on "raw" and "raw_hl" with escaped prefix | Sébastien Helleu | |
2023-11-23 | core: evaluate expressions even when the suffix is missing (issue #2042, ↵ | Sébastien Helleu | |
issue #1714) | |||
2023-11-23 | core: add syntax highlighting in evaluation of expressions, add option ↵ | Sébastien Helleu | |
weechat.color.eval_syntax_colors (issue #2042) Syntax highlighting (raw string without evaluation): `${raw_hl:xxx}` Syntax highlighting: `${hl:xxx}` | |||
2023-08-16 | tests: add tests on eval ternary operator with extra colon in value | Sébastien Helleu | |
2023-03-10 | core: allow /eval to get hashtable properties | Andrew Potter | |
2023-01-01 | core: update copyright dates | Sébastien Helleu | |
2022-12-21 | core: improve case convert and insensitive char comparisons (closes #258) | Sébastien Helleu | |
All lowercase letters are now properly converted to uppercase letters (and vice versa), via functions `towupper` and `towlower`. Functions `string_tolower`, `string_toupper` and `utf8_charcasecmp` have been optimized to be faster when there are ASCII chars (< 128); functions are about 25-40% faster with mixed chars (both ASCII and multi-bytes). Function `utf8_wide_char` has been removed, `utf8_char_int` can be used instead. | |||
2022-11-05 | core: add range of chars in evaluation of expressions with `chars:xxx` | Sébastien Helleu | |
2022-04-18 | core: add case conversion in evaluation of expressions (closes #1778) | Sébastien Helleu | |
2022-01-17 | core: update copyright dates | Sébastien Helleu | |
2021-09-20 | core: add creation of user variables in evaluated expressions with ↵ | Sébastien Helleu | |
${define:name,value} | |||
2021-09-06 | api: add split of string and shell arguments in evaluation of expressions | Sébastien Helleu | |
Split of string: ${split:number,separators,flags,xxx} Split of shell arguments: ${split_shell:number,xxx} | |||
2021-08-29 | api: add "${re:repl_index}" to get the index of replacement in function ↵ | Sébastien Helleu | |
string_eval_expression | |||
2021-08-06 | core: fix decoding of attributes in basic ANSI colors (closes #1678) | Sébastien Helleu | |
2021-08-03 | api: add random integer number in evaluation of expressions with ↵ | Sébastien Helleu | |
"random:min,max" | |||
2021-05-16 | tests: remove dependency on French locale in eval tests | Sébastien Helleu | |
2021-05-16 | tests: add missing include of locale.h in eval tests | Sébastien Helleu | |
2021-05-16 | tests: add tests on translation in evaluated expressions | Sébastien Helleu | |
2021-04-04 | core: evaluate left/right part of comparison after split on the comparison ↵ | Sébastien Helleu | |
operator in ${if:xxx} (closes #1627) To force evaluation of the expression before doing the comparison (less safe), the "${eval_cond:xxx}" can be used. With the old behavior we had: >> ${if:a==b} == [0] >> ${if:${raw:a==b}} == [0] >> ${if:${eval_cond:${raw:a==b}}} == [0] And with the new behavior, we have: >> ${if:a==b} == [0] >> ${if:${raw:a==b}} == [1] >> ${if:${eval_cond:${raw:a==b}}} == [0] | |||
2021-03-17 | api: add support of pointer names in function string_eval_expression (direct ↵ | Sébastien Helleu | |
and in hdata) These two formats are now supported, if "pointer_name" is present in the "pointers" hashtable: * "${pointer_name}": value of pointer (example: "0x1234abcd") * ${buffer[pointer_name].full_name}: use of a pointer name instead of pointer value or list name | |||
2021-02-05 | core: add raw string in evaluation of expressions with "raw:xxx" (closes #1611) | Sébastien Helleu | |
2021-01-02 | core: update copyright dates | Sébastien Helleu | |
2021-01-01 | core: add indentation and colors in /eval debug output | Sébastien Helleu | |
2020-12-31 | core: display more verbose debug with two "-d" in command /eval | Sébastien Helleu | |
Now a single -d in command /eval shows less debug messages than previous versions. To get the same debug messages than previous versions, two -d must be used. | |||
2020-12-25 | core: do not remove quotes in arguments of command /eval (closes #1601) | Sébastien Helleu | |
Now, /eval -n -c "a" == "a" returns True instead of False. When quotes were removed, the condition evaluated was: a" == "a (which is False). | |||
2020-11-14 | core: add evaluation of conditions in evaluation of expressions with ↵ | Sébastien Helleu | |
"eval_cond:" (closes #1582) | |||
2020-08-05 | tests: fix name of some unit tests | Sébastien Helleu | |
2020-05-21 | core: add base 16/32/64 encoding/decoding in evaluation of expressions | Sébastien Helleu | |
2020-05-17 | tests: run tests on plugins only if the plugins are enabled and compiled | Sébastien Helleu | |
2020-05-05 | core: add include comparison operators in evaluation of expressions | Sébastien Helleu | |
New comparison operators: - "==*": is matching mask, case sensitive (wildcard "*" is allowed) - "!!*": is NOT matching mask, case sensitive (wildcard "*" is allowed) - "==-": is included, case sensitive - "!!-": is NOT included, case sensitive - "=-": is included, case insensitive - "!-": is NOT included, case insensitive | |||
2020-02-04 | tests: add eval tests with debug enabled | Sébastien Helleu | |
2020-01-27 | tests: add eval tests with hdata variables of different types | Sébastien Helleu | |
2020-01-27 | tests: add eval tests on conditions with text after closing parenthesis | Sébastien Helleu | |
2020-01-27 | tests: add eval tests on conditions with leading and trailing spaces (ignored) | Sébastien Helleu | |
2020-01-27 | tests: add eval tests on "regex not matching" comparison | Sébastien Helleu | |
2020-01-27 | tests: add eval tests with hdata list name and pointer | Sébastien Helleu | |
2020-01-27 | tests: add eval tests with buffer local variables | Sébastien Helleu | |
2020-01-27 | tests: add eval tests on options with different types | Sébastien Helleu | |
2020-01-27 | tests: add eval test with empty value for "date:" | Sébastien Helleu | |
2020-01-27 | tests: add eval tests with invalid values for "modifier:" | Sébastien Helleu | |
2020-01-27 | tests: add eval tests with invalid values for "repeat:" | Sébastien Helleu | |
2020-01-27 | tests: add eval tests with invalid values for "cut:" and "cutscr:" | Sébastien Helleu | |
2020-01-27 | tests: add eval test with invalid value for "hide:" | Sébastien Helleu | |
2020-01-27 | tests: add eval test with invalid regex group | Sébastien Helleu | |
2020-01-27 | tests: add evaluation tests with ternary operator and escape of prefix ("$") | Sébastien Helleu | |
2020-01-04 | core: update copyright dates | Sébastien Helleu | |