Commit Graph

1490 Commits

Author SHA1 Message Date
Strahinja Val Markovic
f46f4cbbe0 More logical ordering of points in contrib docs 2013-11-17 10:42:51 -08:00
Strahinja Val Markovic
bf7451ff98 New note about maintainable code in contrib docs 2013-11-17 10:40:49 -08:00
Strahinja Val Markovic
3ffae48a35 Always ignoring 'qf' buffers
Fixes #643.
2013-11-16 10:31:34 -08:00
Strahinja Val Markovic
780d7b8dac Updating vimdoc from readme 2013-11-15 19:13:56 -08:00
Strahinja Val Markovic
64078f20a0 Added the g:ycm_use_ultisnips_completer option
This can be used to turn off UltiSnips completion candidates.

Fixes #596.
2013-11-15 16:22:20 -08:00
Strahinja Val Markovic
d41a011198 Deleting some dead code 2013-11-15 15:48:55 -08:00
Val Markovic
56efdc3718 Merge pull request #667 from LeszekSwirski/patch-1
Fix ycm_path_to_python_interpreter getter
2013-11-15 09:43:25 -08:00
Leszek Swirski
167f090cac Fix ycm_path_to_python_interpreter getter 2013-11-15 13:46:10 +00:00
Strahinja Val Markovic
450403044b Adding new g:ycm_path_to_python_interpreter option
Fixes #663
2013-11-14 10:50:53 -08:00
Val Markovic
2f9be85b93 Merge pull request #661 from LeszekSwirski/fix-isupper-locale
Use locale overload of std::isupper
2013-11-13 19:14:31 -08:00
Leszek Swirski
f6b31e5284 Use locale overload of std::isupper 2013-11-14 01:13:47 +00:00
Val Markovic
4fdf5b9aee Merge pull request #655 from jjshanks/master
add FAQ for internal compiler error #267
2013-11-09 13:04:08 -08:00
Joshua Shanks
8ee2ad76a8 remove link from ICE FAQ 2013-11-09 18:57:56 +00:00
Joshua Shanks
2ce227fc15 add FAQ for internal compiler error #267 2013-11-09 18:06:11 +00:00
Strahinja Val Markovic
0226ba4c90 ycmd using Vim stdin on Windows
This resolves YCM crash problems. Fixes #637.
2013-11-07 14:53:15 -08:00
Strahinja Val Markovic
de0a8b613a Candidate ranking prefers lowercase chars
We have a path preferring candidates that all all-lowercase, but so far we
didn't prefer "fooBar" over "FooBar", which we should have.
2013-11-07 14:37:06 -08:00
Strahinja Val Markovic
4aa207c2ad Checking for 'pythonw' only on Windows
On Mac OS X, checking for pythonw can return a path to an ancient 2.4 version of
Python in some cases. We don't want that.
2013-11-05 15:30:34 -08:00
Strahinja Val Markovic
207a0779c3 Ensuring filename is a plain Python string
We don't want to send a unicode string to the user's ycm_extra_conf.py file.
This should fix problems with sending the filename to YCM's CompilationDatabase
API.
2013-11-05 10:28:40 -08:00
Strahinja Val Markovic
aa0ccdb925 Better client notice when ycmd crashes
Now we only show the last 30 lines of stderr instead of everything in it which
was not very useful. We also tell the user about :YcmRestartServer.
2013-11-04 11:15:03 -08:00
Strahinja Val Markovic
9ea0c39279 Forcing requests to ycmd to ignore local proxies
Fixes #641
2013-11-04 10:34:42 -08:00
Strahinja Val Markovic
ca90d10ff7 Minor logic refactor for path to Python func 2013-11-01 10:53:16 -07:00
Strahinja Val Markovic
7bfb4c3402 Use a thread pool that doesn't join workers
By default, a ThreadPoolExecutor will wait at Python interpreter shutdown for
all the threads to stop by themselves before letting the interpreter shut down.

