Commit Graph

376 Commits

Author SHA1 Message Date
Jacob Dufault
cafa2f103e Ignore *.pyc files 2017-05-18 18:16:13 -07:00
Jacob Dufault
cf45c91bcd A bit more work on making a faster compile_commands.json loader 2017-05-18 18:14:53 -07:00
Jacob Dufault
1d6477c3e9 Fix compile 2017-05-18 18:14:15 -07:00
Jacob Dufault
866faed4fc Exit when there is no more stdin input 2017-05-18 18:13:51 -07:00
Jacob Dufault
2b407e0bce Basic performance data tracking during indexing 2017-05-17 00:08:45 -07:00
Jacob Dufault
f2d46e86b7 Don't force index updates on primary translation unit when updating dependency indexes. 2017-05-16 23:09:53 -07:00
Jacob Dufault
c5f29c277b Fix off-by-one error for resolving document column to symbol column 2017-05-16 23:05:12 -07:00
Jacob Dufault
59a077d8a9 Fix race condition when saving indexed file contents to cache. 2017-05-16 23:01:51 -07:00
Jacob Dufault
671a54c7af Move most of the information in document outline to containerName. This makes searching nicer. 2017-05-16 00:45:46 -07:00
Jacob Dufault
f907d1d1b9 When indexing make sure we use the correct contents.
Hopefully this will make overlapping saves more robust.
2017-05-16 00:38:15 -07:00
Jacob Dufault
d8567c75cc More robust approach for tracking indexed file. 2017-05-16 00:26:26 -07:00
Jacob Dufault
83f8c7afa8 Better insert text for STL types 2017-05-15 00:58:29 -07:00
Jacob Dufault
b727fc5a36 Fix signature help for calls prefixed by a namespace 2017-05-15 00:37:47 -07:00
Jacob Dufault
6ad60c4299 Update README.md 2017-05-15 00:31:44 -07:00
Jacob Dufault
3001faf9a8 Signature help and snippets for code completion 2017-05-15 00:29:22 -07:00
Jacob Dufault
7f33861526 Don't serialize diagnostics for tests. 2017-05-15 00:29:22 -07:00
Jacob Dufault
2c20cf0157 Add some partial update tests 2017-05-15 00:29:22 -07:00
Jacob Dufault
640ce7bd85 Some WIP changes on wscript to download libcxx 2017-05-13 14:35:02 -07:00
Jacob Dufault
a92a83a319 Simplify cquery building, prepackage extension. 2017-05-12 00:15:17 -07:00
Jacob Dufault
ff421723a5 Renames and fix some operator < implementations 2017-05-11 23:08:15 -07:00
Jacob Dufault
61aaf4509c Fix PriorityEnqueue; use it when saving a file so index results come in faster for actively edited files. 2017-05-11 00:41:27 -07:00
Jacob Dufault
a587022643 Fix some more operator< implementations. This may fix some of the IndexUpdate diff issues. 2017-05-11 00:38:57 -07:00
Jacob Dufault
57da6a81ab Make update delta work a bit better. Still buggy though. 2017-05-11 00:20:00 -07:00
Jacob Dufault
74d67b0eb5 Update readme, add TODO 2017-05-10 23:36:34 -07:00
Jacob Dufault
4c487ab797 Reparse document after save for code completion, but don't drop existing completion state until after reparse is done. 2017-05-10 23:25:41 -07:00
Jacob Dufault
20429ed397 Clear diagnostics if previously reported 2017-05-10 18:44:39 -07:00
Jacob Dufault
7a6174e78a Update README.md 2017-05-09 23:15:01 -07:00
Jacob Dufault
609eecc750 Update README.md 2017-05-09 23:13:56 -07:00
Jacob Dufault
202ab60ede Added diagnostics. 2017-05-09 23:13:13 -07:00
Jacob Dufault
1083a10a66 Fix some threading bugs with code completion 2017-05-09 21:52:15 -07:00
Jacob Dufault
4a4315d7a1 Set code completion thread name 2017-05-09 21:00:05 -07:00
Jacob Dufault
6737599c11 Add CXTranslationUnit_CreatePreambleOnFirstParse for code completion on non-Windows machines. 2017-05-08 22:15:35 -07:00
Jacob Dufault
8ed20567a1 Only allow one active index request per file when actively editing. 2017-05-08 22:09:57 -07:00
Jacob Dufault
ad0a03b0da Split global usr lookup into separate lookups for file/type/func/var.
This eliminates problems when actively editing code, ie, a USR can change from being a variable to being a type.
2017-05-08 21:20:28 -07:00
Jacob Dufault
ea5400a633 Add todo; use clang_parseTranslationUnit2 2017-05-08 18:21:21 -07:00
Jacob Dufault
629876007e Fix clang compile 2017-05-08 18:21:21 -07:00
Jacob Dufault
d1287f8fc8 Fix crash when trying to load cache that does not exist 2017-05-08 18:21:21 -07:00
Jacob Dufault
a97bd9d1c4 WIP better command line parsing 2017-05-08 18:21:21 -07:00
Jacob Dufault
9ffed9a253 Add assert when updating test expectations 2017-05-08 18:21:21 -07:00
Jacob Dufault
4efb4dbf25 Make querydb import more robust to usr changes 2017-05-08 18:21:21 -07:00
Jacob Dufault
5524abdaa7 Support keyboard shortcuts for vars, callers, base, and derived. 2017-05-06 23:56:04 -07:00
Jacob Dufault
fc55589ed3 Infer arguments for files not in the project. 2017-05-06 22:36:29 -07:00
Jacob Dufault
e1e45b6dc5 Emit warning for bad working file index instead of crashing. 2017-05-06 22:34:43 -07:00
Jacob Dufault
1b4f377682 WIP but basic test e2e test running 2017-05-02 23:45:10 -07:00
Jacob Dufault
d049cc23c6 Notes on what e2e testing will look like. 2017-05-01 22:36:57 -07:00
Jacob Dufault
bf21cde14a Remove default platform arguments for linux. 2017-04-25 21:13:04 -07:00
Jacob Dufault
49c687663e Rework some of the command line flag parsing logic. Hopefully make it more robust. 2017-04-25 21:03:22 -07:00
Jacob Dufault
e13d161c62 Experimental support for emitting compile_commands.json from waf 2017-04-25 19:57:36 -07:00
Jacob Dufault
839f3d9968 Try parsing with full argv. Also hide system diagnostics. 2017-04-25 19:57:36 -07:00
Jacob Dufault
c77531a432 Log initialization options, reactivate working file asserts. 2017-04-25 19:57:36 -07:00