Dave Halter
|
b90589b62e
|
Some changes because parso has changed.
|
2017-05-22 15:42:42 -04:00 |
|
Dave Halter
|
50c7137437
|
splitlines and source_to_unicode are utils of parso.
|
2017-05-20 09:55:16 -04:00 |
|
Dave Halter
|
9bca3d39f5
|
Actually use parso now instead of Jedi.
|
2017-05-19 14:20:14 -04:00 |
|
Dave Halter
|
1bb0c89f46
|
Remove source parameter from parser.
|
2017-03-31 21:44:43 +02:00 |
|
Dave Halter
|
932703f04a
|
Remove an import that is not needed anymore.
|
2017-03-28 02:09:38 +02:00 |
|
Dave Halter
|
ee47be0140
|
Merge Parser and ParserWithRecovery.
|
2017-03-28 02:08:16 +02:00 |
|
Dave Halter
|
8a35a04439
|
Remove the module path from the parser tree.
Some static analysis tests are still failing.
|
2017-03-27 18:13:32 +02:00 |
|
Dave Halter
|
b60ec024fa
|
Remove start_parsing completely from the Parsers.
|
2017-03-26 12:52:37 +02:00 |
|
Dave Halter
|
9dedb9ff68
|
Don't start parsing in our own API.
|
2017-03-20 08:44:52 +01:00 |
|
Dave Halter
|
448bfd0992
|
Move the python parser tree.
|
2017-03-16 17:20:32 +01:00 |
|
Dave Halter
|
c5071f9f49
|
Change get_previous_leaf to return None if there is no leaf anymore (at the start of the file).
|
2017-02-03 17:23:15 +01:00 |
|
Dave Halter
|
445bf6c419
|
Get rid of get_parent_until.
|
2017-02-03 09:59:32 +01:00 |
|
Dave Halter
|
7300f3e7ef
|
Fix issues with Python 3.6's f strings and underscores in numbers.
|
2017-01-08 19:39:14 +01:00 |
|
Dave Halter
|
c7241068e8
|
Fix an issue with call signatures in empty files.
|
2017-01-02 19:39:48 +01:00 |
|
Dave Halter
|
ce0a02f6c1
|
Fix an issue with executed python objects.
|
2016-12-17 14:08:49 +01:00 |
|
Dave Halter
|
7ed1c95737
|
Fix dynamic param tests.
|
2016-11-24 00:11:26 +01:00 |
|
Dave Halter
|
e34246eb00
|
Fix __call__.
|
2016-10-24 00:39:59 +02:00 |
|
Dave Halter
|
2e6603cc2e
|
A lot of small improvements.
|
2016-10-22 17:40:42 +02:00 |
|
Dave Halter
|
c764976ef2
|
Merge branch 'remove_names_dicts' into diff
|
2016-09-11 13:24:11 +02:00 |
|
Dave Halter
|
7667cba17e
|
Remove old indent/dedent usages. Now they are not needed anymore.
|
2016-09-11 13:20:24 +02:00 |
|
Dave Halter
|
1226962922
|
Remove dedents from the parser tree. No need for them.
|
2016-09-11 13:03:29 +02:00 |
|
Dave Halter
|
54297cc4a5
|
Most of the new diff parsers functionality should be working now. There are a few TODOs to solve, though.
|
2016-08-16 18:58:28 +02:00 |
|
Dave Halter
|
62e184134b
|
Fix __call__ param completion. Fixes #613.
|
2016-07-31 21:37:01 +02:00 |
|
Dave Halter
|
142f6652b5
|
Move toward ParserWithRecovery for the completion context.
It was simply not possible to do it with the normal parser, because of dedents.
|
2016-07-28 23:14:24 +02:00 |
|
Dave Halter
|
fc7fd9d989
|
Fix some more fast parser issues.
|
2016-07-25 18:29:01 +02:00 |
|
Dave Halter
|
2d544c51c6
|
Better completions in comments.
|
2016-07-25 09:58:04 +02:00 |
|
Dave Halter
|
aeb734564c
|
Finally fix all tests.
|
2016-07-25 00:15:58 +02:00 |
|
Dave Halter
|
ebbaaf7ad2
|
Fix some more problems with the fast parser.
|
2016-07-24 23:44:26 +02:00 |
|
Dave Halter
|
ff47fab62a
|
Remove Whitespace class and replace it with Newline and Endmarker.
|
2016-07-24 17:16:36 +02:00 |
|
Dave Halter
|
7f2f66f011
|
Trying to refactor the completion stack finding.
|
2016-07-24 17:06:54 +02:00 |
|
Dave Halter
|
baa745a6ac
|
A minor issue for getting the stack at a position, fixes #590.
|
2016-07-08 08:39:36 +02:00 |
|
Dave Halter
|
9245181a8c
|
Some python 2.7 (and 3.3) compatibility improvements.
|
2016-07-03 02:54:21 +02:00 |
|
Dave Halter
|
52c42c3392
|
Reenable call signature caching and move a lot of parser specific caching to the parser itself.
|
2016-06-28 08:46:29 +02:00 |
|
Dave Halter
|
bb4ab45131
|
Don't use UserContextParser.user_stmt anymore, since we can access it directly.
|
2016-06-23 16:36:12 +02:00 |
|
Dave Halter
|
73e71b3c1a
|
Finally able to remove the user_context. This is awesome!
Now we only use the syntax tree to understand where the user is doing something.
|
2016-06-23 16:26:28 +02:00 |
|
Dave Halter
|
9225db084a
|
user_context is not needed anymore for completions. yay!
|
2016-06-23 09:19:20 +02:00 |
|
Dave Halter
|
57b1fdaa26
|
Remove code that's not used anymore.
|
2016-06-22 00:31:36 +02:00 |
|
Dave Halter
|
6fec29d778
|
All tests except the Interpreter tests are working again.
|
2016-06-22 00:27:21 +02:00 |
|
Dave Halter
|
8e67facecc
|
Refactoring: call_of_name -> call_of_leaf.
|
2016-06-21 18:42:20 +02:00 |
|
Dave Halter
|
5212849780
|
Fix the last known case of call signatures. Yay!
|
2016-06-20 18:32:44 +02:00 |
|
Dave Halter
|
e0631cfda2
|
Add new tests and certain fixes for some new call signature issues.
|
2016-06-20 18:20:35 +02:00 |
|
Dave Halter
|
fa13889e70
|
Fix the latest call signature tests.
|
2016-06-20 08:26:18 +02:00 |
|
Dave Halter
|
389885c285
|
Fix some of the newer call_signature tests.
|
2016-06-18 00:47:53 +02:00 |
|
Dave Halter
|
7ddc9c9c78
|
Fix all call signature tests.
|
2016-06-17 17:03:34 +02:00 |
|
Dave Halter
|
32346c6da8
|
A lot of call signature refactorings. Note that this commit is totally broken.
|
2016-06-17 00:20:13 +02:00 |
|
Dave Halter
|
118ba7d833
|
A lot of stuff is not needed anymore, because of the recent refactorings.
|
2016-06-14 08:31:36 +02:00 |
|
Dave Halter
|
a485412af0
|
Rename goto_definition to goto_definitions.
|
2016-06-11 23:16:44 +02:00 |
|
Dave Halter
|
c82691a12b
|
Make goto_definitions a lot simpler.
|
2016-06-11 23:13:04 +02:00 |
|
Dave Halter
|
87a75fdfe4
|
Remove old unused code.
|
2016-06-06 09:27:43 +02:00 |
|
Dave Halter
|
7a170532d9
|
Now finally all tests are running again (except the repl completion, which is a separate issue).
|
2016-06-06 09:22:50 +02:00 |
|