summaryrefslogtreecommitdiff
path: root/src/gui/gui-chat.c
AgeCommit message (Collapse)Author
2017-03-28core: fix cut of chars in "cutscr" of evaluated stringsSébastien Helleu
This fixes two problems: - stop before max char displayed with wide chars - preserve combining chars in the output Before the fix (wrong): >> ${cutscr:3,+,こんにちは世界} == [こん+] >> ${cutscr:1,+,a${\u0308}} == [a+] After the fix (OK): >> ${cutscr:3,+,こんにちは世界} == [こ+] >> ${cutscr:1,+,a${\u0308}} == [ä]
2017-01-01core: update copyright datesSébastien Helleu
2016-07-09core: rename function string_iconv_fprintf to string_fprintfSé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-08-23core: fix truncated messages after a word with a length of zero on screen ↵Sébastien Helleu
(bug #40985, issue #502)
2015-07-04core: fix type of value returned by functions gui_chat_string_next_char, ↵Sébastien Helleu
gui_chat_string_add_offset and gui_chat_string_add_offset_screen
2015-07-04api: fix type of value returned by functions utf8_prev_char, utf8_next_char ↵Sébastien Helleu
and utf8_add_offset
2015-07-04core: add missing comments before functions when the result must be freed ↵Sébastien Helleu
after use
2015-04-19core: add options weechat.look.quote_{nick_prefix|nick_suffix|time_format} ↵Sébastien Helleu
to customize quoted messages in cursor mode (closes #403)
2015-01-01core: update copyright datesSébastien Helleu
2014-08-19core: fix modifier "weechat_print": discard only one line when several lines ↵Sébastien Helleu
are displayed in same message (closes #171) When several lines are displayed in a message (separated by "\n"), the modifier "weechat_print" will now discard just one line (if return value is an empty string), instead of discarding the whole message.
2014-05-24relay: fix crash when closing relay buffers (closes #57, closes #78)Sébastien Helleu
A flag "closing" has been added in buffers. It is set to 1 when the buffer is closing, and then no more printf is allowed in the buffer (a message printed on relay buffer was causing a crash when it is closed).
2014-03-16api: allow negative value for y in function printf_ySebastien Helleu
2014-02-22core: remove dead assignment in function gui_chat_printf_ySebastien Helleu
2014-01-15core: add option weechat.look.tab_widthSebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-12-11core: fix text emphasis with wide chars on screen like japanese (patch ↵Sebastien Helleu
#8253) (patch from Ryuunosuke Ayanokouzi)
2013-11-09core: display lines waiting for buffer on exit (in case of early exit)Sebastien Helleu
2013-08-22core: fix uncontrolled format string when displaying bufferized lines on ↵Sebastien Helleu
startup (lines waiting for core buffer)
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-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-07-27core: use default value for prefixes used in messages displayed before the ↵Sebastien Helleu
interface is initialized
2013-06-29core: move test of invalid UTF-8 char length from gui-chat.c to wee-utf8.cSebastien Helleu
2013-06-29core: fix display bugs with some UTF-8 chars that truncates messages displayedSebastien Helleu
Example of char causing problems: U+26C4 (snowman without snow)
2013-06-10core: remove extra space after empty prefix (when prefix for action, error, ↵Sebastien Helleu
join, network or quit is set to empty string) (bug #39218)
2013-03-17core: fix refresh of item "completion" (bug #38214) (patch from Nils Görs)Sebastien Helleu
The item is now cleared after any action that is changing content of command line and after switch of buffer.
2013-01-29core: fix hidden lines for messages without date when option ↵Sebastien Helleu
weechat.history.max_buffer_lines_minutes is set (bug #38197)
2013-01-14core: fix display bugs with non-printable chars like tabs (part of messages ↵Sebastien Helleu
not displayed) (bug #38076) This bug was introduced by commit 70ce7fe3b6caa6128cb6e8bfb0eaaf39f1ebe4ce.
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-01core: add color support in options ↵Nils Görs
weechat.look.prefix_{action|error|join|network|quit} (task #9555)
2012-11-30core: fix display of combining chars (patch from Nei) (bug #37775)Sebastien Helleu
2012-10-12core: fix wrapping of words with wide chars (the break was made before the ↵Sebastien Helleu
correct position)
2012-08-27api: allow update for some variables of hdata, add new functions ↵Sebastien Helleu
hdata_update and hdata_set
2012-08-22core: display spaces at the end of messages in chat area (bug #37024)Sebastien Helleu
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-03-03core: fix display of wide chars on last column of chat area (patch #7733)Ryuunosuke Ayanokouzi
2012-01-08core: update copyright datesSebastien Helleu
2011-11-27core: check pointer returned by function localtimeSebastien Helleu
2011-10-26core: remove unneeded whitespaceSebastien Helleu
2011-10-07core: bufferize lines displayed before core buffer is created, to display ↵Sebastien Helleu
them in buffer when it is created
2011-09-22core: add colors for inactive windows and lines (in merged buffers)Sebastien Helleu
New boolean options to control use of inactive colors: - weechat.look.color_inactive_message - weechat.look.color_inactive_prefix - weechat.look.color_inactive_prefix_buffer - weechat.look.color_inactive_time New "inactive" color options: - weechat.color.chat_inactive_line - weechat.color.chat_inactive_window - weechat.color.chat_prefix_buffer_inactive_line
2011-08-26core: use dynamic buffer size for calls to vsnprintfSebastien Helleu
2011-08-21core: remove extra space in quote of messages (in cursor mode)Sebastien Helleu
2011-08-18core: remove some compilation warnings under CygwinSebastien Helleu
2011-08-14core: return info about line/word for chat area in focus hashtable, add keys ↵Sebastien Helleu
m/q/Q to quote line in cursor mode, sort mouse keys by priority
2011-08-05core: save and restore layout for buffers and windows on /upgradeSebastien Helleu
2011-06-13core: add option "tags" for command /debugSebastien Helleu