Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-09-09 | core: add missing slash at the end of weechat.org URLs | 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-08-16 | tests: add tests on modifier hook | Sébastien Helleu | |
2018-08-15 | tests: properly initialize variable argc before tests on function string_split | Sébastien Helleu | |
2018-08-15 | tests: add test on function string_split with a string having only delimiters | Sébastien Helleu | |
2018-08-12 | core: fix check of tags in lines | Sébastien Helleu | |
All changes: - fix check of tags in lines: check lines without tags, fix check of tags with negation ("!tag") - add string functions string_split_tags and string_free_split_tags - add tests on function gui_line_match_tags | |||
2018-06-02 | core: add reverse of string in evaluation of expressions with "rev:" (closes ↵ | Sébastien Helleu | |
#1200) | |||
2018-06-02 | tests: add missing tests on function string_cut | Sébastien Helleu | |
2018-06-02 | core: count number of chars instead of bytes for suffix in function string_cut | Sébastien Helleu | |
2018-06-02 | tests: fix test of function utf8_strlen_screen on Han char (U+24B62) | Sébastien Helleu | |
2018-05-20 | Merge remote-tracking branch 'origin/pr/623' into irc-3.2-cap | Sébastien Helleu | |
2018-04-17 | tests: add tests on eval_expression() with different prefix/suffix | Sébastien Helleu | |
2018-04-12 | tests: add tests on infolists | Sébastien Helleu | |
2018-01-07 | tests: fix tests on function string_regex_flags | Sébastien Helleu | |
2018-01-05 | core: update copyright dates | Sébastien Helleu | |
2017-10-17 | core: allow floating point and hexadecimal numbers in comparison of ↵ | Sébastien Helleu | |
evaluated values | |||
2017-08-20 | tests: improve tests on dynamic strings | Sébastien Helleu | |
2017-06-17 | core: add hashtable_add_from_infolist to API | Simmo Saan | |
2017-04-29 | core: add wildcard matching operators to eval (closes #608) | Simmo Saan | |
2017-04-26 | tests: fix compilation warning on FreeBSD | Sébastien Helleu | |
2017-04-24 | core: add a way to count the suffix length in max chars displayed in cut of ↵ | Sébastien Helleu | |
string ("cut:" and "cutscr:") (closes #963) The format to use is one of: - ${cut:+max,suffix,string} - ${cutscr:+max,suffix,string} With the "+" before max, WeeChat ensures there are at most "max" chars in output, including the length of suffix string. | |||
2017-04-22 | core: ensure length is not negative in function string_strndup | Sébastien Helleu | |
2017-04-01 | tests: fix tests on dynamic strings | Sébastien Helleu | |
2017-03-30 | core: add ${re:#} to get the index of last group captured in evaluation of ↵ | Sébastien Helleu | |
expressions | |||
2017-03-30 | core: make "callback_cmp" optional in call to function arraylist_new() | Sébastien Helleu | |
If no callback is given, a default callback is used, which just compares pointers. | |||
2017-03-28 | tests: add tests on combining characters in cut/cutscr (evaluation of ↵ | Sébastien Helleu | |
expression) | |||
2017-03-28 | core: fix cut of chars in "cutscr" of evaluated strings | Sébastien Helleu | |
This fixes two problems: - stop before max char displayed with wide chars - preserve combining chars in the output Before the fix (wrong): >> ${cutscr:3,+,こんにちは世界} == [こん+] >> ${cutscr:1,+,a${\u0308}} == [a+] After the fix (OK): >> ${cutscr:3,+,こんにちは世界} == [こ+] >> ${cutscr:1,+,a${\u0308}} == [ä] | |||
2017-03-27 | core: add cut of string with max chars displayed in evaluation of expressions | Sébastien Helleu | |
The syntax is: ${cutscr:max,suffix,string}. The string is cut after max chars displayed on screen. If the string is cut, the optional suffix is added after. | |||
2017-03-25 | core: add cut of string in evaluation of expressions | Sébastien Helleu | |
The syntax is: ${cut:max,suffix,string}. The string is cut after max chars. If the string is cut, the optional suffix is added after. | |||
2017-03-25 | core: add ternary operator (condition) in evaluation of expressions | Sébastien Helleu | |
2017-03-25 | api: add dynamic string functions (string_dyn_*) | Sébastien Helleu | |
New functions: - string_dyn_alloc - string_dyn_copy - string_dyn_concat - string_dyn_free | |||
2017-01-01 | core: update copyright dates | Sébastien Helleu | |
2016-10-02 | api: fix return of function string_match() when there are multiple masks in ↵ | Sébastien Helleu | |
the string (issue #812) Some tests are added as well to test the multiple masks in the string. | |||
2016-08-18 | tests: add test on the "extra" option on function eval_expression() | Sébastien Helleu | |
2016-07-09 | core: rename function string_iconv_fprintf to string_fprintf | Sébastien Helleu | |
2016-05-14 | tests: add tests on function string_split_command() | Sébastien Helleu | |
2016-05-08 | core: fix the hardcoded separator in string_split_command | Wojciech Kwolek | |
2016-01-23 | tests: add tests on string_split() with keep_eol set to 2 | Sébastien Helleu | |
2016-01-01 | core: update copyright dates | Sébastien Helleu | |
2015-12-31 | core: fix execution of empty command name | Sébastien Helleu | |
The strings "/" and "/ " are not considered as valid commands any more. | |||
2015-08-24 | api: fix handle of invalid escape in function string_convert_escaped_chars() | Sébastien Helleu | |
And a new test is now checking that "\" returns "". | |||
2015-08-22 | api: add function string_hex_dump() | Sébastien Helleu | |
2015-08-18 | api: add argument "length" in function utf8_is_valid() | Sébastien Helleu | |
2015-07-04 | api: fix type of value returned by functions utf8_prev_char, utf8_next_char ↵ | Sébastien Helleu | |
and utf8_add_offset | |||
2015-06-30 | api: add support of evaluated sub-strings and current date/time in function ↵ | Sébastien Helleu | |
string_eval_expression() and command /eval | |||
2015-06-24 | api: add function string_eval_path_home() | Sébastien Helleu | |
2015-04-26 | core: add support of full color option name in command /eval and API ↵ | Sébastien Helleu | |
function string_eval_expression() |