Commit Graph

2221 Commits

Author SHA1 Message Date
zzbot
757c5e5be4 Auto merge of #2860 - micbou:toggle-logs-prompt, r=puremourning
[READY] Prompt the user to select a logfile with the YcmToggleLogs command

Instead of displaying the list of available logfiles, prompt the user to open (or close if already
open) one of them when running the `:YcmToggleLogs` command with no arguments. Keep the current behavior when one or more arguments are given.

![toggle-logs-prompt](https://user-images.githubusercontent.com/10026824/34301520-39affee2-e72d-11e7-9c94-9a37beaabcce.gif)

<!-- 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/2860)
<!-- Reviewable:end -->
2017-12-22 13:47:01 -08:00
micbou
497a803188
Prompt the user to select a logfile with YcmToggleLogs
When no argument is given to the YcmToggleLogs command, instead of displaying
the list of available logfiles, prompt the user to open (or close if already
open) one of them.
2017-12-22 19:58:29 +01:00
zzbot
290dd94721 Auto merge of #2839 - micbou:update-ycmd, r=puremourning
[READY] Update ycmd

Include the following changes:
 - PR Valloric/ycmd#856: update JediHTTP;
 - PR Valloric/ycmd#860: improve diagnostics location in C-family languages;
 - PR Valloric/ycmd#865: use Objective-C triggers for Objective-C++;
 - PR Valloric/ycmd#869: support TypeScript 2.6.1;
 - PR Valloric/ycmd#875: allow switching to a different JavaScript project with `RestartServer`;
 - PR Valloric/ycmd#877: support `-idirafter` include flag in C-family languages.

Update the JavaScript documentation on how to switch to a different project. We only mention the `:YcmCompleter RestartServer` way as other methods involve restarting ycmd and losing all its data like stored identifiers.

<!-- 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/2839)
<!-- Reviewable:end -->
2017-12-03 11:40:20 -08:00
zzbot
2dd27db859 Auto merge of #2838 - micbou:normalize-buffer-filepath, r=micbou
[READY] Normalize buffer filepath

On Windows, Vim returns buffer filepaths with forward slashes instead of backward ones if [the `shellslash` option](http://vimdoc.sourceforge.net/htmldoc/options.html#'shellslash') is set. Since the server always return paths with backslashes on that platform, [the paths comparison in `JumpToLocation`](e8e144d446/python/ycm/vimsupport.py (L409)) will incorrectly return `True` for two equivalent paths. We need to normalize the paths from Vim.

<!-- 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/2838)
<!-- Reviewable:end -->
2017-12-01 22:23:33 -08:00
zzbot
cc4692bd42 Auto merge of #2834 - micbou:fnameescape, r=micbou
[READY] Use fnameescape to escape filepath

Spaces are not the only characters that need to be escaped when passing a filepath to a Vim command: `*`, `?`, `[`, `{`, etc. should be escaped too. Instead of escaping each one of these characters in Python, we use [the Vim function `fnameescape`](http://vimdoc.sourceforge.net/htmldoc/eval.html#fnameescape()).

Closes #2623.

<!-- 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/2834)
<!-- Reviewable:end -->
2017-12-01 17:22:05 -08:00
micbou
103d45fc4c
Update JavaScript documentation 2017-12-01 17:56:12 +01:00
micbou
227ac99c8a
Update ycmd
Include the following changes:
 - update JediHTTP;
 - improve diagnostics location in C-family languages;
 - use Objective-C triggers for Objective-C++;
 - support TypeScript 2.6.1;
 - allow switching to a different JavaScript project with RestartServer;
 - support -idirafter include flag in C-family languages.
2017-12-01 17:55:43 +01:00
micbou
b1eda652c3
Normalize buffer filepath
On Windows, Vim returns buffer filepaths with forward slashes instead of
backward ones if the shellslash option is set. Since we always expect backward
slashes from the server, we normalize these paths.
2017-12-01 17:55:15 +01:00
micbou
c3859791ea
Use fnameescape to escape filepath 2017-12-01 17:54:45 +01:00
zzbot
d99eb5d5cb Auto merge of #2840 - micbou:fix-macos-travis, r=puremourning
[READY] Fix macOS builds on Travis

