Sebastien Helleu
cd65198c71
api: add callback in function string_replace_regex
2014-03-13 10:59:58 +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
9543f9c034
core: add missing \0 at the end of stderr buffer in hook_process
2014-03-11 21:11:54 +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
5708b3977c
exec: update plugin API version
2014-03-11 17:49:50 +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
Sebastien Helleu
4f48c7a566
api: add option "detached" in function hook_process_hashtable
2014-03-11 17:48:52 +01:00
Sebastien Helleu
cd66b459de
relay: search buffers by full name
2014-03-11 15:30:51 +01:00
Sebastien Helleu
e3207000dd
fifo: search buffer by full name when text is received in pipe
2014-03-11 15:16:55 +01:00
Sebastien Helleu
9c838d2628
api: add support of case insensitive search and search by buffer full name in function buffer_search (bug #34318 )
2014-03-11 15:07:36 +01:00
Sebastien Helleu
42b416af19
api: add option "signal" in function hook_set to send a signal to the child process
2014-03-11 11:14:07 +01:00
Sebastien Helleu
b6da2c3fa5
core: fix detection of terminated process in hook_process
...
Check if the process is finished, even if stdout/stderr are not closed.
Moreover, if the process was terminated by a signal, the return code is
set to WEECHAT_HOOK_PROCESS_ERROR.
2014-03-11 11:01:00 +01:00
Sebastien Helleu
acb24d9d2a
trigger: add plugin name in error messages
2014-03-10 21:10:23 +01:00
Sebastien Helleu
765b603cb2
trigger: remove unneeded code to make C compiler happy
2014-03-09 09:13:29 +01:00
Sebastien Helleu
1589e54e02
trigger: fix typo in a comment
2014-03-08 09:15:17 +01:00
Sebastien Helleu
32703ae42b
core: set option weechat.look.buffer_search_where to prefix_message by default
2014-03-07 20:47:28 +01:00
Sebastien Helleu
f62472e377
script: fix scroll on script buffer in the detailed view of script ( closes #6 )
2014-03-07 17:50:18 +01:00
Sebastien Helleu
8fac1eea40
core: fix "/window scroll -N" on a buffer with free content
2014-03-07 17:46:51 +01:00
Sebastien Helleu
7a191c2de1
relay: fix crash on /upgrade received from a client (weechat protocol)
...
Some commands like /upgrade sent by relay client can cause problems, because
they were executed immediately (while relay code is running). The /upgrade
command unloads all plugins, so the result is unpredictable (it can cause a
crash).
This commit adds a timer (1 millisecond) to delay the execution of command
after we go back in the WeeChat main loop.
2014-03-07 09:22:21 +01:00
Sebastien Helleu
dc2365104f
core: add option weechat.look.hotlist_add_conditions, remove option weechat.look.hotlist_add_buffer_if_away
2014-03-06 19:29:08 +01:00
Sebastien Helleu
6fbba54bf0
core: fix recursive calls to function eval_expression
2014-03-06 18:23:20 +01:00
Sebastien Helleu
2d7778292a
relay: add info "relay_client_count" with optional status name as argument
...
Use in evaluated strings (for example in /eval or triggers):
- "${info:relay_client_count}": total number of relay clients (any status)
With a specific status:
- "${info:relay_client_count,connecting}"
- "${info:relay_client_count,waiting_auth}"
- "${info:relay_client_count,connected}"
- "${info:relay_client_count,auth_failed}"
- "${info:relay_client_count,disconnected}"
2014-03-05 11:49:25 +01:00
Sebastien Helleu
0995eb334f
relay: add signals "relay_client_xxx" for client status changes ( closes #2 )
...
New signals:
- relay_client_connecting
- relay_client_waiting_auth
- relay_client_connected
- relay_client_auth_failed
- relay_client_disconnected
2014-03-05 11:43:32 +01:00
Sebastien Helleu
fba765cb8f
trigger: update description of trigger plugin
2014-03-04 21:48:23 +01:00
Sebastien Helleu
6b7d96f4b4
core: mute all buffers by default in command /mute (replace option -all by -core)
2014-03-04 16:12:56 +01:00
Sebastien Helleu
12b82146aa
core: save and restore mute state in command /mute (bug #41748 )
2014-03-04 14:42:35 +01:00
Sebastien Helleu
2b2c729854
trigger: add some missing "+" after spaces in regex of default triggers cmd_pass/msg_auth
2014-03-04 12:38:54 +01:00
Sebastien Helleu
3c398bd61d
rmodifier: remove plugin (replaced by trigger)
2014-03-04 12:08:33 +01:00
Sebastien Helleu
be9046741f
core: fix memory in execution of commands
...
This memory leak was introduced by commit aa81067ad0
2014-03-02 17:59:40 +01:00
Sebastien Helleu
32a4f4e1d5
core: fix memory leak when removing a hdata
2014-03-02 17:59:08 +01:00
Sebastien Helleu
4b57c95494
core: fix memory leak in evaluation of sub-conditions
2014-03-02 17:43:19 +01:00