Dave Halter
|
8ca48f03db
|
Tests for imports and is_definition.
|
2014-10-02 11:14:03 +02:00 |
|
Dave Halter
|
99d35e57b6
|
Fix alias usages in goto_assignments.
|
2014-09-19 13:42:47 +02:00 |
|
Dave Halter
|
ed56f73836
|
Care for nested imports in goto_assignments.
|
2014-09-19 12:14:29 +02:00 |
|
Dave Halter
|
fc5f73861c
|
Fix issues with the os module.
Using a try/finally assures that the recursion checkers work the right way.
|
2014-09-19 10:59:24 +02:00 |
|
Dave Halter
|
83d2af5138
|
First imports are working with goto.
|
2014-09-19 01:21:17 +02:00 |
|
Dave Halter
|
610b2fc832
|
tests for goto on imports.
|
2014-09-19 00:49:22 +02:00 |
|
Dave Halter
|
7b0bb83d16
|
Change the behavior of eval_statement_element and follow_call_path. Arrays should only be looked at in the latter.
|
2014-09-18 23:44:11 +02:00 |
|
Dave Halter
|
69e6139527
|
Goto on named params in class calls is now working.
|
2014-09-18 20:11:58 +02:00 |
|
Dave Halter
|
ba80e35204
|
Test for an issue with named params in class calls (instead of functions).
|
2014-09-18 13:30:52 +02:00 |
|
Dave Halter
|
9fa6a86a19
|
Tests for Definition.is_definition().
|
2014-09-17 18:17:22 +02:00 |
|
Dave Halter
|
0eea30f227
|
NamePart migration of Definition is complete. Now Completion.
|
2014-09-10 18:29:10 +02:00 |
|
Dave Halter
|
2aa538999e
|
Removed an old test from the days where it was allowed to add Keywords to Definitions.
|
2014-09-10 18:05:04 +02:00 |
|
Dave Halter
|
43cf1d451f
|
Python 2/3 compatibility issues that were not resolved in the latest commit.
|
2014-09-09 17:51:39 +02:00 |
|
Dave Halter
|
87aa76678a
|
Goto should work on named params, too.
|
2014-09-09 16:48:53 +02:00 |
|
Dave Halter
|
740fd0657f
|
Add a goto_assignments test for named params
|
2014-09-09 00:06:24 +02:00 |
|
Dave Halter
|
0dcb91d236
|
Add a Definition.is_definition function to be able to check if a name is a definition or not.
|
2014-09-08 23:44:35 +02:00 |
|
Dave Halter
|
851717a968
|
Publicize jedi.names and add a first test.
|
2014-09-08 22:39:47 +02:00 |
|
Dave Halter
|
ca536baf9b
|
Last fixes, because of the Name.get_definition change. The recent parser.representation changes are now fully working and we're ready to improve Evaluator.goto again.
|
2014-09-06 13:23:00 +02:00 |
|
Dave Halter
|
ece9fdf4ae
|
Fixing most of the issues that existed, because of the recent Name.get_definition/Call.name.parent change.
|
2014-09-06 13:02:52 +02: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
|
fb1dba269a
|
re-enable the interpretation of the None keyword
|
2014-08-12 14:38:56 +02:00 |
|
Dave Halter
|
7b4a188948
|
fix a few small issues that remained in the tests
|
2014-07-31 17:34:35 +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 |
|
Fredrik Bergroth
|
d3ac1e902e
|
Always cast pr to er in _follow_statements_imports
|
2014-06-11 23:49:36 +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
|
2205117f92
|
test for #397, something raises ModuleNotFound if we use Definition.type
|
2014-04-30 16:58:27 +02:00 |
|
Dave Halter
|
81cc50e8b5
|
well yeah give NamePart a get_code method after all, makes sense, because all the other parser representation objects have it.
|
2014-04-20 14:32:48 +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
|
99b1ad18b4
|
test for davidhalter/jedi-vim#268, Definition objects should be unique per position. This was fixed a few commits ago by the whole usage fixes.
|
2014-04-18 15:10:57 +02:00 |
|
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 |
|