Commit Graph

  • e16753d261 Improve completion. Chao Shen 2018-02-03 12:36:44 +0800
  • e5128d3db9 Wrap Query* references with WithGen Fangrui Song 2018-02-03 16:20:14 -0800
  • 3d6d000297 Add Generation gen; to Query{Func,Type,Var} and corresponding ToQueryLocation Fangrui Song 2018-02-03 13:12:03 -0800
  • 54c587a700 Look for .cquery in any directory above the source file in the hierarchy. (#409) Riatre Foo 2018-02-04 05:16:38 +0800
  • 6933870962 Change symbol id from size_t to RawId (uint32_t currently) Fangrui Song 2018-02-03 10:33:22 -0800
  • f266cb7b2a [waf] install Fangrui Song 2018-02-02 12:45:55 -0800
  • 880546b333 [waf] Simplify Fangrui Song 2018-02-02 12:23:22 -0800
  • b145243a64 Fix #393 again. (#402) Riatre Foo 2018-02-03 02:51:14 +0800
  • 27c4222ef1 [waf] Deprecate --use-system-clang and simplify Fangrui Song 2018-02-02 09:17:40 -0800
  • 12e41c609e Fix #393 Fangrui Song 2018-02-01 23:35:34 -0800
  • 57a4cf3265 Fix string_view.h Fangrui Song 2018-02-01 23:27:39 -0800
  • e42f6b6191 optional<...> GetQuery*IdFromUsr -> Maybe Fangrui Song 2018-02-01 23:10:37 -0800
  • ae999f9c92 size_t Query*::symbol_idx -> Maybe<Id<void>> Fangrui Song 2018-02-01 22:47:22 -0800
  • 3c6f3f661f Use Maybe<Id<T>> for {Func,Type,Var}DefDefinitionData Fangrui Song 2018-02-01 22:31:43 -0800
  • 392cd79d04 Add Maybe<T> and change definition_{spelling,extent} from optional to Maybe Fangrui Song 2018-02-01 21:31:56 -0800
  • 74f9be1d6f Use symbol kind 'Parameter' for template parameters Nathan Ridge 2018-02-01 23:07:11 -0500
  • ce6f1c7294 QueryDatabase::{detailed_names,short_names} -> GetSymbol{DetailedName,ShortName} Fangrui Song 2018-02-01 17:59:01 -0800
  • 2fb85732c0 Add RemoveSymbol Fangrui Song 2018-02-01 17:24:46 -0800
  • 28bdc0cf02 Check if using libstdc++ before include <string_view>. Chao Shen 2018-02-02 08:48:37 +0800
  • 642975ea17 Reflect string_view and fix workspace/symbol Fangrui Song 2018-02-01 13:38:46 -0800
  • 0d715e7bcf Handle int8_t int16_t uint8_t uint16_t enum constants Fangrui Song 2018-02-01 12:21:58 -0800
  • 8bb5d47377 __has_include to #include <string_view> Fangrui Song 2018-02-01 08:34:27 -0800
  • 5b6945d909 Remove last CR. Chao Shen 2018-02-01 17:12:36 +0800
  • 490f52205f Clean serializer Fangrui Song 2018-02-01 00:39:18 -0800
  • 57ea5f7cb9 Check the function name appearance before publish semantic highlight. Chao Shen 2018-02-01 13:38:04 +0800
  • e0e3a39d5d Fix clang 3.5 compile error Jacob Dufault 2018-01-31 21:49:56 -0800
  • c98d53cfe2 Indexer now has access to |config| Jacob Dufault 2018-01-31 21:48:39 -0800
  • e259bb91d3 Use string_view for lsSymbolInformation Fangrui Song 2018-01-31 21:40:40 -0800
  • 6d6c1639d0 Type-dependent member access expressions Fangrui Song 2018-01-31 21:01:31 -0800
  • b02c92e335 Reduce file reads in import_pipeline Jacob Dufault 2018-01-31 21:20:38 -0800
  • 301d295f79 Remove std::experimental uses Jacob Dufault 2018-01-31 21:18:32 -0800
  • a2c1cb4a83 Enable make* indexing by default Jacob Dufault 2018-01-31 20:21:16 -0800
  • 8108de0cfa Change short_names/detailed_names from const std::string& to std::string_view Fangrui Song 2018-01-31 19:53:50 -0800
  • c33aa113db Use short_name for tests but short_name_{offset,size} for lang server Fangrui Song 2018-01-31 17:22:30 -0800
  • 9944617df6 Fix #385 Fangrui Song 2018-01-31 16:48:26 -0800
  • 768f4ecb6e Enable "Make" hack only if config->index.make_unique is true. Fangrui Song 2018-01-31 11:10:20 -0800
  • 871ae34a1b Hotfix of stale file contents in 186898 Fangrui Song 2018-01-31 08:42:25 -0800
  • 3e16055b31 Change some API const std::string& -> std::string_view Fangrui Song 2018-01-31 00:35:04 -0800
  • 4c895bef0b Make optional<string> {hover,comments} non-optional Fangrui Song 2018-01-30 23:48:34 -0800
  • 77dca1936b Change TypeDefDefinition::short_name from string to string_view Fangrui Song 2018-01-30 23:01:45 -0800
  • 93269ecfd4 Change std::string FuncDefDefinition::short_name to ShortName() Fangrui Song 2018-01-30 22:39:39 -0800
  • 41f87887bb Change std::string VarDefDefinition::short_name to ShortName() Fangrui Song 2018-01-30 20:59:31 -0800
  • 8ff634d557 Add third_party/string_view.h{,pp} Fangrui Song 2018-01-30 20:06:32 -0800
  • 699d2f3655 Fix completion of headers. scturtle 2018-01-29 22:26:13 +0800
  • 5d88eb959d Remove index.builtinTypes and fix doc Fangrui Song 2018-01-30 09:04:01 -0800
  • ab2a836d57 Remove unused variable ex in initialize.cc (#376) Riatre Foo 2018-01-31 01:03:46 +0800
  • c8605dc4a9 Group source files outside of the project by a cache sub-directory Fangrui Song 2018-01-29 23:53:32 -0800
  • fe3b9c4a8a Revert "Fix completion of headers." Jacob Dufault 2018-01-29 21:52:38 -0800
  • f6a2a55209 Import pipeline improvements Jacob Dufault 2018-01-29 21:34:28 -0800
  • a8b68d21d7 Fix potential crash Jacob Dufault 2018-01-29 20:18:08 -0800
  • e145f77996 Fix completion of headers. scturtle 2018-01-29 22:26:13 +0800
  • 5bd466ab17 Fix #372 Fangrui Song 2018-01-29 19:08:19 -0800
  • 0eb7d415d7 usr_to_file uses new NormalizedPath type Jacob Dufault 2018-01-29 16:55:51 -0800
  • 7579d71b85 Simplify MAKE_REFLECT_TYPE_PROXY Jacob Dufault 2018-01-29 16:35:01 -0800
  • a392301be3 Format Jacob Dufault 2018-01-29 16:27:43 -0800
  • 233a108814 Add docs to config.h, remove enableCacheRead/enableCacheWrite. Jacob Dufault 2018-01-29 16:14:23 -0800
  • 412af53e1d Update .gitignore Jacob Dufault 2018-01-29 16:13:46 -0800
  • 55338e7481 Simplify, readd --wait-for-input Jacob Dufault 2018-01-29 15:43:22 -0800
  • 09d7da2893 Don't emit semantic highlight for operators or lambda (#369) Fangrui Song 2018-01-29 09:28:17 -0800
  • 795dfc670c Update tests after specialization handling Fangrui Song 2018-01-28 23:22:22 -0800
  • b7ce3dd60a Better template specialization Fangrui Song 2018-01-28 23:05:51 -0800
  • dc1c72ce30 Remove definition from uses for TemplateVisitor Fangrui Song 2018-01-28 22:22:13 -0800
  • 535c2c20a3 Escape more characters in ECMA-262 uriReserved Fangrui Song 2018-01-28 22:11:53 -0800
  • 16bf3158c5 Add SymbolRole to SymbolRef and fix $cquery/{base,derived} by ordering definitions before uses Fangrui Song 2018-01-28 20:39:41 -0800
  • 777193d02f Better template specialization Fangrui Song 2018-01-28 17:30:41 -0800
  • fb3cd89b05 Move language_server_api.h structs to initialize.cc Fangrui Song 2018-01-28 14:33:51 -0800
  • 640d72f85c Check --init and remove --wait-for-input Fangrui Song 2018-01-28 14:05:54 -0800
  • 1e7727f75a Allow empty initializationOptions or cacheDirectory (which disables cache read/write) Fangrui Song 2018-01-28 13:52:00 -0800
  • 80213e8a23 Complete with empty context Fangrui Song 2018-01-28 13:24:29 -0800
  • bdb880e0a5 Serialize VarDefDefinitionData::{parent_kind,parent_id} Fangrui Song 2018-01-28 12:34:31 -0800
  • 79b60561d1 Remove CXCursor_MacroDefinition from uses Fangrui Song 2018-01-28 11:42:40 -0800
  • 818ef8a834 -h --help for help. --language-server is the default mode Fangrui Song 2018-01-28 10:53:17 -0800
  • 45b57bd729 [test] Use system 'diff' on POSIX. Fangrui Song 2018-01-27 22:31:17 -0800
  • 70bbe6c64c Use major/minor versions for IndexFile Fangrui Song 2018-01-27 21:47:37 -0800
  • 5763201838 Remove is_type_member & VarDefDefinitionData::declaring_type Fangrui Song 2018-01-27 20:25:14 -0800
  • aeb63ce3ad Add magic/version to "cacheFormat": "msgpack" Fangrui Song 2018-01-27 19:21:35 -0800
  • 41eb1c863c [waf] Remove -lrt & add -latomic Fangrui Song 2018-01-27 10:59:40 -0800
  • d605217c1a matcher.cc: use std::regex_search instead of std::regex_match Fangrui Song 2018-01-27 09:29:28 -0800
  • e3d3a492d0 Return default value Jacob Dufault 2018-01-27 09:07:25 -0800
  • 74a39e7ea8 Fix build on Ubuntu 16.04 Phil Wise 2018-01-27 13:05:42 +0100
  • d6003e1991 workspace/didChangeWatchedFiles Fangrui Song 2018-01-26 23:17:49 -0800
  • 0bbabbcbd2 Move IndexVar::def::declarations to IndexVar::declarations Fangrui Song 2018-01-26 21:50:17 -0800
  • e892c23955 Change declaration to declarations in IndexVar Fangrui Song 2018-01-26 18:20:17 -0800
  • 6b3673a438 Remove definition_spelling from uses in IndexVar Fangrui Song 2018-01-26 17:51:33 -0800
  • 37809def7c Add bool include_decl parameter to GetUsesOfSymbol Fangrui Song 2018-01-26 17:31:50 -0800
  • 723c78409f Move is_operator from indexer to semantic highlighting Fangrui Song 2018-01-26 10:08:56 -0800
  • 351e7b6c95 Add ClangStorageClass storage; to {Func,Var}DefDefinitionData and semantic highlighting. Fangrui Song 2018-01-26 09:28:29 -0800
  • 3ef0abec14 WIP DidChangeWatchedFiles Fangrui Song 2018-01-25 23:04:07 -0800
  • 1aec53621f Use std::vector<std::string> files_removed; Fangrui Song 2018-01-25 22:42:58 -0800
  • 50c6ed1dd3 Clean up SetTypeName Fangrui Song 2018-01-25 22:20:28 -0800
  • 63b793619d Set names in ResolveToDeclarationType and type declarations. Fangrui Song 2018-01-25 21:29:24 -0800
  • 7aea052f09 Re-pick "Handle template <class T> class A" but does not assign names to templates without body Fangrui Song 2018-01-25 12:19:24 -0800
  • 7f9f6e0c6b Revert "Handle template <class T> class A; and attribute variable uses to specialized template if exists" Jacob Dufault 2018-01-25 11:46:03 -0800
  • d14f17212d Do not show code lens on namespaces. Jacob Dufault 2018-01-25 11:22:25 -0800
  • 684ad961ad Handle template <class T> class A; and attribute variable uses to specialized template if exists Fangrui Song 2018-01-24 23:21:37 -0800
  • 403c892838 --debug disables libclang crash recovery Fangrui Song 2018-01-24 23:58:16 -0800
  • db1f707027 Add --debug to disable libclang crash recovery Fangrui Song 2018-01-24 23:32:40 -0800
  • 706a3d0017 Attribute enum to its underlying type's uses Fangrui Song 2018-01-24 18:22:06 -0800
  • d2c4c34bc0 Replace std::cin.get with getchar. Fix #334 Fangrui Song 2018-01-24 21:32:05 -0800
  • 61efdcc721 Better inline code lens location for functions Jacob Dufault 2018-01-24 19:15:18 -0800