Commit Graph
100 Commits
Author SHA1 Message Date
David Halter dbb36fd9fb the statement 'a=b=c' returned 'b' only and ignored 'a' - fixes #45 2012-11-07 17:54:45 +01:00
David Halter 0de5793187 @gwrtheyrn's regression tests #45 2012-11-07 17:36:19 +01:00
David Halter ba917eba46 Merge pull request #55 from tkf/call-signature-in-definition
Move doc property to `parsing`, which was in api before.
2012-11-06 14:54:30 -08:00
David Halter 9650520f60 raw_doc additionally, for #53 2012-11-06 19:13:00 +01:00
David Halter 90a4a9240b Merge pull request #53 from tkf/call-signature-in-completion
Call signature in Completion.doc
2012-11-04 15:35:43 -08:00
David Halter bfdfa67b97 reverse sys.path change once again, after sys.path library is loaded. 2012-11-04 13:14:24 +01:00
David Halter 6f8d477679 sys.path hack to be a fully compliant py3k library 2012-11-04 01:20:57 +01:00
David Halter 7d39ccc360 better type description of completion 2012-11-03 23:19:33 +01:00
David Halter b021a72e5b it's the weird test case again, this time he only fails on travis and only with py2.5/6 2012-11-02 18:53:40 +01:00
David Halter 5999bae6f6 removed next by accident 2012-11-02 18:40:36 +01:00
David Halter 4667ea5573 indentation reduced with iterator (see previous commit) 2012-11-02 18:34:15 +01:00
David Halter 740260b372 use iterators instead of some handmade crap in parsing.PyFuzzyParser (it is still a hack, however...) 2012-11-02 18:32:03 +01:00
David Halter ed928d5d58 tokenize not needed anymore in _compatibility 2012-11-02 18:12:22 +01:00
David Halter 299f52c04b renamed BytesIO to StringIO, because it no longer made sense 2012-11-02 18:10:23 +01:00
David Halter ee524eb2a9 again: try to use unicode, #52 2012-11-02 18:05:04 +01:00
David Halter 948b72d27f fix for #51 2012-11-02 17:01:33 +01:00
David Halter 1fa0230339 regression test for #51 2012-11-02 16:21:49 +01:00
David Halter 0704873fd7 switched completely to unicode (in python2), fixes #52 2012-11-02 16:08:38 +01:00
David Halter 82c86dcd3e regression test for #52 2012-11-02 15:19:14 +01:00
David Halter 5dba06caa8 reenabled a test 2012-10-24 16:45:35 +02:00
David Halter 106a3f953c python compatibility stuff 2012-10-23 19:40:34 +02:00
David Halter ba7cc5db24 added speed tests (currently uncommented) and ignored a test case that fails 2012-10-23 18:37:08 +02:00
David Halter e6d9a0a745 restructured fast_parent_copy again 2012-10-23 18:23:26 +02:00
David Halter 87cbfc9145 again messed up isinstance checks 2012-10-23 17:28:21 +02:00
David Halter 077dcc6c89 fixed broken isinstance tests 2012-10-23 17:06:22 +02:00
David Halter 3de6603cf8 note about security, fixes #38 2012-10-23 16:12:01 +02:00
David Halter 86eb8f24f7 isinstance checks should now also work within functions. -> fixes #39 2012-10-23 15:52:09 +02:00
David Halter 47608b1f4d added debug var imports_processed 2012-10-23 14:06:50 +02:00
David Halter 87f11b638d added speed tests 2012-10-22 18:09:26 +02:00
David Halter 197c2f642b fixed some evil bugs in the import mechanism and even worse: In helpers.fast_parent_copy. 2012-10-22 17:22:44 +02:00
David Halter 99739754ef pep8 2012-10-21 14:33:14 +02:00
David Halter 51cfb43716 a comment... 2012-10-21 14:31:32 +02:00
David Halter 9f1f230a02 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2012-10-21 02:08:50 +02:00
David Halter 057f051d46 Merge pull request #37 from gwrtheyrn/refactorings
Trivial Refactorings
2012-10-20 17:07:49 -07:00
David Halter 559491c301 fixed a few bugs in get_in_function_call caching 2012-10-21 01:56:42 +02:00
David Halter 36fd73a239 much faster parsing for get_in_function_call, fixes parts of #34 2012-10-21 01:42:05 +02:00
David Halter 65e1b372b6 made the module with cursor parser lazy 2012-10-20 19:12:41 +02:00
David Halter 4519221f33 move scan_array_for_pos to helpers 2012-10-20 18:52:24 +02:00
David Halter bb76792ea8 make source_path in script optional, fixes #32 2012-10-20 13:57:04 +02:00
David Halter 95481be64c Merge pull request #35 from tkf/no-none-description
Do not return None from Completion.description
2012-10-19 13:45:33 -07:00
David Halter f4b4ef1669 Merge pull request #33 from gwrtheyrn/dev
Added installation instructions (fixes #31)
2012-10-19 12:27:13 -07:00
David Halter 7b8988ebff Merge branch 'magic' into dev 2012-10-18 22:02:02 +02:00
David Halter 658e5833ce Import missed a get_set_vars function, which caused an error with user_stmt checking -> fixes issue 16 of jedi-vim 2012-10-18 22:00:13 +02:00
David Halter ef8d5e0649 readme syntax 2012-10-18 20:43:46 +02:00
David Halter fa9772c82e import statements completion; little bug noticed in #27 2012-10-18 00:16:49 +02:00
David Halter 75c4ed30ee added references to sublime/emacs plugins 2012-10-17 21:55:35 +02:00
David Halter 1abb52a6aa python 3 error fix 2012-10-17 21:35:07 +02:00
David Halter 3838b5482e builtin scope doesn't load by default anymore. This makes Jedi faster at startup. -> jedi issue 7 2012-10-17 21:26:55 +02:00
David Halter 25229561fe more docstrings -> #28 2012-10-17 20:55:56 +02:00
David Halter b8b04fdb99 new contributing.md 2012-10-17 07:55:38 +02:00
David Halter 2ba5e363c9 added Contributing file, because I want people to push to the dev branch. 2012-10-17 07:33:12 +02:00
David Halter c28a84d25b Merge pull request #29 from tkf/minor-docstring-fix
Fix api.Script docstring (minor fix)
2012-10-16 14:46:25 -07:00
David Halter 6a8b160e1b nested list comprehension with brackets: parser failed; fixes #26 2012-10-16 13:56:10 +02:00
David Halter 172b297b59 fixed jedi-vim issue 11 2012-10-16 12:31:07 +02:00
David Halter 4074890364 fixed python3 build, because datetime in python3 is different than 2, so test was failing 2012-10-16 12:16:54 +02:00
David Halter 211ad9a640 fixed other part of jedi-vim issue 8, 'import x as' caused parsing error 2012-10-16 12:08:41 +02:00
David Halter 77e48fcd95 better care for aliases in imports in jedi-vim issue 8 2012-10-16 12:00:41 +02:00
David Halter 1d2debf38d fixes jedi-vim issue 9 - parser error in with statement 2012-10-16 10:07:44 +02:00
David Halter bddd097b93 modified setup.py 2012-10-14 16:45:25 +02:00
David Halter 9f7b586b43 added screenshots to readme 2012-10-14 15:04:00 +02:00
David Halter e3d0ecc764 added screenshots 2012-10-14 14:55:11 +02:00
David Halter 7fda97767e fixed a problem with positions of modules/imports 2012-10-14 14:07:31 +02:00
David Halter 80ec5e0e9d statements have no get_defined_names function 2012-10-14 12:33:58 +02:00
David Halter 3a6d9ba955 fixed bug in recursion detection (not really a fix, I don't understand why this happens only in python3) 2012-10-14 02:19:58 +02:00
David Halter ad2aaa124b added aaron griffin to AUTHORS 2012-10-13 02:46:20 +02:00
David Halter 9cb9e53922 ignore multiple param names 2012-10-10 23:17:58 +02:00
David Halter b204f2f5d9 fixed edge cases of dynamic array completion, which led to StopIteration 2012-10-10 23:10:25 +02:00
David Halter 8059b075c6 handled import statement recursions 2012-10-10 22:55:07 +02:00
David Halter 6b76fdc0ba fixed tuple assignment problem 2012-10-09 16:42:51 +02:00
David Halter 1493edab78 removed a problem with generated var_args, because there is no parent_stmt 2012-10-09 16:04:38 +02:00
David Halter 0c7105c190 revised TODOs 2012-10-09 16:02:52 +02:00
David Halter fc861313ce fixed statement parsing problem of list slicing 2012-10-09 15:01:32 +02:00
David Halter 0e352e225f added posix mixin 2012-10-09 14:02:31 +02:00
David Halter 01da60b594 fix another = error and goto error with dicts 2012-10-09 07:55:42 +02:00
David Halter a8371d37be again another fix for = 2012-10-08 10:44:25 +02:00
David Halter 8e9047158e fixed a bug related to string literal tokens with = in them 2012-10-07 22:05:03 +02:00
David Halter db315f44f4 better support for get_in_function_call 2012-10-07 21:43:27 +02:00
David Halter 8c6f809a86 little refactoring 2012-10-07 15:16:40 +02:00
David Halter 39f89462b4 assert isinstance checks 2012-10-07 15:13:40 +02:00
David Halter 8795b4fbac some operator support for '*' 2012-10-04 01:31:57 +02:00
David Halter 7e39a7d1ba isinstance checks for if/while 2012-10-04 00:34:26 +02:00
David Halter 8d842dd596 getattr on more complex objects - fixes #23 2012-10-02 22:58:03 +02:00
David Halter 4d8029716f tests for @gwrtheyrn :-) #23 2012-10-02 22:57:39 +02:00
David Halter f42ed9277e Add Django project root to PYTHONPATH - fixes #22 2012-10-02 17:57:36 +02:00
David Halter 7e1035f8a8 dynamic module searching is not used in check_array_additions 2012-10-01 11:14:50 +02:00
David Halter 5021a6bee9 added a new option: dynamic_params_for_other_modules 2012-10-01 10:03:48 +02:00
David Halter 74fe520597 invalid for loops completion should work now 2012-10-01 09:51:57 +02:00
David Halter eda2430ad7 __class__ -> type 2012-10-01 08:50:12 +02:00
David Halter 61f465a7d6 fixed bugs for os.path.join(). 2012-10-01 00:25:14 +02:00
David Halter 1009a0b376 keyword tests added, which were ignored previously 2012-09-30 22:44:30 +02:00
David Halter ff84e4670b keyword completion shouldn't occur all the times; thanks to Tobias Halter for his brilliant Kantischueler logic. 2012-09-30 16:46:28 +02:00
David Halter 511369ad88 python keyword completion, fixes #21 2012-09-30 15:56:57 +02:00
David Halter 920d02e3da dynamic param completion bugfixes 2012-09-30 15:04:28 +02:00
David Halter 445132d898 dynamic param completion works now better with subcalls of statements 2012-09-29 18:40:09 +02:00
David Halter 99cd894a7b fix IndexErrors which sometimes happened, related to inter-module param searching 2012-09-29 17:54:22 +02:00
David Halter 1ae2a36838 fixed some exceptions -> mostly related to used_names access of module 2012-09-27 09:37:23 +02:00
David Halter 908d019390 added additional_dynamic_modules setting 2012-09-26 18:42:08 +02:00
David Halter bb42a351e0 pep8 2012-09-24 16:20:16 +02:00
David Halter 40a61d7b9e doc/todos 2012-09-24 11:50:08 +02:00
David Halter 56a97c9df5 can now refactor statements ahead of '=', fixes #20 2012-09-23 14:19:47 +02:00