Commit Graph

1076 Commits

Author SHA1 Message Date
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
Chiel92
66f4136526 minor style fixes 2013-08-14 17:02:10 +02:00
Chiel92
8f63ec9e09 Merge https://github.com/Valloric/YouCompleteMe 2013-08-14 16:35:55 +02:00
Chiel92
b2c85d7060 simple debug info added 2013-08-14 16:34:44 +02:00
Chiel92
253c5b39ac default logfiles and some refactoring 2013-08-14 15:40:43 +02:00
Strahinja Val Markovic
96d4874fe0 Ensuring b:ycm_changedtick always exists
Fixes #503 (I hope).
2013-08-13 10:03:34 -07:00
Strahinja Val Markovic
591135cb91 Updating vimdoc from README 2013-08-12 20:58:21 -07:00
Strahinja Val Markovic
221bb65489 Renaming DEV_FLAGS to USE_DEV_FLAGS 2013-08-12 20:48:49 -07:00
Strahinja Val Markovic
ce136cd5b6 Dev flags are now off by default
"Dev" flags are -Werror, -Wextra, -Wall and -Wc++98-compat. People who are
compiling YCM as users and not developers (99.99999% of all YCM compilations)
don't care about those flags and were just burdened by their inclusion by
default.

Fixes #502.
2013-08-12 20:36:15 -07:00
Strahinja Val Markovic
d35b39a20c Now parsing file on insert mode leave as well
We used to do it on buffer enter and cursor hold. Doing it on insert leave too
produces much quicker compilation error feedback when editing C-family code
because the user doesn't have to wait for the next cursor hold event.
2013-08-12 20:11:41 -07:00
Strahinja Val Markovic
5f9021e3e6 Typo fix in docs 2013-08-12 19:54:26 -07:00
Val Markovic
029c4a6350 Merge pull request #500 from svermeulen/OmnisharpAutoStopOption
Added option to control whether YCM should auto-stop the omnisharp server upon leaving Vim or leave it running.
2013-08-12 19:53:22 -07:00
Strahinja Val Markovic
16d1365d12 Better smart-case query-candidate matching
Previously, "Foo" would match "Foo" but not "FOO". Now it matches both. Bottom
line, an uppercase char matches only uppercase chars but lowercase chars can
match either. We used to insist that lowercase chars in the query match
lowercase chars in the candidate strings IF the query also had uppercase
letters; this was dumb and a poor user experience.

Fixes #501.
2013-08-12 19:49:43 -07:00
svermeulen
f58a3e126d Added new flag (g:ycm_auto_stop_csharp_server) to docs. 2013-08-12 21:58:08 -03:00
svermeulen
080bf8d856 Merge branch 'master' into OmnisharpAutoStopOption 2013-08-12 21:53:12 -03:00
Strahinja Val Markovic
f2b14557ad Added missing docs for C# semantic completer 2013-08-12 17:00:05 -07:00
svermeulen
65bca8b56a Added option to control whether YCM should auto-stop the omnisharp server upon leaving Vim or leave it running. 2013-08-12 16:11:19 -03:00
Val Markovic
b46aa009fd Merge pull request #499 from vheon/patch-1
Add Tagbar to the filetype's blacklist
2013-08-09 09:58:43 -07:00
Andrea Cedraro
ed174f9e31 Add Tagbar to the filetype's blacklist 2013-08-09 15:04:50 +02:00
Strahinja Val Markovic
88bd375efd Merge branch 'dev' 2013-08-07 19:07:05 -07:00
Strahinja Val Markovic
60c9908d25 Ensure g:ycm_changedtick is always set.
Fixes #493.
2013-08-07 16:54:14 -07:00
Val Markovic
a458a7a922 Merge pull request #491 from WscriChy/gitignore-fix
Fix '.gitignore' for Windows systems
2013-08-06 09:57:13 -07:00
WscriChy
e265bee457 Fix '.gitignore' for Windows systems 2013-08-06 04:35:35 +02:00
Strahinja Val Markovic
360a70b1b3 Deleting some dead code 2013-08-05 13:36:11 -07:00