Strahinja Val Markovic
09d4723fcc
Updating to latest ycmd
...
Top-level 'filetypes' property not needed in request data anymore.
2014-05-29 10:42:46 -07:00
Strahinja Val Markovic
666cf3859a
Better detection of shortmess 'c' availability
...
Also noting that the annoying messages during completion go away with Vim
7.3.314.
Related to #642 .
2014-05-28 15:48:49 -07:00
Strahinja Val Markovic
8615e408b4
Updating to latest ycmd
2014-05-28 11:24:33 -07:00
Strahinja Val Markovic
5d647fec99
Removing erroneous whitespace
2014-05-28 10:20:54 -07:00
Strahinja Val Markovic
6fa49582ed
Fix missing param in OmniCompletionRequest
2014-05-28 00:05:50 -07:00
Strahinja Val Markovic
9100044afc
Refactored completion request creation
...
- OmniCompleter is now more similar to other Completers.
- CompletionRequest doesn't store start_column anymore.
- Calling BuildRequestData only once per request.
2014-05-27 17:38:34 -07:00
Strahinja Val Markovic
876eaf9c33
OmniCompleter requests now have buffer data
...
RequestWrap needs buffer data to produce computed properties.
2014-05-27 15:34:46 -07:00
Strahinja Val Markovic
4cf9cfcdff
Updating to latest ycmd
...
Since ycmd doesn't need 'query', 'start_column' and 'line_value' params, we
don't send them anymore.
2014-05-27 14:30:22 -07:00
Strahinja Val Markovic
3d733dca2d
:YcmCompleter<TAB> now won't print traceback
...
If there's no semantic completer set for the current filetype,
:YcmCompleter<TAB> would print an ugly traceback. Ugh.
Fixes #989 .
2014-05-22 14:12:51 -07:00
Val Markovic
b49ceecedb
Merge pull request #987 from fcelda/ycmd_ipv4
...
Use IPv4 to connect to ycmd
2014-05-22 12:20:48 -07:00
Strahinja Val Markovic
4344ee70a8
run_tests.sh only runs YCM tests, not ycmd ones
2014-05-21 13:41:31 -07:00
Jan Vcelak
5916226f06
use IPv4 to connect to ycmd
2014-05-21 22:40:47 +02:00
Strahinja Val Markovic
26ab52e7a7
Removing clang_includes; now in ycmd repo
2014-05-21 13:10:57 -07:00
David\ Beitey
3bef7977a9
Enable Function syntax for keyword seeding
2014-05-21 13:33:45 +10:00
Strahinja Val Markovic
ec6966236c
GoTo commands now work when spaces in filenames
...
Fixes #977
2014-05-19 12:37:30 -07:00
Strahinja Val Markovic
68f3577b87
Faster drawing of red diagnostic underlines
...
The new version of the regex executes faster.
Fixes #968 .
2014-05-19 11:10:03 -07:00
Strahinja Val Markovic
d7195f6f19
Fixing race condition on server crash
...
Crash handling code tried to read stderr log file, but the file can be deleted
by the server befor we get to look at it. In such a case, we post a different
error message (without the log output).
Point is we do our best to get the error output if the user doesn't have
g:ycm_server_keep_logfiles set. If we can't get the logfile, oh well. We tell
the user to set that flag if they care.
Fixes #974 .
2014-05-16 19:26:46 -07:00
Strahinja Val Markovic
a69bbb3009
Updating code to work with new ycmd location
2014-05-13 13:09:19 -07:00
Strahinja Val Markovic
abfba7a1aa
Moved ycmd-related files to third_party/ycmd
...
This is in preparation of splitting ycmd into a separate project.
2014-05-12 17:00:43 -07:00
Strahinja Val Markovic
7eaafd7ff8
Using OmniSharp from new directory
2014-05-12 16:30:54 -07:00
Strahinja Val Markovic
ea8ef9c34a
Moved OmniSharpServer to third_party folder
2014-05-12 16:14:29 -07:00
Strahinja Val Markovic
1ead914c4e
Fixing OmniCompleter to use 1-based start_column
...
Fixes #963 .
2014-05-12 12:54:19 -07:00
Strahinja Val Markovic
d56ec1ea7a
ycmd's JSON interface now uses 1-based indices
...
This makes far more sense because editors manipulate user-level errors/warnings
on a 1-based system, not a 0-based one.
2014-05-09 15:57:04 -07:00
Strahinja Val Markovic
4529bda5c2
Remove unused import
2014-05-09 12:36:36 -07:00
Strahinja Val Markovic
8fd6296f49
Refactored cs_completer tests some more
...
Common server-wait code is in a helper func now.
2014-05-09 12:19:22 -07:00
Strahinja Val Markovic
52fdf2d09f
Formatting fixes
2014-05-09 12:08:29 -07:00
Strahinja Val Markovic
a4da9ee686
Refactoring tests to use new helper methods
...
Plus minor formatting fixes.
2014-05-09 12:06:56 -07:00
Strahinja Val Markovic
72d91957fc
Formatting fixes
2014-05-09 12:04:15 -07:00
Val Markovic
7aa68d93b6
Merge pull request #956 from mispencer/CsharpErrorDisplay
...
Support for diagnostic for C#
2014-05-09 12:01:43 -07:00
Strahinja Val Markovic
9691bd9236
Encoding the x-ycm-hmac header value as base64.
...
We need to respect RFC 5987.
2014-05-09 10:37:20 -07:00
Strahinja Val Markovic
ec65950a9b
Fixing tests
...
Tests read the default hmac_secret from default_settings.json, and that value is
read as a unicode object by the json parser, not str.
2014-05-09 10:22:00 -07:00
Strahinja Val Markovic
8e40315258
Helper test func for stopping OmniSharp server.
2014-05-08 15:41:07 -07:00
Spencer G. Jones
465019b197
Support for SyntaxErrors in CSharp completer
2014-05-08 15:40:50 -06:00
Strahinja Val Markovic
a1feadece0
indentation fix
2014-05-05 11:11:57 -07:00
Strahinja Val Markovic
ccf0a2ed4d
More secure comparison of HMAC strings
...
To avoid timing attacks. The implementation of SecureCompareStrings is pulled
directly from python 3.4 sources.
2014-05-05 10:35:31 -07:00
Strahinja Val Markovic
b56858d2b0
Error handler now also sets HMAC header.
2014-04-25 12:03:39 -07:00
Strahinja Val Markovic
e965e02847
Client/server communication now uses HMAC for auth
...
This is to prevent a convoluted exploit that can trigger remote code execution.
2014-04-25 11:07:08 -07:00
Strahinja Val Markovic
479ad62555
Prevent setsid() failure from taking down ycmd
2014-04-10 13:02:49 -07:00
Strahinja Val Markovic
e48c5b7f9a
Revert "Remove clang_includes folder"
...
This reverts commit cca4785fb6
.
2014-04-02 15:41:51 -07:00
Strahinja Val Markovic
e17be2f81c
Revert "Don't pass extra include path to libclang"
...
This reverts commit 7bdff8941c
.
2014-04-02 15:41:48 -07:00
Strahinja Val Markovic
9865d479e1
Revert "Add libclang builtin headers for LLVM release 3.3 and 3.4"
...
This reverts commit 2f84503a99
.
2014-04-02 15:41:45 -07:00
Strahinja Val Markovic
cc488d6e3c
Revert "Add builtin includes for AppleClang 5.1"
...
This reverts commit c62bb98f4f
.
2014-04-02 15:41:41 -07:00
Val Markovic
f054fcfc0a
Merge pull request #910 from nickhutchinson/fix-libclang-includes
...
Fix libclang's #include search path
2014-04-01 21:16:09 -07:00
Marc Burns
6df96fcccf
Use OnWindows from utils instead of ad-hoc platform check.
2014-04-01 20:29:20 -04:00
Nicholas Hutchinson
c62bb98f4f
Add builtin includes for AppleClang 5.1
...
Copied from Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
2014-04-01 21:27:54 +01:00
Nicholas Hutchinson
2f84503a99
Add libclang builtin headers for LLVM release 3.3 and 3.4
...
Copied from the ./lib/clang/3.X/include directories of the prebuilt binary releases at llvm.org, specifically
http://llvm.org/releases/3.3/clang+llvm-3.3-amd64-Ubuntu-12.04.2.tar.gz and http://llvm.org/releases/3.4/clang+llvm-3.4-x86_64-linux-gnu-ubuntu-13.10.tar.xz .
These headers don't appear to be arch dependent, so we should be good.
2014-04-01 19:34:52 +01:00
Marc Burns
8f116b849a
Detach from controlling terminal to avoid receiving SIGINT.
2014-04-01 04:18:22 -04:00
Spencer G. Jones
439450d3bd
CSharp GoTo was off by one column and line
2014-03-31 08:54:46 -06:00
Nicholas Hutchinson
7bdff8941c
Don't pass extra include path to libclang
2014-03-27 08:07:56 +00:00
Val Markovic
136b80cd88
Merge pull request #903 from Valloric/watchdog-fix
...
ycmd watchog timer now wiser about machine sleep
2014-03-26 12:52:56 -07:00