nils_2
0c18f6defe
core: update German translations
2014-03-15 19:12:23 +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
4ee2ef584d
doc: add exec plugin in developer's guide
2014-03-15 15:15:29 +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
520509d62c
core: update ChangeLog
2014-03-15 12:31:11 +01:00
Sebastien Helleu
85abcaedaa
Merge branch 'exec'
2014-03-15 12:28:07 +01:00
Sebastien Helleu
a62430b744
doc: fix IRC colors 14/15 in user's guide
2014-03-15 12:14:20 +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
6749ed354d
core: add decoding of bright ANSI colors (90-97, 100-107)
2014-03-15 12:09:31 +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
Sebastien Helleu
9e659d9f2e
core: add options "term2rgb" and "rgb2term" in command /color
2014-03-14 19:51:52 +01:00
Sebastien Helleu
a97bcd1ca1
core: add functions to convert RGB to terminal color (and vice versa)
2014-03-14 19:16:13 +01:00
Sebastien Helleu
5c5084c37f
xfer: fix connection to remote host in DCC receive on Mac OS X ( closes #25 )
2014-03-14 09:29:41 +01:00
Sébastien Helleu
b9b55f9c81
Merge pull request #26 from talisein/bug25
...
xfer: Don't use sockaddr_storage for address_length
2014-03-14 09:27: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
d52e5d8c8a
core: update ChangeLog ( closes #24 )
2014-03-13 14:17:04 +01:00
Sebastien Helleu
eb21248ae7
core: fix highlight problem with "(?-i)" and upper case letters in option weechat.look.highlight
2014-03-13 14:14:10 +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
1a30be392b
core: update ChangeLog
2014-03-12 22:26:14 +01:00
Fredrik Fornwall
cdb2a7374d
core: use glibtoolize on mac instead of libtoolize
2014-03-12 22:25:59 +01:00
Fredrik Fornwall
2ea9f673a8
core: assume iconv usability when cross compiling
...
AC_TRY_RUN needs a fallback action when cross compiling.
2014-03-12 22:12:07 +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
nils_2
ace01aff50
core: update translations
2014-03-12 21:36:09 +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
0b73de9e98
core: update ChangeLog
2014-03-12 09:44: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
19d93d28ab
core: update ChangeLog
2014-03-12 09:30: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
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