aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | tui: Remove support for overriding escape sequences with nvim optionsThiago de Arruda2015-02-18
| | | | | | | | | | | | | | | | | | | | | - 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.
| * | tui: Fix use after free(reported by clang static analyzer)Thiago de Arruda2015-02-18
| | |
| * | tui: Add support bracketed pasteThiago de Arruda2015-02-18
| | | | | | | | | | | | | | | Inspired by the vim-bracketed-paste plugin but adapted for the new TUI. Also initialize some variables of type `Error` that were uninitialized
| * | tui: Fix to_status_line terminfo sequence for xtermThiago de Arruda2015-02-17
| | | | | | | | | | | | | | | Moving the cursor to the status line(to set the title) requires a different sequence for xterm than the one used by urxvt.
| * | tui: Fix background clear for some terminalsThiago de Arruda2015-02-17
|/ / | | | | | | | | Some terminals will perform clearing functions using the current attributes. Ensure the default attributes are set before clearing.
* | fix rebase hiccup #1911Justin M. Keyes2015-02-17
| |
* | Merge #1717 'TabNew, TabNewEntered, TabClosed'Justin M. Keyes2015-02-16
|\ \
| * | Add TabClosed eventFelipe Morales2015-02-16
| | | | | | | | | | | | TabClosed is triggered when a tab page closes.
| * | Add TabNewEnteredFelipe Morales2015-02-16
| | | | | | | | | | | | TabNewEntered is triggered after vim has entered a buffer in new tab.
| * | Add TabNew eventFelipe Morales2015-02-16
|/ / | | | | | | | | TabNew triggers when entering a new tab page, but not when entering an already created one.
* | Merge PR #1820 'Reimplement builtin terminal UI with termkey/unibilium'Thiago de Arruda2015-02-16
|\ \
| * | test: Fix 051_highlight_spec.luaThiago de Arruda2015-02-16
| | | | | | | | | | | | | | | | | | - 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
| * | cleanup: Remove unused functions and builtin termcapsThiago de Arruda2015-02-16
| | |
| * | syntax: Refactor to store all term and gui attributes independentlyThiago de Arruda2015-02-16
| | | | | | | | | | | | | | | Now the attrentry_T structure will store all attributes in separate fields for cterm and rgb UIs.
| * | ui: Rewrite the builtin terminal UIThiago de Arruda2015-02-16
| | | | | | | | | | | | | | | Now all terminal-handling code was moved to src/nvim/tui, which implements a new terminal UI based on libtermkey and unibilium
| * | ui: Remove/adapt some old code for a big UI refactorThiago de Arruda2015-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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`)
| * | ui: Remove redundant cursor_goto callsThiago de Arruda2015-02-16
| | |
| * | input: Remove input_buffer_{save,restore}Thiago de Arruda2015-02-16
| | | | | | | | | | | | | | | | | | | | | 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).
| * | input: Fix handle_mouse_event functionThiago de Arruda2015-02-16
| | | | | | | | | | | | Ignore all keys that aren't prefixed with KS_EXTRA.
| * | input: Prefer keycodes in input_enqueue key translationThiago de Arruda2015-02-16
| | | | | | | | | | | | This is required to correctly handle certain keys such as <delete>
| * | macro: Add MAX macro and rename min to MINThiago de Arruda2015-02-16
| | |
| * | test: Increase default_screen_timeout when running on travisThiago de Arruda2015-02-16
| | | | | | | | | | | | | | | | | | 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.
| * | test: Remove unnecessary tests from viml_system_spec.luaThiago de Arruda2015-02-16
| | | | | | | | | | | | | | | | | | 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).
| * | test: Fix race condition in window_spec.luaThiago de Arruda2015-02-16
| | | | | | | | | | | | | | | Without waiting for the 'gg' command to be processed, its possible that the following assertion will fail.
| * | test: Add synchronization helper for functional testsThiago de Arruda2015-02-16
|/ / | | | | | | | | The `wait` function will only return after all input has been processed by nvim. It is useful to time assertions correctly.
* | Remove 'edcompatible' #1911Michael Reed2015-02-16
| | | | | | | | Closes #1902
* | Merge #1981 'treat NULL initialized vimscript string as api type String'Justin M. Keyes2015-02-16
|\ \
| * | api: always return empty string as api type StringBjörn Linse2015-02-16
| | |
| * | test: NULL-initialized vimscript strings should eval to empty stringsBjörn Linse2015-02-16
|/ /
* | runtime: make the spellfile creation use .nvim folder #1990Seth Woodworth2015-02-15
| |
* | FEAT_SIGNS: restore :signs wildmenu, and add test.Justin M. Keyes2015-02-15
| |
* | shadow previously set signs #1893Felipe Morales2015-02-13
| |
* | vim-patch:7.4.601 #1950Justin M. Keyes2015-02-12
| | | | | | | | | | | | | | Problem: It is not possible to have feedkeys() insert characters. Solution: Add the 'i' flag. https://code.google.com/p/vim/source/detail?r=v7-4-601
* | api/vim.c: use FOR_ALL_* sugar #1963Justin M. Keyes2015-02-12
| |
* | Merge pull request #1977 from jakerr/api-exceptionThiago de Arruda2015-02-12
|\ \ | | | | | | Discard exceptions once they are converted to API errors
| * | Discard exceptions once they are converted to API errorsJake Kerr2015-02-12
|/ / | | | | | | Fixes: #1976
* | Merge pull request #1965 from jszakmeister/fix-fs-spec-test-for-freebsdJohn Szakmeister2015-02-11
|\ \ | | | | | | Fix an fs_spec test under FreeBSD and a symlinked home directory.
| * | Fix an fs_spec test under FreeBSD and a symlinked home directory.John Szakmeister2015-02-09
| |/ | | | | | | | | | | | | | | | | | | It turns out the FreeBSD 10 VM has a symlink for the home directory to /usr/home. Unfortunately, this breaks the test as arg[0] may not have the symlink resolved, but the path returned from the exe() call will. As a result, the comparison fails, even though the result is correct. Let's fix this by running the absolute path through exe() too, and then comparing the results.
* | Merge #1947: Fix coverity issues. (4)Eliseo Martínez2015-02-11
|\ \
| * | coverity/102149: Out-of-bounds access: FP.Eliseo Martínez2015-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem : Out-of-bounds access @ 5815. Diagnostic : False positive. Rationale : Error occurs when event_name2nr() returns NUM_EVENTS, which means an event with that name was not found. That cannot happen, as previous check using find_end_event() @ 5744 ensures event name exists. Resolution : Assert event_name2nr() result is less thatn NUM_EVENTS.
| * | coverity/{68484,68485}: Read from pointer after free: RI.Thiago de Arruda2015-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem : Read from pointer after free @ {242, 391}. Diagnostic : Real issues. Rationale : Channel gets indeed freed on error case, producing incorrect accesses to freed pointer later on. Resolution : Implement reference counting mechanism to know when to free channel.
| * | coverity/13773: Resource leak: RI.Eliseo Martínez2015-02-11
| | | | | | | | | | | | | | | | | | | | | Problem : Resource leak @ 3324. Diagnostic : Real issue. Rationale : Stack is not being freed on error cases. Resolution : Free stack before invoking EMSG_RET_NULL.
| * | coverity/13764: Out-of-bounds read: RI.Eliseo Martínez2015-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem : Out-of-bounds read @ 9514. Diagnostic : Real issue. Rationale : PFD_NOTSPECIAL (253) is defined as the maximum not-special value a prefix can have. But stack (and other) arrays are defined as having MAXWLEN (250) items. Resolution : Define MAXWLEN = 254.
| * | coverity/13762: Out-of-bounds read: RI.Eliseo Martínez2015-02-11
|/ / | | | | | | | | | | | | | | | | | | | | | | Problem : Out-of-bounds read @ 2213. Diagnostic : Real issue. Rationale : Error occurs if cmap == ARRAY_SIZE(prt_ps_mbfonts), but code takes the `if (prt_out_mbyte)` branch. That's it, if a matching encoding is found but not a matching charset. In that case, the first matching encoding is used. Resolution : Remember the value of cmap for the first matching encoding. Reset cmap to that value if first matching encoding is going to be used.
* | Merge PR #1966 'Remove libtickit as a project dependency'Thiago de Arruda2015-02-11
|\ \
| * | deps: Remove libtickit as a project dependencyThiago de Arruda2015-02-11
|/ / | | | | | | Also update libtermkey version and fix the pkg-config search scripts.
* | Merge pull request #1958 from ↵John Szakmeister2015-02-11
|\ \ | | | | | | | | | | | | jszakmeister/fix-unittest-header-parsing-on-freebsd unittests: define _Thread_local to be nothing
| * | unittests: define _Thread_local to be nothingJohn Szakmeister2015-02-09
| |/ | | | | | | | | This helps the LuaJIT ffi module to parse the header correctly. Otherwise, the whole suite of tests fail.
* | Merge PR #1973 'Add Luajit compilation flags to improve debugging'Thiago de Arruda2015-02-10
|\ \
| * | deps: Update lua-clientThiago de Arruda2015-02-10
| | | | | | | | | | | | | | | The new version sets a custom panic function that prints the lua traceback before exiting.