Sebastien Helleu
2ad3a1c326
Auto recalculate values of win_width_pct and win_height_pct when windows are resized
2011-02-21 19:51:09 +01:00
Sebastien Helleu
412332653a
Allow relative size for command /window resize
2011-02-21 19:31:44 +01:00
Sebastien Helleu
8b273613df
Add some default keys for gnome-terminal (home/end, ctrl+up/down, alt+pgup/pgdn)
...
New default keys:
meta-OH => /input move_beginning_of_line
meta-OF => /input move_end_of_line
meta2-1;5A => /input history_global_previous
meta2-1;5B => /input history_global_next
meta2-5;3~ => /window scroll_up
meta2-6;3~ => /window scroll_down
2011-02-21 15:54:08 +01:00
Sebastien Helleu
65a609e33e
Add attributes for colors ("*": bold, "%": reverse, "_": underline)
2011-02-17 14:51:21 +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
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
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
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
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
fce371e22a
Remove unused variables
2010-10-31 18:10:51 +01:00
Sebastien Helleu
8ba491e427
Optimize incremental search in buffer: do not search any more when chars are added to a text not found (bug #31167 )
2010-10-06 11:26:33 +02:00
Sebastien Helleu
c3c767c164
Revert last commit about "buffer_switch" signal (introduced new refresh bugs on bars)
2010-10-06 10:38:05 +02:00
Sebastien Helleu
bd39c8fa85
Fix signal "buffer_switch" (was sent twice when switching buffer) (bug #31158 )
2010-10-05 21:48:54 +02:00
Sebastien Helleu
b3b0f2d31c
New value for option weechat.look.input_share (none, commands, text, all), add new option weechat.look.input_share_overwrite (boolean)
2010-09-28 11:09:52 +02:00
Sebastien Helleu
bd7ae6d5a7
Add new option weechat.look.input_share (task #9228 )
2010-09-27 16:07:27 +02: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
dcdba08f8a
Update comments after #endif in C headers
2010-06-25 15:03:39 +02:00
Sebastien Helleu
6562d676fe
Update licenses and copyrights, add missing author names in sources
2010-06-22 19:46:28 +02:00
Sebastien Helleu
b54af6af0b
Fix display bug with attributes like underlined in bars (bug #29889 )
2010-06-11 16:52:10 +02:00
Sebastien Helleu
f1dfe08243
Add keys for undo/redo changes on command line (default: ctrl/alt + underscore) (task #9483 )
2010-04-28 23:24:32 +02:00