aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAge
* Generate unicode tables with script when buildingZyX2015-07-26
|
* 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
* api/msgpack-rpc: Parse type information from api/private/defs.hThiago de Arruda2014-09-12
| | | | | | | Enhance msgpack-gen.lua to extract custom api type codes from the ObjectType enum in api/private/defs.h. The type information is made available from the api metadata and clients can use to correctly serialize/deserialize these types using msgpack EXT type.
* msgpack-rpc: Remove support for integer ids in methodsThiago de Arruda2014-09-12
| | | | | There's no need to have integer and string ids, and since we now fully support msgpack-RPC, support for integer ids was removed.
* msgpack-rpc: Refactor API metadata discovery methodThiago de Arruda2014-09-12
| | | | | | | | | | A new method is now exposed via msgpack-rpc: "get_api_metadata". This method has the same job as the old method '0', it returns an object with API metadata for use by generators. There's one difference in the return value though: instead of returning a string containing another serialized msgpack document, the metadata object is returned directly(a separate deserialization step by clients is not required).
* msgpack-rpc: Move handle_missing_method to msgpack_rpc.cThiago de Arruda2014-09-12
| | | | | Since that function is not automatically generated, it's best to place it in a normal C module
* msgpack-rpc: Refactor initializer and dispatcherThiago de Arruda2014-09-12
| | | | | | | | Use Map(String, rpc_method_handler_fn) for storing/retrieving rpc method handlers in msgpack_rpc_init and msgpack_rpc_dispatch. Also refactor serialization/validation functions in the msgpack_rpc.c/msgpack_rpc_helpers.c modules to accept the new STR and BIN types.
* map/msgpack-rpc: Declare/define maps rpc method handlersThiago de Arruda2014-09-12
| | | | | The new map type uses `String` instances as keys to avoid unnecessary copying to zero-terminated buffers.
* deps: Update to the experimental msgpack v5 branchThiago de Arruda2014-09-12
| | | | | | | | Using msgpack v5 will let nvim be more compatible with msgpack libraries for other platforms. This also replaces "raw" references by "bin" which is the new name for msgpack binary data type
* msgpack-rpc: Accept method names in requestsThiago de Arruda2014-08-29
|
* test: Remove cleanup function definition from run-api-tests.expThiago de Arruda2014-08-28
| | | | This function is now injected automatically when running the python-client tests
* Fix problem with test47: addition is not bitwise ORZyX2014-08-20
| | | | | :diffsplit command used to include some flag value twice. If I was using bitwise OR it would be OK, but I had addition here. Changed to use bitwise OR.