summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
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
2013-09-03core: rename options weechat.look.day_change_message(2) to ↵Sebastien Helleu
weechat.look.day_change_message_{1date|2dates}
2013-09-02Merge branch 'shared-strings'Sebastien Helleu
2013-09-02core: add option weechat.look.day_change_message2Sebastien Helleu
The new option weechat.look.day_change_message2 is used to display day change between two messages, with two dates: the new one, and the old one. Example: -- Mon, 02 Sep 2013 (Thu, 22 Aug 2013) --
2013-08-28core: fix automatic scroll to bottom of buffer when day change is displayed ↵Sebastien Helleu
before first line of buffer
2013-08-25core: display day change message dynamically (do not store it as a line in ↵Sebastien Helleu
buffer) (task #12775) Changes in options: - rename option weechat.look.day_change_time_format to weechat.look.day_change_message (color codes are allowed in this option) - new option weechat.color.chat_day_change.
2013-08-22core: fix uncontrolled format string when displaying bufferized lines on ↵Sebastien Helleu
startup (lines waiting for core buffer)
2013-08-20core: fix buffer returned in focus info for bar items with a forced bufferSebastien Helleu
2013-08-19core: add syntax "@buffer:item" in bar items to force the buffer used when ↵Sebastien Helleu
displaying the bar item (task #12717)
2013-08-17core: use shared strings for groups/nicks in nicklistSebastien Helleu
2013-08-17core: use shared strings for prefix on linesSebastien Helleu
It can reduce by about 10% the memory used for lines in a buffer.
2013-08-17core: add search of regular expression in buffer, don't reset search type on ↵Sebastien Helleu
a new search, select where to search (messages/prefixes) Key changed in search context: - ctrl+"r": switch search type: string/regex New keys in search context: - alt+"c": case (in)sensitive search - tab: search in messages/prefixes/both
2013-08-16core: add text emphasis in messages when searching text in bufferSebastien Helleu
New options: - weechat.look.emphasized_attributes - weechat.color.emphasized - weechat.color.emphasized_bg
2013-08-10core: use shared strings for tags on linesSebastien Helleu
It can reduce by about 30% the memory used for lines in a buffer.
2013-08-10core: optimize the removal of lines in buffers (a lot faster to clear/close ↵Sebastien Helleu
buffers with lot of lines) The update of variables "buffer_max_length" and "prefix_max_length" in struct t_gui_lines is now delayed and made during the main refresh (in main loop). For a buffer with 50K lines, it is up to 3300 times faster to clear/close it. For a buffer with 4096 lines (default limit), it is up to 120 times faster.
2013-08-09core: set "callback_free_value" directly in hashtable without calling ↵Sebastien Helleu
function hashtable_set_pointer
2013-08-07core: remove symbolic link "weechat-curses" on make uninstall (cmake and ↵Sebastien Helleu
autotools)
2013-08-07core: fix typo in comment for creation of symbolic link "weechat-curses"Sebastien Helleu
2013-08-06core: use $DESTDIR when creating symbolic link "weechat-curses" with cmakeSebastien Helleu
2013-08-04core: change color format for options from `${xxx}` to `${color:xxx}`Sebastien Helleu
Options affected: - weechat.look.buffer_time_format - weechat.look.prefix_action - weechat.look.prefix_error - weechat.look.prefix_join - weechat.look.prefix_network - weechat.look.prefix_quit
2013-08-04api: add argument "options" in function string_eval_expression, add option ↵Sebastien Helleu
"-c" for command /eval (to evaluate a condition)
2013-08-02Merge branch 'secured-data'Sebastien Helleu
2013-08-02core: add platform-dependent extension on "weechat-curses" link (so that ↵Sebastien Helleu
link is "weechat-curses.exe" on cygwin)
2013-08-02core: rename binary and man page from "weechat-curses" to "weechat" (task ↵Sebastien Helleu
#11027) A symbolic link weechat-curses -> weechat is now created (by both cmake and configure), so that the /upgrade will work from an old version. However, if you upgrade from an old version, it is recommended to force the use of the new binary name with the command: `/upgrade /path/to/weechat` (replace the path accordingly).