bfredl
e3281d992e
fix(tests): check for EOF on exit of nvim properly
2022-06-13 10:15:44 +02:00
dundargoc
3c7b91da10
build: remove CMAKE_CROSSCOMPILING code #18914
...
This is rarely, if ever, used and certainly not tested. It's likely this
isn't functional anymore.
2022-06-12 15:11:14 -07:00
Dundar Goc
a4c0c07043
revert: "ci: remove mingw job #18580 "
...
This partially reverts commit f8af81445b
.
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
2022-05-17 17:07:45 +02:00
dundargoc
f8af81445b
ci: remove mingw job #18580
...
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
2022-05-15 15:59:58 -07:00
bfredl
ad63b94b03
refactor(ui): simplify stdin handling
2022-05-02 22:19:41 +02:00
Christian Clason
aba397991b
build(deps): bump luarocks to 3.7.0 #15740
...
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 83126ba324
- https://github.com/luarocks/luarocks/issues/1214
- https://github.com/luarocks/luarocks/pull/1355
2021-09-22 12:26:01 -07:00
Lewis Russell
a6cdfa27d5
chore(deps): bump LibLUV to 1.34.1 and lua-compat-53 to 0.9 ( #14985 )
...
This bumps the bundled LibLUV to 1.34.1 in order to make the newly introduced `uv.fs_mkstemp` available in the official builds. (The minimum required version remains at 1.30.1.)
The bump of lua-compat-53 to 0.9 is needed to build with the updated LibLUV.
2021-07-05 14:30:50 +02:00
Justin M. Keyes
322b2731ed
deps: lua-client 0.2.2-1
2020-02-16 17:24:21 -08:00
Daniel Hahler
629ea19994
deps: upgrade bundled LuaRocks: 2.4.4 => 3.2.1 ( #10292 )
...
Changelog: https://github.com/luarocks/luarocks/compare/v2.4.4..v3.2.1#diff-4ac32a78649ca5bdd8e0ba38b7006a1e
2019-11-19 19:10:30 +01:00
Daniel Hahler
b0f5441c5e
bundle: upgrade LuaJIT to latest v2.1 ( #10321 )
2019-09-30 12:50:22 +02:00
Daniel Hahler
6aab5715c5
third-party: busted 2.0.0-0 ( #10517 )
2019-07-16 09:15:50 +02:00
Daniel Hahler
4731027447
tests: use vim.inspect ( #10485 )
...
The inspect modules is vendored as `vim.inspect`, and therefore it makes
sense to use this in tests also.
Ref: https://github.com/neovim/neovim/issues/6580
Ref: https://github.com/neovim/neovim/commit/bb3aa824b
2019-07-13 00:50:52 +02:00
Daniel Hahler
c67315c7b5
BuildLuarocks: improve comments
...
I found it often irritation to see the same comment about "DEPENDS"
there all the time. This uses the LuaRocks rock name as a comment
instead (which is hard to parse from the recipe), moves the note about
DEPENDS to the top (extended), and fixes/aligns some whitespace.
2019-07-05 04:10:30 +02:00
Daniel Hahler
8eac3f63a2
BuildLuarocks.cmake: use ROCKS_DIR
...
With LuaRocks 3 it will include the version, and this will make the
upgrade easier then.
It also makes sense to factor this out in general for clarity already.
Pulled out of https://github.com/neovim/neovim/pull/10292 .
2019-07-05 03:55:08 +02:00
Daniel Hahler
52fced6090
build: update some test dependencies ( #10339 )
...
* build: update some test dependencies
* luacheck ignores
* BuildLua: add ${BUSTED} to depends for ${BUSTED_LUA}
This is required to rebuild it when busted gets updated.
2019-06-29 22:25:00 +02:00
Daniel Hahler
3e6f06f5d2
build: use main cmake modules with third-party ( #10330 )
...
This is meant to make it possible to use `find_package(LuaJit)` etc with
the third-party CMake project in general.
Followup to https://github.com/neovim/neovim/pull/10297/files#r296439576 .
2019-06-25 17:34:28 +02:00
Daniel Hahler
8d4a655ace
build: CMake: remove LUAROCKS_VERSION ( #10317 )
...
This is not necessary and avoids confusion.
2019-06-24 18:04:57 +02:00
Daniel Hahler
433c136a8a
build: luarocks: fall back to luajit ( #10297 )
...
This regressed in 204ec6337
.
Currently it would detect/use lua5.3 from the system, but in general
luajit is / should be preferred.
Noticed this due to nvim-client failing to build with Lua 5.3
(https://github.com/neovim/lua-client/pull/43 ).
2019-06-24 08:48:54 +02:00
Daniel Hahler
de2e51439e
build: tests: build luv rock also with USE_BUNDLED_LUV=0 ( #10307 )
...
Followup to https://github.com/neovim/neovim/pull/10291
Ref: https://github.com/neovim/neovim/issues/10289
2019-06-23 04:17:13 +02:00
Daniel Hahler
058a8ed6ec
build: USE_BUNDLED_LUV=0 with USE_BUNDLED_LUAROCKS=1 #10291
...
Fixes https://github.com/neovim/neovim/issues/10289
2019-06-22 03:43:31 +02:00
George Zhao
c83926cd0a
lua: introduce vim.loop (expose libuv event-loop) #10123
...
Co-authored-by: Andrey Popp <8mayday@gmail.com >
closes #9546
closes #10084
2019-06-10 14:13:18 +02:00
Björn Linse
8ed54bbec3
messages: use proper multiline error message for rpcrequest and API wrappers
2019-05-26 15:42:16 +02:00
Justin M. Keyes
0191061e34
deps: bump lua client
2018-06-10 16:11:49 +02:00
b-r-o-c-k
f8eb5c83ed
deps: Upgrade LuaRocks and remove patch
2018-06-03 22:31:01 +02:00
b-r-o-c-k
bf789b04f3
build/windows: Ignore whitespace when applying patches
...
The --ignore-whitespace argument was added when applying patches to
prevent failures when patched files have different line endings.
2018-03-18 12:50:39 -05:00
Justin M. Keyes
de919b9b94
build/luarocks: avoid parallelism for luarocks build
...
Is there a race between the luarocks `make bootstrap` dependencies?
reverts f73b4911312b35bfe38ed068672a2f8ba8875ba7
ref https://github.com/luarocks/luarocks/pull/774
2018-03-11 12:43:42 +01:00
Justin M. Keyes
90963a9c55
build/luarocks: apply "Fix siteconfig" patch
...
upstream: https://github.com/luarocks/luarocks/pull/774
2018-03-11 12:43:42 +01:00
b-r-o-c-k
8ba8d7244f
build/msvc: Add Git as a requirement for Windows patches
2018-03-06 20:52:27 -06:00
b-r-o-c-k
b3d0241416
build/msvc: Add patch for LuaRocks
...
LuaRocks bundles an outdated wget.exe for downloading packages on Windows. It is too old to support GitHub's TLS, so this patch will replace it with curl.
2018-03-01 22:50:02 -06:00
b-r-o-c-k
cb245a71ca
build/msvc: Add MSVC compiler flag when building LuaRocks
2018-02-28 19:38:30 -06:00
James McCoy
ff8c848128
third-party: Explicitly version pin all luarocks modules
2018-02-26 08:09:00 -05:00
James McCoy
9938196298
third-party: Install all luarocks by name instead of URL
2018-02-25 19:02:39 -05:00
James McCoy
c19ff66bfd
third-party: Use luacheck releases (0.21.2 for now) instead of master
...
Tracking master subjects us to breakages (as happened when
luacheck-scm-1.rockspec got renamed to luacheck-dev-1.rockspec) and
makes older releases unbuildable when that happens.
2018-02-25 13:11:27 -05:00
James McCoy
e34f2897d5
third-party: Install luabitop if using Lua
2018-02-02 07:28:56 -05:00
James McCoy
204ec6337e
third-party: luarocks: Use Lua if LuaJIT is disabled
2018-02-02 07:28:55 -05:00
손량
e2afcfb020
build: BuildLuarocks.cmake: fix luacheck rockspec ( #7961 )
...
luacheck renamed the filename from luacheck-scm-1.rockspec to luacheck-dev-1.rockspec.
2018-02-02 11:21:58 +01:00
George Zhao
a3daa8cb13
build: fix luacheck detection (avoids re-download on win32) ( #7905 )
2018-01-24 10:29:30 +01:00
Justin M. Keyes
b6c268b32a
build: de-parallelize luarocks dependencies ( #7697 )
...
ref 6647f3c047
closes #7535
2017-12-06 14:14:07 +01:00
Jan Viljanen
c1026ff4b3
build: LuaRocks 2.4.2 #6059
...
LuaRocks 2.3 and onwards changed the /P option to no longer include the
version number which made newer releases of LuaRocks fail when compiling
on Windows.
2017-05-31 23:13:47 +02:00
Justin M. Keyes
6944abad2f
api/ext_tabline: List of Dicts.
2017-04-26 03:41:24 +02:00
ZyX
40dee97442
third-party: Update busted version
2017-04-10 03:51:50 +03:00
Justin M. Keyes
5ef619eb33
Revert "build: LuaRocks: require unzip ( #6049 )"
...
This reverts commit 54293b73d4
.
2017-02-04 03:25:17 +01:00
Matthieu Coudron
54293b73d4
build: LuaRocks: require unzip ( #6049 )
2017-02-04 01:03:04 +01:00
Justin M. Keyes
44e6ee930f
build: Target luacheck HEAD.
...
https://github.com/mpeterv/luacheck/pull/81#issuecomment-261099606
> If you really want to use bleeding-edge version you should get the
> rockspec from master branch, not a fixed commit ...
> The correct way to install from a specific commit is cloning that
> commit and running "luarocks make" from project directory. The reason
> is that running "install" or "build" on an scm rockspec fetches
> sources from master but uses build description from the rockspec
> itself, which may be outdated.
2016-11-17 00:55:39 +01:00
Rui Abreu Ferreira
703cf3197f
third-party: Windows fix for luv build recipe
...
The argument quotes in the luv build recipe did not work
in Windows.
2016-08-26 08:09:56 +01:00
Rui Abreu Ferreira
bed61041a0
third-party: Build busted in Windows
...
Busted now builds on Windows, remove the check. In Windows the binary
is called busted.bat.
2016-08-26 08:09:56 +01:00
John Szakmeister
1d4506ee17
third-party: force the use of penlight 1.3.2-2 until busted is fixed
...
penlight 1.4.0 changed how files are being globbed and busted hasn't
been updated accordingly yet. See Olivine-Labs/busted#528 for more
information.
2016-08-15 05:55:12 -04:00
John Szakmeister
6647f3c047
third-party: don't build busted in parallel with anything
...
luarocks has had trouble in the past with multiple build/install
commands running at the same time.
2016-08-15 05:43:25 -04:00
Justin M. Keyes
f1eb303187
Merge #5130 from equalsraf/tb-appveyor
...
Enable MSYS/MinGW builds in Appveyor
2016-08-07 17:35:10 -04:00
Rui Abreu Ferreira
faafd9b70c
Build third-party deps in MinGW
...
Added recipes to build bundled dependencies in native MinGW
toolchains - libuv, luajit, luarocks, msgpack
2016-08-07 21:57:28 +01:00