Strahinja Val Markovic
287d01c8b3
Setting updatetime to 2000 if user allows
2012-08-02 20:32:29 -07:00
Strahinja Val Markovic
45cccd09ac
Refactored variable defaults setting
...
Now the all use the same style.
2012-08-02 20:28:25 -07:00
Strahinja Val Markovic
4765fd88fe
Removing some unused code + fix for crash
...
The crash was caused by clang_disposeString/getCString not checking whether the
given CXString has NULL data members. Fixed with a workaround.
2012-08-01 22:09:31 -07:00
Strahinja Val Markovic
3868f94ac7
Adding a .ycm_clang_options.py file for YCM
2012-08-01 20:50:35 -07:00
Strahinja Val Markovic
3a820f1fb4
The clang options file now ends in .py
2012-08-01 20:22:03 -07:00
Strahinja Val Markovic
618a6acd59
Protecting ALL clang access with a mutex now
2012-08-01 20:09:01 -07:00
Strahinja Val Markovic
eab70838f0
New system for specifying clang flags
...
Now the .ycm_clang_options file is a python script that needs to implement our
API. This enables the user to do arbitrary things when computing flags.
2012-08-01 19:34:20 -07:00
Strahinja Val Markovic
11a52d018c
Protecting diagnostic access with mutex
2012-08-01 17:18:35 -07:00
Strahinja Val Markovic
06d653c60d
Adding the cursor identifier on InsertLeave
...
This should help catch cases where the user jumps to an identifier and then
edits it in place; we want to add that new ident to the db ASAP because the user
may want to have it completed soon.
Still, we're not perfect. If the user just deletes chars with 'x' or 'd' in Vim
and therefore never even enters insert mode we are obviously not going to pick
up that identifier until the next full file sweep.
2012-07-31 19:01:22 -07:00
Strahinja Val Markovic
b20a24cde9
Adding a TODO I don't want to forget about
2012-07-31 16:31:16 -07:00
Strahinja Val Markovic
2726349975
Not parsing empty files anymore
...
Also, not sending non-clang supported files as unsaved buffers when a completion
is requested.
2012-07-31 15:30:50 -07:00
Strahinja Val Markovic
11e42b49f0
Smarter updating of clang diagnostics display
2012-07-30 19:42:41 -07:00
Strahinja Val Markovic
71e3e86252
Adding option for custom extra rpath
2012-07-30 14:20:05 -07:00
Strahinja Val Markovic
15d82eac91
Making sure the syntastic variable exists
2012-07-30 14:19:42 -07:00
Strahinja Val Markovic
a6d5979b08
Don't run the plugin when in diff mode
2012-07-29 22:13:42 -07:00
Strahinja Val Markovic
333b71f8d5
Triggering syntastic error display more often
2012-07-29 22:13:42 -07:00
Strahinja Val Markovic
57bd4f7a47
Now possible to use external libclang.so
2012-07-29 20:58:04 -07:00
Strahinja Val Markovic
958a008462
Adding diagnostic extraction support
...
Next step is to add support to Syntastic so that it uses this new functionality
2012-07-28 15:27:30 -07:00
Strahinja Val Markovic
bfafad4f50
Using python's abc module for the Completer class
2012-07-28 12:24:25 -07:00
Strahinja Val Markovic
76715bd94c
Posting vim message when no clang candidates
2012-07-28 12:06:59 -07:00
Strahinja Val Markovic
ae618c5566
Clang parse now again called on cursor hold
2012-07-28 12:06:38 -07:00
Strahinja Val Markovic
0ea218022a
Leaving omnifunc mode on InsertLeave
2012-07-28 11:42:43 -07:00
Strahinja Val Markovic
2667a82441
Now using the correct flag to warn on C++11 use
2012-07-28 11:19:26 -07:00
Strahinja Val Markovic
019b84e18b
Omnifunc for clang types + mapping to invoke it
...
This omnifunc basically calls our ClangComplete engine.
2012-07-28 11:19:26 -07:00
Strahinja Val Markovic
70900c5ac6
Simplified some vim logic
2012-07-28 11:19:25 -07:00
Strahinja Val Markovic
e46ea47df2
Replacing accidental use of C++11 auto
2012-07-27 13:52:56 -07:00
Strahinja Val Markovic
0d9d697b50
Only showing the first overloaded func signature
2012-07-26 21:44:17 -07:00
Strahinja Val Markovic
e9cf3c14b2
Not adding a '(' after a function name insert
2012-07-26 21:44:17 -07:00
Strahinja Val Markovic
3cc4cf8e10
Async clang parsing of the current file
2012-07-26 21:44:17 -07:00
Strahinja Val Markovic
cd9f40b7c0
Add missing check for threads enabled
2012-07-26 21:44:17 -07:00
Strahinja Val Markovic
ac74389f4b
Grouping variable declarations
2012-07-26 13:04:49 -07:00
Strahinja Val Markovic
68156e8b47
Merge branch 'master' into dev
...
Conflicts:
autoload/youcompleteme.vim
2012-07-26 12:59:06 -07:00
Strahinja Val Markovic
13f87c5a62
Buffer identifiers are now extracted async
2012-07-24 20:09:09 -07:00
Strahinja Val Markovic
6d76563e86
C-TAB selects previous candidate
2012-07-24 18:45:28 -07:00
Strahinja Val Markovic
b120d6a5ba
Now extracting identifiers in C++ code
2012-07-23 20:17:59 -07:00
Strahinja Val Markovic
48d95bcd20
Doing buffervisit for clang only when clang on
2012-07-23 18:47:01 -07:00
Strahinja Val Markovic
74c363ef60
These headers magically speed up completions.
...
Clang searches for these files and if it doesn't find them, completion is twice
as slow (or slower) than otherwise.
See this issue report for more details:
https://github.com/Rip-Rip/clang_complete/issues/17
2012-07-23 18:45:00 -07:00
Strahinja Val Markovic
ad32584a10
Now reparsing clang files on buffer enter
...
This creates an auto PCH that speeds up code completion.
2012-07-23 18:45:00 -07:00
Strahinja Val Markovic
cfede619f2
Added flag to turn off clang completion if desired
2012-07-23 11:15:25 -07:00
Strahinja Val Markovic
cdb8dfc86b
Loading .ycm_clang_options files now
...
These files can contain flags that are passed to clang.
2012-07-22 15:19:28 -07:00
Strahinja Val Markovic
b703138cac
Adding Boost.Filesystem to BoostParts
2012-07-22 15:09:50 -07:00
Strahinja Val Markovic
6f0dc0b21d
Explicitly calling OnBufferVisit for first file
2012-07-21 15:33:59 -07:00
Strahinja Val Markovic
b53ea06d5f
Using 'dup':1 to save expensive dup eliminition
...
Since we are never going to return duplicate candidates to Vim we might as well
save some performance by forcing Vim to not search for duplicates
2012-07-21 12:17:29 -07:00
Strahinja Val Markovic
7bf18c7c5c
Improving IdentifierCompleter performance
...
We limit the number of candidates returned to Vim to 20 and also make sure that
we are not returning any duplicate candidates. This provides a noticeable
improvement in latency.
2012-07-21 12:06:18 -07:00
Strahinja Val Markovic
0f7f32d96f
Updating to boost 1.50
2012-07-21 11:37:40 -07:00
Strahinja Val Markovic
ad859ee002
Using the pyeval func introduced in vim 7.3.584
...
This makes the whole plugin much faster since we now don't need to serialize and
deserialize the return values from python funcs before we can use them in Vim.
Oh God I've been waiting for something like this for so long... using this also
forces us to demand vim 7.3.584 or higher.
2012-07-21 10:10:19 -07:00
Strahinja Val Markovic
964c42068e
Splitting the UnsavedFile struct into its own file
2012-07-21 09:09:29 -07:00
Strahinja Val Markovic
44b671c2c0
ClangCompleter now returs extra data
...
This data is used to show more information about the completions in the
completion menu.
2012-07-19 21:17:39 -07:00
Strahinja Val Markovic
e56080ea56
Using libc++ with clang from now on
...
This also applies a patch to gtest that resolves an issue with building gtest
with libc++. The patch was taken from here:
https://groups.google.com/d/topic/googletestframework/F1B9LArL9_U/discussion
2012-07-19 21:15:25 -07:00
Strahinja Val Markovic
f76ee24316
Now only showing available completion strings
2012-07-16 20:51:21 -07:00