This website requires JavaScript.
5e2e0a8f45
added source_to_unicode method to deal with different encodings, davidhalter/jedi-vim#48
David Halter
2012-12-19 20:35:24 +01:00
15510a4c3b
more unicode casts instead of str casts
David Halter
2012-12-19 18:46:32 +01:00
8351cd65e8
refactored unicode tests
David Halter
2012-12-19 12:07:43 +01:00
571a96c02b
test for #83
David Halter
2012-12-19 02:01:57 +01:00
7d3fd315d3
dots without any other actual relevant code shouldn't just complete, fixes #46
David Halter
2012-12-19 01:55:32 +01:00
df95416160
refactored return/yield parsing, fixes davidhalter/jedi-vim#49
David Halter
2012-12-18 15:32:16 +01:00
e09b578608
test for davidhalter/jedi#49
David Halter
2012-12-18 12:09:26 +01:00
17c349400c
accidentally removed the fast_parser=True from settings
David Halter
2012-12-18 01:51:36 +01:00
74a51c87cb
moved using setting.fast_parser to fast_parser
David Halter
2012-12-18 01:50:10 +01:00
2a8660b989
update parser settings
David Halter
2012-12-18 01:09:21 +01:00
92feb2f1d6
cleanup / py2.5 and py2.6 compatibility
David Halter
2012-12-18 00:56:16 +01:00
ffeecc1674
improved speed for tests again, reparsing is now only done if something changed (removed reparsing of the user_scope in every completion). this is not going to have a deep impact on users, but it speeds up tests.
David Halter
2012-12-18 00:51:25 +01:00
7e7006e142
fix problems (end_pos of positions was wrong) with user_scopes
David Halter
2012-12-17 22:19:39 +01:00
8bbd2108bd
basic caching of fast_parser modules.
David Halter
2012-12-17 01:27:15 +01:00
c1d442fa17
added a line_offset attribute - enables fast_parser to change positions
David Halter
2012-12-16 17:23:15 +01:00
099e2410ad
added test count to test result
David Halter
2012-12-16 04:09:45 +01:00
5f76ffdfe8
py3k/py2.5 compatibility, and a bugfix
David Halter
2012-12-16 04:03:46 +01:00
36b75c3e15
fixed the last remaining problems with fast_parser (not cached yet)
David Halter
2012-12-16 03:50:50 +01:00
bcdf273c21
fix comment problem (code shouldn't be parsed multiple times)
David Halter
2012-12-16 02:41:04 +01:00
21b49a17ff
fix last problems with fast_parser
David Halter
2012-12-15 23:17:37 +01:00
3aae532374
fix fast_parser problems with asserts
David Halter
2012-12-15 21:27:09 +01:00
2b579eb09b
many bugfixes related to fast_parser
David Halter
2012-12-15 16:38:21 +01:00
b8b4a02398
fixed some bugs within fast_parser and added an option 'settings.fast_parser' to turn on fast parsing.
David Halter
2012-12-14 18:16:54 +01:00
6963a6ac4a
other random bugfixes for positions and the use of fast_parser
David Halter
2012-12-14 15:22:28 +01:00
05885a8b06
parsing change of positions for modules (wasn't correct before)
David Halter
2012-12-14 15:20:51 +01:00
5b79e7026e
python 2.5 compatibility
David Halter
2012-12-14 12:25:27 +01:00
fe05474459
added a first version of fast_parser
David Halter
2012-12-14 12:19:07 +01:00
2ed8bad8af
move MultiLevel exceptions to common
David Halter
2012-12-14 12:04:30 +01:00
fa831b4f4a
Module -> SubModule because of part_parser
David Halter
2012-12-14 11:47:47 +01:00
f3273e1cda
refactor use of NoErrorTokenizer
David Halter
2012-12-14 10:07:39 +01:00
b0386d9c74
start/end_pos refactored in parsing
David Halter
2012-12-13 19:57:44 +01:00
a51a1f7aa0
remove PyFuzzyParser attributes in favor of local vars
David Halter
2012-12-13 18:16:06 +01:00
3aecb3ff90
add NoErrorTokenizer, for more readability
David Halter
2012-12-13 18:08:01 +01:00
cab74d5f51
move parsing.PushBackIterator and parsing.indent_block to common
David Halter
2012-12-13 16:38:15 +01:00
2d8d180354
preparation for a more general purpose tokenizer
David Halter
2012-12-13 16:25:39 +01:00
4814c13e29
PyFuzzyParser should not be called with no_docstr=True and source_path
David Halter
2012-12-13 12:42:04 +01:00
303672f037
memoize_default is now able to use different caches.
David Halter
2012-12-13 12:39:51 +01:00
30fef3ffde
added time used by test script
David Halter
2012-12-12 21:38:22 +01:00
7969e19a5b
cleanup/pep8
David Halter
2012-12-12 21:34:04 +01:00
9b45ddcb7c
removed faked_scopes, was only necessary because of weakrefs.
David Halter
2012-12-12 21:31:41 +01:00
e8ddc35a1b
caches have their own module now.
David Halter
2012-12-12 21:28:19 +01:00
169b35b5a9
setup.py should be executable
David Halter
2012-12-12 18:11:39 +01:00
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
David Halter
2012-12-12 18:08:49 +01:00
181d700e50
change the way mixins are being added by setup.py, may fix #79
David Halter
2012-12-12 11:32:53 +01:00
2d75f509b7
typo for symmetric_difference, davidhalter/jedi-vim#45
David Halter
2012-12-11 14:03:24 +01:00
cef7da7035
method signatures and return types of some 'set' methods, fixes davidhalter/jedi-vim#45
David Halter
2012-12-11 14:01:18 +01:00
b8a92ecbe3
speed debugging for completions
David Halter
2012-12-11 13:59:59 +01:00
6217e1e85a
private members are now being put at the end of a completion list, #78
David Halter
2012-12-11 09:37:52 +01:00
a3647a4c03
version update
David Halter
2012-12-11 09:36:14 +01:00
800f6eb84b
bugfix for the latest patch
v0.5b4
David Halter
2012-12-10 20:20:39 +01:00
ba6297a070
fix for a problem with get_in_function_call, if parentheses were not closed.
David Halter
2012-12-10 19:31:57 +01:00
9f8c27c956
ignore an exception with incomplete 'as' statements
David Halter
2012-12-10 13:49:28 +01:00
f8cf04894a
removed testing code that wasn't supposed to be in this place
David Halter
2012-12-09 22:59:13 +01:00
92b5c70ea0
reduced support for None paths in path search, because the path should be set normally. -> fixes #75
David Halter
2012-12-09 22:55:49 +01:00
655f05f34f
follow inexistant imports in the case of goto - fixes #77
David Halter
2012-12-09 22:45:17 +01:00
9a28ae4b42
added regression test for #77
David Halter
2012-12-09 22:13:12 +01:00
9dfa98c474
refactoring of a few tests
David Halter
2012-12-09 21:38:39 +01:00
830f50e314
fix a problem with python3
David Halter
2012-12-09 19:40:30 +01:00
a012880c0c
different solution for imports in davidhalter/jedi-vim#44
David Halter
2012-12-09 19:10:35 +01:00
48a45ee55b
import statement doc works now -> fixes davidhalter/jedi-vim#44
David Halter
2012-12-09 19:02:37 +01:00
b4aca5d490
print isn't in pydoc_topics -> ignore
David Halter
2012-12-09 18:09:21 +01:00
3008b96e44
follow_definition function for completions. fixes #54
David Halter
2012-12-09 17:58:22 +01:00
93aaff4cf4
changed code for more readability that has been used because of weakrefs
David Halter
2012-12-09 16:59:32 +01:00
d7727bdccd
fix python3.2 problems
David Halter
2012-12-09 16:49:26 +01:00
8416a0dc9f
add python 2.6 to travis testing again, because weakrefs are gone now
David Halter
2012-12-09 16:43:21 +01:00
6bdda36205
removed all the weakref stuff again. It didn't speed up anything, but made things much more complicated
David Halter
2012-12-09 16:30:19 +01:00
ac610f97fb
remove mem_debug again, was just temporary
David Halter
2012-12-09 15:34:33 +01:00
9888e2faaf
fixed problem with cache duration of star imports
David Halter
2012-12-09 15:03:49 +01:00
151bd3c5a1
test for star_import cache that wasn't invalidated
David Halter
2012-12-09 14:40:24 +01:00
60ed17ec53
don't follow imports automatically, there will be an attribute/method later on, that does this. -> #45
David Halter
2012-12-06 16:39:27 +01:00
92dea00f0d
hopefully fixes a long-lasting problem with weakrefs
David Halter
2012-12-05 00:34:18 +01:00
dd56b2dcbf
ignored possible following of completions again, because of other problems, #54
David Halter
2012-12-04 13:57:47 +01:00
c28d3617b7
basics/tests for following imports if possible (on completion), #54 .
David Halter
2012-12-03 00:56:27 +01:00
1940fbe4fe
Merge branch 'dev' of github.com:davidhalter/jedi into dev
David Halter
2012-12-02 23:15:40 +01:00
90fd3dea34
readme: add sphinx docstrings, #40
David Halter
2012-12-02 23:15:19 +01:00
2a14558ba1
readme: add virtual env support
David Halter
2012-12-02 23:14:35 +01:00
d728ba6413
removed python 2.6 from travis testing, because one test failed non-reproducible on my systems
David Halter
2012-12-02 23:13:59 +01:00
a79b3e2b87
docstring parsing to infer argument types, fixes #40
David Halter
2012-12-02 23:12:45 +01:00
773546c23c
Merge pull request #74 from tkf/full_name-builtin
David Halter
2012-12-02 12:53:57 -08:00
d03f8daa52
Fix for Python 3.x: its "builtin" in 3.x
Takafumi Arakaki
2012-12-02 20:40:18 +01:00
12afb6dec8
No __builtin__ prefix for BaseOutput.full_name
Takafumi Arakaki
2012-12-02 20:28:47 +01:00
747ada1816
Add TestFeature.test_full_name_builtin (failing)
Takafumi Arakaki
2012-12-02 20:24:42 +01:00
c2f5a6a4b9
added tests for sphinx docstrings, #40
David Halter
2012-11-30 23:49:32 +01:00
8bc2fd1c67
__import__ is not being supported by jedi
David Halter
2012-11-30 18:46:34 +01:00
b571964939
param arguments that are being forgotten by the user are now added (no strange behaviour anymore)
David Halter
2012-11-30 18:00:48 +01:00
447ae46b2f
fixes a bug with magic functions of functions
David Halter
2012-11-30 16:52:22 +01:00
11fd817be8
cleanup
David Halter
2012-11-30 16:37:04 +01:00
99aed7ce91
added magic function names to completion, fixes nothing, but makes jedi more awesome :-D
David Halter
2012-11-30 16:27:24 +01:00
ff827b4335
authors: gwrtheyrn changed his username to dbrgn on github
David Halter
2012-11-30 14:45:34 +01:00
12dfb0f5b4
escape text within regex, fixes pydoc problems in windows, thanks to @musicx -> fixes #72
David Halter
2012-11-30 12:13:39 +01:00
125262275d
optimize call_def stuff with multiple flows, may help #20
David Halter
2012-11-29 14:42:45 +01:00
d08c12bb06
change debug functions for jedi-vim
David Halter
2012-11-28 17:37:28 +01:00
e5b0989afe
fix import formatting in description for davidhalter/jedi-vim#42
David Halter
2012-11-27 13:07:06 +01:00
7b3d8b6772
fix datetime.so problem for davidhalter/jedi-vim#42
David Halter
2012-11-27 12:46:26 +01:00
086e1b48ee
fix datetime.datetime.now() completion for davidhalter/jedi-vim#42
David Halter
2012-11-27 12:35:37 +01:00
ad0d3d7ab6
Merge branch 'dev' of github.com:davidhalter/jedi into dev
David Halter
2012-11-26 11:42:26 +01:00
751b2b87ee
Merge pull request #70 from tkf/fix-tuple_mapping
David Halter
2012-11-26 02:41:59 -08:00
2a553272d7
added speed notifications for get_in_function_call
David Halter
2012-11-26 11:40:03 +01:00
5308f657d3
Use re module in full_name test instead of argparse
Takafumi Arakaki
2012-11-24 22:44:04 +01:00
fe43ce9042
Add test_full_name_tuple_mapping
Takafumi Arakaki
2012-11-24 22:32:59 +01:00