Commit Graph

8025 Commits

Author SHA1 Message Date
David Halter
21b49a17ff fix last problems with fast_parser 2012-12-15 23:17:37 +01:00
David Halter
3aae532374 fix fast_parser problems with asserts 2012-12-15 21:27:09 +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
6963a6ac4a other random bugfixes for positions and the use of fast_parser 2012-12-14 15:22:28 +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
5b79e7026e python 2.5 compatibility 2012-12-14 12:25:27 +01:00
David Halter
fe05474459 added a first version of fast_parser 2012-12-14 12:19:07 +01:00
David Halter
2ed8bad8af move MultiLevel exceptions to common 2012-12-14 12:04: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
4814c13e29 PyFuzzyParser should not be called with no_docstr=True and source_path 2012-12-13 12:42:04 +01:00
David Halter
303672f037 memoize_default is now able to use different caches. 2012-12-13 12:39:51 +01:00
David Halter
30fef3ffde added time used by test script 2012-12-12 21:38:22 +01:00
David Halter
7969e19a5b cleanup/pep8 2012-12-12 21:34:04 +01:00
David Halter
9b45ddcb7c removed faked_scopes, was only necessary because of weakrefs. 2012-12-12 21:31:41 +01:00
David Halter
e8ddc35a1b caches have their own module now. 2012-12-12 21:28:19 +01:00
David Halter
169b35b5a9 setup.py should be executable 2012-12-12 18:11:39 +01:00
David Halter
5a7a420026 merge and a few changes for the SyntaxError problem with mixin in (pip installation). -> fixes #79, also important for #82, #81, davidhalter/jedi-vim/issues/41, solution from #65 2012-12-12 18:10:42 +01:00
David Halter
181d700e50 change the way mixins are being added by setup.py, may fix #79 2012-12-12 11:32:53 +01:00
David Halter
2d75f509b7 typo for symmetric_difference, davidhalter/jedi-vim#45 2012-12-11 14:03:24 +01:00
David Halter
cef7da7035 method signatures and return types of some 'set' methods, fixes davidhalter/jedi-vim#45 2012-12-11 14:01:18 +01:00
David Halter
b8a92ecbe3 speed debugging for completions 2012-12-11 13:59:59 +01:00
David Halter
6217e1e85a private members are now being put at the end of a completion list, #78 2012-12-11 09:37:52 +01:00
David Halter
a3647a4c03 version update 2012-12-11 09:36:14 +01:00
David Halter
800f6eb84b bugfix for the latest patch v0.5b4 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
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
655f05f34f follow inexistant imports in the case of goto - fixes #77 2012-12-09 22:45:17 +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
93aaff4cf4 changed code for more readability that has been used because of weakrefs 2012-12-09 16:59:32 +01:00
David Halter
d7727bdccd fix python3.2 problems 2012-12-09 16:49:26 +01:00
David Halter
8416a0dc9f add python 2.6 to travis testing again, because weakrefs are gone now 2012-12-09 16:43:21 +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
ac610f97fb remove mem_debug again, was just temporary 2012-12-09 15:34:33 +01:00
David Halter
9888e2faaf fixed problem with cache duration of star imports 2012-12-09 15:03:49 +01:00
David Halter
151bd3c5a1 test for star_import cache that wasn't invalidated 2012-12-09 14:40:24 +01:00