Browse Source

Auto merge of #2572 - micbou:update-ycmd, r=vheon

[READY] Update ycmd

Release notes:
 - PR https://github.com/Valloric/ycmd/pull/707: update racerd;
 - PR https://github.com/Valloric/ycmd/pull/709: update Tern to 0.21.0;
 - PR https://github.com/Valloric/ycmd/pull/711: fix https://github.com/Valloric/YouCompleteMe/issues/2532;
 - PR https://github.com/Valloric/ycmd/pull/717: add Visual Studio 2017 and drop Visual Studio 2012 support.

Closes #2571.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2572)
<!-- Reviewable:end -->
Homu 8 years ago
parent
commit
6583da75bd
4 changed files with 14 additions and 14 deletions
  1. 5 6
      README.md
  2. 1 0
      appveyor.yml
  3. 7 7
      doc/youcompleteme.txt
  4. 1 1
      third_party/ycmd

+ 5 - 6
README.md

@@ -376,8 +376,7 @@ _Windows x86-64_ for a 64-bit Vim. We recommend installing Python 3.
 - [CMake][cmake-download]. Add CMake executable to the PATH environment
 - [CMake][cmake-download]. Add CMake executable to the PATH environment
 variable.
 variable.
 - [Visual Studio][visual-studio-download]. Download the community edition.
 - [Visual Studio][visual-studio-download]. Download the community edition.
-During setup, choose _Custom_ as the installation type and select the _Visual
-C++_ component.
+During setup, select _Desktop development with C++_ in _Workloads_.
 - [7-zip][7z-download]. Required to build YCM with semantic support for
 - [7-zip][7z-download]. Required to build YCM with semantic support for
 C-family languages.
 C-family languages.
 
 
@@ -412,8 +411,8 @@ install with all language features, ensure `msbuild`, `go`, `tsserver`, `node`,
     python install.py --all
     python install.py --all
 
 
 You can specify the Microsoft Visual C++ (MSVC) version using the `--msvc`
 You can specify the Microsoft Visual C++ (MSVC) version using the `--msvc`
-option. YCM officially supports MSVC 11 (Visual Studio 2012), 12 (2013), and 14
-(2015).
+option. YCM officially supports MSVC 12 (Visual Studio 2013), 14 (2015), and 15
+(2017).
 
 
 That's it. You're done. Refer to the _User Guide_ section on how to use YCM.
 That's it. You're done. Refer to the _User Guide_ section on how to use YCM.
 Don't forget that if you want the C-family semantic completion engine to work,
 Don't forget that if you want the C-family semantic completion engine to work,
@@ -573,7 +572,7 @@ process.
     Python 3][python-win-download]. Pick the version corresponding to your Vim
     Python 3][python-win-download]. Pick the version corresponding to your Vim
     architecture. You will also need Microsoft Visual C++ (MSVC) to build YCM.
     architecture. You will also need Microsoft Visual C++ (MSVC) to build YCM.
     You can obtain it by installing [Visual Studio][visual-studio-download].
     You can obtain it by installing [Visual Studio][visual-studio-download].
-    MSVC 11 (Visual Studio 2012), 12 (2013), and 14 (2015) are officially
+    MSVC 12 (Visual Studio 2013), 14 (2015), and 15 (2017) are officially
     supported.
     supported.
 
 
     Here we'll assume you installed YCM with Vundle. That means that the
     Here we'll assume you installed YCM with Vundle. That means that the
@@ -3092,7 +3091,7 @@ This software is licensed under the [GPL v3 license][gpl].
 [TSServer]: https://github.com/Microsoft/TypeScript/tree/master/src/server
 [TSServer]: https://github.com/Microsoft/TypeScript/tree/master/src/server
 [vim-win-download]: https://bintray.com/micbou/generic/vim
 [vim-win-download]: https://bintray.com/micbou/generic/vim
 [python-win-download]: https://www.python.org/downloads/windows/
 [python-win-download]: https://www.python.org/downloads/windows/
-[visual-studio-download]: https://www.visualstudio.com/products/free-developer-offers-vs.aspx
+[visual-studio-download]: https://www.visualstudio.com/downloads/
 [7z-download]: http://www.7-zip.org/download.html
 [7z-download]: http://www.7-zip.org/download.html
 [mono-install-osx]: http://www.mono-project.com/docs/getting-started/install/mac/
 [mono-install-osx]: http://www.mono-project.com/docs/getting-started/install/mac/
 [mono-install-ubuntu]: http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives
 [mono-install-ubuntu]: http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives

