Commit Graph

136 Commits

Author SHA1 Message Date
Jacob Dufault
cbe308c0f9 Try to have better behavior when types are defined across multiple files. 2017-04-18 23:56:37 -07:00
Jacob Dufault
eb83ba26e1 Add sparsepp as a replacement for sparsehash 2017-04-18 22:45:54 -07:00
Jacob Dufault
26c0bfe71d Misc fixes 2017-04-17 13:40:50 -07:00
Jacob Dufault
4dcffeb3f3 Use type safe google::dense_hash_map instantiations 2017-04-14 22:55:01 -07:00
Jacob Dufault
5109d27b87 Tons of renames (generally, Queryable -> Query, QueryableTypeDef -> QueryType, QueryableFuncDef -> QueryFunc, QueryableVarDef -> QueryVar) 2017-04-14 22:41:35 -07:00
Jacob Dufault
4135186ae2 Optimize MergeableUpdate so we don't do usr->id lookups when importing on querydb thread 2017-04-14 22:24:49 -07:00
Jacob Dufault
f4e16067b7 Rename qualified_name to detailed_name. 2017-04-14 21:58:07 -07:00
Jacob Dufault
fe0b5cb79c Cleanup / simplify the querydb import code a little 2017-04-13 19:17:15 -07:00
Jacob Dufault
d6123bd861 Every function usage is now considered a call of that function.
This means we will now report function calls that happen in the global scope (previously, those would only show up for find all refs).
2017-04-13 00:47:47 -07:00
Jacob Dufault
abbc6380f4 Fix indexing function call when there is implicit ctor call 2017-04-12 00:36:17 -07:00
Jacob Dufault
527439b7c2 WIP on updating index; locations still broken 2017-04-09 17:08:54 -07:00
Jacob Dufault
6e90f8db45 Enable partial document change sync, use delta info to keep references/code lens in sync when editing 2017-04-09 12:38:52 -07:00
Jacob Dufault
3cd9ae4d16 Remove some duplicated code in workspace / document symbol creation 2017-04-08 19:48:50 -07:00
Jacob Dufault
5ebf4551b1 remove UsrRef 2017-04-08 19:27:07 -07:00
Jacob Dufault
59c7d96ea7 Migrate QueryableVarDef to indicies 2017-04-08 01:07:39 -07:00
Jacob Dufault
fffb3d3fcc Migrate QueryableFuncDef to indices 2017-04-08 01:04:38 -07:00
Jacob Dufault
64d65584fd Use indexed ids for QueryTypeDef 2017-04-08 00:52:57 -07:00
Jacob Dufault
d61cc7a077 QueryableLocation now stores a file index 2017-04-08 00:21:00 -07:00
Jacob Dufault
74b1fe7194 QueryFile is now storing symbol indices directly 2017-04-08 00:11:57 -07:00
Jacob Dufault
4249fc4a38 Implement new threading model for computing index updates (prepare IdMap on querydb thread) 2017-04-07 23:45:28 -07:00
Jacob Dufault
22cc140d80 use sparsehash 2017-04-07 18:35:12 -07:00
Jacob Dufault
820a1dc093 compile-fixes 2017-04-07 17:34:13 -07:00
Jacob Dufault
6f071cfeb8 wip IdMap 2017-04-07 01:01:58 -07:00
Jacob Dufault
c5dc7a7ac7 wip towards id migration, use IdMap isntead of IdCache 2017-04-07 00:30:08 -07:00
Jacob Dufault
3368065d94 remove some default ctors 2017-04-07 00:01:21 -07:00
Jacob Dufault
590797bcf2 some renames and add plan for lower mem usage 2017-04-06 23:57:26 -07:00
Jacob Dufault
6114b507e2 Drop Position support from indexer templates 2017-04-06 23:29:18 -07:00
Jacob Dufault
75b2db6dbf misc 2017-04-06 23:21:16 -07:00
Jacob Dufault
5408540158 cleanup query location usage 2017-04-06 23:20:30 -07:00
Jacob Dufault
69b1dcadaa cleanup some query code to prepare for space optimizations 2017-04-06 22:42:57 -07:00
Jacob Dufault
e3058da622 Store range information in index 2017-04-05 01:06:18 -07:00
Jacob Dufault
ed8fc33cbe add basic goto-definition, lots of edge cases (need range info) 2017-04-02 19:21:21 -07:00
Jacob Dufault
ae993d6446 wip 2017-04-02 18:34:15 -07:00
Jacob Dufault
d3b9743040 wip 2017-03-25 18:37:16 -07:00
Jacob Dufault
c8afc0f022 more changes 2017-03-25 16:58:11 -07:00
Jacob Dufault
695048baa7 move code into src 2017-03-25 13:15:00 -07:00