Commit Graph

15223 Commits

Author SHA1 Message Date
Natalia Ukhorskaya 2eff4e2300 Create ExpressionCodeFragment only for expression mode in evaluate expression 2014-04-23 18:10:01 +04:00
Natalia Ukhorskaya f54aee150e Debugger: replace one read action with lock for extract variable and for analyze file 2014-04-23 18:10:00 +04:00
Natalia Ukhorskaya 2ffcc5124e Debugger: use extract method to get function arguments 2014-04-23 18:09:59 +04:00
Natalia Ukhorskaya 084c72f91c Debugger tests: specify expression for evaluate expression test when test failed 2014-04-23 18:09:58 +04:00
Natalia Ukhorskaya fa482bca80 Use lazy analysis for debug file 2014-04-23 18:09:57 +04:00
Natalia Ukhorskaya 45d78dae5a Debugger: implement findExpression method correctly to make work Alt+Click in debugger 2014-04-23 18:09:56 +04:00
Natalia Ukhorskaya bd737a32fb Debugger: add imports from file on breakpoint 2014-04-23 18:09:55 +04:00
Natalia Ukhorskaya 347e6d9058 Debugger: Implement EvaluatorBuilder for evaluate expression for kotlin files 2014-04-23 18:09:53 +04:00
Natalia Ukhorskaya 417ec25fb8 Debugger: implement CodeEditor for evaluate expression action 2014-04-23 18:09:52 +04:00
Natalia Ukhorskaya 2309751ee9 CodeFragment: find inner expression correctly 2014-04-23 18:09:51 +04:00
Natalia Ukhorskaya a1fa366e8f Make JetExpressionCodeFragmentImpl implement JavaCodeFragment 2014-04-23 18:09:49 +04:00
Natalia Ukhorskaya bc20e31685 Convert JetExpressionCodeFragmentImpl to kotlin 2014-04-23 18:09:48 +04:00
Natalia Ukhorskaya 133aea9c4b Debugger: add test for evaluate expression 2014-04-23 18:09:47 +04:00
Natalia Ukhorskaya b9ed52e630 Debugger: compile TINY_APP in test once 2014-04-23 18:09:46 +04:00
Natalia Ukhorskaya 70ade1e931 Add JDK for debugger tests 2014-04-23 18:09:45 +04:00
Natalia Ukhorskaya 2337042d83 Add kotlin-runtime as library, not only to classpath 2014-04-23 18:09:44 +04:00
Natalia Ukhorskaya 3b5ef0c866 Extract helper functions 2014-04-23 18:09:43 +04:00
Natalia Ukhorskaya 85caff9df4 Add copyright 2014-04-23 18:09:42 +04:00
Natalia Ukhorskaya 9fea5460a8 Find method in class that is on stack, not in method owner class 2014-04-23 18:09:41 +04:00
Natalia Ukhorskaya 4f84d4d2db Load classes mentioned in method arguments before invokeMethod 2014-04-23 18:09:40 +04:00
Natalia Ukhorskaya 964b81ce6a CHECKCAST always succeeds on null 2014-04-23 18:09:38 +04:00
Natalia Ukhorskaya 92edc8299e Cast method arguments to method parameter types 2014-04-23 18:09:37 +04:00
Natalia Ukhorskaya 56e0746814 Support checkcast instruction for array 2014-04-23 18:09:36 +04:00
Natalia Ukhorskaya ca877f1413 Use ASM5 2014-04-23 18:09:34 +04:00
Natalia Ukhorskaya c9fc9aa005 Add annotations from eval4j 2014-04-23 18:09:33 +04:00
Natalia Ukhorskaya 86414bbb7f Remove annotations from eval4j module 2014-04-23 18:09:32 +04:00
Natalia Ukhorskaya 86fffab86f Fix separators for JdiTests 2014-04-23 18:09:30 +04:00
Natalia Ukhorskaya ae3419879d Fix errors caused by new kotlin version 2014-04-23 18:09:29 +04:00
Natalia Ukhorskaya 32132a8b3e Rename org.objectweb.asm to org.jetbrains.org.objectweb.asm 2014-04-23 18:09:28 +04:00
Natalia Ukhorskaya 68397d9421 Add module eval4j 2014-04-23 18:09:27 +04:00
Natalia Ukhorskaya a99ec0c5fa Merge remote-tracking branch 'eval4j/master' 2014-04-23 18:08:55 +04:00
Andrey Breslav 34f437cc00 Analyze all relevant files in JetPositionManager 2014-04-23 15:21:08 +04:00
Andrey Breslav 94693bf8dc Unused method removed 2014-04-23 14:06:15 +04:00
Andrey Breslav 93d3eab9f9 More granular locks in KotlinResolveCache 2014-04-23 14:06:14 +04:00
Andrey Breslav 04b28b14e5 Synchronization logic extracted into a method 2014-04-23 14:06:14 +04:00
Andrey Breslav 35b2d6536e Unneeded synchronization removed 2014-04-23 14:06:14 +04:00
Andrey Breslav 3275e52290 Got rid of unneeded caching in KotlinCacheService 2014-04-23 14:06:13 +04:00
Andrey Breslav af9694738e JvmResolveUtil extracted for methods that are used only for tests 2014-04-23 14:06:13 +04:00
Andrey Breslav 2a3d1c1b18 AnalyzerFacadeWithCache.getLazyResolveSessionForFile() inlined 2014-04-23 14:06:12 +04:00
Andrey Breslav 9b01eb15ce KotlinCacheManager removed in favor of KotlinCacheService 2014-04-23 14:06:12 +04:00
Andrey Breslav 523faed696 AnalyzerFacadeWithCache simply redirects to KotlinCacheService now 2014-04-23 14:06:12 +04:00
Andrey Breslav 00ebd967e2 AnalyzerFacadeWithCache.analyzeFileWithCache() is inlined 2014-04-23 14:06:11 +04:00
Andrey Breslav 7ee483fbc8 getDeclarationsFromProject() is replaced by lazy resolve 2014-04-23 14:06:11 +04:00
Andrey Breslav 54f3dd20b3 KotlinCacheManagerUtil usages replaced by lazy resolve 2014-04-23 14:06:10 +04:00
Andrey Breslav 1a92964250 JavaDescriptorResolver is cached by KotlinResolveCache
Accessible via JavaResolveExtension
2014-04-23 14:06:10 +04:00
Andrey Breslav ed79be6d2d AnalyzerFacade.Setup introduced 2014-04-23 14:06:10 +04:00
Andrey Breslav 45a90a8f20 Eager methods removed from AnalyzerFacade 2014-04-23 14:06:09 +04:00
Andrey Breslav d45347688d Create consolidated caching service to provide all lazily resolved data
Other caches are to be removed later
2014-04-23 14:06:09 +04:00
Andrey Breslav 4d425aff11 Methods pulled up into the interface 2014-04-23 14:06:09 +04:00
Andrey Breslav 143b78d031 KotlinCacheManagerUtil uses lazy resolve 2014-04-23 14:03:14 +04:00