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
Strahinja Val Markovic
2a42e2ccdf
Better way of locating the Python 2.6/2.7 bin
...
It appears we can't trust sys.executable on some Unix machines as well.
Fixes #607 .
2013-10-24 20:21:03 -07:00
Strahinja Val Markovic
4c88ea5249
Adding submodule rationale to docs
2013-10-24 16:00:00 -07:00
Strahinja Val Markovic
d6b2331d41
Mentioning submodule init in full install guide
2013-10-24 15:58:45 -07:00
Val Markovic
87f1ec4bbb
Formatting fix for CONTRIBUTING.md
2013-10-24 14:37:07 -07:00
Val Markovic
88d2171a16
Merge pull request #578 from Valloric/ycmd
...
YCM rewritten to have a client-server architecture
2013-10-24 12:43:02 -07:00
Strahinja Val Markovic
1aa3a12293
Updating vimdoc from README
2013-10-24 12:41:56 -07:00
Strahinja Val Markovic
d35832da61
Updating README with ycmd info
...
Lots of things changed on the ycmd branch!
2013-10-24 12:31:38 -07:00
Strahinja Val Markovic
cb939dd8e2
Adding a check for third_party libs present
...
If the user forgot to checkout the submodules, then we bork during install.sh.
2013-10-24 11:16:36 -07:00
Strahinja Val Markovic
a0f85f0b6c
The ycm_temp dir is now accessible by all
...
Fixes #606
2013-10-24 10:26:55 -07:00
Strahinja Val Markovic
4af2ba0faa
Option "shutdown_secs" is now "suicide_secs"
...
Calling the option server_idle_suicide_seconds should be easier to understand.
2013-10-23 12:33:27 -07:00
Strahinja Val Markovic
b2aa5e3d3f
Moving client-only settings out of settings JSON
...
Since these options are only used on the client, they shouldn't be in
default_settings.json.
2013-10-23 12:30:13 -07:00
Strahinja Val Markovic
262d8aad03
New ycmd watchdog kills server when idle too long
...
Defaults are kill server after 12 hours of inactivity; the reason why it's 12
hours and not less is because we don't want to kill the server when the user
just left his machine (and Vim) on during the night.
2013-10-23 12:21:33 -07:00
Strahinja Val Markovic
78107361b3
Killing some dead code
2013-10-22 13:48:15 -07:00
Strahinja Val Markovic
5b76bcf8b7
GetDetailedDiagnostic actually takes 2 params
...
The Completer class version of the func only took 1 by mistake.
2013-10-22 13:46:24 -07:00
Strahinja Val Markovic
ce96a47098
Printing server PID in YcmDebugInfo
2013-10-22 10:53:31 -07:00
Strahinja Val Markovic
6d9969fa9c
Surfacing ycmd server PID to user scripts
...
To get the PID, call function youcompleteme#ServerPid().
2013-10-22 10:51:37 -07:00
Strahinja Val Markovic
5719a5e080
Updating to latest upstream Jedi (dev branch)
...
This fixes #599 .
2013-10-21 12:49:34 -07:00
Strahinja Val Markovic
9d8fdac518
Minor cleanup of Completer comments
2013-10-18 12:35:40 -07:00
Strahinja Val Markovic
f6ca040cf7
Nth attempt at correct shutdown procedure.
...
If we install an explicit signal handler for SIGTERM and SIGINT and then call
sys.exit ourselves, atexit handlers are run. If we don't call sys.exit from the
handler, ycmd never shuts down. So fixed... I think. We'll see.
Fixes #577... again.
2013-10-17 22:15:17 -07:00
Strahinja Val Markovic
a5fb6b7509
Removing unsupported signal() calls on Windows
...
SIGQUIT and SIGHUP are not supported.
For details, see Python docs: http://docs.python.org/2/library/signal.html#signal.signal
2013-10-17 20:16:44 -07:00