Commit Graph
100 Commits
Author SHA1 Message Date
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
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 cdf97b2bbe interface changes from row/colum to position 2012-07-14 01:05:56 +02:00
David Halter 1e5377958b pep8 2012-07-13 15:55:18 +02:00
David Halter 19579cf263 removed a little ordering bug, which was just a problem with gotos 2012-07-13 15:51:47 +02:00
David Halter 8b8b0f920d full python 2.5-3.2 compatibility. but 2.5 isn't fully tested, because that's not possible 2012-07-13 15:34:51 +02:00
David Halter 4ee9faacec fixed a bug that made it impossible to load two cbuiltins from the same directory / 2.5 compatibility 2012-07-13 15:04:10 +02:00
David Halter 364405166b little bit of python2.5 compatibility 2012-07-13 02:17:33 +02:00
David Halter 354838bb86 python 3 full compatibility 2012-07-13 02:10:55 +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 47da6f297f skip thirdparty modules, if not available 2012-07-13 01:17:00 +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 972b4bd13d parentheses work now in import statements (tested) 2012-07-13 01:00:44 +02:00
David Halter 4739eb6c02 changed the way the tests react, when multiple elements are produced 2012-07-12 16:19:47 +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 12970f80ae fixed an index problem with the parser, which could happen with really special code 2012-07-12 12:01:28 +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 9b09e11114 tests for an additional variable in *args, **args 2012-07-11 02:28:55 +02:00
David Halter 81c29d58d0 tests for an additional variable in *args, **args 2012-07-11 02:25:43 +02:00
David Halter a0b5bbe6db removed test cases, which who are not python compatible and just something else 2012-07-11 02:19:10 +02:00
David Halter e8c1b8c5bd more kwargs tests 2012-07-11 02:09:52 +02:00
David Halter 5f33bbd8ca new jedi self completion tests 2012-07-11 02:04:27 +02:00
David Halter 97cf613265 kwargs is now working, also within decorators 2012-07-11 02:04:05 +02:00
David Halter 4555b29701 new decorator tests (nested) 2012-07-11 02:03:19 +02:00
David Halter fd4e0ba775 new args/kwargs tests 2012-07-11 02:02:54 +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 e78ba60a47 changed many tests from old completion tests to type tests, which brings more security 2012-07-06 01:37:04 +02:00
David Halter 8d26cff54b changed many tests from old completion tests to type tests, which brings more security 2012-07-06 01:29:50 +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 70530c0767 colors for debugging 2012-07-04 09:32:33 +02:00
David Halter d7d4e36558 started testing the completion of jedi itself 2012-06-28 21:19:28 +02:00
David Halter b9f779f55c removed old stuff 2012-06-28 20:27:38 +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 2ce3869ab8 revised TODOs 2012-06-26 01:34:58 +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 2f70c67ada improved readme 2012-06-24 20:25:48 +02:00
David Halter cffa236fc2 fix a little error that caused the completion not to work with if/try statements 2012-06-24 20:19:19 +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
David Halter 3650e0ee64 fixed property not found bug with builtins + cleaning 2012-06-24 18:47:57 +02:00
David Halter 548af3cc86 changed builtin parsing: introduced inspect, __ names are now used, if in mixins defined 2012-06-24 02:15:21 +02:00
David Halter e42a534e38 property / staticmethod / classmethod builtin implementation 2012-06-24 00:54:40 +02:00
David Halter d1f464f0f7 open function builtin for python 3 2012-06-23 23:49:03 +02:00
David Halter 983de9820f variable assignments for classes prepared 2012-06-23 18:26:36 +02:00
David Halter ff436bd293 resolved little ordering problem 2012-06-22 21:46:54 +02:00
David Halter 38de9e92bb fixed bug in testing suite 2012-06-22 02:45:08 +02:00
David Halter 9674e37b7b fully working descriptors 2012-06-22 01:52:32 +02:00
David Halter 4332495a11 basically working descriptors! 2012-06-22 00:05:57 +02:00
David Halter d88283b879 all tests working again, if the descriptor stuff is not used 2012-06-21 17:44:10 +02:00
David Halter 5811dfbcc3 removed prints 2012-06-21 14:33:53 +02:00
David Halter 31a74da900 temporary commit: introduced MultiLevelAttributeError. many prints to remove 2012-06-21 14:26:03 +02:00