summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2014-02-22core: remove dead assignment in function gui_chat_printf_ySebastien Helleu
2014-02-22core: fix use of invalid pointer in function gui_bar_window_content_alloc ↵Sebastien Helleu
(in case of insufficient memory)
2014-02-22core: fix potential NULL pointer in function gui_color_emphasizeSebastien Helleu
2014-02-21Merge branch 'trigger'Sebastien Helleu
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-14core: fix completion template used in command completion when first argument ↵Sebastien Helleu
in template has pipes
2014-02-13core: use item "buffer_last_number" instead of "buffer_count" by default in ↵Sebastien Helleu
status bar
2014-02-13core: fix freeze/crash in gnutls (bug #41576)Jason A. Donenfeld
The link is now made against pthread on all platforms. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2014-02-11core: add signals "key_combo_{default|search|cursor}"Sebastien Helleu
2014-02-10core: split key command when the key is created (improve speed when ↵Sebastien Helleu
executing commands of a key)
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu
2014-02-09trigger: add trigger pluginSebastien Helleu
2014-02-07core: fix apply of layout when buffers that are not in layout are before ↵Sebastien Helleu
some buffers in layout Now when a layout is applied, the buffers in layout are inserted/sorted first in the new list. Then the other buffers (not in layout) are added after this loop, and then they are added after all layout buffers.
2014-02-06core: fix hotlist problems after apply of a layout (bug #41481)Sebastien Helleu
This commit fixes a problem when computing the value of "num_displayed" in all buffers. For merged buffers (with same number), the num_displayed of each merged buffer must be incremented (and not only the current active buffer).
2014-02-04core: use structure itself for sizeof in two mallocSebastien Helleu
2014-02-02core: fix compilation on Android (replace include of sys/termios.h by ↵Sebastien Helleu
termios.h) (bug #41434)
2014-02-02core: fix compilation on Android (replace calls to rindex by strrchr) (bug ↵Sebastien Helleu
#41420, patch #8301)
2014-02-01core: fix crash when creating two bars with same name but different case ↵Sebastien Helleu
(bug #41418)
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-22core: revert the rename of option weechat.look.save_layout_on_exitSebastien Helleu
2014-01-21core: rename option weechat.look.save_layout_on_exit to ↵Sebastien Helleu
weechat.look.store_layout_on_exit, replace "save" by "store" for layouts
2014-01-21core: delay the signal "signal_sigwinch" after WeeChat screen refreshSebastien Helleu
The signal is sent after WeeChat screen refresh, so all sizes for windows, bars, ... are already adjusted to the new terminal size.
2014-01-21core: add signals "signal_sighup" and "signal_sigwinch" (terminal resized)Sebastien Helleu
2014-01-19core: add command /printSebastien Helleu
2014-01-15core: add option weechat.look.tab_widthSebastien Helleu
2014-01-05core: fix crash with hdata_update on shared strings, add hdata type ↵Sebastien Helleu
"shared_string" (bug #41104)
2014-01-05core: replace calls to sprintf() with snprintf()Sebastien Helleu
2014-01-05core: fix compilation warnings on OpenBSDSebastien Helleu
On OpenBSD, the variable "tv_sec" in struct timeval has type "long" (type "time_t" under Linux). So we need to copy this value to a temporary variable before using its pointer with function localtime().
2014-01-01core: update copyright datesSebastien Helleu
2013-12-31core: fix unneeded shift of buffer numbers when a buffer with layout is ↵Sebastien Helleu
created and merged
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-12-15core: fix use of NULL pointer (in case of malloc error) when creating a new ↵Sebastien Helleu
filter
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-12-11Merge branch 'buffer-auto-renumber'Sebastien Helleu
2013-12-11core: fix text emphasis with wide chars on screen like japanese (patch ↵Sebastien Helleu
#8253) (patch from Ryuunosuke Ayanokouzi)
2013-12-08core: add signal "buffer_cleared"Sebastien Helleu
2013-12-07core: use first gap for new buffer only if the buffer has no layout numberSebastien Helleu
2013-12-07core: add option weechat.look.buffer_positionSebastien Helleu
The value of option can be: - "end": buffer is added after the end of list (number = last number + 1) - "first_gap": buffer is added at first number available in the list (after the end of list if no number is available)
2013-12-04core: add buffer property "day_change" to hide messages for the day change ↵Sebastien Helleu
in specific buffers
2013-12-01core: replace default key ctrl+"c", "u" by ctrl+"c", "_" for underlined text ↵Sebastien Helleu
in messages
2013-12-01core: replace default key ctrl+"c", "r" by ctrl+"c", "v" for reverse video ↵Sebastien Helleu
in messages
2013-12-01core: add missing access to hdata "buffer_visited"Sebastien Helleu
2013-12-01core: fix random crash when closing a bufferSebastien 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-30core: add limits for buffers (max 10000 buffers opened, number of a buffer: ↵Sebastien Helleu
between 1 and INT_MAX - 10000)
2013-11-30core: fix crash when moving buffer with only one buffer (core buffer)Sebastien Helleu
2013-11-30core: add bar item "buffer_last_number"Sebastien Helleu
2013-11-30core: 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-30core: add option weechat.look.buffer_auto_renumberSebastien 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