Commit Graph
100 Commits
Author SHA1 Message Date
David Halter f52fea984d parsing.Array/parsing.Call have a start_pos attribute now 2012-08-21 11:59:21 +02:00
David Halter 1b310e9f90 introduced settings 2012-08-17 13:36:50 +02:00
David Halter 848b6e03eb dicts are now returned correctly, just without content 2012-08-16 17:11:27 +02:00
David Halter 6db12b5973 better understanding of how dicts are filled 2012-08-16 16:23:03 +02:00
David Halter 10c2281244 dynamic arrays work now also in functions 2012-08-14 19:25:55 +02:00
David Halter 692b85cfb2 list.extend / set.update works now 2012-08-14 15:00:31 +02:00
David Halter 76e6b1f37c dynamic params works now on all internal classes 2012-08-14 14:43:47 +02:00
David Halter 61ca2c74b4 reeneabled more complex builtin array tests 2012-08-14 13:07:21 +02:00
David Halter 79d30f1b24 addition to fix another docstr problem 2012-08-14 12:55:25 +02:00
David Halter e2fb6c7d9a vim shows now docstrings also correct 2012-08-13 22:39:43 +02:00
David Halter 6467f4f420 docstrings are working again and have a correct output 2012-08-13 21:26:24 +02:00
David Halter 37b5f2cb93 found the memory-critical pieces. also removed old debug code 2012-08-13 16:46:34 +02:00
David Halter e6f6003476 parents of Call/Array are now also weakrefs 2012-08-13 12:17:35 +02:00
David Halter bc6cf350c2 weakrefs also for parent_stmt 2012-08-13 11:38:54 +02:00
David Halter 8e20c754b1 tests working all again, with weakref parents 2012-08-13 01:23:29 +02:00
David Halter 673cb30ee8 probably half of the tests are running again. 2012-08-12 02:09:10 +02:00
David Halter 3ae7d3f278 use weakrefs for parents now: rest 2012-08-12 01:42:37 +02:00
David Halter a2611c5db6 use weakrefs for parents now: evaluate.py 2012-08-12 01:32:53 +02:00
David Halter ed07e91d88 use weakrefs for parents now: functions.py 2012-08-12 01:23:57 +02:00
David Halter 1571931088 python 2.5 compatibility (future import) 2012-08-11 00:16:55 +02:00
David Halter f95245a3a0 changes so that python3 will run with the builtins, because in py3k range = old xrange 2012-08-11 00:06:12 +02:00
David Halter e41c4c6cc3 implemented xrange 2012-08-11 00:02:04 +02:00
David Halter 2d6ba4e8ec pep8 compatibility 2012-08-10 23:31:56 +02:00
David Halter 76eb3e53e7 fixed recursion problem with properties. However, this does not fix the problem, that things that are used like properties (closures with different inputs) still are not properly executed, due to recursion detection. 2012-08-10 23:29:26 +02:00
David Halter 1843293624 removed some for loop handling stuff, because it was redundant with iterator handling 2012-08-10 23:13:33 +02:00
David Halter 7fc13bde48 added a method which returns all the stuff in an iterator 2012-08-10 18:23:01 +02:00
David Halter 9b80dab77b really good support for list/set conversions 2012-08-10 17:21:14 +02:00
David Halter e0ebc0e3ac started better dynamic support for list/set conversions including appends after conversions 2012-08-10 16:39:56 +02:00
David Halter b57cf57af6 restructed dynamic array test and added rename tests 2012-08-09 16:36:59 +02:00
David Halter ae60bce836 dynamic arrays are now working pretty good 2012-08-09 16:03:28 +02:00
David Halter c6f76a15ff dynamic array additions are working with list.append 2012-08-09 14:21:51 +02:00
David Halter e4b911b943 range() works now 2012-08-08 16:07:06 +02:00
David Halter 024cc78b2c implemented __next__ method 2012-08-08 15:56:59 +02:00
David Halter a0fad34503 generalized param array creation 2012-08-07 10:41:15 +02:00
David Halter 11808d8fa3 catched some errors of invalid code, that was caused by imbalanced closing brackets 2012-08-07 10:11:18 +02:00
David Halter f4db5e8a47 added __ to builtin-mixin instance variables, which should decrease visibility 2012-08-07 01:22:32 +02:00
David Halter b2abf241ae more tests for next/iter combinations 2012-08-07 00:49:36 +02:00
David Halter 6fdc305551 tuple/iter are working now 2012-08-07 00:27:25 +02:00
David Halter 8bd73d96cb frozenset is working now / further array conversion tests 2012-08-07 00:11:44 +02:00
David Halter 5f26d0c442 mixins are now possible even if some things are in the base class 2012-08-07 00:11:08 +02:00
David Halter f935d4ff53 implemented __iter__ 2012-08-06 23:21:42 +02:00
David Halter 9072bd6f52 added a base class to have easier isinstance comparisons 2012-08-06 22:25:58 +02:00
David Halter bef8fca57d list() builtin is working better now 2012-08-06 21:26:05 +02:00
David Halter 6ae98ba2f6 rearranged builtin mixins 2012-08-06 20:54:35 +02:00
David Halter c154bdad0e array indexing works now also with variables 2012-08-06 17:47:43 +02:00
David Halter 8780199a33 basic __getitem__ implementation 2012-08-06 15:49:08 +02:00
David Halter 55b6d5b598 removed old todos 2012-08-06 11:47:39 +02:00
David Halter 384c3a5b77 support for dynamic params in classes 2012-08-06 02:27:49 +02:00
David Halter e6ae235b78 made dynamic *args/**args work 2012-08-06 01:53:43 +02:00
David Halter 92bf995c3a different dynamic approach to get params, works already really good! 2012-08-06 01:33:01 +02:00
David Halter ee798b03f2 introduced a dynamic completion for params 2012-08-05 17:24:26 +02:00
David Halter c2a5876d7b refactorings / added used_names to Module 2012-08-04 01:20:41 +02:00
David Halter 52d80ca06c filtered base classes in builtins, this brings a huge speedup to builtin modules, which use inheritance excessively (e.g. PyQt4) 2012-08-03 14:58:21 +02:00
David Halter c87899d9b0 flows no longer distort results in certain positions 2012-08-03 13:46:07 +02:00
David Halter 639457b9ec imports are now fully functional 2012-08-03 13:01:12 +02:00
David Halter a9fbb2edce temporary import work 2012-08-03 12:18:48 +02:00
David Halter 7733642a26 removed old import stuff 2012-08-03 00:17:09 +02:00
David Halter b4d147738f solved goto-import problems 2012-08-03 00:14:14 +02:00
David Halter 63c81a0bfe goto: more import tests 2012-08-02 20:31:03 +02:00
David Halter d8c0b8f8e9 again import tests 2012-08-02 20:09:45 +02:00
David Halter 24f81ea75c updated/added import test (nested structures) 2012-08-02 13:49:40 +02:00
David Halter ffa736264e goto: module lookup now don't includes star imports 2012-08-01 14:08:42 +02:00
David Halter 7e4658122a imports of c_builtins are now more pythonic, messing with the sys path is history 2012-08-01 13:18:44 +02:00
David Halter 510a49957c It was not possible to load PyQt4, now it works fine. 2012-07-30 15:11:00 +02:00
David Halter eb7e877fd9 cleaning 2012-07-30 01:00:48 +02:00
David Halter 0a3a167561 modules.py used old code for caching, which didn't work. removed it. 2012-07-30 00:40:05 +02:00
David Halter 163b0c0f9d fixed numpy bugs, that made it impossible to use complete numpy (including regression tests) 2012-07-29 20:56:54 +02:00
David Halter 1a981a3d67 remove multileve attributeerror from places, where exception is enough. 2012-07-29 20:09:44 +02:00
David Halter a5215952a9 goto of vim-jedi is now able to handle multiple goto results, displays a new buffer 2012-07-29 11:19:42 +02:00
David Halter 24c48aba67 a function to check if the definition is in a builtin module 2012-07-28 22:09:19 +02:00
David Halter 7aef288eec jedi-vim can now use tabs instead of only buffers 2012-07-28 21:51:09 +02:00
David Halter e9d9213f10 goto tests, which i previously forgot to commit 2012-07-28 18:31:36 +02:00
David Halter e99ff5528e goto follows now also import statements 2012-07-28 18:28:38 +02:00
David Halter deb2426e44 changed jedi-vim function from 'Complete' to 'complete' 2012-07-28 16:09:07 +02:00
David Halter de5782bdc1 vim-jedi plays know correctly with the jumplist 2012-07-28 16:07:35 +02:00
David Halter a8908ea01a basic functionality of vim-jedi goto plugin 2012-07-28 13:17:08 +02:00
David Halter e539dc4dff removed get_definition in vim plugin 2012-07-28 09:45:06 +02:00
David Halter e8d4e9a13a refactored Definition class. therefore the 'goto' function now uses it, too 2012-07-28 09:37:26 +02:00
David Halter fcf3e80d06 removed catching MultiLevelAtrributeError at certain places, because catching exceptions does that now, too. 2012-07-28 09:17:29 +02:00
David Halter 37c0f7e743 goto done including 22 tests! vim plugin is not done yet 2012-07-28 01:07:19 +02:00
David Halter f948fceb4b again problems in the vim problems 2012-07-27 13:21:10 +02:00
David Halter d3363c6b7a cleaned up prepare_goto, for the goto functions, which is coming 2012-07-27 12:52:41 +02:00
David Halter f0daa12f40 vim-jedi plugin didn't work with dots only 2012-07-27 10:52:42 +02:00
David Halter e5e554bfaa vim plugin now handles cases correctly 2012-07-26 15:40:46 +02:00
David Halter 9a5564c624 reenable recursion detection. 2012-07-19 18:31:05 +02:00
David Halter 4cd1efc5ba descriptors are now also working with classes. this means classmethod/staticmethod are now working 2012-07-19 18:29:04 +02:00
David Halter b432090f58 new ordering tests for classes 2012-07-19 17:18:55 +02:00
David Halter 6ef99d4338 parent_stmt property never raises an error now, returns None 2012-07-19 17:15:48 +02:00
David Halter 6bea28938f fixed an ordering bug (without test) 2012-07-19 16:58:10 +02:00
David Halter 642a93c4e6 cleaned up DecoratorNotFound mess 2012-07-19 12:18:43 +02:00
David Halter e90a073edd changed decorated func definitively, which makes things a little less complicated 2012-07-19 11:41:02 +02:00
David Halter 942cff225b tried to clean up decorators, but recursions are now a problem 2012-07-19 11:19:08 +02:00
David Halter d91f13ab9b many new descriptor tests 2012-07-17 23:21:33 +02:00
David Halter 9e585c3ec1 properties now also working as assignments, not only as decorators. debug output still visible. 2012-07-17 19:07:22 +02:00
David Halter cc2f616c7e class assignments for statements is working now (oh gosh, this commit must be so non-readable for everyone except me...) 2012-07-17 16:35:55 +02:00
David Halter 1f9e3190bf removed an old test script 2012-07-17 14:29:16 +02:00
David Halter 6e8510b2bd nested classes may have caused problems 2012-07-17 10:31:53 +02:00
David Halter 2feef20dc5 import completion fully working 2012-07-17 00:44:40 +02:00
David Halter 45413a18b9 most import completions work now, but some other tests don't 2012-07-16 20:42:22 +02:00
David Halter e779cc8c97 basic imports rewriting, which has still it's rough edges 2012-07-16 02:19:48 +02:00