Commit Graph

104 Commits

Author SHA1 Message Date
David Halter
c808bcef70 little description of regression and refactor 2013-03-01 00:23:13 +04:30
Takafumi Arakaki
38fc49022f Include __init__ call signature in Class.doc 2013-02-25 01:50:31 +01:00
Takafumi Arakaki
4ba9fd2b68 Fix Statement.get_code
Parsed Statement.assignment_details must be used.  Otherwise,
incorrect code is returned at the first time Statement.get_code
is called.
2013-02-25 01:43:22 +01:00
Takafumi Arakaki
e1e2ed8fcc Add a test for docstring in call signature 2013-02-24 22:45:10 +01:00
David Halter
6ea64a28bf dev/refactor merge 2013-02-23 20:53:57 +04:30
David Halter
4d7aad4ce8 deleted old crap code 2013-02-23 01:13:21 +04:30
David Halter
b0c3fd5439 api.Script.get_definition -> definition, to be consistent in the api naming. deprecated api.Script.get_definition 2013-02-21 22:12:51 +04:30
David Halter
f8e0c78f77 Script.get_in_function_call -> Script.function_definition 2013-02-21 22:05:39 +04:30
David Halter
d05018757d completely rewrote helpers.search_function_definition 2013-02-21 19:56:05 +04:30
Danilo Bargen
ea9a667425 Fixed issue with repr encoding (fixes davidhalter/jedi-vim#94) 2013-02-14 21:10:06 +01:00
Danilo Bargen
3ab2b0a244 Added (failing) regression test for davidhalter/jedi-vim#94 2013-02-14 20:26:31 +01:00
Takafumi Arakaki
e12212942f Add a failing test for type inference from docstring 2013-01-30 01:01:25 +01:00
David Halter
35e55fab25 improved import statement keyword autocompletion, #111 2013-01-14 22:32:34 +01:00
David Halter
ac2b0016d5 fix import problems with negative kill_counts, fixes #111 2013-01-14 21:25:48 +01:00
David Halter
d08ee04fbb regression tests for #111 2013-01-14 18:41:09 +01:00
David Halter
7b150630f0 stopiteration works in strange ways in the parser in py2, fixes #70, affects probably davidhalter/jedi-vim#68 2013-01-12 12:15:32 +01:00
David Halter
00f7088c05 test for davidhalter/jedi-vim#70 2013-01-12 00:11:38 +01:00
David Halter
b991190f50 python 3 compatibility, which is nicer anyway 2013-01-08 12:58:13 +01:00
David Halter
869572fe64 further improvements of the jedi import in tests 2013-01-08 12:29:17 +01:00
David Halter
3c4e079ecb import jedi in tests and not api 2013-01-08 12:15:50 +01:00
David Halter
31e8a8c5a2 remove sys path stuff in run.py (it's in base) 2013-01-05 20:19:48 +01:00
David Halter
15bd963f59 move test bases to test/base.py 2013-01-05 18:59:56 +01:00
David Halter
79e2bf80d0 don't use json (doesn't work in py2.5), even if it's not relevant. fixes #94 again :-) 2013-01-05 18:28:09 +01:00
Danilo Bargen
c14feb3f86 Renamed quick_complete to _quick_complete 2013-01-05 01:48:39 +01:00
Danilo Bargen
12b726c5a5 Added quick_complete convenience function 2013-01-03 23:10:35 +01:00
David Halter
71b50bdbd7 return None on keywords for BaseDefinition.full_name, fixes #94 2012-12-30 10:49:18 +01:00
David Halter
548fb64fd7 test for #94 2012-12-30 10:39:08 +01:00
David Halter
07dbebe277 test for problem with points in completion 2012-12-29 23:38:47 +01:00
David Halter
55c7d414b0 and again something forgotten... sooo tired!!! 2012-12-22 01:55:34 +01:00
David Halter
3d06f7a257 and again some forgotten imports in the tests 2012-12-22 01:52:40 +01:00
David Halter
bb31d3de3f pep8 2012-12-19 20:58:52 +01:00
David Halter
5e2e0a8f45 added source_to_unicode method to deal with different encodings, davidhalter/jedi-vim#48 2012-12-19 20:45:49 +01:00
David Halter
8351cd65e8 refactored unicode tests 2012-12-19 12:07:43 +01:00
David Halter
e09b578608 test for davidhalter/jedi#49 2012-12-18 12:09:41 +01:00
David Halter
ba6297a070 fix for a problem with get_in_function_call, if parentheses were not closed. 2012-12-10 19:46:17 +01:00
David Halter
f8cf04894a removed testing code that wasn't supposed to be in this place 2012-12-09 22:59:13 +01:00
David Halter
92b5c70ea0 reduced support for None paths in path search, because the path should be set normally. -> fixes #75 2012-12-09 22:55:49 +01:00
David Halter
9a28ae4b42 added regression test for #77 2012-12-09 22:13:12 +01:00
David Halter
9dfa98c474 refactoring of a few tests 2012-12-09 21:38:39 +01:00
David Halter
830f50e314 fix a problem with python3 2012-12-09 19:40:30 +01:00
David Halter
a012880c0c different solution for imports in davidhalter/jedi-vim#44 2012-12-09 19:10:35 +01:00
David Halter
48a45ee55b import statement doc works now -> fixes davidhalter/jedi-vim#44 2012-12-09 19:02:37 +01:00
David Halter
b4aca5d490 print isn't in pydoc_topics -> ignore 2012-12-09 18:09:36 +01:00
David Halter
3008b96e44 follow_definition function for completions. fixes #54 2012-12-09 17:58:22 +01:00
David Halter
151bd3c5a1 test for star_import cache that wasn't invalidated 2012-12-09 14:40:24 +01:00
David Halter
60ed17ec53 don't follow imports automatically, there will be an attribute/method later on, that does this. -> #45 2012-12-06 17:08:37 +01:00
David Halter
92dea00f0d hopefully fixes a long-lasting problem with weakrefs 2012-12-05 00:34:18 +01:00
David Halter
dd56b2dcbf ignored possible following of completions again, because of other problems, #54 2012-12-04 13:57:47 +01:00
David Halter
c28d3617b7 basics/tests for following imports if possible (on completion), #54. 2012-12-03 00:56:27 +01:00
Takafumi Arakaki
747ada1816 Add TestFeature.test_full_name_builtin (failing) 2012-12-02 20:24:42 +01:00