YouCompleteMe/python/completers
Strahinja Val Markovic f88c9feb4f Refactored the clang completer; many bugs fixed
This change should fix the random hangs and segfaults when using the clang
completer. Also, assertion errors printed to the console on vim exit should go
away too, same thing with segfaults on vim exit. These "on exit" errors were
caused by not cleanly shutting down the background threads; both the identifier
completer and the clang one now join the threads on destruction. This results in
a clean shutdown.

The new clang completer architecture now uses only one clang thread (again)
instead of a completion and parsing thread. Since the parsing task needs to wait
on the completion task if it was started first (and vice-versa) there's no point
to using two threads. The desired "simplicity" of using two threads for these
two tasks actually created needless complexity (and bugs). Sigh. Such is life.

A TranslationUnit abstraction was also created and this in turn also reduces the
complexity of the clang completer.

The clang completer now also has some (very) basic tests.
2012-08-11 19:37:08 -07:00
..
all Moved completer.py under completers 2012-08-06 20:14:21 -07:00
c Created c, objc & objcpp hooks that use cpp clang 2012-08-05 14:24:15 -07:00
cpp Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -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