summaryrefslogtreecommitdiff
path: root/src/plugins/exec/exec.h
AgeCommit message (Collapse)Author
2017-08-10core: remove value for first #define in headers, add "PLUGIN" in plugin headersSébastien Helleu
2017-01-13tests: fix compilation of tests on FreeBSD 11Sébastien Helleu
Some includes were missing in .h files, and the tests must be linked with intl and execinfo on FreeBSD.
2017-01-06exec: add option "-oc" in command /exec to execute commands in process ↵Sébastien Helleu
output (closes #877) The behavior of existing option "-o" is changed: now commands are NOT executed (which is more secure by default).
2017-01-01core: update copyright datesSébastien Helleu
2016-03-21core: 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-01core: update copyright datesSébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-04-03exec: display output of commands in real time, add options -flush/-noflush ↵Sébastien Helleu
in command /exec
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-03-16exec: add values "irc" and "weechat" for option "-color", replace "decode" ↵Sebastien Helleu
by "auto"
2014-03-16exec: add options "-pipe" and "-hsignal" in command /execSebastien Helleu
2014-03-15exec: fix compilation on OpenBSDSebastien Helleu
Looks like the variable name "stdout" is a problem on OpenBSD (macro?). So "stdout" and "stderr" are renamed to "out" an "err".
2014-03-15exec: rename value "off" to "ansi" for option "-color" in command /execSebastien Helleu
2014-03-15exec: add option "-color" in command /exec (decode ANSI colors by default)Sebastien Helleu
The ANSI colors are decoded by default to WeeChat colors (for local display), or IRC colors (if output is sent to buffer with "-o").
2014-03-13exec: add options "-rc"/"-norc" (display return code) in command /execSebastien Helleu
2014-03-12exec: add options "-ln"/"-noln" (line numbers) in command /execSebastien Helleu
2014-03-12exec: add options "-n"/"-ns" in command /exec (display output in a new buffer)Sebastien Helleu
2014-03-11exec: add option "-bg" in command /execSebastien Helleu
2014-03-11exec: add exec pluginSebastien Helleu