Commit Graph

20210 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 3e1b869070 Moved parts of ide-compiler-runner to direct modules. 2015-02-13 21:51:49 +03:00
Nikolay Krasko 0f3971323f Go to Declaration does not work on usage of constant from class object in Java (KT-6172)
#KT-6172 Fixed
2015-02-13 20:28:51 +03:00
Nikolay Krasko 56c2870ac6 Refactoring: make parameters not-null 2015-02-13 20:28:50 +03:00
Nikolay Krasko 52f1c4048a More test for conflicting declarations with delegation 2015-02-13 20:28:50 +03:00
Zalim Bashorov a851c406b4 Minor: specify maxmemory for new-kotlinc explicitly to avoid run VM with default values which sometimes leads to fail build. 2015-02-13 19:07:51 +03:00
Zalim Bashorov 905ce426c7 IDEA: don't try to create run configuration by JUnit and TestNG producers for Kotlin JS modules. 2015-02-13 19:03:01 +03:00
Evgeny Gerashchenko 4704941488 Worked around yet another case of exception from inspection when code has "native" annotation.
#KT-6764 fixed
2015-02-13 18:10:54 +03:00
Valentin Kipyatkov d579e4906b Minor changes after code review 2015-02-12 19:47:25 +03:00
Valentin Kipyatkov dd0664939c Commented out 3 tests to be fixed later 2015-02-12 19:47:11 +03:00
Valentin Kipyatkov ce26437cd0 Corrected test data because it will be fixed by KT-6545 2015-02-12 18:18:07 +03:00
Valentin Kipyatkov d2f11cdc05 Fixed test data which was incorrect (no nested classes inside inner class allowed!) 2015-02-12 18:18:06 +03:00
Valentin Kipyatkov 3710d4105c Do not shorten too much 2015-02-12 18:18:06 +03:00
Valentin Kipyatkov 78d927c3c3 Added TODO 2015-02-12 18:18:06 +03:00
Valentin Kipyatkov 49e6b97752 Fixed important bug in reference shortening 2015-02-12 18:18:05 +03:00
Valentin Kipyatkov 6acba00599 Working on new imports insertion on copy/paste 2015-02-12 18:18:05 +03:00
Valentin Kipyatkov 4031357ae4 Dropped class object 2015-02-12 18:18:05 +03:00
Valentin Kipyatkov 2e275e7624 Removed useless nested object 2015-02-12 18:18:04 +03:00
Valentin Kipyatkov 25f4987299 Minor code improvements 2015-02-12 18:18:04 +03:00
Valentin Kipyatkov b4a8be4a7e No skipping of super and this expression on copy/paste needed (probably has been copied from java version before) 2015-02-12 18:18:03 +03:00
Valentin Kipyatkov 1912f5b919 writeImportToFile removed from interface 2015-02-12 18:18:03 +03:00
Valentin Kipyatkov 2d6ed5dd42 One more usage switched to use of new import insertion method 2015-02-12 18:18:03 +03:00
Valentin Kipyatkov 2d4b1d9219 Switched to use of new import insertion API in a test (but had to use a hack!) 2015-02-12 18:18:02 +03:00
Valentin Kipyatkov 8a64f7ae84 Removed utility not needed anymore 2015-02-12 18:18:02 +03:00
Valentin Kipyatkov b091eaa3cd Fixed KT-2483 "Add import" quick fix offers adding import to non-API class
#KT-2483 Fixed
2015-02-12 18:18:02 +03:00
Valentin Kipyatkov 546836d5dd Fixed bug with importing some of SAM-constructors and factory functions
#KT-3449 Fixed
2015-02-12 18:18:01 +03:00
Valentin Kipyatkov 2c5953dbe6 Dropped confusing method signature 2015-02-12 17:34:51 +03:00
Valentin Kipyatkov e57799ca00 KT-3521 Import suggestions icons are always classes
#KT-3521 Fixed
2015-02-12 17:34:51 +03:00
Valentin Kipyatkov 8f7cf38e67 Switched to use of new method for import insertion 2015-02-12 17:34:51 +03:00
Valentin Kipyatkov 20c62a2835 *-imports inserted by default in non-test mode 2015-02-12 17:34:50 +03:00
Valentin Kipyatkov 4fff1f44bb Fixed bug in import insertion: it did not work with descriptors taken before modifications 2015-02-12 17:34:50 +03:00
Natalia Ukhorskaya 7a4b291c85 Debugger: implement compiling evaluator 2015-02-12 12:16:48 +03:00
Natalia Ukhorskaya 91e745704a Debugger: temporary copy some utils functions from idea 2015-02-12 12:16:47 +03:00
Natalia Ukhorskaya 3864f182da Debugger: return void value for empty code fragment 2015-02-12 12:16:46 +03:00
Natalia Ukhorskaya 187806d061 Debugger: remove usage of JDIEval during finding local variable in frame because it invokeMethod (loadClass) for find field type which invalidates frame 2015-02-12 12:16:46 +03:00
Natalia Ukhorskaya 3802957c15 Debugger: add tests for accessing outer class members from lambda inside inner class 2015-02-12 12:16:45 +03:00
Evgeny Gerashchenko d3d30106a4 Corrected updating Java mappings for package facade classes. We report all source files for it, not only currently compiled. 2015-02-11 19:19:55 +03:00
Evgeny Gerashchenko 1a486bf969 Reverted wrong test data for tests where files are added to package. Let them fail. 2015-02-11 19:19:55 +03:00
Evgeny Gerashchenko 02faa02a35 Checking Java mappings after rebuild (failing now for partially compiled package facades) 2015-02-11 19:19:55 +03:00
Alexander Udalov 29c501e813 Remove useless InjectorForLazyResolveWithJavaUtil, move methods to LazyResolveTestUtil 2015-02-11 18:37:13 +03:00
Alexander Udalov 9f74d64d03 Avoid using FQNAME_TO_CLASS_DESCRIPTOR slice where module exists 2015-02-11 18:37:13 +03:00
Alexander Udalov 25775ee516 Drop TraceBasedJavaResolverCache, inline into LazyResolveBasedCache 2015-02-11 18:37:12 +03:00
Alexander Udalov 021315f049 Minor, make ModuleDescriptor public in injectors
It's much more convenient to call injector.getModule() than
injector.getResolveSession().getModuleDescriptor()
2015-02-11 18:37:12 +03:00
Alexander Udalov 5dcf9df6ab Drop InjectorForJavaDescriptorResolver and dependencies
Use InjectorForLazyResolveWithJava instead, it does essentially the same
2015-02-11 18:37:11 +03:00
Alexander Udalov 745ac7355b Simplify ResolveSessionUtils and LazyResolveBasedCache 2015-02-11 18:37:11 +03:00
Alexander Udalov 1e8d8d0a99 Cleanup FqNamesUtil.kt
Delete unused, move some utilities to fqNameUtil.kt in IDE, rewrite comments
2015-02-11 18:37:11 +03:00
Alexander Udalov 9b28e19551 Use CodegenContext to determine outer class & enclosing method 2015-02-11 18:10:49 +03:00
Alexander Udalov c417d984c4 Minor, move tests under common directory 2015-02-11 18:10:46 +03:00
Alexander Udalov 32c371dd41 Minor, uncomment previously failing checks
#KT-5092 Fixed
2015-02-11 18:10:44 +03:00
Alexander Udalov 22e5efc7cd Remove useless parameter of FunctionCodegen.generateDefault
JvmMethodSignature can now be perfectly obtained by JetTypeMapper.mapSignature
2015-02-11 18:10:43 +03:00
Alexander Udalov f4d4fc042b Remove useless parameter of FunctionCodegen.generateMethod
JvmMethodSignature can now be perfectly obtained by JetTypeMapper.mapSignature
2015-02-11 18:10:42 +03:00