Sebastien Helleu
43fb54f51d
core: fix apply of layout when buffers that are not in layout are before some buffers in layout
...
Now when a layout is applied, the buffers in layout are inserted/sorted
first in the new list. Then the other buffers (not in layout) are added
after this loop, and then they are added after all layout buffers.
2014-02-07 17:07:45 +01:00
Sebastien Helleu
0ffb61617a
core: fix hotlist problems after apply of a layout (bug #41481 )
...
This commit fixes a problem when computing the value of "num_displayed"
in all buffers. For merged buffers (with same number), the num_displayed
of each merged buffer must be incremented (and not only the current
active buffer).
2014-02-06 15:17:00 +01:00
Sebastien Helleu
d8b9e0a6bf
ruby: add detection and fix compilation with Ruby 2.0 (patch #8209 )
...
Now the search for Ruby is first performed with pkg-config and includes
detection of Ruby 2.0.
If not found, the old code for detection is used (for old distros or
old Ruby versions).
The specific test on Ruby 1.9.0 (to disable this version) has been
removed (1.9.0 was a dev/unstable version from 2007, quite old now).
2014-02-05 17:27:36 +01:00
Patrick Steinhardt
47ced4833d
core: fix installation of weechat-plugin.h with autotools (patch #8305 )
2014-02-04 22:18:12 +01:00
Sebastien Helleu
a3b5ae5e65
alias: add default alias /beep => /print -stderr \a
2014-02-04 16:20:55 +01:00
Sebastien Helleu
b91378fedc
core: use structure itself for sizeof in two malloc
2014-02-04 08:34:05 +01:00
Sebastien Helleu
a2839fabb5
ruby: fix compilation warning
2014-02-02 20:33:03 +01:00
Sebastien Helleu
6c47428e78
core: fix compilation on Android (replace include of sys/termios.h by termios.h) (bug #41434 )
2014-02-02 15:12:37 +01:00
Sebastien Helleu
01fb345fe0
core: fix compilation on Android (replace calls to rindex by strrchr) (bug #41420 , patch #8301 )
2014-02-02 09:00:46 +01:00
Sebastien Helleu
9db356bd9b
core: fix crash when creating two bars with same name but different case (bug #41418 )
2014-02-01 09:12:51 +01:00
Sebastien Helleu
219f75b225
irc: clear the gnutls session in all cases after SSL connection error
2014-01-31 19:24:26 +01:00
Sebastien Helleu
59481611dd
relay: send backlog for irc private buffers
2014-01-31 16:41:12 +01:00
Sebastien Helleu
f3d614460b
core: fix typos in translations and docs
2014-01-29 22:37:33 +01:00
Sebastien Helleu
f285fdafa0
irc: add value "353" in option irc.look.display_join_message
...
So now the values mean:
- 353: names on channel
- 366: names count (before this commit it meant 353 + 366)
2014-01-28 18:31:03 +01:00
Sebastien Helleu
1b2f4108fd
core: fix display of read marker when all buffers line are unread
...
The bug is when all buffer lines are unread (so "last_read_line" pointer
is NULL), and that the option weechat.look.read_marker_always_show is on.
The read marker was displayed at bottom after switch to the buffer.
Thanks to Nils Görs.
2014-01-27 18:32:32 +01:00
Sebastien Helleu
b8ffa87b5c
logger: replace backslashs in name by logger replacement char under Cygwin (bug #41207 )
2014-01-27 16:31:36 +01:00
Sebastien Helleu
58c615f33b
core: fix memory leak in regex matching when evaluating expression
2014-01-26 20:04:05 +01:00
Sebastien Helleu
0fbbbb4435
irc: add command "monitor" in /help irc.look.notify_tags_ison
2014-01-25 13:37:41 +01:00
Sebastien Helleu
86a99af606
scripts: fix script interpreter used after register during load of script in python/perl/ruby/lua/guile plugins (bug #41345 )
2014-01-25 13:04:25 +01:00
Sebastien Helleu
97cede06b5
core: add support of escaped unicode chars in commands /print and "/input insert"
2014-01-24 12:53:23 +01:00
Sebastien Helleu
3acdcee0d9
irc: use MONITOR instead of ISON for /notify when it is available on server (task #11477 ) (patch from Nils Görs)
2014-01-23 11:31:57 +01:00
Sebastien Helleu
48797574ff
core: revert the rename of option weechat.look.save_layout_on_exit
2014-01-22 18:50:24 +01:00
Sebastien Helleu
b49f825d0a
core: fix typo in /help print
2014-01-22 15:44:00 +01:00
Sebastien Helleu
a763797d36
api: add function "infolist_search_var"
2014-01-22 15:08:50 +01:00
Sebastien Helleu
79f2f46dec
core: rename option weechat.look.save_layout_on_exit to weechat.look.store_layout_on_exit, replace "save" by "store" for layouts
2014-01-21 22:03:12 +01:00
Sebastien Helleu
26dfd69f87
core: change format of buffer name in output of /buffer
...
Now the full name of buffer is displayed, without parentheses around the
plugin name.
The old ouput was:
[1] (core) weechat (notification: all)
[1] (irc) server.freenode (notification: all)
[2] (irc) freenode.#weechat (notification: all)
Now it is:
[1] core.weechat (notification: all)
[1] irc.server.freenode (notification: all)
[2] irc.freenode.#weechat (notification: all)
2014-01-21 15:32:09 +01:00
Sebastien Helleu
5c661a497f
core: delay the signal "signal_sigwinch" after WeeChat screen refresh
...
The signal is sent after WeeChat screen refresh, so all sizes for
windows, bars, ... are already adjusted to the new terminal size.
2014-01-21 14:19:12 +01:00
Sebastien Helleu
5d1568ecc2
core: add signals "signal_sighup" and "signal_sigwinch" (terminal resized)
2014-01-21 14:06:57 +01:00
Sebastien Helleu
a6ed216052
irc: do not display names by default when joining a channel (task #13045 )
2014-01-21 12:55:48 +01:00
Sebastien Helleu
160ab683ef
core: update translations
2014-01-21 12:33:03 +01:00
Sebastien Helleu
d820389f8a
irc: refactor code in gnutls callback to display certificates even if option ssl_fingerprint is set
2014-01-21 12:21:13 +01:00
Sebastien Helleu
1ce23cd331
irc: check that server option ssl_fingerprint has exactly 40 hexadecimal digits (when set to non-empty value)
2014-01-21 10:44:35 +01:00
Maarten de Vries
357740f455
irc: add server option "ssl_fingerprint" (task #12724 )
2014-01-21 10:35:38 +01:00
Sebastien Helleu
462b106197
irc: add comment with return value for function irc_server_gnutls_callback
2014-01-20 22:43:01 +01:00
Sebastien Helleu
91dad6808a
irc: display PONG answer when resulting from manual /ping command
2014-01-20 11:27:37 +01:00
Sebastien Helleu
4da8fcf34d
core: add command /print
2014-01-19 23:29:00 +01:00
Sebastien Helleu
49f4c8e9ef
core: fix typo in arguments description of command /mute
2014-01-18 21:27:22 +01:00
Sebastien Helleu
8fc7515322
core: reformat hook_command arguments
2014-01-18 20:33:19 +01:00
Sebastien Helleu
facd73734d
core: update some function comments
2014-01-18 09:09:23 +01:00
Sebastien Helleu
110f558629
core: set max value for option weechat.look.hotlist_names_count to GUI_BUFFERS_MAX (10000)
2014-01-16 23:09:44 +01:00
Sebastien Helleu
4b7e90c679
core: add option weechat.look.tab_width
2014-01-15 15:10:54 +01:00
Sebastien Helleu
70ffe0a14f
core: add completion "plugins_installed"
2014-01-14 13:27:43 +01:00
Sebastien Helleu
31e1b28c90
core: fix typo in /help weechat.look.highlight_regex
2014-01-13 16:09:01 +01:00
Sebastien Helleu
48837c35bc
api: add stdin options in functions hook_process_hashtable and hook_set (task #10847 , task #13031 )
...
The function hook_set has been added in script API.
2014-01-11 09:12:04 +01:00
Sebastien Helleu
e5b0b827ef
irc: fix time parsed in tag of messages on Cygwin
2014-01-11 00:30:03 +01:00
Sebastien Helleu
f8b2c6f5ac
xfer: add gcrypt library for link of plugin
2014-01-10 23:25:41 +01:00
Sebastien Helleu
3bba891927
irc: add missing include of netinet/in.h (fix compilation error on FreeBSD)
2014-01-10 17:50:12 +01:00
Sebastien Helleu
02868b4dc0
core: optimize xxx_valid() functions: return immediately if pointer is NULL
2014-01-09 19:28:51 +01:00
Sebastien Helleu
73eb2564f3
core: add "POSIX extended" in description of options/commands/functions using regular expressions
2014-01-09 17:21:19 +01:00
Sebastien Helleu
4a6bdc1c9c
relay: fix memory leak on unload of relay plugin
2014-01-09 15:34:30 +01:00