Commit Graph

1036 Commits

Author SHA1 Message Date
David Halter
7b73072045 cleanup / pep8 2013-01-09 22:47:21 +01:00
David Halter
e9aadce5ae __slots__ usage works much better now -> scan for all slots and not only for current class 2013-01-09 21:44:59 +01:00
David Halter
f32c2e6dc4 added a common.MultiLevelAttributeError to copying, because there were some problems 2013-01-09 21:26:50 +01:00
David Halter
7aa527f12e use_as_parent again and fast_parent_copy deals now with __slots__ 2013-01-09 15:23:33 +01:00
David Halter
b85c54932b parsing.set_parent -> use_as_parent 2013-01-09 15:21:04 +01:00
David Halter
232aafeb6a improved slot statements 2013-01-09 15:18:28 +01:00
David Halter
1557ea792f use __slots__ to reduce memory footprint of parser, #102 2013-01-08 14:54:56 +01:00
David Halter
4a6aabaaba avoid syntaxwarning 2013-01-08 13:02:06 +01:00
David Halter
b991190f50 python 3 compatibility, which is nicer anyway 2013-01-08 12:58:13 +01:00
David Halter
8987ecf3a8 forgot some fragments of CachedModule.cache 2013-01-08 12:53:02 +01:00
David Halter
67f7e66cc6 move module cache to cache.py - centralize all caches there 2013-01-08 12:47:44 +01:00
David Halter
be3d7f35cd move parser cache to cache.py - centralize all caches there 2013-01-08 12:44:32 +01:00
David Halter
da34fc2358 add delete option to cache deleter 2013-01-08 12:41:08 +01:00
David Halter
869572fe64 further improvements of the jedi import in tests 2013-01-08 12:29:17 +01:00
David Halter
3c4e079ecb import jedi in tests and not api 2013-01-08 12:15:50 +01:00
David Halter
35186629f0 delete token generator after parsing, lowers the memory footprint for 10k files with a factor of 5, #102 2013-01-08 11:57:10 +01:00
David Halter
de45c277c1 broke the api again (unintentionally) 2013-01-07 20:55:05 +01:00
David Halter
3c15471182 fix problems with unbounderrors in assignment calls 2013-01-07 20:52:40 +01:00
David Halter
b748003b54 inline refactorings support tuples now, #103 2013-01-07 20:30:17 +01:00
David Halter
53a5bf6be8 inline tests 2013-01-07 20:20:02 +01:00
David Halter
8fbe1c47a5 working inline refactoring 2013-01-07 20:19:42 +01:00
David Halter
07cb30d91b set end_pos Arrays better 2013-01-07 20:08:54 +01:00
David Halter
f3c2c2aab4 add rename tests# 2013-01-07 14:29:48 +01:00
David Halter
f192259383 use absolute paths as the default for 'Script' 2013-01-07 14:29:34 +01:00
David Halter
082db3fdbd scan_array_for_pos -> search_function_call, which makes much more sense 2013-01-07 14:11:45 +01:00
David Halter
d35cb1898d change helpers.scan_array_for_pos to helpers.array_for_pos for refactorings 2013-01-07 14:01:14 +01:00
David Halter
5fc1d1130d more extract tests 2013-01-07 14:00:28 +01:00
David Halter
fbd2ed02e5 again py2.5... i should test in the future before pushing to dev... 2013-01-07 01:55:33 +01:00
David Halter
ab554a7529 py2.5 with statement again 2013-01-07 01:52:51 +01:00
David Halter
d72d8ad756 py2.5 compatibility 2013-01-07 01:51:12 +01:00
David Halter
8ed550254f add refactoring tests to travis tests 2013-01-07 01:48:48 +01:00
David Halter
50e64cf930 corrected indent of some extract functions 2013-01-07 01:47:33 +01:00
David Halter
fc58d1b8e7 working extract refactorings, affects #103 2013-01-07 01:32:20 +01:00
David Halter
54ac9b3292 add __repr__ to api.Script 2013-01-07 01:07:49 +01:00
David Halter
5796496baf corrected problem with line numbers 2013-01-07 00:36:37 +01:00
David Halter
00f78bc50d use lines_to_execute also in refactoring.py 2013-01-06 17:42:07 +01:00
David Halter
37bbf1af1a finished testing script for refactoring 2013-01-06 17:35:55 +01:00
David Halter
48c04b2fcd move script in refactorings to be the default first parameter 2013-01-06 01:57:02 +01:00
David Halter
4700656c71 added refactoring tests - non functional 2013-01-06 01:49:41 +01:00
David Halter
795d25d9a7 improved some run.py stuff again 2013-01-06 01:48:48 +01:00
David Halter
ce51021c1e move more testing functionality out of run.py 2013-01-05 22:42:16 +01:00
David Halter
31e8a8c5a2 remove sys path stuff in run.py (it's in base) 2013-01-05 20:19:48 +01:00
David Halter
15bd963f59 move test bases to test/base.py 2013-01-05 18:59:56 +01:00
David Halter
79e2bf80d0 don't use json (doesn't work in py2.5), even if it's not relevant. fixes #94 again :-) 2013-01-05 18:28:09 +01:00
David Halter
6c2f8a759d fix problems of the last 10 commits 2013-01-05 18:24:07 +01:00
David Halter
4b98321796 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-01-05 14:33:06 +01:00
David Halter
a720178b72 Merge pull request #106 from dbrgn/quick_completion
Added quick_complete convenience function
2013-01-05 05:29:57 -08:00
David Halter
f3e71a220f basic exctract refactoring (not working yet) 2013-01-05 14:22:24 +01:00
Danilo Bargen
c14feb3f86 Renamed quick_complete to _quick_complete 2013-01-05 01:48:39 +01:00
David Halter
5c8d65c57c remove unnecessary assert 2013-01-04 22:54:38 +01:00