Commit Graph

1606 Commits

Author SHA1 Message Date
Strahinja Val Markovic
972b0a92cb Updating docs to state clang 3.3 is preferred. 2013-06-19 22:01:34 -07:00
Strahinja Val Markovic
280c704814 Using the new clang 3.3 headers 2013-06-19 21:58:53 -07:00
Strahinja Val Markovic
3d02f0aba3 Using correct platform clang libs for linux 2013-06-19 21:47:21 -07:00
Strahinja Val Markovic
cc179638b1 Use -j instead of -y on linux for tar 2013-06-19 21:20:01 -07:00
Strahinja Val Markovic
2061848c1a Using the new 3.3 clang binaries in CMakeLists.txt 2013-06-19 21:09:43 -07:00
Strahinja Val Markovic
2741520020 Adding DLL as a valid extension for ycm_core
Fixes #395
2013-06-18 16:50:51 -07:00
Val Markovic
f5bf0a28ef Merge pull request #385 from feed57005/master
Fixed compilation under MSVC(11)
2013-06-13 17:59:13 -07:00
Chiel92
6dc4b38625 first throw 2013-06-13 23:34:34 +02:00
Pavel Novy
438e3d6b3a Fixed compilation under MSVC(11)
- compile both libs with /UNICODE and /MP
- moved shared flags & defines to root CMakeLists.txt
- fixed resolving EXTERNAL_LIBCLANG_PATH on Windows
- postbuild copy of libclang.dll
- change PATH_TO_LLVM_ROOT & EXTERNAL_LIBCLANG_PATH to PATH variables instead of BOOL options (for cmake-gui)
2013-06-13 11:26:25 +02:00
Strahinja Val Markovic
18ef728742 Updating the error message for ycm_core loading 2013-06-12 10:38:49 -07:00
Strahinja Val Markovic
011af9620d Updating a FAQ item on Syntastic 2013-06-10 18:20:52 -07:00
Strahinja Val Markovic
e740bac1f6 Better completion in the middle of a word
For instance (`|` represents the cursor):
  1. Buffer state: `foo.|bar`
  2. A completion candidate of `zoobar` is shown and the user selects it.
  3. Buffer state: `foo.zoobar|bar` instead of `foo.zoo|bar` which is what the
  user wanted.

This commit resolves that issue.

It could be argued that the user actually wants the final buffer state to be
`foo.zoobar|` (the cursor at the end), but that would be much more difficult
to implement and is probably not worth doing.

Fixes #374.
2013-06-09 19:00:49 -07:00
Strahinja Val Markovic
8fe41c7c73 Clarifying a comment. 2013-06-09 17:31:17 -07:00
Strahinja Val Markovic
ee3ede5040 Adding :: as a semantic trigger for Ruby
Fixes #367.
2013-06-09 11:21:41 -07:00
Strahinja Val Markovic
273170d70f New FAQ entry about RHEL/Centos compilation errors 2013-06-09 11:12:51 -07: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