1
0
forked from VimPlug/jedi
Commit Graph

392 Commits

Author SHA1 Message Date
Dave Halter
ee18e19711 moved params to BaseDefinition. This enables completions and gotos to check for call signatures as well, fixes #238 2014-04-01 14:34:10 +02:00
Dave Halter
03b02f9830 temporary support for unicode in Documentation objects. We still need to discuss the exact details of that class #392 2014-03-31 12:44:47 +02:00
Dave Halter
4a9b9388df missing docstrings for imports in completions should be there now, fixes #340 2014-03-25 11:57:34 +01:00
Dave Halter
3f3788e800 add a Documentation() class to the API, which will be used in the future for all kind of docstrings. Also add a documentation method on BaseDefinition that returns a Documentation object. Deprecate at the same time its doc and raw_doc functions 2014-03-25 02:14:34 +01:00
Dave Halter
fa664534e4 make param backwards compatibility clearer 2014-03-25 01:08:29 +01:00
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
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
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
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
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
13696018a2 removed some functions from classes 2014-01-28 23:51:34 +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
97ad1c6a29 moved get_names_for_scope to finder 2014-01-17 11:33:46 +01:00
Dave Halter
157f76a55d keywords should be part of the api package 2014-01-13 14:24:34 +01:00
Dave Halter
83b490dd6d PyObject -> CompiledObject, PyName -> CompiledName 2014-01-13 14:09:03 +01:00
Dave Halter
a96a2baf5b fix an issue with missing '__class__' methods e.g. in numpy 2014-01-13 02:30:10 +01:00
Dave Halter
c75cef0882 fix some python 3 compatibility things (which involves some real bugs, but py2 was passing) 2014-01-12 17:02:26 +01:00
Dave Halter
0bff729294 lots of small bugfixes 2014-01-12 02:15:59 +01:00
Dave Halter
e7e802408b fix some api stuff for PyObject 2014-01-09 01:52:10 +01:00
Dave Halter
0cb23dcfa2 tried to start introducing the compiled module to the library 2014-01-09 01:30:29 +01:00
Dave Halter
73aeee6919 make defined_names public in api.classes, because it is 2014-01-07 15:47:00 +01:00
Dave Halter
6deac1dc41 api is now a separate package, to structure the whole thing better. 2014-01-07 15:33:24 +01:00