1
0
forked from VimPlug/jedi
Commit Graph

64 Commits

Author SHA1 Message Date
David Halter
c1d442fa17 added a line_offset attribute - enables fast_parser to change positions 2012-12-16 17:23:15 +01:00
David Halter
36b75c3e15 fixed the last remaining problems with fast_parser (not cached yet) 2012-12-16 03:50:50 +01:00
David Halter
bcdf273c21 fix comment problem (code shouldn't be parsed multiple times) 2012-12-16 02:41:04 +01:00
David Halter
2b579eb09b many bugfixes related to fast_parser 2012-12-15 16:38:21 +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
05885a8b06 parsing change of positions for modules (wasn't correct before) 2012-12-14 15:20:51 +01:00
David Halter
fa831b4f4a Module -> SubModule because of part_parser 2012-12-14 11:47:47 +01:00
David Halter
f3273e1cda refactor use of NoErrorTokenizer 2012-12-14 10:07:39 +01:00
David Halter
b0386d9c74 start/end_pos refactored in parsing 2012-12-13 19:59:29 +01:00
David Halter
a51a1f7aa0 remove PyFuzzyParser attributes in favor of local vars 2012-12-13 18:16:06 +01:00
David Halter
3aecb3ff90 add NoErrorTokenizer, for more readability 2012-12-13 18:08:01 +01:00
David Halter
cab74d5f51 move parsing.PushBackIterator and parsing.indent_block to common 2012-12-13 16:38:15 +01:00
David Halter
2d8d180354 preparation for a more general purpose tokenizer 2012-12-13 16:25:39 +01:00
David Halter
800f6eb84b bugfix for the latest patch 2012-12-10 20:20:39 +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
9f8c27c956 ignore an exception with incomplete 'as' statements 2012-12-10 13:49:57 +01:00
David Halter
6bdda36205 removed all the weakref stuff again. It didn't speed up anything, but made things much more complicated 2012-12-09 16:33:24 +01:00
David Halter
a79b3e2b87 docstring parsing to infer argument types, fixes #40 2012-12-02 23:12:59 +01:00
David Halter
12dfb0f5b4 escape text within regex, fixes pydoc problems in windows, thanks to @musicx -> fixes #72 2012-11-30 12:13:39 +01:00
David Halter
125262275d optimize call_def stuff with multiple flows, may help #20 2012-11-29 14:47:12 +01:00
David Halter
e5b0989afe fix import formatting in description for davidhalter/jedi-vim#42 2012-11-27 13:07:06 +01:00
David Halter
7b3d8b6772 fix datetime.so problem for davidhalter/jedi-vim#42 2012-11-27 12:46:26 +01:00
David Halter
576e53f771 a few pep8 improvements 2012-11-21 16:49:01 +01:00
David Halter
c1c2437fec added magic methods for classes with object 2012-11-18 22:52:09 +01:00
David Halter
cf233108d4 parsing.Module.name failed if path was an empty string -> fixes #60 2012-11-14 17:09:17 +01:00
David Halter
5423dda8d3 multi line funcs with comments don't raise an error anymore - fixes jedi-vim issue 29 2012-11-12 18:07:25 +01:00
David Halter
3d1f67b8a0 better support for get_in_function_call - fixes #57 2012-11-11 02:48:33 +01:00
David Halter
8dd9952288 added much nicer descriptions for the completion. fixes #49 2012-11-08 00:48:26 +01:00
David Halter
dbb36fd9fb the statement 'a=b=c' returned 'b' only and ignored 'a' - fixes #45 2012-11-07 17:54:45 +01:00
Takafumi Arakaki
cffb3d2483 Refactoring: add Function.doc 2012-11-06 22:02:59 +01:00
Takafumi Arakaki
5f25f244ca Add Function.get_call_signature 2012-11-03 23:41:31 +01:00
David Halter
5999bae6f6 removed next by accident 2012-11-02 18:40:36 +01:00
David Halter
4667ea5573 indentation reduced with iterator (see previous commit) 2012-11-02 18:34:15 +01:00
David Halter
740260b372 use iterators instead of some handmade crap in parsing.PyFuzzyParser (it is still a hack, however...) 2012-11-02 18:32:03 +01:00
David Halter
ed928d5d58 tokenize not needed anymore in _compatibility 2012-11-02 18:12:22 +01:00
David Halter
299f52c04b renamed BytesIO to StringIO, because it no longer made sense 2012-11-02 18:10:23 +01:00
David Halter
ee524eb2a9 again: try to use unicode, #52 2012-11-02 18:05:04 +01:00
David Halter
948b72d27f fix for #51 2012-11-02 17:01:33 +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
9f1f230a02 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2012-10-21 02:08:50 +02:00
David Halter
36fd73a239 much faster parsing for get_in_function_call, fixes parts of #34 2012-10-21 01:42:05 +02:00
Danilo Bargen
c5b9eca9d1 Trivial refactorings 2012-10-20 23:44:38 +02:00
Danilo Bargen
55aeeb00b7 Don't assign to str 2012-10-20 23:44:33 +02:00
David Halter
bb76792ea8 make source_path in script optional, fixes #32 2012-10-20 13:57:04 +02:00
David Halter
658e5833ce Import missed a get_set_vars function, which caused an error with user_stmt checking -> fixes issue 16 of jedi-vim 2012-10-18 22:00:13 +02:00
David Halter
6a8b160e1b nested list comprehension with brackets: parser failed; fixes #26 2012-10-16 13:56:10 +02:00
David Halter
172b297b59 fixed jedi-vim issue 11 2012-10-16 12:31:07 +02:00
David Halter
211ad9a640 fixed other part of jedi-vim issue 8, 'import x as' caused parsing error 2012-10-16 12:08:41 +02:00
David Halter
1d2debf38d fixes jedi-vim issue 9 - parser error in with statement 2012-10-16 10:07:44 +02:00
David Halter
80ec5e0e9d statements have no get_defined_names function 2012-10-14 12:33:58 +02:00