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

940 Commits

Author SHA1 Message Date
Sebastien Helleu c3cb06b30c Fix dump of bar colors in log file (missing color name) 2011-02-15 14:13:53 +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 c515069f26 Fix color used to display color aliases on /color buffer 2011-02-07 15:27:04 +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 f1a3805ec8 Reset bold attribute when setting extended color for foreground 2011-02-07 11:56:53 +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 0a69df6c2c Add color "gray", fix white background (use white instead of gray) 2011-02-05 13:12:41 +01:00
Sebastien Helleu 8ec4e680c6 Fix option color_real_white: replace white by default color only if bold is set for color 2011-02-05 12:29:42 +01:00
Sebastien Helleu f2be50f4b1 Fix display of extended foreground color on non-default background in bars 2011-02-05 11:11:20 +01:00
Sebastien Helleu 63b8aa1f23 Fix size of arrays for colors (patch #7458) 2011-02-04 21:17:00 +01:00
Sebastien Helleu 21881bbc7b Replace message "WeeChat colors" by "WeeChat color pairs" on color buffer 2011-02-03 09:52:13 +01:00
Sebastien Helleu 8392d2fbcc Fix terminal title when $TERM starts with "screen" (patch from sleo) 2011-02-01 08:24:08 +01:00
Sebastien Helleu 142fc29e25 Add some chars after cursor when scrolling input line: new option weechat.look.input_cursor_scroll (bug #21391) 2011-01-31 21:42:04 +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 68ee325e65 Rename some variables and functions about weechat colors 2011-01-19 19:29:48 +01:00
Sebastien Helleu eb1a2d9a36 Fix display of bar item "input_prompt" in root bar (patch from Deltafire) 2011-01-13 17:28:43 +01:00
Sebastien Helleu 512de497f5 Display more colors on each line for WeeChat basic and nick colors on /color buffer 2011-01-09 12:43:10 +01:00
Sebastien Helleu f7b473790b Fix unlikely memory leak in function gui_keyboard_new 2011-01-06 14:34:53 +01:00
Sebastien Helleu 25fe7a53a1 Fix scroll problem on buffers with free content and non-allocated lines (bug #32039) 2011-01-05 14:58:17 +01:00
Sebastien Helleu ccc6d52e3a Remove unneeded call to gui_color_buffer_display 2011-01-05 14:10:29 +01:00
Sebastien Helleu fb60335176 Fix number of colors displayed in buffer opened by /color (can be different between WeeChat and terminal colors) 2011-01-04 14:37:14 +01:00
Sebastien Helleu a341d809b2 Fix crash when changing or removing color palette options 2011-01-03 14:41:14 +01:00
Sebastien Helleu ce1aac77e0 Free color palette structures when exiting WeeChat 2011-01-02 16:34:47 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 0721bb1d4c Add new command /color 2011-01-01 14:39:12 +01:00
Sebastien Helleu 894da1c9ed Allow more flexible format for palette options
Order of alias, pair and rgb is free and semicolon is not required any more
before or after pair.
2010-12-21 09:24:31 +01:00
Sebastien Helleu a9f25d125b Do not allow empty string for color (regression with 256 colors feature) 2010-12-20 18:24:29 +01:00
Sebastien Helleu 8893a59063 Build list of color aliases at startup (fix crash when setting "++1" on option if no palette option is defined) 2010-12-20 18:22:22 +01:00
Sebastien Helleu f7a3a2d995 Fix parsing of palette options 2010-12-20 16:27:09 +01:00
Sebastien Helleu 2ee9f7b0fc Replace the 10 nick color options and number of nick colors by a single option "weechat.color.chat_nick_colors" (comma separated list of colors) 2010-12-20 15:08:30 +01:00
Sebastien Helleu e17e5a9614 Fix removal of color pair number in a string (function gui_color_decode) 2010-12-20 11:42:26 +01:00
Sebastien Helleu cd7a02bec5 Add 256 colors support
Changes:
- new section "palette" in weechat.conf
- new API functions: list_search_pos and list_casesearch_pos
2010-12-20 10:13:37 +01:00
Sebastien Helleu e80d6b93a5 Add command line option "-c" (or "--colors") to display default colors in terminal 2010-12-17 12:27:51 +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 b6662ee3cf Add color support in option weechat.look.buffer_time_format 2010-12-07 19:43:19 +01:00
Sebastien Helleu f7d719f8fd Remove unneeded variable name "position" in gui-bar-window.h 2010-12-07 15:16:50 +01:00
Sebastien Helleu 528dc258ca Replace buffer local variable "no_highlight_nicks" by "hotlist_max_level_nicks" 2010-11-29 10:17:09 +01:00
Sebastien Helleu e92079cfe9 Add new option weechat.look.highlight_regex and function string_has_highlight_regex in plugin API (task #10321) 2010-11-25 21:28:14 +01:00
Sebastien Helleu aec97d2082 Add note about comma and "+" in help of options weechat.bar.xxx.items 2010-11-18 18:27:10 +01:00
Sebastien Helleu 97ea89c44f Allow search of nicklist group with name not including leading digits (for nicklist sort) 2010-11-10 12:11:31 +01:00
Sebastien Helleu 7eabbc6bb7 Fix crash when displaying groups in buffer nicklist 2010-11-10 11:37:30 +01:00
Sebastien Helleu 8c129779ac Add function "hook_completion_get_string" in plugin API 2010-11-09 15:45:14 +01:00
Sebastien Helleu 25879ca189 Move WeeChat core completions from gui-completion.c to wee-completion.c 2010-11-09 15:03:07 +01:00
Sebastien Helleu a56dc00b2f Set highlight flag on line printed if there is tag "notify_highlight" 2010-11-05 12:13:00 +01:00
Sebastien Helleu ac6b299e8b Remove dead assignments 2010-10-31 18:23:16 +01:00
Sebastien Helleu 90589b2d71 Add extra checks on some pointers 2010-10-31 18:19:53 +01:00