aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAge
* vim-patch.sh: best-effort for older git.Justin M. Keyes2015-08-27
|
* vim-patch.sh: get all untagged patches #3250Justin Gassner2015-08-27
|
* vim-patch.sh: update for gitJustin M. Keyes2015-08-26
|
* vim-patch.sh: update for Vim's hg => git migrationJohn Whitley2015-08-26
|
* Windows: Accept CRLF in msgpack-gen.lua grammar #3226Rui Abreu Ferreira2015-08-24
| | | | - MSVC generates output using Windows newlines (\r\n) instead of (\n).
* Merge pull request #2159 from ZyX-I/auto-unicodeJustin M. Keyes2015-08-19
|\ | | | | Generate unicode tables with script
| * documentation: Document table meanings in comment to genunicodetablesZyX2015-07-26
| |
| * Create script that downloads and commits UNIDATA filesZyX2015-07-26
| |
| * Generate unicode tables with script when buildingZyX2015-07-26
| |
* | msgpack: Replace FUNC_ATTR_DEFERRED by FUNC_ATTR_ASYNCThiago de Arruda2015-08-13
| | | | | | | | | | | | | | | | | | | | | | API functions exposed via msgpack-rpc now fall into two categories: - async functions, which are executed as soon as the request is parsed - sync functions, which are invoked in nvim main loop when processing the `K_EVENT special key Only a few functions which can be safely executed in any context are marked as async.
* | vim-patch.sh: Add --review option to compare PR and original diffs. #3083Florian Walch2015-08-03
|/ | | | Helped-by: Michael Reed <m.reed@mykolab.com>
* syntax: Exclude deprecated optionsZyX2015-07-26
| | | | Excluded options (compatible, edcompatible and ttyfast) are listed in vimOnlyOption group.
* syntax: List NeoVim-specific autocmd eventsZyX2015-07-26
| | | | Note: list was copied from master (7a6bf3f418c5ad94ac2ac71f21275a87d08e87b9). I did not add more events there.
* scripts: Add script which is able to generate part of vim.vim fileZyX2015-07-26
|
* options: Move option definitions to options.luaZyX2015-07-26
|
* fileio: Move event definitions to the generator scriptZyX2015-07-26
|
* Fix compiling with gcc 5. #2566oni-link2015-05-04
| | | | | Pattern matching failed, because the preprocessor added additional linemarkers around type Bool.
* scripts/legacy2luatest.pl: remove modeline #2536Justin M. Keyes2015-05-02
| | | | | Several legacy tests have "vim: set ft=vim" modelines which causes the new lua file to be opened with filetype=vim.
* vim-patch:7.4.530-531Felipe Morales2015-04-28
| | | | | | | | | | | | | | | | | | | | | | | Specify different kinds of counts for commands. Updated ex commands generator scripts. Includes fixes to comments from patch 7.4.531 Original message: Problem: Many commands take a count or range that is not using line numbers. Solution: For each command specify what kind of count it uses. For windows, buffers and arguments have "$" and "." have a relevant meaning. (Marcin Szamotulski) https://code.google.com/p/vim/source/detail?r=v7-4-530 https://code.google.com/p/vim/source/detail?r=v7-4-531 Add legacy tests for 7.4.530 https://code.google.com/p/vim/source/detail?r=1e6d87a36dcdca231721dde8cbbc26610fb3df27
* vim-patch.sh: Fix indentation, use GH URL for tagged versions. #2525Florian Walch2015-04-28
| | | | | | * Link to the commit details on GitHub for a tagged version. * Non-tagged patches (runtime updates) are still linked to Google Code because they are identified by a Mercurial commit hash.
* msgpack: coerce Ints to Windows/Buffers/TabpagesThiago de Arruda2015-04-13
| | | | Add conversion checking when generating msgpack handlers.
* scripts: Fix "test input line" logic in legacy2luatest.pl #2369David Bürgin2015-04-09
| | | | | | | | Fixes the handling of the initial input lines of a test script by simply skipping all initial empty lines. Helped-by: Florian Walch <florian@fwalch.com> Suggested-by: Florian Walch <florian@fwalch.com>
* legacy test script: minor string handling fix #2181Gustaf Lindstedt2015-03-20
| | | | | | | | Add check to see if a string contains ], which can result in cases where wrapping a string in [[...]] breaks. Use [=[...]=] instead on those strings. Use [=[...]=] for insert() and expect().
* scripts/vim-patch.sh: Misc. improvements #2108Michael Reed2015-03-16
| | | | | | | | | | | | - Check for mercurial before using it - Make 'Merging patches...' wiki page easier to copy - Use `basename` instead of assuming the user is running vim-patch.sh via the repo root - Appease shellcheck by quoting path variables - Remove unneeded variable quoting inside [[ ]] blocks - Don't unconditionally 'exit 1' '-h' and '--help' are both recognized options, so current behavior is misleading.
* macro: Add MAX macro and rename min to MINThiago de Arruda2015-02-16
|
* scripts/vim-patch: Allow equivalent shorthand argsMichael Reed2015-02-02
|
* Remove long_u: ex_cmds_defs.h: Refactor long_u.Eliseo Martínez2015-01-19
| | | | CommandDefinition.cmd_argt: long_u --> uint32_t.
* vim-patch.sh: Add option to list missing Vim changesets.Florian Walch2015-01-14
|
* Improve legacy2luatest script.Florian Walch2014-12-27
| | | | | | * Remove 'test' prefix from test names. * Ask if existing spec files should be overwritten. * Fix for legacy tests with no initial buffer content (e.g. test_signs).
* Improvements to vim-patch script.Florian Walch2014-12-25
|
* Ignore update errors in vim-patch script.Florian Walch2014-12-23
|
* msgpack-rpc: Allow registration of handlers by other modulesThiago de Arruda2014-12-08
|
* Refactor declaration generationRui Abreu Ferreira2014-11-29
| | | | | | | | | | | - Call compiler from CMake instead of lua script to generate a preprocessor file - allows for better/early error detection if the compiler fails - Preprocessor files are saved along with the headers as .i files - Accept preprocessor lines with trailing chars after # as is the case in Clang/Windows - The fourth argument to gendeclarations.lua is now the path to the proprocessor output file
* Add helper script for porting vim patches.Florian Walch2014-11-21
|
* Improve legacy2luatest script.Florian Walch2014-11-09
|
* Add legacy test conversion script.Florian Walch2014-11-04
|
* msgpack-rpc: Improve logging of msgpack-rpc messagesThiago de Arruda2014-10-23
| | | | | | | | | | - Expose more logging control from the log.c module(get log stream and omit newlines) - Remove logging from the generated functions in msgpack-gen.lua - Refactor channel.c/helpers.c to log every msgpack-rpc payload using msgpack_object_print(a helper function from msgpack.h) - Remove the api_stringify function, it was only useful for logging msgpack-rpc which is now handled by msgpack_object_print.
* debug: Improve debugging of msgpack-rpc requestsThiago de Arruda2014-10-22
| | | | | | - Add the api_stringify function to display API objects - Use api_stringify to display request arguments and return values in DLOG statements.
* debug: Fix broken DLOG macro callsThiago de Arruda2014-10-22
|
* msgpack-rpc: Allow selective deferral API callsThiago de Arruda2014-10-21
| | | | | | | | | | | | | Since all API functions now run immediately after a msgpack-rpc request is parsed by libuv callbacks, a mechanism was added to override this behavior and allow certain functions to run in Nvim main loop. The mechanism is simple: Any API function tagged with the FUNC_ATTR_DEFERRED (a "dummy" attribute only used by msgpack-gen.lua) will be called when Nvim main loop receives a K_EVENT key. To implement this mechanism it was necessary some restructuration on the msgpack-rpc modules, especially in the msgpack-gen.lua script.
* msgpack-rpc: Create subdirectory for msgpack-rpc modulesThiago de Arruda2014-10-21
| | | | | Create the msgpack_rpc subdirectory and move all modules that deal with msgpack-rpc to it. Also merge msgpack_rpc.c into msgpack_rpc/helpers.c
* test: Remove run-functional-tests.pyThiago de Arruda2014-10-16
| | | | | | Now that the lua client is available, python/lupa are no longer necessary to run the functional tests. The helper functions previously defined in run-functional-tests.py were adapted to test/functional/helpers.lua.
* test: Add 'eval' functional helperThiago de Arruda2014-10-01
| | | | | The eval helper transforms vimL expressions into lua tables, it's useful for verifying function output.
* test: Replace vroom by lua/busted for functional testsThiago de Arruda2014-09-30
| | | | | | | | | | | | | | | | | | | | | The 'lupa' python package provides a simple way to seamless integrate lua and python code. This commit replaces vroom by a python script that exposes the 'neovim' package to a lua state, and invokes busted to run functional tests. This is a temporary solution that will enable writing functional tests using lua/bused while a lua client library is not available. The reason for dropping vroom is flexibility: Lua/busted has a nice DSL-style syntax while also providing the customization power of a full programming language. Another reason is to use a single framework for unit/functional tests. Two other changes were performed in this commit: - Instead of "gcc-unittest/gcc-ia32", the travis builds for gcc are now identified by "gcc/gcc-32". They will run unit/functional tests for both 64 and 32 bits. - Old integration tests(in src/nvim/testdir) are now ran by the 'oldtest' target
* deps: Switch lua msgpack library to one that supports 2.0Thiago de Arruda2014-09-16
|
* msgpack-gen: Fix msgpack_rpc_init_function_metadataThiago de Arruda2014-09-16
| | | | The function was broken on release builds
* server: Rename address environment variableThiago de Arruda2014-09-13
| | | | | To follow the pattern of using NVIM for technical descriptions, it was renamed to NVIM_LISTEN_ADDRESS
* api metadata: Allow typed container information in api functionsThiago de Arruda2014-09-12
| | | | | | | | Adapt gendeclarations.lua/msgpack-gen.lua to allow the `ArrayOf(...)` and `DictionaryOf(...)` types in function headers. These are simple macros that expand to Array and Dictionary respectively, but the information is kept in the metadata object, which is useful for building clients in statically typed languages.
* api/msgpack-rpc: Refactor metadata object constructionThiago de Arruda2014-09-12
| | | | | | | | | Instead of building all metadata from msgpack-gen.lua, we now merge the generated part with manual information(such as types and features). The metadata is accessible through the api method `vim_get_api_info`. This was done to simplify the generator while also increasing flexibility(by being able to add more metadata)
* api/msgpack-rpc: Refactor msgpack_rpc_helpers.{c,h}Thiago de Arruda2014-09-12
| | | | | | - Move helpers that are specific to API types to api/private/helpers.{c,h} - Include headers with generated declarations - Delete unused macros