Dave Halter
|
b8a8c4d402
|
Fix an array lookup issue. list.pop calls work now pretty well and return the right type.
|
2015-02-26 13:57:54 +01:00 |
|
Dave Halter
|
d318d3c855
|
Fix a potential issue in sys path searching. However not tested. This is something that raised an error with sith that was not reproducible.
|
2015-02-26 13:56:28 +01:00 |
|
Dave Halter
|
d7b69ab92c
|
Fix a small bug in the logic of finding self variables.
|
2015-02-25 13:54:13 +01:00 |
|
Dave Halter
|
0ae74a7666
|
Replace a __bases__ call with an __mro__ call, because the latter is closer to how Python actually works. __bases__ is never used.
|
2015-02-23 19:07:23 +01:00 |
|
Dave Halter
|
4f2d4992da
|
Fix an mro resolution issue.
|
2015-02-23 19:04:35 +01:00 |
|
Dave Halter
|
4613a810a5
|
Some small refactorings to the names_dict/deep_ast_copy logic.
|
2015-02-12 13:24:08 +01:00 |
|
Dave Halter
|
a8d3a9ab42
|
Remove old deep_ast_copy code.
|
2015-02-12 11:24:17 +01:00 |
|
Dave Halter
|
bcf6be0636
|
Radically rewrote deep_ast_copy.
|
2015-02-12 02:25:54 +01:00 |
|
Dave Halter
|
a12f259a0f
|
Actually remove check_first from deep_ast_copy.
|
2015-02-11 14:47:28 +01:00 |
|
Dave Halter
|
315c687048
|
Remove the need for the check_first param in deep_ast_copy.
|
2015-02-11 14:46:51 +01:00 |
|
Dave Halter
|
bc722a70f2
|
Simplify deep_ast_copy.
|
2015-02-11 02:16:57 +01:00 |
|
Dave Halter
|
6e5ba3de87
|
Fix remaining issue siwh the Param refactoring.
|
2015-02-11 01:40:18 +01:00 |
|
Dave Halter
|
cdbe26786a
|
Trying to get ird of the weird param generation in the parser tree.
|
2015-02-10 15:49:26 +01:00 |
|
Dave Halter
|
a095f8d9e0
|
Replace some isinstance checks in the parser tree with .type checks.
|
2015-02-09 12:27:29 +01:00 |
|
Dave Halter
|
8125d5f562
|
Remove asserts and calculate them dynamically.
|
2015-02-05 20:16:55 +01:00 |
|
Dave Halter
|
0a3797cf6e
|
Small refactorings.
|
2015-02-05 19:47:26 +01:00 |
|
Dave Halter
|
d0f1fd5267
|
Rename Simple -> BaseNode.
|
2015-02-05 14:18:30 +01:00 |
|
Dave Halter
|
0c1bbf78e2
|
Rename SubModule to Module, because that's a more fitting description. There were reasons for the name before the new fast parser, but those don't exist anymore.
|
2015-02-05 14:16:43 +01:00 |
|
Dave Halter
|
a77ecdbed6
|
Remove param from get_statement_for_position.
|
2015-02-05 12:28:55 +01:00 |
|
Dave Halter
|
a4bd412801
|
Fix an issue with the positions of InstanceNames that used the original position_modifier.
|
2015-02-02 02:29:39 +01:00 |
|
Dave Halter
|
9a0f1363e3
|
Start removing the print statements that were used for debugging.
|
2015-02-01 02:32:52 +01:00 |
|
Dave Halter
|
bc118e8047
|
Simplify the fast parser tokenizer more. Now it is more readable and less buggy (+bugfixes).
|
2015-01-31 20:09:44 +01:00 |
|
Dave Halter
|
cf223a71f5
|
Add a position modifier for the fast parser. Not yet in use though.
|
2015-01-15 13:57:56 +01:00 |
|
Dave Halter
|
95b518e9fc
|
Use the Python 3.4 parser for docstring types.
We had to switch, because Ellipsis was otherwise not parseable.
|
2015-01-13 13:17:21 +01:00 |
|
Dave Halter
|
e6b9111749
|
Python 2.7 compatibility.
|
2015-01-13 02:12:49 +01:00 |
|
Dave Halter
|
582b9b01af
|
Get invalid INDENTs working.
The following DEDENT's are removed.
|
2015-01-12 12:22:57 +01:00 |
|
Dave Halter
|
5c98f6cf04
|
Suites don't have to contain statements anymore, this makes autocompletion better in certain cases.
|
2015-01-12 01:11:46 +01:00 |
|
Dave Halter
|
5334f8dbad
|
Implemented the in operator in a very simple fashion: It returns nothing.
|
2015-01-09 16:05:09 +01:00 |
|
Dave Halter
|
53b456dff2
|
Cleaning up.
|
2015-01-09 01:55:23 +01:00 |
|
Dave Halter
|
e8ef3b8ad4
|
Remove legacy code.
|
2015-01-09 01:45:09 +01:00 |
|
Dave Halter
|
d78a89df51
|
Move filter_after_position.
|
2015-01-09 01:37:42 +01:00 |
|
Dave Halter
|
26ecb16e5f
|
CompiledObject.type resembles now the Node.type values.
|
2015-01-09 01:33:59 +01:00 |
|
Dave Halter
|
144c20579b
|
Get rid of get_defined_names in compiled modules.
|
2015-01-08 17:53:20 +01:00 |
|
Dave Halter
|
bd304d33c7
|
Get rid of Function's get_magic_function_X, they are not used anymore.
|
2015-01-08 14:17:33 +01:00 |
|
Dave Halter
|
47fc3cbdfe
|
Functions are not exceptions anymore in the name finder.
|
2015-01-08 14:14:01 +01:00 |
|
Dave Halter
|
0dc61292b9
|
Remove get_defined_names methods from evaluate representation objects.
|
2015-01-08 13:42:52 +01:00 |
|
Dave Halter
|
6d58fed0e8
|
Remove get_defined_names in favor of names_dict in the parser tree.
|
2015-01-08 13:38:03 +01:00 |
|
Dave Halter
|
a20fd12de9
|
Remove all scope_names_generator usages.
|
2015-01-08 13:24:01 +01:00 |
|
Dave Halter
|
af20eff943
|
Get completely rid of get_names_of_scope.
|
2015-01-08 13:19:42 +01:00 |
|
Dave Halter
|
705b569e32
|
Get rid of all get_names_of_scope calls.
|
2015-01-08 12:48:57 +01:00 |
|
Dave Halter
|
05a9f19429
|
Delete more legacy code.
|
2015-01-08 02:43:13 +01:00 |
|
Dave Halter
|
7891cdfd48
|
Start deleting legacy code.
|
2015-01-08 02:33:35 +01:00 |
|
Dave Halter
|
82d8e45a1c
|
Fix descriptors.
|
2015-01-08 02:29:33 +01:00 |
|
Dave Halter
|
83a94c12c9
|
Correct global name issues.
|
2015-01-08 01:20:53 +01:00 |
|
Dave Halter
|
dd40991669
|
filtering private variables is now also possible for CompiledObject (important for fake/builtins.pym).
|
2015-01-07 15:09:03 +01:00 |
|
Dave Halter
|
c451c0b29e
|
Private variable filtering improved.
|
2015-01-07 14:44:19 +01:00 |
|
Dave Halter
|
987121ae5c
|
Filter names in a separate function so that it can be used for both completion and name lookups.
|
2015-01-07 13:56:35 +01:00 |
|
Dave Halter
|
ec76d57679
|
Start using names_dicts for completion as well.
|
2015-01-07 01:49:38 +01:00 |
|
Dave Halter
|
494a3e3307
|
Fix usages.
|
2015-01-06 16:54:01 +01:00 |
|
Dave Halter
|
9178d314b0
|
Add search_global to names_dicts calls.
|
2015-01-06 15:30:59 +01:00 |
|