Commit Graph

  • 0bad74eb4f Comment Paul Heckel's diff algorithm which is used to align confident lines in index and buffer Fangrui Song 2018-01-14 13:24:52 -0800
  • e20a6e9790 Add siphash.h, HashUSR -> HashUsr Jacob Dufault 2018-01-14 13:18:12 -0800
  • 54ac72115e Change line/column to 0-based and only use 1-based when (de,)serialized to JSON Fangrui Song 2018-01-14 11:39:29 -0800
  • f78d87ded3 Unify {all,raw}_buffer_lines Fangrui Song 2018-01-14 10:50:54 -0800
  • 865d567c10 Ignore stdout SIGPIPE Fangrui Song 2018-01-14 09:49:09 -0800
  • d099afb0cc Fix performance issue in Paul Heckel's diff algorithm Fangrui Song 2018-01-14 01:49:41 -0800
  • a47115208b Find best match between two bounds found by Paul Heckel's diff algorithm Fangrui Song 2018-01-14 01:33:12 -0800
  • eec5c77d6a Use Paul Heckel's diff algorithm to convert between buffer/index line number Fangrui Song 2018-01-13 11:39:06 -0800
  • b81589f6ed shutdown: id Fangrui Song 2018-01-13 11:39:06 -0800
  • 942a0354d3 Use UTF-8 character iterator in GetOffsetForPosition which is good unless UTF-16 surrogate pairs are used #57 Fangrui Song 2018-01-13 10:43:37 -0800
  • dab379ad46 Fix tests Fangrui Song 2018-01-13 00:04:34 -0800
  • da2cbe4152 USR -> Usr Fangrui Song 2018-01-13 00:10:39 -0800
  • 14a213d407 Change std::string USR to uint64_t pseudorandom function (SipHash 64-bit) Fangrui Song 2018-01-12 22:13:08 -0800
  • feb0249350 Fix textDocument/didClose to use TextDocumentIdentifier Fangrui Song 2018-01-12 18:59:25 -0800
  • 45cb0b8cc5 Fix message_handler.cc when range is invalid Fangrui Song 2018-01-12 16:06:39 -0800
  • 93ba0c532b For completion, only tell clang about relevant dirty working files. Jacob Dufault 2018-01-12 09:37:33 -0800
  • 27dad9a277 Moved lines above rianneogi 2018-01-12 13:39:58 +0530
  • 2f8d11e5ff Always do completion on manual trigger. rianneogi 2018-01-10 23:47:33 +0530
  • a324178fcb changed size()==0 to empty() rianneogi 2018-01-10 21:32:10 +0530
  • dc00d320ec Fix autocompletion results on semicolon rianneogi 2018-01-10 21:02:04 +0530
  • 16f6fdbef1 Fix shrinking region. (#290) scturtle 2018-01-13 00:44:11 +0800
  • a7215c233c Add unit test for conversion from clang-format edits to LSP ranges Daniel Martín 2018-01-11 14:16:21 +0100
  • 903d517b0a Convert to snake case Daniel Martín 2018-01-11 12:49:17 +0100
  • cc1fbada4b Don't crash in completion if there is no working file. Jacob Dufault 2018-01-11 00:32:45 -0800
  • beba312a5f Add VerifyUnique in querydb, disabled by default. Jacob Dufault 2018-01-11 00:32:19 -0800
  • 4d07189b47 Comment optional<T> in serializers and remove redundant Writer ReflectMember on std::vector Fangrui Song 2018-01-11 00:31:47 -0800
  • 5f1aa34a9c Comment serializer Fangrui Song 2018-01-11 00:07:51 -0800
  • 6fb1798692 Use @ as escape character of cache filenames Fangrui Song 2018-01-10 23:32:36 -0800
  • 27ddce4cd6 Reader reflection of std::variant<Ts...> Fangrui Song 2018-01-10 23:16:33 -0800
  • b2672c6009 Fix a new file in the session not generating an index. Jacob Dufault 2018-01-10 21:27:58 -0800
  • 786ac0bc4f Merge FileContents and FileContentsWithOffsets. Jacob Dufault 2018-01-10 21:16:46 -0800
  • 7de2a733c8 Fix windows path normalization Jacob Dufault 2018-01-10 20:07:50 -0800
  • 05b577c9fa Fix progress not always going to zero Jacob Dufault 2018-01-10 19:56:47 -0800
  • 54394ed868 Format Jacob Dufault 2018-01-10 18:43:01 -0800
  • 5605dfbb00 Always normalize project file entry when passing it to clang. Jacob Dufault 2018-01-10 18:33:20 -0800
  • 1836a50a48 Add unit tests for formatting documents and document ranges Daniel Martín 2018-01-11 02:31:52 +0100
  • a8d403426d using lsRequestId = std::variant<std::monostate, int64_t, std::string>; Fangrui Song 2018-01-10 10:45:29 -0800
  • 38bfd26750 Add <iostream> Fangrui Song 2018-01-10 10:08:39 -0800
  • 6a03a86e64 Hack to restrict the region. Chao Shen 2018-01-09 14:48:42 +0800
  • 5d94d138cf Move some details about setting up the VSCode extension to the wiki (follow-up to #216) Nathan Ridge 2018-01-10 02:30:05 -0500
  • 0e5e2a6ca5 Fix build Fangrui Song 2018-01-10 00:21:55 -0800
  • a8aa94d4ba Fix build Fangrui Song 2018-01-10 00:15:58 -0800
  • 6dbef41128 Mention semantic highlighting in the feature list (#282) Nathan Ridge 2018-01-10 03:01:31 -0500
  • 060b92b214 Change lsVersionedTextDocumentIdentifier::version to variant<monostate,int> Fangrui Song 2018-01-09 23:57:33 -0800
  • 3e076b4111 workspace/didChangeWatchedFiles placeholder Fangrui Song 2018-01-09 21:11:30 -0800
  • 503127e0da Reflect std::variant and change lsRequestId to variant<monostate,double,string> (#279) Fangrui Song 2018-01-09 22:34:58 -0800
  • a99fd7c444 Add IpcId::Shutdown Fangrui Song 2018-01-09 22:05:09 -0800
  • 60e384a859 Make semantic highlighting symbol ranges non-overlapping using a scan line algorithm Fangrui Song 2018-01-09 19:04:08 -0800
  • 0bcf72d0a0 Only shell out to llvm-config if the configure step found it Anthony Cowley 2018-01-09 12:37:01 -0500
  • 71ca687252 Change Config->enableComments from to int Fangrui Song 2018-01-09 00:46:37 -0800
  • 37152da0fc Add std::monostate to represent null field and add Ipc::Shutdown Fangrui Song 2018-01-09 00:20:51 -0800
  • bcd3de18bb Document the need to set cquery.launch.workingDirectory when setting up the VSCode extension (#216) Nathan Ridge 2018-01-09 02:11:50 -0500
  • 5775392462 [waf] Don't warning if bundled_clang_dir exists Fangrui Song 2018-01-08 23:44:57 -0800
  • a7bf90f50b Serialize cacheFormat as string literal Fangrui Song 2018-01-08 22:22:24 -0800
  • c0a9b7189f Use --init='{"enableComments": true}' to index comments and display them on hover Fangrui Song 2018-01-08 19:09:15 -0800
  • 53134b679c Simplify wscript and remove -x c++-header Fangrui Song 2018-01-08 20:55:09 -0800
  • 9d64a76fec fix logic in GetFilesInFolderHelper from DFS-ification in 96f4ffc4b Joel Hock 2018-01-08 22:23:54 -0500
  • 2494c24332 Delete wrong comment Walter Erquinigo 2018-01-08 13:06:44 -0800
  • b644b54614 Convert GetFilesInFolderHelper to use BFS (#268) yshui 2018-01-08 17:09:19 +0000
  • 0ef5aec3fc Initial values of variables are useful. For now, enable it for const qualified types. Qualified names may also be useful but they can not be easily combined. Fangrui Song 2018-01-08 00:19:32 -0800
  • 7b8f8e9cad Add Config->dumpAST for dumping AST after parsing Fangrui Song 2018-01-07 23:51:36 -0800
  • a3a89af14f waf configure --use-system-clang, prefer bld.env.get_flat('CXX') over clang inferred from llvm-config' Fangrui Song 2018-01-07 22:08:43 -0800
  • acc8f42033 [comments] Strip additional comment marker at the end of comments (#264) Chen 2018-01-08 13:40:11 +0800
  • 63178468eb -x c++-header has implicit -std=c++14 Fangrui Song 2018-01-07 21:18:02 -0800
  • a2faa0c519 Treat source filenames with no dot as -x c++-header Fangrui Song 2018-01-07 21:13:12 -0800
  • 11436c1f0d Flatten msgpack by replacing pack_array() with pack() Fangrui Song 2018-01-07 20:10:16 -0800
  • 541b1a7494 Fix MessagePackReader for Position/Range Fangrui Song 2018-01-07 17:41:24 -0800
  • a78c65fdbb Fix MSVC C2220 Fangrui Song 2018-01-07 16:20:13 -0800
  • 4e6c585e59 Add mnemonic constants to ClangSymbolKind Fangrui Song 2018-01-07 16:06:01 -0800
  • d49679d885 Fix Range serialization for -1:-1--1:-1 Fangrui Song 2018-01-07 15:52:46 -0800
  • cef1559f6d Fix waf configure --variant=debug on Linux Fangrui Song 2018-01-07 15:17:14 -0800
  • 78dc0c4341 Fix unit tests Jacob Dufault 2018-01-07 14:34:30 -0800
  • 06870d5b61 Do not show completion candidates for : or > by itself. Jacob Dufault 2018-01-07 14:27:57 -0800
  • 2e20c8b655 Use c++14 by default if no language is specified. Jacob Dufault 2018-01-07 13:37:40 -0800
  • ab41e0353c Fix build Jacob Dufault 2018-01-07 13:37:30 -0800
  • 74c75ad0d1 Do not sort workspace symbols in vscode. Jacob Dufault 2018-01-07 13:08:18 -0800
  • 09d9d5eedc Progress output improvements Jacob Dufault 2018-01-07 13:06:18 -0800
  • 7f6f63b702 Compute call location on client-side. Jacob Dufault 2018-01-07 11:18:07 -0800
  • ce6087978f Use cursor extents for non-type template parameters Fangrui Song 2018-01-07 10:53:44 -0800
  • 332a3b5240 Serialize {type,func}->def.kind for semantic highlighting Fangrui Song 2018-01-07 08:43:53 -0800
  • 6661410483 Fix AppVeyor Jacob Dufault 2018-01-07 02:39:54 -0800
  • 0ac0039c61 Small doc update. Jacob Dufault 2018-01-07 02:10:35 -0800
  • b2e2d4fcbb Windows fixes for wscript Jacob Dufault 2018-01-07 02:10:09 -0800
  • 5081c3bc85 Update .gitignore Jacob Dufault 2018-01-07 02:07:20 -0800
  • ed880f50dd Add msgpack reflection for Point/Range Fangrui Song 2018-01-07 01:27:14 -0800
  • 34aac56ff0 Fix non-type template parameter Fangrui Song 2018-01-07 01:19:57 -0800
  • 29345f067c Set {func,type}->def.kind Fangrui Song 2018-01-07 01:07:39 -0800
  • 9dc34103d8 [indexer] Add uses of types of (non-type template parameter) Fangrui Song 2018-01-07 00:36:12 -0800
  • 93f92d57b7 Remove unused ptrace.h Fangrui Song 2018-01-06 23:51:48 -0800
  • 0a7b9209df Add TraceMe() to main() Fangrui Song 2018-01-06 23:42:42 -0800
  • 32d37ede49 [emacs] Add cquery-extra-init-params Fangrui Song 2018-01-06 21:48:19 -0800
  • 286a0649c1 msgpack seems to work Fangrui Song 2018-01-06 21:08:25 -0800
  • a0a52e50a2 Make initialization options parsing less crashy if null is passed instead of undefined/nothing. Jacob Dufault 2018-01-06 20:53:58 -0800
  • a4496b7430 Do not try to load compile_commands.json if there is a .cquery file. Jacob Dufault 2018-01-06 20:26:22 -0800
  • 8a7dfb017f Validate no files are consumed by import pipeline Jacob Dufault 2018-01-06 20:08:55 -0800
  • 299e687d37 WIP serializers/msgpack.h Fangrui Song 2018-01-06 20:10:08 -0800
  • aa139a4b65 Serialize Config::cacheFormat Fangrui Song 2018-01-06 18:56:15 -0800
  • 5809d0c436 Make Serialize accept argument SerializeFormat format Fangrui Song 2018-01-06 18:01:32 -0800
  • 76a3fe8400 Reenable tests Jacob Dufault 2018-01-06 17:12:57 -0800
  • 8debcf1d9d Usage initializer_list Jacob Dufault 2018-01-06 17:11:34 -0800