1
0
forked from VimPlug/jedi
Commit Graph

216 Commits

Author SHA1 Message Date
David Halter 5ad12bc8aa fix mro usage and all the type stuff (see also my blog post about why dir is wrong). fixes #314, fixes #86 2013-09-13 22:47:00 +04:30
David Halter fcc6c4d811 goto before assignments should still work, 305 2013-09-06 14:56:35 +04:30
David Halter 2deccb6d66 correct docstring, fixes #310 2013-09-06 13:03:30 +04:30
David Halter 13f0c2b91f all the import changes 2013-09-06 01:19:19 +04:30
David Halter 33711ba966 fix problems with literals, finally 2013-09-06 00:40:08 +04:30
David Halter 37ecf943af finally able to remove stmt.set_vars property 2013-09-02 21:43:23 +04:30
David Halter 3d3157eff8 remove unused set_vars, but there are still set_vars that shouldn't be in defined_names, #205 2013-08-31 23:52:12 +04:30
David Halter 1ebf68999a make source parameter in Script optional 2013-08-31 14:41:37 +04:30
David Halter 0d221ffebc line/column ValueError are now being raised if they are not valid in Script 2013-08-31 11:51:52 +04:30
David Halter eca786bf0e fix a problem with empty scripts 2013-08-21 13:42:18 +04:30
David Halter 2e8432de21 don't use function_definition as a name anymore, also not in helper functions 2013-08-21 13:38:13 +04:30
David Halter 78f1ae5e71 change strange usage of resetting positions in Script 2013-08-18 19:30:11 +04:30
David Halter ef2d99358f move Script.pos to Script._pos 2013-08-18 19:28:34 +04:30
David Halter a8e259763e fix problem with variables in from clauses, #268 2013-08-17 22:04:55 +04:30
David Halter a1d61e4855 after 'from namespace ', only import completion is allowed, as well as a lot of related fixes to context/user_stmt stuff, fixes #291 2013-08-17 21:28:53 +04:30
David Halter e46d33be90 move completion to interpreter, which improves shell completion 2013-08-17 10:49:23 +04:30
David Halter 2612963f58 fix many position problems 2013-08-17 00:34:20 +04:30
David Halter cb21de45f1 add parsing tests for name/call positions 2013-08-16 21:34:58 +04:30
David Halter 8996bd6ad1 modifications to use a differnt kind of completion for the interpreter 2013-08-16 13:38:50 +04:30
David Halter fbcecaf1ef deprecate 'source_path' as a Script parameter in favour of 'path' 2013-08-15 19:25:19 +04:30
David Halter 9a3ea38b1c use builtin repl completion after all, but written by us not the std lib module, which doesn't seem to work really, #280 2013-08-15 12:47:10 +04:30
David Halter a895561f1a fixed a problem that combined __getattr__ and usages 2013-08-13 15:39:26 +04:30
David Halter e07625017d remove all the deprecation warnings in jedi itself 2013-08-11 23:00:27 +04:30
David Halter 86394a7ed5 fix problems with imports as user_statement and brackets, fixes #285 2013-08-11 01:14:13 +04:30
David Halter 649135ea7b goto_assignments more readable 2013-08-11 00:06:04 +04:30
David Halter 2ea2a8c6cd filter all non executables when used with call_signatures, fixes #240 2013-08-07 14:36:35 +04:30
David Halter c6e08221ce fixed more import problems (also with the import usage), definitely fixes davidhalter/jedi-vim#152 2013-08-07 10:24:28 +04:30
David Halter 1a8227aeec changed no duplicate modules test to respect attributes with the same name as their module 2013-08-06 13:52:25 +04:30
David Halter 0dc3106569 add keyword_names method to keyword module (includes test), fixes #248 2013-08-06 10:55:05 +04:30
David Halter 972d4e9a08 fix a problem with dynamic flow information and usages 2013-07-24 01:28:15 +02:00
David Halter 991b138ff3 star imports and usages 2013-07-23 17:21:12 +02:00
David Halter fd2e158cf6 fix usage problem on **kwargs params 2013-07-23 16:33:59 +02:00
David Halter 52c8340d72 invalid goto syntax 2013-07-23 00:19:58 +02:00
David Halter b6e9f16a01 fix a completion problem on docstrings 2013-07-17 16:48:50 +02:00
Laurens Van Houtven bb0a4e0d0a Fix indentation according to PEP8 in api.py 2013-07-11 14:55:36 +02:00
Laurens Van Houtven 3817110717 Remove unneccessary pass statement 2013-07-11 14:55:16 +02:00
Laurens Van Houtven cdc41128b4 (Mostly) whitespace fixes 2013-07-10 14:45:47 +02:00
Takafumi Arakaki a4922774c0 Fix the previous error 2013-05-23 15:32:32 +02:00
David Halter 384334ae06 goto on import statement (only import) raised an error 2013-05-19 20:40:54 +04:30
Takafumi Arakaki 6acf34efd3 Fix: api.defined_names was run against wrong scope
when there is only one class is defined in the module.
2013-05-19 05:08:18 +02:00
Takafumi Arakaki 5f2477d5bf Merge branch 'interpreter-api' into dev
Conflicts:
	jedi/__init__.py
	test/test_regression.py

See: #145
2013-05-18 22:28:56 +02:00
David Halter 15885e8685 preload_module function for IDEs, to control which modules to load on startup, refs #102 2013-05-13 09:13:59 +04:30
Takafumi Arakaki 19b3fef0c5 Remove fast option from api.Script 2013-05-11 21:59:39 +02:00
Takafumi Arakaki a870fece0f Use fast parser in api.Interpreter 2013-05-11 21:47:55 +02:00
Takafumi Arakaki 2846fe980b Remove api._quick_complete 2013-05-11 21:40:00 +02:00
Takafumi Arakaki 08f8dcfae4 Do not repeat defaults in Interpreter.__init__ 2013-05-11 21:37:53 +02:00
Takafumi Arakaki 6af2a0677d Compute default line/column/source_path in api.Script 2013-05-11 21:36:43 +02:00
Takafumi Arakaki 633f582184 Add jedi.interpret.ObjectImporter
and move scope manipulation functions in api.Interpreter to there.
2013-05-11 21:33:57 +02:00
Takafumi Arakaki e8914e7856 Document api.Interpreter 2013-05-04 17:45:34 +02:00
Takafumi Arakaki 8fc396371c Respect settings.fast_parser 2013-05-04 17:44:59 +02:00