Age | Commit message (Collapse) | Author |
|
Problem: Unsafe string copying.
Solution: Use vim_strncpy() instead of strcpy(). Use vim_strcat() instead
of strcat().
|
|
Problem: Using uninitialized pointer when out of memory.
Solution: Check for NULL return value.
|
|
Problem: Might use uninitialized memory in C indenting.
Solution: Init arrays to empty.
|
|
Problem: Superfluous assignment.
Solution: Remove assignment.
|
|
Problem: Tty names possibly left unterminated.
Solution: Use vim_strncpy() instead of strncpy().
|
|
Problem: Crash when using map(), filter() and remove() on v:. (ZyX)
Also for extend(). (Yukihiro Nakadaira)
Solution: Mark v: as locked. Also correct locking error messages.
|
|
Problem: Can't compile with tiny features. (Tony Mechelynck)
Solution: Move #define outside of #ifdef.
|
|
Problem: Compiler warning for ambiguous else, missing prototype.
Solution: Add braces. (Dominique Pelle) Add prototype for die().
|
|
Problem: Xxd does not check for errors from library functions.
Solution: Add error checks. (Florian Zumbiehl)
|
|
|
|
Problem: When "unnamedplus" is in 'clipboard' the selection is sometimes
also copied to the star register.
Solution: Avoid copy to the star register when undesired. (James Vega)
|
|
Problem: readline() does not return the last line when the NL is missing.
(Hong Xu)
Solution: When at the end of the file Also check for a previous line.
|
|
Problem: The cursor disappears after the processing of the 'setDot'
netbeans command when vim runs in a terminal.
Solution: Show the cursor after a screen update. (Xavier de Gaye, 2011
|
|
Problem: A syntax file with a huge number of items or clusters causes weird
behavior, a hang or a crash. (Yukihiro Nakadaira)
Solution: Check running out of IDs. (partly by Ben Schmidt)
|
|
Problem: Can't build on HP-UX.
Solution: Remove an unnecessary backslash. (John Marriott)
|
|
Problem: It's possible to assign to a read-only member of a dict.
It's possible to create a global variable "0". (ZyX)
It's possible to add a v: variable with ":let v:.name = 1".
Solution: Add check for dict item being read-only.
Check the name of g: variables.
Disallow adding v: variables.
|
|
Problem: Can't build with Python dynamically loading.
Solution: Add dll_PyType_Ready.
|
|
Problem: Crash with ":python help(dir)". (Kearn Holliday)
Solution: Fix the way the type is set on objects. (Tobias Columbus)
|
|
|
|
Problem: Memfile is not tested sufficiently. Looking up blocks in a
memfile is slow when there are many blocks.
Solution: Add high level test and unittest. Adjust the number of hash
buckets to the number of blocks. (Ivan Krasilnikov)
|
|
|
|
Problem: Python stdout doesn't have a flush() method, causing an import to
fail.
Solution: Add a dummy flush() method. (Tobias Columbus)
|
|
Problem: When a key code is not set get a confusing error message.
Solution: Change the error message to say the key code is not set.
|
|
|
|
Problem: Crash when drawing the "$" at end-of-line for list mode just after
the window border and 'cursorline' is set.
Solution: Don't check for 'cursorline'. (Quentin Carbonneaux)
|
|
Problem: When 'lazyredraw' is set ":ver" output can't be read.
Solution: Don't redraw the screen when at a prompt or command line.
|
|
Problem: ":com" changes the multi-byte text of :echo. (Dimitar Dimitrov)
Solution: Search for K_SPECIAL as a byte, not a character. (Ben Schmidt)
|
|
Problem: When 'lazyredraw' is set the screen may not be updated. (Ivan
Krasilnikov)
Solution: Call update_screen() before waiting for input.
|
|
Problem: Duplicate include of assert.h.
Solution: Remove it.
|
|
Problem: When there is no previous substitute pattern, the previous search
pattern is used. The other way around doesn't work.
Solution: When there is no previous search pattern, use the previous
substitute pattern if possible. (Christian Brabandt)
|
|
Problem: Drag-n-drop doesn't work in KDE Dolphin.
Solution: Add GDK_ACTION_MOVE flag. (Florian Degner)
|
|
Problem: When using encryption it's not clear what method was used.
Solution: In the file message show "blowfish" when using blowfish.
|
|
Problem: C++ style comments.
Solution: Change to C comments.
|
|
Problem: Including errno.h too often.
Solution: Don't include errno.h in Unix header file.
|
|
Problem: Variable misplaced in #ifdef.
Solution: Move clipboard_event_time outside of #ifdef.
|
|
Problem: Using integer like a boolean.
Solution: Nicer check for integer being non-zero.
|
|
Problem: Another compiler warning for signed pointer.
Solution: Use unsigned int argument for sscanf().
|
|
Problem: Compiler complains about comma.
Solution: Remove comma after last enum element.
|
|
Problem: Compiler warning for signed pointer.
Solution: Use unsigned int argument for sscanf().
|
|
|
|
Problem: MSVC: Problem with quotes in link argument.
Solution: Escape backslashes and quotes. (Weasley)
|
|
Problem: When writing a file in binary mode it may be missing the final EOL
if a file previously read was missing the EOL. (Kevin Goodsell)
Solution: Move the write_no_eol_lnum into the buffer struct.
|
|
Problem: ml_get error when executing register being recorded into, deleting
lines and 'conceallevel' is set. (ZyX)
Solution: Don't redraw a line for concealing when it doesn't exist.
|
|
Problem: Having auto/config.mk in the repository causes problems.
Solution: Remove auto/config.mk from the distribution. In the toplevel
Makefile copy it from the "dist" file.
|
|
Problem: Complicated 'statusline' causes a crash. (Christian Brabandt)
Solution: Check that the number of items is not too big.
|
|
Problem: The message for an existing swap file is too long to fit in a 25
line terminal.
Solution: Make the message shorter. (Chad Miller)
|
|
Problem: Build problem on Mac. (Nicholas Stallard)
Solution: Use "extern" instead of "EXTERN" for p_vfile.
|
|
Problem: Ruby uses SIGVTALARM which makes Vim exit. (Alec Tica)
Solution: Ignore SIGVTALARM. (Dominique Pelle)
|
|
Problem: On some systems --as-needed does not work, because the "tinfo"
library is included indirectly from "ncurses". (Charles Campbell)
Solution: In configure prefer using "tinfo" instead of "ncurses".
|
|
Problem: 'cursorline' is displayed too short when there are concealed
characters and 'list' is set. (Dennis Preiser)
Solution: Check for 'cursorline' when 'list' is set. (Christian Brabandt)
|