Commit Graph

4203 Commits

Author SHA1 Message Date
Dave Halter
77fdbac234 static analysis: Import tests working again. 2014-12-11 16:25:18 +01:00
Dave Halter
6818d3affa Implement Import.is_nested method. 2014-12-11 16:17:07 +01:00
Dave Halter
6406bfb3c2 First static analysis test working. 2014-12-11 15:42:16 +01:00
Dave Halter
6afc5ccca5 Few docstring fixes. 2014-12-11 15:32:45 +01:00
Dave Halter
003d1249c5 empty import statement completion. 2014-12-11 15:24:19 +01:00
Dave Halter
bf8645d615 namedtuple fix 2014-12-11 13:08:09 +01:00
Dave Halter
d6b2a64343 Some small import completion fixes. 2014-12-11 13:00:57 +01:00
Dave Halter
c4c3ef5a21 goto_definition on a name definition (statement) should land on the statement. 2014-12-11 12:48:23 +01:00
Dave Halter
d8067a7286 Small test corrections. 2014-12-11 04:44:27 +01:00
Dave Halter
2dd8ed2270 Fix interpreter stuff, fix slicing with CompiledObject and a few other things. 2014-12-11 04:24:50 +01:00
Dave Halter
4aac363413 Some changes to the interpreter completions. 2014-12-11 03:49:05 +01:00
Dave Halter
220610bbf4 Importer now handles follow rest as well. 2014-12-11 02:28:55 +01:00
Dave Halter
48d2e99e55 os.path handling. 2014-12-11 01:49:59 +01:00
Dave Halter
ef0958a43c Temporarily change the behavior of a defined names test. Hard to say how we really want it to behave. 2014-12-11 00:44:31 +01:00
Dave Halter
d0ade9b2e9 Set a new version number: 0.9.0-alpha0. 2014-12-11 00:42:34 +01:00
Dave Halter
bb7bbf51ec Deprecate jedi.defined_names in favor of jedi.names. 2014-12-11 00:41:36 +01:00
Dave Halter
243fb8ef34 Small import fix. 2014-12-11 00:14:03 +01:00
Dave Halter
23417f0288 Fix docstrings in fake/skeleton objects. 2014-12-11 00:05:49 +01:00
Dave Halter
95620accdb Fix tests for namespace packages. 2014-12-10 19:19:13 +01:00
Dave Halter
897c4cded6 Fix issues with sys.path modifications that directly assign the sys.path or use the slicing notation. 2014-12-10 19:18:53 +01:00
Dave Halter
5af665abd8 Dynamic array checking in combination with FakeSequences might have caused an exception. 2014-12-10 11:42:02 +01:00
Dave Halter
4bef8895a0 Fix dynamic arrays: They work in instances, now. 2014-12-10 11:34:11 +01:00
Dave Halter
d4dfcfe321 NameFinder refactoring to make it possible to cache names_to_types. 2014-12-10 11:23:12 +01:00
Dave Halter
2536dede28 Check for recursions in dynamic arrays. 2014-12-10 02:02:55 +01:00
Dave Halter
e429144979 Fix some stuff list.append stuff combined with functions executions. 2014-12-10 01:58:04 +01:00
Dave Halter
5ed914ea21 dynamic array improvements. 2014-12-08 20:18:33 +01:00
Dave Halter
1c44336d60 First array addition working. 2014-12-08 18:25:38 +01:00
Dave Halter
4c3584ed3c Removed the dynamic_arrays_for_instances setting, because it's a subset of dynamic_array_additions, which is more concise. 2014-12-08 16:36:37 +01:00
Dave Halter
936a3c9dfe Small cleanup: Removed a few print statements. 2014-12-08 16:03:23 +01:00
Dave Halter
51d309b0a8 Moved keyword completion around to get it working in all cases. 2014-12-08 15:52:05 +01:00
Dave Halter
94ea2c1096 Issues with argument clinic parser. 2014-12-08 15:45:40 +01:00
Dave Halter
01b9361b33 Reenable keyword completion. 2014-12-08 15:14:27 +01:00
Dave Halter
5cc9dd57a6 Finally fixed the last on_import issue, which was that goto was not working on incomplete import statements. Still a bit messy, though. 2014-12-08 15:02:35 +01:00
Dave Halter
034d782e65 Last few on_import fixes. 2014-12-08 14:15:21 +01:00
Dave Halter
6cc4d71822 Import completion improvements. 2014-12-08 13:47:23 +01:00
Dave Halter
7cc2a07cd3 Small full_name improvements. 2014-12-08 12:38:59 +01:00
Dave Halter
8868b87d42 Make imports stuff in API classes work. Now goto on imports follows even aliases. 2014-12-08 12:04:09 +01:00
Dave Halter
0ad6aeba6b Fix some API classes issues. Among them call signature generation and Definition.parent() issues. 2014-12-08 02:32:43 +01:00
Dave Halter
0f01242954 named param goto. 2014-12-08 01:52:32 +01:00
Dave Halter
6ad9c5ee76 Small fixes to the parser tests. 2014-12-08 00:58:28 +01:00
Dave Halter
dffce937f2 With the old parser we did more complicated checking for invalid statements, now the new parser does it by itself. Therefore we can stop doing crazy regex stuff in the API. 2014-12-08 00:52:40 +01:00
Dave Halter
0c77e9960a NotFoundError doesn't really exist anymore. We're deprecating it, so change the corresponding tests. 2014-12-08 00:48:06 +01:00
Dave Halter
d6595ad020 Fixed more parser tests. 2014-12-08 00:36:09 +01:00
Dave Halter
fe8a99dfd5 Fix the parser tests. 2014-12-08 00:32:38 +01:00
Dave Halter
34c9422749 The parser tests should also give the parser a grammar. 2014-12-08 00:22:33 +01:00
Dave Halter
f0c430e20c On import problem with name completion of modules. 2014-12-08 00:16:01 +01:00
Dave Halter
b24bf29fc2 Fixed named argument call signature stuff and issues with classes and call signature params. 2014-12-07 23:55:44 +01:00
Dave Halter
bb747a83e8 Small fix with big impact for the previously done simple_stmt error recovery. Now it actually works. 2014-12-07 19:45:19 +01:00
Dave Halter
2b7434342e Fix absolute imports. 2014-12-07 18:51:14 +01:00
Dave Halter
eead122636 Use grammar in test scripts. 2014-12-07 18:22:11 +01:00