Commit Graph

717 Commits

Author SHA1 Message Date
Strahinja Val Markovic
fd3cf1e56d Adding Boost.Assign to BoostParts 2013-05-26 11:58:20 -07:00
Strahinja Val Markovic
34b997c4d6 Not adding -Werror and friends for Xcode 2013-05-26 11:58:20 -07:00
Val Markovic
9b2fe16e91 Merge pull request #344 from svermeulen/CppCompileFix
Added missing include to fix the CPP build on win32
2013-05-26 11:03:26 -07:00
svermeulen
273a51059b Added missing include to build on win32 2013-05-26 14:01:15 -03:00
Val Markovic
9136274190 Merge pull request #340 from JazzCore/fix_404_error
Fix 404 in README link
2013-05-25 14:30:52 -07:00
Stanislav Golovanov
80624205f1 fix 404 in README link 2013-05-26 00:49:49 +04:00
Strahinja Val Markovic
2805b0fe85 Better thread safety in IdentifierCompleter
Everything that needs access to filetype_map_ has been split into a new class
called IdentifierDatabase. This class is thread-safe. Previously, multiple
threads could access filetype_map_ at the same time, some reading things from
it, others writing to it. WTF was I doing? My best guess is that I introduced
this vile stupidity when I added the second thread to IdentifierCompleter;
previously it was impossible for multiple threads to stomp on filetype_map_
because only one thread ever accessed it. I changed that some time ago and
forgot to protect filetype_map_.

Idiot.
2013-05-25 11:43:14 -07:00
Strahinja Val Markovic
0649d11bf4 Some docs for CandidateRepository 2013-05-25 11:02:53 -07:00
Strahinja Val Markovic
48bc4e224f Small README doc rewording 2013-05-24 14:59:42 -07:00
Strahinja Val Markovic
38faa0e94e Adding the ClearCompilationFlagCache subcommand
With this command the user can clean the in-memory cache of the compilation
flags that the clang completer uses.
2013-05-24 14:48:46 -07:00
Strahinja Val Markovic
d9f45d576f Fix breakage of some compile_commands.json users
Depending on the user, the PrepareClangFlags rewrite of a few commits ago could
break users with an extra "clang: 'linker' input not used" (or similar) error
message because the compiler executable string was not removed from flags
upstream if the user prepended some flags to the output of PrepareClangFlags
before returning it to the caller of FlagsForFile.

Since the rewrite was supposed to be backwards compatible, this needs
to be handled.
2013-05-24 14:29:33 -07:00
Strahinja Val Markovic
11a7746753 Preventing possible TypeError with StringVec
It was possible to get a traceback if results[ 'flags' ] was a StringVec; the
code would try to perform results[ 'flags' ] += self.special_clang_flags and
this would then fail because the clang flags would be a Python list.
2013-05-22 15:47:30 -07:00
Strahinja Val Markovic
ebfd9bfbb4 Updating vimdoc from README
Fixes #330
2013-05-20 18:18:01 -07:00
Strahinja Val Markovic
d8f3272dd4 Including : in the command names in docs
This will ensure the correct tag is used when we process readme to create the
vimdoc help file. See #330.
2013-05-20 18:18:00 -07:00
Strahinja Val Markovic
4389b1f1d8 API docs for ThreadedCompleter 2013-05-20 09:40:04 -07:00
Strahinja Val Markovic
381b86d595 Fixing python tests broken in rename 2013-05-19 20:06:14 -07:00
Strahinja Val Markovic
087cadcfaf Adding back the Jedi submodule 2013-05-19 19:47:34 -07:00
Strahinja Val Markovic
faa225fdc4 Moving everything under pytho/ycm 2013-05-19 19:44:42 -07:00
Strahinja Val Markovic
acb9099bb9 Removing jedi submodule 2013-05-19 19:37:43 -07:00
Strahinja Val Markovic
10d038dbcd Running nosetests after install.sh
ycm_core.so needs to be built for the tests to run. The python code imports
ycm_core, so it needs to be present.
2013-05-19 14:25:36 -07:00
Strahinja Val Markovic
357fd98747 Tests for helper functions in flags.py 2013-05-19 14:20:13 -07:00
Strahinja Val Markovic
45cbc7da7f Calling PrepareClangFlags is not needed anymore
ycm_extra_conf.py files used to import clang_helpers and then use the
PrepareClangFlags function; this is now unnecessary since the logic from that
function has been moved to flags.py. The old PrepareClangFlags function is still
there (it just returns the flags it gets) for the sake of backwards
compatibility with old ycm_extra_conf.py files.
2013-05-19 10:48:23 -07:00
Strahinja Val Markovic
4978546e62 Refactoring out some pointless sys.path changes 2013-05-19 10:35:42 -07:00
Val Markovic
468e245bcb Merge pull request #328 from JazzCore/jedi_keyword_check
Use new Jedi API for keyword checking in goto funcs
2013-05-18 14:26:54 -07:00
Stanislav Golovanov
df7d51aeda Use new Jedi API for keyword checking in goto funcs
Fixes #320
2013-05-18 23:47:49 +04:00
Val Markovic
ce7d3a0fc2 Merge pull request #327 from JazzCore/jedi_upstream_fixes
Switch to upstream Jedi API
2013-05-18 00:10:47 -07:00
Stanislav Golovanov
9f1f329823 switch to upstream Jedi API
This replaces deprecated API calls to the new ones. Also this
partially fixes #320.
2013-05-18 09:40:08 +04:00
Val Markovic
4b433ba96b Merge pull request #321 from pjg/patch-1
More detailed Eclim configuration instructions
2013-05-15 15:53:35 -07:00
Paweł Gościcki
8fe6b87e45 More detailed Eclim configuration instructions
Knowing those two things (that you need to run latest Eclipse Juno) and you need to create a new project from vim would have saved me a lot of time when trying to make it all work.

