Commit Graph
100 Commits
Author SHA1 Message Date
David Halter e97df2f2ac testing for related names (renaming). with first tests 2012-09-09 21:19:51 +02:00
David Halter 143870fc38 same bugfix for generators (bug due to Name interface change) 2012-09-09 20:49:26 +02:00
David Halter 7a49bb4496 bugfix for imports (bug due to Name interface change) 2012-09-09 20:46:52 +02:00
David Halter abbc001a37 removed duplicate goto stuff 2012-09-09 20:42:35 +02:00
David Halter 4a88243b18 get_related_names basically working, without testing though 2012-09-09 20:32:03 +02:00
David Halter 8cdc5cc9bd renaming first steps 2012-09-09 15:01:48 +02:00
David Halter 740dffebfa reversed mixin 2012-09-08 23:47:58 +02:00
David Halter b16c4c5b83 python SystemError got fixed -> http://hg.python.org/cpython/rev/0db75a55145a & http://bugs.python.org/issue15846 2012-09-08 23:16:42 +02:00
David Halter 82a79154cf Merge remote-tracking branch 'origin/master' into dev 2012-09-08 23:16:35 +02:00
David Halter 8a9ee19464 Merge pull request #9 from tek/master
show_pydoc chokes when more than one python syntax file exists by @tek
2012-09-08 14:07:13 -07:00
David Halter 844e222ed5 cleanup 2012-09-06 11:23:12 +02:00
David Halter 61cb267dd5 vim-jedi does now the help stuff by itself 2012-09-06 02:45:46 +02:00
David Halter 18686c1d63 is_py3k() -> is_py3k 2012-09-06 02:38:57 +02:00
David Halter 0008e2c703 python 2.5 compatibility 2012-09-06 02:35:38 +02:00
David Halter 8ebb1fbbfe compatibility 2012-09-06 02:26:24 +02:00
David Halter d30c0e7e34 forgot to add the new keywords module 2012-09-06 02:19:11 +02:00
David Halter 30c61befba fixed travis test bug 2012-09-06 02:17:53 +02:00
David Halter a5cb308d1f further regression tests 2012-09-06 02:14:04 +02:00
David Halter a238985ed8 pydoc works now with operators and keywords 2012-09-06 01:55:52 +02:00
David Halter 730dfdc012 added additional security to get_definition tests 2012-09-06 00:08:41 +02:00
David Halter eb79942a81 added regression tests. with tests for user scopes 2012-09-05 23:49:51 +02:00
David Halter a6340f6f1f added K to quit the help window, which makes it easy to toggle the help window 2012-09-05 23:39:40 +02:00
David Halter ca0b903891 user_scopes are now valid even in multi-line class/def initializations 2012-09-05 23:38:33 +02:00
David Halter 3371153879 bugfix for functions with get_definition on them 2012-09-05 23:22:43 +02:00
David Halter f9462b3cbb default debug ignored modules 2012-09-05 22:24:41 +02:00
David Halter b567f9e62a from now on vim-jedi is only accessible for python scripts 2012-09-05 22:23:39 +02:00
David Halter 7f40a9b86c vim-jedi pydoc: better formatting 2012-09-05 17:54:38 +02:00
David Halter 081d20d0cf fixed py3k exception 2012-09-05 16:19:00 +02:00
David Halter d3f36e2ddf cleaned up the mess in the Definition class 2012-09-05 15:22:40 +02:00
David Halter abcd3f328a pydoc works now also if the cursor is on the class / created context possibility for completions (backward tokenizer) 2012-09-05 14:23:08 +02:00
David Halter 37df49d598 indexing a particular position with a test is now also possible with get_definition and complete 2012-09-05 11:01:07 +02:00
David Halter 20b3c3c82b showing pydoc with VIM plugin 2012-09-05 10:07:51 +02:00
David Halter 1b1e18a9e5 get_definition is again in vim plugin (issue #7) 2012-09-05 09:01:11 +02:00
David Halter 686c675b6d get_definitions -> get_definition 2012-09-04 18:47:07 +02:00
David Halter cf953c9d02 python 2.5 compatibility, use for loop, not the next function 2012-09-04 18:22:11 +02:00
David Halter 268196086b added functool mixins 2012-09-04 18:15:33 +02:00
David Halter b111c56b06 added _weakref mixins 2012-09-04 16:21:17 +02:00
David Halter 778899af86 introduced std library tests (only regex for now) and a working _sre mixin, which is used by the module 2012-09-04 15:59:24 +02:00
David Halter f47ae1ad4f fixed a dynamic array bug, that was created, because of the InstanceElement changes 2012-09-04 15:55:38 +02:00
David Halter 51ee262706 ducktyping tests 2012-09-04 15:37:37 +02:00
David Halter db7c2fc6e7 added a scope generator for instances, which is necessary, because instance variables have priority over class vars 2012-09-04 15:25:08 +02:00
David Halter 3cc5c60f02 tried to clean up the mess of Instances and InstanceElements 2012-09-04 14:53:32 +02:00
David Halter e359eb5898 print on errors at the end, not start 2012-09-04 12:16:01 +02:00
David Halter 0e467146d5 InstanceElement changes -> know if it is a class var 2012-09-04 10:35:58 +02:00
David Halter fc788bc7bf changed get_parent_until method 2012-09-04 09:43:59 +02:00
David Halter 20bf5d2bf5 debug messages are now only active for non-test-results 2012-09-04 09:04:34 +02:00
David Halter 37df118519 InstanceElement cleanup, not all tests pass, though 2012-09-04 08:54:13 +02:00
David Halter a5d1427b09 method was needed 2012-09-03 17:40:34 +02:00
David Halter d143024408 added dict.get, because it returned tuples (don't ask why) 2012-09-03 17:00:37 +02:00
David Halter 77dac95ee0 weakref problem, references were killed to early 2012-09-03 16:59:12 +02:00
David Halter 663d808f9f removed complexity of builtin scope 2012-09-03 16:20:20 +02:00
David Halter 1775843e23 refined docstr parsing for builtins, because psycopg2 didn't run, even so I thought it would. 2012-09-03 15:11:16 +02:00
David Halter c725b6624b fixed a sys.path issue disscussed in github issue #7 2012-09-03 14:07:35 +02:00
David Halter c3bdd00a8c rename psycopg2 test 2012-09-03 14:05:26 +02:00
David Halter c5ef4c0f2b temporary removal of a test, because it is not clear yet, what should happen in this situation 2012-09-03 01:04:10 +02:00
David Halter c9fb482480 psycopg2 fix for github issue 4 2012-09-03 01:02:38 +02:00
David Halter e18361d161 goto tests for position zero statements 2012-09-03 00:00:55 +02:00
David Halter 911495da30 relative imports should work now 2012-09-02 16:27:41 +02:00
David Halter 1f21fadf55 class decorators are just being ignored, until I know of a use case, where Jedi returns the wrong results 2012-09-02 14:48:27 +02:00
David Halter 1afdb69314 function annotations are now safely ignored by the evaluation. the parser just stores them in the right objects. 2012-09-02 12:39:11 +02:00
David Halter acd6488891 fix for github issue 7, goto function works now right for 'from import' statements 2012-09-02 11:52:49 +02:00
David Halter 251a638ba6 better support for pypy, now pypy fails sometimes, because itertools.tee probably does not its job in the pypy implementation 2012-09-01 17:27:38 +02:00
David Halter 8eab8640fd add travis build status to readme 2012-09-01 14:11:24 +02:00
David Halter 7c3a1c2952 remove pypy from travis testing 2012-09-01 12:35:22 +02:00
David Halter 02d89fd545 remove pypy from travis implementations 2012-09-01 12:35:16 +02:00
David Halter 3e4a5dd111 add cleandoc to _compatibility.py because in python 2.5 it is not in the inspect module. 2012-09-01 11:37:37 +02:00
David Halter 01059b35db use metaclass generator for all classes (python2/3 compatibility) 2012-09-01 11:36:33 +02:00
David Halter a1d3ab9094 python 3 compatibility: new method 'use_metaclass' 2012-09-01 10:29:17 +02:00
David Halter 94f2d5e263 prevent SystemError from happening through literal_eval 2012-09-01 09:44:35 +02:00
David Halter 2ed7bbf5da fixed a bug that caused case insensitive values not to swap in some cases 2012-09-01 00:06:01 +02:00
David Halter 60d0cede1f automatically start completion on typing a dot 2012-09-01 00:02:23 +02:00
David Halter 139548d906 add automatically an opening bracket to a function and a dot to a module. also added settings to turn off this behaviour 2012-08-31 20:19:07 +02:00
David Halter 566c133130 added an option to do case sensitive completion and removed get_vim_type 2012-08-31 18:37:56 +02:00
David Halter dcc3b54715 thanks to ast.literal_eval the order how test results are defined, doesn't matter anymore 2012-08-31 17:58:24 +02:00
David Halter 469388d72d fixed position error with test 2012-08-31 17:52:07 +02:00
David Halter 654b845e71 updated complete interface 2012-08-31 17:38:21 +02:00
David Halter 3a8754b9f1 refined NotFoundError doc 2012-08-31 17:16:38 +02:00
David Halter 5e22c6e6c0 jedi plugin new options 2012-08-31 16:47:58 +02:00
David Halter adbb2d18c4 Readme improved 2012-08-31 16:15:57 +02:00
David Halter 40d2c412a5 instance variables are now working again, however, it's still a little bit strange 2012-08-31 01:23:12 +02:00
David Halter 74950ab502 evaluate module docstr 2012-08-31 00:40:23 +02:00
David Halter 39ce26eb1e completion works now also in docstrings 2012-08-31 00:27:05 +02:00
David Halter 9a5537d3c1 descriptor tests for the used methods 2012-08-30 15:25:51 +02:00
David Halter 37fde80c5e used os.path.sep consistently 2012-08-30 15:18:59 +02:00
David Halter 5953183f7e improved jedi package with default star import of functions library 2012-08-30 15:15:30 +02:00
David Halter 83a5a4267f improved many docstrings 2012-08-30 15:07:11 +02:00
David Halter d21044dca2 parsing.py documentation and todos 2012-08-30 14:12:07 +02:00
David Halter e2a4e097f6 evaluate docstring, much better documentation 2012-08-30 12:54:33 +02:00
David Halter dd0cc343f8 mainly settings documentation 2012-08-30 01:41:40 +02:00
David Halter 9c9f17a2b7 +=, |=, etc. operators have better support now 2012-08-30 00:29:04 +02:00
David Halter a33160eb25 added parent_stmt to fast_parent_copy, which makes the method more reliable 2012-08-29 23:42:18 +02:00
David Halter 73f341866c added recursion decorator / fast_parent_copy fix 2012-08-29 22:53:51 +02:00
David Halter 21db1c26c6 more of CachedMetaClass in evaluate 2012-08-28 12:24:25 +02:00
David Halter 15ff3d6af1 fixed failed type tests 2012-08-28 00:51:37 +02:00
David Halter 49ec21a404 invalid list comprehensions should not raise exceptions anymore 2012-08-28 00:37:50 +02:00
David Halter e7dd205c34 nested list comprehensions are working + tests 2012-08-27 23:30:07 +02:00
David Halter f03d8122f5 parser support for nested list comprehensions 2012-08-27 22:06:14 +02:00
David Halter 6e59e96f78 working list comprehensions with tests. 2012-08-27 17:52:16 +02:00
David Halter 5d6e30c6ab moved PushBackIterator to parsing 2012-08-27 15:18:03 +02:00
David Halter 9fd7b96043 preparations for list comprehensions in the parser 2012-08-27 14:56:47 +02:00