erw7
7f0095cc94
Change to use RUNTIME target for DLL installation
2018-05-23 22:13:53 +09:00
erw7
d337965e09
Change to not use library prefix on MSVC
2018-05-23 22:12:37 +09:00
erw7
655e3167ee
Change conditions to more generally
2018-05-23 20:06:37 +09:00
erw7
fefb67fa88
Remove unnecessary copy of header
2018-05-23 20:03:53 +09:00
erw7
fdf17e33d5
Change to always use cmake to build libuv on Windows
2018-05-22 21:42:05 +09:00
erw7
5000c9dc1f
Change to use cmake to build libuv
2018-05-22 01:08:41 +09:00
erw7
828c9baad2
Change to enable build by Ninja on Windows
2018-05-21 19:32:19 +09:00
erw7
a93658502c
win/build: Fix install ( #8420 )
2018-05-20 18:50:07 +02:00
Justin M. Keyes
efa10881e5
deps: update to msgpack 3.0.0
...
Upgrade msgpack so that Nvim 0.3.0 builds on gcc 8.
ref #7506
2018-05-20 08:52:20 +02:00
erw7
e3707c312a
win: set TERMINFO_DIRS at build-time ( #8408 )
...
Fixes abnormal terminaion when TERM environment variable
is set in Windows.
2018-05-19 00:19:04 +02:00
Björn Linse
009ccfe170
win: open child stdio handles in overlapped-mode ( #8113 )
...
This will be used e.g. by the python client for native asyncio support
2018-04-25 10:11:08 +02:00
John Szakmeister
f44fb5b1a5
build/freebsd: set CMAKE_MAKE_PROGRAM iff "Unix Makefiles" ( #8260 )
...
It's only appropriate to set CMAKE_MAKE_PROGRAM to gmake when we're
using the "Unix Makefiles" generator. On QB, the nodes have Ninja
available and will use it, which means CMAKE_GENERATOR is set to
"Ninja". Setting CMAKE_MAKE_PROGRAM was forcing the build to use gmake
instead of ninja, which was causing the build failure.
2018-04-12 12:51:38 +02:00
Utkarsh Anand
1ca138f236
build/OpenBSD: force gmake ( #8222 )
...
fix #8216
2018-04-07 16:10:01 +02:00
Justin M. Keyes
4b26e365ae
Merge #8208 'Clean up dependency patches'
...
closes #6659
2018-04-02 11:57:27 +02:00
Utkarsh Anand
9b7ce00486
build/OpenBSD: need -lpthread -lc++abi for LuaJIT ( #8215 )
2018-04-02 11:08:11 +02:00
b-r-o-c-k
1b898d7af5
build/windows: Patch Luv with a patch file instead of CMake
2018-04-01 20:32:22 -05:00
b-r-o-c-k
57fef8b49b
build/windows: Move libtermkey patches into this repository
2018-04-01 20:32:22 -05:00
b-r-o-c-k
afd46b78c5
build/msvc: Fix libvterm patch
2018-03-26 10:54:44 -05:00
b-r-o-c-k
be67d926c5
build/msvc: Add libintl to bundled dependencies ( #8163 )
2018-03-24 17:58:32 +01:00
b-r-o-c-k
feee814b30
build/windows: Add CMakeLists.txt for gperf
2018-03-18 12:51:39 -05:00
b-r-o-c-k
229604213e
build/windows: Add CMake script to generate headers for Libvterm
...
On Windows the CMake script will replace the Perl script used by
Libvterm to generate headers.
2018-03-18 12:51:30 -05:00
b-r-o-c-k
15c53a44d3
build/windows: Add CMakeLists.txt for Libuv on Windows
...
Adding a CMakeLists.txt for Libuv removes the need for Python
when building on Windows.
2018-03-18 12:50:39 -05: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
cfb713b5c6
build/msvc: Add Appveyor CI for MSVC
2018-03-04 17:44:23 -06:00
b-r-o-c-k
8e30598115
build/msvc: Remove pkgconfig dependency on Windows
2018-03-04 17:44:23 -06:00
b-r-o-c-k
de3a833ec7
Merge branch 'master' into msvc-compat
2018-03-01 22:56:59 -06:00
b-r-o-c-k
adfad73d8e
build/msvc: Make libtermkey depend on Unibilium
2018-03-01 22:50:02 -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
305673e923
build/msvc: Add patch for libvterm
...
The patch removes VLAs because MSVC does not support them.
2018-03-01 22:50:02 -06:00
b-r-o-c-k
fa6f892055
build/msvc: Add CMakeLists.txt and header for Unibilium
...
A header was added for compatibility with MSVC and CMakeLists.txt was
added for building with CMake.
2018-03-01 22:48:15 -06:00
Marco Hinz
3d2f4154b1
third-party: build all deps with debugging symbols ( #8042 )
...
When building with CMAKE_BUILD_TYPE=Debug, the dependencies are built like this:
| Dep | Defaults | Debug |
|------------|-----------|---------------------------------------------|
| unibilium | `-O2` | `make CFLAGS=-O0 DEBUG=1` |
| msgpack | `-g -O3` | `cmake . -DCMAKE_C_FLAGS_DEBUG="-O0 -ggdb"` |
| libuv | `-g -O2` | `./configure CFLAGS="-O0 -ggdb"` |
| luv | `-g -O2` | `cmake . -DCMAKE_C_FLAGS_DEBUG="-O0 -ggdb"` |
| libvterm | not set | `make CFLAGS=-O0 DEBUG=1` |
| libtermkey | not set | `make CFLAGS=-O0 DEBUG=1` |
| jemalloc | `-g3 -O3` | `./configure CFLAGS="-O0 -ggdb"` |
| gperf | `-g -O2` | `./configure CXXFLAGS="-O0 -ggdb"` |
| luajit | `-g -O2` | haven't checked yet |
This means that only unibilium, libtermkey, and libvterm don't build with
debugging symbols by default.
Build them with debugging symbols and optimisations that don't hinder
debugging: -Og -g
2018-03-01 10:23:21 +01:00
b-r-o-c-k
f2b6145d74
build/msvc: Use patched libvterm for MSVC
2018-02-28 19:38:30 -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
b-r-o-c-k
3a6ee8819e
build/msvc: Remove unnecessary copy command for msgpack DLL
2018-02-28 19:38:30 -06:00
b-r-o-c-k
0169872fd3
build/msvc: Fix linking for luajit and luv
2018-02-28 19:38:30 -06:00
b-r-o-c-k
9aec64c34e
build/msvc: Allow building Unibilium on Windows
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
Marco Hinz
2f018b1833
third-party: upgrade libunibilium from 1.2.1 to 2.0.0 ( #8016 )
...
❯ git log --oneline v2.0.0...v1.2.1
e3b16d6 (HEAD -> master, tag: v2.0.0, origin/master, origin/HEAD) version 2.0.0
6f0037b (origin/wide-int) update README with build instructions / prerequisites
f40c97a explicitly mention the new "wide integer" format in the man pages
37aa305 use ncurses*-config to get TERMINFO_DIRS if possible
2461ee1 use perl instead of sed hackery to create unibilium.pc
23e9dea don't cast between pointer types of different alignments
1b5b8fd add basic test for wide format
cfe4216 add xterm-256color; regenerate static tests from ncurses 6.1
6e55e75 escape backslashes properly
42f3cdd add 32 bit number support (wide terminfo format)
73385ba unibi-dump: accept a filename as argument
ec9ef0a don't pass NULL to memcpy
b42315b (origin/typecheck) make unibi_var_t slightly more type-safe
2018-02-17 00:35:39 +01:00
James McCoy
e34f2897d5
third-party: Install luabitop if using Lua
2018-02-02 07:28:56 -05:00
James McCoy
71190f1f34
third-party: lua: Set LUA_ROOT to ${DEPS_INSTALL_DIR}
2018-02-02 07:28:55 -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
a18db72a36
third-party: revert to jemalloc 4.5.0
...
ref #7746
closes #7808
jemalloc-5.0.1 broke the Ubuntu Unstable PPA builds on arm64:
https://launchpadlibrarian.net/351647411/buildlog_ubuntu-artful-arm64.neovim_0.2.0ubuntu1+git201712291800+3837+26~ubuntu17.10.1_BUILDING.txt.gz ).
make[5]: Entering directory '/<<BUILDDIR>>/neovim-0.2.0ubuntu1+git201712291800+3837+26~ubuntu17.10.1/build'
Segmentation fault (core dumped)
runtime/CMakeFiles/vimball-tags.dir/build.make:57: recipe for target 'runtime/CMakeFiles/vimball-tags' failed
make[5]: *** [runtime/CMakeFiles/vimball-tags] Error 139
make[5]: Leaving directory '/<<BUILDDIR>>/neovim-0.2.0ubuntu1+git201712291800+3837+26~ubuntu17.10.1/build'
CMakeFiles/Makefile2:7467: recipe for target 'runtime/CMakeFiles/vimball-tags.dir/all' failed
jemalloc bug:
https://github.com/jemalloc/jemalloc/issues/979
2018-01-06 16:22:38 +01:00
Issam Maghni
49f4358b0a
third-party: update deps #7746
...
- Latest commit from LuaJIT 2.0.5
2017-12-29 17:38:37 +01:00
Issam Maghni
c01a84e344
Updating to latest UNIBILIUM ( #7745 )
...
Update to unibilium 1.2.1
2017-12-18 18:53:53 -05:00
Justin M. Keyes
b6c268b32a
build: de-parallelize luarocks dependencies ( #7697 )
...
ref 6647f3c047
closes #7535
2017-12-06 14:14:07 +01:00
Justin M. Keyes
54b79f19d7
win/package: nvim-qt v0.2.8 ( #7464 )
2017-10-31 12:53:07 +01:00
James McCoy
ad34f15ef2
third-party: Bump win32yank to v0.0.4 and install arch-specific binary
...
Closes #6933
2017-07-14 16:11:52 -04:00
Justin M. Keyes
2555bd3ab0
third-party: Bump libtermkey to 0.20
2017-07-08 16:39:46 +02:00
equal-l2
e8aa58934e
Update deps ( #6885 )
...
* Update libuv to 1.12.0
* Update msgpack-c to 2.13
* Update LuaJIT to 2.0.5 (82151a45 for a Windows build fix)
* Update jemalloc to 4.5.0
* Update luv to 1.9.1-1
* Update gperf to 3.1
2017-06-17 03:17:34 +00: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
ZyX
09f849b600
Merge branch 'master' into luaviml'/lua
2017-05-08 15:43:45 +03:00
Rui Abreu Ferreira
685ca180f7
win: Terminal UI #6315
...
For CI builds unibilium is provided through msys2 packages, and
libtermkey is built from source in third-party from equalsraf/libtermkey.
In Windows we cannot read terminal input from the stdin file descriptor,
instead use libuv's uv_tty API. It should handle key input and encoding.
The UI suspend is not implemented for Windows, because the
SIGSTP/SIGCONT do not exist in windows. Currently this is a NOOP.
Closes #3902
Closes #6640
2017-05-03 12:48:24 +02:00
Justin M. Keyes
9b1cad7cb6
win/package: nvim-qt v0.2.7 (fixes cursor-shaping) ( #6641 )
2017-05-02 12:45:42 +02:00
Justin M. Keyes
6944abad2f
api/ext_tabline: List of Dicts.
2017-04-26 03:41:24 +02:00
ZyX
ab4d13e2fa
Merge branch 'master' into luaviml'/lua
2017-04-10 22:21:06 +03:00
ZyX
40dee97442
third-party: Update busted version
2017-04-10 03:51:50 +03:00
ZyX
043d8ff9f2
Merge branch 'master' into luaviml'/lua
2017-04-08 01:54:58 +03:00
Justin M. Keyes
8de53157b6
build: avoid cmake warning ( #6417 )
2017-04-01 03:22:56 +02:00
James McCoy
193aa4c140
third-party: Avoid building msgpack-c examples
2017-03-30 21:35:37 -04:00
James McCoy
d92add8a4b
third-party: Bump msgpack-c to 2.1.1
2017-03-30 21:35:29 -04:00
Justin M. Keyes
e20e9645b2
build: Rename NEOVIM_* to NVIM_*
2017-03-27 14:27:20 +02:00
ZyX
d5228787ce
deps: Always build lua with -fPIC and -O0
2017-03-27 00:12:23 +03:00
ZyX
c5a2124e81
ci: When building lua use -fPIC
2017-03-27 00:12:23 +03:00
ZyX
8fec4d53d0
ci: Make ASAN build link with lua, build lua with address sanitizer
2017-03-27 00:12:23 +03:00
Justin M. Keyes
cf202b74db
build: Do not ref libuv
CMake target if USE_BUNDLED_LIBUV=OFF. ( #6363 )
...
CMake Warning: The dependency target "libuv" of target "luv-static" does
not exist. (CMP0046)
Closes #6355
2017-03-26 00:22:15 +01:00
Justin M. Keyes
36fd879b25
doc: eval.txt fixup, README.md
2017-03-13 15:50:50 +01:00
Justin M. Keyes
b2b15e6e13
win/package: nvim-qt v0.2.6 ( #6258 )
2017-03-11 16:00:26 +01:00
@equalsraf
c5edde90cc
win: third-party: win32yank v0.0.3 ( #6255 )
...
Fixes trailing newline bug when pasting text in Windows.
References:
https://github.com/equalsraf/neovim-qt/issues/218
https://github.com/equalsraf/neovim-qt/issues/253
2017-03-11 14:10:19 +01:00
Justin M. Keyes
32a9808bc5
win/package: Upgrade to neovim-qt v0.2.5 ( #6213 )
2017-03-04 21:50:43 +01:00
Justin M. Keyes
5c421080f8
win/package: runtime files
...
runtime/plugin/gui_shim.vim is from Neovim-Qt. This is a temporary
measure, we will add real UI events which obviate gui_shim.vim.
Closes #6145
2017-03-01 14:03:58 +01:00
Justin M. Keyes
500454227f
win/package: cat.exe
2017-03-01 12:35:49 +01:00
Justin M. Keyes
3378ffac8a
win/package: nvim-qt GUI
...
Closes #6126
2017-02-16 16:23:18 +01:00
Justin M. Keyes
2fbc42aa8a
win/package: provide common tools
...
References #1507
Closes #1811
curl.exe curl_7_52_1_openssl_nghttp2_x86.7z from https://winampplugins.co.uk/curl/
curl 7.52.1 (x86_64-pc-win32) libcurl/7.52.1 OpenSSL/1.0.2k zlib/1.2.8 nghttp2/1.19.0
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile NTLM SSL libz HTTP2 HTTPS-proxy
tidy.exe http://tidybatchfiles.info
HTML Tidy for Windows
tidy version 5.3.14 date 2017.01.09 compiled for Windows win32 x86.
7za.exe http://www.7-zip.org
7-Zip 16.04 (2016-10-04)
cat.exe http://unxutils.sourceforge.net
from gVim:
diff.exe GNU diffutils version 2.7
xxd.exe V1.10 27oct98 by Juergen Weigert (Win32)
ye olde hacked-up tee.exe
2017-02-16 16:23:18 +01:00
Rui Abreu Ferreira
7caaa106e3
win/build: Download winpty
...
Winpty has x86/x64 binary builds, download them when building
Neovim.
2017-02-16 16:23:18 +01:00
Rui Abreu Ferreira
bddea0caff
win/build: Fix libuv recipe for Windows/NMake X86_64
...
The 64bit check for the libuv recipe worked for the VS generator
but not for NMake.
2017-02-16 16:23:18 +01:00
Rui Abreu Ferreira
91205d219a
win/build: detect architecture
2017-02-16 16:23:17 +01: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
Rui Abreu Ferreira
f59bb4be6c
third-party: Add helper to fetch binary dependencies
...
Add cmake script with recipes to download binary dependencies, currently
the only dependency is win32yank.
2017-01-20 18:29:17 +00:00
Justin M. Keyes
af2e629be4
tui: check stty/termios for kbs
...
Requires libtermkey 0.19+
Closes #2048
Closes #5693
See a9b61424aa
%5E...c0eb4e4a05f49ad8fee0195c77f2c29d09cc36af
See https://bugzilla.redhat.com/show_bug.cgi?id=142659
See fe4e9470bb/tty-keys.c (L625-L632)
2016-12-23 18:28:54 +01:00
equal-l2
3143d7cce3
Change Lua's download URL
2016-12-04 09:42:32 +09:00
Michael Ennen
5f0260808c
build: Upgrade jemalloc from 4.2.1 to 4.3.1. ( #5636 )
...
Closes #5415
2016-11-21 13:36:55 +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
0ebd30fba7
third-party: Bump luv to v1.9.1-0
...
Fixes #4620
2016-09-10 18:43:05 +01:00
Björn Linse
7e2348f2b1
eval: use gperf to generate the hash of builtin functions
...
make api functions highlighted as builtins in vim.vim
2016-08-31 21:57:04 +02: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
Michael Ennen
9da4d0dfee
Update to libuv 1.9.1
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
9da4d1b4cb
third-party: Pass along cmake generator in luv recipe
2016-08-07 21:57:29 +01:00
Rui Abreu Ferreira
723366d40b
third-party: Build libvterm in MinGW
...
Add build recipe for libvterm in MinGW, a CMakeLists.txt
file is bundled in third-party/cmake/.
2016-08-07 21:57:29 +01:00