Commit Graph

643 Commits

Author SHA1 Message Date
Chiel92
a69d827934 solution file detection ported 2013-06-21 22:26:11 +02:00
Chiel92
6dc4b38625 first throw 2013-06-13 23:34:34 +02:00
Chiel92
48a4b324f4 moved vim.eval to init 2013-06-09 11:22:11 +02:00
Chiel92
1f91c59938 echoerr replaced by postvim message 2013-06-08 10:16:22 +02:00
Chiel92
a6424c22d8 displaytext and description swapped 2013-06-07 11:45:36 +02:00
Chiel92
7d7349142c completer rewritten to fit in the changed api 2013-06-04 12:14:12 +02:00
Strahinja Val Markovic
872b4834c5 Updating vimdoc using new conversion script 2013-05-31 18:28:07 -07:00
Strahinja Val Markovic
a45e4a8d3e Revert "Not using libc++ on FreeBSD."
This reverts commit b451674f88.
2013-05-30 12:58:45 -07:00
Strahinja Val Markovic
b5ffac655b code style fixes 2013-05-29 22:23:19 -07:00
Strahinja Val Markovic
cb74e33741 More updates to CONTRIBUTING.md 2013-05-29 19:12:20 -07:00
Strahinja Val Markovic
612ab6e43a Fixing possible issue with remove() on StringVec
There is not remove() on StringVec so we need to make sure we are always
handling a list.

Fixes #347.
2013-05-29 19:05:38 -07:00
Strahinja Val Markovic
5ed63a4afe Link to build bots from CONTRIBUTING.md 2013-05-29 18:58:17 -07:00
Strahinja Val Markovic
a3f261764e Updating vimdoc 2013-05-28 19:02:04 -07:00
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