I think it's worth adding this information to the README.
2013-05-15 13:15:42 +03:00
Strahinja Val Markovic
d4ca726fac Minor README typo fix 2013-05-11 14:15:34 -07:00
Strahinja Val Markovic
4b039e2102 Using BufUnload instead of BufDelete
Seems to be more robust. This should help with memory consumption when using the
clang_completer. See issue #184.
2013-05-11 13:49:48 -07:00
Strahinja Val Markovic
7bb7e20f8d Revert "[filename_completer] Append '/' to [DIR] automatically"
This reverts commit 48d6a5378c.
2013-05-11 12:24:35 -07:00
Val Markovic
1a2ff2c1af Merge pull request #315 from zhaocai/feature/slash
[filename_completer] Append '/' to [DIR] automatically
2013-05-11 12:15:09 -07:00
Zhao Cai
48d6a5378c [filename_completer] Append '/' to [DIR] automatically 2013-05-11 02:21:19 -04:00
Strahinja Val Markovic
2b23245422 Minor refactoring & style cleanup 2013-05-09 20:28:04 -07:00
Val Markovic
48281d1379 Merge pull request #304 from JazzCore/subcommand_complete
Add subcommand completion for :YcmCompleter command
2013-05-09 20:21:26 -07:00
Val Markovic
3a984f938e Merge pull request #308 from JazzCore/fix_307
fix IndexError when min_num_of_chars is set to 0
2013-05-09 20:15:40 -07:00
Val Markovic
eb7089794e Merge pull request #309 from JazzCore/cpp_fix
Fix FilterAndSortCandidates behavior
2013-05-09 20:14:45 -07:00
Strahinja Val Markovic
0c19ee4fa7 Updating to latest Jedi 2013-05-09 11:08:11 -07:00
Stanislav Golovanov
e5c99428f3 fix IndexError when min_num_of_chars is set to 0
Fixes #307. Error is thrown when g:ycm_min_num_of_chars_for_completion
option is set to 0 user tries to delete an identifier which starts at
the beginning of the line.
2013-05-09 22:02:47 +04:00
Stanislav Golovanov
0edec9c95a Add subcommand completion for YcmCompleter command 2013-05-09 21:55:55 +04:00
Stanislav Golovanov
837a1ab889 Fix FilterAndSortCandidates behavior
FilterAndSortCandidates(completions, 'word', '') should
return a dict, not a list.
2013-05-09 21:33:10 +04:00
Val Markovic
06b1daf1b3 Merge pull request #302 from vargad/master
Fixed argument pass problem
2013-05-08 20:34:45 -07:00
Dániel Varga
27011adade Fixed argument pass problem
Pass additional arguments to cmake.
2013-05-08 20:31:12 +02:00
Strahinja Val Markovic
686f7951a7 Updating vimdoc from readme 2013-05-05 10:19:05 -07:00
Strahinja Val Markovic
88bff3f5cf Making -fPIC the default
Fixes #211
2013-05-05 10:00:32 -07:00
Strahinja Val Markovic
bec04aaa04 Updating docs to mention Python GoTo* support 2013-05-05 09:49:37 -07:00
Strahinja Val Markovic
7f676f85ae Code style fixes 2013-05-05 09:47:56 -07:00
Val Markovic
f25bf2f6c8 Merge pull request #292 from JazzCore/goto_python
Add Go To features for python
2013-05-05 09:47:32 -07:00
Stanislav Golovanov
54fabc1816 style fixes 2013-05-05 13:27:23 +04:00