aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * vim-patch: Mark patches as NAJulian Mehne2014-12-14
| |
| * vim-patch:7.4.470Julian Mehne2014-12-14
| | | | | | | | | | | | | | Problem: Test 11 and 100 do not work properly on Windows. Solution: Avoid using feedkeys(). (Ken Takata) https://code.google.com/p/vim/source/detail?r=v7-4-470
| * vim-patch:7.4.463Julian Mehne2014-12-14
| | | | | | | | | | | | | | Problem: Test 86 and 87 may hang on MS-Windows. Solution: Call inputrestore() after inputsave(). (Ken Takata) https://code.google.com/p/vim/source/detail?r=v7-4-463
* | Simple refatorings that didn't fit the pattern of the last commitFelipe Oliveira Carvalho2014-12-13
| |
* | Reduce indentation level by early returning or continuing loopFelipe Oliveira Carvalho2014-12-13
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace code like this ```c func() { if (cond) { ... ... ... } return ret; } ``` ```c for (...) { if (cond) { ... ... ... } } ``` with ```c func() { if (!cond) { return ret; } ... ... ... } ``` ```c for (...) { if (!cond) { continue; } ... ... ... } ```
* vim-patch: Mark patches as NA. #1637Florian Walch2014-12-13
|
* main.c: remove NO_VIM_MAINJustin M. Keyes2014-12-13
| | | | It is from legacy Vim, not used by Neovim.
* vim-patch:? Fix memory leak in readviminfoJoel Teichroeb2014-12-13
| | | | | Patch provided by Christian Brabandt Improved by oni-link
* Ignore compatible modeJoel Teichroeb2014-12-13
|
* Make test29 work with nocompatible.Julian Mehne2014-12-13
|
* Merge pull request #1586 from oakes/masterJustin M. Keyes2014-12-13
|\ | | | | libnvim: Allow building as a static library
| * Allow building as a static -fPIC libraryoakes2014-12-12
| |
* | strcnt: remove unused parameterJustin M. Keyes2014-12-12
| |
* | Merge pull request #1635 from danthedeckie/masterJustin M. Keyes2014-12-12
|\ \ | |/ |/| replace copy_spaces and copy_chars functions with equivalent memset.
| * strings.c: replace copy_spaces, copy_chars with equivalent memset.Daniel Fairhead2014-12-12
| |
* | Merge pull request #1604 from equalsraf/tb-env-configsJohn Szakmeister2014-12-12
|\ \ | | | | | | Don't use env vars for configuration time options.
| * | Only use SANITIZE for nvim targetRui Abreu Ferreira2014-12-04
| | | | | | | | | | | | | | | - Clang's Address Sanitizer options may cause problems when running the unit tests, restrict the use of these options to the nvim target.
| * | Don't use env vars for configuration time optionsRui Abreu Ferreira2014-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - As a general rule of thumb one shouldn't use environment variables for setting configuration options for CMake. The reason for this is we don't know when CMake will be executed and re-evaluate that variable. - e.g. If we run cmake a first time with a var set, and then run make on a second session (with no var) and cmake is called because a dependency changed, the option would be disabled - This commit removes the use of environment vars from src/nvim/CMakeLists.txt entirely - Removed SKIP_UNITTEST since it could only be used to remove a target at configuration time (and the target was optional anyway) - Turned SANITIZE into an option, clang-asan.sh now passes cmake -DSANITIZE=ON - Removed SKIP_EXEC since it was disabling a target at configuration time (not being used)
* | | Merge pull request #1134 from splinterofchaos/getreg-nlJustin M. Keyes2014-12-11
|\ \ \ | | | | | | | | vim-patch:7.4.242 + vim-patch:7.4.243
| * | | Attribute/constify get_tv_string(_buf(_chk)).Scott Prager2014-12-11
| | | |
| * | | vim-patch:7.4.249Scott Prager2014-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using setreg() with a list of numbers does not work. Solution: Use a separate buffer for numbers. (ZyX) https://code.google.com/p/vim/source/detail?r=v7-4-249
| * | | Refactor str_to_reg().Scott Prager2014-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update the doxygen comments. - Use more descriptive types. - Localize variables. - Find the '\n' with memchr instead of a for loop. - Remove `if (size)` checks before memmove since memmove(dst,src,0) is a noop. - Use memcpy instead since the pointers don't alias. - Use xmemdupz instead of vim_strnsave. - xrealloc instead of xmalloc/memcpy. - Use memcnt/xmemscan/memchrsub.
| * | | vim-patch:7.4.243Scott Prager2014-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use setreg() to add text that includes a NUL. Solution: Make setreg() accept a list. https://code.google.com/p/vim/source/detail?r=v7-4-243
| * | | Return void * from get_reg_contents.Scott Prager2014-12-11
| | | |
| * | | vim-patch:7.4.242Scott Prager2014-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: getreg() does not distinguish between a NL used for a line break and a NL used for a NUL character. Solution: Add another argument to return a list. (ZyX) https://code.google.com/p/vim/source/detail?r=v7-4-242
| * | | memory: memcnt and strcnt.Scott Prager2014-12-11
| | | |
* | | | Use GA_DEEP_CLEAR where appropriateFelipe Oliveira Carvalho2014-12-11
| | | |
* | | | GA_DEEP_FREE_PTR: deep free macro for garrays that store simple pointersFelipe Oliveira Carvalho2014-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | By "simple pointer" I mean a pointer that can be freed with a call to `free` without leaking any member pointer. This macro does exactly what `ga_clear_strings` does.
* | | | GA_DEEP_CLEAR macro for garray memory deallocationFelipe Oliveira Carvalho2014-12-11
|/ / / | | | | | | | | | | | | | | | | | | Used to free garrays of `salitem_T` and `fromto_T` in spell.c, and garray `wcmd_T` in ex_docmd.c. Helped-by: Jiaqi Li
* | / input: Recognize mouse events for abstract_uiThiago de Arruda2014-12-10
| |/ |/|
* | docs: Remove Photon remnantsMichael Reed2014-12-09
| | | | | | | | | | Also get rid of some platform references made irrelevant by the removal of their respective platform specific GUI code.
* | docs: Remove 'osfiletype' remnantsMichael Reed2014-12-09
| | | | | | | | | | | | | | Even when this was finally removed 6 months ago in b2b920f, it had already been disabled for a while. Due to this, just remove all remnants of the option as opposed to putting a placeholder like what was done for 'shortname'and 'cryptmethod'.
* | docs: Remove EBCDIC remnantsMichael Reed2014-12-09
| |
* | docs: Remove VAX remnantsMichael Reed2014-12-09
| |
* | docs: Remove BeOS/Haiku remnantsMichael Reed2014-12-09
| |
* | msgpack-rpc: Add remote_ui moduleThiago de Arruda2014-12-08
| | | | | | | | | | The remote_ui module is an implementation of the UI layer, and it attaches UI instances that redirect redraw notifications to connected clients.
* | syntax: Use RGB/GUI attribute information for "abstract_ui"Thiago de Arruda2014-12-08
| | | | | | | | | | | | | | | | Instead of using classic cterm color numbers and attributes, treat "abstract_ui" as a GUI: Pass rgb color numbers and gui attributes when the "highlight_set" UI method is called. The terminal UI will have to translate RGB color information to an appropriate color number, and the "term"/"cterm" :highlight keys will eventually be deprecated.
* | ui: Add abstract_ui termcap and split UI layerThiago de Arruda2014-12-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is how Nvim behaves when the "abstract_ui" termcap is activated: - No data is written/read to stdout/stdin by default. - Instead of sending data to stdout, ui_write will parse the termcap codes and invoke dispatch functions in the ui.c module. - The dispatch functions will forward the calls to all attached UI instances(each UI instance is an implementation of the UI layer and is registered with ui_attach). - Like with the "builtin_gui" termcap, "abstract_ui" does not contain any key sequences. Instead, vim key strings(<cr>, <esc>, etc) are parsed directly by input_enqueue and the translated strings are pushed to the input buffer. With this new input model, its not possible to send mouse events yet. Thats because mouse sequence parsing happens in term.c/check_termcodes which must return early when "abstract_ui" is activated.
* | msgpack-rpc: Allow registration of handlers by other modulesThiago de Arruda2014-12-08
| |
* | eval_has_provider: search autoload scripts same order as call_funcBjörn Linse2014-12-08
| |
* | clipboard: fix `let @+ = ...` and add testBjörn Linse2014-12-08
| |
* | clipboard: better error messages when provider not availableBjörn Linse2014-12-08
| |
* | options: change "unnamedclip" back to "clipboard=unnamed/unnamedplus"Björn Linse2014-12-08
| | | | | | | | | | This allows to configure which of '*' and '+' should be used for the unnamed clipboard, and is consistent with vim.
* | clipboard: clean up unnamedclip logicBjörn Linse2014-12-08
| |
* | clipboard: handle linewise/charwise selections correctlyBjörn Linse2014-12-08
| |
* | clipboard: support separate '+' and '*' clipboardsBjörn Linse2014-12-08
| |
* | Merge pull request #1589 from splinterofchaos/fix-const-atterJustin M. Keyes2014-12-06
|\ \ | | | | | | strings: Remove NONNUL_ALL from NULL-taking functions.
| * | strings: Remove NONNUL_ALL from NULL-taking functions.Scott Prager2014-12-06
| | | | | | | | | | | | | | | vim_strup() is only used in a couple places, with no NULLs possible, so keep the attribute and remove the NULL check.
* | | Merge pull request #1341 from splinterofchaos/api-nulJustin M. Keyes2014-12-06
|\ \ \ | | | | | | | | Api: Improve Nul handling
| * | | api: Handle NULs and newlines in buffer_*_line.Scott Prager2014-12-06
| |/ /