Fix the `shell_session_update: command not found` error in macOS builds on Travis by removing [the `cd`, `popd`, `pushd` functions defined by RVM](ff63fa117b/scripts/cd (L14-L16)). See https://github.com/travis-ci/travis-ci/issues/8703#issuecomment-347881274.

<!-- 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/2840)
<!-- Reviewable:end -->
2017-12-01 07:56:17 -08:00
micbou
fe0ba8c641
Fix macOS builds on Travis
RVM overrides the cd, popd, and pushd shell commands, causing the
"shell_session_update: command not found" error on macOS when executing those
commands.
2017-12-01 15:14:28 +01:00
zzbot
e8e144d446 Auto merge of #2825 - mshindal:master, r=micbou
Mention in the docs that you need the exact version of Python that Vim is looking for

# PR Prelude

Thank you for working on YCM! :)

**Please complete these steps and check these boxes (by putting an `x` inside
the brackets) _before_ filing your PR:**

- [x] I have read and understood YCM's [CONTRIBUTING][cont] document.
- [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document.
- [x] I have included tests for the changes in my PR. If not, I have included a
  rationale for why I haven't.
- [x] **I understand my PR may be closed if it becomes obvious I didn't
  actually perform all of these steps.**

# Why this change is necessary and useful

[Please explain **in detail** why the changes in this PR are needed.]

No tests needed since it's just a README change. Resolves #2824.

[cont]: https://github.com/Valloric/YouCompleteMe/blob/master/CONTRIBUTING.md
[code]: https://github.com/Valloric/YouCompleteMe/blob/master/CODE_OF_CONDUCT.md

<!-- 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/2825)
<!-- Reviewable:end -->
2017-11-28 01:42:16 -08:00
zzbot
401836ea7f Auto merge of #2833 - micbou:fix-number-filetype, r=Valloric
[READY] Fix error when filetype is a number

When the filetype is set to a number (e.g. `set filetype=42`), YCM raises the following error:
```python
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\\Users\\micbou\\projects\\YouCompleteMe\\autoload\..\python\ycm\youcompleteme.py", line 571, in HandleFileParseRequest
    self.NativeFiletypeCompletionUsable() ):
  File "C:\\Users\\micbou\\projects\\YouCompleteMe\\autoload\..\python\ycm\youcompleteme.py", line 362, in NativeFiletypeCompletionUsable
    return ( self.CurrentFiletypeCompletionEnabled() and
  File "C:\\Users\\micbou\\projects\\YouCompleteMe\\autoload\..\python\ycm\youcompleteme.py", line 674, in CurrentFiletypeCompletionEnabled
    filetypes = vimsupport.CurrentFiletypes()
  File "C:\\Users\\micbou\\projects\\YouCompleteMe\\autoload\..\python\ycm\vimsupport.py", line 592, in CurrentFiletypes
    return VimExpressionToPythonType( "&filetype" ).split( '.' )
AttributeError: 'int' object has no attribute 'split'
```
This happens because `VimExpressionToPythonType` automatically converts a string representing a number to an integer and an integer cannot be split.

Closes https://github.com/Valloric/YouCompleteMe/pull/2762.

<!-- 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/2833)
<!-- Reviewable:end -->
2017-11-26 10:53:24 -08:00
zzbot
daa0175fa6 Auto merge of #2801 - micbou:no-completefunc-call-if-no-candidates, r=bstaletic
[READY] Only call completion function if needed

Currently, YCM calls the `completefunc` at each key press even if there are no candidates. This has the side effect of always keeping the user in completion mode while typing in insert mode, which causes the following issues:
 - the `<C-U>`, `<C-N>`, `<C-P>`, and `<C-E>` keys are not working as expected in insert mode when the completion menu is not visible;
 - automatic comment formatting is broken in some situations. See issue https://github.com/Valloric/YouCompleteMe/issues/2552.

