Commit Graph

1243 Commits

Author SHA1 Message Date
Fangrui Song
556f32ec1b Throw std::invalid_argument for deserialization type error 2018-01-18 22:47:44 -08:00
Chao Shen
b0bf107f71 Add option to disable filtering and sorting completion response. 2018-01-18 19:32:09 -08:00
Jacob Dufault
567a6e6e99 Update README.md 2018-01-18 15:50:23 -08:00
Fangrui Song
63215ef754 Simplify README 2018-01-18 15:39:04 -08:00
Fangrui Song
3bea1b29fb [emacs] redirect to https://github.com/cquery-project/emacs-cquery and clean up README 2018-01-18 15:14:36 -08:00
Anthony Cowley
a4e3299e7d Add a comment explaining part of the build script 2018-01-18 14:49:34 -08:00
Fangrui Song
5bef84cabf Fix serializer MSVC C4244 2018-01-18 11:22:36 -08:00
Fangrui Song
bffe9203eb Serialize int/long/long long instead of int32_t/int64_t 2018-01-18 10:41:46 -08:00
Jacob Dufault
f93eaa74a2 travis: macOS is optional 2018-01-18 10:25:08 -08:00
Fangrui Song
3c23ed8047 cquery_member_hierarchy.cc: Change uint64_t to size_t (#304) 2018-01-18 10:13:25 -08:00
Fangrui Song
9b8a0b01e6 Recognize .exe in GetCompilationEntryFromCompileCommandEntry 2018-01-18 09:12:55 -08:00
Jacob Dufault
71ae137393 Add ScopedPerfTimer 2018-01-18 08:25:47 -08:00
Chao Shen
de5e8eeeba Ignore file name in comparing arguments. 2018-01-18 08:25:20 -08:00
Chao Shen
405fd56781 Crash Hotfix. 2018-01-18 08:24:10 -08:00
Jacob Dufault
ae26aa93db Fix index not updating 2018-01-18 01:33:37 -08:00
Fangrui Song
545838f7eb Support uint32_t serialization for size_t (which is either uint32_t or uint64_t on known systems) 2018-01-18 00:43:15 -08:00
Jacob Dufault
2ff823f2eb Actually fix progress reporting 2018-01-18 00:28:08 -08:00
Jacob Dufault
a233558fcd Move file content loading into a separate function 2018-01-18 00:21:39 -08:00
Jacob Dufault
39b9991c8f Fix MSVC compile 2018-01-18 00:09:13 -08:00
Jacob Dufault
e38c6103ea FileNeedsParse no longer takes FileConsumerSharedState 2018-01-18 00:05:12 -08:00
Jacob Dufault
a1ae100478 Some import pipeline refactors 2018-01-18 00:01:32 -08:00
Fangrui Song
819f5198de Add $cquery/memberHierarchy{Initial,Expand} to list member variables of a type 2018-01-17 23:51:19 -08:00
Jacob Dufault
5b092dc9da Rename variable 2018-01-17 23:24:52 -08:00
Jacob Dufault
13e56ac16f Log if a file was reparsed due to timestamp or argument change. 2018-01-17 23:19:08 -08:00
Jacob Dufault
c80697a8d8 Add tests for FileNeedsParse 2018-01-17 23:11:33 -08:00
Jacob Dufault
bb0dd636ed Fix spelling mistake 2018-01-17 22:13:44 -08:00
Jacob Dufault
a3774a371f Reindex a file when command line arguments have changed 2018-01-17 22:04:07 -08:00
Jacob Dufault
bc2521382d FileNeedsParse is a separate function 2018-01-17 21:53:03 -08:00
Jacob Dufault
4c1ee74b27 Merge ParseFile and DoParseFile 2018-01-17 21:48:09 -08:00
Jacob Dufault
8fef86c0f8 Remove ImportManager::HasActiveQuerydbImports.
ImportPipelineStatus::num_active_threads can be used instead.
2018-01-17 21:34:47 -08:00
Jacob Dufault
0fd3d69600 Return false instead of exiting 2018-01-17 21:29:40 -08:00
Jacob Dufault
6e56d97d97 Take unsaved_files by reference 2018-01-17 21:29:40 -08:00
Jacob Dufault
3058e15460 StringJoin can take a separator. 2018-01-17 21:29:40 -08:00
Chao Shen
3132572e72 Don't give up index files of headers if the .cc/.cpp file failed. 2018-01-17 21:24:32 -08:00
Fangrui Song
7d516717d7 https://docs.travis-ci.com/user/notifications/#Configuring-IRC-notifications
猫兒偏解捉老鼠。
2018-01-17 21:06:21 -08:00
Fangrui Song
ca3784db03 Don't index initializer for lambda types 2018-01-17 21:02:09 -08:00
Fangrui Song
b5761b5980 Fix textDocument/definition on #include lines 2018-01-17 12:52:37 -08:00
Fangrui Song
6746883a3b Better inside-out syntax recognizer 2018-01-17 00:29:32 -08:00
Fangrui Song
dd84a85b75 Filter out inside-out syntax and array types for variable hover 2018-01-17 00:17:04 -08:00
Fangrui Song
bf9150f58a Index variable initializer 2018-01-16 20:30:45 -08:00
Fangrui Song
a52d4ac61d Show enum constants as Foo::A = 0 2018-01-16 20:01:47 -08:00
Fangrui Song
7d7e238924 enum 2018-01-16 19:09:29 -08:00
Fangrui Song
0b3ab23b25 For const qualified types, index qualified names along with initializers 2018-01-16 18:26:11 -08:00
Jacob Dufault
67834ca783 Strongly typed semantic highlighting kind 2018-01-16 17:48:22 -08:00
Fangrui Song
5ff7d165f9 Add missing header files in siphash.c, fix #301 2018-01-16 12:49:08 -08:00
Fangrui Song
98fb9ee821 . 2018-01-15 17:38:28 -08:00
Fangrui Song
22aa939d3d Fix null pointer dereference but .cquery + header only still does not work 2018-01-15 17:30:26 -08:00
Fangrui Song
804c9c8b1e Copy Query*::kind to Index*::kind 2018-01-15 15:51:24 -08:00
Fangrui Song
c4935fb367 Add kind to Out_CqueryPublishSemanticHighlighting 2018-01-15 15:08:03 -08:00
Fangrui Song
c3136122ad Add optional<IndexFuncId> semantic_container to VarDefDefinitionData and cleanup 2018-01-15 10:08:03 -08:00