1
0
forked from VimPlug/jedi
Commit Graph

896 Commits

Author SHA1 Message Date
David Halter
cb21de45f1 add parsing tests for name/call positions 2013-08-16 21:34:58 +04:30
David Halter
8996bd6ad1 modifications to use a differnt kind of completion for the interpreter 2013-08-16 13:38:50 +04:30
David Halter
ae6e997098 do some sort of error handling in fast_parser, because if fast_parser cracks down, cache might be corrupted 2013-08-16 11:12:35 +04:30
David Halter
f76ec55786 fix problems with empty decorators - just '@' and nothing else 2013-08-16 11:04:06 +04:30
David Halter
4b0465a2d1 REPL completion deletes the line sometimes, fixes #293 2013-08-16 10:00:52 +04:30
David Halter
8b5e130e55 fix a problem with setup_readline, using __dict__ instead of a simple dir(), #280 2013-08-16 01:38:58 +04:30
David Halter
fbcecaf1ef deprecate 'source_path' as a Script parameter in favour of 'path' 2013-08-15 19:25:19 +04:30
David Halter
98fc11ecfd change a lot of ImportPath functions to protected methods 2013-08-15 15:28:48 +04:30
David Halter
68d595fe70 imports without path did have problems, because of an incorrect sys.path 2013-08-15 14:54:07 +04:30
David Halter
17d7870b3b first import tests for repl completion, #280 2013-08-15 14:25:28 +04:30
David Halter
6718020fac failing import tests for #280 2013-08-15 14:10:41 +04:30
David Halter
c4e07cae11 rename name_with_signs to name_with_symbols 2013-08-15 14:04:08 +04:30
David Halter
d6e9732064 added a method 'api_classes.Completion.name_with_signs', because this is important for #280 2013-08-15 13:56:43 +04:30
David Halter
5c0dec6106 test of repl autocompletion, #280 2013-08-15 13:36:12 +04:30
David Halter
9a3ea38b1c use builtin repl completion after all, but written by us not the std lib module, which doesn't seem to work really, #280 2013-08-15 12:47:10 +04:30
David Halter
306dbf12e4 goto now also returns results for loops without input, fixes #283 2013-08-15 11:34:46 +04:30
David Halter
ed36486966 fixed a bug in api_classes comparison 2013-08-14 00:52:34 +04:30
David Halter
34f05cdad5 minor bug/testing fixes for #122 2013-08-14 00:26:06 +04:30
David Halter
f5f1fcb8c3 also enable autocompletion on namespace packages, fixes #122 2013-08-14 00:17:40 +04:30
David Halter
2e0863e76a namespace packages first part, fix goto problems 2013-08-13 23:55:22 +04:30
David Halter
19dec3d0ed fix api_classes definition description on flows 2013-08-13 22:38:02 +04:30
David Halter
cacc94acf3 clean up some docstrings in api_classes and put them in the right order 2013-08-13 22:23:24 +04:30
David Halter
93e993549a don't skip doctests in api_classes 2013-08-13 22:19:30 +04:30
David Halter
a895561f1a fixed a problem that combined __getattr__ and usages 2013-08-13 15:39:26 +04:30
David Halter
faf7e0c422 fix a problem found by sith with dynamic params (includes tests) 2013-08-12 02:23:44 +04:30
David Halter
27854a3948 rewriting dynamic search_param stuff, should be faster now (fewer executions) and i hope that this fixes #220 2013-08-12 01:54:19 +04:30
David Halter
e07625017d remove all the deprecation warnings in jedi itself 2013-08-11 23:00:27 +04:30
David Halter
0ab4119447 previous fix had still bugs, now finally fixes #221 2013-08-11 22:28:41 +04:30
David Halter
e53c6d10d6 deprecate start_pos as discussed in #221 2013-08-11 21:24:48 +04:30
David Halter
ba9ba7c1fe line and column return None in case of builtin module, fixes #221 2013-08-11 21:15:48 +04:30
David Halter
cf4325cef1 fix an output proplem with debugging via stdout (encoding in python 2) 2013-08-11 21:05:29 +04:30
David Halter
6179389df8 make it easier to debug bugs like #220, in dynamic param searching 2013-08-11 20:56:01 +04:30
David Halter
f93226420e fix a few debugging problems 2013-08-11 20:10:52 +04:30
David Halter
a72601a9d8 use docopt for run.py executions, much more readable 2013-08-11 19:53:14 +04:30
David Halter
604fe5e3f7 minor refactoring, use finally instead of complicated except 2013-08-11 18:15:24 +04:30
David Halter
1121588678 use ImportPath.is_relative_import instead of complicated lookups all the time 2013-08-11 18:14:58 +04:30
David Halter
81e625862e os.path is now accessible, but nested imports in general are not. fixes #213, #230 2013-08-11 18:10:21 +04:30
David Halter
710dac797b fix a nested import problem with not found imports 2013-08-11 17:59:36 +04:30
David Halter
86394a7ed5 fix problems with imports as user_statement and brackets, fixes #285 2013-08-11 01:14:13 +04:30
David Halter
66fa0b0575 move current to _current in parsing 2013-08-11 01:03:20 +04:30
David Halter
649135ea7b goto_assignments more readable 2013-08-11 00:06:04 +04:30
David Halter
832f05b4a1 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-08-10 22:58:08 +04:30
David Halter
959519560d init decorators should not execute __init__ in case of self variable lookups, fixes #247 2013-08-10 22:55:58 +04:30
David Halter
ff4f396957 more documentation on Instance 2013-08-10 22:18:21 +04:30
David Halter
ee1df18694 instance readability improvements 2013-08-10 22:11:31 +04:30
Aaron Meurer
5e81fc22e1 Skip doctests that are just completion examples 2013-08-10 11:20:31 -06:00
David Halter
085bddd6a1 change Execution usage to always use the decorator function 2013-08-10 21:40:36 +04:30
Aaron Meurer
754835bec5 Add some print statements to the .pythonrc.py example 2013-08-10 10:34:30 -06:00
Aaron Meurer
1ac6d779a1 Cleanup to the Jedi .pythonrc.py example 2013-08-10 10:28:09 -06:00
Aaron Meurer
8b3a62a76f Indent code blocks in the docstring 2013-08-10 00:50:26 -06:00