Sébastien Helleu
3b32d62fa6
trigger: add filter in trigger monitor buffer
...
The filter can be set with /trigger monitor <filter> or by entering data
in the trigger monitor input.
2014-04-01 14:26:02 +02:00
Sébastien Helleu
e791c24a2e
irc: allow "$ident" in option irc.network.ban_mask_default ( closes #18 )
2014-03-30 18:58:11 +02:00
Sébastien Helleu
474541b857
irc: add support of "away-notify" capability ( closes #12 )
2014-03-30 16:16:13 +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
966a2f4fb4
irc: fix notify message: "joined" -> "connected"
2014-03-24 14:34:09 +01:00
Sebastien Helleu
aad5765e35
irc: replace "user" by "nick" in description of commands
2014-03-22 10:05:45 +01:00
Sebastien Helleu
73576b49d0
irc: fix arguments in /help unquiet: at least one nick/host is required
2014-03-22 10:01:25 +01:00
Sebastien Helleu
262340ba19
irc: update description of some commands
2014-03-22 09:55:13 +01:00
Sebastien Helleu
c9116e4982
irc: add command /unquiet ( closes #36 )
2014-03-22 09:30:04 +01:00
Sebastien Helleu
b09fbea954
irc: fix typo in /help allpv
2014-03-19 19:24:35 +01:00
Sebastien Helleu
63b474013e
irc: add command /allpv (task #13111 )
2014-03-19 19:13:41 +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
387cc5048a
irc: fix truncated read on socket with SSL (bug #41558 )
...
If there are still data on socket with SSL
(if gnutls_record_check_pending(session) returns > 0), then call
gnutls_record_recv() again to read all available data.
The problem was that some data remained in the gnutls buffers and the recv
callback was not called any more (nothing available on raw socket).
2014-03-18 13:27:18 +01:00
Sebastien Helleu
d6fbe95090
trigger: set default variable "tg_remaining_calls" for regex in timer callback
2014-03-17 18:23:11 +01:00
Sebastien Helleu
63c2915e3c
irc: fix typo in /help kickban
2014-03-17 17:23:55 +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
e84eaafe8e
script: set option script.scripts.cache_expire to 1440 by default
2014-03-17 12:59:46 +01:00
Sebastien Helleu
d920f87455
core: fix some compilation problems on SmartOS
2014-03-16 17:46:56 +01:00
Sebastien Helleu
fa28d23c4d
ruby: fix crash when trying to load a directory with /ruby load
2014-03-16 16:49:41 +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
7afd013665
trigger: fix build of hashtable in hsignal callback when values have type "string"
2014-03-16 08:50:24 +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
85abcaedaa
Merge branch 'exec'
2014-03-15 12:28:07 +01:00
Sebastien Helleu
0bfbe8ef40
irc: add decoding of bright ANSI colors (90-97, 100-107)
2014-03-15 12:09:51 +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
d3c85c920c
irc: add modifier "irc_color_decode_ansi"
2014-03-15 11:12:49 +01:00
Sebastien Helleu
e38f437ad7
core: add modifier and infos to decode ANSI colors
...
New modifier:
- color_decode_ansi: convert ANSI colors to WeeChat colors (or remove colors).
New infos:
- color_ansi_regex: regex used to parse ANSI colors in a string
- color_term2rgb: convert a terminal color (0-255) to RGB
- color_rgb2term: convert a RGB color to terminal color (0-255)
2014-03-15 11:06:30 +01:00
Andrew Potter
1baa2e288c
xfer: Fix segfault in DCC send.
...
This was broken before the previous change, since remote_address was
just a zero'd out struct.
2014-03-13 21:05:47 -07:00
Andrew Potter
92d454eb8d
xfer: Don't use sockaddr_storage for address_length
...
Hopefully this addresses #25 .
2014-03-13 20:32:59 -07: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
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
86e12946a5
irc: add "#" before any channel in /join, even /join 0 ( closes #20 )
2014-03-12 22:00:05 +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