Commit Graph

695 Commits

Author SHA1 Message Date
Dave Halter
0582979db5 documentation to docstring, #395 2014-04-17 14:13:47 +02:00
Dave Halter
ddc1cb0e6a same problem with KeywordStatement 2014-04-16 10:28:12 +02:00
Dave Halter
15fdecdb61 for flows triggered an exception if goto_assignments was used on the keyword. found with the help of sith.py 2014-04-16 09:57:01 +02:00
Dave Halter
17345b6e78 reduce/remove getitem side effects, tests for #297 2014-04-07 16:06:07 +02:00
Dave Halter
ea62ad6a50 backwards tokenizer can now handle 10e-5 and so on literals 2014-04-07 15:51:24 +02:00
Dave Halter
1704185ed1 fix Completion.parent() issues with builtins 2014-04-07 15:21:17 +02:00
Dave Halter
0d9f9f0e4a parent on completions tests 2014-04-07 14:54:56 +02:00
Dave Halter
120099ac5e removed the complex number tests somewhere along the line -> reintroduced. 2014-04-07 14:46:26 +02:00
Dave Halter
484ace2cfd fix last problems with #327 2014-04-07 14:43:46 +02:00
Dave Halter
b48d0bf622 passing hex/oct/bin tests for #327 2014-04-07 14:12:12 +02:00
Dave Halter
d15203162a more tests for #327, for complex numbersand the power notation. 2014-04-07 13:50:07 +02:00
Dave Halter
99beac1c2b fix completion on int literals, fixes #327 2014-04-07 13:04:45 +02:00
Dave Halter
79e2ec85cc implement slicing for __getitem__ with interpreter 2014-04-04 15:09:25 +02:00
Dave Halter
a6fbcde184 more detailed tests and implementation of array indexing in the interpreter 2014-04-04 13:22:12 +02:00
Dave Halter
b8987fe451 CompiledObject.get_index_types implementation example 2014-04-03 19:05:29 +02:00
Dave Halter
9959929220 test lists in Interpreter, #297 2014-04-03 11:42:22 +02:00
Dave Halter
69364c598f fix abroken test 2014-04-02 16:01:39 +02:00
Dave Halter
a66f8e5a0b more Definition.parent tests. 2014-04-02 15:44:55 +02:00
Dave Halter
d8c433cb20 Definition.parent is working. fixes #325 2014-04-02 15:37:41 +02:00
Dave Halter
99f292fbb5 tests for Definition.parent(), #325 2014-04-02 15:25:57 +02:00
Dave Halter
b823a196d6 tests for support for symbol browsing with imports and 'defined_names', see #344 2014-04-02 13:17:55 +02:00
Dave Halter
d6ffc80f0e cast pr.Function to er.Function even in the api. 2014-04-02 11:40:50 +02:00
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