| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
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.
|
|\
| |
| | |
vim-patch: Multiple small patches
|
| |
| |
| |
| |
| |
| |
| | |
Problem: No test for replacing on a tab in Virtual replace mode.
Solution: Add a test. (Elias Diem)
https://code.google.com/p/vim/source/detail?r=v7-4-563
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Non-ascii vertical separater characters are always redrawn.
Solution: Compare only the one byte that's stored. (Thiago Padilha)
https://code.google.com/p/vim/source/detail?r=v7-4-567
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: CTRL-W } does not open preview window. (Erik Falor)
Solution: Don't set g_do_tagpreview for CTRL-W }.
https://code.google.com/p/vim/source/detail?r=v7-4-466
|
|\ \
| | |
| | | |
Remove QNX/pterm remnants
|
| | |
| | |
| | |
| | |
| | | |
The function qnx_init() (wrapped in an ifdef in main.c) doesn't even
exist.
|
|\ \ \
| | | |
| | | | |
Linting: Recommend os_* instead of POSIX functions.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Revert "[WIP] "abstract_ui" fixes and improvements"
|
|/ / / / |
|
|\ \ \ \
| |_|/ /
|/| | | |
[WIP] "abstract_ui" fixes and improvements
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Remove suspend method from the UI protocol
- Handle `:suspend` by disconnecting the last channel that sent a request to
nvim.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
When set to false, nvim will send cterm color numbers with `highlight_set`.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This prevents a race condition when a UI attaches early in the program and can
receive redraw commands for a invalid screen
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Ignoring invalid key sequences simplifies input handling in UIs. The only
downside is having to use "<lt>" everytime a "<" is needed on functional tests.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Also don't defer attach_ui handling
|
| | | |
| | | |
| | | |
| | | |
| | | | |
t_colors should not be checked when abstract_ui is active, because nvim UI is
not limited to a terminal.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This code is required for screen.c to set a vertical scroll region, which is a
great optimization when scrolling vertically split windows.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
It is necessary to notify the UI when the default background/foreground colors
change in order to render correctly.
|
| |/ /
| | |
| | |
| | |
| | | |
It should only clear to the end of the current scroll region(this is the
behavior expected by nvim)
|
|\ \ \
| | | |
| | | | |
Misc. improvements to job control & msgpack rpc docs [ci skip]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Rewrote a few sentences for clarity/brevity
- Various spelling/grammar fixes
- Mention exact time before SIGKILL (mentioned in /src/nvim/os/job.c)
- Reflowed all changed paragraphs accordingly
- Standardize indentation level
- Remove trailing whitespace
- Job control example:
- Don't buffer output (echo -n); just print a new line for every
update.
- Use single quotes around jobsend() arguments to allow for proper
interpretation of newline characters.
- Sleep 1 second between updates instead of 2; 10 seconds is plenty of
time for such a simple example.
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
- Remove note about how {channel} is rpcstop's only argument; just
mention {channel} at the beginning like the other descriptions.
- Small grammar fixes
|
|\ \ \
| |/ /
|/| | |
Some suggested cleanup after #1788.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
At 31c8440fee0bd694093d83af5dee20e3c3dc876c, some variables were changed
from int to long, to avoid -Wconversion errors. Long type was the
appropiate one because getdigits() was returning a long.
Now that we have get_int_digits() and get_long_digits(), we can revert
mentioned variables to int, and use get_int_digits() without having
-Wconversion warnings.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem : getdigits() currently returns a long, but at most places,
return value is casted (unsafely) into an int. Making casts
safe would introduce a lot of fuss in the form of assertions
checking for limits.
Note : We cannot just change return type to int, because, at some
places, legitimate long values are used. For example, in
diff.c, for line numbers.
Solution : Introduce new functions:
- get_digits() : Gets an intmax_t from a string.
- get_int_digits() : Wrapper for ints.
- get_long_digits() : Wrapper for longs.
And replace getdigits() invocations by the appropiate
wrapper invocations.
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| | |
Assert will fail on first loop iteration (in that case,
prtpos.bytes_printed is 0).
|
|\ \
| | |
| | | |
Speed up garbage collection (Issue 1687).
|