aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | Merge pull request #1491 from Pyrohh/os2-and-misc-cleanupJustin M. Keyes2014-11-28
|\ \ | | | | | | Remove MiNT, NeXTSTEP, OS/2 References
| * | Remove OS/2 referencesMichael Reed2014-11-27
| | | | | | | | | | | | | | | Paul Slootman was removed from the top of os_unix.c as OS/2 is no longer supported, but is still credited in runtime/doc/intro.txt.
| * | Remove Atari MiNT referencesMichael Reed2014-11-27
| | |
| * | Remove NeXTSTEP referencesMichael Reed2014-11-27
| | | | | | | | | | | | Remove trailing whitespace as well.
* | | Merge pull request #1533 from elmart/fix-sub-newline-abortJustin M. Keyes2014-11-28
|\ \ \ | | | | | | | | Fix newline substitution causing abort
| * | | Fix newline substitution.Eliseo Martínez2014-11-28
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem : Command `s/\n//` is being translated into a call to do_join with a count of 1. But do_join asserts its precondition count >= 2, which is causing the program to abort. Note : This in fact revealed bigger problems: generated join command line count, as well as reported substitutions/lines were wrong in several cases, since patch 7.4.232. See: [patch] http://markmail.org/message/vo7ruair5raccawp [issue] https://code.google.com/p/vim/issues/detail?id=287 Solution : - Don't generate join command for single-line-range case. - Make generated join command include: * lines in range + 1, when range doesn't end at last line. * lines in range, when range ends at last line. - Make reported substitutions/lines always be number-of-lines-joined - 1.
* | | Merge pull request #1186 from splinterofchaos/writeJustin M. Keyes2014-11-28
|\ \ \ | |/ / |/| | Non-unix-specific os_unix function.
| * | mch_early_init() -> early_init().Scott Prager2014-11-28
| | | | | | | | | | | | | | | Move general initialization functions to early_init, which simplifies test/unit/helpers.lua, which requires all these functions.
| * | update mch_suspendScott Prager2014-11-28
| | | | | | | | | | | | | | | Use the portable uv_kill. Don't bother with archaic BeOS.
| * | mch_init -> term_initScott Prager2014-11-28
| | |
| * | mch_write -> term_writeScott Prager2014-11-28
| | | | | | | | | | | | | | | | | | Switch from POSIX's write() to fwrite(stdout,...) and disable buffering since vim buffers output explicitly and flushes when needed, like when a key is typed.
* | | Merge pull request #1492 from fwalch/fix-wconversionJustin M. Keyes2014-11-27
|\ \ \ | | | | | | | | Fix some more -Wconversion warnings.
| * | | Wconversion: Change long to int64_t in cursor_shape.c, digraph.c.Florian Walch2014-11-27
| | | | | | | | | | | | | | | | Warnings were fixed in #1488.
| * | | Wconversion: Remove regexp_nfa.c from list.Florian Walch2014-11-27
| | | |
| * | | Wconversion: Fix warnings in indent_c.c.Florian Walch2014-11-27
| | | |
| * | | Wconversion: Fix warnings in file_search.c.Florian Walch2014-11-27
| | | |
| * | | Wconversion: Fix warnings in ex_eval.c.Florian Walch2014-11-27
| |/ /
* | | Merge pull request #1566 from splinterofchaos/fix-save-tv-as-stringJustin M. Keyes2014-11-27
|\ \ \ | | | | | | | | eval: Fix coverity false positive.
| * | | eval: Fix coverity false positive.Scott Prager2014-11-27
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | ** CID 74786: Resource leak (RESOURCE_LEAK) /src/nvim/eval.c: 10614 in f_jobsend() /src/nvim/eval.c: 10616 in f_jobsend() save_tv_as_string() should return NULL and input_len <= 0 for an empty string or error. Callers should check that input != NULL instead of input_len > 0 and assert(input == NULL) when the length must be checked.
* | | Merge pull request #1516 from fmoralesc/new-patchesJustin M. Keyes2014-11-27
|\ \ \ | | | | | | | | vim-patch:7.4.425,435,467,472,473,478
| * | | vim-patch:7.4.478: Use character lenght for 'showbreak'Felipe Morales2014-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.478 Problem: Using byte length instead of character length for 'showbreak'. Solution: Compute the character length. (Marco Hinz) https://code.google.com/p/vim/source/detail?r=v7-4-478
| * | | vim-patch:7.4.473Felipe Morales2014-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.473 Problem: Cursor movement is incorrect when there is a number column/sign/fold column and 'sbr' is displayed. Solution: Adjust the column for 'sbr'. (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=v7-4-473
| * | | vim-patch:7.4.472: Only draw "precedes" entry in 'listchar' when 'list' is onFelipe Morales2014-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.472 Problem: The "precedes" entry in 'listchar' will be drawn when 'showbreak is set and list is not. Solution: Only draw this character when 'list' is on. (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=af998690a8841d4df95cea0bed4246f2ba98e247
| * | | vim-patch:7.4.467: Avoid a problem with unwanted linebreaks in block modeFelipe Morales2014-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.467 Avoid a problem with unwanted linebreaks in block mode https://code.google.com/p/vim/source/detail?r=v7-4-467
| * | | vim-patch:7.4.435: Disable linebreak temporarily when formatting lines.Felipe Morales2014-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.435 Problem: Line formatting behaves differently when 'linebreak' is set. (mvxxc) Solution: Disable 'linebreak' temporarily. (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=v7-4-435
| * | | vim-patch:7.4.425: Adjust virtcol when showbreak is setFelipe Morales2014-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.425 Problem: When 'showbreak' is used "gj" may move to the wrong position. (Nazri Ramliy) Solution: Adjust virtcol when 'showbreak' is set. (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=v7-4-425
* | | | ui: Move check_col/check_row functions to mbyte.cThiago de Arruda2014-11-27
| | | | | | | | | | | | | | | | | | | | These functions were only being used by mbyte.c, so move them and add the "static" modifier.
* | | | Remove code defined under USE_IM_CONTROL #ifdefsThiago de Arruda2014-11-27
| |/ / |/| | | | | | | | This is not being used and should not be part of the core anyway.
* | | ui: Remove redundant ui.h includesThiago de Arruda2014-11-27
| | | | | | | | | | | | Also move read_error_exit to os/input.c
* | | ui: Extract mouse.c/mouse.hThiago de Arruda2014-11-27
| | |
* | | ui: Remove ui_delay, ui_breakcheck and ui_set_shellsizeThiago de Arruda2014-11-27
| | | | | | | | | | | | | | | These functions only used to call another os_* function, so remove them and replace all occurences in the project.
* | | ui: Remove ui_inchar/ui_char_availThiago de Arruda2014-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | Also: - Remove NO_CONSOLE_INPUT/NO_CONSULE preprocessor conditionals - Remove ctrl_c_interrupts variable, check for mapped_ctrl_c directly in process_interrupts() - Move ui_inchar profiling to input_poll which is where Nvim blocks for input.
* | | Add Boolean argument escape_csi to vim_feedkeysRui Abreu Ferreira2014-11-27
| |/ |/| | | | | | | | | | | | | | | - By default vim_feedkeys escaped all input for CSI/K_SPECIAL bytes before using it. However since vim_replace_termcodes() also escapes the input string chaining these functions together escapes input twice - vim_feedkeys() now takes a third Boolean argument to enable/disable escaping - Breaks API compatibility
* | Merge pull request #1552 from equalsraf/tb-fix-1530Justin M. Keyes2014-11-25
|\ \ | | | | | | add missing refcount increment for systemlist()
| * | Add missing refcount increment for systemlist()Rui Abreu Ferreira2014-11-25
| | | | | | | | | | | | | | | | | | | | | - get_system_output_as_rettv() was missing a refcount increment when returning an empty list, i.e. when there was no output - we now use rettv_list_aloc() instead of list_alloc() - issue #1530
* | | Fix substitute newline: Memory functions: Improve style.Eliseo Martínez2014-11-24
|/ / | | | | | | | | | | | | | | `try_malloc` was changed in 8bb2c2c0742c57150655e18cf8418a758cebdce8 to avoid a warning when size is 0. Then, this improves some things on that: - Use local vars instead of changing parameters. - Homogenize style for other related functions.
* | Fix Makefile for running valgrind with old tests.Julian Mehne2014-11-22
| |
* | event: No longer process K_EVENT automaticallyThiago de Arruda2014-11-21
| | | | | | | | | | | | | | Two new functions, `event_enable_deferred()`/`event_disable_deferred()` have to be called by code that is capable of handling asynchronicity. User-dialog states like "press ENTER to continue" or the swap file confirmation no longer will generate K_EVENT.
* | input: Refactor to ensure user input has higher priorityThiago de Arruda2014-11-21
| |
* | legacy tests: migrate test105Rainer Borene2014-11-20
| |
* | legacy tests: migrate test26Rainer Borene2014-11-20
| |
* | legacy tests: migrate test101Rainer Borene2014-11-20
| |
* | legacy tests: migrate test75Rainer Borene2014-11-20
| |
* | legacy tests: migrate test51Rainer Borene2014-11-20
| |
* | legacy tests: migrate test43Rainer Borene2014-11-20
| |
* | legacy tests: migrate test33Rainer Borene2014-11-20
| |
* | legacy tests: migrate test67Rainer Borene2014-11-20
| |
* | legacy tests: migrate test66Rainer Borene2014-11-20
| |
* | legacy tests: migrate test25Rainer Borene2014-11-20
| |
* | legacy tests: migrate test104Rainer Borene2014-11-20
| |