YouCompleteMe/cpp/ycm
Strahinja Val Markovic f500ecaffb Fix for hang on insert enter after "foo.bar"
If the user had code like "foo.bar" and then entered insert mode after the 'r'
in "bar", YCM would cause vim to hang.

The problem happened because a sorting task was created that would try to sort
on the latest clang result but none would be created because a clang task was
not created in this occasion. clang_data_ready_ would remain false and would
never be set to true, thus causing an infinite loop in SortingThreadMain since
the thread would forever wait on the mutex.

This was rectified with better handling of the clang results cache. Now the
cache is a full class and it also stores the line & column number of the
location for which the results were computed. Better logic is in place for the
cache invalidation.
2012-08-12 19:01:39 -07:00
..
tests Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -07:00
.ycm_clang_options.py Using -x c++ in clang opts so that headers compile 2012-08-11 19:46:22 -07:00
Candidate.cpp New sorting rule: char match index sum 2012-06-24 15:35:00 -07:00
Candidate.h Using custom collection of Boost libs 2012-05-09 21:45:30 -07:00
CandidateRepository.cpp Improving IdentifierCompleter performance 2012-07-21 12:06:18 -07:00
CandidateRepository.h Improving IdentifierCompleter performance 2012-07-21 12:06:18 -07:00
ClangCompleter.cpp Fix for hang on insert enter after "foo.bar" 2012-08-12 19:01:39 -07:00
ClangCompleter.h Fix for hang on insert enter after "foo.bar" 2012-08-12 19:01:39 -07:00
ClangResultsCache.cpp Fix for hang on insert enter after "foo.bar" 2012-08-12 19:01:39 -07:00
ClangResultsCache.h Fix for hang on insert enter after "foo.bar" 2012-08-12 19:01:39 -07:00
ClangUtils.cpp Showing the first func def in the preview window 2012-08-05 21:13:01 -07:00
ClangUtils.h Removing some unused code + fix for crash 2012-08-01 22:09:31 -07:00
CMakeLists.txt Not setting c++98compat warning for xcode 2012-08-11 19:00:39 -07:00
CompletionData.cpp Forcing the use of move in one location 2012-08-06 20:02:46 -07:00
CompletionData.h Split the CompletionData constructor into 2 funcs 2012-08-05 21:43:38 -07:00
ConcurrentLatestValue.h Renaming ConcurrentStack to ConcurrentLatestValue 2012-07-06 12:14:25 -07:00
ConcurrentStack.h Buffer identifiers are now extracted async 2012-07-24 20:09:09 -07:00
CustomAssert.cpp Adding our custom X_ASSERT macro 2012-08-11 19:01:40 -07:00
CustomAssert.h Adding our custom X_ASSERT macro 2012-08-11 19:01:40 -07:00
Diagnostic.h Adding diagnostic extraction support 2012-07-28 15:27:30 -07:00
Future.h Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -07:00
IdentifierCompleter.cpp Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -07:00
IdentifierCompleter.h Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -07:00
IdentifierUtils.cpp Buffer identifiers are now extracted async 2012-07-24 20:09:09 -07:00
IdentifierUtils.h Buffer identifiers are now extracted async 2012-07-24 20:09:09 -07:00
LetterHash.cpp Using custom collection of Boost libs 2012-05-09 21:45:30 -07:00
LetterHash.h Using custom collection of Boost libs 2012-05-09 21:45:30 -07:00
LetterNode.cpp New sorting rule: char match index sum 2012-06-24 15:35:00 -07:00
LetterNode.h New sorting rule: char match index sum 2012-06-24 15:35:00 -07:00
Result.cpp ClangCompleter now returs extra data 2012-07-19 21:17:39 -07:00
Result.h ClangCompleter now returs extra data 2012-07-19 21:17:39 -07:00
standard.h Adding our custom X_ASSERT macro 2012-08-11 19:01:40 -07:00
TranslationUnit.cpp Refactorings and removing dead code 2012-08-11 20:13:12 -07:00
TranslationUnit.h Refactorings and removing dead code 2012-08-11 20:13:12 -07:00
UnsavedFile.h Splitting the UnsavedFile struct into its own file 2012-07-21 09:09:29 -07:00
Utils.cpp Loading .ycm_clang_options files now 2012-07-22 15:19:28 -07:00
Utils.h Adding diagnostic extraction support 2012-07-28 15:27:30 -07:00
ycm_core.cpp Fix for "lclose not allowed here" error on open 2012-08-12 14:36:36 -07:00