305b593f3b
create an is_callable method for all representation objects, to determine if something is callable or not
Dave Halter2014-04-02 09:42:15 +02:00
d1a6dd1098
tests for call signatures that are not actually callable.
Dave Halter2014-04-01 15:22:43 +02:00
72aa7f918f
the type of a compiled object is also function, not def
Dave Halter2014-04-01 14:45:05 +02:00
ee18e19711
moved params to BaseDefinition. This enables completions and gotos to check for call signatures as well, fixes#238Dave Halter2014-04-01 14:32:20 +02:00
03b02f9830
temporary support for unicode in Documentation objects. We still need to discuss the exact details of that class #392Dave Halter2014-03-31 12:44:47 +02:00
9b3b28f185
use defaultdict instead of OrderedDict for testing purposes, since OrderedDict is not supported in Python 2.6
Dave Halter2014-03-31 12:18:53 +02:00
dc953d3c54
fix broken goto_definition command for variables in the same statement
Dave Halter2014-03-29 16:52:54 +01:00
ced5b6ca82
goto_assignments and usages both working now with issues like #315Dave Halter2014-03-29 16:37:39 +01:00
b680246195
docstring working for local definitions as well
Dave Halter2014-03-27 12:34:53 +01:00
196fcdb4df
docstring param hints not working properly - test for #370Dave Halter2014-03-26 16:47:54 +01:00
2dbfe46a5a
fix a minor issue with __repr__ for decorators
Dave Halter2014-03-26 16:33:31 +01:00
4a9b9388df
missing docstrings for imports in completions should be there now, fixes#340Dave Halter2014-03-25 11:57:34 +01:00
33d59d8055
tests for documentation Completion.documentation - check if Jedi is following imports correctly
Dave Halter2014-03-25 11:20:48 +01:00
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
Dave Halter2014-03-25 02:14:34 +01:00
fa664534e4
make param backwards compatibility clearer
Dave Halter2014-03-25 01:08:29 +01:00
18ca96803f
implement a Completion.type version for #340, follow imports if they are in a from clause or if its a longer imnport
Dave Halter2014-03-23 17:51:03 +01:00
45fecabbf1
definition type shouldn't return import, we'd rather want the implementation name -> #340Dave Halter2014-03-23 13:30:10 +01:00
83b7190a0a
a follow function for the Importer which solves the issues with follow_definitions
Dave Halter2014-03-21 14:09:12 +01:00
fa0502d762
again testing improvements. follow_definitions imports are now pretty much covered
Dave Halter2014-03-21 13:50:29 +01:00
eeeeee49f5
new tests for that whole import mess
Dave Halter2014-03-21 11:12:40 +01:00
a06310db4a
again a temporary follow_definition for imports
Dave Halter2014-03-21 09:27:52 +01:00
1703f7cca6
kind of separated Importer from ImportPath
Dave Halter2014-03-20 18:21:17 +01:00
58026c6542
temporary conversion of the imports module to separate import processing from actually importing things
Dave Halter2014-03-19 16:40:38 +01:00
c7fc13743f
add proper deprecation warnings and warnings become error messages in Jedi; also deprecate CallSignature.call_name
Dave Halter2014-03-14 14:48:33 +01:00
064f161acc
signature is now a subclass of definitions
Dave Halter2014-03-14 13:32:03 +01:00
e13f0a60d2
signature should be defined as a definitions: tests
Dave Halter2014-03-14 13:20:00 +01:00
394e2e77de
refactored the development docs, which was badly needed especially since evaluate/dynamic.py doesn't contain a lot of functionality anymore.
Dave Halter2014-03-11 17:26:38 +01:00
9da09c9058
improve the testing documentation. Add a section about the alternate test runner ./run.py
Dave Halter2014-03-11 14:27:11 +01:00
90338aa828
fix sphinx documentation issues (call it through the right namespace)
Dave Halter2014-03-11 14:17:16 +01:00
8aa71d7cd6
fix version string in documentation
Dave Halter2014-03-11 14:07:41 +01:00
b7a4b543fd
exclude deprecated members from documentation (there are just too many), this can be undone once we've removed the old API (also cleaned up docs/conf.py a little bit). fixes#317Dave Halter2014-03-11 13:57:58 +01:00
17ecd73df9
fix @Alexey-T's concern of deprecated documentation, see #317Dave Halter2014-03-11 13:23:25 +01:00
2457da0e7d
moved extension tests into test_evaluate folder
Dave Halter2014-03-11 12:37:02 +01:00
cd7774f25f
lambda can be used as a default param in function, which means there have been slight changes to the parser to allow that (comma in a function definitions doesn't always mean new param), fixes#379Dave Halter2014-03-11 12:24:36 +01:00