Commit Graph

2091 Commits

Author SHA1 Message Date
Strahinja Val Markovic
3258f324dd Merge branch 'JazzCore-general_completers'
Conflicts:
	python/ycm.py
2013-04-22 22:37:32 -07:00
Strahinja Val Markovic
196228217f Filename completer now uses threads
This was done by introducing a new ThreadedCompleter class that descends from
Completer. Both JediCompleter and FilenameCompleter descend from
ThreadedCompleter.
2013-04-22 22:30:10 -07:00
Strahinja Val Markovic
8d20637295 User can now pick the root for relative paths 2013-04-22 22:30:10 -07:00
Strahinja Val Markovic
aa9127e3dc Rewriting the code from the pull request
This implements the filename completer and introduces integration with
UltiSnips. The user will now see snippets in the completion menu. After
selecting a snippet, the user should invoke the UltiSnips trigger key
(which should be changed from the default of TAB) to trigger the snippet
expansion.

Fixes #77, Fixes #36
2013-04-22 22:26:35 -07:00
Stanislav Golovanov
bb5839dd74 Add general filename completer & other stuff 2013-04-22 22:24:38 -07:00
Strahinja Val Markovic
18427a14a9 Version string in FAQ question now less specific 2013-04-22 13:44:43 -07:00
Strahinja Val Markovic
e0d39f9bc3 FAQ entry about too old system glibc 2013-04-22 13:43:07 -07:00
Strahinja Val Markovic
14b2220f01 Supporting YcmCorePreload logic
Now the user has the option of writing custom logic before ycm_core.so is
loaded. This can be used to dynamically change the location of where ycm_core.so
is loaded by prepending paths to sys.path.

Very, very few people will need this feature, but I'm one of them so there.
2013-04-22 10:31:16 -07:00
Strahinja Val Markovic
aea154e829 Refactoring ycm_extra_conf handling into module 2013-04-22 10:31:16 -07:00
Stanislav Golovanov
5d37c40fea Add general UltiSnips snippet completer 2013-04-21 01:28:37 +04:00
Stanislav Golovanov
48cda3bb8f Add general completers support 2013-04-21 01:28:37 +04:00
Strahinja Val Markovic
c3b7e55762 FilterAndSortCandidates returns all on empty query
Previously it returned an empty list. It makes mores sense to return the input
list of candidates because conceptually everything matches an empty query.
2013-04-20 13:27:55 -07:00
Strahinja Val Markovic
6d0c736d04 Making sure that <C-Space> works in console Vim
Fixes #256.
2013-04-19 18:33:48 -07:00
Strahinja Val Markovic
93ed6f7db7 Fix bug with removing flag after "-c"
-c does not take an argument. Why did I think it did?
2013-04-19 10:31:55 -07:00
Strahinja Val Markovic
604b79a5a2 Travis CI build status image in README 2013-04-18 23:42:03 -07:00
Strahinja Val Markovic
484c5f7241 Travis CI config file & related required changes 2013-04-18 23:38:29 -07:00
Strahinja Val Markovic
12c1583ecf Proper em-dash use in docs 2013-04-14 22:42:32 -07:00
Strahinja Val Markovic
3b52482d56 Updating var default in docs from code 2013-04-14 22:40:08 -07:00
Strahinja Val Markovic
02bcc1fe51 Minor docs formatting change 2013-04-14 22:36:35 -07:00
Strahinja Val Markovic
589f157aa6 Docs now explain how to turn off ident-completion
Fixes #53
2013-04-14 22:27:27 -07:00
Strahinja Val Markovic
7ca11d41f0 Small clarification for docs intro 2013-04-14 22:12:05 -07:00
Val Markovic
35b7193279 Merge pull request #248 from trefis/master
Add semantic triggers for ocaml
2013-04-13 10:05:45 -07:00
Thomas Refis
be931c1134 adding ocaml support 2013-04-13 18:02:29 +02:00
Val Markovic
4704be50f9 Merge pull request #246 from trefis/master
Error in OmniCompleter
2013-04-13 08:45:48 -07:00
Thomas Refis
dad08df71b checking if a key is in a dict is done with 'key in dict' not 'hasattr(dict, key)' 2013-04-13 14:29:57 +02:00
Strahinja Val Markovic
71e1b71a03 ycm_cache_omnifunc should use the user's value 2013-04-12 15:12:27 -07:00
Strahinja Val Markovic
882c6b5d18 Note about syntastic var for loclist population 2013-04-12 11:08:04 -07:00
Val Markovic
685c49ceb5 Merge pull request #238 from JacekLach/do-not-cache-omnifunc
Do not cache omnifunc
2013-04-11 15:52:27 -07:00
Jacek Lach
1b4eb6122c Make caching optional in the omnicompleter 2013-04-11 10:22:16 +01:00
Strahinja Val Markovic
20c535a970 Updating vimdoc 2013-04-10 20:49:44 -07:00
Strahinja Val Markovic
7ff4774e96 Possible fix for random hang on Vim close
Reparse would take the clang lock and then possibly call Destroy while still
holding the lock. Destroy would try to take that same lock, and the mutex is not
recursive. Unpleasantness ensues.

