1
0
forked from VimPlug/jedi
Commit Graph

462 Commits

Author SHA1 Message Date
Dave Halter
6bec7ce847 speed up Builtin lookups 2014-04-25 14:12:28 +02:00
Dave Halter
c790f88678 speed up precedences. 2014-04-25 13:28:01 +02:00
Dave Halter
ff810d9ece cache compiled.CompiledObject.defined_names attribute, improves test suite performance by 20%, numpy by more than 50%. Awesome! 2014-04-14 02:20:22 +02:00
Dave Halter
3fced34544 the last commit featured an incomplete caching for compiled objects. The current one should improve this. 2014-04-13 21:55:29 +02:00
Dave Halter
4bc55be103 significant speedup due to compiled caching 2014-04-13 16:31:38 +02:00
Dave Halter
27645af6d2 make a slow inspect.getdoc() call lazy, which improves performance for numpy completions by 30% 2014-04-11 11:53:11 +02:00
Dave Halter
d2dc39e0c2 also allow unicode, bytes, bytearray, dict -> fixes #297 2014-04-07 16:16:31 +02:00
Dave Halter
193e04ae8e get rid of side effects in the interpreter if trying to use the index on an iterable (using __getitem__) 2014-04-07 16:11:23 +02:00
Dave Halter
79e2ec85cc implement slicing for __getitem__ with interpreter 2014-04-04 15:09:25 +02:00
Dave Halter
a6fbcde184 more detailed tests and implementation of array indexing in the interpreter 2014-04-04 13:22:12 +02:00
Dave Halter
50ef3c7fa3 implement __getitem__ access for CompiledObject 2014-04-04 12:59:16 +02:00
Dave Halter
b8987fe451 CompiledObject.get_index_types implementation example 2014-04-03 19:05:29 +02:00
Dave Halter
edb0bbd183 use defined_names also for modules, fixes symbol browsing issues - fixes #344 2014-04-02 13:48:27 +02:00
Dave Halter
305b593f3b create an is_callable method for all representation objects, to determine if something is callable or not 2014-04-02 09:42:15 +02:00
Dave Halter
72aa7f918f the type of a compiled object is also function, not def 2014-04-01 14:45:05 +02:00
Dave Halter
2ae5dad78b fix Definition.name API for params 2014-03-13 22:48:02 +01:00
Dave Halter
eaa56c47cc compiled params didn't have a param 2014-03-13 12:49:37 +01:00
Dave Halter
db1b73d423 lo and behold - reversed is implemented - the force is strong with this one. fixes #24 2014-03-11 11:04:00 +01:00
Dave Halter
62a14f7558 restructure NameFinder.filter_name a little bit 2014-03-10 15:57:01 +01:00
Dave Halter
cc667e76dc start_pos is usually not needed to search in modules, but if we generalize that, things get a lot slower - tests still pass - but the slowness is probably due to some weird recursion catching that now happens and that Jedi runs into, e.g. check ./run.py std 27 --debug 2014-03-10 00:40:57 +01:00
Dave Halter
ca460ac34f fixed a problem with docstrings that were empty (None), docstrings in Jedi are always strings. 2014-03-06 12:20:11 +01:00
Dave Halter
66a488b911 clean up parse_dot_name and other small things 2014-03-05 22:46:11 +01:00
Dave Halter
1f7e4ca637 dict literals are now working (at least the parser) 2014-03-05 18:46:43 +01:00
ColinDuquesnoy
725e55485a Add params property to compiled object 2014-02-26 13:53:09 +01:00
Dave Halter
acec5fe76f fake docstrs fixed 2014-02-26 02:38:28 +01:00
Dave Halter
5e5bb618ea remove token.py, docstrings are now just normal tokens until used 2014-02-26 01:13:38 +01:00
Dave Halter
c5fcebde82 changed _compatibility.utf8 -> 'u' and removed a lot of the issues with the now enforced unicode source input of the parser 2014-02-23 11:29:00 +01:00
Jean-Louis Fuchs
34e89fa1c5 Merge branch 'dev' into get_code_fidelity
Conflicts:
	jedi/evaluate/docstrings.py
	jedi/parser/representation.py

Resolving merge problems:
* Introducing docstring for compiled.fake
* Partly fixing poor decision in TokenDocstring __init__
2014-01-28 00:37:06 +01:00
Dave Halter
3d7522dff6 fixed None type appearances in CompiledObject 2014-01-24 00:57:53 +01:00
Dave Halter
6f2c1397b0 autocompletion diggs now pretty deep for generator objects 2014-01-23 14:39:00 +01:00
Dave Halter
a1b68945ed fix some generator parents 2014-01-23 14:27:20 +01:00
Dave Halter
4a71f4beeb fixes for the interpreter stuff, py27 works now fine 2014-01-22 15:42:11 +01:00
Dave Halter
7c105d27e0 some tests survive the new interpreter module already 2014-01-22 15:17:50 +01:00
Dave Halter
9e063b1248 started writing a new interpreter module that is heavily simplified and fits the current Jedi architecture way better. 2014-01-21 23:35:21 +01:00
Dave Halter
99882724da is_py3k -> is_py3 2014-01-14 11:43:56 +01:00
Dave Halter
717c4315df Remove Todos that didn't make sense. 2014-01-13 16:29:30 +01:00
Dave Halter
83b490dd6d PyObject -> CompiledObject, PyName -> CompiledName 2014-01-13 14:09:03 +01:00
Dave Halter
0c98c05cd3 use __import__ instead of exec_function (should have done that a long time ago) 2014-01-13 14:01:03 +01:00
Dave Halter
e56a0cf544 docstring was sometimes empty for faked modules 2014-01-13 02:58:10 +01:00
Dave Halter
a96a2baf5b fix an issue with missing '__class__' methods e.g. in numpy 2014-01-13 02:30:10 +01:00
Dave Halter
c602dc1c40 modules like PyQt4.QtGui are now importable, because the import works again. used a code snippet from the old builtin plugin 2014-01-13 01:57:26 +01:00
Dave Halter
b2d99be3ee delete old builtin code 2014-01-12 19:23:37 +01:00
Dave Halter
4b319ad817 fix a docstr issue 2014-01-12 19:22:31 +01:00
Dave Halter
860aa50192 renamed fake/_io.pym to io.pym and fixed some other 'fake' issues 2014-01-12 18:17:00 +01:00
Dave Halter
2bde6cde08 changing completion of python file objects 2014-01-12 18:07:58 +01:00
Dave Halter
c75cef0882 fix some python 3 compatibility things (which involves some real bugs, but py2 was passing) 2014-01-12 17:02:26 +01:00
Dave Halter
7a0dc41b62 fixed doctest issues 2014-01-12 02:23:35 +01:00
Dave Halter
0bff729294 lots of small bugfixes 2014-01-12 02:15:59 +01:00
Dave Halter
4006b231d3 fix a few last standing issues with integration tests. ok after running tests with tox i see that they are not the last issues... 2014-01-12 00:34:56 +01:00
Dave Halter
1765fadf73 fix problems with self attributes - from fake modules 2014-01-11 18:05:44 +01:00