Commit Graph

52 Commits

Author SHA1 Message Date
Dave Halter
ef2e2f343e Fix some warnings. 2017-05-25 12:24:21 -04:00
Dave Halter
a5a54fbc85 Fix a call signature issue. 2017-02-01 19:21:07 +01:00
Dave Halter
c7241068e8 Fix an issue with call signatures in empty files. 2017-01-02 19:39:48 +01:00
Dave Halter
c4eec88fc9 Reenable some tests that were somehow disabled. 2016-12-30 20:47:40 +01:00
Dave Halter
439e394535 Fix call signatures. 2016-12-04 03:52:33 +01:00
Dave Halter
a4edf5d5d1 Test lambdas better. 2016-07-31 11:41:39 +02:00
Dave Halter
e5f09e1c7d Fix an issue with end_pos of a module. 2016-07-08 00:03:52 +02:00
Dave Halter
e0631cfda2 Add new tests and certain fixes for some new call signature issues. 2016-06-20 18:20:35 +02:00
Dave Halter
b9d3371f39 Small refactoring of call signatures. 2016-06-20 08:44:56 +02:00
Dave Halter
389885c285 Fix some of the newer call_signature tests. 2016-06-18 00:47:53 +02:00
Dave Halter
7ddc9c9c78 Fix all call signature tests. 2016-06-17 17:03:34 +02:00
Dave Halter
32346c6da8 A lot of call signature refactorings. Note that this commit is totally broken. 2016-06-17 00:20:13 +02:00
Dave Halter
653f247a42 Fix a goto_definitions test. 2016-06-13 18:27:39 +02:00
Dave Halter
436f7dffe0 Fix another very annoying fast parser issue. 2016-06-06 08:37:40 +02:00
Dave Halter
607f43290f The backwards tokenizer sometimes parsed not only string literals but also normal names. 2015-04-28 18:10:08 +02:00
Dave Halter
e2455eb670 Call signatures should work better for builtin classes (ducktyping). Fixes #515. 2015-04-10 13:45:23 +02:00
Dave Halter
74779f1a5d Test and preparations for better call signatures with builtins, see #515. 2015-04-10 03:05:38 +02:00
Dave Halter
47bf1c5daf Issue with numbers after names in call signatures. It would cause Jedi to stop analysing call signatures. Fixes #510 2015-04-10 02:17:12 +02:00
Dave Halter
a3c2108ecf Fix and test CallSignature.bracket_start. 2015-03-04 12:15:43 +01:00
Dave Halter
ea8209d45e Call signatures should not fail when used on if(. 2015-02-27 12:17:44 +01:00
Dave Halter
8c08a4e574 Call signatures again: function definitions and other things that cannot be a part of call signatures stop the process of scanning for them. Also strings get replaced and simplified. 2015-02-25 13:33:09 +01:00
Dave Halter
48392a7dac Fix some issues in call signatures. 2015-02-24 16:55:33 +01:00
Dave Halter
b8386d29d5 Whitespace before brackets should still show call signatures. 2015-02-24 01:48:25 +01:00
Dave Halter
6e5ba3de87 Fix remaining issue siwh the Param refactoring. 2015-02-11 01:40:18 +01:00
Dave Halter
b24bf29fc2 Fixed named argument call signature stuff and issues with classes and call signature params. 2014-12-07 23:55:44 +01:00
Dave Halter
ab254bbcba Call signature search progress. 2014-12-05 00:23:59 +01:00
Dave Halter
bcc84820fe Fix issues with unreachable flows.
This benefits static analysis as well as autocompletion: Unreachable code (things like code within 'if 0:') should still be resolveable.
2014-09-03 00:05:37 +02:00
Dave Halter
8bde89cc58 Fix the remaining issues with the StatementElement.next refactoring. 2014-08-19 00:12:14 +02:00
Dave Halter
81f3b940e8 dicts should not be used to check against in get_defined_names, because they cannot contain a defined name (lists and tuples can) so just ignore them., fixes #417 2014-07-18 15:37:10 +02:00
Dave Halter
4626a8b6df test for #417 2014-07-18 15:23:47 +02:00
Dave Halter
b5b79fc818 partial support for *args/**kwargs in CallSignature.index, fixes #395 2014-05-05 00:12:43 +02:00
Dave Halter
f2af053a4a fix the CallSignature.index attribute 2014-05-04 23:36:24 +02:00
Dave Halter
16fd7f5424 create a more specific test for #396, which is again a fast parser issue 2014-05-04 15:53:53 +02:00
Dave Halter
672594514e call_signature/completion interference issues 2014-05-04 13:12:49 +02:00
Dave Halter
065e9a001d call signature test change to avoid version changes of python 3.2.5 (int docstrings have changed, travis has updated since) 2014-05-03 20:12:39 +02:00
Dave Halter
bb6874bc7c fix for problems with incomplete one liner string literals, after a start of an incomplete string literal the whole line should be seen as an error token 2014-04-19 13:56:29 +02:00
Dave Halter
33fa2b0cb4 call_signatures should work on more nested edge cases 2014-04-18 17:17:10 +02:00
Dave Halter
69364c598f fix abroken test 2014-04-02 16:01:39 +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
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
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