Commit Graph
100 Commits
Author SHA1 Message Date
David Halter d063aa3d66 Merge pull request #141 from tkf/attribute-docstring
Attribute docstring support
2013-03-10 13:23:47 -07:00
David Halter 91ee75d5a2 Merge pull request #152 from tkf/refactor-integration-test
Refactor integration test runner
2013-03-10 13:07:34 -07:00
David Halter 6ae2d8cfeb Merge pull request #130 from tkf/list_definitions
Add new API: jedi.api.get_definitions
2013-03-10 12:56:08 -07:00
David Halter dac25ea342 Merge pull request #148 from tkf/docstring-improvements
Improve docstrings
2013-03-03 20:18:58 -08:00
David Halter 90c800b257 remove repl style comments and use indented blocks instead, #146 2013-03-01 19:52:36 +04:30
David Halter c98d099001 typos 2013-03-01 00:50:20 +04:30
David Halter ee6a261b42 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-03-01 00:35:18 +04:30
David Halter e3b33fc009 fixed a unicode problem caused by a wrongly placed docstring 2013-03-01 00:32:54 +04:30
David Halter 68a9cecb27 improved run test documentation 2013-03-01 00:31:51 +04:30
David Halter c808bcef70 little description of regression and refactor 2013-03-01 00:23:13 +04:30
David Halter 669dfda419 run documentation improved 2013-03-01 00:19:05 +04:30
David Halter 855d683d9a switched to __name__ == '__main__' checks for tests 2013-03-01 00:07:36 +04:30
David Halter 1834ef51b1 basic testing docstring for run.py 2013-02-28 23:57:33 +04:30
David Halter 76bd1a2d71 add testing docs to sphinx 2013-02-28 23:19:53 +04:30
David Halter ffbc7df68d Merge pull request #146 from tkf/doctest
Add doctest
2013-02-26 03:46:08 -08:00
David Halter 20e5a6adea Merge pull request #144 from tkf/class-call-signature
Include __init__ call signature in Class.doc
2013-02-25 05:41:54 -08:00
David Halter 69cc5020be Merge pull request #143 from tkf/call-signature-test
Add a test for docstring in call signature
2013-02-24 20:38:37 -08:00
David Halter d9ac630633 Merge pull request #140 from tkf/tox-setenv
Set XDG_CACHE_HOME in tox to avoid contaminating ~/.cache
2013-02-24 06:35:13 -08:00
David Halter bbb1c463b4 Merge pull request #139 from tkf/tox-25
Fix setup.py and make 2.5 test runnable with tox
2013-02-24 06:33:46 -08:00
David Halter 68ace0d05b dynamic docstring improvements 2013-02-23 22:21:34 +04:30
David Halter e8feb0b7d2 dynamic docstring 2013-02-23 22:15:17 +04:30
David Halter 4ee4e225a6 don't encode strings in python3, affects davidhalter/jedi-vim#94 and @dbrgn 2013-02-23 21:10:22 +04:30
David Halter 6ea64a28bf dev/refactor merge 2013-02-23 20:53:57 +04:30
David Halter adc7a559cf python3.2 compatibility 2013-02-23 08:58:15 +04:30
David Halter 6ab10b6fa1 pep8 2013-02-23 01:16:02 +04:30
David Halter 4d7aad4ce8 deleted old crap code 2013-02-23 01:13:21 +04:30
David Halter 6912764923 fix position problems which came with lambdas 2013-02-23 00:40:34 +04:30
David Halter 7f051087e5 basic lambda implementation 2013-02-22 23:38:06 +04:30
David Halter c1e805d7b0 fixed invalid list comprehension tests 2013-02-22 23:06:59 +04:30
David Halter 2fda713118 basic listcomprehension/lambda move 2013-02-22 23:02:44 +04:30
David Halter b0c3fd5439 api.Script.get_definition -> definition, to be consistent in the api naming. deprecated api.Script.get_definition 2013-02-21 22:12:51 +04:30
David Halter f8e0c78f77 Script.get_in_function_call -> Script.function_definition 2013-02-21 22:05:39 +04:30
David Halter 923e59b9c2 fixed position problems (with tokenizer offsets) 2013-02-21 21:45:39 +04:30
David Halter 80423ddb57 todo remove 2013-02-21 21:38:31 +04:30
David Halter 9690cf3eaf removed merged Statement.used_funcs and used_vars (made no sense) 2013-02-21 21:30:57 +04:30
David Halter 774c191d7e removed code part of Statement 2013-02-21 21:26:22 +04:30
David Halter 0084b9f04d little cleanup, removed old unused code 2013-02-21 20:57:05 +04:30
David Halter 2b174ecf2c simplify and fix refactoring: extract 2013-02-21 20:42:06 +04:30
David Halter 98ee2d9675 fixed refactoring: inline 2013-02-21 20:23:19 +04:30
David Halter 78fd8372a5 refactoring exception fixes 2013-02-21 20:02:25 +04:30
David Halter d05018757d completely rewrote helpers.search_function_definition 2013-02-21 19:56:05 +04:30
David Halter 9fa0b9f924 fix rest of rename tests 2013-02-21 01:45:25 +04:30
David Halter 6b5295bc40 also fixed nested list comprehensions 2013-02-21 01:39:49 +04:30
David Halter 4d3267b24f fix list comprehension problems for non-nested 2013-02-21 01:13:23 +04:30
David Halter 9cda8c2a52 fix list comprehensions recursion problems 2013-02-20 23:45:40 +04:30
David Halter fad4cd6c13 fix some other array parts 2013-02-20 23:38:33 +04:30
David Halter f2cdf03e6e fixed dict problems 2013-02-20 22:44:02 +04:30
David Halter 06a54f30a8 some renaming fixes 2013-02-19 00:32:47 +04:30
David Halter 1b7fc1ee50 fixes for goto 2013-02-19 00:21:04 +04:30
David Halter 926ab81bf2 some import fixes 2013-02-19 00:11:15 +04:30
David Halter 3ddd371310 fixed isinstance checks 2013-02-19 00:02:05 +04:30
David Halter b1825621ff fixed the rest of the dynamic problems 2013-02-18 23:49:28 +04:30
David Halter c3fe5d04dd line_offset to offset in Parser, which is important for exact positioning 2013-02-18 23:17:41 +04:30
David Halter b2aa8b8024 get_parent_until for ListComprehension 2013-02-18 20:52:07 +04:30
David Halter 30fa504457 fix some more dynamic problems 2013-02-18 20:41:27 +04:30
David Halter 4e102e25e6 fix some of the dynamic bugs 2013-02-17 23:23:57 +04:30
David Halter 108f395670 fixed ordering.py tests 2013-02-17 22:58:13 +04:30
David Halter c67b9986a6 some minor fixes / inits to inputs refactoring 2013-02-17 22:48:41 +04:30
David Halter 779ce6509d first dynamic array work 2013-02-17 22:15:11 +04:30
David Halter 79216f189f moved parsing.Simple.module to _sub_module 2013-02-17 00:30:44 +04:30
David Halter 1366f5fa61 made ListComprehensions behave more llike typical 'pr' objects 2013-02-17 00:23:43 +04:30
David Halter 89a2cb15d0 fix problems with positions in definitions with the same name on the same line 2013-02-17 00:14:30 +04:30
David Halter 8fd3910958 fix a get_code problem for instances/statements, which is not needed there, because get_code should only be called on pure parsing_representation objects 2013-02-16 23:38:07 +04:30
David Halter 860d5a061f Merge pull request #134 from tkf/docfix
Fix typo in doc and add some links
2013-02-15 10:00:37 -08:00
David Halter fb0ea354ac fix a dynamic search param problem 2013-02-14 20:58:06 +04:00
David Halter cda84dc92a add an empty IsScope class to match all scopes 2013-02-14 20:54:26 +04:00
David Halter 52b32a01c1 move default arguments [] to (), because mutable may be dangerous (especially in a recursive environment 2013-02-11 01:21:51 +01:00
David Halter f423de1956 fix some descriptor methods 2013-02-11 01:08:45 +01:00
David Halter cae38ed3d7 fix getattr/__getattr*__ 2013-02-11 00:50:32 +01:00
David Halter f2a7788d66 fix InstanceElement get_commands (doesn't raise an error anymore, but I don't know if it works) 2013-02-11 00:21:05 +01:00
David Halter de5de41627 fix last failing function tests 2013-02-11 00:06:31 +01:00
David Halter da4ad7fd3f fix Name (instead of Param) as param key 2013-02-10 23:57:20 +01:00
David Halter 5722cd2382 fix parts of helpers.search_function_definition 2013-02-10 22:40:28 +01:00
David Halter 01c48593bf er.Array is now also iterable 2013-02-10 21:15:04 +01:00
David Halter df17c98061 fixed the whole var args iterator stuff 2013-02-10 16:59:51 +01:00
David Halter a091ee92a4 fix dictionary index problems 2013-02-10 16:12:30 +01:00
David Halter fb6b3ce342 reintroduce parent and get_parent_until for er.Array, because an array is a builtin. always. 2013-02-10 15:58:02 +01:00
David Halter 7dce3cb964 param keys of dicts are statements now 2013-02-10 15:50:44 +01:00
David Halter cd49126733 improved param generator 2013-02-10 02:01:27 +01:00
David Halter 0008531a30 pr.Array takes no values param anymore 2013-02-09 03:55:56 +01:00
David Halter 22a1b2397d simple function tests pass now 2013-02-09 03:55:30 +01:00
David Halter a1e366f791 different little beauty improvements 2013-02-09 03:16:10 +01:00
David Halter 9540025a02 fixed some more array tests 2013-02-09 02:17:29 +01:00
David Halter 25b2239f6a repr corrections for Array/Statement/Call 2013-02-09 01:54:48 +01:00
David Halter 1735bdb3c3 Merge pull request #125 from tkf/more-mapping
More mapping
2013-02-08 16:35:50 -08:00
David Halter ffaaa68f56 fix unnessecary bracket stuff 2013-02-09 00:00:26 +01:00
David Halter 07f4c08069 some param fixes 2013-02-08 23:16:04 +01:00
David Halter 2fef25b1b1 fixed some dict issues 2013-02-08 21:18:58 +01:00
David Halter a5e9977e94 fix first tuple assignments 2013-02-08 18:46:56 +01:00
David Halter c831bfcca1 exchanged assignment_details order (another refactoring) 2013-02-08 18:06:11 +01:00
David Halter bd393883b6 fixed assignment_detail parsing if tuples were used before = 2013-02-08 17:58:27 +01:00
David Halter 70f07320aa Statement.get_assignment_details -> get_commands (makes more sense) 2013-02-08 16:19:05 +01:00
David Halter d6257fffc8 make array slicing work again 2013-02-08 15:50:35 +01:00
David Halter 942c620cde make the second test pass 2013-02-08 15:24:49 +01:00
David Halter 6c0a0e889c fix start_pos of multiple elements 2013-02-08 15:14:43 +01:00
David Halter 4f060ddcd9 refactor a lot of er.Array 2013-02-08 13:09:08 +01:00
David Halter 39f43c52fe little fixes for the dynamic module 2013-02-08 12:53:14 +01:00
David Halter 94126edda8 get rid of generate_param_array 2013-02-08 12:32:19 +01:00
David Halter d82b8d5e19 remove close_brackets - not needed anymore 2013-02-08 02:43:05 +01:00
David Halter 5737e3ad1d fix __repr__ functions 2013-02-08 02:22:02 +01:00