aboutsummaryrefslogtreecommitdiff
path: root/third-party
Commit message (Collapse)AuthorAge
* build: rename build-related dirsJustin M. Keyes2022-06-28
| | | | | | | | | | | | | | Problem: Dirs "config", "packaging", and "third-party" are all closely related but this is not obvious from the layout. This adds friction for new contributors. Solution: - rename config/ to cmake.config/ - rename test/config/ to test/cmakeconfig/ because it is used in Lua tests: require('test.cmakeconfig.paths'). - rename packaging/ to cmake.packaging/ - rename third-party/ to cmake.deps/ (parallel with .deps/)
* fix(build): strip trailing newline from variable (#19084)Christian Clason2022-06-25
| | | | | | | | Problem: #19029 added a new fallback that sets `$MACOSX_DEPLOYMENT_TARGET` to the local macOS version via `sw_vers`. However, the output included a newline, which broke the generated Ninja build script. Solution: use `OUTPUT_STRIP_TRAILING_WHITESPACE` for `execute_process`.
* build(deps): support universal builds on macOSCarlo Cabrera2022-06-24
| | | | | | | | | | | | | | CMake can handle building universal binaries on macOS using the `CMAKE_OSX_ARCHITECTURES` variable. Let's pass this variable to the relevant dep builds. We use the `LIST_SEPARATOR` argument to prevent the shell from interpreting the `;` that CMake uses as a list separator. For dependencies that don't build using CMake, we only need to make sure that the compiler is invoked with the correct `-arch` flags. The compiler does the rest. The only exception to this is the LuaJIT build, which we handle separately as a special case.
* build(luajit): support universal builds on macOSCarlo Cabrera2022-06-24
| | | | | | | | | | | | | | | | | To build universal binaries on macOS, one typically only needs to pass multiple `-arch` flags to `clang`. Unfortunately, this strategy causes LuaJIT builds to fail. To work around this, we build LuaJIT for each requested architecture individually first and then use `lipo` to package each architecture slice into a universal binary. To be able to do this on an Intel macOS host or an M1 macOS host without a Rosetta installation, we need some special flags in order to tell LuaJIT that it is cross-compiling for a different target. See [1] for details. [1] https://luajit.org/install.html#cross
* fix(tests): check for EOF on exit of nvim properlybfredl2022-06-13
|
* build: remove CMAKE_CROSSCOMPILING code #18914dundargoc2022-06-12
| | | | This is rarely, if ever, used and certainly not tested. It's likely this isn't functional anymore.
* build(deps): bump Luv to HEAD - 9f8038633 (#18834)Christian Clason2022-06-02
|
* build(deps): bump Luv to HEAD - 02d703b42 (#18808)Christian Clason2022-05-31
|
* Merge pull request #18607 from dundargoc/build/mingwJames McCoy2022-05-24
|\ | | | | restore mingw in cmake
| * revert: "ci: remove mingw job #18580"Dundar Goc2022-05-17
| | | | | | | | | | | | | | | | | | | | This partially reverts commit f8af81445bb48966d54f4a956842d935d009d275. The mingw parts of cmake was removed to see if it was still used (ref: https://github.com/neovim/neovim/pull/18580). It turns out it is, so this will fix that. Closes: https://github.com/neovim/neovim/issues/18597
* | build(deps): bump LuaJIT to HEAD - 4ef96cff8 (#18656)Christian Clason2022-05-20
| |
* | build(deps): bump libuv to HEAD - 730e07e2f (#18606)Christian Clason2022-05-18
|/
* ci: remove mingw job #18580dundargoc2022-05-15
| | | | | | | | | | | | | | | | | | | | Unnecessary CI builds increase the change of spurious failures, which are costly noise. Of course, we should fix all legitimate bugs, but we also cannot micro-manage every platform, so there needs to be a clear motivation for the CI builds that we maintain. Reasons against maintaining a mingw CI job: 1. The windows mingw build is slow. 2. Failures: - https://github.com/neovim/neovim/issues/18494 - https://github.com/neovim/neovim/issues/18495 3. The mingw artifact is 10x bigger than the windows MSVC artifact: https://github.com/neovim/neovim/issues/10560 4. Our releases publish the MSVC (not mingw) artifact for Windows users: https://github.com/neovim/neovim/releases 5. Non-MSVCRT has limitations documented by libuv: http://docs.libuv.org/en/v1.x/process.html > On Windows file descriptors greater than 2 are available to the child process only if the child processes uses the MSVCRT runtime. Closes https://github.com/neovim/neovim/issues/18551
* refactor(eval): use Hashy McHashFace instead of gperfbfredl2022-05-12
| | | | this removes gperf as a build dependency
* build(deps): bump Luv to HEAD - c51e7052e (#18510)Christian Clason2022-05-11
|
* build(deps): bump LuaJIT to HEAD - 91bc6b8ad (#18378)Christian Clason2022-05-04
|
* refactor(ui): simplify stdin handlingbfredl2022-05-02
|
* build: bump msgpack to 4.0.0kylo2522022-05-01
| | | | see https://github.com/msgpack/msgpack-c/releases/tag/c-4.0.0
* refactor(terminal)!: drop winpty, require Windows 10 #18253erw72022-04-26
| | | | | | | | | | | Problem: winpty is only needed for Windows 8.1. Removing it reduces our build and code complexity. Solution: - Remove winpty. - Require Windows 10. closes #18252
* build(deps): bump LuaJIT to HEAD - 5e3c45c43 (#18027)Christian Clason2022-04-08
|
* build(deps): bump luajit to commit e2c312e (#17111)Christian Clason2022-03-25
| | | bump bundled LuaJIT to https://github.com/LuaJIT/LuaJIT/commit/e2c312e0deb874aa5fa8ce502c08d87deb38e82f
* build(deps): bump libuv to 1.44.1Christian Clason2022-03-10
|
* build(deps): bump tree-sitter to 0.20.6 (#17587)Christian Clason2022-03-07
|
* build(deps): bump libuv to 1.44.0 (#17613)Christian Clason2022-03-07
|
* build(cmake): remove unused variable CMAKE_CXX_COMPILER to fix warningDundar Göc2022-03-04
|
* revert: "build(deps): bump libuv to 1.43.0+7ae0c95"Dundar Göc2022-03-04
| | | | This reverts commit 2da9450de57e6420480607ac2e83bc3cb1fa19e9.
* build(deps): bump libuv to 1.43.0+7ae0c95Christian Clason2022-02-26
|
* build(deps): bump luv to 1.43.0-0Christian Clason2022-02-26
|
* ci: bump Windows image to windows-2019James McCoy2022-02-20
| | | | | | | | The VS 2019 CMake generator no longer has different generator types for different architectures. Now, the architecture is specified via CMake's `-A` switch. However, this requires we also propagate `${CMAKE_GENERATOR_PLATFORM}` to the bundled deps, so they build for the same architecture as Nvim.
* chore(deps): use https for downloading libvterm and libtermkeyAndreas Schneider2022-02-08
|
* build(deps): bump tree-sitter to v0.20.3Christian Clason2022-01-22
| | | | | this version contains massive performance improvements as well as a new `--abi` flag that allows generating backward compatible parsers
* build(deps): bump tree-sitterChristian Clason2022-01-18
| | | | | | | | update tree-sitter to https://github.com/tree-sitter/tree-sitter/commit/2346570901ef01517dad3e4a944a36d7b7237e4f which includes a massive performance improvement to query construction (bumping ABI compatibility to 14; parsers need to be generated with a flag to take advantage of this)
* build(deps): bump treesitter to commit bf210f0Christian Clason2022-01-12
| | | | Update to https://github.com/tree-sitter/tree-sitter/commit/bf210f0c9ec7931c1a5f639461495db240aac149, which is a significant improvement to query performance.
* build(deps): bump tree-sitter to v0.20.2 (#16863)Christian Clason2022-01-01
|
* build(deps): bump luajit to commit 1d20f33 (#16712)Christian Clason2021-12-18
| | | fixes a bug with jit.bcsave on Windows (cf. #16631)
* fix(build): install luajit modules on windows (#16658)kylo2522021-12-18
|
* build(deps): bump tree-sitter commitChristian Clason2021-12-10
| | | | | bump tree-sitter to https://github.com/tree-sitter/tree-sitter/commit/25f64e1eb66bb1ab3eccd4f0b7da543005f3ba79 to fix query performance regression in 0.20.1
* chore: fix typos (#16361)dundargoc2021-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Brede Yabo Sherling Kristensen <bredeyabo@hotmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: István Donkó <istvan.donko@gmail.com> Co-authored-by: Julian Berman <Julian@GrayVines.com> Co-authored-by: bryant <bryant@users.noreply.github.com> Co-authored-by: Michael Lingelbach <m.j.lbach@gmail.com> Co-authored-by: nlueb <9465658+nlueb@users.noreply.github.com> Co-authored-by: Leonhard Saam <leonhard.saam@yahoo.com> Co-authored-by: Jesse Wertheim <jaawerth@gmail.com> Co-authored-by: dm1try <me@dmitry.it> Co-authored-by: Jakub Łuczyński <doubleloop@o2.pl> Co-authored-by: Louis Lebrault <louis.lebrault@gmail.com> Co-authored-by: Brede Yabo Sherling Kristensen <bredeyabo@hotmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: István Donkó <istvan.donko@gmail.com> Co-authored-by: Julian Berman <Julian@GrayVines.com> Co-authored-by: bryant <bryant@users.noreply.github.com> Co-authored-by: Michael Lingelbach <m.j.lbach@gmail.com> Co-authored-by: nlueb <9465658+nlueb@users.noreply.github.com> Co-authored-by: Leonhard Saam <leonhard.saam@yahoo.com> Co-authored-by: Jesse Wertheim <jaawerth@gmail.com> Co-authored-by: dm1try <me@dmitry.it> Co-authored-by: Jakub Łuczyński <doubleloop@o2.pl> Co-authored-by: Louis Lebrault <louis.lebrault@gmail.com>
* build(deps): also bump treesitter-c to v0.20.1Christian Clason2021-11-22
|
* build(deps): bump tree-sitter to 0.20.1Christian Clason2021-11-22
|
* build(deps): bump luarocks to 3.8.0Christian Clason2021-11-18
|
* fix(build): fix build failure in MinGWerw72021-11-01
| | | | | | The new MinGW fails to build libuv due to a typedef conflict between mstcpip.h and src/win/winapi.h. This change avoids conflicts by disabling typedef in the MinGW header.
* fix(build): remove amalg build target for LuaJIT (#16178)Christian Clason2021-10-30
| | | | fixup for #16041 (`amalg` build is recommended by LuaJIT for performance but this way of doing it breaks parallel build with `make -j`)
* build(deps): bump luv to 1.42.0-1 (#16113)Christian Clason2021-10-29
| | | | * Use uv_handle_size/uv_req_size instead of sizeof * LuaJIT: add missing LJ_ENDIAN and LJ_NO_UNWIND checks for DASM [fixes building on aarch64]
* build(deps): bump luajit to latest commit (#16041)Christian Clason2021-10-29
| | | | | bump LuaJIT to https://github.com/LuaJIT/LuaJIT/commit/b4b2dce9fc3ffaaaede39b36d06415311e2aa516 now requires `-funwind-tables` build flag, which conflicts with `-DLUA_USE_ASSERT`
* build: update cmake min version to 3.10 #16065Jakub Łuczyński2021-10-19
| | | | | | * build(cmake): update cmake min version to 3.10 * ci: test cmake minimum required version * build(cmake): remove some legacy includes * Since version 3.5 cmake_parse_arguments is implemented natively.
* Merge pull request #15316 from vigoux/ts-fix-capturesBjörn Linse2021-10-07
|\ | | | | fix(treesitter): run predicates more often in iter_matches
| * fix(treesitter): run predicates more often in iter_matchesThomas Vigouroux2021-10-01
| | | | | | | | Superseedes #15126, and fixes the issue.
* | build(deps)!: use libuv 1.42.0 upstream for WIN32 (#15889)Christian Clason2021-10-05
|/ | | | | | | | Switch libuv from https://github.com/neovim/libuv fork to upstream for WIN32. Upstream at 1.42.0 is now used for all platforms. BREAKING CHANGE: removes Windows 7 support BREAKING CHANGE: removes support for mouse and alternate buffers in TUI for Windows 8 and 8.1
* build(deps): bump luarocks to 3.7.0 #15740Christian Clason2021-09-22
| | | | | | | | | | | Besides bugfixes, this brings `XDG_*` compliance and improved robustness, especially for network errors. See https://github.com/luarocks/luarocks/blob/master/CHANGELOG.md - fixup: set LIBUV_LIBDIR to workaround https://github.com/luarocks/luarocks/commit/83126ba324846b754ffc5e0345341f01262b3f86 - https://github.com/luarocks/luarocks/issues/1214 - https://github.com/luarocks/luarocks/pull/1355