Commit Graph
100 Commits
Author SHA1 Message Date
David Halter 4b98321796 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-01-05 14:33:06 +01:00
David Halter a720178b72 Merge pull request #106 from dbrgn/quick_completion
Added quick_complete convenience function
2013-01-05 05:29:57 -08:00
David Halter f3e71a220f basic exctract refactoring (not working yet) 2013-01-05 14:22:24 +01:00
David Halter 5c8d65c57c remove unnecessary assert 2013-01-04 22:54:38 +01:00
David Halter cd9bdb9e1c renaming should work now. 2013-01-04 21:21:34 +01:00
David Halter 9f9bbaae56 no str cast on None for module paths 2013-01-04 20:16:13 +01:00
David Halter 3f5e9d6bca some docstring improvements 2013-01-04 20:07:20 +01:00
David Halter 89bd32e0d7 use str.splitlines() instead of split('\n'), which is better for non unix systems 2013-01-04 14:55:31 +01:00
David Halter 903626f4f9 change default sorting of related names to a more natural 2013-01-04 14:46:42 +01:00
David Halter e50053aa46 enable None file_paths for related_name 2013-01-04 14:37:17 +01:00
David Halter ae9d88c3f9 remove generalized refactoring method for now 2013-01-04 11:18:53 +01:00
David Halter 72869310c1 refactoring basics, #103 2012-12-31 14:47:57 +01:00
David Halter 17bec929bb fix a little import problem in regression tests 2012-12-31 12:36:33 +01:00
David Halter 806426898d add @jjay to authors 2012-12-30 14:10:41 +01:00
David Halter 71b50bdbd7 return None on keywords for BaseDefinition.full_name, fixes #94 2012-12-30 10:49:18 +01:00
David Halter 548fb64fd7 test for #94 2012-12-30 10:39:08 +01:00
David Halter 64465dae8d fix problem with empty import_paths 2012-12-30 10:32:11 +01:00
David Halter 41362370ed follow imports if they are in the file path, fixes davidhalter/jedi-vim#56 2012-12-30 10:29:35 +01:00
David Halter 886d43fd4c fix problems with points in completion 2012-12-29 23:47:20 +01:00
David Halter 07dbebe277 test for problem with points in completion 2012-12-29 23:38:47 +01:00
David Halter 01220e047e sphinx api_classes description 2012-12-29 20:44:07 +01:00
David Halter 19084616ea sphinx: update api return types 2012-12-29 20:39:55 +01:00
David Halter 1700b37f64 same_name_completions -> _same_name_completions, #97 2012-12-29 20:20:26 +01:00
David Halter 86f37261a2 the bool variable of #97 was defined wrong, fixes #97 2012-12-29 20:07:45 +01:00
David Halter 968f9bdf60 fix completion duplication problem with upper/lower case 2012-12-29 02:18:05 +01:00
David Halter 406233b62d ignore duplicates of completion outputs, #97 2012-12-29 01:59:34 +01:00
David Halter b04e74ca7d Merge pull request #96 from jjay/improvedocparse
Improve docstring parsing for param types.
2012-12-28 05:29:22 -08:00
David Halter 79efd20d63 move screenshots so that sphinx can access it. 2012-12-27 20:02:00 +01:00
David Halter 6002b019c3 sphinx change again 2012-12-27 19:54:09 +01:00
David Halter 596d0fdf77 resolved merge conflict 2012-12-27 19:49:30 +01:00
David Halter 3f90055c69 improve docs again 2012-12-27 19:48:19 +01:00
David Halter bf16a3a77a sphinx: added ressources/plugins 2012-12-27 19:32:36 +01:00
David Halter d7e06b1d69 add an api docstring again 2012-12-27 19:18:38 +01:00
David Halter 464685f433 move docsring of api.py to __init__.py 2012-12-27 19:07:49 +01:00
David Halter 4d5645504d sphinx: for now use automodule instead of documenting every class 2012-12-27 19:06:22 +01:00
David Halter fc1d075a7c Merge pull request #95 from dbrgn/docs
Proper Sphinx deprecation warnings and cross references
2012-12-27 10:01:28 -08:00
David Halter 16236857bc Merge pull request #93 from tkf/warnings.warn
Use warnings.warn instead of raise
2012-12-27 09:38:02 -08:00
David Halter 5e03147f43 tried to link the DeprecationWarning in Sphinx 2012-12-27 18:16:37 +01:00
David Halter f8efc7c950 changed warnings to sphinx doc style 2012-12-27 18:15:11 +01:00
David Halter 22fcfe5e19 deprecated BaseDefinition.line_nr in favor of 'line'. thx @dbrgn for the hint. 2012-12-27 18:12:18 +01:00
David Halter db4b09e05e Merge pull request #91 from jjay/docrtypes
Return type detection based on docstrings.
2012-12-27 08:41:32 -08:00
David Halter 422eb6cbbf version can now be changed in one file (for sphinx and pypi) 2012-12-27 17:25:31 +01:00
David Halter 4c2c86ae72 ignore completion in import aliases 2012-12-27 16:22:25 +01:00
David Halter 50d6f8e916 fix completions on 'from . import variable' 2012-12-27 16:13:48 +01:00
David Halter fc9e78c31e new relative import tests 2012-12-27 15:40:46 +01:00
David Halter 21bd50c608 follow 'from . import variable', fixes parts of davidhalter/jedi-vim#56 2012-12-27 15:30:43 +01:00
David Halter 31b335dc08 fix for tar_import stuff, that was caused by http://bugs.python.org/issue16791, may affect davidhalter/jedi-vim#56 2012-12-27 13:32:39 +01:00
David Halter f0dcbd8290 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2012-12-27 12:11:14 +01:00
David Halter 7fe2423c53 Merge pull request #90 from jjay/master
Epydoc dosctrings support
2012-12-27 03:10:55 -08:00
David Halter e94376095f note that readme/doc changes are ok in master branch to contributing.md 2012-12-27 02:09:20 +01:00
David Halter 9b0e60afa2 Merge remote-tracking branch 'origin/master' into dev 2012-12-27 02:07:32 +01:00
David Halter 3d22c2480e Merge branch 'dev' of github.com:davidhalter/jedi into dev 2012-12-27 02:07:12 +01:00
David Halter 9337aa3875 Merge pull request #89 from dbrgn/docs
Sphinx docs cleanup
2012-12-26 17:06:59 -08:00
David Halter b5cfd158f5 Merge pull request #88 from dbrgn/readme_changes
Some README changes
2012-12-26 17:06:50 -08:00
David Halter 5119090395 removed two notices in readme 2012-12-27 01:54:58 +01:00
David Halter b9cc4dc378 forgot a point :-) 2012-12-27 01:39:28 +01:00
David Halter 232e7e4826 jedi is using semantic versioning 2012-12-27 01:36:49 +01:00
David Halter d1f23444b1 add property tests for renaming and removed some limitations of renaming, fixes davidhalter/jedi-vim#57 2012-12-27 00:03:02 +01:00
David Halter a7deb4766f test for davidhalter/jedi-vim#57 2012-12-26 23:28:24 +01:00
David Halter 4ff3a0ba26 variable set in the wrong place 2012-12-26 23:10:03 +01:00
David Halter e057387910 added docstring tests (forgot to add them a while ago), important for #87 2012-12-26 23:08:34 +01:00
David Halter 95a435f946 use get_in_function_call_cache again, because parsing the code is sometimes to slow 2012-12-26 23:05:31 +01:00
David Halter 45c9fe16b8 many tests and fixes for instance element renamings 2012-12-26 22:56:56 +01:00
David Halter 2534269cce many new renaming tests (and bug fixes) 2012-12-26 21:34:21 +01:00
David Halter 3bf0ec70fc improved goto on assignees (just return the assignee). 2012-12-26 20:53:15 +01:00
David Halter e020c6b792 api.Script.parser -> api.Script._parser (and the same with module). important for #86, sphinx docs 2012-12-26 18:42:54 +01:00
David Halter 993f7bd8d7 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2012-12-26 18:36:24 +01:00
David Halter b7888c3d7c Merge pull request #86 from dbrgn/docs
Sphinx Docs
2012-12-26 08:35:38 -08:00
David Halter 92cd50b2b7 added goto tests for params 2012-12-25 02:26:36 +01:00
David Halter 70b949b6e5 test for class inheritance renaming 2012-12-24 17:22:45 +01:00
David Halter 1a4b556ddb removed whitespace in renaming tests 2012-12-24 17:15:21 +01:00
David Halter 6322df11f3 renaming tests refactored. It's now much easier and understandable to create rename tests 2012-12-24 17:12:46 +01:00
David Halter bd93f8fd2d move some parser details to protected class members 2012-12-24 12:53:38 +01:00
David Halter 40898450af support for super() 2012-12-24 12:27:43 +01:00
David Halter 6ec41909fe add lambdas to README 2012-12-24 10:58:56 +01:00
David Halter 0cca730b6e increase python2.5 test fails again, I'm sure @dbrgn will like this. 2012-12-24 10:53:17 +01:00
David Halter e647e09f0c fix problems with unnecessary brackets and following executions, which fixes also the last remaining lambda problem 2012-12-24 10:47:11 +01:00
David Halter 3f95d33f4d added tests for executions/follows of unnecessary brackets 2012-12-24 02:25:26 +01:00
David Halter 6ab9390bce lambdas: fix remaining problems with tests 2012-12-24 01:28:03 +01:00
David Halter f05b960386 lambdas: fix problems with reverse tokenizer 2012-12-24 01:26:35 +01:00
David Halter 716d2362fd fixed mostly wrong lambda tests (and a few lambda improvements as well) 2012-12-23 15:52:49 +01:00
David Halter c7fd196850 get_code is now able to process returns again 2012-12-22 20:28:34 +01:00
David Halter e701a4ef92 lambdas: add correct parents and change evaluate 2012-12-22 19:43:30 +01:00
David Halter 77b2ea2dce basic lambda parsing 2012-12-22 19:27:44 +01:00
David Halter ef1f637e71 Lambda class 2012-12-22 19:08:37 +01:00
David Halter 3fbf66f42c 14 lambda tests 2012-12-22 18:59:55 +01:00
David Halter da6186618e changed re.SREPattern mixins (forgot the params everywhere) 2012-12-22 18:33:16 +01:00
David Halter 60c65596d4 changed re.SREMatch.group 2012-12-22 18:29:01 +01:00
David Halter 55c7d414b0 and again something forgotten... sooo tired!!! 2012-12-22 01:55:34 +01:00
David Halter 3d06f7a257 and again some forgotten imports in the tests 2012-12-22 01:52:40 +01:00
David Halter 5fa88af041 forgot an import... it's late, I should go to sleep... 2012-12-22 01:48:36 +01:00
David Halter a2e05c215a forgot to move two function calls in the last commit 2012-12-22 01:43:29 +01:00
David Halter 0d6d84402d move star_import_cache to cache.py 2012-12-22 01:39:22 +01:00
David Halter ed8845c343 delete caches also at the beginning of an interaction 2012-12-22 01:37:31 +01:00
David Halter 2610c180c0 check for expired time caches in every interaction 2012-12-22 01:36:03 +01:00
David Halter 0617909e84 add get_in_function_call caching (3s for now) 2012-12-22 01:28:24 +01:00
David Halter f4b585a5e7 added an option to disable get_in_function_call caching 2012-12-21 18:00:21 +01:00
David Halter b3c89effe7 add wdb to implementations, #85 2012-12-19 23:50:49 +01:00
David Halter 99f1c805ef reversed builtin for pypy (is not a class), fixes #85 2012-12-19 23:47:54 +01:00
David Halter ce0aadc9a5 fix problems with certain builtins (names were just stupid, like '_sqlite3.cpython-32mu' / python 2.5 may have an error more #84 2012-12-19 23:12:15 +01:00