1
0
forked from VimPlug/jedi
Commit Graph

536 Commits

Author SHA1 Message Date
Dave Halter
0f66a3c7a8 Remove the module attribute from the parser. 2017-03-18 03:53:34 +01:00
Dave Halter
d0b6d41e99 Remove the old star import cache, because it's not even used. 2017-03-18 03:30:23 +01:00
Dave Halter
448bfd0992 Move the python parser tree. 2017-03-16 17:20:32 +01:00
Dave Halter
97fc3bc23c Refactored the parser calls. Now it's possible to use jedi.parser.python.parse to quickly parse something. 2017-03-14 00:38:58 +01:00
Dave Halter
425fba5e95 Move the parser.fast module to parser.diff. 2017-01-10 19:15:47 +01:00
Dave Halter
5b9e5f96aa Merge with master. 2017-01-02 13:05:45 +01:00
Dave Halter
57857b6332 Remove the ImportWrapper and replace it with something simpler. 2016-12-17 16:08:37 +01:00
Dave Halter
575352d4b6 Start cleaning up the interpreter module. 2016-12-15 09:49:34 +01:00
Dave Halter
eaf0100446 Some analysis improvements. 2016-12-11 15:03:19 +01:00
Dave Halter
2be5da3f85 Fix some old regression tests. 2016-12-07 01:30:30 +01:00
Dave Halter
c6248ae169 Some testing fixes that were broken with the few previous commits. 2016-12-06 18:18:53 +01:00
Dave Halter
cb4f405f7d Fix some internal name handling. 2016-12-05 22:27:18 +01:00
Dave Halter
6940900c58 A lot more fixes - fix all evaluate integration tests. 2016-12-03 22:17:38 +01:00
Dave Halter
2161be2dcb Fix side effect issues with predefined names and lazy contexts. 2016-11-26 10:16:26 +01:00
Dave Halter
e79ebe3ee7 Usage fixes for imports. 2016-11-19 03:05:10 +01:00
Dave Halter
b77fa58058 Fix most usage tests. 2016-11-19 02:24:34 +01:00
Dave Halter
05581714d9 Fix goto tests. 2016-11-17 23:28:47 +01:00
Dave Halter
052f6bf9e7 Fix some small import stuff and the whole ordering tests. 2016-11-11 00:45:16 +01:00
cologler
a51475d265 Update __init__.py
fix the source file read mode issue.
if use 'r' mode, this may raise a `UnicodeDecodeError`.
2016-11-09 07:48:45 +08:00
Dave Halter
f57455f0ad Deprecate Evaluator.wrap. 2016-11-01 23:38:06 +01:00
Dave Halter
2e6603cc2e A lot of small improvements. 2016-10-22 17:40:42 +02:00
Dave Halter
6eb3b15e9b Make a test a bit better testable (more flexible). 2016-09-21 18:13:18 +02:00
Daniel Hahler
171873761b doc: fix goto_assignments, which can follow imports now 2016-08-13 09:04:57 +02:00
Dave Halter
ebd080a0fd Implement goto_assignments(follow_imports=True). Fixes #382. 2016-08-03 18:05:08 +02:00
Dave Halter
7d64069780 An empty path given to Jedi should not raise errors. Fixes #577. 2016-07-09 17:27:57 +02:00
Dave Halter
a3b263a599 REPL completion is working again partially. There's some progress at least. 2016-06-29 08:49:20 +02:00
Dave Halter
52c42c3392 Reenable call signature caching and move a lot of parser specific caching to the parser itself. 2016-06-28 08:46:29 +02:00
Dave Halter
969100e471 Move the parsing away from user_context to api.py. 2016-06-27 08:48:36 +02:00
Dave Halter
0445d51d34 Remove the user_scope from the user_context module. 2016-06-27 08:35:24 +02:00
Dave Halter
73e71b3c1a Finally able to remove the user_context. This is awesome!
Now we only use the syntax tree to understand where the user is doing something.
2016-06-23 16:26:28 +02:00
Dave Halter
672bf9908c Remove path argument from completions, because it's really not needed anymore. 2016-06-23 16:11:23 +02:00
Dave Halter
9225db084a user_context is not needed anymore for completions. yay! 2016-06-23 09:19:20 +02:00
Dave Halter
8f39a6e89d 'source' should not be public in the API. Move it to _source. 2016-06-23 08:53:34 +02:00
Dave Halter
57b1fdaa26 Remove code that's not used anymore. 2016-06-22 00:31:36 +02:00
Dave Halter
7ddc9c9c78 Fix all call signature tests. 2016-06-17 17:03:34 +02:00
Dave Halter
32346c6da8 A lot of call signature refactorings. Note that this commit is totally broken. 2016-06-17 00:20:13 +02:00
Dave Halter
118ba7d833 A lot of stuff is not needed anymore, because of the recent refactorings. 2016-06-14 08:31:36 +02:00
Dave Halter
6cf8ca03b2 Goto refactoring. Everything is now so much less complicated. 2016-06-14 00:10:14 +02:00
Dave Halter
a485412af0 Rename goto_definition to goto_definitions. 2016-06-11 23:16:44 +02:00
Dave Halter
c82691a12b Make goto_definitions a lot simpler. 2016-06-11 23:13:04 +02:00
Dave Halter
23ff395754 Merge dev and the away branch. 2016-06-07 08:45:26 +02:00
Dave Halter
5edcf47512 Break Interpreter completion even more in favor of a better solution in the future. 2016-06-03 19:31:42 +02:00
Dave Halter
cbba314286 Progress and actually passing a few tests. 2016-05-26 00:10:54 +02:00
Dave Halter
d4a10929e2 Starting to create a way of how context sensitive completions can be made.
This involves playing heavily with the parser pgen2. We use its stack to check for all possible tokens/keywords.
2016-05-23 18:11:44 +02:00
Dave Halter
479b3cfab2 More completion refactoring. Getting the structure for filtering names right. 2016-05-19 12:41:59 +02:00
Dave Halter
055ff8be23 Readability for completion parts. 2016-05-19 11:33:17 +02:00
Dave Halter
cfa65a22fa Move the completion specific parts to api/completion.py. 2016-05-19 11:08:37 +02:00
Dave Halter
2e33394adb Move the type inference call of the api to inference.py 2016-05-19 10:40:22 +02:00
Dave Halter
da6486dc6d Start moving api stuff to the inference module. 2016-05-19 10:25:36 +02:00
Dave Halter
33accb3dc6 It should be possible to pass class.__dict__ to Jedi. 2016-05-16 09:52:45 +02:00