Commit Graph

273 Commits

Author SHA1 Message Date
Dave Halter
283a5086f9 use memoize_default instead of strange underscore_decorators in api classes 2014-04-02 10:34:43 +02:00
Dave Halter
305b593f3b create an is_callable method for all representation objects, to determine if something is callable or not 2014-04-02 09:42:15 +02:00
Dave Halter
d1a6dd1098 tests for call signatures that are not actually callable. 2014-04-01 15:22:43 +02:00
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
4a9b9388df missing docstrings for imports in completions should be there now, fixes #340 2014-03-25 11:57:34 +01:00
Dave Halter
33d59d8055 tests for documentation Completion.documentation - check if Jedi is following imports correctly 2014-03-25 11:20:48 +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
1c1b51f116 more type tests 2014-03-24 01:31:14 +01:00
Dave Halter
45fecabbf1 definition type shouldn't return import, we'd rather want the implementation name -> #340 2014-03-23 13:30:10 +01:00
Dave Halter
5aa6c770b3 refactor follow_definition tests 2014-03-23 12:40:33 +01:00
Dave Halter
67202db305 change a test (other library) so that python 3.4 also works 2014-03-21 15:36:13 +01:00
Dave Halter
266330c815 removed some deprecated calls 2014-03-15 14:21:23 +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
e13f0a60d2 signature should be defined as a definitions: tests 2014-03-14 13:20:00 +01:00
Dave Halter
56206a1ad8 fix test case for python3.3 2014-03-14 01:12:37 +01:00
Dave Halter
c5833003dc remove strange Definition.description length limitation 2014-03-13 23:09:40 +01:00
Dave Halter
92da4ca99f tests for call signature param names 2014-03-13 12:49:08 +01:00
Dave Halter
ec6d7df950 fix problems with decorators with call signatures, fixes #319 2014-03-13 01:29:32 +01:00
Dave Halter
28d5da2f73 call signatures: decorator in class, test for #319 2014-03-13 00:05:23 +01:00
Dave Halter
2252271bf5 fix unicode issues with python2.7 2014-02-25 12:54:06 +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
8660555d7b moved api, parser and evaluate test directories to test_api, test_parser... 2014-01-29 21:16:18 +01:00