erw7
6060301558
win/TUI: SetConsoleMode() to override libuv #9094
...
Use uv_set_vterm_state() to override libuv's guess.
See https://github.com/libuv/libuv/pull/1873/ for discussion.
This commit uses a terminal-detection approach based on
GetProcessImageFileNameW(...), which will be reverted in the following
commit. The approach was intended to handle the case of running in
winpty (:terminal), but we will add $NVIM env var for that.
Also add some support for ConEmu, cygwin.
2018-12-27 22:35:59 +01:00
Justin M. Keyes
fc5dea02b6
deps: update to libuv v1.23.2
...
Remove libuv-overlapped.patch since UV_OVERLAPPED_PIPE was included in
libuv v1.21.0:
62a0f763a7
Notable changes since v1.12:
- 1.16.0
- uv_os_getppid(): get parent PID
- "win,tty: improve SIGWINCH support" (v1.15.0)
- 1.18.0
- uv_os_getpid()
- 1.19.0
- Windows: uv_kill() pid 0 now means "current process group", like unix.
890eedaf59
- 1.20.0
- unix,spawn: respect user stdio flags for new pipe
c409b3fcff
2018-11-01 00:10:50 +01:00
dm1try
31f63c8d55
build/macOS: provide SDK path to deps compiler
...
otherwise, system headers cannot be found on Mojave
they were moved from /usr/include to SDK path
2018-10-17 16:26:28 +03:00
Justin M. Keyes
f95e0ae926
build: adjust some messages ( #9087 )
2018-10-06 18:45:34 +02:00
Justin M. Keyes
59b2e6d35d
deps: revert to jemalloc 4.5.0 ( #9035 )
...
- Since the jemalloc upgrade to 5.1.0, I'm seeing weird behavior such as
infinite loops inside jemalloc routines.
- VimR maintainer reported major performance regression correlated with
jemalloc 5.1.0.
ref https://github.com/neovim/neovim/pull/7808
reverts 765515010f
2018-09-25 00:06:52 +02:00
Justin M. Keyes
9de949ea3e
deps: update libvterm
...
Changes: a9c7c6fd20...3f62ac6b7b
- "better handling of double-width unicode characters"
cfde7f2095
https://github.com/neovim/neovim/issues/4976#issuecomment-418170022
- "Fix implementation of query on bracketed paste mode"
005845cd58
- compiler-warning fixes
- FocusIn/FocusOut reporting
1343c8c0f9
Fixes #4976 (cursor "off-by-one" behavior after ⚡ (Wide unicode glyphs)
in :terminal)
2018-09-04 10:41:51 +02:00
Justin M. Keyes
765515010f
deps: update to jemalloc 5.1.0
...
ref https://github.com/neovim/neovim/pull/7808
2018-09-04 10:41:51 +02:00
Justin M. Keyes
fa285bde45
win/dist: nvim-qt v0.2.10 ( #8901 )
...
ref https://github.com/equalsraf/neovim-qt/issues/417
2018-08-26 15:29:00 +02:00
Justin M. Keyes
ff19f08477
deps: get gperf-3.1.tar.gz from our mirror
2018-08-12 16:21:21 +02:00
James McCoy
23c9e3ec1e
Raise minimum CMake version to 2.8.12 and remove compat code
...
2.8.12 is supported by our main CI targets and [repology] confirms that
this is broadly supported.
[repology]: https://repology.org/metapackage/cmake/information
2018-06-18 08:00:30 -04:00
b-r-o-c-k
e17728a632
build/msvc: Add support for building gettext tools with MSVC
...
Only includes the tools needed for Neovim: xgettext, msgfmt, and
msgmerge.
2018-06-09 20:50:44 -05:00
b-r-o-c-k
d87e5d7016
build/msvc: Add libiconv to bundled dependencies
2018-06-09 20:50:02 -05:00
Justin M. Keyes
7303dd3e54
win/build: download iconv, gettext tools
...
- We need the gettext tools (msgmerge.exe) because these aren't built
when we build from source (not trivial).
- We can use the pre-built libiconv-2.dll for DYNAMIC_ICONV_DLL.
2018-06-06 00:58:57 +02:00
b-r-o-c-k
f8eb5c83ed
deps: Upgrade LuaRocks and remove patch
2018-06-03 22:31:01 +02:00
Justin M. Keyes
f711b63513
Merge #8434 'win/build: prefer Ninja'
2018-05-27 19:38:17 +02: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
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
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
8ba8d7244f
build/msvc: Add Git as a requirement for Windows patches
2018-03-06 20:52:27 -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
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
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
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
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
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
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
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
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