5224 Commits

Author SHA1 Message Date
Sebastien Helleu
3e90657ab0 core: fix crash when moving buffer with only one buffer (core buffer) 2013-11-30 17:34:25 +01:00
Sebastien Helleu
b7e0e29de7 core: add bar item "buffer_last_number" 2013-11-30 15:57:34 +01:00
Sebastien Helleu
4c59f2bf5e core: add variable "gui_buffers_count", use it in bar item "buffer_count"
Now the bar item "buffer_count" displays the number of opened buffers
(each merged buffer counts 1).
2013-11-30 15:11:17 +01:00
Sebastien Helleu
f99103ee21 aspell: fix detection of nicks when there are non-alphanumeric chars around and in private buffers 2013-11-30 13:31:06 +01:00
Sebastien Helleu
332dcf1257 aspell: fix detection of nicks when there is nick completer at the end 2013-11-30 12:58:33 +01:00
Sebastien Helleu
0a0bbeed4d aspell: fix detection of nicks with non-alphanumeric chars 2013-11-30 12:18:36 +01:00
Sebastien Helleu
a496db78aa core: add option weechat.look.buffer_auto_renumber
New option: weechat.look.buffer_auto_renumber, boolean which is on by
default, so the behavior is the same: no gap is allowed in numbers,
they start at number 1 and they are auto-renumbered after each command
like /buffer move, /buffer merge, ...

A new option "renumber" has been added in command /buffer, to renumber
a range of buffers (or all).

Changes when the option weechat.look.buffer_auto_renumber is off:

- command "/buffer move":
    - the current number will be left free for use, and the
      target number can be any number >= 1 (possibly higher than the
      current last buffer number)
    - the value can be "-" (which moves the buffer to number 1)
      or "+" (which moves the buffer to the end, ie last number + 1)

- command "/buffer swap":
    - now the buffers are swapped in the list without being "moved"

- comand "/buffer [+/-]N":
    - it is now working with gaps in buffer numbers

- command "/buffer merge":
    - it can now merge a group of merged buffers into another buffer
      (or buffers merged themselves)

- layout can restore buffer numbers with gaps in numbers
2013-11-30 10:39:38 +01:00
Sebastien Helleu
9cc31d88ea irc: fix crash when setting a wrong value in server option "ssl_priorities"
The bug was introduced by commit 2305c95db08a214dba68e771c9bbabc51ca7d055
2013-11-30 09:20:14 +01:00
Sebastien Helleu
7e14c60f4d core: revert check of layout when switching to a buffer using value "auto" in buffer_set
This reverts commits 14cf7bd20fb3f00b18343464c175a0c4e3556149 and
262dff4b87ebf14a11fe83899fe168bc5a72ffe6.

The initial fix was for a problem with irc autojoin and layout: the
current window has not appropriate buffer (as defined in layout) if it
is not the latest channel in "autojoin" option.

So the way to fix this problem is to set the value of option
irc.look.buffer_switch_autojoin to off.
2013-11-28 19:59:36 +01:00
Sebastien Helleu
02fc4053c9 python: fix load of scripts with python >= 3.3 2013-11-28 19:46:36 +01:00
Sebastien Helleu
74333b2270 irc: suggest lower values for option irc.server.xxx.ssl_dhkey_size after SSL error GNUTLS_E_DH_PRIME_UNACCEPTABLE 2013-11-26 16:24:21 +01:00
Sebastien Helleu
9e1caff33f core: do not update terminal title on startup if option weechat.look.window_title is empty 2013-11-24 18:14:54 +01:00
Nils Görs
a0bfd1efb7 doc: update german user's guide 2013-11-24 13:59:29 +01:00
Sebastien Helleu
2305c95db0 irc: fix memory leak when checking the value of ssl_priorities option in servers 2013-11-23 17:06:07 +01:00
Sebastien Helleu
1fa4701ed0 core: free secured data on exit 2013-11-23 16:29:51 +01:00
Sebastien Helleu
0b94d3c3bc core: free nicklist data (for hsignal) on exit 2013-11-23 16:20:19 +01:00
Sebastien Helleu
95d0d33972 irc: fix memory leak when a channel is deleted 2013-11-23 16:15:36 +01:00
Sebastien Helleu
262dff4b87 doc: update description for value "auto" in function buffer_set with property "display" (plugin API reference)
Since commit 14cf7bd20fb3f00b18343464c175a0c4e3556149, the value "auto"
will switch buffer only if there is no layout defined for the current
window, or if the buffer displayed is NOT the buffer in the layout
(so if the buffer is defined in the layout, no switch).
2013-11-23 09:28:42 +01:00
Sebastien Helleu
bfcabd2b96 core: fix crash on "/buffer close name" when the buffer is not found 2013-11-22 08:19:05 +01:00
Sebastien Helleu
51aa15cced core: fix crash on /buffer close core.weechat 2013-11-22 07:57:30 +01:00
Nils Görs
58ae58d81b core: update german translations 2013-11-20 15:19:55 +01:00
Sebastien Helleu
0226a1934a doc: use asciidoc attribute for date of docs (fix cmake warning)
CMake was displaying some warnings about a space in argument used for
asciidoc command:

  -a date=`date "+%F"`

