Commit Graph

15231 Commits

Author SHA1 Message Date
mikhael.bogdanov f57bcbb411 Removed redundant dupReceiver: local and expression stack value don't have it 2014-04-24 12:25:45 +04:00
Valentin Kipyatkov ae9f6fa5fc Fix compilation 2014-04-23 19:27:47 +04:00
Valentin Kipyatkov cd2cf2d987 Code completion: minor changes after code review 2014-04-23 19:23:11 +04:00
Valentin Kipyatkov 6808e82b81 Code completion: another way of import insertion on class name completion.
#KT-4905 Fixed
2014-04-23 19:23:11 +04:00
Valentin Kipyatkov 7905d32c14 Smart completion: static members insertion reworked to support single lambda parameter, more correct reference shortening in range 2014-04-23 19:23:11 +04:00
Valentin Kipyatkov e8805f69bf Code completion: template item for function taking lambda with 2 or more parameters (KT-4855) + better handling of type instantiation in smart completion 2014-04-23 19:21:28 +04:00
Natalia Ukhorskaya 0057843c08 debugger: create KotlinCodeFragment only on expression mode of evaluate expression 2014-04-23 18:52:05 +04:00
Natalia Ukhorskaya 931b628988 Editor for evaluate expression: implement highlighting and completion using ResolveElementCache 2014-04-23 18:10:02 +04:00
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