Commit Graph

30 Commits

Author SHA1 Message Date
Dave Halter
9f16555f47 Big refactoring: BaseDefinition._definnition changes to BaseDefinition._name, because it's a NamePart now.
This also includes changes to tests and some simplifications like deleting the old name logic of Definition.
2014-09-11 01:03:30 +02:00
Dave Halter
45e033c50e Quite a few fixes to be eventually able to use NameParts as Definition inputs. 2014-09-09 15:21:27 +02:00
Dave Halter
bb5ffe9343 CompiledObject.name returns a Name now, not a string. This is more consistent with the Jedi design and doesn't lead to bugs while ducktyping. 2014-09-03 19:43:21 +02:00
Dave Halter
54dce0e3b2 fix strange issues of Python's std lib tokenizer, might be in there as well (not sure, cause I modified a lot). fixes #449 2014-08-04 16:47:36 +02:00
Dave Halter
b2b4827ce3 moved test_token to test_tokenize 2014-08-04 16:25:33 +02:00
Dave Halter
cfe54e83ff incomplete functions shouldn't cause any trouble. fixes #429. 2014-07-28 17:42:20 +02:00
Dave Halter
606b6851ff remove the scope_names_generator stuff again. We should enable it somewhere in time, but for now it just breaks tests. 2014-07-27 09:43:22 +02:00
Dave Halter
c85bdb8ff1 little edge case of modules that don't have a scope_names_generator, which is unfortunately missing, but not really used in Jedi.
At europython's hackathon we played with it and @scoder added a small script to cython/Cython/Compiler/JediTyper.py, which makes it possible to add Cython types to a Python script.
2014-07-26 13:18:04 +02:00
Akinori Hattori
10b7ed967d organize imports 2014-07-19 10:41:19 +09:00
Dave Halter
2616143d10 unicode issues with docstrings should be gone, fixes #420 2014-07-18 17:43:25 +02:00
Dave Halter
e07f51387f added a test for hex value issues in docstrings, see #427 2014-07-18 17:09:44 +02:00
Dave Halter
0f665bf436 test for #424, issues with form feeds 2014-07-18 16:52:25 +02:00
Dave Halter
21341283ca another parser issue, very much related to the last one. sometimes a None element was used as a token.fixes #418 2014-07-18 15:10:10 +02:00
Dave Halter
b7bf8d515c support for completions on return statements. 2014-06-22 12:05:22 +02:00
Dave Halter
06bae0e835 fix test issue with python 2.7 2014-05-16 18:03:36 +02:00
Dave Halter
4e596060b9 test for is_nested failure 2014-05-16 13:00:13 +02:00
Dave Halter
a4b9ccc2e7 the fast parser was able to return wrong sub parsers, because the sometimes hashes were not updated, fixes #396. 2014-05-04 16:36:41 +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
f64b309ff0 carriage return test for statements that continue, even though they shouldn't 2014-05-04 12:31:21 +02:00
Dave Halter
ef62904af3 python 2 compatibility (also with the new travis build) 2014-05-04 11:50:13 +02:00
Dave Halter
091518d924 test for carriage return issues. fast parser seems to be counting characters wrong when carriage returns are involved. see #402 2014-05-04 01:56:53 +02:00
Dave Halter
a97c91002f replace name and statement end_pos (this way we can get rid of all that end_pos crap soon) 2014-03-05 23:46:39 +01:00
Dave Halter
65ce609a3c protect token_list -> _token_list 2014-03-04 12:43:37 +01:00
Dave Halter
b28f8fc7b4 test_parsing -> test_parser 2014-02-26 10:45:28 +01:00
Dave Halter
9257062910 remove NoErrorTokenizer dependency for all but the fast parsers 2014-02-24 10:31:15 +01:00
Dave Halter
8e847f4982 fix python 2.7 issues. the parser now only takes unicode inputs 2014-02-23 11:44:32 +01:00
Dave Halter
c8d6fbb0a1 temporary changes for the tokenizer issues 2014-02-20 00:43:42 +01:00
Dave Halter
040ea2b735 fix a few annoyances to be quicker to develop now (disabled a few tests for now) 2014-02-13 15:40:51 +01:00
Dave Halter
6939e3e18f moved test_get_code to test_parser 2014-02-12 11:33:46 +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