1
0
forked from VimPlug/jedi
Commit Graph

945 Commits

Author SHA1 Message Date
David Halter 31d992207c add a names_are_set_vars variable to statement 2013-09-03 01:01:46 +04:30
David Halter 1fa5d34878 move some things from Flow to ForFlow 2013-09-03 00:22:09 +04:30
David Halter 15c9ed573d it seems like all relevant used_vars usages have been removed 2013-09-02 23:43:51 +04:30
David Halter a355c8c54c remove more used_vars 2013-09-02 23:36:26 +04:30
David Halter a2acc6a8a9 remove last_token 2013-09-02 23:25:50 +04:30
David Halter 47d250494e simplified and united docstring version 2013-09-02 23:21:54 +04:30
David Halter 2b88640c3a statements should care for its own docstrings, not the parser 2013-09-02 23:12:10 +04:30
David Halter 6ac3cfdece remove one more used_vars usage 2013-09-02 23:04:52 +04:30
David Halter afc388e2d7 replace used_vars for params 2013-09-02 22:03:47 +04:30
David Halter e442dbbc4f move also used_vars to a property, to show that it's not being written to 2013-09-02 21:52:42 +04:30
David Halter 37ecf943af finally able to remove stmt.set_vars property 2013-09-02 21:43:23 +04:30
David Halter 9565aa1431 version should be the next one (with alpha) and not a past one, thx @ramiro 2013-09-02 21:23:40 +04:30
David Halter 9367b54a3d get rid of set_vars class var in statement and define a wrapper for it, because it's still used 2013-09-02 17:23:08 +04:30
David Halter a8510e51f1 use as_names as a way to inject 'set_vars' to statements 2013-09-02 16:23:13 +04:30
David Halter ad16f34cda generate set_vars now 2013-09-02 16:02:18 +04:30
David Halter a253f07827 get rid of set_vars parent setting (use token_list instead). 2013-09-02 15:21:28 +04:30
David Halter 05b37e61cb preparation to get rid of set_vars 2013-09-02 15:14:15 +04:30
David Halter 9c6dae1df8 temporarily disable old tests to refactor set_vars 2013-09-01 23:54:15 +04:30
David Halter 2e97986545 assignment details description 2013-09-01 22:22:20 +04:30
David Halter 3d3157eff8 remove unused set_vars, but there are still set_vars that shouldn't be in defined_names, #205 2013-08-31 23:52:12 +04:30
David Halter 9023d01dcb jedi settings should have its own documentation page, #212 2013-08-31 18:04:07 +04:30
David Halter 4e9bb0c062 add module_path documentation, fixes #306 2013-08-31 17:53:38 +04:30
David Halter 1ebf68999a make source parameter in Script optional 2013-08-31 14:41:37 +04:30
David Halter 0d221ffebc line/column ValueError are now being raised if they are not valid in Script 2013-08-31 11:51:52 +04:30
David Halter 5267e13e0a fixed a problem with classes in docstrings 2013-08-31 11:32:35 +04:30
David Halter 8518311a22 clean up _parse_function_doc a little bit, #298 2013-08-26 20:31:50 +04:30
David Halter 345ba0d3c2 docstrings of builtins can be non-standard, fixes #298 2013-08-26 20:21:03 +04:30
David Halter cce425cb6d move BaseDefinition.path to _path 2013-08-22 12:35:08 +04:30
David Halter eca786bf0e fix a problem with empty scripts 2013-08-21 13:42:18 +04:30
David Halter 2e8432de21 don't use function_definition as a name anymore, also not in helper functions 2013-08-21 13:38:13 +04:30
David Halter 80ec8da513 version bump to 0.7.0.'alpha1', fixes #226 2013-08-19 14:19:40 +04:30
David Halter 78f1ae5e71 change strange usage of resetting positions in Script 2013-08-18 19:30:11 +04:30
David Halter ef2d99358f move Script.pos to Script._pos 2013-08-18 19:28:34 +04:30
David Halter 5cec226d7e remove unused Statement.get_command function 2013-08-18 00:07:46 +04:30
David Halter 6d9d07f873 remove useless is_empty function 2013-08-18 00:06:54 +04:30
David Halter a6b6b6cbe8 parsing representation get_code tests 2013-08-18 00:06:08 +04:30
David Halter 230bf724a2 empty asserts should not lead to broken parsers 2013-08-17 23:04:01 +04:30
David Halter a1e232bcbf fix local imports in repl completion 2013-08-17 22:43:20 +04:30
David Halter a8e259763e fix problem with variables in from clauses, #268 2013-08-17 22:04:55 +04:30
David Halter a1d61e4855 after 'from namespace ', only import completion is allowed, as well as a lot of related fixes to context/user_stmt stuff, fixes #291 2013-08-17 21:28:53 +04:30
David Halter 878f88b4b9 don't repeat all the things written in the readline all the time 2013-08-17 19:48:32 +04:30
David Halter 2097eca646 hit tab once in readline instead of twice 2013-08-17 19:25:54 +04:30
David Halter 1ce4babe36 fix a problem in readline completion with upper/lower cases 2013-08-17 19:19:47 +04:30
David Halter e46d33be90 move completion to interpreter, which improves shell completion 2013-08-17 10:49:23 +04:30
David Halter 2612963f58 fix many position problems 2013-08-17 00:34:20 +04:30
David Halter 7485802149 tests for class/func name positions 2013-08-16 22:38:56 +04:30
David Halter d4f605d213 fix name end_pos problems 2013-08-16 22:31:51 +04:30
David Halter 51468b1e09 module name should have 0, 0 start/end_pos 2013-08-16 22:21:52 +04:30
David Halter d4ff98aee2 Call should always have an end_pos 2013-08-16 22:15:02 +04:30
David Halter cb21de45f1 add parsing tests for name/call positions 2013-08-16 21:34:58 +04:30