| Commit message (Collapse) | Author | Age |
... | |
|\
| |
| | |
doc: "halfway a line" is a very confusing phrase
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If you Google for this phrase found in the Vim documentation you'll find
almost exclusively hits from the Vim documentation. I think changing
"halfway a line" to "halfway through a line" makes more sense.
There seems to be an pervasive odd use of the word 'halfway' in the
original docs which I'm updating everywhere.
|
|\ \
| | |
| | | |
vim-patch:7.4.500 and fix in vim-patch:7.4.406
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| | |
Problem: Test 72 still fails once in a while.
Solution: Don't set 'fileformat' to unix, reset it. (Ken Takata)
https://code.google.com/p/vim/source/detail?r=v7-4-500
|
|\ \
| | |
| | | |
Fix CID #102150
|
| |/
| |
| |
| |
| |
| |
| | |
Don't attempt to write an error message to a channel that may have been
closed and freed.
[CID #102150](https://scan8.coverity.com/reports.htm#v22612/p10672/fileInstanceId=3625286&defectInstanceId=1525721&mergedDefectId=102150)
|
|/ |
|
|\
| |
| | |
Remove "easy" mode.
|
| | |
|
|\ \
| | |
| | | |
vim-patch:7.4.462
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Setting the local value of 'backupcopy' empty gives an error.
(Peter Mattern)
Solution: When using an empty value set the flags to zero. (Hirohito
Higashi)
https://code.google.com/p/vim/source/detail?r=v7-4-462
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: In some situations, when setting up an environment to trigger an
autocommand, the environment is not properly restored.
Solution: Check the return value of switch_win() and call restore_win()
always. (Daniel Hahler)
https://code.google.com/p/vim/source/detail?r=v7-4-446
|
|\ \
| | |
| | | |
coverity/102151: initialize `our_paren_pos`
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This hoists the initialization of `our_paren_pos` outside a conditional
so it can be safely referenced further down in this function.
Originally broken in:
https://code.google.com/p/vim/source/diff?spec=svndc8197342755fda6ca4d6619dac228406867a7ce&old=01583c79d5f4d3f29d4c33dd10dd29efd349cad0&r=dc8197342755fda6ca4d6619dac228406867a7ce&format=unidiff&path=%2Fsrc%2Fmisc1.c
This fixes CID #102151
https://scan8.coverity.com/reports.htm#v22612/p10672/fileInstanceId=3625174&defectInstanceId=1525719&mergedDefectId=102151
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: In Insert mode, after inserting a newline that inserts a comment
leader, CTRL-O moves to the right. (ZyX) Issue 57.
Solution: Correct the condition for moving the cursor back to the NUL.
(Christian Brabandt)
https://code.google.com/p/vim/source/detail?r=v7-4-492
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
CommandDefinition.cmd_argt: long_u --> uint32_t.
|
|\ \ \
| |/ /
|/| | |
vim-patch:7.4.490
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot specify the buffer to use for "do" and "dp", making them
useless for three-way diff.
Solution: Use the count as the buffer number. (James McCoy)
https://code.google.com/p/vim/source/detail?r=v7-4-490
|
|\ \ \
| | | |
| | | | |
job.c: Prevent early return from job_wait().
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A blocking call job_wait(job, -1) can only return after job is finished
and all handles of job are closed. But hitting CTRL-C makes job_wait()
return early while handles can still be open. This can lead to problems
with the job/handle callbacks if the caller (of job_wait()) already
freed the memory that is used in the job callbacks.
To fix this, only return after all handles of the job are closed.
|
|\ \ \ \
| |_|_|/
|/| | | |
Small fixes.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem : Operands don't affect results (CONSTANT_EXPRESSION_RESULT).
Diagnostic : Harmless issue.
Rationale : n >= LONG_MIN, n being intmax_t, is always true for
architectures where sizeof(intmax_t) == sizeof(long).
Resolution : Add sizes check.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem : Assert can fail for legal values. Modulo-arithmetic of
unsigned types can make so that n * 100 > n, but n has
overflowed.
Solution : Use alternative form of expression.
|
|\ \ \ \
| | | | |
| | | | | |
Macro cleanup
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These were found with -Wunused-macros. There are many more macros which
triggered that warning, but they were primarily part of larger sets of
macros so leave them alone.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Neovim always ships with all features[0], so this serves no purpose.
Besides, this always evaluated to true.
[0]: https://github.com/neovim/neovim/wiki/Differences-from-vim
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Regarding dict_lookup() in eval.c: both definitions are the same, the
only difference being the spacing between the indirection operator and
the indentation level.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Must check for EOF which will result in row/col being uninitialized.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Set 't_Co' to 256 at startup. The value can be changed by the user for
compatibility with terminals that are less capable.
- `has('gui_running')` will return 1 if at least one rgb UI is attached.
Even though these changes are hacky, they are necessary to make the transition
to the new UI architecture smoother.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Before sending a resize command to the UIs, flush the current output buffer to
ensure no redraw commands for a screen with invalid size are processed.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
By calling ui_write directly, the internal screen isn't updated and invalid
bytes aren't handled, which breaks the abstract UI model.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
ui_linefeed will scroll the screen when it becomes full. This can happen when
executing external commands.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This is required to send redraw notifications while a msgpack-rpc call is being
performed by another channel.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Forward the command to the remote UI and flush immediately. The
semantics/handling is UI-specific.
|