This is solved by only calling the `completefunc` if suggestions are available (or if the start column is not after the current column) and by closing the completion menu otherwise.

Updates the `<C-U>` entry in the FAQ.

Fixes https://github.com/Valloric/YouCompleteMe/issues/2552.

<!-- 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/2801)
<!-- Reviewable:end -->
2017-11-26 09:45:03 -08:00
micbou
67d2a0fbf8
Fix error when filetype is a number
The VimExpressionToPythonType function automatically convert a number
represented as a string to an integer. This causes an error when used to
evaluate a filetype set to a number as the result is split on the dot character
to get a list of filetypes and an integer cannot be split. Use vim.eval and
ToUnicode instead.
2017-11-26 16:44:35 +01:00
zzbot
31abb9cee5 Auto merge of #2828 - micbou:get-buffer-number-for-filename, r=bstaletic
[READY] Change GetBufferNumberForFilename default behavior

While I was looking at PR https://github.com/Valloric/YouCompleteMe/pull/2827, I noticed that the default behavior of `GetBufferNumberForFilename` is to create a buffer for the given filename if no buffer already exists for that filename. This behavior is rather unexpected given the name of that function. In fact, `GetBufferNumberForFilename` is almost always called with the `open_file_if_needed` parameter (renamed `create_buffer_if_needed` for clarity) sets to `False`. This really suggests that the default value should be `False` instead of `True`.

In addition, that default behavior may lead to performance issues when the server returns diagnostics for a lot of files with no corresponding buffers since this will create a buffer for each one of these files.

<!-- 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/2828)
<!-- Reviewable:end -->
2017-11-17 01:27:25 -08:00
micbou
664d2c99d9
Change GetBufferNumberForFilename default behavior
If no buffer exists for a given filename, the GetBufferNumberForFilename
function will create a buffer for that file by default. This behavior is
unexpected given the name of that function and may lead to performance issues
when ycmd returns diagnostics for a lot of files with no corresponding buffers.
The default behavior for that function should be to not create a buffer.
2017-11-17 00:52:40 +01:00
micbou
7e2e1e7d34
Only call completefunc if needed
Do not call user's completion function if the start column is after the current
column or if there are no candidates. This avoids keeping the user in
completion mode even if there is no completion menu.
2017-11-15 18:51:55 +01:00
Matt Shindala
2f093e023b Trim to 80 characters / line, remove from Full Installation Guide 2017-11-13 19:23:23 -05:00
Matt Shindala
b04d703041 Add Python version information in README 2017-11-13 15:28:31 -05:00
zzbot
bade99f5e9 Auto merge of #2816 - micbou:update-7zip-requirement, r=bstaletic
[READY] Update 7-Zip requirement to 16.04 or later

There are some issues with [7-Zip 9.20](http://www.7-zip.org/download.html) when extracting files from the Clang installer. See https://github.com/Valloric/YouCompleteMe/issues/2756 and https://github.com/Valloric/YouCompleteMe/issues/2811.

<!-- 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/2816)
<!-- Reviewable:end -->
2017-10-27 01:16:54 -07:00
micbou
75ecccef90
Update 7-Zip requirement to 16.04 or later 2017-10-26 14:40:38 +02:00
zzbot
b4ab6da86d Auto merge of #2813 - micbou:fix-bare-except-statements, r=puremourning
[READY] Fix bare except statement

See PR https://github.com/Valloric/ycmd/pull/863.

<!-- 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/2813)
<!-- Reviewable:end -->
2017-10-23 12:57:30 -07:00
micbou
84998b5b5f
Fix bare except statement
Use Exception to catch all exceptions instead of a bare except statement.
2017-10-23 21:05:16 +02:00
zzbot
ac054410c4 Auto merge of #2812 - AsmCoder110:patch-1, r=micbou
Simple typo fix.

A typo in the ReadMe.

<!-- 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/2812)
<!-- Reviewable:end -->
2017-10-22 03:08:52 -07:00
Yogendra Singh
a806f32825 Simple typo fix. 2017-10-22 14:36:56 +05:30
zzbot
cd41727462 Auto merge of #2802 - micbou:auto-insert-wrap, r=bstaletic
[READY] Mention auto-insert wrapping bug in the FAQ

