nop
bc9a283be6
New wrapper function around subprocess.Popen
...
New wrapper function around subprocess.Popen that handles stdin
correctly when on Windows (see issue #637 )
2013-12-11 13:41:04 +01:00
nop
c8b0f466c0
Small stylistic change
2013-12-11 10:27:29 +01:00
nop
96762e2a7e
Removed an unused import
2013-12-10 14:59:44 +01:00
nop
fd6338fa88
Fixed OmniSharp launch under Windows (again)
...
We pass shell=True to Popen so that OmniSharp is not started inside a
new visible window under Windows. And since we use shell=True, we pass
the command to execute as a string, as recommended by Python's docs
(also, it won't work when passed as a sequence anyway :) ).
2013-12-10 12:46:05 +01:00
nop
ee90d9b09b
Fix faulty logic in previous commit
...
Previous commit is 9b8781322e
2013-12-10 12:35:33 +01:00
nop
9b8781322e
Small refactoring
...
Use the dedicated function to check if we're running on Windows instead
of checking the platform directly.
2013-12-05 10:25:55 +01:00
nop00
d4829f1ef9
Fix OmniSharp launch under Windows
2013-12-04 22:01:35 +01:00
nop
93fa3ad7e7
Small stylistic changes
2013-12-03 17:34:10 +01:00
nop00
f8aabab328
Merge github.com:nop00/YouCompleteMe
2013-11-29 22:13:22 +01:00
nop00
3da6f5c197
Unit tests for Omnisharp's smarter solution finder
2013-11-29 22:13:04 +01:00
nop00
7f44972645
Unit test for Omnisharp's smarter solution finder
2013-11-29 22:10:49 +01:00
nop
aa7801b850
Omnisharp: smarter solution file finder
...
When loading the Omnisharp server, YCM tries to find a suitable solution
file to feed it. Instead of giving up when finding multiple solution
files, it now tries to find one named like the edited files' folder at
the solution level, e.g. if we have bla/Project.sln and we are editing
bla/Project/Folder/Whatever/File.cs, we use bla/Project.sln.
2013-11-21 15:31:38 +01:00
Strahinja Val Markovic
cf6211055e
Removing the server_idle_suicide_seconds option
...
This option existed so that the user can tweak it if they found the default idle
timeout too short, for instance if they leave their machine on over the weekend.
This use case is now covered by the new YcmdKeepalive system that pings ycmd
every 10 minutes as long as Vim is running. This prevents ycmd shutting down if
one leaves their Vim instance alone for a long time.
Thus the old option is useless now; ycmd now shuts down after 3 hours of
inactivity, which should only ever happen when its corresponding Vim instance
has shut down abnormally.
2013-11-20 12:33:57 -08:00
Strahinja Val Markovic
8d42f72517
Linking to issue 303 from docs.
2013-11-18 20:26:20 -08:00
Strahinja Val Markovic
3a1ef4eddb
Note in FAQ about C++ standard headers not found
2013-11-18 20:23:39 -08:00
Strahinja Val Markovic
5ae3a573b9
Workaround for annoying clang bug with pragma once
...
Fixes #216
2013-11-17 17:59:39 -08:00
Strahinja Val Markovic
06b5411fb3
Revert "Add possibility to disable identifier completion engine"
...
This reverts commit 44d5747d23
.
Conflicts:
README.md
2013-11-17 14:44:43 -08:00
Strahinja Val Markovic
eb74ed6145
Clarified the new -1 setting for min chars
2013-11-17 14:37:35 -08:00
Val Markovic
6e84bebe0c
Merge pull request #672 from fcelda/disable-identifier-completion
...
Add possibility to disable identifier completion engine
2013-11-17 14:33:54 -08:00
Strahinja Val Markovic
757602becf
Workaround for header flags with compilation db
2013-11-17 14:17:20 -08:00
Jan Vcelak
44d5747d23
Add possibility to disable identifier completion engine
...
Setting negative value of 'g:ycm_min_num_of_chars_for_completion'
disables identifier completion.
2013-11-17 23:05:49 +01:00
Strahinja Val Markovic
76f9c42d6e
Minor whitespace fix
2013-11-17 13:46:14 -08:00
Strahinja Val Markovic
1f23171c08
Test for exception on no flags from extra conf
2013-11-17 13:45:39 -08:00
Strahinja Val Markovic
19a5bf0500
Notifying user if no flags come from extra conf
2013-11-17 13:32:43 -08:00
Strahinja Val Markovic
1c1fb47d7e
Fixing typo in YCM extra conf comment
2013-11-17 13:18:11 -08:00
Strahinja Val Markovic
2caf90637d
Better handling of bad flags from extra conf
2013-11-17 13:10:16 -08:00
Strahinja Val Markovic
9c43634190
Force clang color output when building with Ninja
2013-11-17 11:23:16 -08:00
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