305 Commits

Author SHA1 Message Date
Sébastien Helleu
a44a1eab19 core: fix "/buffer clear" with a name (don't clear all merged buffers with same number) 2014-04-05 11:49:06 +02:00
Sébastien Helleu
37144535a5 core: fix evaluation of expression with regex when a comparison char is in the regex 2014-04-04 16:52:12 +02:00
Sébastien Helleu
df8acd1d7b irc: allow many fingerprints in server option ssl_fingerprint (closes #49) 2014-04-04 16:00:07 +02:00
Sébastien Helleu
de4ce8eeb6 irc: add option irc.look.item_channel_modes_hide_args (task #12070, task #12163, closes #48)
This option replaces the option irc.look.item_channel_modes_hide_key.
It is now a string, so channel modes arguments can be hidden using many
channel modes (or all, with "*").
2014-04-04 12:32:59 +02:00
Sébastien Helleu
982373f7e9 irc: add option irc.color.item_nick_modes (closes #47) 2014-04-04 09:45:17 +02:00
Sébastien Helleu
2a9bd75eee core: close .upgrade files before deleting them after /upgrade 2014-04-03 14:23:31 +02:00
Sébastien Helleu
55e43e15f8 api: allow value "-1" for property "hotlist" in function buffer_set (to remove a buffer from hotlist) 2014-04-03 13:53:18 +02:00
Sébastien Helleu
936d5559f4 api: add option "buffer_flush" in function hook_process_hashtable 2014-04-03 11:39:23 +02:00
Sébastien Helleu
a03232e155 core: add default key alt-'-' to toggle filters in current buffer (closes #17) 2014-04-01 16:00:44 +02:00
Sébastien Helleu
0e561104fa core: add non-active merged buffers with activity in hotlist (if another merged buffer is zoomed) (task #12845)
There was a bug with "num_displayed" in buffers when they are merged and
that one buffer is zoomed: now the num_displayed is > 0 for the active buffer,
and it is set to 0 for all merged non-active buffers (only in case of zoom).

A variable "zoomed" has been added in buffers to know if a buffer with this
number is zoomed or not (possibly another buffer).
2014-03-31 10:31:56 +02:00
Sébastien Helleu
1fedd443da core: fix refresh of bar item "buffer_zoom" on buffer switch 2014-03-31 10:27:31 +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
Sebastien Helleu
0cfbae1512 core: fix reset of attributes in bars when "resetcolor" is used (closes #41) 2014-03-30 08:34:32 +02:00
Sebastien Helleu
5c1e5988f9 core: fix alignment of lines in merged buffers (closes #43)
The bug happened when options weechat.look.prefix_align and
weechat.look.prefix_buffer_align are set to "none".
2014-03-29 20:26:49 +01:00
Sebastien Helleu
2e08e39d2e core: quit WeeChat on signal SIGHUP, remove signal "signal_sighup" 2014-03-29 18:21:05 +01:00
Sebastien Helleu
db000cd3b0 core: add text search in buffers with free content (task #13051) 2014-03-29 17:06:36 +01:00
Sebastien Helleu
d0138a8742 core: update ChangeLog 2014-03-25 11:43:10 +01:00
Sebastien Helleu
c9116e4982 irc: add command /unquiet (closes #36) 2014-03-22 09:30:04 +01:00
Sebastien Helleu
3a6313c4b5 api: add support of nested variables in function string_eval_expression and command /eval (closes #35) 2014-03-20 15:57:46 +01:00
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
63b474013e irc: add command /allpv (task #13111) 2014-03-19 19:13:41 +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
e84eaafe8e script: set option script.scripts.cache_expire to 1440 by default 2014-03-17 12:59:46 +01:00
Sebastien Helleu
a4a4e2f38f core: fix compilation on SmartOS (bug #40981, closes #23) 2014-03-16 19:18:16 +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
7f54a1adc1 ruby: add detection of Ruby 2.1 2014-03-16 11:26:47 +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
5c5084c37f xfer: fix connection to remote host in DCC receive on Mac OS X (closes #25) 2014-03-14 09:29:41 +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
1a30be392b core: update ChangeLog 2014-03-12 22:26:14 +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
0b73de9e98 core: update ChangeLog 2014-03-12 09:44:39 +01:00
Sebastien Helleu
19d93d28ab core: update ChangeLog 2014-03-12 09:30:09 +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
4f48c7a566 api: add option "detached" in function hook_process_hashtable 2014-03-11 17:48:52 +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
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