Sébastien Helleu
7618fdd240
core: use lower case for CMake keywords
2014-04-12 18:00:27 +02:00
Sébastien Helleu
220682c1bc
exec: fix tag stdout/stderr used in command output
2014-04-03 13:11:03 +02:00
Sébastien Helleu
7bff59ed33
exec: remove comment
2014-04-03 13:08:53 +02:00
Sébastien Helleu
a470a1a890
exec: kill all processes using an exec buffer that is being closed
2014-04-03 12:24:20 +02:00
Sébastien Helleu
d055d4a2bd
exec: add examples with "tail -f" and "-kill" in /help exec
2014-04-03 12:22:53 +02:00
Sébastien Helleu
7c55cbb38b
exec: display output of commands in real time, add options -flush/-noflush in command /exec
2014-04-03 11:55:04 +02:00
Sébastien Helleu
6bf64e979d
exec: display command output even if process is killed
2014-04-03 09:19:30 +02:00
Sébastien Helleu
d7d91d6cf3
exec: fix typo in /help exec
2014-03-30 12:25:34 +02:00
Sebastien Helleu
babb3abff4
exec: allow clear of new buffers with /buffer clear
2014-03-25 10:56:05 +01:00
Sebastien Helleu
8deb0d3612
exec: add options -nf and -cl/-nocl in command /exec
...
-nf: create a new buffer with free content
-cl: clear new buffer
-nocl: append in new buffer
2014-03-25 09:25:47 +01:00
Sebastien Helleu
9b380a935b
core: fix use of reserved C identifiers in headers ( closes #31 )
2014-03-19 10:39:13 +01:00
Sebastien Helleu
30de830982
exec: don't use shell by default when executing commands (for security reasons)
...
It is possible to force shell by default with this command:
/set exec.command.default_options "-sh"
2014-03-17 14:59:00 +01:00
Sebastien Helleu
6981a17bbb
exec: add example with option "-pipe" in /help exec
2014-03-16 10:29:07 +01:00
Sebastien Helleu
9a51449ee6
exec: add return code ("rc") in hashtable sent with option "-hsignal"
2014-03-16 10:08:08 +01:00
Sebastien Helleu
fcf5e84fa4
exec: add values "irc" and "weechat" for option "-color", replace "decode" by "auto"
2014-03-16 09:52:44 +01:00
Sebastien Helleu
ffba715ea1
exec: add options "-pipe" and "-hsignal" in command /exec
2014-03-16 09:37:45 +01:00
Sebastien Helleu
11f2f5d3e4
exec: do not create/switch to buffer with option "-bg"
2014-03-15 19:48:37 +01:00
Sebastien Helleu
4245de528e
exec: add examples in /help exec
2014-03-15 19:40:15 +01:00
Sebastien Helleu
ff636cae89
exec: fix typo in /help exec
2014-03-15 19:22:28 +01:00
Sebastien Helleu
112398ee62
exec: fix compilation on OpenBSD
...
Looks like the variable name "stdout" is a problem on OpenBSD (macro?).
So "stdout" and "stderr" are renamed to "out" an "err".
2014-03-15 15:56:58 +01:00
Sebastien Helleu
fff24d0a23
core: update translations
2014-03-15 15:08:49 +01:00
Sebastien Helleu
c92b186e01
exec: rename value "off" to "ansi" for option "-color" in command /exec
2014-03-15 12:43:06 +01:00
Sebastien Helleu
298f0211c1
exec: add option "-color" in command /exec (decode ANSI colors by default)
...
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-15 11:30:08 +01:00
Sebastien Helleu
d791e76e1b
exec: switch to exec buffer even if it is already opened
2014-03-13 14:50:38 +01:00
Sebastien Helleu
7b31d397b7
exec: add missing empty lines in output of commands
...
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-13 12:08:33 +01:00
Sebastien Helleu
c8f574d730
exec: disable "output to buffer" if command is executed on an exec buffer
2014-03-13 09:02:36 +01:00
Sebastien Helleu
0eca1fd20b
exec: add options "-rc"/"-norc" (display return code) in command /exec
2014-03-13 07:56:20 +01:00
Sebastien Helleu
571a7a5dbe
exec: execute commands from input of exec buffers
2014-03-13 07:38:16 +01:00
Sebastien Helleu
ed6ea18c30
exec: add options "-ln"/"-noln" (line numbers) in command /exec
2014-03-12 19:52:04 +01:00
Sebastien Helleu
08bffd6f5a
exec: automatically disable shell if command starts with "url:" (URL download)
2014-03-12 19:18:29 +01:00
Sebastien Helleu
6c20e402dc
exec: add options "-buffer" and "-sw"/"-nosw" in command /exec
2014-03-12 19:13:56 +01:00
Sebastien Helleu
442bc80da6
exec: add option "-inclose" in command /exec
2014-03-12 12:04:23 +01:00
Sebastien Helleu
2962ce55d6
exec: add missing completion of "-ns" in command /exec
2014-03-12 11:56:09 +01:00
Sebastien Helleu
e8de096625
exec: add options "-n"/"-ns" in command /exec (display output in a new buffer)
2014-03-12 11:54:00 +01:00
Sebastien Helleu
0790836695
exec: add option exec.command.default_options
2014-03-12 09:57:39 +01:00
Sebastien Helleu
d5e1a52e24
exec: fix crash when giving bad id to command /exec -in
2014-03-11 20:13:28 +01:00
Sebastien Helleu
2dc6eeaee2
exec: add option "-del" in command /exec
2014-03-11 18:11:52 +01:00
Sebastien Helleu
281cfdda94
exec: add option "-bg" in command /exec
2014-03-11 17:51:06 +01:00
Sebastien Helleu
319f2a51ec
exec: fix typos in /help exec
2014-03-11 17:49:50 +01:00
Sebastien Helleu
e3de3e6dda
exec: add option "-set" in command /exec
2014-03-11 17:49:50 +01:00
Sebastien Helleu
29e498d002
exec: replace number by id in /help exec
2014-03-11 17:49:50 +01:00
Sebastien Helleu
67b892d1fd
exec: add list of signal names in /help exec
2014-03-11 17:49:50 +01:00
Sebastien Helleu
2527c282c3
exec: implement options -signal/-kill/-killall in command /exec
2014-03-11 17:49:49 +01:00
Sebastien Helleu
3f50356a14
exec: remove error prefix in case of unexpected end of a command
2014-03-11 17:49:49 +01:00
Sebastien Helleu
ee2cb329f4
exec: display command return code after output (stdout/stderr)
2014-03-11 17:49:49 +01:00
Sebastien Helleu
9355c867ed
exec: add tag "exec_rc" for line with command return code, remove empty line displayed before
2014-03-11 17:49:49 +01:00
Sebastien Helleu
97254780d6
exec: add exec plugin
2014-03-11 17:49:49 +01:00