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

134 Commits

Author SHA1 Message Date
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
Sebastien Helleu baa6e59efb core: fix compiler warning on function wattr_get (on pointers to attrs and pair) 2011-05-01 10:56:34 +02:00
Sebastien Helleu 70b0f12469 core: add buffer to hotlist if away is set on buffer (even if buffer is displayed) (task #10948), do not update hotlist during upgrade 2011-04-23 17:23:17 +02:00
Sebastien Helleu 6f047c4a05 Remember scroll position for all buffers in windows (bug #25555) 2011-03-01 16:31:56 +01:00
Sebastien Helleu a79f721993 Reset color used to display spaces around time and buffer in chat area 2011-02-24 09:44:22 +01:00
Sebastien Helleu d8248f3f68 Rename some color constants and functions for attributes 2011-02-09 16:26:58 +01:00
Sebastien Helleu 12879e9138 Factorize code used to apply color codes in strings (for chat and bars) 2011-02-09 16:14:53 +01:00
Sebastien Helleu ba92074bf8 Fix missing suffix (after prefix) on lines when nothing is displayed before suffix (no time/buffer/prefix) 2011-02-07 14:34:23 +01:00
Sebastien Helleu 9da63c7170 Rename constants GUI_COLOR_PAIR_xxx to GUI_COLOR_EXTENDED_xxx 2011-02-06 18:18:13 +01:00
Sebastien Helleu 96de4e8746 Fix infinite loop when option weechat.look.read_marker_string it set to empty string 2011-02-05 21:55:58 +01:00
Sebastien Helleu b1c8989835 Add option weechat.look.read_marker_string, use option hline_char for horizontal bar separators only 2011-02-05 15:29:51 +01:00
Sebastien Helleu 63b8aa1f23 Fix size of arrays for colors (patch #7458) 2011-02-04 21:17:00 +01:00
Sebastien Helleu ccb08945a1 Dynamically allocate color pairs
This commit introduces major changes in 256 colors support:
- extended colors can be used without being added with command "/color add"
- background color is now allowed for nick colors (using slash separator)
2011-01-31 19:03:30 +01:00
Sebastien Helleu cc6bb607e0 Test return value of calls to sscanf function 2011-01-21 19:30:08 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 4043ca3d38 Allow use of color pair number in color options and in API function "weechat_color" 2010-12-17 09:54:46 +01:00
Sebastien Helleu f11549f654 Fix display bug with special chars (ascii value below 32) (bug #30602) 2010-08-06 19:02:25 +02:00
Sebastien Helleu 972e8bc4a8 Replace TODO by FIXME in comments 2010-08-01 18:16:55 +02:00
Sebastien Helleu 7e6088570b Add new option weechat.look.align_end_of_lines 2010-07-12 09:43:16 +02:00
Sebastien Helleu 6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00