1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 05:46:38 +02:00
Commit Graph

658 Commits

Author SHA1 Message Date
Sebastien Helleu 3e1d811761 core: fix refresh of item "completion" (bug #38214) (patch from Nils Görs)
The item is now cleared after any action that is changing content of command
line and after switch of buffer.
2013-03-17 19:44:39 +01:00
Sebastien Helleu 149c77decd core: fix typos in many comments and some strings 2013-03-17 12:55:20 +01:00
Sebastien Helleu 30e6acb00d core: add support of multiple layouts (task #11274) 2013-03-17 08:28:41 +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 a421d330bf core: fix refresh of bars when applying layout (bug #37944, bug #37952) 2013-01-05 11:00:30 +01:00
Sebastien Helleu 77afab57ed core: fix scroll to bottom of window (default key: alt+end) when line displayed is bigger than chat area 2013-01-01 13:29:29 +01:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Sebastien Helleu 0e726b43ef core: fix another bug with horizontal separator displayed at bottom after split of windows (bug #37874) 2012-12-20 16:26:41 +01:00
Sebastien Helleu dd96e6daef core: fix refresh of windows after split (fix bug with horizontal separator between windows) (bug #37874) 2012-12-19 12:19:21 +01:00
Sebastien Helleu 3fcb00bfc5 core: fix stuck mouse (patch from Nei) (bug #36533) 2012-12-19 09:10:16 +01:00
Sebastien Helleu 0faf58a287 core: fix default mouse buttons actions for script buffer (focus the window before executing action) 2012-12-19 09:00:59 +01:00
Sebastien Helleu 2b78673aa9 core: add git version in build, display it in "weechat-curses --help" and /version 2012-12-16 23:07:33 +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 f7c47a8644 core: fix scroll of one page down when weechat.look.scroll_page_percent is less than 100 (bug #37875) 2012-12-07 13:45:41 +01:00
Sebastien Helleu 72959d1d8b core: fix display of combining chars (patch from Nei) (bug #37775) 2012-11-30 18:16:49 +01:00
Ailin Nemui 8b52fc90d5 core: add incomplete mouse events "event-down" and "event-drag" (task #11840) 2012-11-02 17:26:52 +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 bfaed2bec6 core: move the set of cmake policy CMP0003 in directory src (so it applies to all plugins) (bug #37311) 2012-09-17 13:15:05 +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 129f32ce8e script: add option script.look.quiet_actions (no messages when installing/removing/loading/unloading scripts on script buffer) 2012-08-21 18:57:49 +02:00
Sebastien Helleu 2944adc954 script: add focus info for mouse on script buffer, add two default mouse bindings: left button = select line, right button = install/remove script 2012-08-20 13:36:29 +02:00
Nils Görs 5a24709f35 core: fix display of "bar more down" char when text is truncated by size_max in bars with vertical filling (bug #37054) 2012-08-17 19:26:44 +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 43894db0bc core: add mouse bindings ctrl+wheel up/down to scroll horizontally buffers with free content 2012-08-17 09:53:49 +02:00
Sebastien Helleu a99d136018 core: add new plugin "script" (scripts manager, replacing scripts weeget.py and script.pl) 2012-08-14 18:29:32 +02:00
Sebastien Helleu 658013a1e4 core: fix compilation of gui-curses-window.c under Solaris 2012-07-18 09:30:22 +02:00
Sebastien Helleu 273256eea9 core: add default key alt+"s" (toggle aspell) 2012-07-05 16:13:04 +02:00
Sebastien Helleu 907752167f core: fix resize of windows after horizontal split 2012-06-13 10:29:57 +02:00
Sebastien Helleu 25c795a26f core: add horizontal separator between windows, two new options to toggle horizontal/vertical separators between windows
New boolean options, enabled by default:
- weechat.look.window_separator_horizontal
- weechat.look.window_separator_vertical
2012-06-10 09:51:03 +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 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