We don't want that for the network requests thread pool, it causes a shutdown
latency if there are outstanding requests. Killing the threads in our pool is
perfectly safe so we can avoid the latency by introducing an
UnsafeThreadPoolExecutor.
2013-10-30 18:08:35 -07:00
Val Markovic
2c7595abfd Merge pull request #629 from DeepInside/master
Upping ycmd max request size to 1000kb
2013-10-30 15:48:29 -07:00
Sascha G.
2ea2444e66 Upping ycmd max request size to 1000kb 2013-10-30 22:50:58 +01:00
Strahinja Val Markovic
0a05ba8c21 Updating README with ft blacklist updates 2013-10-29 19:20:16 -07:00
Val Markovic
4c673b5278 Merge pull request #626 from tlvince/blacklist-vimwiki
Blacklist vimwiki filetype
2013-10-29 19:15:51 -07:00
Strahinja Val Markovic
227cceae8a Running style_format.sh on codebase 2013-10-29 19:13:52 -07:00
Tom Vincent
650f014f16 Update filetype blacklist documentation
Follow existing `Default: '[see next line]'` style to avoid an overly long line
2013-10-30 02:12:51 +00:00
Tom Vincent
15b7e7683a Blacklist vimwiki filetype
[vimwiki][] has a markdown-like syntax, which doesn't bode well with YCM
(flickering "pattern not found" messages, performance hits with long prose).

[vimwiki]: https://github.com/vimwiki/vimwiki
2013-10-30 01:35:17 +00:00
Val Markovic
bff2584ec1 Merge pull request #625 from zhaocai/upstream
Fix --system-libclang installation in Mac OSX 10.9
2013-10-29 18:01:42 -07:00
Zhao Cai
a99969bb95 Fix --system-libclang installation in Mac OSX 10.9 2013-10-29 18:18:18 -04:00
Strahinja Val Markovic
38f571db1f C-family filetypes now Syntastic passive mode
This is needed so that Syntastic doesn't call :SyntasticCheck (and thus YCM
code) on file save unnecessarily. We call :SyntasticCheck ourselves often
enough.
2013-10-29 13:00:36 -07:00
Strahinja Val Markovic
9734c473e2 Upping ycmd max request size to 500kb
Fixes #624
2013-10-29 12:16:46 -07:00
Strahinja Val Markovic
f46bc7335e Setting Syntastic option to work around a vim bug
See https://github.com/scrooloose/syntastic/issues/834 for details.
2013-10-29 11:33:08 -07:00
Strahinja Val Markovic
4b6b5709bd Bumping the suicide timer to 24 hours 2013-10-29 11:12:55 -07:00
Strahinja Val Markovic
e14ffadbd2 Suicide timer docs now state 0 turns off timer 2013-10-29 10:51:27 -07:00
Strahinja Val Markovic
3a6b87bf6d Making global string constants actually constant
Well this is embarrasing.
2013-10-28 13:28:00 -07:00
Strahinja Val Markovic
f3b1233e3c Clarify error about Vim without python 2 support
Should be less confusing to some users. Related to issue #619.
2013-10-28 12:31:31 -07:00
Strahinja Val Markovic
f91790e2ee Only importing ycm_core in ycmd
I'm not sure, but it seems that loading both ycm_client_support and ycm_core
into the same process is causing random ycmd crashes.
2013-10-28 12:17:18 -07:00
Strahinja Val Markovic
b288dce5ba Minor docs rewording 2013-10-27 10:22:08 -07:00
Strahinja Val Markovic
b04684b8ee Clarifying docs for FlagsForFile client_data 2013-10-27 10:19:22 -07:00
Strahinja Val Markovic
ed47a8c2a1 Updating vimdoc from readme 2013-10-26 16:29:12 -07:00
Strahinja Val Markovic
6e782508b3 Now possible to sent Vim data to FlagsForFile func
Fixes #612.
2013-10-26 16:22:43 -07:00
Strahinja Val Markovic
dda1a83c09 Turning off the omnisharp server after test 2013-10-26 12:30:49 -07:00
Strahinja Val Markovic
63534e1a6f Fixing some cs completer subcommands failing
The subcommand would execute correctly, but since there would be no return
statement, it would hit the bottom of the function and raise an error.
2013-10-26 12:28:10 -07:00
Strahinja Val Markovic
3795f4f11c Split server tests into multiple files 2013-10-26 12:15:56 -07:00
Strahinja Val Markovic
17d149e899 ycmd loads default options when none provided 2013-10-25 13:26:33 -07:00
Strahinja Val Markovic
2b8ee37bf5 ycmd uses a random free port when running vim-free
Previously the default was 6666, which was temporary.
2013-10-25 13:11:13 -07:00
Strahinja Val Markovic
f20448d89e Fix rare issue with static initialization
ycmd would sometimes crash on startup with a coredump and a message from glibc
on how free() was called for an invalid pointer. A gdb session pointed out that
the problem was with static initialization order.
2013-10-25 13:03:00 -07:00
Strahinja Val Markovic
77b8adf0a9 Minor refactoring for readability 2013-10-24 20:24:08 -07:00