Commit Graph
100 Commits
Author SHA1 Message Date
David Halter 057f051d46 Merge pull request #37 from gwrtheyrn/refactorings
Trivial Refactorings
2012-10-20 17:07:49 -07: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
David Halter 111f7c637f reverse rename sorting -> fixes issue 5 of jedi-vim 2012-09-23 11:01:37 +02:00
David Halter afcf1bd8a1 added itertools.chain.from_iterable to python 2.5 2012-09-22 18:52:45 +02:00
David Halter 7c45d84721 dict assignment renaming -> fixes #20 2012-09-22 18:19:47 +02:00
David Halter eefac2a473 tests & fixes #19 2012-09-22 17:38:13 +02:00
David Halter 78f2059c12 rename / goto fully functional 2012-09-22 17:20:51 +02:00
David Halter 5982c7c93d testing should now work without duplicates 2012-09-22 16:36:39 +02:00
David Halter c7e8278ca4 changed rename tests 2012-09-22 16:06:30 +02:00
David Halter 4735126f1b goto / related_name fixed -> tests are passing again 2012-09-22 15:15:21 +02:00
David Halter 0c71a9d86a renaming works now a little bit better with modules 2012-09-22 01:48:17 +02:00
David Halter 7dc96502eb again working with further refactorings 2012-09-22 00:54:20 +02:00
David Halter 0bdcc968e3 removed statement_path/goto_names 2012-09-22 00:29:03 +02:00
David Halter c464925647 removal of old unused goto stuff 2012-09-22 00:26:30 +02:00
David Halter fd760f1870 renaming and goto work now +/- 2012-09-22 00:15:32 +02:00
David Halter 32b51e0c68 import goto tests work almost again 2012-09-21 23:26:39 +02:00
David Halter ef451f6dca rename working again with different goto function. now change the goto function itself 2012-09-21 22:36:47 +02:00
David Halter bfca702bf9 total rewrite of goto -> incomplete 2012-09-21 20:26:41 +02:00
David Halter abcc60624e readme correction 2012-09-21 16:05:18 +02:00
David Halter 0e5a70a2db renaming again, should be a little bit better. but some things are commented. 2012-09-20 17:27:00 +02:00
David Halter ea53d07238 tests weren't clean again 2012-09-20 00:37:59 +02:00
David Halter 3ec17ffc5d brackets after functions disabled again 2012-09-20 00:36:21 +02:00
David Halter 521aa6691c commit wasn't clean a few commits ago 2012-09-20 00:33:07 +02:00
David Halter ba36729368 Array is an instance of list and not just the class -> fixed issue 2 of vim-jedi 2012-09-20 00:27:54 +02:00
David Halter 076a537801 basic work to get renaming to work in other modules/folders. 2012-09-20 00:25:32 +02:00
David Halter f9595d7897 readme update again 2012-09-18 18:52:30 +02:00
David Halter e49bcc26c6 big readme update 2012-09-18 18:49:04 +02:00
David Halter 8f8ec79804 removed vim plugin, it's now also @github.com/davidhalter/jedi-vim 2012-09-18 17:44:22 +02:00
David Halter 40eac8eeed import stuff in __init__.py 2012-09-18 16:05:01 +02:00
David Halter e889edf244 version number increase 2012-09-18 14:56:22 +02:00
David Halter ac6fa90a24 Merge pull request #18 from gwrtheyrn/dev
Made version number PEP386 compatible (v0.5 beta 1)
2012-09-18 05:53:23 -07:00
David Halter e0126202b1 typos / now in beta testing, not alpha testing anymore 2012-09-18 14:12:36 +02:00
David Halter 08de885a63 Merge pull request #16 from gwrtheyrn/dev
Converted README to .rst
thx to @gwrtheyrn
2012-09-17 22:25:30 -07:00
David Halter c48948ba02 Merge pull request #15 from gwrtheyrn/setup
Setup.py ->packaging
thanks @gwrtheyrn
2012-09-17 14:33:27 -07:00
David Halter 4103fd57a6 fixed some refactoring errors in the vim plugin 2012-09-17 23:23:01 +02:00
David Halter be4ccdda60 Merge pull request #12 from gwrtheyrn/folderstructure
Folder structure
thx to @gwrtheyrn!
2012-09-17 13:55:17 -07:00
David Halter a82e89957b removed doc, because it's extremely outdated 2012-09-17 22:24:39 +02:00
David Halter b6562973c0 added param names to completion items (see also #7) 2012-09-17 09:35:13 +02:00
David Halter 11bfbbab6f builtin functions didn't have a self attribute until now 2012-09-16 23:38:02 +02:00