Commit Graph

201 Commits

Author SHA1 Message Date
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
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
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
c87899d9b0 flows no longer distort results in certain positions 2012-08-03 13:46:07 +02:00
David Halter
eb7e877fd9 cleaning 2012-07-30 01:00:48 +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
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
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
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
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
David Halter
e6741c2dd6 fixed the position problems, that came with the last big patch 2012-07-14 17:28:43 +02:00
David Halter
08a4562958 line_nr/indent were now completely replaced by start_pos. tests are failing! 2012-07-14 03:06:49 +02:00
David Halter
24577bc632 added an own implementation for hasattr (python 2, python 3 is fine) 2012-07-13 01:27:41 +02:00
David Halter
dbef32627e removed a hasattr(), because in python 2 it catches also other exceptions 2012-07-13 01:14:16 +02:00
David Halter
c84ca8f897 fixed a bug with tuple indexing: a,b,c = (1,2) 2012-07-12 15:45:14 +02:00
David Halter
cc081cdb3c deepcopy removed at one place, tests being 12s faster (from 20s to 8s) 2012-07-12 15:10:57 +02:00
David Halter
19c7f470ca comments revised. 2012-07-12 01:04:11 +02:00
David Halter
28f12865d2 removed scopes in follow_statement and so on 2012-07-12 00:47:42 +02:00
David Halter
b840648ef3 big change to make param transfer possible. always. this also makes scopes in many places redundant. 2012-07-12 00:37:55 +02:00
David Halter
97cf613265 kwargs is now working, also within decorators 2012-07-11 02:04:05 +02:00
David Halter
53358b28d3 properties work now also with initialization values of classes 2012-07-10 17:52:46 +02:00
David Halter
e4739fddf9 generators are now working with arguments (yield stmts) 2012-07-10 13:36:36 +02:00
David Halter
37f2b8ff56 recursions are now being catched 2012-07-09 12:05:07 +02:00
David Halter
fdfd475d40 position stuff works now also with function that are located after the just called function 2012-07-06 01:07:17 +02:00
David Halter
28ad77406f default of no arguments at an execution changed to a parsing.Array 2012-07-05 18:22:56 +02:00
David Halter
e88c11605b fixed a little bug caused by not setting the parent of flows correctly 2012-07-05 15:55:19 +02:00
David Halter
70b3895e42 debugging stuff 2012-07-05 01:03:28 +02:00
David Halter
2e2e360567 removed vim exceptions 2012-06-27 20:41:38 +02:00
David Halter
19a5d788c4 generators can now be indexed, don't know if this is a good thing. however, it fixes some problems with lists 2012-06-27 14:35:12 +02:00
David Halter
56a14c7811 move decorator tests 2012-06-27 10:24:31 +02:00
David Halter
c4d74c3521 ternary operators work now, list comprehensions preparation 2012-06-26 00:42:19 +02:00
David Halter
e7a579ce31 added thirdparty testing (test/completion/thirdparty/) and fixed an AttributeError 2012-06-25 21:05:10 +02:00
David Halter
77698599f4 decorator's that are not found, are now just being ignored / introduced new testing file 2012-06-24 20:00:57 +02:00