Prior to version 8.0.0127, Vim would insert the first suggestion when leaving completion while auto-wrapping text. See issue https://github.com/vim/vim/issues/1312 and [the corresponding patch](73fd498886). This would cause issues #771 and #2789 when using YCM.

We mention this bug in the FAQ and suggest to update to Vim 8.0.0127 or later.

Closes https://github.com/Valloric/YouCompleteMe/issues/771.
Closes https://github.com/Valloric/YouCompleteMe/issues/2789.

<!-- 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/2802)
<!-- Reviewable:end -->
2017-10-14 08:11:30 -07:00
zzbot
48e3f2c968 Auto merge of #2804 - micbou:update-ycmd, r=puremourning
[READY] Update ycmd

Include the following changes:
 - PR https://github.com/Valloric/ycmd/pull/785: automatically find Rust sources through rustup;
 - PR https://github.com/Valloric/ycmd/pull/835: do not return canonical type if identical to type in C-family languages;
 - PR https://github.com/Valloric/ycmd/pull/837: improve support of system Boost and system libclang on Gentoo;
 - PR https://github.com/Valloric/ycmd/pull/840: improve Red Hat and CentOS detection;
 - PR https://github.com/Valloric/ycmd/pull/842: consider header file entries in compilation database;
 - PR https://github.com/Valloric/ycmd/pull/843: improve completion of include statements in C-family languages;
 - PR https://github.com/Valloric/ycmd/pull/851: rename completer options in installation script;
 - PR https://github.com/Valloric/ycmd/pull/855: only include one macOS toolchain.

Update documentation according to PRs https://github.com/Valloric/ycmd/pull/785 and https://github.com/Valloric/ycmd/pull/851.

Close https://github.com/Valloric/YouCompleteMe/pull/2379.

<!-- 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/2804)
<!-- Reviewable:end -->
2017-10-10 13:40:43 -07:00
micbou
81be23b59e
Update Rust documentation
Mention rustup to get the Rust source code.
2017-10-10 21:26:47 +02:00
micbou
8429ff28ee
Rename completer options in documentation 2017-10-10 20:25:41 +02:00
micbou
dae2b303e7
Update ycmd
Include the following changes:
 - automatically find Rust sources through rustup;
 - do not return canonical type if identical to type in C-family languages;
 - improve support of system Boost and system libclang on Gentoo;
 - improve Red Hat and CentOS detection;
 - consider header file entries in compilation database;
 - improve completion of include statements in C-family languages;
 - rename completer options in installation script;
 - only include one macOS toolchain.
2017-10-10 20:10:56 +02:00
micbou
24690b44b0
Mention auto-insert wrapping bug in the FAQ 2017-10-08 11:42:43 +02:00
zzbot
6f8fc43365 Auto merge of #2798 - micbou:improve-user-notification-startup, r=puremourning
[READY] Improve server crash notification at startup

Instead of notifying the user if the server crashed immediately after starting it (which is unlikely to work because the server process is necessarily up at this point), do it during polling.

<!-- 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/2798)
<!-- Reviewable:end -->
2017-10-06 00:33:41 -07:00
micbou
2b8e86797c
Improve server crash notification at startup
Notify the user if the server crashed during server polling at startup.
2017-10-05 13:12:23 +02:00
zzbot
b5c8e57962 Auto merge of #2797 - micbou:echo-diagnostic-async, r=Valloric
[READY] Echo diagnostic asynchronously

If there is a diagnostic on the current line while updating diagnostics, echo it on the command line. Here's a demo:

![echo-diagnostic-async](https://user-images.githubusercontent.com/10026824/31182114-4e784200-a923-11e7-831b-e613d126fd8b.gif)

Without this change, users have to move the cursor up and down to see the message on the command line.

<!-- 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/2797)
<!-- Reviewable:end -->
2017-10-04 11:30:50 -07:00
micbou
880f8700b3
Echo diagnostic asynchronously 2017-10-04 16:59:47 +02:00
zzbot
16fd9fac90 Auto merge of #2792 - Kentoseth:master, r=micbou
Added instructions for cmake3

