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
4582a3cd24
Merge branch 'master' of git://github.com/talisein/weechat-1 into talisein-master
2014-03-12 09:36:09 +01:00
Sebastien Helleu
a38e577596
core: update translations
2014-03-12 09:30:09 +01:00
Shawn Smith
d3ee1bcfe0
irc: display output of CAP LIST in server buffer ( closes #10 )
2014-03-12 09:30:02 +01:00
Andrew Potter
9f140ca805
xfer: Fix xfer.network.own_ip behavior
...
Fixes #5 . xfer shouldn't try to bind() to the own_ip
address. Instead, always bind to the same local address that is
connected to the irc server, and just change the out_addr if own_ip is
used.
Also fixes a memory leak in error path.
2014-03-11 21:21:18 -07: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
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
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
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
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
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
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
16c13e94a6
trigger: add variable "tg_notify" (notify level of a message, if different from "none")
2014-03-02 12:35:34 +01:00
Sebastien Helleu
cc5ab76186
trigger: allow chars '\' and '(' as delimiter in regex
2014-03-02 08:40:17 +01:00
Sebastien Helleu
ddf3e9043b
trigger: do not create the trigger with /trigger add if the regex is invalid
2014-03-02 08:32:05 +01:00
Sebastien Helleu
8f0294f8d0
trigger: fix typo in /help trigger
2014-03-01 19:00:54 +01:00
Sebastien Helleu
7a1798a7fb
trigger: fix typo in /help trigger
2014-03-01 17:42:28 +01:00
Sebastien Helleu
44b8447ff0
trigger: make optional the alignment on second and max calls (in hook timer)
2014-03-01 17:25:48 +01:00
Sebastien Helleu
050d2023d6
irc: fix colors in message with CTCP reply sent to another user
2014-02-28 15:07:23 +01:00
Sebastien Helleu
cf48fa4642
irc: evaluate content of server options "username" and "realname"
2014-02-28 15:00:39 +01:00
Sebastien Helleu
13b0a88f21
trigger: allow empty return code in command /trigger {add|addoff|addreplace}
2014-02-28 11:48:59 +01:00
Sebastien Helleu
02dcc3cb69
xfer: replace constant by sizeof in a call to snprintf
2014-02-28 11:45:18 +01:00
Sebastien Helleu
7ff2dd13cb
rmodifier: fix size used in a snprintf
2014-02-28 11:41:14 +01:00
Sebastien Helleu
4c3a10506a
relay: fix size used in a snprintf
2014-02-28 11:40:55 +01:00
Sebastien Helleu
82ade05f66
irc: fix size used in some snprintf
2014-02-28 11:39:48 +01:00
Sebastien Helleu
6ea8c2d83c
irc: fix some malloc sizes
2014-02-28 11:39:24 +01:00
Sebastien Helleu
7213fe5826
scripts: fix size used in some snprintf
2014-02-28 11:38:23 +01:00
Sebastien Helleu
fdfee08cf8
relay: add option relay.network.clients_purge_delay
2014-02-23 20:32:42 +01:00
Sebastien Helleu
897bb0950c
relay: fix freeze after /upgrade when many disconnected clients still exist
...
The hooks for the WeeChat disconnected clients are not created again
after /upgrade (they were removed on client disconnection, so there is
no reason to create them again).
The hooks like nicklist sync are called often (for example on irc
disconnection), which can cause long freeze if many WeeChat disconnected
clients exist in relay.
2014-02-23 13:07:45 +01:00
Sebastien Helleu
980326c685
trigger: fix potential uninitialized pointer in signal hook callback
2014-02-22 20:23:08 +01:00