Warning displayed:

CMake Warning (dev) in doc/en/CMakeLists.txt:
  Syntax Warning in cmake code at

    /path/to/doc/en/CMakeLists.txt:41:82

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.
2013-11-20 08:32:39 +01:00
Sebastien Helleu
6716985d27 core: fix current color/background after reset of color
Bug was visible with such colored string in IRC:

 ^Cc7,5 one ^Cc ^Cc7 two

Before the fix, the word "two" had a red background.
The "^Cc" should reset both color + background, so now it does not have
a background any more.
2013-11-19 19:58:10 +01:00
Pierre Carru
b5db21d6c4 guile: disable guile gmp allocator (fix crash on unload of relay plugin) (bug #40628) 2013-11-19 19:41:16 +01:00
Sebastien Helleu
717eaae496 scripts: use #ifdef to check if versions are defined in signal "debug_libs" 2013-11-18 14:32:13 +01:00
Sebastien Helleu
fba9839587 core: use #ifdef to check if versions are defined in signal "debug_libs" 2013-11-18 14:31:26 +01:00
Sebastien Helleu
3b53a3a8be core: remove "v" before versions displayed by /debug libs 2013-11-18 07:46:14 +01:00
Sebastien Helleu
b63ac8a0f1 scripts: display lib version on signal "debug_libs" 2013-11-17 20:51:54 +01:00
Sebastien Helleu
be9269dfc2 aspell: display aspell/enchant version on signal "debug_libs" 2013-11-17 20:51:10 +01:00
Sebastien Helleu
8d64b658df core: add option "libs" for command /debug, add signal "debug_libs" 2013-11-17 20:49:37 +01:00
Sebastien Helleu
e0890b376c doc: update auto-generated files with WeeChat options 2013-11-17 20:20:27 +01:00
Sebastien Helleu
47213a9869 core: remove obsolete signals "debug_buffer" and "debug_windows" 2013-11-17 11:48:00 +01:00
Sebastien Helleu
f435e8d3fa core: optimize loop when closing several buffers with command /buffer close n1-n2 2013-11-15 09:01:19 +01:00
Sebastien Helleu
d1a89e9db0 core: fix memory leak when n2 is not a valid number in command /buffer close n1-n2 2013-11-15 09:00:24 +01:00
Sebastien Helleu
70ed2a8189 core: apply color attributes when clearing a window (patch #8236) (patch from Tom Alsberg) 2013-11-14 19:41:28 +01:00
Sebastien Helleu
ea9d79f268 core: set option weechat.look.paste_bracketed to "on" by default 2013-11-13 08:28:07 +01:00
Sebastien Helleu
725c5aaeb9 core: fix truncated text when pasting several long lines (bug #40210) 2013-11-12 21:37:51 +01:00
Sebastien Helleu
c273b87ccc doc: fix build of man page (add missing copy of file cmdline_options.xx.txt) 2013-11-12 07:55:19 +01:00
Sebastien Helleu
941fe2efc9 core: add missing contributors in AUTHORS 2013-11-11 12:29:34 +01:00
Krzysztof Koroscik
dc1fb1a70c core: update polish translations 2013-11-11 09:08:09 +01:00
Sebastien Helleu
a35abad19d doc: fix style for tables with asciidoc 8.6.9 (developer's guide) 2013-11-11 09:06:56 +01:00
Sebastien Helleu
6f5d1228a4 doc: fix warnings on build of man page with a2x 8.6.9
The -D/--destination-dir displays a warning for non HTML doc (so for
man page). So the man page is copied to the build directory before
being built.
2013-11-11 09:06:14 +01:00
Sebastien Helleu
e867298233 core: fix terminal title under screen/tmux 2013-11-09 19:26:33 +01:00
Sebastien Helleu
90774b73d8 core: rename option weechat.look.set_title to weechat.look.window_title (evaluated string) 2013-11-09 17:07:02 +01:00
Sebastien Helleu
18ff3064cf core: add infos "term_width" and "term_height" 2013-11-09 15:55:11 +01:00
Sebastien Helleu
ff62f3edff api: add support of infos with format ${info:name,arguments} in function string_eval_expression and command /eval 2013-11-09 15:35:54 +01:00
stfn
652653ff82 api: add support for C++ plugins 2013-11-09 13:47:13 +01:00
Sebastien Helleu
414656675e doc: add bar item "buffer_zoom" in user's guide 2013-11-09 13:31:41 +01:00
Sebastien Helleu
9b4eb6d607 core: add bar item "buffer_zoom", add signals "buffer_{zoomed|unzoomed}" (patch #8204) (patch from Nils Görs) 2013-11-09 13:21:56 +01:00
Sebastien Helleu
2b04972326 core: update translations 2013-11-09 10:27:43 +01:00