summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2014-02-04core: use structure itself for sizeof in two mallocSebastien Helleu
2014-02-02core: fix compilation on Android (replace include of sys/termios.h by ↵Sebastien Helleu
termios.h) (bug #41434)
2014-02-02core: fix compilation on Android (replace calls to rindex by strrchr) (bug ↵Sebastien Helleu
#41420, patch #8301)
2014-02-01core: fix crash when creating two bars with same name but different case ↵Sebastien Helleu
(bug #41418)
2014-01-27core: fix display of read marker when all buffers line are unreadSebastien Helleu
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-22core: revert the rename of option weechat.look.save_layout_on_exitSebastien Helleu
2014-01-21core: rename option weechat.look.save_layout_on_exit to ↵Sebastien Helleu
weechat.look.store_layout_on_exit, replace "save" by "store" for layouts
2014-01-21core: delay the signal "signal_sigwinch" after WeeChat screen refreshSebastien Helleu
The signal is sent after WeeChat screen refresh, so all sizes for windows, bars, ... are already adjusted to the new terminal size.
2014-01-21core: add signals "signal_sighup" and "signal_sigwinch" (terminal resized)Sebastien Helleu
2014-01-19core: add command /printSebastien Helleu
2014-01-15core: add option weechat.look.tab_widthSebastien Helleu
2014-01-05core: fix crash with hdata_update on shared strings, add hdata type ↵Sebastien Helleu
"shared_string" (bug #41104)
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