| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Luv is a simple lua binding to libuv, which is now used by neovim lua client.
The bundled luv installation a bit different from other dependencies in that it
is installed two times:
- The "BuildLuv.cmake" script downloads and installs a static version of luv
using its normal cmake build script. This static version will be used later.
- Luv default rockspec is replaced with the alternate under the "rockspecs"
directory(the alternate rockspec plays nicer with neovim build system)
- The alternate rockspec is used to build/install the lua module and make it
available to lua scripts.
|
| |
|
|
|
|
|
| |
Also add a functionaltest-lua target to run the functional tests using the lua
interpreter and corresponding helper to top-level Makefile
|
|
|
|
|
|
|
|
|
|
| |
Although UNIX is a registered trademark of The Open Group, it doesn't
really matter whether we refer to these systems as UNIX, Unix, or
Unix-like. So, for consistency, refer to them collectively as Unix.
Related:
http://www.greens.org/about/unix.html
http://www.unixica.com/html/unixunix.html
|
|
|
|
|
|
|
|
|
|
| |
Otherwise the dynamic library is built also and find_library will prefer
that over the static one. That results in linking against the dynamic
library which will not be found after install.
This code:
https://github.com/neovim/neovim/blob/8b3c399b6d7f4a277d80da4b29349fed944f7d46/third-party/CMakeLists.txt#L130
should prevent the above problem, but it doesn't hurt to be explicit.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
So far luacheck's rockspec specified only the git protocol. Hence people
behind firewalls/proxies, that block port 9814, had trouble fetching this
dependency via luarocks.
The latest commit updated the rockspec to use either git or https. Thus common
workarounds like this are not needed anymore:
git config --global url."https://".insteadOf git://
References #3769.
|
|
|
|
|
|
|
| |
Source: https://github.com/mpeterv/luacheck
Docs: http://luacheck.readthedocs.org/en/0.12.0/index.html
Run via "make testlint".
|
| |
|
|
|
|
|
|
| |
Libuv and LuaJIT like to hide the actual compilation and linking
commands behind nice text. This change makes them spit out the actual
command line to help us with debugging issues that people are seeing.
|
|
|
|
| |
Busted now correctly excludes the 3.0 line of cliargs.
|
|
|
|
|
|
| |
Unfortunately, it's not enough to avoid the rc file. For now, let's
install a good version of lua_cliargs until the dependency is fixed
upstream.
|
|
|
|
|
|
|
|
|
|
|
| |
jemalloc 4.0 adds support for OpenBSD, DragonFlyBSD and other platforms.
Release notes: https://github.com/jemalloc/jemalloc/releases/tag/4.0.0
4.0.1 and 4.0.2 are bugfix releases
Release notes: https://github.com/jemalloc/jemalloc/releases/tag/4.0.1
https://github.com/jemalloc/jemalloc/releases/tag/4.0.2
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Introduce ALLOW_EXISTING_SRC_DIR option, turned off by default.
The Homebrew formula, which downloads and extracts the third-party
dependency sources before starting the build, would turn this option
ON.
|
|
|
|
|
|
|
|
| |
This effectively reverts 585e5d32a3402bffa971ae8124fc64004ab92e61
The pinning was done at a time when `lua_cliargs` caused test failures,
so an older version which didn't was pinned. We're now using the latest
version (2.5-1), so the cause of those failures were presumably fixed.
|
|
|
|
|
|
|
|
|
| |
This removes the dependency on ansicolors, see [1]:
See [2] for a changelog between the two versions.
[1]: https://github.com/Olivine-Labs/busted/pull/373
[2]: https://github.com/Olivine-Labs/busted/compare/v2.0.rc8-0...a6233a277da4e118f663606d54da8df88a27c076
|
|
|
|
|
| |
CMake has a portable touch command using cmake -E touch, use
it instead of calling touch that is only available in Unix.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Update recipes to build with MSVC or cross compile in Unix with Mingw
- For recipes that need to be reused, wrap recipe in CMake function
using cmake_parse_arguments
- New directory .deps/host is the install root for HOST targets, the old
.deps/usr is used for TARGET
- In windows disable builds for terminal libraries and jemalloc
- Added cmake script CopyFilesGlob.cmake to copy files using glob
cmake -DFROM_GLOB=*.h -DTO=/usr/include -P CopyFilesGlob.cmake
- New CMake variables HOSTDEPS_* can be used in cross compile recipes.
Except when the target is UNIX, since that would break 32bit builds
in 64bit Unix systems using the Travis 32bit toolchain
|
|\
| |
| | |
build: update dependencies for busted
|
| | |
|
| |
| |
| |
| |
| |
| | |
We didn't have ansicolors pegged, and several others were below the
minimum required versions causing busted to go out and grab newer
versions anyways. Let's peg them all to useful versions.
|
|/
|
|
|
| |
This avoids messages to stderr about VERSION being missing, and allows
us to skip the autogen step.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Libtermkey can be linked against unibilium or curses. For the bundled
dependencies Neovim links against static versions of libtermkey and
unibilium, after building both libraries.
However libtermkey requires pkg-config to be installed in order to detect
and link against unibilium, otherwise it falls back to curses by default.
In systems where pkg-config is not installed building Neovim against the
bundled libtermkey caused a linking error (#2484).
So pkg-config needs to be installed for the bundled libtermkey to build
properly.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Set JEMALLOC_NO_DEMANGLE to be able to use `je_*` functions,
regardless of how jemalloc was compiled (--with-jemalloc-prefix)
* Show jemalloc information in Neovim's version output.
Resolve #2449.
|
| |
|
| |
|
|
|
|
|
| |
- Replace repeated use of the luarocks command and build arguments
with variables ${LUAROCKS_BINARY} and ${LUAROCKS_BUILDARGS}
|
|
|
|
|
|
| |
- When not running the unit tests, building the third-party busted,
nvim-client and other dependencies can be skipped by passing
-DUSE_BUNDLED_BUSTED=FALSE to the third-party project.
|
|
|
|
|
|
|
| |
No longer needed after
https://github.com/Olivine-Labs/busted/commit/aab5d19d0c615a33b865ebc771fdef80edb99356
This reverts commit d22f2f94047a5ed1e930ee46d0d2e8d6aacfa104.
|
|
|
|
|
| |
The new one contains a clone url that does not work correctly. Once
that is fixed, we can go back to tracking master.
|
|
|
|
| |
This was missed when dropping our custom output handler.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Jemalloc will be used if the cmake option `USE_JEMALLOC` is enabled(which is the
default). To avoid trouble with clang's ASAN, it is disabled by default if the
`SANITIZE` option is enabled.
Since jemalloc has thread cache for small objects, it fills the gap created by
removing klib memory pools.
The `xstrdup` funciton(memory.c) had to be reimplemented on top of `xmalloc` to
make it work with a custom allocator.
|
|
|
|
|
| |
Busted now contains "gtest", which can be used for the same purpose as
utfTerminalDetailed.
|
| |
|
|
|
|
|
|
| |
This requires a couple of extra modules that are not installed by
default, and it requires capturing stdout of the tests--otherwise CMake
output is intermixed with the XML output of busted.
|
| |
|
|
|
|
|
|
|
|
|
| |
This is a variant of the utfTerminal output handler that will:
- Output the file name before each suite is executed
- Output the test name before each test is executed
This will make it simpler to identify crashing/hanging tests.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Closes #2107
|
|
|
|
| |
This will skip hash checking, just like the all zeros hash.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It turns out that `file(DOWNLOAD ...)` is not very user friendly with
it's error message, and only supports MD5 on v2.8.10 of CMake (the
default for Ubuntu 12.04). If CMake is built without SSL support,
users are left hanging with a message that the hashes don't match.
It turns out that `file(SHA1 ...)` exists in v2.8.10, and we
can use that to compute the hash ourselves. So this splits the hash
checking into a separate step, where we can provide some additional
advice if the SHA1 is the hash for an empty file. Additionally, it also
allows us to drop the MD5 hashes and maintain only SHA1 hashes for our
dependencies.
|
| |
|
|
|
|
|
|
| |
This is useful when trying to bisect an issue in a dependency, and we
want to pull from a specific commit but don't want to have to download
and determine the sha1sum and md5sum of the tarball.
|