summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-window.c
AgeCommit message (Collapse)Author
2021-02-08core: fix wrong size of the new window after vertical split (closes #1612)Sébastien Helleu
2021-02-07core: add options weechat.look.hotlist_update_on_buffer_switch and ↵Kevin Pulo
weechat.look.read_marker_update_on_buffer_switch Both default to "on" (no change to previous behavior). If hotlist_update_on_buffer_switch is "off", then when switching away from a buffer, the hotlist is not cleared. If read_marker_update_on_buffer_switch is "off", then when switching away from a buffer, the read marker is not set to the end of the buffer. This allows users to choose to have fully manual control over when hotlist counts and buffer read markers are reset. Fixes #992.
2021-01-02core: update copyright datesSébastien Helleu
2020-06-02Add Alacritty title escape sequence supportChristian Duerr
2020-05-16Fix /window scroll_beyond_end when buffer has fewer lines than terminal heightTrygve Aaberge
2020-01-04core: update copyright datesSébastien Helleu
2019-10-06core: fix long linesSébastien Helleu
2019-10-06Merge remote-tracking branch 'origin/pr/630'Sébastien Helleu
2019-10-01core: add function to convert WeeChat colors to ANSI colors (issue #528)Sébastien Helleu
2019-06-28Merge remote-tracking branch 'origin/pr/1345'Sébastien Helleu
2019-06-17core: add option "close" in command /window (closes #853)Sébastien Helleu
2019-06-07core: replace char "," by "~" in color codes to separate foreground from ↵Sébastien Helleu
background (closes #1264)
2019-05-04gui: fix wbkgrndset for non-wide ncurses by fallback to wbkgdset (issue #1343)Simmo Saan
cchar_t, setcchar and wbkgrndset are actually widec ncurses features, not ext-colors features, but NCURSES_WIDECHAR doesn't accurately reflect their existence so NCURSES_EXT_COLORS is used instead.
2019-05-02gui: replace ncurses COLOR_PAIR attribute usage with special functions ↵Simmo Saan
(issue #1343)
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-11-04api: add functions string_base_{encode,decode}, remove functions ↵Sébastien Helleu
string_{encode,decode}_base64
2018-11-02api: return integer in function string_encode_base64Sébastien Helleu
2018-01-07core: fix some stylesSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-09-25core: initialize variables attrs and pair before calling wattr_getSébastien Helleu
This fixes a compiler warning, in some cases wattr_get may not initialize the variables.
2017-06-10core: remove unused function gui_window_clear_weechat (issue #1012)Sébastien Helleu
2017-03-25core: check that pointers received in arguments are not NULL in "free" functionsSébastien Helleu
Functions: - hdata_free - infolist_var_free - infolist_item_free - infolist_free - string_shared_free - gui_window_objects_free - gui_color_free - gui_completion_free - gui_filter_free - gui_history_buffer_free - gui_hotlist_free - gui_key_free - gui_lines_free - gui_line_tags_free - gui_line_free - gui_window_tree_free - gui_window_scroll_free
2017-01-22core: add resize of window parents (closes #893)raspbeguy
2017-01-01core: update copyright datesSébastien Helleu
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read
2016-02-07core: fix update of window title under tmux (closes #685)Sébastien Helleu
2016-01-01core: update copyright datesSébastien Helleu
2015-12-22gui: fix separator overlap check for deeply nested windowsSimmo Saan
2015-12-21gui: fix window separators not respecting window splitsSimmo Saan
2015-07-25core: flush stdout/stderr after sending text directly on them (fix corrupted ↵Sébastien Helleu
data sent to hook_process() callback) (closes #442)
2015-01-01core: update copyright datesSébastien Helleu
2014-12-28core: check bar conditions in root bars and on each update of a bar itemSébastien Helleu
2014-09-24core: fix crash on buffer close when option weechat.look.hotlist_remove is ↵Sébastien Helleu
set to "merged" (closes #199)
2014-04-02core: use an integer for seconds in command /window bare <delay>Sébastien Helleu
2014-03-31core: add non-active merged buffers with activity in hotlist (if another ↵Sébastien Helleu
merged buffer is zoomed) (task #12845) There was a bug with "num_displayed" in buffers when they are merged and that one buffer is zoomed: now the num_displayed is > 0 for the active buffer, and it is set to 0 for all merged non-active buffers (only in case of zoom). A variable "zoomed" has been added in buffers to know if a buffer with this number is zoomed or not (possibly another buffer).
2014-03-30core: use seconds as float number for delay in command /window bare <delay>Sébastien Helleu
2014-03-30core: fix reset of attributes in bars when "resetcolor" is used (closes #41)Sebastien Helleu
2014-03-17core: fix "/window scroll_bottom" on a buffer with free contentSebastien Helleu
The bug was introduced by commit 8fac1eea40d6306c27bd854f8ae7bd0c35632fc9 which purpose was to not scroll to the end of buffer with "/window scroll -N" when the top of buffer is displayed. This commit is adding the syntax "--N" to force a scroll from the end (only used by "/window scroll_bottom").
2014-02-16core: add bare display mode (for easy text selection and click on URLs)Sebastien Helleu
New key: alt+"!", to swith to bare display (same key to come back to standard display). New options: - weechat.look.bare_display_exit_on_input (default: on): by default any changes in input will return to standard display - weechat.look.bare_display_time_format (default: "%H:%M"): the format of time used in bare display.
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu
2014-02-02core: fix compilation on Android (replace include of sys/termios.h by ↵Sebastien Helleu
termios.h) (bug #41434)
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-01core: update copyright datesSebastien Helleu
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-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-14core: apply color attributes when clearing a window (patch #8236) (patch ↵Sebastien Helleu
from Tom Alsberg)
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)