Commit Graph

680 Commits

Author SHA1 Message Date
Strahinja Val Markovic
b451674f88 Not using libc++ on FreeBSD.
Fixes #349.
2013-05-28 14:01:46 -07:00
Val Markovic
f838973d54 Merge pull request #348 from lahwran/master
Fix minor inclusion typo in readme
2013-05-28 13:57:52 -07:00
Strahinja Val Markovic
989967506c Tags file reading is now off by default
As the updated docs now say, this is off by default because it makes Vim slow if
your tags are on a network location.
2013-05-28 13:46:18 -07:00
Chris Horne
8ecbc6e836 Fix a couple of minor typos in readme 2013-05-28 12:21:43 -06:00
Strahinja Val Markovic
3948b6efe2 Check for empty flags list
IndexErrors are not fun.
2013-05-28 09:43:13 -07:00
Strahinja Val Markovic
80dd5c2317 Listing the ctags options YCM needs 2013-05-27 13:51:10 -07:00
Strahinja Val Markovic
326fbccc55 Updating vimdoc 2013-05-27 11:03:39 -07:00
Strahinja Val Markovic
973064d0bd Can now seed identifier database with keywords
By toggling the g:ycm_seed_identifiers_with_syntax option, the user can now tell
YCM to seed the identifier database with the language's keywords.

This is off by default because it can be noisy. Since the identifier completer
collects identifiers from buffers as the user visits them, the keywords that the
user cares about will already be in the database, regardless of the state of the
new option. So the only keywords added will be the ones the user is not using.

Meh. But people want it so there.

Fixes #142.
2013-05-27 00:08:21 -07:00
Strahinja Val Markovic
ed691d30c6 Using our command_exists func to check for brew
Fixes #341.
2013-05-26 17:38:47 -07:00
Strahinja Val Markovic
258f3dfd73 Updating vimdoc 2013-05-26 14:00:56 -07:00
Strahinja Val Markovic
454a961318 The identifier completer now reads tags files
See the docs for details. Fixes #135.
2013-05-26 13:33:40 -07:00
Strahinja Val Markovic
747c2a8b6d Xcode needs special testdata folder handling 2013-05-26 11:59:27 -07:00
Strahinja Val Markovic
6059e68c4f More tweaks for building with Xcode 2013-05-26 11:58:20 -07:00
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