Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | buflist: new plugin "buflist" (bar with list of buffers) | Sébastien Helleu | |
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-13 | tests: fix compilation of tests on FreeBSD 11 | Sébastien Helleu | |
Some includes were missing in .h files, and the tests must be linked with intl and execinfo on FreeBSD. | |||
2017-01-01 | core: update copyright dates | Sébastien Helleu | |
2016-10-02 | tests: add wattr_get/set to fake | Andrew Potter | |
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-03-21 | core: add pointer in some callbacks (closes #406) | Sébastien Helleu | |
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read | |||
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-12-25 | tests: temporary disable check of javascript plugin | Sébastien Helleu | |
The compilation with autotools fails to detect v8 lib (used by javascript plugin) on Ubuntu Trusty, so the tests are failing because javascript plugins is not loaded. This check will be enabled again when autotools compilation will be fixed. | |||
2015-12-24 | tests: fix compilation with autotools | Sébastien Helleu | |
2015-12-24 | tests: fix locale used to execute tests | Sébastien Helleu | |
2015-12-24 | tests: check if all plugins are loaded | Sébastien Helleu | |
2015-12-20 | core: use Ubuntu Trusty for tests (Travis CI) | Mikaela Suomalainen | |
The Debian package libcpputest-dev becomes useless as it's available in the repositories now. | |||
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-06-14 | tests: add package libcpputest-dev for ubuntu/precise (Travis CI) | Sébastien Helleu | |
2015-05-17 | core: make cpputest optional in cmake compilation | Sébastien Helleu | |
With this fix, WeeChat can be built without tests (if cpputest is not found), without having to explicitely disable tests ("-DENABLE_TESTS=OFF"). | |||
2015-04-26 | core: add support of full color option name in command /eval and API ↵ | Sébastien Helleu | |
function string_eval_expression() | |||
2015-04-11 | core: add options weechat.look.word_chars_{highlight|input} (closes #55, ↵ | Sébastien Helleu | |
task #9459) | |||
2015-03-22 | tests: check that function string_strndup returns NULL if the given string ↵ | Sébastien Helleu | |
is NULL | |||
2015-03-06 | tests: remove compiler warnings about unused parameters | Sébastien Helleu | |
2015-03-03 | tests: remove unused variables | Sébastien Helleu | |
2015-03-02 | tests: remove unused variable | Sébastien Helleu | |
2015-02-13 | tests: add tests on weelist functions | Sébastien Helleu | |
2015-01-01 | core: update copyright dates | Sébastien Helleu | |
2014-12-13 | core: use https for WeeChat URLs | Sébastien Helleu | |
2014-12-10 | tests: fix compilation of tests with clang (closes #275) | Sébastien Helleu | |
2014-11-23 | tests: add tests of regex replace with empty regex or regex_replace | Sébastien Helleu | |
2014-11-18 | tests: add hashtable tests with multiple items giving same hashed key | Sébastien Helleu | |
2014-11-03 | tests: add tests of functions string_shared_get and string_shared_free | Sébastien Helleu | |
2014-10-22 | api: add regex replace feature in function string_eval_expression | Sébastien Helleu | |
2014-10-16 | tests: fix memory leak in hashtable tests | Sébastien Helleu | |