summaryrefslogtreecommitdiff
path: root/src/gui/gui-line.c
AgeCommit message (Collapse)Author
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-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-01-01core: update copyright datesSébastien Helleu
2015-07-26Merge remote-tracking branch 'origin/pr/393'Sébastien Helleu
2015-06-22core: fix bar item "scroll" after /buffer clear (closes #448)Sébastien Helleu
2015-04-12core: add more intuitive buffer searching (closes #76)Simmo Saan
2015-01-01core: update copyright datesSébastien Helleu
2014-11-01core: fix buffer property "lines_hidden" when merging buffers or when a line ↵Sébastien Helleu
is removed from a buffer (closes #226)
2014-09-21core: fix highlight of IRC action messages when option irc.look.nick_mode is ↵Sébastien Helleu
set to "action" or "both" (closes #206)
2014-05-08core: add parentheses around tests in conditionsSébastien Helleu
2014-05-07core: add support for negated tags in filters (closes #72)stfn
2014-03-29core: fix alignment of lines in merged buffers (closes #43)Sebastien Helleu
The bug happened when options weechat.look.prefix_align and weechat.look.prefix_buffer_align are set to "none".
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu
2014-02-04core: use structure itself for sizeof in two mallocSebastien Helleu
2014-01-05core: fix crash with hdata_update on shared strings, add hdata type ↵Sebastien Helleu
"shared_string" (bug #41104)
2014-01-01core: update copyright datesSebastien Helleu
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-11-08core: fix highlight on action messages: skip the nick at beginning to ↵Sebastien Helleu
prevent highlight on it (bug #40516)
2013-09-02Merge branch 'shared-strings'Sebastien 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-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-05-30core: fix random crash on mouse actions (bug #39094)Sebastien Helleu
2013-05-21core: fix line alignment when option weechat.look.buffer_time_format is set ↵Sebastien Helleu
to empty string A regression was introduced by commit 305175fb8c464a169e767a814f5c400154507e6f
2013-05-01core: fix display of long lines without time (message beginning with two tabs)Sebastien Helleu
The long lines without time were not properly aligned: the second and subsequent lines should start at column 0 of chat area.
2013-04-29core: make nick prefix/suffix dynamic (move options from irc plugin to core, ↵Sebastien Helleu
add logger options) (bug #37531)
2013-03-17core: fix typos in many comments and some stringsSebastien Helleu
2013-02-04core: fix refresh of line after changes with hdata_update (update flag ↵Sebastien Helleu
"displayed" according to filters)
2013-01-01core: update copyright datesSebastien Helleu
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-12-08api: allow creation of structure with hdata_update (allowed for hdata "history")Sebastien Helleu
2012-10-17core: fix display problem when option weechat.look.prefix_same_nick is set ↵Sebastien Helleu
(problem with nick displayed in first line of screen) (bug #37556) To fix this bug, a feature has been removed: the first message with a nick has the prefix forced (to not display the value of weechat.look.prefix_same_nick on top of screen), commit was: 04e98c3f29156a04785f86d429dda4d521fc1779 This feature may be reintroduced in a future commit.
2012-08-30core: add default key alt+"x" (zoom on merged buffer) (task #11029)Sebastien Helleu
2012-08-27api: allow update for some variables of hdata, add new functions ↵Sebastien Helleu
hdata_update and hdata_set
2012-08-14core: fix use of unitialized value (line->data->display) when adding a line ↵Sebastien Helleu
in buffer
2012-07-20core: add support of arrays in hdata variablesSebastien Helleu
2012-07-17core: fix typo in commentSebastien Helleu
2012-06-09core: fix color of nicks in buffers without nicklist when option ↵Sebastien Helleu
weechat.look.color_nick_offline is on
2012-06-09core: add options to use different color for offline nicks in prefix (patch ↵Sebastien Helleu
from Nei) (task #11109) New options: - weechat.look.color_nick_offline: boolean to enable feature (off by default) - weechat.color.chat_nick_offline: color for offline nicks (displayed in prefix)
2012-05-22core: force display of prefix on first line displayed in window (even if it ↵Sebastien Helleu
should be hidden by option weechat.look.prefix_same_nick)
2012-04-03core: fix bugs with option weechat.look.prefix_same_nick, use nick color for ↵Sebastien Helleu
string used as replacement Bugs fixed: - hide/replace prefix only if prefix is a nick (do not do it for join/part/quit or action messages) - hide/replace prefix only when displaying messages (do not cache value in lines) The nick color used in replacement string comes from tag "prefix_nick_ccc", where "ccc" is the color of nick.
2012-04-01core: fix bug with option weechat.look.prefix_same_nick and filtered linesSebastien Helleu
2012-03-28core: add option weechat.look.prefix_same_nick (hide or change prefix on ↵Sebastien Helleu
messages whose nick is the same as previous message) (task #11965)
2012-01-08core: update copyright datesSebastien Helleu
2011-12-17core: add signal "buffer_line_added"Sebastien Helleu
2011-11-25core: fix type of variables in hdata "line_data" (type integer -> char)Sebastien Helleu