Commit Graph

  • 9fddd5173e Fix #452 Fangrui Song 2018-02-13 21:35:08 -0800
  • aba38a9da1 Ask user for relevant diagnostics when clang translation unit creation fails. Jacob Dufault 2018-02-13 21:23:35 -0800
  • 71a55ce46b Fix querydb corruption/invalid references accumulating over time. Jacob Dufault 2018-02-13 21:13:54 -0800
  • 0c4d82667f Clean up some -Wcovered-switch-default default labels Fangrui Song 2018-02-13 13:01:55 -0800
  • a1e1d115bf Simplify GetDefinitionSpellingOfSymbol Fangrui Song 2018-02-13 12:15:31 -0800
  • 273b670c0d Jump to the closest symbol and add more lsSymbolKind constants Fangrui Song 2018-02-13 11:12:08 -0800
  • 2fab426369 Optimize textDocument/definition for comments Jacob Dufault 2018-02-13 10:23:56 -0800
  • aae6f456de Fix crash in ClangCursor::get_arguments Jacob Dufault 2018-02-13 10:21:10 -0800
  • 72e654ffed Fix default -resource-dir when clang -print-resource-dir contains .. Fangrui Song 2018-02-12 23:20:08 -0800
  • 10437aa642 Disable variable PrettyPrint #if CINDEX_VERSION >= 47 and allow trunk libclang in tests Fangrui Song 2018-02-12 19:13:21 -0800
  • ef5db9b3fe Move symbol related structs to symbol.h and add kind/role to textDocument/documentHighlight Fangrui Song 2018-02-12 17:15:19 -0800
  • de1e350c59 Role : uint8_t -> uint16_t; Add Read,Write to Role (#if CINDEX_VERSION >= 48) Fangrui Song 2018-02-12 10:15:43 -0800
  • 8a939389d8 Add fuzzy_match.h and let textDocument/definition search for the identifier at point (e.g. in comments) Fangrui Song 2018-02-12 01:01:02 -0800
  • afd38cbce9 Add Id<QueryFile> file; to Use and simplify query.cc Fangrui Song 2018-02-11 20:22:47 -0800
  • 2d6fd4e240 Add UseWithFileId to work around textDocument/definition targets that reside in unnamed namespaces Fangrui Song 2018-02-11 18:09:28 -0800
  • a90dc25c5a Add failing test for issue #443 Jacob Dufault 2018-02-11 17:15:56 -0800
  • 699cf4b506 Fix IndexUpdate::ToString Jacob Dufault 2018-02-11 17:15:08 -0800
  • 886f6f4a2c Show doctest help if requested. Jacob Dufault 2018-02-11 17:14:45 -0800
  • 35c407b2ac Don't parse version for json if there is no expected version. Jacob Dufault 2018-02-11 17:14:27 -0800
  • 1d98797f26 Remove QueryDb_Handle Jacob Dufault 2018-02-11 14:31:17 -0800
  • 95872d36fd Remove some unused declarations Jacob Dufault 2018-02-11 14:17:03 -0800
  • 079adea8ee NTString -> nt_string Jacob Dufault 2018-02-11 14:08:05 -0800
  • 593ecd8f53 Rename Maybe::has_value to Maybe::HasValue to follow naming conventions Jacob Dufault 2018-02-11 13:56:34 -0800
  • 95f6460e6e HasValue -> HasValueForMaybe_ Jacob Dufault 2018-02-11 13:49:44 -0800
  • b71cf25186 Query GetFileId returns Maybe<QueryFileId> Jacob Dufault 2018-02-11 13:42:48 -0800
  • 6c3cb7c5ea AppVeyor: Fix MSYS2 build by using --llvm-config Jan Niklas Hasse 2018-02-11 18:24:02 +0100
  • aee79b3617 variable_type -> type; remove parent_{id,kind} (they should be inferred from Def::spell; clean up SymbolIdx, Reference, SymbolRef Fangrui Song 2018-02-11 10:25:37 -0800
  • 0f8734c416 Make NTString nullable Fangrui Song 2018-02-11 09:12:22 -0800
  • 68c5c317f0 Fix build on MSVC Fangrui Song 2018-02-11 01:13:32 -0800
  • 8ab45cb43d std::string {hover,comments} -> NTString (null-terminated string) Fangrui Song 2018-02-10 21:36:15 -0800
  • e019968f51 Add lexical parent to Func Fangrui Song 2018-02-10 20:30:27 -0800
  • 9a6cbafa04 Add lexical parent to Type/Var and definition_spelling->spell, definition_extent->extent Fangrui Song 2018-02-10 20:01:10 -0800
  • 3ba9209eea Add config->extension.referenceContainer Fangrui Song 2018-02-10 17:50:44 -0800
  • d79a7a3fa1 Use MAKE_ENUM_HASHABLE to hash SymbolKind Manny Schneck 2018-02-10 19:36:40 -0600
  • 420e84329b Derive SymbolRef,Use from Reference and add lexical container to func/var/type uses Fangrui Song 2018-02-10 12:53:18 -0800
  • a50bff0b24 Make gcc happy. scturtle 2018-02-10 19:50:39 +0800
  • bd4482df5e GetDefinitionSpellingOfSymbol: optional -> Maybe Fangrui Song 2018-02-10 00:19:17 -0800
  • 749ecf0faa Add {Index,Query}Family to simplify template parameters Fangrui Song 2018-02-10 00:06:45 -0800
  • e7c90b62b5 $cquery/base for virtual void f() = 0 Fangrui Song 2018-02-09 22:51:58 -0800
  • 1342522f2a Make CI happy. scturtle 2018-02-10 10:56:14 +0800
  • c28426bbb4 Remove QueryLocation and clean up Fangrui Song 2018-02-09 19:07:45 -0800
  • 50cf05763b Query* structs: QueryLocation -> Reference Fangrui Song 2018-02-09 17:30:22 -0800
  • aa125e34f3 Work around SIGSEGV and simplify SymbolIdx Fangrui Song 2018-02-09 16:42:33 -0800
  • fd803ffb84 -rdynamic so that dladdr() gives symbol names in main executable Fangrui Song 2018-02-09 00:52:17 -0800
  • 95515643d8 Remove ToSymbol Fangrui Song 2018-02-09 15:39:55 -0800
  • c4bd7ef44b Rename Reference members Fangrui Song 2018-02-09 09:42:10 -0800
  • c5f08c5eb8 Fix a bunch of stuffs in completion. Chao Shen 2018-02-09 16:55:53 +0800
  • 60a7883d57 Downgrade loguru. Chao Shen 2018-02-09 16:52:10 +0800
  • a131ccdcb4 Remove ToQueryLocation Fangrui Song 2018-02-08 23:21:35 -0800
  • 67e8132dbe struct QueryFuncRef : Reference {}; Fangrui Song 2018-02-08 23:10:54 -0800
  • 4bfb5a3586 struct IndexFuncRef : Reference {}; Fangrui Song 2018-02-08 22:06:09 -0800
  • 82b429bfbc QueryLocation -> Reference Fangrui Song 2018-02-08 21:11:35 -0800
  • 2d255da07b {Index,Query}Type::uses: Range/QueryLocation -> Reference Fangrui Song 2018-02-08 10:38:27 -0800
  • 5f85867f88 Scan root directory for includes Jacob Dufault 2018-02-08 15:27:46 -0800
  • 48a6f836ca Fix SymbolRole serialization and make it hashable Fangrui Song 2018-02-08 12:18:36 -0800
  • 715fece4dd QueryLocation and QueryRef Fangrui Song 2018-02-08 00:06:04 -0800
  • be1ed58fc5 Reuse isIncomplete. scturtle 2018-02-09 00:55:39 +0800
  • dbdab02ff4 Change is_implicit to role in {Index,Query}FuncRef Fangrui Song 2018-02-07 19:14:44 -0800
  • 10c2843846 Add IndexLocation and add role to QueryLocation Fangrui Song 2018-02-07 18:29:34 -0800
  • 9b0256355e Address ODR violation spot by @Riatre and work around .o .a in compile_commands.json Fangrui Song 2018-02-07 10:27:30 -0800
  • 4815b35ff9 Update submodules Fangrui Song 2018-02-07 08:56:08 -0800
  • 8bee5c6ccf Disable limiting completion result. Chao Shen 2018-02-07 21:01:42 +0800
  • 9986ae5a42 Comment the macOS related hack in before_deploy.sh. scturtle 2018-02-07 16:41:59 +0800
  • 2e6d596a5a Speedup sorting and limit number of completion results. scturtle 2018-02-07 08:26:09 +0800
  • e76a336f19 Remove --debug in favor of LIBCLANG_DISABLE_CRASH_RECOVERY=1 Fangrui Song 2018-02-06 23:55:02 -0800
  • ad5ddb51c4 before_deploy.sh maxOS support scturtle 2018-02-07 15:48:09 +0800
  • 67bac3a196 Make all travis bots required Jacob Dufault 2018-02-06 23:22:00 -0800
  • d5f5b6b132 Update .appveyor.yml Jacob Dufault 2018-02-06 23:11:51 -0800
  • f54333f3ff Update .appveyor.yml Jacob Dufault 2018-02-06 23:10:24 -0800
  • b94d235827 Mark appveyor as optional Jacob Dufault 2018-02-06 23:09:30 -0800
  • 9e730aacd4 Make before_deploy.sh work on FreeBSD Fangrui Song 2018-02-06 22:46:05 -0800
  • e440a7c52f Convert some copy constructors to move constructors in query.cc Fangrui Song 2018-02-06 21:45:58 -0800
  • 55c7519e93 Move ImportOrUpdate and header cleanup Fangrui Song 2018-02-06 21:26:38 -0800
  • e9f45dd601 Revert partial of .appveyor.yml change Jacob Dufault 2018-02-06 21:20:01 -0800
  • 0405c3a41a Windows build fixes when symlink is not available. Jacob Dufault 2018-02-06 21:14:24 -0800
  • 0016d214c3 Convert copy constructor to move constructors piecemeal Fangrui Song 2018-02-05 23:22:44 -0800
  • 0cfb5391d1 Add --record in favor of --log-stdin-stdout-to-stderr. Jacob Dufault 2018-02-06 20:27:30 -0800
  • 4916c61182 Add ci/before_deploy.sh (#407) Fangrui Song 2018-02-06 19:05:37 -0800
  • 47a8f20b20 Match directory before looking at included files. Peter Elmers 2018-02-06 10:53:31 -0800
  • 4c32c2bf77 Update loguru submodule (#424) Jan Niklas Hasse 2018-02-06 17:40:50 +0100
  • 1e3815db2d Fix include completion with filterText. Chao Shen 2018-02-06 16:14:05 +0800
  • 2a9e0b4575 Try to fix travis. Chao Shen 2018-02-06 10:05:16 +0800
  • 2073b36392 Fix compilation. Chao Shen 2018-02-06 09:53:50 +0800
  • 2117d03aba Fix wrong order of arguments to shutil.copy in wscript Daan De Meyer 2018-02-05 20:01:28 +0100
  • a3c374d368 Fix wscript not being able to create symlinks on Windows 10 with Developer Mode enabled when Python 3 is used. Daan De Meyer 2018-02-05 19:57:50 +0100
  • 1a82f1f113 We may should represent Query{Func,Type,Var} as a bag of definitions and references Fangrui Song 2018-02-05 10:12:28 -0800
  • cd96cb9570 threaded_queue: queue -> deque Fangrui Song 2018-02-04 22:03:22 -0800
  • 3839d1e5ab Decouple QueryDb_ImportMain Fangrui Song 2018-02-04 19:38:57 -0800
  • a8fb2264a9 Reflect IndexFuncRef Fangrui Song 2018-02-04 17:35:16 -0800
  • 093dbac30c Fix compilation. Chao Shen 2018-02-05 09:34:39 +0800
  • 217d238c78 Use clang_getCursorPrettyPrinted if CINDEX_VERSION >= 47 Fangrui Song 2018-02-04 14:54:08 -0800
  • 1349cbfde3 Simplify EachWithGen Fangrui Song 2018-02-04 13:43:29 -0800
  • 2c787fe1fe [waf] Use str for Python 2 Fangrui Song 2018-02-04 11:01:02 -0800
  • d573a68130 Simplify operator== Fangrui Song 2018-02-04 10:03:24 -0800
  • 65d7edd9b9 refactor CompareLsCompletionItem (#412) Guillaume Papin 2018-02-04 18:31:23 +0100
  • 24702a25b0 add detailedLabel completion style Guillaume Papin 2018-02-03 18:32:55 +0100
  • 7a1464cadb Fix #410 Fangrui Song 2018-02-03 20:37:39 -0800
  • 985dec101d Generation Fangrui Song 2018-02-03 18:34:07 -0800
  • 0a721ff247 Simplify query.h Fangrui Song 2018-02-03 18:16:30 -0800
  • 15dd552610 Complex include completion. scturtle 2018-02-03 22:36:07 +0800