1
0
forked from VimPlug/jedi
Commit Graph

60 Commits

Author SHA1 Message Date
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
c6e08221ce fixed more import problems (also with the import usage), definitely fixes davidhalter/jedi-vim#152 2013-08-07 10:24:28 +04:30
David Halter
1ed94060df fix another position problem with the reverse tokenizer. includes tests. 2013-07-28 21:19:17 +02:00
David Halter
8598fe7327 get the reverse tokenizer positions right even with strange docstring situations 2013-07-26 01:24:44 +02:00
Laurens Van Houtven
8c314c2732 while 1 -> while True 2013-07-11 15:25:05 +02:00
Laurens Van Houtven
cdc41128b4 (Mostly) whitespace fixes 2013-07-10 14:45:47 +02:00
Takafumi Arakaki
1f3c4700c9 Fix get_path_until_cursor for empty path + continuation 2013-05-24 22:48:40 +02:00
Takafumi Arakaki
05564c23d5 Fix the error 2013-05-24 21:06:48 +02:00
David Halter
88e60b85e0 best patch in a long time, deleted all the part_parser stuff which was necessary for fast function_definitions, but with the new parser Jedi's fast enough -> fixes #136 2013-05-03 19:33:24 +04:30
Danilo Bargen
b3d9b6ce69 Removed py25 related code (fixes #206) 2013-04-27 16:47:40 +02:00
David Halter
d4428c497a use tokenizer instead of tokenize in all modules 2013-04-20 09:52:54 +04:30
Danilo Bargen
f98b0d7b6f New "with ignored(*exceptions)" context manager 2013-04-17 23:28:37 +02:00
Takafumi Arakaki
f5fee5f0df Fix wrong imports
- "from _compatibility import ..." (not in circular imports)
- "from jedi import builtin" (one of circular imports)
- "api_classes = api.api_classes"
  ("from jedi import api_classes" is not supported)
2013-03-16 21:03:34 +01:00
David Halter
9ad9c806bb rename non-cycling imports to 'from jedi import ..' 2013-03-15 15:02:33 +04:30
Takafumi Arakaki
4866b38bda Make VIRTUAL_ENV actually importable 2013-03-12 13:08:47 +01:00
David Halter
926ab81bf2 some import fixes 2013-02-19 00:11:15 +04:30
David Halter
c3fe5d04dd line_offset to offset in Parser, which is important for exact positioning 2013-02-18 23:17:41 +04:30
David Halter
c67b9986a6 some minor fixes / inits to inputs refactoring 2013-02-17 22:48:41 +04:30
David Halter
70f07320aa Statement.get_assignment_details -> get_commands (makes more sense) 2013-02-08 16:19:05 +01:00
David Halter
acf81225b7 modules docstring 2013-02-06 15:38:05 +01:00
David Halter
69137a48f0 pep8 2013-02-06 13:04:27 +01:00
David Halter
e6352ae0a2 move CachedModule and get_sys_path from builtin.py to modules.py 2013-02-05 17:17:10 +01:00
David Halter
bc08ea9630 renamed all occurences of parsing 2013-02-05 16:29:39 +01:00
David Halter
95c5b9a5e3 parsing.PyFuzzyParser -> Parser 2013-02-04 16:18:24 +01:00
David Halter
0e3cec5b17 Merge pull request #115 from andviro/master
more robust source encoding detection
2013-01-27 06:31:41 -08:00
Andrew Rodionoff
048608f4b7 compatibility with python2.5 2013-01-26 13:08:24 +04:00
Andrew Rodionoff
0315da9699 compatibility with python3 fix 2013-01-26 02:10:26 +04:00
Andrew Rodionoff
9c152119ad more robust source encoding detection 2013-01-25 22:57:23 +04:00
David Halter
2efb93273a merged module_cache into parser_cache 2013-01-11 23:19:22 +01:00
David Halter
21ae8e4266 don't pickle cursor modules 2013-01-11 22:49:32 +01:00
David Halter
1017db903c basic pickle implementation #102 2013-01-11 22:00:03 +01:00
David Halter
8987ecf3a8 forgot some fragments of CachedModule.cache 2013-01-08 12:53:02 +01:00
David Halter
6c2f8a759d fix problems of the last 10 commits 2013-01-05 18:24:07 +01:00
David Halter
89bd32e0d7 use str.splitlines() instead of split('\n'), which is better for non unix systems 2013-01-04 14:55:31 +01:00
David Halter
886d43fd4c fix problems with points in completion 2012-12-29 23:47:20 +01:00
David Halter
50d6f8e916 fix completions on 'from . import variable' 2012-12-27 16:13:48 +01:00
David Halter
f05b960386 lambdas: fix problems with reverse tokenizer 2012-12-24 01:26:35 +01:00
David Halter
a2e05c215a forgot to move two function calls in the last commit 2012-12-22 01:43:29 +01:00
David Halter
dfc82742ec fix for missing unicode in py3k 2012-12-19 21:30:27 +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
74a51c87cb moved using setting.fast_parser to fast_parser 2012-12-18 01:50:10 +01:00
David Halter
b8b4a02398 fixed some bugs within fast_parser and added an option 'settings.fast_parser' to turn on fast parsing. 2012-12-14 18:16:54 +01:00
David Halter
cab74d5f51 move parsing.PushBackIterator and parsing.indent_block to common 2012-12-13 16:38:15 +01:00
David Halter
e8ddc35a1b caches have their own module now. 2012-12-12 21:28:19 +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
9888e2faaf fixed problem with cache duration of star imports 2012-12-09 15:03:49 +01:00
David Halter
ed7c004881 fixed sys_path test 2012-11-18 02:34:32 +01:00
David Halter
95eab8e0d4 remove module_find_path, fixes #36 2012-11-18 01:17:12 +01:00
David Halter
197c2f642b fixed some evil bugs in the import mechanism and even worse: In helpers.fast_parent_copy. 2012-10-22 17:22:44 +02:00
David Halter
99739754ef pep8 2012-10-21 14:33:14 +02:00