Commit Graph

949 Commits

Author SHA1 Message Date
Strahinja Val Markovic
08a9ff59b6 Using os.getcwd instead of getcwd from vimscript 2013-10-07 11:03:26 -07:00
Strahinja Val Markovic
b6c311c4dd Code typo fix 2013-10-07 11:03:26 -07:00
Strahinja Val Markovic
6acc381262 Identifier completer now fully decoupled from Vim 2013-10-07 11:03:26 -07:00
Strahinja Val Markovic
a7c609efd7 More python unicode object support in ycm_core 2013-10-07 11:03:26 -07:00
Strahinja Val Markovic
3f0b719846 Encoding data to utf8 if 'unicode' object
ycm_core only deals with utf8 and the functions only accept python string
objects.
2013-10-07 11:03:26 -07:00
Strahinja Val Markovic
29bb90a6b4 Decoupling completers from Vim; still WIP & broken
Note to self: squash this commit before merging into master.
2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
bd374a7096 Completer access now through CompletionRequest
This will make it easier to put Completers in the server.
2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
28c3d9648c Deleting some dead code 2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
6d29f429bb Adding the frozendict module
Upstream: https://github.com/slezica/python-frozendict
2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
a26243092f Now more explicit about accessing user options
We don't inspect the Vim process anymore when we want an option; we parse the
options on startup and then use that data structure.
2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
496fe8f7a3 Reordering some YCM init logic 2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
1d224eb8b4 Indentation fix 2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
cb74119353 Minor code style fixes 2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
22256f361d ShouldUseNow now takes a current_line param
This is now used instead of examining the vim.current.line property.
2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
cbb43ba4a5 Adding repo analytics 2013-10-07 11:01:01 -07:00
Val Markovic
ee12530df0 Merge pull request #548 from vitalyster/trans_unit
Fix 'vector subscription out of range' MSVC assertions
2013-09-09 10:35:36 -07:00
Vitaly Takmazov
aadf5dd2b7 Fix class casting 2013-09-07 22:56:24 +04:00
Strahinja Val Markovic
96e4930684 Only setting -isystem on Mac OS X 2013-09-07 10:50:28 -07:00
Val Markovic
72eab8119d Merge pull request #546 from vitalyster/patch-1
Fix MSVC compilation
2013-09-07 10:47:18 -07:00
Vitaly Takmazov
79b3e97abe Fix 'vector subscription out of range' MSVC assertions 2013-09-07 15:14:13 +04:00
vitalyster
142f19c130 Fix MSVC compilation 2013-09-07 13:40:11 +04:00
Strahinja Val Markovic
df0be9fb2c Fixing compilation on Cygwin
Fixes #529.
2013-08-31 18:02:06 -07:00
Strahinja Val Markovic
656fe244f9 Slight rewording in CONTRIBUTING.md 2013-08-30 20:52:41 -07:00
Strahinja Val Markovic
d2fe03f072 Refactoring a big test into smaller tests 2013-08-30 14:46:33 -07:00
Strahinja Val Markovic
62462b48bc Ident collector handles escaped starting quotes
Previously, it would consider \"foo\"bar" as a slash and a "foo\"bar" string and
this would screw up tracking of quotes in the file.

Fix #535.
2013-08-30 14:38:23 -07:00
Shani H Pribadi
7cc399a017 Fix boost compilation issue with glibc 2.18 2013-08-25 14:36:15 -07:00
Strahinja Val Markovic
6fcd1e5e2a Updating to Boost 1.54 2013-08-25 14:35:47 -07:00
Strahinja Val Markovic
60d4d28297 Adding a script for easy BoostParts updating 2013-08-25 14:34:02 -07:00
Strahinja Val Markovic
c2ec0e146a Minor whitespace changes 2013-08-25 13:12:41 -07:00
Strahinja Val Markovic
46fbff5008 Should compile on MinGW-64 now
Fixes #489.
2013-08-25 13:05:47 -07:00
Strahinja Val Markovic
a077f85ecd extra conf path handling now OS-agnostic
It used to work incorrectly on Windows.

Fixes #490.
2013-08-25 10:44:45 -07:00
Shani H Pribadi
527d98028b Fix boost compilation issue with glibc 2.18 2013-08-17 13:36:57 -07:00
Strahinja Val Markovic
938e2391e2 Fixing bizarre compilation error on recent clang 2013-08-16 14:49:00 -07:00
Strahinja Val Markovic
9d34fad24f Now parsing file on every normal mode cursor move
This is still fast & efficient because if we detect that the buffer hasn't been
changed (by examining b:changedtick), the parse doesn't proceed.

In effect, we now make sure we parse the file after every change to the buffer
as soon as that change happens. This means that compilation error feedback will
now be much, MUCH quicker.
2013-08-16 14:49:00 -07:00
Strahinja Val Markovic
76aa87cb22 Ensuring TUs expire when compilation flags change. 2013-08-16 14:49:00 -07:00
Strahinja Val Markovic
0f7d9ec131 Some minor refactoring of TU store 2013-08-16 14:49:00 -07:00
Strahinja Val Markovic
a215f933a9 Refactoring out TU storage into own class
This makes the code more readable, maintainable and robust since we're now
encapsulating the mutex to filename_to_translation_unit_.
2013-08-16 14:49:00 -07:00
Val Markovic
9d14562943 Merge pull request #509 from Chiel92/master
Goto definition support for C# completer
2013-08-16 13:04:10 -07:00
Chiel92
44786c58ef Merge https://github.com/Valloric/YouCompleteMe 2013-08-16 21:03:39 +02:00
Chiel92
3c5a720835 Some minor fixes 2013-08-16 21:00:26 +02:00
Val Markovic
745d48d1e0 Merge pull request #512 from ciwchris/patch-1
OmniSharp completer error message using incorrect naming format
2013-08-16 10:17:54 -07:00
Chiel92
cd6491290f flake fix and readme update 2013-08-16 11:11:32 +02:00
Chris
039ffa5a75 OmniSharp completer error message using incorrect naming format
The not found message used to instruct users on how to install the OmniSharp completer was using an underscore while the argument to the install script uses a hyphen. The message now uses the correct naming format.
2013-08-15 21:29:27 -07:00
Val Markovic
bce44ef0fc Merge pull request #510 from svermeulen/CursorHoldError
Bug fix, was triggering an error in the command line edit window (ie. th...
2013-08-15 14:30:51 -07:00
svermeulen
ea819684d8 Bug fix, was triggering an error in the command line edit window (ie. the window you get by hitting c-f in command line) after not moving the cursor for a few seconds (ie. when CursorHold event is fired) 2013-08-15 17:19:17 -03:00
Chiel92
6b73f3fde4 Goto definition implemented 2013-08-15 12:17:42 +02:00
Chiel92
bba97eb38b ServerIsRunning pitfall eliminated 2013-08-15 11:50:54 +02:00
Strahinja Val Markovic
0215a5b8c5 Show server location for C# completer debug output 2013-08-14 19:21:20 -07:00
Strahinja Val Markovic
40146b923d Minor code style changes 2013-08-14 18:57:41 -07:00
Val Markovic
bd92a55e42 Merge pull request #461 from Chiel92/master
Multiple instances of semantic completer
2013-08-14 18:53:45 -07:00