Commit Graph

859 Commits

Author SHA1 Message Date
Strahinja Val Markovic
f671fe72b2 Adding our paths to sys.path start, not end
Otherwise things can conflict and we could end up loading the wrong module.
2013-01-31 17:32:39 -08:00
Strahinja Val Markovic
c67658bbce Supporting multiple filetypes set for current file
Vim allows setting the filetype string to something like "cpp.c", which means
that the file is both cpp and c (nonsense, but allowed). We need to support such
filetype strings.
2013-01-31 16:19:56 -08:00
Strahinja Val Markovic
1779cbbb55 Typo fix 2013-01-31 14:14:06 -08:00
Strahinja Val Markovic
8f6ebce42c Documenting the show-full-diag-message command 2013-01-31 12:32:07 -08:00
Strahinja Val Markovic
d9032eaa68 Pointing out the red X in the demo 2013-01-31 11:12:00 -08:00
Strahinja Val Markovic
e5e8a38f8d Typo fixes in the readme 2013-01-31 11:09:08 -08:00
Strahinja Val Markovic
ede69a710a Explanation for the YCM gif demo 2013-01-31 11:05:49 -08:00
Strahinja Val Markovic
33e0431abc Extra FAQ item about Syntastic 2013-01-30 14:48:41 -08:00
Strahinja Val Markovic
8452914046 Adding a command to force recompilation and diags 2013-01-30 14:46:58 -08:00
Strahinja Val Markovic
79f834f97e Now possible to specify a global ycm_extra_conf 2013-01-30 13:23:57 -08:00
Strahinja Val Markovic
5c7adfdec7 YCM gif screencast for readme file 2013-01-29 23:46:10 -08:00
Strahinja Val Markovic
fe92678221 Renaming a poorly named variable 2013-01-29 21:40:42 -08:00
Strahinja Val Markovic
594d8365b3 Forcing use of python2 for ycm_core; fixes #2 2013-01-29 21:24:04 -08:00
Strahinja Val Markovic
424736e395 Making sure that 'flags' is a list 2013-01-28 12:56:45 -08:00
Strahinja Val Markovic
d3874ebb65 Code style fix 2013-01-28 10:05:13 -08:00
Strahinja Val Markovic
68f0bcb1c1 Adding :YcmDebugInfo to the readme FAQ 2013-01-28 10:03:32 -08:00
Strahinja Val Markovic
7e929b7831 clang_completer debug info now shows file flags 2013-01-28 10:00:15 -08:00
Strahinja Val Markovic
9b3e009ed1 Mappings can now be easily remapped 2013-01-26 18:45:27 -08:00
Strahinja Val Markovic
60860d82f3 Adding shift-tab for prev completion too 2013-01-26 17:58:34 -08:00
Strahinja Val Markovic
a36f449baa FAQ question rewording 2013-01-26 17:47:05 -08:00
Strahinja Val Markovic
873528d472 Extra items to the README user guide TODO 2013-01-26 17:38:11 -08:00
Strahinja Val Markovic
a6a1e7c949 Clear error message on ycm_core ImportError 2013-01-26 17:29:18 -08:00
Strahinja Val Markovic
1f923b55d7 New entry to the FAQ 2013-01-26 16:52:37 -08:00
Strahinja Val Markovic
05f57e16d1 Stronger install guide wording and warning 2013-01-26 16:47:59 -08:00
Strahinja Val Markovic
396309a5b6 Adding a note to step 5 of the install guide 2013-01-26 16:44:58 -08:00
Strahinja Val Markovic
e8b60fd537 Adding the YcmDebugInfo command 2013-01-26 11:45:14 -08:00
Strahinja Val Markovic
90c495a9c7 Making sure clang crash recovery is turned on 2013-01-26 11:45:14 -08:00
Strahinja Val Markovic
421e15f1e1 Readme rewording 2013-01-25 14:50:45 -08:00
Strahinja Val Markovic
8ce2aa8ab7 Adding a new entry to the FAQ 2013-01-25 14:49:23 -08:00
Strahinja Val Markovic
7fc3c47101 Fixing the database-using example code 2013-01-24 19:18:09 -08:00
Strahinja Val Markovic
96bee8a025 Docs now instruct to build ycm_core, not all 2013-01-24 19:17:39 -08:00
Strahinja Val Markovic
8cc9c9ca76 Race condition fix; caused latency on first load
The issue was that the user could open a C-family file and have it start
compiling in the background. While it is still compiling, he could trigger the
completion system with a member dot operator. Because the file was still
compiling for the very first time, the TranslationUnit object was yet not
created. Sadly, this meant that UpdatingTranslationUnit would return false, and
a new query request would be created, the GUI would hang until it was done
aaaaand terrible lag until the file was compiled.

This was a very rare edge case that could also only be triggered if it takes a
considerable amount of time to compile the file.
2013-01-24 18:37:44 -08:00
Strahinja Val Markovic
a2343cad4c Added an entry to the FAQ 2013-01-24 18:07:46 -08:00
Strahinja Val Markovic
6579a1d05d Trivial refactoring 2013-01-24 17:14:10 -08:00
Strahinja Val Markovic
326d77fd43 Removing some forgotten code 2013-01-24 11:07:55 -08:00
Strahinja Val Markovic
19637cadda Renaming ycm_clang_options to ycm_extra_conf 2013-01-24 09:59:21 -08:00
Strahinja Val Markovic
90fe31f98e Async querying of CompilationDatabase supported 2013-01-23 17:23:51 -08:00
Strahinja Val Markovic
0b60b8d03b More stlye formatting fixes 2013-01-23 17:23:38 -08:00
Strahinja Val Markovic
440a2c17f2 Updating docs and the example ycm_clang_options.py 2013-01-22 21:05:32 -08:00
Strahinja Val Markovic
3706750b40 astyle format update 2013-01-22 19:42:44 -08:00
Strahinja Val Markovic
ee919417af Managing memory from the C interface better 2013-01-22 19:40:05 -08:00
Strahinja Val Markovic
970b2fb56c Kiling a memory leak... I hate C interfaces 2013-01-22 17:29:05 -08:00
Strahinja Val Markovic
6ba2dd8caa Printing an error when no ycm_clang_options.py file 2013-01-22 17:13:14 -08:00
Strahinja Val Markovic
482de517ba Better support for CompilationDatabase
We now use the compilation working directory for a file that is specified in the
CompilationDatabase. We don't actually change the working directory of the
process, even temporarily (that would be annoying to users); we munge the flags
coming from the database so that all the relative paths in them are resolved to
absolute ones.
2013-01-22 16:30:49 -08:00
Strahinja Val Markovic
7b6fa9e409 First real version of the README; still WIP 2013-01-21 21:36:17 -08:00
Strahinja Val Markovic
43c94de3c2 Gracefully checking for ycm_core on load
If the user hasn't compiled ycm_core, then a warning message is printed out.
2013-01-21 17:34:49 -08:00
Strahinja Val Markovic
d02ecc2b1c Making sure 'sys' is imported before being used 2013-01-21 17:20:54 -08:00
Strahinja Val Markovic
18e9e2cf1f Adding the astyle shell script
Running this script will ensure that the C++ code follows our style guide.
2013-01-19 20:17:56 -08:00
Strahinja Val Markovic
1641bc9683 Formatting more code with astyle 2013-01-19 20:17:12 -08:00
Strahinja Val Markovic
4308130ab3 Formatting more code with astyle 2013-01-19 20:10:52 -08:00