| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Problem: Using "int" for alloc() often results in compiler warnings.
Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim
only works with 32 bit ints anyway.
|
|
|
|
|
| |
Problem: Warning for size_t/int mixup.
Solution: Change type. (Mike Williams)
|
|
|
|
|
| |
Problem: Error when editing test file.
Solution: Remove part of modeline.
|
|
|
|
|
|
| |
Problem: MS-Windows: missing build dependency.
Solution: Make gui_dwrite.cpp depend on gui_dwrite.h. (Ken Takata,
closes #4423
|
|
|
|
|
| |
Problem: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set.
Solution: Invert condition. (closes #4422)
|
|
|
|
|
| |
Problem: Filechanged test hangs.
Solution: Do not check 'autoread'.
|
|
|
|
|
|
| |
Problem: Delete() can not handle a file name that looks like a pattern.
Solution: Use readdir() instead of appending "/*" and expanding wildcards.
(Ken Takata, closes #4424, closes #696)
|
|
|
|
|
| |
Problem: MS-Windows GUI uses wrong shell command for bash. (Robert Bogomip)
Solution: Check that 'shellcmdflag' is "/c". (Ken Takata, closes #4418)
|
|
|
|
|
| |
Problem: Warnings for size_t/int mixups.
Solution: Change types, add type casts. (Mike Williams)
|
|
|
|
|
|
| |
Problem: Without "TS" in 'shortmess' get a hit-enter prompt often.
Solution: Always truncate the search message. Also avoid putting it in the
message history. (closes #4413)
|
|
|
|
|
| |
Problem: Check for file changed triggers too often.
Solution: Don't use "b_p_ar" when it is negative.
|
|
|
|
|
|
| |
Problem: "[p" in Visual mode puts in wrong line.
Solution: Call nv_put() instead of duplicating the functionality.
(closes #4408)
|
|
|
|
|
|
|
| |
Problem: When evaluating 'statusline' the current window is unknown.
(Daniel Hahler)
Solution: Set "g:actual_curwin" for %{} items. Set "g:statusline_winid"
when evaluationg %!. (closes #4406, closes #3299)
|
|
|
|
|
|
|
| |
Problem: Cannot recover from a swap file.
Solution: Do not expand environment variables in the swap file name.
Do not check the extension when we already know a file is a swap
file. (Ken Takata, closes 4415, closes #4369)
|
|
|
|
|
| |
Problem: Not using the new github feature for donations.
Solution: Add a Sponsor button. (closes #4417)
|
|
|
|
|
| |
Problem: Get E484 when using system() during GUI startup.
Solution: Check "gui.starting". (Ken Takata)
|
|
|
|
|
| |
Problem: Modeline test fails with python but without pythonhome.
Solution: Correct test argument.
|
|
|
|
|
| |
Problem: can set 'modelineexpr' in modeline.
Solution: Add P_SECURE flag.
|
|
|
|
|
|
| |
Problem: Using expressions in a modeline is unsafe.
Solution: Disallow using expressions in a modeline, unless the
'modelineexpr' option is set. Update help, add more tests.
|
|
|
|
|
| |
Problem: Source command doesn't check for the sandbox. (Armin Razmjou)
Solution: Check for the sandbox when sourcing a file.
|
|
|
|
|
|
| |
Problem: Design for popup window support needs more details.
Solution: Add details about using a window and buffer. Rename popup_show()
to popup_create() and add popup_show() and popup_hide().
|
|
|
|
|
|
| |
Problem: ":vert options" does not make a vertical split.
Solution: Pass the right modifiers in $OPTWIN_CMD. (Ken Takata,
closes #4401)
|
|
|
|
|
| |
Problem: Code and data in tests can be hard to read.
Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes #4400)
|
|
|
|
|
|
| |
Problem: Python setuptools don't work with Python 3.
Solution: Add dummy implementation for find_module. (Joel Frederico,
closes #4402, closes #3984
|
|
|
|
|
|
| |
Problem: Buffer left 'nomodifiable' after :substitute. (Ingo Karkat)
Solution: Save the value of 'modifiable' earlier' (Christian Brabandt,
closes #4403)
|
|
|
|
|
|
| |
Problem: Text property wrong after :substitute with backslash.
Solution: Adjust text property columns when removing backslashes.
(closes #4397)
|
|
|
|
|
|
| |
Problem: Cannot enter character with a CSI byte.
Solution: Only check "gui.in_use" when VIMDLL is defined. (Ken Takata,
closes #4396)
|
|
|
|
|
| |
Problem: Test 37 is old style.
Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #4398)
|
|
|
|
|
| |
Problem: Some text in heredoc assignment ends the text. (Ozaki Kiichi)
Solution: Recognize "let v =<<" and skip until the end.
|
|
|
|
|
|
| |
Problem: Obvious mistakes are accepted as valid expressions.
Solution: Be more strict about parsing numbers. (Yasuhiro Matsumoto,
closes #3981)
|
|
|
|
|
| |
Problem: Getting a list of text lines is clumsy.
Solution: Add the =<< assignment. (Yegappan Lakshmanan, closes #4386)
|
|
|
|
|
| |
Problem: Undo test fails on Mac.
Solution: Expect "private" on the Mac.
|
|
|
|
|
|
| |
Problem: Undofile() reports wrong name. (Francisco Giordano)
Solution: Clean up the name before changing path separators. (closes #4392,
closes #4394)
|
|
|
|
|
| |
Problem: Text property wrong after :substitute.
Solution: Save for undo before changing any text properties.
|
|
|
|
|
| |
Problem: "W" for wrapping not shown when more than 99 matches.
Solution: Adjust check for length. (Masato Nishihata, closes #4388)
|
|
|
|
|
|
|
| |
Problem: If writing runs into a conversion error the backup file is
deleted. (Arseny Nasokin)
Solution: Don't delete the backup file is the file was overwritten and a
conversion error occurred. (Christian Brabandt, closes #4387)
|
|
|
|
|
|
| |
Problem: Running tests may cause the window to move.
Solution: Correct the reported window position for the offset with the
position after ":winpos". Works around an xterm bug.
|
|
|
|
|
| |
Problem: Fractional scroll position not restored after closing window.
Solution: Do restore fraction if topline is not one.
|
|
|
|
|
|
| |
Problem: Error for Python exception does not show useful info.
Solution: Show the last line instead of the first one. (Ben Jackson,
closes #4381)
|
|
|
|
|
| |
Problem: Stuck in sandbox with ":s/../\=Function/gn".
Solution: Don't skip over code to restore sandbox. (Christian Brabandt)
|
|
|
|
|
|
|
| |
Problem: Coverity complains about possibly using a NULL pointer and copying
a string into a fixed size buffer.
Solution: Check for NULL, even though it should not happen. Use
vim_strncpy() instead of strcpy().
|
|
|
|
|
| |
Problem: Text properties not adjusted for Visual block mode delete.
Solution: Call adjust_prop_columns(). (closes #4384)
|
|
|
|
|
| |
Problem: Using freed memory when joining line with text property.
Solution: Use already computed length.
|
|
|
|
|
| |
Problem: Text properties are lost when joining lines.
Solution: Move the text properties to the joined line.
|
|
|
|
|
| |
Problem: Attributes from 'cursorline' overwrite textprop.
Solution: Combine the attributes. (closes #3912)
|
|
|
|
|
| |
Problem: Installer needs to product name et al.
Solution: Add a few lines to the NSIS installer script. (Christian Brabandt)
|
|
|
|
|
|
|
| |
Problem: Hang when concealing the '>' shown for a wide char that doesn't
fit in the last cell.
Solution: Put back the pointer when the '>' is not going to be displayed.
(closes #4377)
|
|
|
|
|
| |
Problem: Get empty text prop when splitting line just after text prop.
Solution: Do not create an empty text prop at the start of the line.
|
|
|
|
|
| |
Problem: Some eval functionality is not covered by tests.
Solution: Add a few more test cases. (Masato Nishihata, closes #4374)
|
|
|
|
|
|
| |
Problem: Listener callback is called after inserting text.
Solution: Flush the changes before inserting or deleting a line. Store
changes per buffer.
|