1
0
forked from VimPlug/jedi

Commit Graph

  • 01e577be8b Move some recursion issues to the recursion module. Dave Halter 2016-07-27 22:23:30 +02:00
  • 4c6669e081 Fix another issue. Dave Halter 2016-07-27 21:17:12 +02:00
  • 0a4e858d88 Fix a recursion issue and add a test. Dave Halter 2016-07-27 19:15:03 +02:00
  • a6dd7bf822 Fix an issue with inherited lists. Dave Halter 2016-07-26 09:24:51 +02:00
  • 92dd6df804 Merge pull request #745 from sadovnychyi/dev Dave Halter 2016-07-25 20:28:33 +02:00
  • fc7fd9d989 Fix some more fast parser issues. Dave Halter 2016-07-25 18:29:01 +02:00
  • 60484707a0 Add support for ZIP and EGG packages in imports Dmitry Sadovnychyi 2016-07-23 22:36:40 +08:00
  • 2d544c51c6 Better completions in comments. Dave Halter 2016-07-25 09:58:04 +02:00
  • 6ed864f032 Merge branch 'dev' of github.com:davidhalter/jedi into dev Dave Halter 2016-07-25 00:16:12 +02:00
  • aeb734564c Finally fix all tests. Dave Halter 2016-07-25 00:14:42 +02:00
  • ebbaaf7ad2 Fix some more problems with the fast parser. Dave Halter 2016-07-24 23:44:26 +02:00
  • 7ec957e918 Forgot to include this file in previous commits. Dave Halter 2016-07-24 17:17:03 +02:00
  • ff47fab62a Remove Whitespace class and replace it with Newline and Endmarker. Dave Halter 2016-07-24 17:16:36 +02:00
  • 7f2f66f011 Trying to refactor the completion stack finding. Dave Halter 2016-07-24 17:06:54 +02:00
  • 2ea31df5c4 Merge branch 'dev' into bugfix/performances_degradation ColinDuquesnoy 2016-07-24 15:54:54 +02:00
  • 536424159e Merge pull request #747 from ColinDuquesnoy/bump_version_dev Dave Halter 2016-07-21 17:17:51 +02:00
  • 98cd1cccd6 Remove .dev suffix ColinDuquesnoy 2016-07-21 11:06:09 +02:00
  • 7c8aa51381 Bump version to 0.10.0.dev0 ColinDuquesnoy 2016-07-21 10:54:00 +02:00
  • 07f76a1703 Merge remote-tracking branch 'upstream/dev' into bugfix/performances_degradation ColinDuquesnoy 2016-07-21 10:41:11 +02:00
  • cd9a8705a2 Fix a potential issue with the loading of settings. Dave Halter 2016-07-21 00:48:17 +02:00
  • 42bf193af8 Fix for some small issues with the equals. Dave Halter 2016-07-20 23:24:29 +02:00
  • f20df95074 Fix the issues with added equals after params in the wrong places. Fixes #643. Dave Halter 2016-07-20 23:19:05 +02:00
  • 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