- Updated Linux64 instructions for older systems where cmake(2.8) might be causing compilation issues.
- Using cmake3 may likely address issues (in certain scenarios)

# PR Prelude

Thank you for working on YCM! :)

**Please complete these steps and check these boxes (by putting an `x` inside
the brackets) _before_ filing your PR:**

- [x] I have read and understood YCM's [CONTRIBUTING][cont] document.
- [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document.
- [ ] I have included tests for the changes in my PR. If not, I have included a
  rationale for why I haven't.
- [x] **I understand my PR may be closed if it becomes obvious I didn't
  actually perform all of these steps.**

# Why this change is necessary and useful

This is a non-code PR adding instructions to the README.md file for situations where `cmake` may be the issue. The instructions simply specify that under certain scenarios, using `cmake3` instead of `cmake` may address the compilation-issues of YCM (eg. on older systems like Ubuntu 14.04). A reference to this issue can be found under the discussion here: [link](https://github.com/Valloric/YouCompleteMe/issues/2729#issuecomment-332961003)

[cont]: https://github.com/Valloric/YouCompleteMe/blob/master/CONTRIBUTING.md
[code]: https://github.com/Valloric/YouCompleteMe/blob/master/CODE_OF_CONDUCT.md

<!-- 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/2792)
<!-- Reviewable:end -->
2017-09-29 04:48:57 -07:00
Moe
af17ae4f07 Grammar/formatting adjusted
- Grammar errors addressed
- Formatting issues addressed
2017-09-29 13:43:54 +02:00
Moe
c85612f464 Added instructions for cmake3
- Updated Linux64 instructions for older systems where cmake(2.8) might be causing compilation issues.
- Using cmake3 may likely address issues (in certain scenarios)
2017-09-28 23:50:37 +02:00
zzbot
32f1eae9cb Auto merge of #2788 - micbou:options-file, r=bstaletic
[READY] Close options file before starting server

See PR https://github.com/Valloric/ycmd/pull/841.

<!-- 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/2788)
<!-- Reviewable:end -->
2017-09-23 15:07:41 -07:00
micbou
ee25d5b8eb
Close options file before starting server
On Windows, the options file cannot be deleted while it is still open by
another process. Close the file before starting the server. Do not explicitly
flush the file as closing implies flushing.
2017-09-23 14:13:02 +02:00
zzbot
712c417529 Auto merge of #2787 - micbou:improve-path-to-python-interpreter, r=puremourning
[READY] Improve path to python interpreter error handling

YCM returns the cryptic error `YouCompleteMe unavailable: [Errno 2] No such file or directory` when the Python interpreter path used to start the server doesn't exist. See issues https://github.com/Valloric/YouCompleteMe/issues/2773 and https://github.com/Valloric/YouCompleteMe/issues/2775.

This PR improves that by using the `FindExecutable` and `GetExecutable` functions from ycmd to check if the Python interpreter path exists (and is an executable) and by returning a much more helpful message if it doesn't. We use `FindExecutable` instead of `GetExecutable` on the `g:ycm_server_python_interpreter` option so that the user can specify a Python path with just the executable name (e.g. `python`, `python2`, `python3`).

This also fixes a Python traceback in Vim that occurs when, after successfully starting the server, the `g:ycm_server_python_interpreter` option is set to an invalid path and the server is restarted with `:YcmRestartServer`. Steps to reproduce are:
 - start Vim with a working YCM;
 - type `:let g:ycm_server_python_interpreter = '/invalid/python/path'`;
 - type `:YcmRestartServer`.

<!-- 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/2787)
<!-- Reviewable:end -->
2017-09-21 14:07:27 -07:00
micbou
5d78e4c2c0
Improve path to python interpreter error handling 2017-09-21 21:17:32 +02:00
zzbot
3b89d12a0b Auto merge of #2782 - micbou:remove-obsolete-notes, r=bstaletic
[READY] Remove obsolete notes in documentation

