Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-10-24 | tests: add quotes in Lua tables | Sébastien Helleu | |
2017-10-24 | tests: fix Ruby strings | Sébastien Helleu | |
2017-10-24 | tests: escape "@" in Perl strings | Sébastien Helleu | |
2017-10-17 | core: allow floating point and hexadecimal numbers in comparison of ↵ | Sébastien Helleu | |
evaluated values | |||
2017-10-10 | tests: add missing docstring | Sébastien Helleu | |
2017-10-10 | tests: add command /testapi.xx in test script, display elapsed time in ↵ | Sébastien Helleu | |
scripting API tests | |||
2017-10-10 | tests: fix instruction "return" in Perl/Guile/PHP output | Sébastien Helleu | |
2017-10-10 | tests: remove unused variable | Sébastien Helleu | |
2017-10-10 | tests: fix sort of Unparse classes on line number | Sébastien Helleu | |
2017-10-07 | javascript: fix detection of libv8 with autotools on Ubuntu Trusty | Sébastien Helleu | |
2017-10-07 | tests: fix scripting API tests when they are run from autotools build directory | Sébastien Helleu | |
2017-10-07 | tests: fix compilation of tests with autotools | Sébastien Helleu | |
2017-10-07 | tests: remove useless __init__ methods | Sébastien Helleu | |
2017-10-07 | tests: fix comments | Sébastien Helleu | |
2017-10-07 | tests: add scripting API tests (issue #104) | Sébastien Helleu | |
Automatic tests of scripting API are made with Python scripts: - unparse.py: convert Python code to other languages - testapigen.py: generate scripts in all languages to test the API - testapi.py scripting API tests | |||
2017-10-01 | tests: run command "/debug libs" in tests instead of Travis CI command | Sébastien Helleu | |
2017-09-03 | tests: add PHP plugin in tests | Sébastien Helleu | |
2017-08-20 | tests: improve tests on dynamic strings | Sébastien Helleu | |
2017-07-23 | tests: display an error if the required locale en_US.UTF-8 is not installed | Sébastien Helleu | |
2017-07-05 | tests: fix load of plugins in tests after a build with autotools | Sébastien Helleu | |
2017-07-05 | core: search WEECHAT_EXTRA_LIBDIR for plugins (closes #971, issue #979) | Linus Heckemann | |
In addition to searching the statically configured WEECHAT_LIBDIR (weechat's installation directory) for plugins, search the path given in the environment variable WEECHAT_EXTRA_LIBDIR. This makes departing from the FHS standard while keeping the plugins packaged separately easier. This change was made specifically with the Nix package manager in mind, but can easily be used by others. | |||
2017-07-05 | tests: fix double load of plugins when "make install" is executed before tests | Sébastien Helleu | |
2017-07-04 | tests: load plugins from build directory instead of installed libdir | Sébastien Helleu | |
This allows to run tests without running "make install". | |||
2017-06-25 | tests: check that fset plugin is loaded | 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 | 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 | |