Commit Graph

  • a2d66579d7 Test for the equals that is added to params sometimes. Refs #582. Dave Halter 2016-07-20 09:27:28 +02:00
  • 7ee08d01fd Add a TODO. Dave Halter 2016-07-20 09:10:31 +02:00
  • b5bd8496b0 Fix the errors for the old octal tests. Dave Halter 2016-07-18 19:28:01 +02:00
  • 2776af3db5 Fix an issue with global stmts. They caused recursionerrors when used wrong. Fixes #610. Dave Halter 2016-07-18 19:23:08 +02:00
  • 9eee0d6635 Remove misleading/wrong TODO. Dave Halter 2016-07-18 00:02:47 +02:00
  • 20529d3405 Fix decorator issues with nested decorators and class combinations. Fixes #642. Dave Halter 2016-07-17 23:54:47 +02:00
  • 4b0e164d91 Add the long forgotten tests for test_usages.py Dave Halter 2016-07-17 22:45:12 +02:00
  • 2563746810 Fix issues with octals in Python 2 (and possibly 3). Fixes #559. Dave Halter 2016-07-17 22:36:26 +02:00
  • 68ff520cf8 Limit dynamic param searches to not go crazy in a lot of occasions. Refs #574. Dave Halter 2016-07-17 19:49:12 +02:00
  • becbbb2e64 Refactor the dynamic params functionality. Dave Halter 2016-07-17 19:05:47 +02:00
  • 75c1ebc2fe Add a max_dynamic_params_depth setting to limit recusive searching for those params. It shouldn't be too crazy. Dave Halter 2016-07-17 13:59:19 +02:00
  • 218278af8d Fix an issue with slice indexing. Dave Halter 2016-07-14 18:27:15 +02:00
  • 3a0008ea80 Simplification. Dave Halter 2016-07-14 08:40:32 +02:00
  • cc953ffff0 Goto on trailers wasn't correct. Fixes #571. Dave Halter 2016-07-13 19:15:28 +02:00
  • 927534a8d5 Strange unicode characters are error tokens. Fixes #587. Dave Halter 2016-07-13 08:53:08 +02:00
  • c26f740dcd The import path can be a list as well as a tuple. Deal with it. Dave Halter 2016-07-13 08:33:57 +02:00
  • 45941a7006 Fix usage tests. Dave Halter 2016-07-12 23:32:33 +02:00
  • 1d8b71ba56 Add an isinstance test. Dave Halter 2016-07-12 19:31:28 +02:00
  • e18c8200dd Fixed an issue with error nodes and completion in more complex settings. Dave Halter 2016-07-11 17:32:00 +02:00
  • b1fbc512d8 xfail for a fast parser test that I'm not sure what to do with. Dave Halter 2016-07-11 17:05:59 +02:00
  • 72634a94b8 Try to use line numbers instead of offsets in the fast parser. Dave Halter 2016-07-11 08:56:30 +02:00
  • 3ad67a4ec7 Jedi raised an error when defined_names was called on empty functions, fixes #697. Dave Halter 2016-07-10 18:15:06 +02:00
  • 1c0aa06c7d PEP 3132 unpacking should not raise an error (it may yield wrong results though at the moment), fixes #707. Dave Halter 2016-07-10 17:50:46 +02:00
  • 7d64069780 An empty path given to Jedi should not raise errors. Fixes #577. Dave Halter 2016-07-09 17:27:57 +02:00
  • 690241332d Add a changelog for 0.10.0. Dave Halter 2016-07-09 02:40:27 +02:00
  • e0cb1346e1 Add basic yield from type inference. References #647. Dave Halter 2016-07-09 02:33:16 +02:00
  • 5280f567f9 The docstring of import completions was wrong. Dave Halter 2016-07-09 01:04:15 +02:00
  • baa745a6ac A minor issue for getting the stack at a position, fixes #590. Dave Halter 2016-07-08 08:39:36 +02:00
  • e5f09e1c7d Fix an issue with end_pos of a module. Dave Halter 2016-07-08 00:03:52 +02:00
  • c499696b60 Fix python 2.7 tests. Dave Halter 2016-07-07 19:16:01 +02:00
  • adcc1c2b51 Don't delete ErrorNode names. They are part of the parser now. Dave Halter 2016-07-07 18:28:51 +02:00
  • 4a19376187 Fix issue https://github.com/DamnWidget/anaconda/issues/449. Using self should not cause side effects in completion. Dave Halter 2016-07-06 18:31:47 +02:00
  • 3ad159b0aa The import logic cannot assume that a file is always importable, fixes #716. Dave Halter 2016-07-06 08:52:23 +02:00
  • 4243adf54b Add param splitting test. Dave Halter 2016-07-06 08:30:27 +02:00
  • 074a154af3 Fix a small issue that coul dhappen e.g. in stdin. Dave Halter 2016-07-06 08:05:50 +02:00
  • 24cddda8e7 Remove the old interpreter logic. Dave Halter 2016-07-04 08:35:22 +02:00
  • 67ea9ab9f3 Add Eric IDE to the list of supported plugins. Dave Halter 2016-07-03 16:22:23 +02:00
  • 447656fd14 Remvoed SynWrite from the Jedi implementations. From now on we only add major editors and projects that are using it. Dave Halter 2016-07-03 16:16:54 +02:00
  • a02b07bcb8 Merge remote-tracking branch 'origin/master' into away Dave Halter 2016-07-03 15:46:55 +02:00
  • 6a8138d185 Improve the compiled object generation caching, which was very wrong and is ok now, but still needs improvements. Dave Halter 2016-07-03 15:32:08 +02:00
  • 0223471237 Increase the parser pickling version. Dave Halter 2016-07-03 12:31:57 +02:00
  • 1ba226d4a2 Typing after all cannot be used in Python 2.6, therefore remove it again and disable the tests for 2.6 that need it. Dave Halter 2016-07-03 12:10:19 +02:00
  • 2d2b22ba69 Dependency updates for tox, add typing for Python 2.6 and remove it for 3.5, because that version includes it natively. Dave Halter 2016-07-03 12:07:23 +02:00
  • 9af2fe6f0d Remove the Python 3.2 test from travis. Dave Halter 2016-07-03 11:57:58 +02:00
  • c4ec5caf40 3.2 is not supported anymore. Mention this in docs as well. Dave Halter 2016-07-03 11:38:38 +02:00
  • 45dde12429 Pip compatibility with Python 3.2 is gone. Therefore we also remove it. Dave Halter 2016-07-03 11:36:19 +02:00
  • 62786158da Some more Python compatibility improvements. Dave Halter 2016-07-03 11:35:07 +02:00
  • 10b8936b11 More python2.7 fixes. Dave Halter 2016-07-03 02:57:43 +02:00
  • 9245181a8c Some python 2.7 (and 3.3) compatibility improvements. Dave Halter 2016-07-03 02:54:21 +02:00
  • 609965d07c Finally fix all python 3.4 tests again. Dave Halter 2016-07-01 20:59:24 +02:00
  • 67a0f604a7 Fix an issue with interpreter exceptions in certain cases. Dave Halter 2016-07-01 19:32:05 +02:00
  • 2652666080 Remove the logic to not use getattr on instances in CompiledObjects. Dave Halter 2016-07-01 18:11:44 +02:00
  • 056ad1b8a8 Fix a few more tests that where not correctly written a while ago. Dave Halter 2016-07-01 08:42:05 +02:00
  • d5098ef096 Forgot to add parser/utils.py. Dave Halter 2016-06-30 19:36:48 +02:00
  • f7278f5bf1 Some more bug fixes for MixedObject. Dave Halter 2016-06-30 19:36:21 +02:00
  • 6b41db96bf Refactor something to use .type instead of isinstance. Dave Halter 2016-06-30 09:55:21 +02:00
  • 689284c615 Refactor Evaluator.wrap to use the types in a more consequent way. Dave Halter 2016-06-29 21:06:35 +02:00
  • a3b263a599 REPL completion is working again partially. There's some progress at least. Dave Halter 2016-06-29 08:49:20 +02:00
  • 52c42c3392 Reenable call signature caching and move a lot of parser specific caching to the parser itself. Dave Halter 2016-06-28 08:46:29 +02:00
  • 746a513ef9 Return a TokenInfo object in the tokenizer instead of a tuple (it's a namedtuple now.) Dave Halter 2016-06-27 09:14:11 +02:00
  • 9b85080fb8 Finally removed the user_context. Goodbye old hacks... Dave Halter 2016-06-27 08:49:27 +02:00
  • 969100e471 Move the parsing away from user_context to api.py. Dave Halter 2016-06-27 08:48:36 +02:00
  • 0445d51d34 Remove the user_scope from the user_context module. Dave Halter 2016-06-27 08:35:24 +02:00
  • bb4ab45131 Don't use UserContextParser.user_stmt anymore, since we can access it directly. Dave Halter 2016-06-23 16:36:12 +02:00
  • 73e71b3c1a Finally able to remove the user_context. This is awesome! Dave Halter 2016-06-23 16:26:28 +02:00
  • 672bf9908c Remove path argument from completions, because it's really not needed anymore. Dave Halter 2016-06-23 16:11:23 +02:00
  • 9225db084a user_context is not needed anymore for completions. yay! Dave Halter 2016-06-23 09:19:09 +02:00
  • 8f39a6e89d 'source' should not be public in the API. Move it to _source. Dave Halter 2016-06-23 08:53:34 +02:00
  • 77e66e01e3 Remove the inference module, it's unused code. Dave Halter 2016-06-23 08:49:26 +02:00
  • 1ab4eb3696 Exchange the completion trailer evaluation logic. It's way more consistent now. Dave Halter 2016-06-23 08:47:31 +02:00
  • cbef4235ff Remove needs_dot and settings.add_dot_after_module. Both are not really used anymore with context completions anymore. Dave Halter 2016-06-22 22:52:10 +02:00
  • 070ee0cc2f Merge pull request #734 from kiryph/patch-1 Dave Halter 2016-06-22 22:37:02 +02:00
  • 1355ea01b3 Simplify completions further to eventually get rid of user_context. Dave Halter 2016-06-22 09:15:32 +02:00
  • 80aa9ad079 A small python 2 bugfix. Dave Halter 2016-06-22 00:45:14 +02:00
  • 57b1fdaa26 Remove code that's not used anymore. Dave Halter 2016-06-22 00:31:36 +02:00
  • 6fec29d778 All tests except the Interpreter tests are working again. Dave Halter 2016-06-22 00:27:21 +02:00
  • 8e67facecc Refactoring: call_of_name -> call_of_leaf. Dave Halter 2016-06-21 18:42:20 +02:00
  • d0eb8137e2 Remove old unused call_of_name madness. Dave Halter 2016-06-21 18:39:35 +02:00
  • 0a3bc34d6b Fix some more issues with the call_of_name function. Dave Halter 2016-06-21 18:39:02 +02:00
  • b941e36f04 Another call_of_name fix (breaking tests.) Dave Halter 2016-06-21 09:49:12 +02:00
  • 5212849780 Fix the last known case of call signatures. Yay! Dave Halter 2016-06-20 18:32:44 +02:00
  • e0631cfda2 Add new tests and certain fixes for some new call signature issues. Dave Halter 2016-06-20 18:20:35 +02:00
  • a9b0af3167 Add vim editor plugin deoplete-jedi #734 kiryph 2016-06-19 13:33:58 +02:00
  • b9d3371f39 Small refactoring of call signatures. Dave Halter 2016-06-20 08:44:56 +02:00
  • fa13889e70 Fix the latest call signature tests. Dave Halter 2016-06-20 08:26:18 +02:00
  • 389885c285 Fix some of the newer call_signature tests. Dave Halter 2016-06-18 00:47:53 +02:00
  • 7ddc9c9c78 Fix all call signature tests. Dave Halter 2016-06-17 17:03:34 +02:00
  • 32346c6da8 A lot of call signature refactorings. Note that this commit is totally broken. Dave Halter 2016-06-17 00:20:13 +02:00
  • 6f366e2d77 Rename next_sibling and prev_sibling. Dave Halter 2016-06-14 23:22:33 +02:00
  • 78d25541bb The parser tree doesn't need to care about error statements anymore. Dave Halter 2016-06-14 18:12:19 +02:00
  • 6853bd70f4 Adding a token in pgen should have the same signature that the tokenizer uses. Dave Halter 2016-06-14 18:09:31 +02:00
  • 2ce66a9508 Imports belong to the top of the module. Dave Halter 2016-06-14 18:09:08 +02:00
  • 01ddacfec4 Generalize the tuple order of tokens. Dave Halter 2016-06-14 08:57:38 +02:00
  • 118ba7d833 A lot of stuff is not needed anymore, because of the recent refactorings. Dave Halter 2016-06-14 08:31:36 +02:00
  • 6cf8ca03b2 Goto refactoring. Everything is now so much less complicated. Dave Halter 2016-06-14 00:07:55 +02:00
  • 653f247a42 Fix a goto_definitions test. Dave Halter 2016-06-13 18:26:20 +02:00
  • 27f05de3b7 Fix a few more issues, mostly with the fast parser. Dave Halter 2016-06-13 18:21:17 +02:00
  • a485412af0 Rename goto_definition to goto_definitions. Dave Halter 2016-06-11 23:15:55 +02:00
  • c82691a12b Make goto_definitions a lot simpler. Dave Halter 2016-06-11 23:13:04 +02:00
  • 9930ab5056 Small fixes to make the tests pass again. Dave Halter 2016-06-11 16:50:05 +02:00