1
0
forked from VimPlug/jedi
Commit Graph

66 Commits

Author SHA1 Message Date
Dave Halter
18ca96803f implement a Completion.type version for #340, follow imports if they are in a from clause or if its a longer imnport 2014-03-23 17:51:03 +01:00
Dave Halter
c8b3658d63 forgot to deprecate source_encoding properly -> #389 2014-03-23 12:54:39 +01:00
Dave Halter
83b7190a0a a follow function for the Importer which solves the issues with follow_definitions 2014-03-21 14:09:12 +01:00
Dave Halter
fa0502d762 again testing improvements. follow_definitions imports are now pretty much covered 2014-03-21 13:50:29 +01:00
Dave Halter
a06310db4a again a temporary follow_definition for imports 2014-03-21 09:27:52 +01:00
Dave Halter
58026c6542 temporary conversion of the imports module to separate import processing from actually importing things 2014-03-19 16:40:38 +01:00
Dave Halter
9f12352ec1 tests for import completions and a following follow_definition call 2014-03-17 11:58:29 +01:00
Dave Halter
253e1c5717 generalize Definition.name even more 2014-03-17 10:46:32 +01:00
Dave Halter
aca7668da6 small internal change for Script, _source_path to _orig_path 2014-03-17 08:58:03 +01:00
Dave Halter
c7fc13743f add proper deprecation warnings and warnings become error messages in Jedi; also deprecate CallSignature.call_name 2014-03-14 14:49:13 +01:00
Dave Halter
064f161acc signature is now a subclass of definitions 2014-03-14 13:32:03 +01:00
Dave Halter
c1dec3e87a remove CallSignature.module, because that's something for internal use 2014-03-14 01:34:04 +01:00
Dave Halter
56206a1ad8 fix test case for python3.3 2014-03-14 01:12:37 +01:00
Dave Halter
88af0ad7d7 deprecate Param.get_code 2014-03-13 23:11:20 +01:00
Dave Halter
c5833003dc remove strange Definition.description length limitation 2014-03-13 23:09:40 +01:00
Dave Halter
2bb40fcee8 CallDef -> CallSignature 2014-03-13 22:55:16 +01:00
Dave Halter
4b5ac063d3 Param docstrings 2014-03-13 22:53:42 +01:00
Dave Halter
2ae5dad78b fix Definition.name API for params 2014-03-13 22:48:02 +01:00
Dave Halter
f132dd852d fix Param calling in API 2014-03-13 11:27:53 +01:00
Dave Halter
a835fcd0ce start using a specialised param class for CallDef 2014-03-13 11:16:00 +01:00
Dave Halter
5764e760d2 improve internal module links for sphinx documentation 2014-03-11 15:46:08 +01:00
Dave Halter
60ff2bc088 fix an invalid statement that has changed because of changes to the parser. 2014-03-09 11:56:29 +01:00
ColinDuquesnoy
d5ba683756 Fix api.classes.CallDef.params
We need to check for compiled objects
2014-02-26 13:53:35 +01:00
Dave Halter
44e16c11e5 fixed docstr problems with unified interfaces 2014-02-26 02:33:18 +01:00
Dave Halter
5e5bb618ea remove token.py, docstrings are now just normal tokens until used 2014-02-26 01:13:38 +01:00
Dave Halter
7db090a48a moved NoErrorTokenizer to fast.FastTokenizer 2014-02-24 11:05:31 +01:00
Dave Halter
c5fcebde82 changed _compatibility.utf8 -> 'u' and removed a lot of the issues with the now enforced unicode source input of the parser 2014-02-23 11:29:00 +01:00
Dave Halter
c8d6fbb0a1 temporary changes for the tokenizer issues 2014-02-20 00:43:42 +01:00
Dave Halter
1b6df4602d replace parser tokenizer offset with line offset 2014-02-17 23:02:04 +01:00
Dave Halter
600371632f NamePart is now no str subclass anymore. They are separated, which makes us save a lot of dicts 2014-02-13 19:22:36 +01:00
Dave Halter
2f3e4152b4 Merge branch 'get_code_fidelity' of git://github.com/ganwell/jedi into ganwell 2014-02-12 11:09:08 +01:00
Dave Halter
36de8c427f moved more functions from api to helpers 2014-01-29 00:28:31 +01:00
Dave Halter
7aef1f934d simplified _prepare_goto 2014-01-29 00:03:03 +01:00
Dave Halter
13696018a2 removed some functions from classes 2014-01-28 23:51:34 +01:00
Dave Halter
9cfa8fead0 create a helpers module to push some api functions into it (make the api code easier to read. 2014-01-28 23:26:50 +01:00
Dave Halter
2175416684 removed keyword docstring functionality for goto_definitions - will be reintroduced with a Script.documentation function 2014-01-28 22:27:26 +01:00
Jean-Louis Fuchs
34e89fa1c5 Merge branch 'dev' into get_code_fidelity
Conflicts:
	jedi/evaluate/docstrings.py
	jedi/parser/representation.py

Resolving merge problems:
* Introducing docstring for compiled.fake
* Partly fixing poor decision in TokenDocstring __init__
2014-01-28 00:37:06 +01:00
Dave Halter
f6b1e5635e move usages to its own api module usages 2014-01-26 23:04:38 +01:00
Dave Halter
ba6a65c477 user_stmt refactoring 2014-01-26 19:30:05 +01:00
Dave Halter
6a4f33f373 call signatures with whitespace seem to be working 2014-01-26 19:13:06 +01:00
Dave Halter
c8fffbd7b6 fix python2.6 issues with completing colorama. this happened because of a missing object parent class 2014-01-22 17:14:28 +01:00
Dave Halter
7b1c35c3ed fix python 3 issues with the new interpreter implementation 2014-01-22 16:33:00 +01:00
Dave Halter
4a71f4beeb fixes for the interpreter stuff, py27 works now fine 2014-01-22 15:42:11 +01:00
Dave Halter
7c105d27e0 some tests survive the new interpreter module already 2014-01-22 15:17:50 +01:00
Dave Halter
9e063b1248 started writing a new interpreter module that is heavily simplified and fits the current Jedi architecture way better. 2014-01-21 23:35:21 +01:00
Dave Halter
97ad1c6a29 moved get_names_for_scope to finder 2014-01-17 11:33:46 +01:00
Dave Halter
588fbea4f9 start to remove user_stmt parsing 2014-01-17 00:25:30 +01:00
Dave Halter
4bf72eeaed create a customized UserContextParser for user_stmt and user_scope 2014-01-16 12:12:21 +01:00
Dave Halter
134cd234de moved user_stmt up in api 2014-01-15 17:35:40 +01:00
Dave Halter
99882724da is_py3k -> is_py3 2014-01-14 11:43:56 +01:00