Both notes are obsolete: [libclang correctly returns the type for `auto` since version 3.8](https://github.com/Valloric/ycmd/pull/353) and diagnostics are automatically refreshed after applying a fix-it since PR https://github.com/Valloric/YouCompleteMe/pull/2636.

<!-- 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/2782)
<!-- Reviewable:end -->
2017-09-19 11:15:12 -07:00
micbou
8817bc1f25
Remove obsolete notes in documentation 2017-09-18 00:02:27 +02:00
zzbot
b358b5ba8a Auto merge of #2781 - micbou:location-list, r=bstaletic
[READY] Do not open location list at the bottom of screen

The location list is specific to the current window so it should be opened inside the current window (default behavior), not to full width at the bottom of the screen (with `:botright`).

<!-- 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/2781)
<!-- Reviewable:end -->
2017-09-17 12:26:29 -07:00
micbou
d61944098a
Do not open location list at the bottom of screen
The location list is specific to the current window so it should be opened
inside the current window, not to full width at the bottom of the screen.
2017-09-17 20:34:52 +02:00
zzbot
70fa708048 Auto merge of #2779 - laurence6:master, r=micbou
Update ycmd for racer 2.0.10

# PR Prelude

Thank you for working on YCM! :)

**Please complete these steps and check these boxes (by putting an `x` inside
the brackets) _before_ filing your PR:**

- [x] I have read and understood YCM's [CONTRIBUTING][cont] document.
- [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document.
- [x] I have included tests for the changes in my PR. If not, I have included a
  rationale for why I haven't.
- [x] **I understand my PR may be closed if it becomes obvious I didn't
  actually perform all of these steps.**

# Why this change is necessary and useful

racer in racerd is updated from 2.0.6 to 2.0.10. Some bugs were fixed.

[Changelog of racer](https://github.com/racer-rust/racer/blob/master/CHANGELOG.md)

[cont]: https://github.com/Valloric/YouCompleteMe/blob/master/CONTRIBUTING.md
[code]: https://github.com/Valloric/YouCompleteMe/blob/master/CODE_OF_CONDUCT.md

<!-- 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/2779)
<!-- Reviewable:end -->
2017-09-16 08:18:28 -07:00
Laurence
573fead83a Update ycmd for racer 2.0.10 2017-09-15 22:43:17 -04:00
zzbot
9ca755a7ce Auto merge of #2768 - micbou:update-ycmd, r=micbou
[READY] Update ycmd

This new version of ycmd includes the following changes:

 - PR Valloric/ycmd#795: add option to make relative paths in flags from extra conf absolute;
 - PR Valloric/ycmd#802: fix compilation on Haiku;
 - PR Valloric/ycmd#804: add libclang detection on FreeBSD;
 - PR Valloric/ycmd#808: write python used during build before installing completers;
 - PR Valloric/ycmd#810: support unknown languages from tags;
 - PR Valloric/ycmd#811: update Universal Ctags languages list;
 - PR Valloric/ycmd#814: resolve symlinks in extra conf glob patterns;
 - PR Valloric/ycmd#815: update JediHTTP;
 - PR Valloric/ycmd#816: update Boost to 1.65.0;
 - PR Valloric/ycmd#819: filter and sort candidates when query is empty;
 - PR Valloric/ycmd#820: improve LLVM root path search for prebuilt binaries;
 - PR Valloric/ycmd#822: inline critical utility functions;
 - PR Valloric/ycmd#824: do not sort header paths in filename completer;
 - PR Valloric/ycmd#825: implement partial sorting;
 - PR Valloric/ycmd#830: add max_num_candidates option;
 - PR Valloric/ycmd#831: fix multiline comments and strings issues;
 - PR Valloric/ycmd#832: update Clang to 5.0.0.

The `g:ycm_max_num_candidates` and `g:ycm_max_num_identifier_candidates` options are added to the documentation.

The link to ycmd extra conf is updated.

Fixes #2562.

<!-- 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/2768)
<!-- Reviewable:end -->
2017-09-10 08:07:04 -07:00