summaryrefslogtreecommitdiff
path: root/src/screen.c
AgeCommit message (Collapse)Author
2017-04-30patch 8.0.0594: build failure when windows feature is missingBram Moolenaar
Problem: Build failure when windows feature is missing. Solution: Add #ifdef.
2017-04-30patch 8.0.0592: if a job writes to a buffer screen is not updatedBram Moolenaar
Problem: If a job writes to a buffer and the user is typing a command, the screen isn't updated. When a message is displayed the changed buffer may cause it to be cleared. (Ramel Eshed) Solution: Update the screen and then the command line if the screen didn't scroll. Avoid inserting screen lines, as it clears any message. Update the status line when the buffer changed.
2017-03-29patch 8.0.0524: folds messed upBram Moolenaar
Problem: Folds are messed up when 'encodin' is "utf-8". Solution: Also set the fold character when it's not multi-byte.
2017-03-29patch 8.0.0520: using a function pointer while the function is knownBram Moolenaar
Problem: Using a function pointer instead of the actual function, which we know. Solution: Change mb_ functions to utf_ functions when already checked for Unicode. (Dominique Pelle, closes #1582)
2017-03-29patch 8.0.0518: bad fold text when a multi-byte char has a zero byteBram Moolenaar
Problem: Storing a zero byte from a multi-byte character causes fold text to show up wrong. Solution: Avoid putting zero in ScreenLines. (Christian Brabandt, closes #1567)
2017-03-16patch 8.0.0466: still macros that should be all-capsBram Moolenaar
Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps.
2017-03-12patch 8.0.0454: compiler warnings for "always true" comparisonBram Moolenaar
Problem: Compiler warnings for comparing unsigned char with 256 always being true. (Manuel Ortega) Solution: Add type cast.
2017-03-12patch 8.0.0452: some macros are in lower caseBram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
2017-03-12patch 8.0.0451: some macros are in lower caseBram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
2017-03-12patch 8.0.0448: some macros are in lower caseBram Moolenaar
Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
2017-03-09patch 8.0.0440: not enough test coverage in Insert modeBram Moolenaar
Problem: Not enough test coverage in Insert mode. Solution: Add lots of tests. Add test_override(). (Christian Brabandt, closes #1521)
2017-03-01patch 8.0.0394: tabs are not aligned when scrolling horizontallyBram Moolenaar
Problem: Tabs are not aligned when scrolling horizontally and a Tab doesn't fit. (Axel Bender) Solution: Handle a Tab as a not fitting character. (Christian Brabandt) Also fix that ":redraw" does not scroll horizontally to show the cursor. And fix the test that depended on the old behavior.
2017-02-27patch 8.0.0383: misplaced #ifdefBram Moolenaar
Problem: Misplaced #ifdef. (Christ van Willigen) Solution: Split assignment.
2017-02-27patch 8.0.0382: warning in tiny build for unused variableBram Moolenaar
Problem: Warning in tiny build for unused variable. (Tony Mechelynck) Solution: Add #ifdefs.
2017-02-26patch 8.0.0380: with 'linebreak' double wide char wraps badlyBram Moolenaar
Problem: With 'linebreak' set and 'breakat' includes ">" a double-wide character results in "<<" displayed. Solution: Check for the character not to be replaced. (Ozaki Kiichi, closes #1456)
2017-02-23patch 8.0.0353: if [RO] is translated it may be truncatedBram Moolenaar
Problem: If [RO] in the status line is translated to a longer string, it is trunctted to 4 bytes. Solution: Skip over the resulting string. (Jente Hidskes, closes #1499)
2017-02-01patch 8.0.0290: cursor positioning wrong if wide character wrapsBram Moolenaar
Problem: If a wide character doesn't fit at the end of the screen line, and the line doesn't fit on the screen, then the cursor position may be wrong. (anliting) Solution: Don't skip over wide character. (Christian Brabandt, closes #1408)
2017-02-01patch 8.0.0286: not always redrawing after screen resizeBram Moolenaar
Problem: When concealing is active and the screen is resized in the GUI it is not immediately redrawn. Solution: Use update_prepare() and update_finish() from update_single_line().
2017-01-31patch 8.0.0274: possible recursive screen updating causes troubleBram Moolenaar
Problem: When update_single_line() is called recursively, or another screen update happens while it is busy, errors may occur. Solution: Check and update updating_screen. (Christian Brabandt)
2017-01-24patch 8.0.0235: memory leak in diff modeBram Moolenaar
Problem: Memory leak detected when running tests for diff mode. Solution: Free p_extra_free.
2017-01-08patch 8.0.0159: crash on startup when updating tablineBram Moolenaar
Problem: Using a NULL pointer when using feedkeys() to trigger drawing a tabline. Solution: Skip drawing a tabline if TabPageIdxs is NULL. (Dominique Pelle) Also fix recursing into getcmdline() from the cmd window.
2016-12-09patch 8.0.0126Bram Moolenaar
Problem: Display problem with 'foldcolumn' and a wide character. (esiegerman) Solution: Don't use "extra" but an allocated buffer. (Christian Brabandt, closes #1310)
2016-11-17patch 8.0.0090Bram Moolenaar
Problem: Test_help_complete sometimes fails in MS-Windows console. Solution: Use getcompletion() instead of feedkeys() and command line completion. (Hirohito Higashi)
2016-11-06patch 8.0.0069Bram Moolenaar
Problem: Compiler warning for self-comparison. Solution: Define ONE_WINDOW and add #ifdef.
2016-10-27patch 8.0.0049Bram Moolenaar
Problem: When a match ends in part of concealed text highlighting, it might mess up concealing by resetting prev_syntax_id. Solution: Do not reset prev_syntax_id and add a test to verify. (Christian Brabandt, closes #1092)
2016-10-16patch 8.0.0040Bram Moolenaar
Problem: Whole line highlighting with matchaddpos() does not work. Solution: Check for zero length. (Hirohito Higashi)
2016-10-15patch 8.0.0033Bram Moolenaar
Problem: Cannot use overlapping positions with matchaddpos(). Solution: Check end of match. (Ozaki Kiichi) Add a test (Hirohito Higashi)
2016-10-02patch 8.0.0021Bram Moolenaar
Problem: In the GUI when redrawing the cursor it may be on the second half of a double byte character. Solution: Correct the cursor column. (Yasuhiro Matsumoto)
2016-08-29patch 7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-27patch 7.4.2269Bram Moolenaar
Problem: Using 'hlsearch' highlighting instead of matchpos if there is no search match. Solution: Pass NULL as last item to next_search_hl() when searching for 'hlsearch' match. (Shane Harper, closes #1013)
2016-08-22patch 7.4.2243Bram Moolenaar
Problem: Warning for assigning negative value to unsigned. (Danek Duvall) Solution: Make cterm_normal_fg_gui_color and _bg_ guicolor_T, cast to long_u only when an unsigned is needed.
2016-08-16patch 7.4.2217Bram Moolenaar
Problem: When using matchaddpos() a character after the end of the line can be highlighted. Solution: Only highlight existing characters. (Hirohito Higashi)
2016-08-14patch 7.4.2213Bram Moolenaar
Problem: Cannot highlight the "~" lines at the end of a window differently. Solution: Add the EndOfBuffer highlighting. (Marco Hinz, James McCoy)
2016-08-12patch 7.4.2201Bram Moolenaar
Problem: The sign column disappears when the last sign is deleted. Solution: Add the 'signcolumn' option. (Christian Brabandt)
2016-08-12patch 7.4.2199Bram Moolenaar
Problem: In the GUI the cursor is hidden when redrawing any window, causing flicker. Solution: Only undraw the cursor when updating the window it's in.
2016-08-03patch 7.4.2152Bram Moolenaar
Problem: No proper translation of messages with a count. Solution: Use ngettext(). (Sergey Alyoshin)
2016-07-27patch 7.4.2109Bram Moolenaar
Problem: Setting 'display' to "lastline" is a drastic change, while omitting it results in lots of "@" lines. Solution: Add "truncate" to show "@@@" for a truncated line.
2016-07-24patch 7.4.2101Bram Moolenaar
Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
2016-07-24patch 7.4.2099Bram Moolenaar
Problem: When a keymap is active only "(lang)" is displayed. (Ilya Dogolazky) Solution: Show the keymap name. (Dmitri Vereshchagin, closes #933)
2016-07-10patch 7.4.2025Bram Moolenaar
Problem: The cursor blinking stops or is irregular when receiving date over a channel and writing it in a buffer, and when updating the status line. (Ramel Eshed) Solution: Make it a bit better by flushing GUI output. Don't redraw the cursor after updating the screen if the blink state is off.
2016-07-08patch 7.4.2004Bram Moolenaar
Problem: GUI: cursor displayed in the wrong position. Solution: Correct screen_cur_col and screen_cur_row.
2016-07-08patch 7.4.2003Bram Moolenaar
Problem: Still cursor flickering when a callback updates the screen. (David Samvelyan) Solution: Put the cursor in the right position after updating the screen.
2016-07-07patch 7.4.1995Bram Moolenaar
Problem: GUI: cursor drawn in wrong place if a timer callback causes a screen update. (David Samvelyan) Solution: Also redraw the cursor when it's blinking and on.
2016-06-17patch 7.4.1942Bram Moolenaar
Problem: Background is not drawn properly when 'termguicolors' is set. Solution: Check cterm_normal_bg_color. (Jacob Niehus, closes #805)
2016-06-12patch 7.4.1924Bram Moolenaar
Problem: Missing "void" for functions without argument. Solution: Add "void". (Hirohito Higashi)
2016-06-04patch 7.4.1890Bram Moolenaar
Problem: GUI: When channel data is received the cursor blinking is interrupted. (Ramel Eshed) Solution: Don't update the cursor when it is blinking.
2016-05-24patch 7.4.1834Bram Moolenaar
Problem: Possible crash when conceal is active. Solution: Check for the screen to be valid when redrawing a line.
2016-04-29patch 7.4.1799Bram Moolenaar
Problem: 'guicolors' is a confusing option name. Solution: Use 'termguicolors' instead. (Hirohito Higashi)
2016-04-22patch 7.4.1774Bram Moolenaar
Problem: Cterm true color feature has warnings. Solution: Add type casts.
2016-04-21patch 7.4.1770Bram Moolenaar
Problem: Cannot use true color in the terminal. Solution: Add the 'guicolors' option. (Nikolai Pavlov)