Commit Graph
100 Commits
Author SHA1 Message Date
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 58d3ba37e9 Jedi doesn't support del yet 2013-09-01 20:06:40 +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 2ee7ee4473 regression test for #205 2013-08-31 19:59:39 +04:30
David Halter 4c3ac7fe2e s/readthedocs.org/jedidjah.ch/g 2013-08-31 19:03:02 +04:30
David Halter 7b1290a182 last documentation fixes 2013-08-31 18:59:29 +04:30
David Halter 0fd0b0efc6 split api classes from api documentation, fixes #212 2013-08-31 18:45:55 +04:30
David Halter ed554411b8 remove deleted docs entries from index 2013-08-31 18:39:37 +04:30
David Halter 3baf4a1711 add repl stuff to usage docs 2013-08-31 18:38:28 +04:30
David Halter d9b4218ca6 Jedi usage chapter as a first chapter for Jedis documentation. 2013-08-31 18:27:16 +04:30
David Halter 39e766c2eb add recipes also to features & caveats 2013-08-31 18:15:21 +04:30
David Halter 7d97d70dc1 move history to features and caveats 2013-08-31 18:12:56 +04:30
David Halter 7f439b67cb use a sphinx toctree of depth 2 2013-08-31 18:10:50 +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 b8a909d352 fix a wrong usage of column in absolute import tests 2013-08-31 13:39:08 +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 23ece5e4c8 Script needs valid ranges, otherwise ValueError should be raised (test) 2013-08-31 11:47:10 +04:30
David Halter 5267e13e0a fixed a problem with classes in docstrings 2013-08-31 11:32:35 +04:30
David Halter b68e3cc8de problems with class in docstring 2013-08-31 00:03:02 +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 8cefc8d49b provide test for #298 2013-08-26 20:16:55 +04:30
David Halter 951dc52c03 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-08-24 01:39:57 +04:30
David Halter 01cd75f388 small readme correction 2013-08-22 22:17:21 +04:30
David Halter cce425cb6d move BaseDefinition.path to _path 2013-08-22 12:35:08 +04:30
David Halter 2f3304b9f1 test for multiple call_signatures 2013-08-21 15:47:25 +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 432818e4cd add docs to pypi release, #256 2013-08-19 13:38:27 +04:30
David Halter 645a197d5a Merge branch 'dev' 2013-08-19 12:11:32 +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 f0b25d5451 simple debug test, if they work 2013-08-17 23:40:00 +04:30
David Halter 35fe689b2b Merge pull request #281 from davidhalter/dev
New release: 0.7.0
2013-08-17 11:45:38 -07:00
David Halter 230bf724a2 empty asserts should not lead to broken parsers 2013-08-17 23:04:01 +04:30
David Halter af7089b8ca use cwd_at to avoid test failures if called from different places 2013-08-17 23:03:32 +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 8beeb71f84 parsing import names position tests 2013-08-16 22:51:35 +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 098397aa79 tests for module name/position 2013-08-16 22:25:35 +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 3d698ffad6 call type tests 2013-08-16 22:00:27 +04:30
David Halter cb21de45f1 add parsing tests for name/call positions 2013-08-16 21:34:58 +04:30
David Halter 0268109d1d fast parser test improvements 2013-08-16 21:33:43 +04:30
David Halter b32065052a test that proves fast_parser problems in certain cases 2013-08-16 16:03:56 +04:30
David Halter f12e7f66c4 remove unused argument from calls to set_debug_function 2013-08-16 14:06:53 +04:30
David Halter 8996bd6ad1 modifications to use a differnt kind of completion for the interpreter 2013-08-16 13:38:50 +04:30
David Halter ae6e997098 do some sort of error handling in fast_parser, because if fast_parser cracks down, cache might be corrupted 2013-08-16 11:12:35 +04:30
David Halter f76ec55786 fix problems with empty decorators - just '@' and nothing else 2013-08-16 11:04:06 +04:30
David Halter e63783f122 test for empty decorators 2013-08-16 11:02:22 +04:30
David Halter cfe21c74e8 tab completion instead of jedi autocompletion in docs 2013-08-16 10:55:12 +04:30
David Halter 873c609fca forgot to write a test for #293 2013-08-16 10:05:25 +04:30
David Halter 4b0465a2d1 REPL completion deletes the line sometimes, fixes #293 2013-08-16 10:00:52 +04:30
David Halter 8b5e130e55 fix a problem with setup_readline, using __dict__ instead of a simple dir(), #280 2013-08-16 01:38:58 +04:30
David Halter fbcecaf1ef deprecate 'source_path' as a Script parameter in favour of 'path' 2013-08-15 19:25:19 +04:30
David Halter 98fc11ecfd change a lot of ImportPath functions to protected methods 2013-08-15 15:28:48 +04:30
David Halter 19f904f999 fix a problem with testing setup_readline, when running all tests, this should also mean that #280 is now really finished 2013-08-15 15:14:59 +04:30
David Halter 68d595fe70 imports without path did have problems, because of an incorrect sys.path 2013-08-15 14:54:07 +04:30
David Halter 17d7870b3b first import tests for repl completion, #280 2013-08-15 14:25:28 +04:30
David Halter 6718020fac failing import tests for #280 2013-08-15 14:10:41 +04:30
David Halter c4e07cae11 rename name_with_signs to name_with_symbols 2013-08-15 14:04:08 +04:30
David Halter d6e9732064 added a method 'api_classes.Completion.name_with_signs', because this is important for #280 2013-08-15 13:56:43 +04:30
David Halter 5c0dec6106 test of repl autocompletion, #280 2013-08-15 13:36:12 +04:30
David Halter 9a3ea38b1c use builtin repl completion after all, but written by us not the std lib module, which doesn't seem to work really, #280 2013-08-15 12:47:10 +04:30
David Halter 306dbf12e4 goto now also returns results for loops without input, fixes #283 2013-08-15 11:34:46 +04:30
David Halter 4a6f421b80 test for goto in loops that use e.g. empty arrays as input, #283 2013-08-15 11:33:32 +04:30
David Halter 0db6be0e99 add namespace packages to changelog 2013-08-14 08:24:50 +04:30
David Halter d817a36e80 fix a syntax problem of python2.6 (in tests) 2013-08-14 01:10:35 +04:30
David Halter ffa6daa3d1 add namespaces to feature list 2013-08-14 01:04:43 +04:30
David Halter e0b781987a fix two failed tests due to previous changes 2013-08-14 00:59:33 +04:30
David Halter 77181e3f4e more namespace package tests, #122 2013-08-14 00:56:22 +04:30
David Halter ed36486966 fixed a bug in api_classes comparison 2013-08-14 00:52:34 +04:30
David Halter 34f05cdad5 minor bug/testing fixes for #122 2013-08-14 00:26:06 +04:30
David Halter f5f1fcb8c3 also enable autocompletion on namespace packages, fixes #122 2013-08-14 00:17:40 +04:30
David Halter 2e0863e76a namespace packages first part, fix goto problems 2013-08-13 23:55:22 +04:30
David Halter 4e087f6c09 namespace package tests, #122 2013-08-13 23:04:34 +04:30
David Halter 19dec3d0ed fix api_classes definition description on flows 2013-08-13 22:38:02 +04:30
David Halter 51428fa38e first functioning for loop tests, see #283 2013-08-13 22:36:54 +04:30
David Halter cacc94acf3 clean up some docstrings in api_classes and put them in the right order 2013-08-13 22:23:24 +04:30
David Halter 93e993549a don't skip doctests in api_classes 2013-08-13 22:19:30 +04:30