1
0
forked from VimPlug/jedi
Commit Graph

78 Commits

Author SHA1 Message Date
Dave Halter
2e65fbb00f rename parser.tokenizer -> parser.tokenize 2014-01-05 13:38:14 +01:00
Dave Halter
fce36ebea4 move source_to_unicode to common 2014-01-05 13:17:04 +01:00
Dave Halter
9523e70a71 sys_path stuff has its own module, now. 2014-01-05 13:07:37 +01:00
Dave Halter
40c7949d20 remove parser from modules.py 2014-01-05 12:55:28 +01:00
Dave Halter
471cf742dc add an cache.underscore_memoization decorator to make some recurring patterns easier to read 2014-01-05 10:37:28 +01:00
Dave Halter
4fdfbcd7e4 make the invalidate_star_import stuff easier 2014-01-05 10:18:04 +01:00
Dave Halter
4d7349411e probably finished the load_module method migration 2014-01-05 01:37:54 +01:00
Dave Halter
29e661ea74 remove a lot of modules crap and replace it with a simple method called load_module 2014-01-04 14:35:11 +01:00
Dave Halter
91f377eeb6 pep8 stylings 2013-12-27 14:35:30 +01:00
Dave Halter
7347c46502 expression_list instead of commands in more places 2013-12-27 14:32:15 +01:00
Dave Halter
4af92b166a use expression_list instead of commands or call_list 2013-12-27 14:24:14 +01:00
Dave Halter
ab2c6bf45d integrate memoize caches into evaluator 2013-12-24 18:46:51 +01:00
Dave Halter
cf4b2c4557 the whole import thing seems to be working 2013-12-24 16:28:28 +01:00
David Halter
13f0c2b91f all the import changes 2013-09-06 01:19:19 +04:30
David Halter
9e54abaf22 StatementElement instead of Call and Call now inherits from that 2013-09-05 21:50:05 +04:30
David Halter
a1d61e4855 after 'from namespace ', only import completion is allowed, as well as a lot of related fixes to context/user_stmt stuff, fixes #291 2013-08-17 21:28:53 +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
68d595fe70 imports without path did have problems, because of an incorrect sys.path 2013-08-15 14:54:07 +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
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