I _think_ this is the root cause of #218, but I can't be sure. Such is life with
threads.

Fixes #218.
2013-04-10 19:45:50 -07:00
Strahinja Val Markovic
89d93bc85c Fix traceback on <C-Space> semantic invoke
This was caused by yesterday's refactoring. I forgot to update one call site.

Fixes #242
2013-04-10 18:47:07 -07:00
Val Markovic
322c4ef4d4 Fix typo introduced in refactor 2013-04-09 23:40:04 -07:00
Strahinja Val Markovic
77fbd80c89 Refactoring out some vim.eval calls
s:completion_start_column should not be evaled in Python code. That was a
stopgap measure that ended up lasting far longer than intended.
2013-04-09 19:32:48 -07:00
Strahinja Val Markovic
27d73e0d51 Removing some dead code 2013-04-09 18:43:29 -07:00
Strahinja Val Markovic
dad9488fbe Refactoring the way install.sh checks for commands 2013-04-09 18:36:59 -07:00
Val Markovic
0502ef1958 Merge pull request #240 from izx64/patch-1
Update install.sh
2013-04-09 18:11:58 -07:00
Ellis kenyo
5312827480 Update install.sh
Added more efficient option to detect number of cores on running system via nproc
2013-04-09 22:34:46 +02:00
Strahinja Val Markovic
085df7e8af Fix traceback print on None for |location|
This happens when the user invokes a GoTo* command on a file with no compilation
flags.
2013-04-08 11:15:27 -07:00
Strahinja Val Markovic
1268a258d7 Some rewording for the CONTRIBUTING doc 2013-04-06 09:56:51 -07:00
Strahinja Val Markovic
74705cc0e0 Github now serves page from github.io; update docs 2013-04-05 18:02:00 -07:00
Strahinja Val Markovic
e4fc9a1136 Forcing the critical 'B' flag in cpoptions
Fixes #223.
2013-04-04 17:49:10 -07:00
Strahinja Val Markovic
a75c92bb6a Using event.is_set to be compatible with Python2.6
Fixes #227
2013-04-03 19:14:46 -07:00
Val Markovic
36815d7ccc Merge pull request #231 from weslem/master
Prevent segfaults on Goto* with unparseable files
2013-04-03 18:55:38 -07:00
Strahinja Val Markovic
bbc437c6a1 Adding the CONTRIBUTING file 2013-04-03 18:50:01 -07:00
Matthew Wesley
a00535f078 Return an empty location instead of segfaulting 2013-04-03 14:58:37 -04:00
Strahinja Val Markovic
1676a3b2a4 Style fixes for C++ 2013-04-01 19:09:37 -07:00
Val Markovic
b294d2531d Merge pull request #226 from mmlb/master
README has YcmCommand instead of YcmCompleter
2013-04-01 10:47:57 -07:00
Strahinja Val Markovic
ac1dc85fd6 Note about the jumplist mappings in docs 2013-04-01 09:58:20 -07:00
Manuel Mendez
90ab0d07a0 Replace YcmCommand with YcmCompleter in README.md 2013-04-01 09:55:37 -03:00