Commit Graph

46521 Commits

Author SHA1 Message Date
Ростов Сергей d9c9e6ef0a jps, mpp: fix GenerateTests.kt.172 2018-06-09 11:18:55 +03:00
Yan Zhulanow 3df6d63580 Minor: Fix compilation after unsuccessful rebase. Add back the isMultiplatformModule() method 2018-06-09 00:19:17 +03:00
Yan Zhulanow 3ec33f4193 Debugger: Evaluate expression in MPP common module: @JvmName is unresolved (KT-23162) 2018-06-08 19:37:47 +03:00
Yan Zhulanow e334f693b2 Minor: Do not place line markers in code fragments and in non-Kotlin files 2018-06-08 19:37:47 +03:00
Yan Zhulanow ab5614eaac Minor: Replace a number of trivial Guava usages with constructor calls and kotlin-stdlib function calls 2018-06-08 19:37:47 +03:00
Yan Zhulanow 61ffde54fd Minor: Remove unneeded bunch file 2018-06-08 19:37:21 +03:00
Yan Zhulanow ed43cb57e3 PrePush: Add a pre-push warning before committing to locked branches 2018-06-08 19:37:21 +03:00
Yan Zhulanow bf10c1162a Kapt: Fix Gradle input/output verification 2018-06-08 19:37:21 +03:00
Yan Zhulanow 8645be3ace Kapt: Remove the remaining kapt1-related code in Gradle plugin 2018-06-08 19:37:20 +03:00
Yan Zhulanow 5f43808cfd Revert "Debugger: Fix breakpoints and stepping for inline-only function lambda arguments (#KT-23064)" 2018-06-08 19:37:20 +03:00
Yan Zhulanow d851c8679a Fix a number of potential exceptions in debugger (EA-119717) 2018-06-08 19:37:20 +03:00
Yan Zhulanow 0f15dfdfdc Handle AbsentInformationException correctly (EA-119717) 2018-06-08 19:37:20 +03:00
Yan Zhulanow 4dfcb72fa1 Print source file location/contents if possible (EA-120038) 2018-06-08 19:37:20 +03:00
Yan Zhulanow fc6057e34f Fix NPE in DelegateSourcePosition (EA-120042) 2018-06-08 19:37:20 +03:00
Yan Zhulanow d08dcb9f0f Add missing read action in debugger (EA-120163) 2018-06-08 19:37:20 +03:00
Yan Zhulanow 93d668ad63 Support types without backing ClassLoader in 'safeArgumentTypes()' (EA-120387) 2018-06-08 19:37:19 +03:00
Yan Zhulanow 64ea16fdfc Kapt: Allow running kapt using Workers API in Gradle 2018-06-08 19:37:19 +03:00
Yan Zhulanow 2bc45e0484 Kapt: Extract annotation processing running logic from the compiler plugin 2018-06-08 19:37:19 +03:00
Yan Zhulanow 3ecf355e7a Kapt: Leave getBasePath() in ProGuard-ed kotlinc 2018-06-08 19:37:19 +03:00
Yan Zhulanow eb4492394e Kapt: Fix compatibility with Java 9
1. Move option set up to one place, before using any of Java context components;
2. Set Javac file manager options (new to Java 9)
2018-06-08 19:37:19 +03:00
Yan Zhulanow 386f05bb91 Fix "Run" action for Kotlin sources in non-Android modules 2018-06-08 19:37:18 +03:00
Yan Zhulanow ab611a20c5 Kapt: Do now show a warning for APs from 'annotationProcessor' configuration also declared in 'kapt' configuration (#KT-23898) 2018-06-08 19:27:00 +03:00
Yan Zhulanow e1d22b8515 MPP: Fix implemented modules importing in Android projects (#KT-23697) 2018-06-08 19:27:00 +03:00
Yan Zhulanow 614003ad70 Android Extensions: Allow to disable specific features of Android Extensions (#KT-23244) 2018-06-08 19:26:59 +03:00
Yan Zhulanow a70707b72b Android Extensions: Allow to access library project resources in Gradle setup (#KT-22430) 2018-06-08 19:26:59 +03:00
Yan Zhulanow 5eedbf4177 G2K: Rewrite AndroidGradleWrapper in Kotlin 2018-06-08 19:26:59 +03:00
Yan Zhulanow 9aa02c7ae4 G2K: Move AndroidGradleWrapper to the Kotlin source set, rename to .kt 2018-06-08 19:26:59 +03:00
Mikhail Zarechenskiy d29f3fc3c5 Add test to check work of inline classes with callable references 2018-06-08 19:14:41 +03:00
Mikhail Zarechenskiy 8148bdc4d0 Support inline classes in MPP resolver/checker model 2018-06-08 19:13:39 +03:00
Alexander Podkhalyuzin 3d57276bc6 Fixed Readme about Gradle Test Runner 2018-06-08 18:44:25 +03:00
Denis Zharkov 01a2330a70 Avoid retaining protobuf package within DeserializedPackageFragmentImpl
It's only used for DeserializedPackageMemberScope that's being created
during initialization

At the same time, protobuf objects may be not very light-weight
(see 2e933a165a)

 #KT-24513 Fixed
2018-06-08 17:49:40 +03:00
Denis Zharkov 0a3e8fbe66 Pull down some implementation details from DeserializedPackageFragment
- DeserializedPackageFragmentImpl doesn't actually need member scope to be lazy
in a sense of optimization. It was only necessary for breaking
initialization cycle: DeserializationComponents <-> DeserializedPackageFragment
- For MetadataPackageFragment it might be useful to have
member scope actually lazy since it has O(n) complexity when n is a number
of package parts

This change is helpful for avoidance of storing reference to package-proto

 #KT-24513 In Progress
2018-06-08 17:49:40 +03:00
Nikolay Krasko 99b44faf5a Add information about bunch files to ReadMe 2018-06-08 17:11:16 +03:00
Alexey Sedunov fc5a0b6768 Misc: Fix compilation of KotlinAwareJavaGetterRenameProcessor in 172 2018-06-08 16:01:40 +03:00
Vyacheslav Gerasimov 020d941c27 Fix test compilation for AS branches
There is no devkit is AS
2018-06-08 15:26:47 +03:00
Nikolay Krasko 88bbeae270 Make Tools->Kotlin be visible in dumb mode (KT-12075)
Kotlin update check works fine in dumb mode already.

 #KT-12075 Fixed
2018-06-08 14:44:08 +03:00
Nikolay Krasko 19eaf9289b Reformat: KotlinPluginUpdater.kt 2018-06-08 14:44:07 +03:00
Nikolay Krasko f797592365 Minor: leave bunch directive for 173-specific code 2018-06-08 14:44:07 +03:00
Nikolay Krasko f8d352c3d0 Fix auto-indent for when entry (KT-24743)
#KT-24743 Fixed
2018-06-08 14:44:07 +03:00
Nikolay Krasko cd54c7922d Fix lambda return hint for labeled expressions (KT-24828)
#KT-24828 Fixed
2018-06-08 14:44:07 +03:00
Nikolay Krasko 076870ee05 Fix double return hint in lambda for annotated expression (KT-23238)
#KT-23238 Fixed
2018-06-08 14:44:06 +03:00
Nikolay Krasko c5d5f0c2e2 Minor: reformat LambdaReturnValueHints.kt 2018-06-08 14:44:06 +03:00
Nikolay Krasko 9fbb7c5d14 Reformat: search\ideaExtensions package 2018-06-08 14:44:06 +03:00
Dmitry Savvinov 6d29e14a33 Improve message for serialization crash in JavaClassTrackerImpl 2018-06-08 14:38:44 +03:00
Alexey Sedunov 0ea1784d33 Introduce Parameter: Add suspend to lambdas with nested suspend-calls
#KT-24712 Fixed
2018-06-08 14:34:23 +03:00
Alexey Sedunov 8a838ab5bb Change Signature: Fix parameter name for kt-function overriding Java's
#KT-24763 Fixed
2018-06-08 14:34:23 +03:00
Alexey Sedunov 8978c4b9e8 Rename: Fix processing of references to synthetic Java properties
#KT-17742 Fixed
2018-06-08 14:34:23 +03:00
Alexey Sedunov 862dc76ed9 Rename: Fix processing of overriding methods with mangled names
#KT-24460 Fixed
2018-06-08 14:34:22 +03:00
Alexey Sedunov eea9113d1c Introduce Type Alias: Fix replacement of references to nested classes
#KT-15159 Fixed
2018-06-08 14:34:22 +03:00
Alexey Sedunov 3902e1b51d Run: Add browse button to Kotlin "main" run configuration editor
#KT-17668 Fixed
2018-06-08 14:34:22 +03:00