summaryrefslogtreecommitdiff
path: root/src/plugins/exec
AgeCommit message (Collapse)Author
2018-05-19exec: fix minimal length of unquoted stringSébastien Helleu
2018-02-07exec: add note about piped commands in /help exec for option -shSébastien Helleu
2018-01-14core: reinitialize config file pointer to NULL after an error on section ↵Sébastien Helleu
creation
2018-01-05core: update copyright datesSébastien Helleu
2017-09-23core, plugins: check return code of strftime functionSébastien Helleu
2017-08-12core: fix cast of time_t (to "long long" instead of "long") (closes #1051)Sébastien Helleu
2017-08-10core: remove value for first #define in headers, add "PLUGIN" in plugin headersSébastien Helleu
2017-06-25fset: shift plugins priority to insert fset plugin between buflist and fifoSébastien Helleu
2017-06-10core, plugins: fix conditions to insert elements in linked listsSébastien Helleu
This removes scan-build warnings about dereference of last_xxx null pointers.
2017-06-03exec, fifo, irc: remove unused #define-sSimmo Saan
2017-03-25buflist: load plugin after some other plugins by shifting plugins prioritySé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-07exec: update help descriptions for command /exec to keep compatibility ↵AYANOKOUZI, Ryuunosuke
between options Related-Bug: #877
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-06exec: fix memory leak in display of process outputSébastien Helleu
2017-01-01core: update copyright datesSébastien Helleu
2016-06-18api: remove functions printf_date() and printf_tags()Sé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-03-13exec: fix example in /help execSébastien Helleu
2016-01-01core: update copyright datesSébastien Helleu
2015-01-15core: add priority in plugins to initialize them in orderSébastien Helleu
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer, irc, relay, guile/lua/perl/python/ruby/tcl, script.
2015-01-01core: update copyright datesSébastien Helleu
2014-12-13core: use https for WeeChat URLsSébastien Helleu
2014-11-22api: return value in function command(), remove WeeChat error after command ↵Sébastien Helleu
callback if return code is WEECHAT_RC_ERROR
2014-08-09exec: invert a condition to make code more readableSébastien Helleu
2014-04-12core: use lower case for CMake keywordsSébastien Helleu
2014-04-03exec: fix tag stdout/stderr used in command outputSébastien Helleu
2014-04-03exec: remove commentSébastien Helleu
2014-04-03exec: kill all processes using an exec buffer that is being closedSébastien Helleu
2014-04-03exec: add examples with "tail -f" and "-kill" in /help execSébastien Helleu
2014-04-03exec: display output of commands in real time, add options -flush/-noflush ↵Sébastien Helleu
in command /exec
2014-04-03exec: display command output even if process is killedSébastien Helleu
2014-03-30exec: fix typo in /help execSébastien Helleu
2014-03-25exec: allow clear of new buffers with /buffer clearSebastien Helleu
2014-03-25exec: add options -nf and -cl/-nocl in command /execSebastien Helleu
-nf: create a new buffer with free content -cl: clear new buffer -nocl: append in new buffer
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-03-17exec: don't use shell by default when executing commands (for security reasons)Sebastien Helleu
It is possible to force shell by default with this command: /set exec.command.default_options "-sh"
2014-03-16exec: add example with option "-pipe" in /help execSebastien Helleu
2014-03-16exec: add return code ("rc") in hashtable sent with option "-hsignal"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: do not create/switch to buffer with option "-bg"Sebastien Helleu
2014-03-15exec: add examples in /help execSebastien Helleu
2014-03-15exec: fix typo in /help 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-15core: update translationsSebastien Helleu
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: switch to exec buffer even if it is already openedSebastien Helleu
2014-03-13exec: add missing empty lines in output of commandsSebastien Helleu
The function weechat_string_split() collapses many separators (here "\n"), so empty lines were removed and not displayed. For example, if output is "Line1\n\nEnd\n", the empty line between "Line1" and "End" was not displayed.