20529d3405
Fix decorator issues with nested decorators and class combinations. Fixes#642.
Dave Halter2016-07-17 23:54:47 +02:00
4b0e164d91
Add the long forgotten tests for test_usages.py
Dave Halter2016-07-17 22:45:12 +02:00
2563746810
Fix issues with octals in Python 2 (and possibly 3). Fixes#559.
Dave Halter2016-07-17 22:36:26 +02:00
68ff520cf8
Limit dynamic param searches to not go crazy in a lot of occasions. Refs #574.
Dave Halter2016-07-17 19:49:12 +02:00
becbbb2e64
Refactor the dynamic params functionality.
Dave Halter2016-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 Halter2016-07-17 13:59:19 +02:00
e18c8200dd
Fixed an issue with error nodes and completion in more complex settings.
Dave Halter2016-07-11 17:32:00 +02:00
b1fbc512d8
xfail for a fast parser test that I'm not sure what to do with.
Dave Halter2016-07-11 17:05:59 +02:00
72634a94b8
Try to use line numbers instead of offsets in the fast parser.
Dave Halter2016-07-11 08:56:30 +02:00
3ad67a4ec7
Jedi raised an error when defined_names was called on empty functions, fixes#697.
Dave Halter2016-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 Halter2016-07-10 17:50:46 +02:00
7d64069780
An empty path given to Jedi should not raise errors. Fixes#577.
Dave Halter2016-07-09 17:27:57 +02:00
67ea9ab9f3
Add Eric IDE to the list of supported plugins.
Dave Halter2016-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 Halter2016-07-03 16:16:54 +02:00
a02b07bcb8
Merge remote-tracking branch 'origin/master' into away
Dave Halter2016-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 Halter2016-07-03 15:32:08 +02:00
0223471237
Increase the parser pickling version.
Dave Halter2016-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 Halter2016-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 Halter2016-07-03 12:07:23 +02:00
9af2fe6f0d
Remove the Python 3.2 test from travis.
Dave Halter2016-07-03 11:57:58 +02:00
c4ec5caf40
3.2 is not supported anymore. Mention this in docs as well.
Dave Halter2016-07-03 11:38:38 +02:00
45dde12429
Pip compatibility with Python 3.2 is gone. Therefore we also remove it.
Dave Halter2016-07-03 11:36:19 +02:00
62786158da
Some more Python compatibility improvements.
Dave Halter2016-07-03 11:35:07 +02:00
f7278f5bf1
Some more bug fixes for MixedObject.
Dave Halter2016-06-30 19:36:21 +02:00
6b41db96bf
Refactor something to use .type instead of isinstance.
Dave Halter2016-06-30 09:55:21 +02:00
689284c615
Refactor Evaluator.wrap to use the types in a more consequent way.
Dave Halter2016-06-29 21:06:35 +02:00
a3b263a599
REPL completion is working again partially. There's some progress at least.
Dave Halter2016-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 Halter2016-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 Halter2016-06-27 09:14:11 +02:00
9b85080fb8
Finally removed the user_context. Goodbye old hacks...
Dave Halter2016-06-27 08:49:27 +02:00
969100e471
Move the parsing away from user_context to api.py.
Dave Halter2016-06-27 08:48:36 +02:00
0445d51d34
Remove the user_scope from the user_context module.
Dave Halter2016-06-27 08:35:24 +02:00
bb4ab45131
Don't use UserContextParser.user_stmt anymore, since we can access it directly.
Dave Halter2016-06-23 16:36:12 +02:00
73e71b3c1a
Finally able to remove the user_context. This is awesome!
Dave Halter2016-06-23 16:26:28 +02:00
672bf9908c
Remove path argument from completions, because it's really not needed anymore.
Dave Halter2016-06-23 16:11:23 +02:00
9225db084a
user_context is not needed anymore for completions. yay!
Dave Halter2016-06-23 09:19:09 +02:00
8f39a6e89d
'source' should not be public in the API. Move it to _source.
Dave Halter2016-06-23 08:53:34 +02:00
77e66e01e3
Remove the inference module, it's unused code.
Dave Halter2016-06-23 08:49:26 +02:00
1ab4eb3696
Exchange the completion trailer evaluation logic. It's way more consistent now.
Dave Halter2016-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 Halter2016-06-22 22:52:10 +02:00