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
b867c69477
core: convert tabs to spaces in text pasted (bug #25028 )
2012-03-24 13:22:41 +01:00
Sebastien Helleu
c6b4f1917e
core: fix lost scroll when switching to a buffer with a pending search (ctrl-r)
2012-03-10 16:12:41 +01:00
Sebastien Helleu
1c12f3a43f
core: fix grab of key (alt-k) (bug introduced with bracketed paste mode)
2012-03-10 15:46:18 +01:00
Sebastien Helleu
077de9dc90
core: fix broken mouse (bug introduced by the previous commit)
2012-03-09 11:43:10 +01:00
Sebastien Helleu
35785a5e05
core: improve and fix bugs on standard paste and bracketed paste
...
Changes:
- wait control sequence for end of bracketed paste (and only after, check if
we should ask confirmation to user)
- add option weechat.look.paste_bracketed_timer_delay to force the end of
bracketed paste if the control sequence for end of bracketed paste was not
received in time
- in bracketed paste mode, with paste_max_lines=1, do not ask confirmation for
one line (ask for one line only if paste_max_lines=0)
- fix bugs with mintty: bracketed paste should be ok every time (even if some
codes are sometimes partially received, WeeChat will now handle that properly);
the standard paste often fails (due to bug in mintty, which sends paste very
slowly to remote app); so the bracketed paste mode is highly recommended with
mintty
- after paste in bracketed paste mode, the undo key (ctrl+"_" by default) will
undo whole paste, not chars one by one
2012-03-09 10:41:13 +01:00
Sebastien Helleu
0552bdefa0
core: read data on stdin even when asking confirmation for paste (fix lost chars under mintty terminal)
2012-03-06 15:56:43 +01:00
Sebastien Helleu
d733a5bd62
core: rename option weechat.look.bracketed_paste_mode to weechat.look.paste_bracketed
2012-03-04 11:38:16 +01:00
Sebastien Helleu
152394689a
core: add support of terminal "bracketed paste mode" (task #11316 )
2012-03-04 10:32:55 +01:00
Sebastien Helleu
8ea2b93a28
core: add signal "window_switch"
2012-01-28 17:18:15 +01:00
Sebastien Helleu
3ecd3d7a26
core: fix signal "buffer_switch": send it only once when switching buffer (bug #31158 )
2012-01-28 11:11:58 +01:00
Sebastien Helleu
d242f30950
core: move option "scroll_unread" from command /input to /window
2012-01-24 21:20:52 +01:00
Sebastien Helleu
b91c231096
core: add URL transfer (using libcurl), add function hook_process_hashtable in plugin API, add support of URL in hook_process/hook_process_hashtable (task #10247 )
2012-01-16 19:52:08 +01:00
Sebastien Helleu
b2dd992c0d
core: add library "pthread" in cmake file for link on OpenBSD
2012-01-16 19:19:09 +01:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
68948f9747
core: change mouse state when option weechat.look.mouse is changed
2011-12-25 21:52:35 +01:00
Sebastien Helleu
3194a9b8e4
core: set option weechat.look.mouse when mouse state is changed with command /mouse
2011-12-25 21:22:33 +01:00
Sebastien Helleu
dc8807a417
core: add default keys "meta2-1;5D" and "meta2-1;5C" (ctrl+left/right) for gnome-terminal
2011-12-16 12:36:28 +01:00
Sebastien Helleu
86489d4587
core: add option "weechat.look.scroll_bottom_after_switch" (if enabled, restore old behaviour before fix of bug #25555 in version 0.3.5)
2011-12-07 16:28:32 +01:00
Simon Kuhnle
07ed065ab7
core: fix compilation under OpenBSD 5.0 (lib utf8 not needed any more) (bug #34727 )
2011-11-12 16:57:49 +01:00
Sebastien Helleu
2c6d525045
core: add option "jump_last_buffer_displayed" for command /input (key: alt+"/") (task #11553 )
2011-11-08 18:51:15 +01:00
Sebastien Helleu
99d3988446
core: change default command for key alt-m: /mouse toggle -> /mute mouse toggle
2011-10-29 11:28:42 +02:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
Sebastien Helleu
2ed8974d2f
core: fix status of mouse displayed by command /mouse
2011-10-16 18:23:54 +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
b9dd668d90
core: add modifiers control/alt ("ctrl" and "alt") for mouse events
2011-10-05 18:15:28 +02:00
Sebastien Helleu
875112756c
core: ignore mouse code '@' (coordinates) when it is received as first event (bug of urxvt sending only this code on shift-selection in terminal)
2011-10-05 11:55:58 +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
d0f41efeb7
core: fix paste detection (problem with end of lines)
2011-09-27 21:35:13 +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
fb5d40951c
core: add new option weechat.look.color_basic_force_bold, off by default: bold is used only if terminal has less than 16 colors (patch #7621 )
2011-09-24 11:28:33 +02:00
Sebastien Helleu
734ced6af8
core: add default key "meta2-[E" (F5) for linux console
2011-09-23 12:56:06 +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
e411d14b7a
core: do automatic zoom on current window when terminal becomes too small for windows
2011-08-27 14:24:27 +02:00
Sebastien Helleu
ce0a81fe20
core: add new options weechat.look.bar_more_left/right/up/down
2011-08-26 23:42:46 +02:00
Sebastien Helleu
88c58cb1b7
core: remove warning at startup if locale is UTF-8 and if ncurses has no wide-char/UTF-8 support
2011-08-26 16:11:18 +02:00
Sebastien Helleu
9a299e1ab3
core: remove unused function gui_window_wprintw
2011-08-23 11:38:18 +02:00
Sebastien Helleu
27afc1e7d2
core: fix input of wide UTF-8 chars under Cygwin (bug #34061 )
2011-08-18 17:30:18 +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