YouCompleteMe/python/completers
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
..
all Removing old debugging statement 2012-08-11 21:19:06 -07:00
c Created c, objc & objcpp hooks that use cpp clang 2012-08-05 14:24:15 -07:00
cpp Fix for hang on insert enter after "foo.bar" 2012-08-12 19:01:39 -07:00
objc Created c, objc & objcpp hooks that use cpp clang 2012-08-05 14:24:15 -07:00
objcpp Created c, objc & objcpp hooks that use cpp clang 2012-08-05 14:24:15 -07:00
__init__.py Initial, rough version of completer separation 2012-08-04 17:46:54 -07:00
completer.py Moved completer.py under completers 2012-08-06 20:14:21 -07:00