Commit Graph
100 Commits
Author SHA1 Message Date
Dave Halter 040ea2b735 fix a few annoyances to be quicker to develop now (disabled a few tests for now) 2014-02-13 15:40:51 +01:00
Dave Halter 6939e3e18f moved test_get_code to test_parser 2014-02-12 11:33:46 +01:00
Dave Halter 2f3e4152b4 Merge branch 'get_code_fidelity' of git://github.com/ganwell/jedi into ganwell 2014-02-12 11:09:08 +01:00
Dave Halter 32ccec8447 precedence stuff is not working yet, but need to merge first because of potential parser changes 2014-02-12 11:08:48 +01:00
Dave Halter cd1660dc53 first succeeding precedence tests 2014-01-31 11:12:28 +01:00
Dave Halter 62a74a6d2f tests for understanding operations 2014-01-30 11:27:03 +01:00
Dave Halter e904031400 start correcting the documentation 2014-01-29 21:34:57 +01:00
Dave Halter 8660555d7b moved api, parser and evaluate test directories to test_api, test_parser... 2014-01-29 21:16:18 +01:00
Dave Halter 021aae365d move more test files to specific directories 2014-01-29 20:50:09 +01:00
Dave Halter 78114b12e9 move some tests into specific directories 2014-01-29 20:43:42 +01:00
Dave Halter 36de8c427f moved more functions from api to helpers 2014-01-29 00:28:31 +01:00
Dave Halter 7aef1f934d simplified _prepare_goto 2014-01-29 00:03:03 +01:00
Dave Halter 13696018a2 removed some functions from classes 2014-01-28 23:51:34 +01:00
Dave Halter 9cfa8fead0 create a helpers module to push some api functions into it (make the api code easier to read. 2014-01-28 23:26:50 +01:00
Dave Halter 2175416684 removed keyword docstring functionality for goto_definitions - will be reintroduced with a Script.documentation function 2014-01-28 22:27:26 +01:00
Dave Halter 18f225200a test for dynamic params/usages case 2014-01-26 23:13:46 +01:00
Dave Halter f6b1e5635e move usages to its own api module usages 2014-01-26 23:04:38 +01:00
Dave Halter 8193f0c2b6 fix an issue with invalid syntax 2014-01-26 20:22:51 +01:00
Dave Halter ba6a65c477 user_stmt refactoring 2014-01-26 19:30:05 +01:00
Dave Halter 6a4f33f373 call signatures with whitespace seem to be working 2014-01-26 19:13:06 +01:00
Dave Halter 441c001bf9 test for not working call signatures with whitespace issues 2014-01-24 01:34:13 +01:00
Dave Halter 3d7522dff6 fixed None type appearances in CompiledObject 2014-01-24 00:57:53 +01:00
Dave Halter e587b876b6 tests and improvements for __next__ and send generator methods 2014-01-23 20:02:36 +01:00
Dave Halter 162d794081 underscore_decorators now automatically convert generators to lists 2014-01-23 15:21:52 +01:00
Dave Halter 6f2c1397b0 autocompletion diggs now pretty deep for generator objects 2014-01-23 14:39:00 +01:00
Dave Halter a1b68945ed fix some generator parents 2014-01-23 14:27:20 +01:00
Dave Halter c6b315aa2e failing test for fucked up generator parents 2014-01-23 14:26:04 +01:00
Dave Halter 1884087e71 start writing the changelog for 0.8.0. Hopefully to be realeased soon 2014-01-22 18:24:15 +01:00
Dave Halter c8fffbd7b6 fix python2.6 issues with completing colorama. this happened because of a missing object parent class 2014-01-22 17:14:28 +01:00
Dave Halter c7cae7900b remove old interpret.py 2014-01-22 16:34:05 +01:00
Dave Halter 7b1c35c3ed fix python 3 issues with the new interpreter implementation 2014-01-22 16:33:00 +01:00
Dave Halter e4aac3eb54 add colorama to tox config, because that improves the color output 2014-01-22 16:15:56 +01:00
Dave Halter 4a71f4beeb fixes for the interpreter stuff, py27 works now fine 2014-01-22 15:42:11 +01:00
Dave Halter 7c105d27e0 some tests survive the new interpreter module already 2014-01-22 15:17:50 +01:00
Dave Halter 9e063b1248 started writing a new interpreter module that is heavily simplified and fits the current Jedi architecture way better. 2014-01-21 23:35:21 +01:00
Dave Halter a29026c212 added Jedi debugging to pytest. Awesome. 2014-01-20 01:35:35 +01:00
Dave Halter 97ad1c6a29 moved get_names_for_scope to finder 2014-01-17 11:33:46 +01:00
Dave Halter de6a6b5813 avoid more import recursion - moved assign_tuples and find_assignments to finder module 2014-01-17 11:12:41 +01:00
Dave Halter a6abab4ef0 that test again... 2014-01-17 03:07:04 +01:00
Dave Halter cd40e213ce Remove UserContextParser again from docstring stuff, not really needed there. use a simpler solution 2014-01-17 03:06:07 +01:00
Dave Halter aa59aee3dc user_position removed from Parser. yikes! 2014-01-17 02:58:03 +01:00
Dave Halter 6063093151 test fixing 2014-01-17 02:53:30 +01:00
Dave Halter 19b0e1d5b6 reenable check_user_statement in parser, that did the whole user names calculation 2014-01-17 02:48:00 +01:00
Dave Halter b30a186f8f remove user_stmt and user_scope stuff - yes! 2014-01-17 02:34:09 +01:00
Dave Halter fc1899ecd4 implement user_scope search separately in UserContextParser 2014-01-17 02:08:37 +01:00
Dave Halter 33b7c341ab minor changes 2014-01-17 01:40:30 +01:00
Dave Halter 8b34e120e0 for loops are now parsed even if they are really faulty and don't end. 2014-01-17 01:39:23 +01:00
Dave Halter 92eba44d07 allow for flows to also be very faulty 2014-01-17 01:26:34 +01:00
Dave Halter e5d40c3685 flow syntax errors should still make it possible to add them to the parser (otherwise parser doesn't include all the code 2014-01-17 01:15:36 +01:00
Dave Halter 3337d638d1 fix some colorama/pytest combo crazyness 2014-01-17 01:02:50 +01:00
Dave Halter 588fbea4f9 start to remove user_stmt parsing 2014-01-17 00:25:30 +01:00
Dave Halter 6ef75256e0 fix end_pos stuff for fast parser 2014-01-17 00:24:45 +01:00
Dave Halter 4bf72eeaed create a customized UserContextParser for user_stmt and user_scope 2014-01-16 12:12:21 +01:00
Dave Halter 269e84da85 changed version stuff in setup.py, fixes #369 2014-01-16 00:36:14 +01:00
Dave Halter 134cd234de moved user_stmt up in api 2014-01-15 17:35:40 +01:00
Dave Halter 059b1e1353 underscore_memoization is now even easier in fast parser 2014-01-15 15:57:43 +01:00
Dave Halter d71cdded6e some easier memoization for fast parser 2014-01-15 15:48:16 +01:00
Dave Halter d5aa36cc69 replace propery with safe_property in some evaluate cases. fixes #249 2014-01-15 15:07:06 +01:00
Dave Halter 99882724da is_py3k -> is_py3 2014-01-14 11:43:56 +01:00
Dave Halter a6e49f2680 compatibility improvements -> use reduce from functools 2014-01-14 11:31:01 +01:00
Dave Halter 8bf8985247 move replstartup to the api 2014-01-14 00:08:25 +01:00
Dave Halter a44ce6b7df beautify __main__ 2014-01-14 00:06:01 +01:00
Dave Halter a9efa3db33 make utils feel more pythonic 2014-01-14 00:02:09 +01:00
Dave Halter b2507ad94a increase the pickling version. 2014-01-13 23:00:01 +01:00
Dave Halter b70ea1b9f6 fix a version_info testcase - testcase was broken 2014-01-13 22:17:12 +01:00
Dave Halter 6051b76304 added a note on how to ask questions on stackoverflow to the readme, fixes #334 2014-01-13 22:14:34 +01:00
Dave Halter 0c4a86acfd version bump to 0.8.0, we should make a release again 2014-01-13 21:49:00 +01:00
Dave Halter 7dff41c6b7 added a utils.version_info function to make it easy to check Jedi's version. #350 2014-01-13 21:40:16 +01:00
Dave Halter bf427fb312 use a string instead of a tuple for __version__, this behaviour is defined in a pep somewhere (maybe pep8). fixes #350 2014-01-13 21:34:30 +01:00
Dave Halter cdd356ff9b removed pr.String and pr.Number in favor of the more general pr.Literal 2014-01-13 16:47:01 +01:00
Dave Halter 717c4315df Remove Todos that didn't make sense. 2014-01-13 16:29:30 +01:00
Dave Halter 682e1c2708 debug.dbg and debug.warning now take a string and format args parameters to make debugging a little bit cleaner 2014-01-13 16:16:07 +01:00
Dave Halter 157f76a55d keywords should be part of the api package 2014-01-13 14:24:34 +01:00
Dave Halter cf0a2e8c2e use FakeStatement instead of strange Statement constructions 2014-01-13 14:14:04 +01:00
Dave Halter 83b490dd6d PyObject -> CompiledObject, PyName -> CompiledName 2014-01-13 14:09:03 +01:00
Dave Halter 0c98c05cd3 use __import__ instead of exec_function (should have done that a long time ago) 2014-01-13 14:01:03 +01:00
Dave Halter 1c1349162c memory_check.py should be an executable script 2014-01-13 13:55:29 +01:00
Dave Halter 292d33e2d1 Merge pull request #363 from davidhalter/builtin
Fixing Memory Issues in Compiled Modules
2014-01-13 03:20:00 -08:00
Dave Halter 6b3ebe50d8 scripts folder doesn't need testing - just ignore it 2014-01-13 03:18:17 +01:00
Dave Halter fd8c4bcf67 Merge pull request #367 from blink1073/memory_check
Add a module to test the memory usage with large libaries
2014-01-12 18:11:49 -08:00
Dave Halter e56a0cf544 docstring was sometimes empty for faked modules 2014-01-13 02:58:10 +01:00
Dave Halter a96a2baf5b fix an issue with missing '__class__' methods e.g. in numpy 2014-01-13 02:30:10 +01:00
Dave Halter c602dc1c40 modules like PyQt4.QtGui are now importable, because the import works again. used a code snippet from the old builtin plugin 2014-01-13 01:57:26 +01:00
Dave Halter b2d99be3ee delete old builtin code 2014-01-12 19:23:37 +01:00
Dave Halter 4b319ad817 fix a docstr issue 2014-01-12 19:22:31 +01:00
Dave Halter dfb494b9c4 finally able to delete the old builtin stuff 2014-01-12 18:22:33 +01:00
Dave Halter 860aa50192 renamed fake/_io.pym to io.pym and fixed some other 'fake' issues 2014-01-12 18:17:00 +01:00
Dave Halter 2bde6cde08 changing completion of python file objects 2014-01-12 18:07:58 +01:00
Dave Halter 99fe204496 Merge remote-tracking branch 'origin/dev' into builtin 2014-01-12 17:04:48 +01:00
Dave Halter c75cef0882 fix some python 3 compatibility things (which involves some real bugs, but py2 was passing) 2014-01-12 17:02:26 +01:00
Dave Halter 4e18fe1e11 Merge pull request #365 from blink1073/dev
Allow Jedi to be imported from a REPL on Windows
2014-01-12 06:08:11 -08:00
Dave Halter e4f3f5bea2 fix recursion issue with compiled classes 2014-01-12 14:28:42 +01:00
Dave Halter bd239446f5 fix call signatures 2014-01-12 02:42:00 +01:00
Dave Halter 7a0dc41b62 fixed doctest issues 2014-01-12 02:23:35 +01:00
Dave Halter 0bff729294 lots of small bugfixes 2014-01-12 02:15:59 +01:00
Dave Halter b93c761db6 after fixing private variable filtering it looks much better 2014-01-12 01:11:59 +01:00
Dave Halter 4006b231d3 fix a few last standing issues with integration tests. ok after running tests with tox i see that they are not the last issues... 2014-01-12 00:34:56 +01:00
Dave Halter 1765fadf73 fix problems with self attributes - from fake modules 2014-01-11 18:05:44 +01:00
Dave Halter d430ef53a7 fix a few more minor issues 2014-01-11 16:14:58 +01:00
Dave Halter c6a14a348e parent was wrongly used in _create_from_name 2014-01-11 16:04:05 +01:00