Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-01 | core: replace default key ctrl+"c", "u" by ctrl+"c", "_" for underlined text ↵ | Sebastien Helleu | |
in messages | |||
2013-12-01 | core: replace default key ctrl+"c", "r" by ctrl+"c", "v" for reverse video ↵ | Sebastien Helleu | |
in messages | |||
2013-12-01 | core: add missing access to hdata "buffer_visited" | Sebastien Helleu | |
2013-12-01 | core: fix random crash when closing a buffer | Sebastien 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-30 | core: add limits for buffers (max 10000 buffers opened, number of a buffer: ↵ | Sebastien Helleu | |
between 1 and INT_MAX - 10000) | |||
2013-11-30 | core: fix crash when moving buffer with only one buffer (core buffer) | Sebastien Helleu | |
2013-11-30 | core: add bar item "buffer_last_number" | Sebastien Helleu | |
2013-11-30 | core: 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-30 | core: add option weechat.look.buffer_auto_renumber | Sebastien 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-28 | core: 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-23 | core: free nicklist data (for hsignal) on exit | Sebastien Helleu | |
2013-11-19 | core: fix current color/background after reset of color | Sebastien 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-18 | core: use #ifdef to check if versions are defined in signal "debug_libs" | Sebastien Helleu | |
2013-11-18 | core: remove "v" before versions displayed by /debug libs | Sebastien Helleu | |
2013-11-17 | core: add option "libs" for command /debug, add signal "debug_libs" | Sebastien Helleu | |
2013-11-14 | core: apply color attributes when clearing a window (patch #8236) (patch ↵ | Sebastien Helleu | |
from Tom Alsberg) | |||
2013-11-12 | core: fix truncated text when pasting several long lines (bug #40210) | Sebastien Helleu | |
2013-11-09 | core: fix terminal title under screen/tmux | Sebastien Helleu | |
2013-11-09 | core: rename option weechat.look.set_title to weechat.look.window_title ↵ | Sebastien Helleu | |
(evaluated string) | |||
2013-11-09 | core: add bar item "buffer_zoom", add signals "buffer_{zoomed|unzoomed}" ↵ | Sebastien Helleu | |
(patch #8204) (patch from Nils Görs) | |||
2013-11-09 | core: display lines waiting for buffer on exit (in case of early exit) | Sebastien Helleu | |
2013-11-08 | core: fix highlight on action messages: skip the nick at beginning to ↵ | Sebastien Helleu | |
prevent highlight on it (bug #40516) | |||
2013-11-05 | core: add default keys alt+home/end and alt+F11/F12 for xterm | Sebastien Helleu | |
2013-11-02 | core: add support of italic text (requires ncurses >= 5.9 patch 20130831) | Sebastien Helleu | |
2013-11-02 | core: use ncurses include path when compiling with cmake | Sebastien Helleu | |
2013-10-27 | core: fix auto-apply of window layout in current window when option ↵ | Sebastien Helleu | |
irc.look.buffer_switch_autojoin is on | |||
2013-10-19 | core: fix truncated prefix when filters are toggled (bug #40204) | Sebastien Helleu | |
2013-10-10 | core: use one date format when day changes from day to day+1 | Sebastien Helleu | |
2013-10-06 | core: add options to customize default text search in buffers | Sebastien 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-05 | core: fix display of read marker after buffer switch when there is no line ↵ | Sebastien Helleu | |
displayed after (only filtered lines) | |||
2013-10-02 | core: replace some code by calls to function gui_chat_clrtoeol() | Sebastien Helleu | |
2013-09-30 | core: clear whole line before displaying content instead of clearing after ↵ | Sebastien Helleu | |
the end of content (bug #40115) | |||
2013-09-30 | core: fix display of read marker (as horizontal line) or day change message ↵ | Sebastien Helleu | |
after last buffer line when scrolling (bug #40126) | |||
2013-09-23 | core: fix extension (.exe) of symbolic link "weechat-curses" under Cygwin | Sebastien Helleu | |
2013-09-23 | core: replace some calls to ncurses *printw functions by *addstr | Sebastien Helleu | |
2013-09-03 | core: rename options weechat.look.day_change_message(2) to ↵ | Sebastien Helleu | |
weechat.look.day_change_message_{1date|2dates} | |||
2013-09-02 | Merge branch 'shared-strings' | Sebastien Helleu | |
2013-09-02 | core: add option weechat.look.day_change_message2 | Sebastien 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-28 | core: fix automatic scroll to bottom of buffer when day change is displayed ↵ | Sebastien Helleu | |
before first line of buffer | |||
2013-08-25 | core: 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-22 | core: fix uncontrolled format string when displaying bufferized lines on ↵ | Sebastien Helleu | |
startup (lines waiting for core buffer) | |||
2013-08-20 | core: fix buffer returned in focus info for bar items with a forced buffer | Sebastien Helleu | |
2013-08-19 | core: add syntax "@buffer:item" in bar items to force the buffer used when ↵ | Sebastien Helleu | |
displaying the bar item (task #12717) | |||
2013-08-17 | core: use shared strings for groups/nicks in nicklist | Sebastien Helleu | |
2013-08-17 | core: use shared strings for prefix on lines | Sebastien Helleu | |
It can reduce by about 10% the memory used for lines in a buffer. | |||
2013-08-17 | core: 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-16 | core: add text emphasis in messages when searching text in buffer | Sebastien Helleu | |
New options: - weechat.look.emphasized_attributes - weechat.color.emphasized - weechat.color.emphasized_bg | |||
2013-08-10 | core: use shared strings for tags on lines | Sebastien Helleu | |
It can reduce by about 30% the memory used for lines in a buffer. | |||
2013-08-10 | core: 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-09 | core: set "callback_free_value" directly in hashtable without calling ↵ | Sebastien Helleu | |
function hashtable_set_pointer |