Commit Graph

95 Commits

Author SHA1 Message Date
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
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
Takafumi Arakaki
5308f657d3 Use re module in full_name test instead of argparse
for Python 2.5 and 2.6.
2012-11-24 22:44:04 +01:00
Takafumi Arakaki
fe43ce9042 Add test_full_name_tuple_mapping 2012-11-24 22:32:59 +01:00
David Halter
576e53f771 a few pep8 improvements 2012-11-21 16:49:01 +01:00
David Halter
586dcc273c developed star import caching. useful for numpy/pylab/scipy... fixes jedi-vim issue 23 2012-11-21 16:47:31 +01:00
David Halter
890748ac9f star caching preparations 2012-11-21 13:45:38 +01:00
David Halter
8ce2633c06 Removed an ancient bug. Don't know why it's that easy this time. 2012-11-20 14:59:12 +01:00
David Halter
bbcd822dd8 fixes python 2.5 problems 2012-11-18 02:49:11 +01:00
David Halter
5430d156ba added fullname for #61 2012-11-18 01:02:07 +01:00
David Halter
3e631f7980 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2012-11-11 02:49:44 +01:00