Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-10 | core: rename variable open_paren to pos_open_paren | Sébastien Helleu | |
2023-03-10 | core: allow /eval to get hashtable properties | Andrew Potter | |
2023-01-29 | api: readjust string size in function string_dyn_free when string is not ↵ | Sébastien Helleu | |
freed (issue #1875) This frees some allocated memory if size_alloc was greater than size in the dynamic string. | |||
2023-01-01 | core: update copyright dates | Sébastien Helleu | |
2022-12-18 | api: return newly allocated string in functions string_tolower and ↵ | Sébastien Helleu | |
string_toupper | |||
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-02-19 | core: replace calls to strndup by string_strndup | Sébastien Helleu | |
2022-01-17 | core: update copyright dates | Sébastien Helleu | |
2021-11-13 | core: speed up eval by storing length of prefix/suffix in eval structure | Sébastien Helleu | |
2021-11-13 | core: fix memory leak in evaluated expression "split:number,seps,flags,xxx" ↵ | Sébastien Helleu | |
when multiple "strip_items" are given | |||
2021-11-07 | core: fix random integer number with large range in evaluation of ↵ | Sébastien Helleu | |
expressions on GNU/Hurd | |||
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-03 | api: add random integer number in evaluation of expressions with ↵ | Sébastien Helleu | |
"random:min,max" | |||
2021-05-29 | core, irc, script: fix typos | Sébastien Helleu | |
2021-05-25 | core, buflist, irc, relay: replace freenode by libera in comments | Sébastien Helleu | |
2021-05-16 | api: add translated string in evaluation of expressions with "translate:xxx" ↵ | Sébastien Helleu | |
(issue #1622) | |||
2021-05-11 | core: split WeeChat home in 4 directories, use XDG directories by default ↵ | Sébastien Helleu | |
(issue #1285) The 4 directories (which can be the same): - config: configuration files, certificates - data: log/upgrade files, local plugins, scripts, xfer files - cache: script repository, scripts downloaded (temporary location) - runtime: FIFO pipe, relay UNIX sockets | |||
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-18 | core: add pointer name in description of function eval_replace_vars_cb | Sébastien Helleu | |
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-02 | core: move debug_id assignation in macro EVAL_DEBUG_MSG | 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-11-14 | core: add evaluation of conditions in evaluation of expressions with ↵ | Sébastien Helleu | |
"eval_cond:" (closes #1582) | |||
2020-08-23 | api: add argument "bytes" in function string_dyn_concat | Sébastien Helleu | |
2020-05-21 | core: add base 16/32/64 encoding/decoding in evaluation of expressions | Sébastien Helleu | |
2020-05-20 | core: split function eval_replace_vars_cb into multiple functions | 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-01-04 | core: update copyright dates | Sébastien Helleu | |
2019-12-18 | core: fix evaluation of condition with nested "if" (closes #1434) | Sébastien Helleu | |
2019-12-18 | core: add debug option "-d" in command /eval (issue #1434) | Sébastien Helleu | |
2019-10-12 | core: add reverse of string for screen in evaluation of expressions with ↵ | Sébastien Helleu | |
"revscr:" | |||
2019-10-06 | core: add support of modifiers in evaluation of expressions with ↵ | Sébastien Helleu | |
"modifier:name,data,string" (issue #60) | |||
2019-09-21 | core: ignore color codes in ${length:xxx} and ${lengthscr:xxx} | Sébastien Helleu | |
2019-09-21 | core: add "length:xxx" and "lengthscr:xxx" in evaluation of expressions | Sébastien Helleu | |
2019-09-20 | core: add calculation of expression in evaluation of expressions with ↵ | Sébastien Helleu | |
"calc:..." (issue #997) | |||
2019-04-13 | api: return allocated string in hook_info callback and function info_get | Sébastien Helleu | |
2019-01-01 | core: update copyright dates | Sébastien Helleu | |
2018-11-29 | core: use https for links to GNU GPL license | Sébastien Helleu | |
2018-10-09 | core: add repeat of string in evaluation of expressions with ↵ | Sébastien Helleu | |
"repeat:count,string" (closes #958) | |||
2018-10-08 | core: fix evaluation of nested ternary operators (closes #1263) | Sébastien Helleu | |
2018-10-01 | core: replace "long unsigned int" by "unsigned long" | Sébastien Helleu | |
2018-08-18 | core: fix evaluation of condition when the left operand is an empty string | Sébastien Helleu | |
2018-08-16 | core: fix string evaluation with regex replacement when the string is empty | Sébastien Helleu | |
2018-06-11 | fset: fix crash when applying filters after closing the fset buffer (closes ↵ | Sébastien Helleu | |
#1204) |