aboutsummaryrefslogtreecommitdiff
path: root/scripts/gendeclarations.lua
Commit message (Collapse)AuthorAge
* generators: separate source generators from scriptsBjörn Linse2017-05-10
|
* gendeclarations: Make declarations generator work with macros funcsZyX2017-03-27
| | | | | Now it checks functions also after every semicolon and closing figure brace, possibly preceded by whitespaces (tabs and spaces). This should make messing with declarations in macros not needed.
* gendeclarations: Handle case when text did not matchZyX2017-03-27
|
* gendeclarations: Also save information about directoryZyX2017-03-27
|
* gendeclarations: Save where declaration is comping fromZyX2017-03-27
|
* api: refactor remote ui to use API dispatch generationBjörn Linse2016-05-27
|
* Revert "build system: avoid more unneccesary recompiles"Björn Linse2016-02-25
| | | | This was not the correct way to fix the issue.
* build system: avoid more unneccesary recompilesBjörn Linse2016-02-14
|
* Fix compiling with gcc 5. #2566oni-link2015-05-04
| | | | | Pattern matching failed, because the preprocessor added additional linemarkers around type Bool.
* 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
* 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.
* Make gendeclarations.lua more friendly to incremental buildsThiago de Arruda2014-06-02
| | | | | | Modify gendeclarations.lua to check if the generated non-static declaration header changed before rewriting it with a new version. This is to prevent unnecessary rebuilds of modules that depend on modules that had private changes.
* Add automatic generation of headersZyX2014-06-02
- The 'stripdecls.py' script replaces declarations in all headers by includes to generated headers. `ag '#\s*if(?!ndef NEOVIM_).*((?!#\s*endif).*\n)*#ifdef INCLUDE_GENERATED'` was used for this. - Add and integrate gendeclarations.lua into the build system to generate the required includes. - Add -Wno-unused-function - Made a bunch of old-style definitions ANSI This adds a requirement: all type and structure definitions must be present before INCLUDE_GENERATED_DECLARATIONS-protected include. Warning: mch_expandpath (path.h.generated.h) was moved manually. So far it is the only exception.