summaryrefslogtreecommitdiff
path: root/src/gui/gui-line.h
AgeCommit message (Collapse)Author
2022-11-11core: add identifier in buffer lines (closes #901)Sébastien Helleu
For buffers with formatted content, the "id" starts to 0 on each buffer and is incremented on each new line displayed (it is reset to 0 if reaching INT_MAX). For buffers with free content, the "id" is set to the same value as "y" (ie the line number, starting to 0).
2022-01-30core: search in message tags when tags are displayed with /debug tagsSébastien Helleu
2022-01-30core: add support of date and tags in messages displayed in buffers with ↵Sébastien Helleu
free content, add function printf_y_date_tags (closes #1746)
2022-01-28core: move functions from gui-chat.c to gui-line.cSébastien Helleu
Functions moved and renamed: - gui_chat_build_string_prefix_message -> gui_line_build_string_prefix_message - gui_chat_build_string_message_tags -> gui_line_build_string_message_tags
2022-01-17core: update copyright datesSébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-08-15core: set "notify_level" to 3 if there is a highlight in the line (closes #1529)Sébastien Helleu
2020-08-04core: rename functions to allocate/free linesSébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-08-12api: add function hook_lineSébastien Helleu
2018-08-12core: fix check of tags in linesSébastien Helleu
All changes: - fix check of tags in lines: check lines without tags, fix check of tags with negation ("!tag") - add string functions string_split_tags and string_free_split_tags - add tests on function gui_line_match_tags
2018-01-05core: update copyright datesSébastien Helleu
2017-08-10core: remove value for first #define in headers, add "PLUGIN" in plugin headersSébastien Helleu
2017-06-03gui, buflist: remove declared but undefined functionsSimmo Saan
2017-01-13tests: fix compilation of tests on FreeBSD 11Sébastien Helleu
Some includes were missing in .h files, and the tests must be linked with intl and execinfo on FreeBSD.
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-01-01core: update copyright datesSébastien Helleu
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
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-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: 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-04-29core: make nick prefix/suffix dynamic (move options from irc plugin to core, ↵Sebastien Helleu
add logger options) (bug #37531)
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-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-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-08-14core: add key "_chat_line_nick" in focus hashtableSebastien Helleu
2011-06-13core: add "hdata" (direct access to WeeChat/plugin data)Sebastien Helleu
2011-01-05Fix scroll problem on buffers with free content and non-allocated lines (bug ↵Sebastien Helleu
#32039)
2011-01-01Update copyright datesSebastien Helleu
2010-07-12Add new option weechat.look.align_end_of_linesSebastien Helleu
2010-06-25Update comments after #endif in C headersSebastien Helleu
2010-06-22Update licenses and copyrights, add missing author names in sourcesSebastien Helleu
2010-01-03Update copyright datesSebastien Helleu
2009-10-06Fix alignment problem for buffer name when a merged buffer is closed (bug ↵Sebastien Helleu
#27617)
2009-06-10Add buffer merging feature, with /buffer merge/unmerge (task #7404)Sebastien Helleu