summaryrefslogtreecommitdiff
path: root/src/core/wee-eval.c
AgeCommit message (Collapse)Author
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