1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 09:43:13 +02:00
Commit Graph

153 Commits

Author SHA1 Message Date
Sebastien Helleu 600ee3ddf3 core: add search of regular expression in buffer, don't reset search type on 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-17 11:51:50 +02:00
Sebastien Helleu c624960336 core: add text emphasis in messages when searching text in buffer
New options:
- weechat.look.emphasized_attributes
- weechat.color.emphasized
- weechat.color.emphasized_bg
2013-08-16 16:16:37 +02:00
Sebastien Helleu c14b1b5fae core: remove gap after read marker line when there is no bar on the right (bug #39548) 2013-07-22 18:25:35 +02:00
Sebastien Helleu 354d96ea36 core: fix filtered line displayed after /window scroll_beyond_end 2013-07-18 20:07:47 +02:00
Sebastien Helleu bee56c3b7f core: add option "scroll_beyond_end" for command /window (task #6745) 2013-07-17 18:04:44 +02:00
Sebastien Helleu e7c947df3e core: fix compilation warnings 2013-05-22 20:56:54 +02:00
Sebastien Helleu 2e43bac479 core: fix line alignment when option weechat.look.buffer_time_format is set to empty string
A regression was introduced by commit 305175fb8c
2013-05-21 11:07:15 +02:00
Sebastien Helleu 0a7b708a1f core: add options weechat.look.prefix_align_more_after and weechat.look.prefix_buffer_align_more_after 2013-05-03 19:15:57 +02:00
Sebastien Helleu 305175fb8c core: fix display of long lines without time (message beginning with two tabs)
The long lines without time were not properly aligned: the second and subsequent
lines should start at column 0 of chat area.
2013-05-01 16:46:54 +02:00
Sebastien Helleu 16cc0b6088 core: make nick prefix/suffix dynamic (move options from irc plugin to core, add logger options) (bug #37531) 2013-04-29 18:30:59 +02:00
Sebastien Helleu 149c77decd core: fix typos in many comments and some strings 2013-03-17 12:55:20 +01:00
Sebastien Helleu 6fdee3aa9f core: fix crash in display of chat area when the ncurses chat window is not initialized
This can happen when a window becomes too small for display: then we set the
ncurses chat window to NULL.
So when displaying buffer, we'll skip it if the ncurses chat window is NULL.

Steps to reproduce crash:
  1. /window splith
  2. /window resize -1 (many times, until chat area is less than one line)
  3. /window balance
2013-01-12 19:40:04 +01:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Sebastien Helleu 7eb5cc4b97 core: move comments with description of C file to top of files 2012-12-15 12:27:57 +01:00
Sebastien Helleu 7d34812f1c core: reformat comments for functions 2012-12-13 18:51:44 +01:00
Sebastien Helleu 72959d1d8b core: fix display of combining chars (patch from Nei) (bug #37775) 2012-11-30 18:16:49 +01:00
Sebastien Helleu f42b3d382f core: fix display problem when option weechat.look.prefix_same_nick is set (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: 04e98c3f29
This feature may be reintroduced in a future commit.
2012-10-17 16:34:21 +02:00
Sebastien Helleu e1a54d49eb core: add default key alt+"x" (zoom on merged buffer) (task #11029) 2012-08-30 10:46:42 +02:00
Sebastien Helleu c5daee28cf core: fix display bug when end of a line is displayed on top of chat (last line truncated and MORE(0) in status bar) (bug #37203) 2012-08-27 12:30:56 +02:00
Sebastien Helleu d8d0d6e4c6 core: display spaces at the end of messages in chat area (bug #37024) 2012-08-22 14:07:01 +02:00
Sebastien Helleu d81d5c09d1 core: fix infinite loop in display when chat area has width of 1 with a bar displayed on the right (nicklist by default) (bug #37089) 2012-08-22 10:14:24 +02:00
Sebastien Helleu e59c18109d core: fix color of long lines (displayed on more than one line on screen) under FreeBSD (bug #36999) 2012-08-17 11:06:41 +02:00
Sebastien Helleu 9c5116b4fe core: add options weechat.color.chat_nick_offline_highlight(_bg) (text/bg for highlight when nick is offline) 2012-06-09 21:33:10 +02:00
Sebastien Helleu 200652836b core: add options to use different color for offline nicks in prefix (patch 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-06-09 08:53:50 +02:00
Sebastien Helleu 04e98c3f29 core: force display of prefix on first line displayed in window (even if it should be hidden by option weechat.look.prefix_same_nick) 2012-05-22 07:59:59 +02:00
Sebastien Helleu a317029955 core: fix display bugs and crashs with small windows (bug #36107) 2012-04-11 16:38:14 +02:00
Sebastien Helleu 902c0903d3 core: convert options weechat.look.prefix_align_more and weechat.look.prefix_buffer_align_more from boolean to string (task #11197) 2012-04-07 18:47:41 +02:00
Sebastien Helleu 5459e6595a core: fix bugs with option weechat.look.prefix_same_nick, use nick color for 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-03 21:22:53 +02:00
Sebastien Helleu fc697d5998 core: fix bad computation of prefix length when simulating display (this caused one or more empty lines at bottom of chat area)
(bug was introduced in previous commit: 10df976e53)
2012-03-31 22:13:13 +02:00
Sebastien Helleu 10df976e53 core: fix display bug with prefix when length is greater than max and prefix is ending with a wide char (bug #36032) 2012-03-29 16:36:51 +02:00
Sebastien Helleu 67115edf3d core: add option weechat.look.prefix_same_nick (hide or change prefix on messages whose nick is the same as previous message) (task #11965) 2012-03-28 18:07:15 +02:00
Sebastien Helleu 47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +01:00
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu ac7c27949b core: add color attribute "|" and value "resetcolor" for function weechat_color in plugin API (bug #34550) 2011-10-15 13:54:53 +02:00
Sebastien Helleu cf598e8447 core: fix display of background color in chat area after line feed 2011-10-02 10:58:10 +02:00
Sebastien Helleu 5ae4ef715a core: fix color of highlighted prefix on inactive window when option weechat.look.color_inactive_prefix is off 2011-09-28 17:46:25 +02:00
Sebastien Helleu b45a5af0f3 core: fix color of inactive merged lines in inactive windows when weechat.look.color_inactive_window is off 2011-09-24 14:10:37 +02:00
Sebastien Helleu 83a7305bae core: fix option weechat.look.color_inactive_message 2011-09-22 23:49:28 +02:00
Sebastien Helleu 420ce7522a core: add options weechat.look.color_inactive_window/buffer, fix bugs with inactive colors 2011-09-22 23:04:09 +02:00
Sebastien Helleu 490c821997 core: rename options *_inactive_line to *_inactive_buffer 2011-09-22 17:54:54 +02:00
Sebastien Helleu e2cccb9a62 core: fix option weechat.look.color_inactive_prefix_buffer 2011-09-22 17:44:37 +02:00
Sebastien Helleu 25e1e6e23d core: add colors for inactive windows and lines (in merged buffers)
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-09-22 11:09:16 +02:00
Sebastien Helleu eee81cfe9c core: fix focus info for chat area on buffers with free content 2011-08-14 23:44:32 +02:00
Sebastien Helleu ab986baa05 core: fix crash in display of chat area (overflow in coords) 2011-08-14 16:42:55 +02:00
Sebastien Helleu cc3a4834d0 core: allow empty short name on buffers (name is used if not set) 2011-08-14 13:20:03 +02:00
Sebastien Helleu 1cb7c6a6c5 core: return info about line/word for chat area in focus hashtable, add keys m/q/Q to quote line in cursor mode, sort mouse keys by priority 2011-08-14 11:30:08 +02:00
Sebastien Helleu e0781f0390 core: add mouse support (task #5435), free cursor movement, hook_focus, fix bugs with key "^" (bug #32072, bug #21381), fix bugs with bar windows, completion and /buffer
New features and bugs fixed:
- mouse support: new command /mouse, new option weechat.look.mouse, new key context "mouse"
- free movement of cursor: new command /cursor, new key context "cursor"
- new hook_focus (used by cursor and mouse)
- info "cursor_mode"
- bugs fixed with key "^"
- allow plugin name in /buffer name
- fix bugs with bar windows: do not create bar windows for hidden bars
- fix completion bug when two words for completion are equal but with different case
- automatic scroll direction in /bar scroll (x/y is now optional)
2011-07-26 18:50:29 +02:00
Sebastien Helleu 1e71196aee core: add option "tags" for command /debug 2011-06-13 15:25:38 +02:00
Sebastien Helleu 60bba82150 core: fix bug with horizontal scroll in windows and long lines 2011-05-31 08:46:08 +02:00
Sebastien Helleu e3e20f2b60 core: add horizontal scrolling for buffers with free content (command /window scroll_horiz) (task #11112) 2011-05-16 15:33:44 +02:00