Commit Graph
100 Commits
Author SHA1 Message Date
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
David Halter a895561f1a fixed a problem that combined __getattr__ and usages 2013-08-13 15:39:26 +04:30
David Halter 2359ccbeb1 rename completion/renaming.py to usages.py 2013-08-13 15:13:18 +04:30
David Halter faf7e0c422 fix a problem found by sith with dynamic params (includes tests) 2013-08-12 02:23:44 +04:30
David Halter 27854a3948 rewriting dynamic search_param stuff, should be faster now (fewer executions) and i hope that this fixes #220 2013-08-12 01:54:19 +04:30
David Halter e07625017d remove all the deprecation warnings in jedi itself 2013-08-11 23:00:27 +04:30
David Halter 0ab4119447 previous fix had still bugs, now finally fixes #221 2013-08-11 22:28:41 +04:30
David Halter e53c6d10d6 deprecate start_pos as discussed in #221 2013-08-11 21:24:48 +04:30
David Halter dee105119b tests for #221 2013-08-11 21:20:54 +04:30
David Halter ba9ba7c1fe line and column return None in case of builtin module, fixes #221 2013-08-11 21:15:48 +04:30
David Halter cf4325cef1 fix an output proplem with debugging via stdout (encoding in python 2) 2013-08-11 21:05:29 +04:30
David Halter 6179389df8 make it easier to debug bugs like #220, in dynamic param searching 2013-08-11 20:56:01 +04:30
David Halter f93226420e fix a few debugging problems 2013-08-11 20:10:52 +04:30
David Halter a72601a9d8 use docopt for run.py executions, much more readable 2013-08-11 19:53:14 +04:30
David Halter 604fe5e3f7 minor refactoring, use finally instead of complicated except 2013-08-11 18:15:24 +04:30
David Halter 1121588678 use ImportPath.is_relative_import instead of complicated lookups all the time 2013-08-11 18:14:58 +04:30
David Halter 81e625862e os.path is now accessible, but nested imports in general are not. fixes #213, #230 2013-08-11 18:10:21 +04:30
David Halter 710dac797b fix a nested import problem with not found imports 2013-08-11 17:59:36 +04:30
David Halter 0fef34c26e finding out that fake imports arent't allowed in python and os.path is a sys.modules modification, fix tests #213 2013-08-11 17:30:50 +04:30
David Halter 9d1e527b7c merge issue-213-from-import-definition of @tkf into dev 2013-08-11 01:20:45 +04:30
David Halter 86394a7ed5 fix problems with imports as user_statement and brackets, fixes #285 2013-08-11 01:14:13 +04:30
David Halter ec347dd975 user_statement problems with imports and brackets, test for #285 2013-08-11 01:12:08 +04:30
David Halter 66fa0b0575 move current to _current in parsing 2013-08-11 01:03:20 +04:30
David Halter 649135ea7b goto_assignments more readable 2013-08-11 00:06:04 +04:30
David Halter 832f05b4a1 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-08-10 22:58:08 +04:30
David Halter 959519560d init decorators should not execute __init__ in case of self variable lookups, fixes #247 2013-08-10 22:55:58 +04:30
David Halter 6421c95df1 tests for init decorator problem, see #247 2013-08-10 22:53:26 +04:30
David Halter 97edfb13f7 some method decorator tests were wrong (incomplete) 2013-08-10 22:26:24 +04:30
David Halter ff4f396957 more documentation on Instance 2013-08-10 22:18:21 +04:30
David Halter ee1df18694 instance readability improvements 2013-08-10 22:11:31 +04:30
David Halter c093e50537 Merge pull request #289 from asmeurer/pythonrc
Some fixes to the .pythonrc.py code
2013-08-10 10:37:32 -07:00
David Halter ce8a8cfa3a Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-08-10 21:42:03 +04:30
David Halter 085bddd6a1 change Execution usage to always use the decorator function 2013-08-10 21:40:36 +04:30
David Halter 72313e2774 Merge pull request #290 from asmeurer/sith_file
Make sith.py random work with files
2013-08-10 10:08:00 -07:00
David Halter c35da04820 illegal decorators tests 2013-08-09 18:12:51 +04:30
David Halter dce6f4a232 fix unicode problems in sith.py 2013-08-09 17:15:57 +04:30
David Halter f2ffa037da Merge pull request #287 from davidhalter/sith_check_isfile
Sith check isfile
2013-08-09 05:43:24 -07:00
David Halter 9c9a90707e Merge pull request #284 from davidhalter/sith_recording_bug
Sith recording bug
2013-08-09 05:41:27 -07:00
David Halter 2dd9ad7864 fix goto_definition on lambda problem, fixes #274 2013-08-09 13:51:45 +04:30
David Halter 22b11e0706 ignore decorators if cannot be found (also get rid of DecoratorNotFound exception), fixes #272 2013-08-09 13:01:21 +04:30
David Halter a5fa0708ee tests for #272, not existing method decorators in combination with super on __init__ 2013-08-09 12:36:53 +04:30
David Halter 59f0b523bd move descriptors out of classes into their own file 2013-08-09 11:38:30 +04:30
David Halter 7548ec7280 fix problems with class method decorators 2013-08-09 11:32:44 +04:30
David Halter c222cc5a32 method decorator as class tests 2013-08-09 10:58:24 +04:30
David Halter 5cf39565ee fix decorator problems in class methods (at least partially, there are problems with @staticmethod and @classmethod) 2013-08-09 02:11:12 +04:30
David Halter a6b1a247c2 method decorator tests 2013-08-08 15:14:10 +04:30
David Halter 1fb1244b68 remove unlogical operation catching 2013-08-08 12:36:26 +04:30
David Halter 7f53bd71fe fix encoding problems in python2 for travis 2013-08-08 00:26:47 +04:30
David Halter 7ab00242a8 finally change name of test.base module to helpers.py, fixes #181 2013-08-07 18:35:47 +04:30
David Halter 45432c6cb0 documentation and clean up, #181 2013-08-07 18:27:25 +04:30
David Halter 04e454269c add test_integration_keyword.py to test keywords (moved out of test_regression), #181 2013-08-07 18:12:37 +04:30
David Halter ee3f8d04f1 remove test.base.TestBase finally, #181 2013-08-07 18:06:52 +04:30
David Halter e114c662f9 use jedi.Script.method instead of stupid self calls in tests 2013-08-07 18:00:45 +04:30
David Halter 74edb9e08e test_regression should not be executable 2013-08-07 17:49:52 +04:30
David Halter 297ad635b6 moved more methods out of regression tests, created test_unicode.py, #181 2013-08-07 17:48:57 +04:30
David Halter 4e75cda7f6 moved more methods out of regression tests, created integration_import and jedi_system, #181 2013-08-07 17:41:22 +04:30
David Halter 5b4ee16317 move some docstring tests, #181 2013-08-07 17:37:14 +04:30
David Halter 686e29c2f2 move cache test to the right file, #181 2013-08-07 17:25:47 +04:30
David Halter 0b3a623c8d add a separate jedi system testing file, which helps e.g. if imports are correctly used, #181 2013-08-07 17:20:02 +04:30
David Halter a7584cfa04 add a separate api testing file, #181 2013-08-07 17:15:36 +04:30
David Halter 5c39b4596c add a separate docstring testing file, #181 2013-08-07 17:10:41 +04:30
David Halter 31e0b89791 add a separate speed testing file, #181 2013-08-07 17:06:24 +04:30
David Halter 6ed33d7c8d remove interpreter test from test_regression 2013-08-07 17:00:46 +04:30
David Halter ed53ce65ed removed old unused code 2013-08-07 16:42:50 +04:30
David Halter 8c5cf0ace6 further call_signatures test refactoring 2013-08-07 16:40:37 +04:30
David Halter 085a076764 finished with a huge refactoring of call_signatures testing 2013-08-07 16:33:51 +04:30