aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* test: Fix screen.lua eol_clear method.Thiago de Arruda2015-01-22
|
* vim-patch:7.4.492Pavel Platto2015-01-19
| | | | | | | | | Problem: In Insert mode, after inserting a newline that inserts a comment leader, CTRL-O moves to the right. (ZyX) Issue 57. Solution: Correct the condition for moving the cursor back to the NUL. (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=v7-4-492
* Merge pull request #1798 from oni-link/fix.job.waitJustin M. Keyes2015-01-18
|\ | | | | job.c: Prevent early return from job_wait().
| * Tests for system()/systemlist() when interrupted with CTRL-C.oni-link2015-01-17
| |
* | test: fix formatc.lua oddity on OSX/gccNicolas Hillegeer2015-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The primitive C canonicalizer we use to strip out duplicate header declarations and keep luajit's ffi happy, didn't work properly in this case. What happened is this (in /usr/include/ctype.h): __DARWIN_CTYPE_TOP_inline int isspecial(int _c) { return (__istype(_c, _CTYPE_T)); } Gets preprocessed to something like: __inline int isspecial(int _c) { return (__istype(_c, _CTYPE_T)); } On OSX/gcc. The formatter wasn't recognizing this entire function as something to put on a single line because it naively just checks for "static" or "inline" for that, but not "__inline". This error doesn't occur on OSX/clang. Without looking further into it, I guess that __DARWIN_CTYPE_TOP_inline gets defined to inline on clang, but __inline on gcc, for some reason. This helps issue #1572 along.
* | test/os/fs: fix call to lfs.attributesNicolas Hillegeer2015-01-16
| | | | | | | | | | | | | | | | The second argument to lfs.attributes() serves only to select a specific part of the normally returned table. It's not a file open flag (e.g.: as for fopen() in C). Also made the (n)eq checks a bit more idiomatic. Fixes #1831
* | test: Add more functional test to cover new codeThiago de Arruda2015-01-15
| | | | | | | | | | | | | | | | | | - emulate gui_running and terminal colors - scrolling/clearing regions - mouse wheel scrolling - setting icon/title - :stop/:suspend - screen resize
* | ui: Implement set_{title,icon}Thiago de Arruda2015-01-14
| |
* | test: Add Screen.debug for inspecting screens of hanging testsThiago de Arruda2015-01-13
| |
* | ui: Add 'rgb' parameter to ui_attachThiago de Arruda2015-01-13
| | | | | | | | When set to false, nvim will send cterm color numbers with `highlight_set`.
* | input: Ignore invalid "<" key sequencesThiago de Arruda2015-01-13
| | | | | | | | | | Ignoring invalid key sequences simplifies input handling in UIs. The only downside is having to use "<lt>" everytime a "<" is needed on functional tests.
* | test: Remove unnecessary command from highlight_specThiago de Arruda2015-01-13
| |
* | ui: Fix ui resizing and change some method namesThiago de Arruda2015-01-13
| |
* | ui: Add update_fg/update_bg methodsThiago de Arruda2015-01-13
| | | | | | | | | | It is necessary to notify the UI when the default background/foreground colors change in order to render correctly.
* | test: Fix clear/eol_clear in screen.luaThiago de Arruda2015-01-13
| | | | | | | | These functions need to operate on the current the scroll region.
* | Revert "[WIP] "abstract_ui" fixes and improvements"Justin M. Keyes2015-01-12
| |
* | ui: Reimplement `:suspend` command for remote UIs.Thiago de Arruda2015-01-12
| | | | | | | | | | | | - Remove suspend method from the UI protocol - Handle `:suspend` by disconnecting the last channel that sent a request to nvim.
* | ui: Add 'rgb' parameter to ui_attachThiago de Arruda2015-01-12
| | | | | | | | When set to false, nvim will send cterm color numbers with `highlight_set`.
* | input: Ignore invalid "<" key sequencesThiago de Arruda2015-01-12
| | | | | | | | | | Ignoring invalid key sequences simplifies input handling in UIs. The only downside is having to use "<lt>" everytime a "<" is needed on functional tests.
* | test: Remove unnecessary command from highlight_specThiago de Arruda2015-01-12
| |
* | ui: Fix ui resizing and change some method namesThiago de Arruda2015-01-12
| |
* | ui: Add update_fg/update_bg methodsThiago de Arruda2015-01-10
| | | | | | | | | | It is necessary to notify the UI when the default background/foreground colors change in order to render correctly.
* | test: Fix eol_clear in screen.luaThiago de Arruda2015-01-10
|/ | | | | It should only clear to the end of the current scroll region(this is the behavior expected by nvim)
* Merge pull request #1742 from fwalch/vim-7.4.552Justin M. Keyes2014-12-30
|\ | | | | vim-patch:7.4.552
| * vim-patch:7.4.552Florian Walch2014-12-26
| | | | | | | | | | | | | | Problem: Langmap applies to Insert mode expression mappings. Solution: Check for Insert mode. (Daniel Hahler) https://code.google.com/p/vim/source/detail?r=v7-4-552
* | Merge pull request #1738 from fwalch/vim-7.4.549Justin M. Keyes2014-12-30
|\ \ | | | | | | vim-patch:7.4.549
| * | vim-patch:750a698Florian Walch2014-12-27
| |/ | | | | | | | | | | Add new files for 7.4.549. https://code.google.com/p/vim/source/detail?r=750a6986aa86a2bb3346631a353913b899d86748
* / vim-patch:6a598be test for 7.4.487Justin M. Keyes2014-12-29
|/ | | | https://code.google.com/p/vim/source/detail?r=6a598be6d4e8
* vim-patch:7.4.488Florian Walch2014-12-23
| | | | | | | Problem: test_mapping fails for some people. Solution: Set the 'encoding' option. (Ken Takata) https://code.google.com/p/vim/source/detail?r=v7-4-488
* vim-patch:7.4.483Florian Walch2014-12-23
| | | | | | | Problem: A 0x80 byte is not handled correctly in abbreviations. Solution: Unescape special characters. Add a test. (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=v7-4-483
* Remove superfluous settings from legacy tests.Julian Mehne2014-12-18
|
* input: Recognize mouse events for abstract_uiThiago de Arruda2014-12-10
|
* docs: Remove EBCDIC remnantsMichael Reed2014-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
* clipboard: fix `let @+ = ...` and add testBjörn Linse2014-12-08
|
* clipboard: add functional testBjörn Linse2014-12-08
|
* 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
| |
* | Make migrated test33 more similar to old legacy test.Julian Mehne2014-12-06
| | | | | | | | Remove `expandtab` and add a missing trailing space from the legacy test.
* | deps: Update lua clientThiago de Arruda2014-12-05
|/
* systemlist: test empty lines in beginning and middle of outputBjörn Linse2014-12-02
|
* systemlist: add `keepempty` option to preserve final newlineBjörn Linse2014-12-02
|
* 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.
* Functional tests for feedkeys CSI escapingRui Abreu Ferreira2014-11-27
| | | | - tests for vim_feedkeys and replace_termcodes
* Avoid printing an error response when detecting xclip.John Szakmeister2014-11-26
| | | | | | | While we're at, using the slightly more portable `command -v` technique to detect the executable. Also, there's no need to use `io.popen()` if we aren't going to record the path. Instead, let's use the simpler `os.execute()` to detect the presence of xclip.
* Merge pull request #1543 from jszakmeister/fix-broken-functional-testsJustin M. Keyes2014-11-25
|\ | | | | Fix broken functional test.
| * Fix broken functional test.John Szakmeister2014-11-25
| | | | | | | | | | | | In Lua, all math is floating point. We need to coerce the result of a division into a integer with the `{get,set}_height` and `{get,set}_width` window_spec functional tests.
* | deps: Update bundled lua client versionThiago de Arruda2014-11-25
|/ | | | | The new version fixes defunct processes which causes random test failures on some systems(#1519)
* test: Add gdbserver support on helpers.luaThiago de Arruda2014-11-23
| | | | | | The $GDB env var can be set to run tests under gdbserver. If $VALGRIND is also set, it will add the --vgdb=yes command-line option to valgrind instead of starting gdbserver.