Commits on Feb 26, 2013
Commits on Feb 20, 2013
  1. Ensure to not expose the last_query cache

    Ensure we do not give out a reference to the internal argument cache of
    the compilation database. Instead explicitly copy the internal cache.
    The problem with just giving out a reference is that later passes may
    modify the argument list. This does not only add unrelated content to
    the internal cache, but it also may lead to random crashes in case we
    use the argument list from different threads.
    tobig committed Feb 20, 2013
Commits on Feb 17, 2013
  1. Merge branch 'issue264'

    committed Feb 17, 2013
  2. Revert "If the path to libclang contains space, the plugin will spit …

    This reverts commit 76975ae.
    committed Feb 17, 2013
  3. Merge branch 'update-kinds'

    committed Feb 17, 2013
Commits on Feb 15, 2013
  1. Merge branch 'issue264'

    committed Feb 15, 2013
  2. Merge branch 'add_builtin_directories' of git://…

    …g_complete into builtin-dirs
    committed Feb 15, 2013
Commits on Feb 9, 2013
  1. Update plugin/clang_complete.vim

    simple fix for #264 after 3 hours of struggling..
    gokcehan committed Feb 9, 2013
Commits on Feb 5, 2013
  1. Remove misleading suggestion

    tobig committed Feb 5, 2013
  2. Add another system path

    tobig committed Feb 5, 2013
Commits on Feb 3, 2013
  1. Document the behaviour of getCompilationDBParams when a file is not f…

    …ound in the compilation database
    Arnaud-de-Grandmaison committed Feb 3, 2013
  2. Remember the last compilationDatabase query, and return it when the f…

    …ile is not found
    This is a very common case : it happens for all headers. In practice, this heuristics gives good results.
    Arnaud-de-Grandmaison committed Jan 18, 2013
Commits on Jan 31, 2013
  1. Fix initialisation of the compilation database.

    If g:clang_use_library wasn't set in the .vimrc, the use of compilation
    database would generate an error.
    committed Jan 31, 2013
Commits on Jan 30, 2013
  1. Fix indent.

    committed Jan 30, 2013
  2. Use the 'with' syntax with the libclangLock.

    This removes the .acquire() and .release(), and avoid potential lockups
    if the code wasn't guarded by try catch.
    committed Jan 30, 2013
Commits on Jan 29, 2013
  1. Replace call to vim.eval/command to vim python API.

    This is easier to read, and may be a bit faster.
    committed Jan 29, 2013
Commits on Jan 23, 2013
Commits on Jan 22, 2013
  1. Fix header regexp.

    committed Jan 22, 2013
  2. Update the kinds dictionnary.

    committed Jan 22, 2013
Commits on Jan 20, 2013
  1. Merge: [] Add cache for CompletionChunk spellings

    Most of the CompletionChunks represent braces, colons or other one
    character spellings. There is no need to call libclang, to figure out
    how to write a colon. Instead we use an internal cache to retrieve the
    correct spelling. As function calls from python are very expensive and
    this is a performance critical part of auto completion this patch makes
    formatting of auto completion results a lot faster.
    Formatting time changes from 0.57 to 0.45 seconds
    tobig committed Dec 21, 2012
  2. Merge: [] Replace CachedProperty with our own implementation

    This is a very performance critical point for auto completion. The
    manual implementation gives a large speedup. As it does not complicate
    the code a lot, I figured it is worth the change. If anybody understands
    why the CachedProperty is here so much slower, I am very interested in
    working on an improvement of CachedProperty.
    Formatting time changes from 0.72 to 0.57 seconds.
    tobig committed Dec 21, 2012
  3. Merge: []: Speed up lookup of the completion kind

    We can directly the number of the kind instead of going through the
    Formatting time changes from 0.84 to 0.72 seconds.
    tobig committed Dec 21, 2012
  4. Merge: Fix a copypasto bug. Also rename the parameter in question to not

    shadow the 'file' builtin, and fix up a docstring a little.
    Hat tip to Sebastian Kreft Carreno at Google for noticing the bug.
    tobig committed Jan 19, 2013
Commits on Jan 19, 2013
  1. Merge branch 'perf'

    committed Jan 19, 2013
  2. Use get() to retrieve the translation unit.

    While I cannot show any performance improvement, I'll argue that the
    complexity of retrieving a translation unit is now two times faster.
    The python "in" keyword has to walk to the datastructure once, and we
    walk a second time to retrieve it. We only walk it once now.
    committed Jan 19, 2013
Commits on Jan 18, 2013
  1. Do not filter before going through all the chunks of a result.

    This save some ms: from 0.147s to 0.137s
    committed Jan 18, 2013