Sebastien Helleu
89160c565e
core: fix add of filter on OS X when regex for message is empty (filter regex ending with "\t")
2014-03-19 19:59:02 +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
bc96d2f1ec
core: add key alt-j,alt-f to jump to first buffer, change command for jump to last buffer
...
New key alt-j,alt-f is bound by default to "/buffer -".
The existing key alt-j,alt-l is now bound by default to "/buffer +".
2014-03-19 10:15:57 +01:00
Sebastien Helleu
f82fe29ac3
core: update the message displayed on crash
...
Add a reference to user's guide, do not ask user to send the crash log
file any more (it may have private data and is not needed in most cases).
2014-03-18 15:22:15 +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
ffb0ec47c2
core: check validity of buffer pointer when data is sent to a buffer
2014-03-18 12:08:11 +01:00
Sebastien Helleu
476729b897
core: fix crash when buffer is closed during execution of multiple commands ( closes #27 )
2014-03-18 11:50:44 +01:00
Sebastien Helleu
f09e1c136c
core: remove trailing space in log message when writing a configuration file
2014-03-18 09:25:15 +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
db852a3f26
core: fix "/window scroll_bottom" on a buffer with free content
...
The bug was introduced by commit 8fac1eea40
which purpose was to not scroll to the end of buffer with "/window scroll -N"
when the top of buffer is displayed.
This commit is adding the syntax "--N" to force a scroll from the end (only
used by "/window scroll_bottom").
2014-03-17 08:32:18 +01:00
Sebastien Helleu
a4a4e2f38f
core: fix compilation on SmartOS (bug #40981 , closes #23 )
2014-03-16 19:18:16 +01:00
Sebastien Helleu
d920f87455
core: fix some compilation problems on SmartOS
2014-03-16 17:46:56 +01:00
Sebastien Helleu
907e099f86
api: allow negative value for y in function printf_y
2014-03-16 17:21:35 +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
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
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
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
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