Commit Graph
100 Commits
Author SHA1 Message Date
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
David Halter d1383965aa refactor call signature tests, use own file (incomplete) 2013-08-07 14:54:42 +04:30
David Halter 2ea2a8c6cd filter all non executables when used with call_signatures, fixes #240 2013-08-07 14:36:35 +04:30
David Halter a79148925d another improvement to test/base.py 2013-08-07 14:16:50 +04:30
David Halter 03c75babdd Allow access to all the Jedi methods with a simplified interface in regression tests 2013-08-07 12:54:43 +04:30
David Halter c6e08221ce fixed more import problems (also with the import usage), definitely fixes davidhalter/jedi-vim#152 2013-08-07 10:24:28 +04:30
David Halter f72816a702 fix builtin module imports, fixes davidhalter/jedi-vim#152 2013-08-06 18:44:34 +04:30
David Halter 5ec5e2b139 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-08-06 18:03:47 +04:30
David Halter 50438218ef *args/**kwargs without call, fixes #235 2013-08-06 16:10:02 +04:30
David Halter 0dc3d5e195 *args/**kwargs tests for #235 (failing tests) 2013-08-06 15:34:12 +04:30
David Halter 22edd6a149 *args/**kwargs tests for #235 (those are working) 2013-08-06 15:21:40 +04:30
David Halter 289967303d added anaconda, another sublime/jedi plugin, cc @srusskih and @DamnWidget 2013-08-06 14:50:37 +04:30
David Halter 1a8227aeec changed no duplicate modules test to respect attributes with the same name as their module 2013-08-06 13:52:25 +04:30
David Halter 9f843730ed Merge branch 'repl' into dev 2013-08-06 10:57:24 +04:30
David Halter 0dc3106569 add keyword_names method to keyword module (includes test), fixes #248 2013-08-06 10:55:05 +04:30
David Halter 4d910491bc Merge pull request #280 from davidhalter/repl
Repl completion changes
2013-08-05 23:04:30 -07:00
David Halter 66a984b8ef move issues to pull request in contributing 2013-08-05 16:36:41 +04:30
David Halter 9c258ca897 remove a sys.path hack that is not needed 2013-08-05 16:26:50 +04:30
David Halter 06f150028a Merge pull request #278 from asmeurer/sith_print
Working on improving sith.py run
2013-08-05 04:52:32 -07:00
David Halter 77d771b10e Merge branch 'dev' into repl 2013-08-05 15:35:59 +04:30
David Halter 57ab3cf92c fix doctest problem 2013-08-05 15:35:46 +04:30
David Halter 8f7de8f663 Merge branch 'dev' into repl 2013-08-05 15:20:10 +04:30
David Halter cea1d265a6 repl documentation, adds @asmeurer suggestions 2013-08-05 15:18:24 +04:30
David Halter e287bf9bca changelog for version 0.7.0 2013-08-02 15:45:47 +02:00
David Halter a118b001cc version bump to 0.7 2013-08-02 15:38:39 +02:00
David Halter 997e506038 fix a magic method problem 2013-08-02 15:11:01 +02:00
David Halter 68d02df017 fix a parent problem with generators 2013-08-01 15:49:52 +02:00
David Halter cef58f89a8 generator problem test 2013-08-01 10:23:22 +02:00
David Halter 6c3d7431e7 fix a typo 2013-07-31 23:03:50 +02:00
David Halter c615e70889 only use repl keyword for now in __main__.py. 2013-07-31 17:32:47 +02:00
David Halter ae6dc782da simplify repl completion support, only use the jedi one, because the builtin completion (rlcompleter) is not context sensitive and makes the whole thing really complicated. 2013-07-31 17:16:12 +02:00
David Halter ea2f9ebd4c from LPGL to MIT license (got the permission from all contributors), fixes #5 2013-07-30 03:11:34 +02:00
David Halter 8276848bfb merged master with dev 2013-07-29 15:12:21 +02:00