summaryrefslogtreecommitdiff
path: root/src/plugins/exec/exec.c
AgeCommit message (Collapse)Author
2020-01-04core: update copyright datesSébastien Helleu
2019-06-24core: auto disable upgrade process (command line option "--upgrade") if the ↵Sébastien Helleu
file weechat.upgrade is not found
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-08-12core: fix cast of time_t (to "long long" instead of "long") (closes #1051)Sé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-03-25buflist: load plugin after some other plugins by shifting plugins prioritySébastien Helleu
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-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-08-09exec: invert a condition to make code more readableSé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: 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-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-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: 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 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.
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: remove error prefix in case of unexpected end of a commandSebastien Helleu
2014-03-11exec: display command return code after output (stdout/stderr)Sebastien Helleu
2014-03-11exec: add tag "exec_rc" for line with command return code, remove empty line ↵Sebastien Helleu
displayed before
2014-03-11exec: add exec pluginSebastien Helleu