Skip to content
This repository

Feb 21, 2013

  1. Xavier Deguillard

    pyeval() is too recent.

    authored

Feb 19, 2013

  1. Xavier Deguillard

    Push nearly everything into the thread, and make the completion async.

    authored

Feb 17, 2013

  1. Xavier Deguillard

    Launch one thread per file.

    That thread is re-used when re-launching a completion.
    authored

Feb 15, 2013

  1. Xavier Deguillard

    Merge branch 'issue264'

    authored
  2. Xavier Deguillard

    Merge branch 'patch-1' of git://github.com/gokcehan/clang_complete in…

    …to issue264
    authored
  3. Xavier Deguillard

    Merge branch 'add_builtin_directories' of git://github.com/tobig/clan…

    …g_complete into builtin-dirs
    authored

Feb 09, 2013

  1. gokcehan

    Update plugin/clang_complete.vim

    simple fix for #264 after 3 hours of struggling..
    authored

Feb 05, 2013

  1. Tobias Grosser

    Remove misleading suggestion

    authored
  2. Tobias Grosser

    Add another system path

    authored

Feb 03, 2013

  1. Arnaud de Grandmaison

    Document the behaviour of getCompilationDBParams when a file is not f…

    …ound in the compilation database
  2. Arnaud de Grandmaison

    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.
  3. Tobias Grosser

    Add a couple of known builtin directory locations

    authored
  4. Xavier Deguillard

    If the path to libclang contains space, the plugin will spit errors.

    authored

Jan 31, 2013

  1. Xavier Deguillard

    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.
    authored

Jan 30, 2013

  1. Xavier Deguillard

    Fix indent.

    authored
  2. Xavier Deguillard

    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.
    authored

Jan 29, 2013

  1. Xavier Deguillard

    Replace call to vim.eval/command to vim python API.

    This is easier to read, and may be a bit faster.
    authored

Jan 23, 2013

  1. Xavier Deguillard

    Merge branch 'deprecate-non-libclang'

    authored

Jan 22, 2013

  1. Xavier Deguillard

    Fix header regexp.

    authored
  2. Xavier Deguillard

    It's time to deprecate the clang binary code path.

    authored

Jan 20, 2013

  1. Tobias Grosser

    Merge: [cindex.py]: Use spaces instead of tabs

    The tabs slipped in accidentally.
    
    https://llvm.org/svn/llvm-project/cfe/trunk@172934
    authored
  2. Tobias Grosser

    Merge: [cindex.py] 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
    
    https://llvm.org/svn/llvm-project/cfe/trunk@172901
    authored
  3. Tobias Grosser

    Merge: [cindex.py] 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.
    
    https://llvm.org/svn/llvm-project/cfe/trunk@172900
    authored
  4. Tobias Grosser

    Merge: [cindex.py]: Speed up lookup of the completion kind

    We can directly the number of the kind instead of going through the
    completionChunkKindMap.
    
    Formatting time changes from 0.84 to 0.72 seconds.
    
    https://llvm.org/svn/llvm-project/cfe/trunk@17289
    authored
  5. Tobias Grosser

    Merge: [python bindings] Expose cursor.referenced (clang_getCursorRef…

    …erenced).
    
    Patch by Matthew King!
    
    https://llvm.org/svn/llvm-project/cfe/trunk@171423
    authored
  6. Tobias Grosser

    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.
    
    https://llvm.org/svn/llvm-project/cfe/trunk@169887
    authored

Jan 19, 2013

  1. Xavier Deguillard

    Merge branch 'perf'

    Conflicts:
    	plugin/libclang.py
    authored
  2. Xavier Deguillard

    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.
    authored
  3. Xavier Deguillard

    Improve filtering: from 0.027s to 0.021s

    authored
  4. Xavier Deguillard

    Calling python print in a thread can segv vim.

    authored

Jan 18, 2013

  1. Xavier Deguillard

    Do not filter before going through all the chunks of a result.

    This save some ms: from 0.147s to 0.137s
    authored
  2. Xavier Deguillard

    Speed up alpha sorting: from 0.070 to 0.027.

    authored

Jan 17, 2013

  1. Xavier Deguillard

    We shouldn't use vim API inside clang_complete threads.

    authored

Jan 15, 2013

  1. Xavier Deguillard

    Warn if snippet conceal is requested but not available.

    authored

Jan 13, 2013

  1. Tobias Grosser

    Automatically use libclang if available

    If the user did not request anything specific, we first try to use
    libclang and only fall back to the clang executable if libclang could
    not be found. Error messages are only printed in debugging mode or
    if the user explicitly requested libclang.
    
    This patch allows us to use libclang.so as soon as it can be found in
    the system library path. No further configuration is required in
    .vimrc.
    authored
Something went wrong with that request. Please try again.