summaryrefslogtreecommitdiff
path: root/src/core/wee-eval.c
AgeCommit message (Collapse)Author
2015-07-04core: add missing comments before functions when the result must be freed ↵Sébastien Helleu
after use
2015-06-30api: add support of evaluated sub-strings and current date/time in function ↵Sébastien Helleu
string_eval_expression() and command /eval
2015-06-23core: allow pointer as list name in evaluation of hdata (closes #450)Sébastien Helleu
2015-04-26api: add support of environment variables in function ↵Sébastien Helleu
string_eval_expression() and command /eval (issue #388)
2015-04-26core: add support of full color option name in command /eval and API ↵Sébastien Helleu
function string_eval_expression()
2015-01-01core: update copyright datesSébastien Helleu
2014-11-23core: fix regex replace in eval_expression when regex or regex_replace is emptySébastien Helleu
2014-10-22api: add regex replace feature in function string_eval_expressionSébastien Helleu
2014-10-16core: add hide of chars in string in evaluation of expressionsSébastien Helleu
The syntax is: ${hide:char,string}. All chars in string are replaced with char (which can be one or more chars).
2014-10-12core: move default prefix/suffix for evaluation in wee-eval.hSébastien Helleu
2014-08-13core: make argument "errors" optional in function string_replace_with_callbackSébastien Helleu
2014-07-12core: fix evaluation of expressions with regex condition (closes #63)Sébastien Helleu
The regex itself is not evaluated any more (so parentheses are kept). Before the fix: >> abcd =~ (?-i)^abc == [0] >> (abcd) =~ \(abcd\) == [0] After the fix: >> abcd =~ (?-i)^abc == [1] >> (abcd) =~ \(abcd\) == [1]
2014-04-04core: fix evaluation of expression with regex when a comparison char is in ↵Sébastien Helleu
the regex
2014-03-06core: fix recursive calls to function eval_expressionSebastien Helleu
2014-03-02core: fix memory leak in evaluation of sub-conditionsSebastien Helleu
2014-02-28api: add support of escaped strings in function string_eval_expression and ↵Sebastien Helleu
command /eval
2014-01-26core: fix memory leak in regex matching when evaluating expressionSebastien Helleu
2014-01-08core: fix crash in /eval when config option has a NULL valueSebastien Helleu
2014-01-05core: fix crash with hdata_update on shared strings, add hdata type ↵Sebastien Helleu
"shared_string" (bug #41104)
2014-01-01core: update copyright datesSebastien Helleu
2013-11-09api: add support of infos with format `${info:name,arguments}` in function ↵Sebastien Helleu
string_eval_expression and command /eval
2013-08-25core: fix evaluation of expressions with parenthesesSebastien Helleu
First evaluate sub-expressions between parentheses. Before the fix: >> 1 && (0 || 0) == [1] After the fix: >> 1 && (0 || 0) == [0]
2013-08-04core: optimize creation of hashtable "pointers" in eval_expression if ↵Sebastien Helleu
argument is NULL The hashtable is created on first call to eval_expression with pointers == NULL. On next calls, the hashtable is cleared, then used again. The hashtable is freed on exit.
2013-08-04api: add support of colors with format "${color:xxx}" in function ↵Sebastien Helleu
string_eval_expression and command /eval
2013-08-04api: add argument "options" in function string_eval_expression, add option ↵Sebastien Helleu
"-c" for command /eval (to evaluate a condition)
2013-07-27core: add secured data with optional encryption in file sec.confSebastien Helleu
2013-07-24core: fix priority of logical operators in evaluation of expressionSebastien Helleu
The AND ("&&") takes precedence over the OR ("||"). Before the fix: >> 1 || 1 && 0 == [0] After the fix: >> 1 || 1 && 0 == [1] Since the "&&" has higher priority, expression is evaluated as: "1 || (1 && 0)".
2013-07-08core: fix crash in evaluation of expression when reading a string in hdata ↵Sebastien Helleu
with a NULL value (bug #39419)
2013-03-17core: fix typos in many comments and some stringsSebastien Helleu
2013-01-26core: use size of 32 for hashtables (instead of 4, 8 or 16)Sebastien Helleu
A size of 32 will use a little more memory but will reduce collisions in key hashs, and then length of linked lists inside hash structure (faster search in hashtable).
2013-01-10core: fix some copyright datesSebastien Helleu
2013-01-07core: fix memory leak in evaluation of expression when a logical operator ↵Sebastien Helleu
("&&" or "||") is found
2013-01-01core: update copyright datesSebastien Helleu
2012-12-19core: fix compilation warning on FreeBSDSebastien Helleu
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-11-02core: expand buffer local variables in evaluation of expressions (command ↵Sebastien Helleu
/eval and function "string_eval_expression" in plugin API)
2012-11-02core: add command /eval, use expression in conditions for bars, add function ↵Sebastien Helleu
"string_eval_expression" in plugin API