Vim-fork focused on extensibility and usability
Go to file
oni-link 166d8c799f process: Remove indeterminism that causes reordering of pty events
Since pty events are queued, it is possible that the reads will be reordered.
Example scenario:

In the terminal you have output combined from stdout and stderr. A program
generates output, first you have some output on stdout, then output on stderr,
output on stdout, output on stderr,...  The whole output should be interleaved
from both streams.

Each output generates a read_event and they are placed in the same queue. If the
queue is processed, the first read_event will send the whole stdout output to
the terminal (on_job_output() consumes the whole buffer). The next read_event is
similar for stderr. The remaining read events do nothing because now both
RBuffer are already empty. So the terminal would show first the stdout output
and after that the stderr output.

This commit fixes the problem by disabling stderr stream in pty processes.
That's ok because they all represent the same stream(duplicate file
descriptors), plus one stream is simpler to deal with.
2015-08-13 08:52:17 -03:00
.ci runtime: Do install generated syntax file, also test this. #3160 2015-08-11 13:50:43 -04:00
cmake Travis: Refactor CI files, use container infrastructure. 2015-07-08 07:42:16 -03:00
config CMake: Fix helptags generation when prefix is not /usr. #2741 2015-06-09 01:12:08 -04:00
contrib contrib: Update local.mk 2015-05-13 17:37:19 -04:00
man man: Bump nvim.1 date, add Makefile for authoring 2015-06-26 19:24:07 -04:00
runtime doc: Fix typo in nvim-python. #3162 2015-08-12 21:57:29 -04:00
scripts msgpack: Replace FUNC_ATTR_DEFERRED by FUNC_ATTR_ASYNC 2015-08-13 07:41:04 -03:00
src process: Remove indeterminism that causes reordering of pty events 2015-08-13 08:52:17 -03:00
test queue: Implement a more flexible event queue 2015-08-13 08:46:21 -03:00
third-party CMake: Allow configuring all DEPS_* variables in third-party. #3080 2015-07-22 18:27:07 +03:00
.asan-blacklist queue: Implement a more flexible event queue 2015-08-13 08:46:21 -03:00
.gitignore legacy tests: Remove legacy tests for Lua (test85) #2357 2015-04-06 01:49:36 -04:00
.travis.yml Travis: Use gcov that matches the used compiler. 2015-07-08 07:42:16 -03:00
.valgrind.supp job: Refactor process spawning and startup arguments 2015-02-23 21:43:33 -03:00
appveyor.yml AppVeyor: MSVC builds for third-party/ 2015-05-15 17:55:02 +03:00
BACKERS.md Remove duplicates in BACKERS.md #2363 2015-04-06 15:43:31 -04:00
clint-ignored-files.txt lib: Include libuv circularly linked list 2015-08-13 07:41:04 -03:00
clint.py cmake: Make make lint less verbose 2015-06-27 15:21:09 -04:00
CMakeLists.txt cmake: Generate tags and some vim syntax elements 2015-07-26 21:09:52 +03:00
CONTRIBUTING.md CONTRIBUTING.md: Fix broken links #2702 2015-05-19 17:06:22 -04:00
Doxyfile update theme to match neovim.org 2014-06-19 11:53:57 +02:00
LICENSE LICENSE: add LuaJIT notice. #899 2014-06-30 13:59:56 -04:00
Makefile vim-patch:7.4.497 #2295 2015-04-05 19:24:58 -04:00
neovim.rb Homebrew: move formula to neovim/homebrew-neovim 2014-11-09 20:14:01 +08:00
README.md README.md: Various 2015-07-05 11:45:41 -04:00
uncrustify.cfg spelling fixes #827 2014-06-12 20:26:35 -04:00

Neovim

Website | Community | Wiki | Documentation | Mailing List | Twitter | Bountysource

Travis Build Status AppVeyor Build status Pull requests waiting for review Coverage Status Coverity Scan Build Clang Scan Build Join the chat at https://gitter.im/neovim/neovim

Neovim is a project that seeks to aggressively refactor Vim in order to:

  • Simplify maintenance and encourage contributions
  • Split the work between multiple developers
  • Enable the implementation of new/modern user interfaces without any modifications to the core source
  • Improve extensibility with a new plugin architecture

For lots more details, see the wiki!

What's been done so far

See the progress page for a comprehensive list.

Throughput Graph

What's being worked on now

  • Port all IO to libuv
  • Convert legacy tests to Lua tests
  • VimL => Lua translator

How do I get it?

There is a formula for OSX/homebrew, a PKGBUILD for Arch Linux, RPM, deb, and more. See the wiki!

Contributing

...would be awesome! See the wiki for more details.

License

Neovim is licensed under the terms of the Apache 2.0 license, except for parts that were contributed under the Vim license.

  • Contributions committed before b17d96 by authors who did not sign the Contributor License Agreement (CLA) remain under the Vim license.

  • Contributions committed after b17d96 are licensed under Apache 2.0 unless those contributions were copied from Vim (identified in the commit logs by the vim-patch token).

See LICENSE for details.

Vim is Charityware.  You can use and copy it as much as you like, but you are
encouraged to make a donation for needy children in Uganda.  Please see the
kcc section of the vim docs or visit the ICCF web site, available at these URLs:

        http://iccf-holland.org/
        http://www.vim.org/iccf/
        http://www.iccf.nl/

You can also sponsor the development of Vim.  Vim sponsors can vote for
features.  The money goes to Uganda anyway.