+ 1 - 0
appveyor.yml

@@ -1,4 +1,5 @@
 version: '{build}'
 version: '{build}'
+image: Visual Studio 2017
 environment:
 environment:
   COVERAGE: true
   COVERAGE: true
   matrix:
   matrix:

+ 7 - 7
doc/youcompleteme.txt

@@ -576,8 +576,8 @@ Download and install the following software:
 
 
 - CMake [25]. Add CMake executable to the PATH environment variable.
 - CMake [25]. Add CMake executable to the PATH environment variable.
 
 
-- Visual Studio [35]. Download the community edition. During setup, choose
-  _Custom_ as the installation type and select the _Visual C++_ component.
+- Visual Studio [35]. Download the community edition. During setup, select
+  _Desktop development with C++_ in _Workloads_.
 
 
 - 7-zip [36]. Required to build YCM with semantic support for C-family
 - 7-zip [36]. Required to build YCM with semantic support for C-family
   languages.
   languages.
@@ -617,8 +617,8 @@ install with all language features, ensure 'msbuild', 'go', 'tsserver', 'node',
   python install.py --all
   python install.py --all
 <
 <
 You can specify the Microsoft Visual C++ (MSVC) version using the '--msvc'
 You can specify the Microsoft Visual C++ (MSVC) version using the '--msvc'
-option. YCM officially supports MSVC 11 (Visual Studio 2012), 12 (2013), and 14
-(2015).
+option. YCM officially supports MSVC 12 (Visual Studio 2013), 14 (2015), and 15
+(2017).
 
 
 That's it. You're done. Refer to the _User Guide_ section on how to use YCM.
 That's it. You're done. Refer to the _User Guide_ section on how to use YCM.
 Don't forget that if you want the C-family semantic completion engine to work,
 Don't forget that if you want the C-family semantic completion engine to work,
@@ -782,8 +782,8 @@ will notify you to recompile it. You should then rerun the install process.
    On Windows, you need to download and install Python 2 or Python 3 [34].
    On Windows, you need to download and install Python 2 or Python 3 [34].
    Pick the version corresponding to your Vim architecture. You will also
    Pick the version corresponding to your Vim architecture. You will also
    need Microsoft Visual C++ (MSVC) to build YCM. You can obtain it by
    need Microsoft Visual C++ (MSVC) to build YCM. You can obtain it by
-   installing Visual Studio [35]. MSVC 11 (Visual Studio 2012), 12 (2013),
-   and 14 (2015) are officially supported.
+   installing Visual Studio [35]. MSVC 12 (Visual Studio 2013), 14 (2015),
+   and 15 (2017) are officially supported.
 
 
    Here we'll assume you installed YCM with Vundle. That means that the top-
    Here we'll assume you installed YCM with Vundle. That means that the top-
    level YCM directory is in '~/.vim/bundle/YouCompleteMe'.
    level YCM directory is in '~/.vim/bundle/YouCompleteMe'.
@@ -3367,7 +3367,7 @@ References ~
 [32] http://www.mono-project.com/docs/getting-started/install/linux/#centos-7-fedora-19-and-later-and-derivatives
 [32] http://www.mono-project.com/docs/getting-started/install/linux/#centos-7-fedora-19-and-later-and-derivatives
 [33] https://bintray.com/micbou/generic/vim
 [33] https://bintray.com/micbou/generic/vim
 [34] https://www.python.org/downloads/windows/
 [34] https://www.python.org/downloads/windows/
-[35] https://www.visualstudio.com/products/free-developer-offers-vs.aspx
+[35] https://www.visualstudio.com/downloads/
 [36] http://www.7-zip.org/download.html
 [36] http://www.7-zip.org/download.html
 [37] http://stackoverflow.com/questions/6319274/how-do-i-run-msbuild-from-the-command-line-using-windows-sdk-7-1
 [37] http://stackoverflow.com/questions/6319274/how-do-i-run-msbuild-from-the-command-line-using-windows-sdk-7-1
 [38] https://github.com/tpope/vim-pathogen#pathogenvim
 [38] https://github.com/tpope/vim-pathogen#pathogenvim

+ 1 - 1
third_party/ycmd

@@ -1 +1 @@
-Subproject commit ec7a154f8fe50c071ecd0ac6841de8a50ce92f5d
+Subproject commit 60c5bba489a24148afe501216a6a37d4fa669e15