Skip to content
This repository

upstream #262

Closed
wants to merge 19 commits into from

3 participants

Ralph Bacolod Francisco Lopes Xavier Deguillard
Ralph Bacolod

oops.

oblitum added some commits
Francisco Lopes oblitum Fix premature loading of g:clang_user_options
Evaluation of arguments, set through g:clang_user_options, to call
clang, was happening to early in VIM's new buffer event, not giving
time for others scripts or VIM himself to initialize it properly.

This Fix delay-loads initialization of arguments to the moment where
they are requested.
f25d711
Francisco Lopes oblitum oh, python has properties =) 9e110f6
Francisco Lopes oblitum Performance improvement matching completions
Fix unnecessary usage of regular expressions and higher order
functions in the completion matching phase.
c9bf175
Francisco Lopes oblitum Basic memory management
Fix the TU "leak" by using a TU pool.
Recent TU's are the last to be deleted. This fix creates a dependency
on the psutil python module (very portable and supported).

User can now set g:clang_memory_percent to give a hint for the maximum
ammount of RAM to be used by TU's. (default = 50)
a40db51
Francisco Lopes oblitum Fix slowness due to formatting and snippets
Instead of formatting and decorating with snippets all the results
of a completion operation, now it fetches a designated amount of
results for formatting, decorating and add to the completion menu.

The fetching amount is based on pumheight, if it's 0 then a default
value of 50 is used.

This fix the delay due to formatting/decorating a large amount of
results as in 'std::' or 'boost::' for example.
d86d0b9
Francisco Lopes oblitum Merge branch 'suppress_unused_args_diagnostic' b20e278
Francisco Lopes oblitum Merge branch 'delayed_options' c955ef3
Francisco Lopes oblitum Merge branch 'performance' bbe5320
Francisco Lopes oblitum cindex at 162424 clang's trunk revision
This commit also contains clang_complete's libclang path hack and
optimizations to avoid string comparisons by employing the raw_kind
@CachedProperty.
6396ada
Francisco Lopes oblitum Merge branch 'empty_bufname' e3379fa
Francisco Lopes oblitum Merge branch 'master' into cindex 0806eed
Francisco Lopes oblitum Some refactoring + new background parsing function cc813b9
Francisco Lopes oblitum Parsing notifications added 8a8619c
Francisco Lopes oblitum Using @CachedProperty 9e8dd29
Francisco Lopes oblitum Avoids Parsing notifications with QuickFix 6cd2c7a
Francisco Lopes oblitum cindex CompletionString availability updates 30b3de7
Francisco Lopes oblitum Removes duplicated line 926397d
Francisco Lopes oblitum Removes time.sleep hacks and automatic Warm Up
Usage of time.sleep was really a dirty hack for enabling VIM calls
by a secondary thread. Progress now is in the right track by avoiding
VIM calls from secondary threads: VIM is not multithread, this is not
safe.
As such, there's no automatic background WarmUpCache on loading,
it should be requested manually, consciously after configuration
initialization.
be3ca19
Francisco Lopes oblitum Add missing C++11 Type Alias cursor kind 345d9e5
Francisco Lopes

I have nothing to do with this ok

Xavier Deguillard
Owner

@rafiks: what are you trying to achieve here? At minimum, this code needs some work before it can be merged, you just dropped it like that, without explanation. And the first concerned (@oblitum), was apparently not aware of that...

Ralph Bacolod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 19 unique commits by 1 author.

Aug 12, 2012
Francisco Lopes oblitum Fix premature loading of g:clang_user_options
Evaluation of arguments, set through g:clang_user_options, to call
clang, was happening to early in VIM's new buffer event, not giving
time for others scripts or VIM himself to initialize it properly.

This Fix delay-loads initialization of arguments to the moment where
they are requested.
f25d711
Aug 14, 2012
Francisco Lopes oblitum oh, python has properties =) 9e110f6
Aug 22, 2012
Francisco Lopes oblitum Performance improvement matching completions
Fix unnecessary usage of regular expressions and higher order
functions in the completion matching phase.
c9bf175
Francisco Lopes oblitum Basic memory management
Fix the TU "leak" by using a TU pool.
Recent TU's are the last to be deleted. This fix creates a dependency
on the psutil python module (very portable and supported).

User can now set g:clang_memory_percent to give a hint for the maximum
ammount of RAM to be used by TU's. (default = 50)
a40db51
Aug 23, 2012
Francisco Lopes oblitum Fix slowness due to formatting and snippets
Instead of formatting and decorating with snippets all the results
of a completion operation, now it fetches a designated amount of
results for formatting, decorating and add to the completion menu.

The fetching amount is based on pumheight, if it's 0 then a default
value of 50 is used.

This fix the delay due to formatting/decorating a large amount of
results as in 'std::' or 'boost::' for example.
d86d0b9
Francisco Lopes oblitum Merge branch 'suppress_unused_args_diagnostic' b20e278
Francisco Lopes oblitum Merge branch 'delayed_options' c955ef3
Francisco Lopes oblitum Merge branch 'performance' bbe5320
Francisco Lopes oblitum cindex at 162424 clang's trunk revision
This commit also contains clang_complete's libclang path hack and
optimizations to avoid string comparisons by employing the raw_kind
@CachedProperty.
6396ada
Aug 24, 2012
Francisco Lopes oblitum Merge branch 'empty_bufname' e3379fa
Francisco Lopes oblitum Merge branch 'master' into cindex 0806eed
Francisco Lopes oblitum Some refactoring + new background parsing function cc813b9
Aug 25, 2012
Francisco Lopes oblitum Parsing notifications added 8a8619c
Francisco Lopes oblitum Using @CachedProperty 9e8dd29
Francisco Lopes oblitum Avoids Parsing notifications with QuickFix 6cd2c7a
Francisco Lopes oblitum cindex CompletionString availability updates 30b3de7
Francisco Lopes oblitum Removes duplicated line 926397d
Nov 30, 2012
Francisco Lopes oblitum Removes time.sleep hacks and automatic Warm Up
Usage of time.sleep was really a dirty hack for enabling VIM calls
by a secondary thread. Progress now is in the right track by avoiding
VIM calls from secondary threads: VIM is not multithread, this is not
safe.
As such, there's no automatic background WarmUpCache on loading,
it should be requested manually, consciously after configuration
initialization.
be3ca19
Dec 10, 2012
Francisco Lopes oblitum Add missing C++11 Type Alias cursor kind 345d9e5
Something went wrong with that request. Please try again.