aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
|
* Merge PR #1632 'Recognize mouse events for abstract_ui'Thiago de Arruda2014-12-10
|\
| * input: Recognize mouse events for abstract_uiThiago de Arruda2014-12-10
|/
* Merge pull request #1628 from Pyrohh/misc-cleanupJustin M. Keyes2014-12-09
|\ | | | | More misc. platform cleanup
| * docs: Fix incorrect Mac path referencesMichael Reed2014-12-09
| |
| * 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 OS/390 remnantsMichael Reed2014-12-09
| |
| * docs: Remove RISC OS remnantsMichael Reed2014-12-09
| |
| * 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
|/
* Merge PR #1605 'Abstract UI termcap'Thiago de Arruda2014-12-09
|\
| * test: Add screen test facilityThiago de Arruda2014-12-09
| | | | | | | | | | | | - Add screen.lua which implements a remote screen to verify screen state by tests under functional/ui - Add some basic screen/highlight tests
| * 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
|/
* Merge pull request #1182 from bfredl/clipboardJustin M. Keyes2014-12-08
|\ | | | | clipboard: support separate +/* clipboards, linewise copy/paste and add tests
| * docs: remove unnamedclip optionBjörn Linse2014-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: add functional 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 #1599 from jszakmeister/gitrev-fixesJustin M. Keyes2014-12-08
|\ \ | |/ |/| Some simple fixes to GetGitRevisionDescription.cmake.
| * build: only manipulate out if getting the timestamp was successfulJohn Szakmeister2014-12-03
| | | | | | | | | | This fixes an issue seen in #1548, though the real problem is something different.
| * build: no need to quote the paths in CMake, it will do it automaticallyJohn Szakmeister2014-12-03
| |
* | deps: Update lua clientThiago de Arruda2014-12-08
| |
* | Merge pull request #1624 from Pyrohh/doc-fixesJustin M. Keyes2014-12-08
|\ \ | | | | | | doc: Misc. improvements to nvim-related docs
| * | doc: Misc. improvements to nvim-related docsMichael Reed2014-12-07
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | - Improved wording in a few places for clarity - Various capitalization/grammar fixes - Change references to Neovim as 'editor' to 'Nvim' - Be consistent regarding utilization of vim's documentation features, e.g. unnamedclip -> |unnamedclip| - Reflowed all changed paragraphs accordingly - Add spaces before parentheses - Remove trailing whitespace - Standardize single spaces after periods. Vim's docs use two for the most part, but Nvim's use one mainly, so just follow Nvim's conventions
* | Merge pull request #1623 from Pyrohh/cleanup-shortnameJustin M. Keyes2014-12-07
|\ \ | | | | | | Docs: Remove 'shortname' references
| * | runtime: Cleanup refs to removed optionsMichael Reed2014-12-07
| | | | | | | | | | | | | | | | | | - {no,inv,}shortname - {no,inv,}sn - cm, key (remnants of cryptmethod)
| * | docs: Remove shortname references.Michael Reed2014-12-07
|/ / | | | | | | | | In addition, align the removal notice next to 'key' with other such notices (options.txt).
* | 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: Add tests for when not to handle NULs.Scott Prager2014-12-06
| | |
| * | api: Handle NULs and newlines in buffer_*_line.Scott Prager2014-12-06
| |/
* | Merge pull request #1618 from elmart/clang-analysis-fixes-5Justin M. Keyes2014-12-06
|\ \ | | | | | | Fix clang analysis warnings. (5)
| * | Fix warnings: message.c: msg_attr_keep(): Np dereference: FP.Eliseo Martínez2014-12-06
| | | | | | | | | | | | | | | | | | | | | | | | Problem : Dereference of null pointer @ 179. Diagnostic : False positive. Rationale : Error occurs if `s` paramater is null, which should not happen. Resolution : Declare parameter as non null.
| * | Fix warnings: edit.c: ins_compl_next_buf(): Np dereference: MI.Eliseo Martínez2014-12-06
| | | | | | | | | | | | | | | | | | | | | | | | Problem : Dereference of null pointer @ 3247. Diagnostic : Multithreading issue. Rationale : Problem only occurs if global `ctrl_x_mode` is modified while calling function is executing. Solution : Use local copy instead of global.