| Commit message (Collapse) | Author | Age |
... | |
|\ |
|
|/ |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
This is necessary for some terminals, or else they will clear/insert lines with
wrong background color
|
| |
| |
| |
| |
| | |
For unibilium extension indexes, use signed integer type initialized with -1 to
distinguish from the first extension string which will always have index 0.
|
| |
| |
| |
| |
| | |
It seems uv_tty_t doesn't work properly on OSX(it is set to blocking mode,
which causes UV_RUN_NOWAIT to misbehave).
|
|/ |
|
|\
| |
| | |
Update message pack to include the FreeBSD and OpenBSD byteswap fix.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: map() leaks memory when there is an error in the expression.
Solution: Call clear_tv(). (Christian Brabandt)
https://code.google.com/p/vim/source/detail?r=v7-4-525
|
|\ \
| |/
|/| |
Get rid of a bashism in the fs_spec test.
|
| |
| |
| |
| |
| | |
FreeBSD doesn't use bash by default, causing the group id to be print
out in the middle of the test.
|
|\ \ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Note: Clint was failing because of recommending not to use long. But
converting to long is the proper refactoring here, in as far as other
longs exist. We could, then, disable clint rule, or remove this file
from checking. We choose the former, as it's being discussed what to do
with longs, but a decision has not been taken. So, it seems most
reasonable to allow longs for now, to enable proper refactorings, and
then, when a decision is taken, refactor all longs to some other thing.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Refactoring summary:
- MB_STRNICMP: Inlined.
- MB_STRNCMP: Inlined.
|
| | |
| | |
| | |
| | | |
MacOS (pre Mac OS X) is not supported anymore.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Refactoring summary:
- ui_write(): len: int --> size_t
* parse_abstract_ui_codes(): len: int --> size_t
* string_convert(): lenp: int * --> size_t *
- string_convert_ext(): lenp : int * --> size_t *
unconvlenp: int * --> size_t *
* utf8len_tab_zero: char[] --> uint8_t[]
* iconv_string(): slen : int --> size_t
unconvlenp: int * --> size_t *
resultlenp: int * --> size_t *
- mch_print_text_out(): len: int --> size_t
* out_pos: int --> size_t
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Add xterm/iterm sequences for changing cursor shape(with tmux wrapping).
Enabled by setting the NVIM_TUI_ENABLE_CURSOR_SHAPE environment variable.
- Remove nvim_override parameter from unibi_out. In the future another way of
overriding the terminal strings will be added.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Inspired by the vim-bracketed-paste plugin but adapted for the new TUI. Also
initialize some variables of type `Error` that were uninitialized
|
| | |
| | |
| | |
| | |
| | | |
Moving the cursor to the status line(to set the title) requires a different
sequence for xterm than the one used by urxvt.
|
|/ /
| |
| |
| |
| | |
Some terminals will perform clearing functions using the current attributes.
Ensure the default attributes are set before clearing.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
TabClosed is triggered when a tab page closes.
|
| | |
| | |
| | |
| | | |
TabNewEntered is triggered after vim has entered a buffer in new tab.
|
|/ /
| |
| |
| |
| | |
TabNew triggers when entering a new tab page, but not when entering an
already created one.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
- The syntax `gui=` is invalid when setting properties of highlight group.
- Wait for the initial "-- More --" prompt before continuing. Required to avoid
a race condition
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Now the attrentry_T structure will store all attributes in separate fields for
cterm and rgb UIs.
|
| | |
| | |
| | |
| | |
| | | |
Now all terminal-handling code was moved to src/nvim/tui, which implements a
new terminal UI based on libtermkey and unibilium
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Remove abstract_ui global, now it is always active
- Remove some terminal handling code
- Remove unused functions
- Remove HAVE_TGETENT/TERMINFO/TERMIOS/IOCTL #ifdefs
- Remove tgetent/terminfo from version.c
- Remove curses/terminfo dependencies
- Only start/stop termcap when starting/exiting the program
- msg_use_printf will return true if there are no attached UIs(
messages will be written to stdout)
- Remove `ex_winpos`(implement `:winpos` with `ex_ni`)
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The input buffer is only used for data that really came from another process and
is only visible to os/input.c. Remove the input_buffer_{save,restore} functions,
they are not necessary(Also can result in problems if data comes while the
typeahead is saved).
|
| | |
| | |
| | |
| | | |
Ignore all keys that aren't prefixed with KS_EXTRA.
|
| | |
| | |
| | |
| | | |
This is required to correctly handle certain keys such as <delete>
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Some screen tests such as system/ctrl+c(viml_system_spec.lua) can take some time
to respond(default kill timeout is 2 seconds for an interrupted job) and fail
when running under a slow environment such as travis.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The `system` function is never executed with these tests because the ctrl+c is
queued with the input string that calls it(The `process_interrupts` function
will destroy all previous input when a ctrl+c is found).
|
| | |
| | |
| | |
| | |
| | | |
Without waiting for the 'gg' command to be processed, its possible that the
following assertion will fail.
|
|/ /
| |
| |
| |
| | |
The `wait` function will only return after all input has been processed by nvim.
It is useful to time assertions correctly.
|
| |
| |
| |
| | |
Closes #1902
|
|\ \ |
|
| | | |
|