summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2014-01-05core: replace calls to sprintf() with snprintf()Sebastien Helleu
2014-01-05core: fix compilation warnings on OpenBSDSebastien Helleu
On OpenBSD, the variable "tv_sec" in struct timeval has type "long" (type "time_t" under Linux). So we need to copy this value to a temporary variable before using its pointer with function localtime().
2014-01-01core: update copyright datesSebastien Helleu
2013-12-31core: fix unneeded shift of buffer numbers when a buffer with layout is ↵Sebastien Helleu
created and merged
2013-12-18core: add support of UTF-8 chars in horizontal/vertical separatorsSebastien Helleu
2013-12-18core: add option weechat.look.window_auto_zoom, disable automatic zoom by ↵Sebastien Helleu
default when terminal becomes too small for windows
2013-12-15core: fix use of NULL pointer (in case of malloc error) when creating a new ↵Sebastien Helleu
filter
2013-12-15core: add buffer property "highlight_tags_restrict", rename option ↵Sebastien Helleu
irc.look.highlight_tags to irc.look.highlight_tags_restrict The buffer property "highlight_tags" is renamed to "highlight_tags_restrict". New behavior for buffer property "highlight_tags": force highlight on tags. Option irc.look.highlight_tags is renamed to irc.look.highlight_tags_restrict.
2013-12-14core: add logical "and" between tags in filters, weechat.look.highlight_tags ↵Sebastien Helleu
and buffer property "highlight_tags" The logical "and" is made with the separator "+". Example: "irc_notice+nick_toto,nick_test" will match a notice from nick "toto" or any message from nick "test".
2013-12-11Merge branch 'buffer-auto-renumber'Sebastien Helleu
2013-12-11core: fix text emphasis with wide chars on screen like japanese (patch ↵Sebastien Helleu
#8253) (patch from Ryuunosuke Ayanokouzi)
2013-12-08core: add signal "buffer_cleared"Sebastien Helleu
2013-12-07core: use first gap for new buffer only if the buffer has no layout numberSebastien Helleu
2013-12-07core: add option weechat.look.buffer_positionSebastien Helleu
The value of option can be: - "end": buffer is added after the end of list (number = last number + 1) - "first_gap": buffer is added at first number available in the list (after the end of list if no number is available)
2013-12-04core: add buffer property "day_change" to hide messages for the day change ↵Sebastien Helleu
in specific buffers
2013-12-01core: replace default key ctrl+"c", "u" by ctrl+"c", "_" for underlined text ↵Sebastien Helleu
in messages
2013-12-01core: replace default key ctrl+"c", "r" by ctrl+"c", "v" for reverse video ↵Sebastien Helleu
in messages
2013-12-01core: add missing access to hdata "buffer_visited"Sebastien Helleu
2013-12-01core: fix random crash when closing a bufferSebastien Helleu
The problem happened because we used a pointer to a "struct t_gui_buffer_visited" for the switch to another buffer, when the buffer is closed. This is executed in all windows displaying the buffer, but on each switch to buffer, the visited buffers are updated and therefore the address can change. The pointer becomes invalid, and WeeChat still uses it on next windows for the buffer switch. It happened rarely because the visited buffer is freed and allocated immediately after, so the address is often the same in memory. Thanks to silverd for the tests on OS X to track the problem.
2013-11-30core: add limits for buffers (max 10000 buffers opened, number of a buffer: ↵Sebastien Helleu
between 1 and INT_MAX - 10000)
2013-11-30core: fix crash when moving buffer with only one buffer (core buffer)Sebastien Helleu
2013-11-30core: add bar item "buffer_last_number"Sebastien Helleu
2013-11-30core: add variable "gui_buffers_count", use it in bar item "buffer_count"Sebastien Helleu
Now the bar item "buffer_count" displays the number of opened buffers (each merged buffer counts 1).
2013-11-30core: add option weechat.look.buffer_auto_renumberSebastien Helleu
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-28core: revert check of layout when switching to a buffer using value "auto" ↵Sebastien Helleu
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-23core: free nicklist data (for hsignal) on exitSebastien Helleu
2013-11-19core: fix current color/background after reset of colorSebastien Helleu
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-18core: use #ifdef to check if versions are defined in signal "debug_libs"Sebastien Helleu
2013-11-18core: remove "v" before versions displayed by /debug libsSebastien Helleu
2013-11-17core: add option "libs" for command /debug, add signal "debug_libs"Sebastien Helleu
2013-11-14core: apply color attributes when clearing a window (patch #8236) (patch ↵Sebastien Helleu
from Tom Alsberg)
2013-11-12core: fix truncated text when pasting several long lines (bug #40210)Sebastien Helleu
2013-11-09core: fix terminal title under screen/tmuxSebastien Helleu
2013-11-09core: rename option weechat.look.set_title to weechat.look.window_title ↵Sebastien Helleu
(evaluated string)
2013-11-09core: add bar item "buffer_zoom", add signals "buffer_{zoomed|unzoomed}" ↵Sebastien Helleu
(patch #8204) (patch from Nils Görs)
2013-11-09core: display lines waiting for buffer on exit (in case of early exit)Sebastien Helleu
2013-11-08core: fix highlight on action messages: skip the nick at beginning to ↵Sebastien Helleu
prevent highlight on it (bug #40516)
2013-11-05core: add default keys alt+home/end and alt+F11/F12 for xtermSebastien Helleu
2013-11-02core: add support of italic text (requires ncurses >= 5.9 patch 20130831)Sebastien Helleu
2013-11-02core: use ncurses include path when compiling with cmakeSebastien Helleu
2013-10-27core: fix auto-apply of window layout in current window when option ↵Sebastien Helleu
irc.look.buffer_switch_autojoin is on
2013-10-19core: fix truncated prefix when filters are toggled (bug #40204)Sebastien Helleu
2013-10-10core: use one date format when day changes from day to day+1Sebastien Helleu
2013-10-06core: add options to customize default text search in buffersSebastien Helleu
New options: - weechat.look.buffer_search_case_sensitive (boolean, off by default) - weechat.look.buffer_search_force_default (boolean, off by default) - weechat.look.buffer_search_regex (boolean, off by default) - weechat.look.buffer_search_where (prefix, message (by default), prefix_message)
2013-10-05core: fix display of read marker after buffer switch when there is no line ↵Sebastien Helleu
displayed after (only filtered lines)
2013-10-02core: replace some code by calls to function gui_chat_clrtoeol()Sebastien Helleu
2013-09-30core: clear whole line before displaying content instead of clearing after ↵Sebastien Helleu
the end of content (bug #40115)
2013-09-30core: fix display of read marker (as horizontal line) or day change message ↵Sebastien Helleu
after last buffer line when scrolling (bug #40126)
2013-09-23core: fix extension (.exe) of symbolic link "weechat-curses" under CygwinSebastien Helleu
2013-09-23core: replace some calls to ncurses *printw functions by *addstrSebastien Helleu