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
Alexey Sedunov
8a09dcf821
Configuration: Update settings.gradle without loading its PSI
...
Otherwise dumb-mode problems may happen in latest builds of 182
#KT-24667 Fixed
2018-06-08 14:34:22 +03:00
Sergey Rostov
c71357dd76
173: jps, mpp: fix AbstractIncrementalJpsTest.kt.173
2018-06-08 13:50:05 +03:00
Mikhael Bogdanov
a0060dd25b
Generate synthetic method for @JvmDefault properties in DefaultImpls
2018-06-08 10:08:23 +02:00
Sergey Rostov
5455b6c0c0
jps: add common source roots to the final platform modules as a workaround for absence of incremental k2metadata compiler
2018-06-08 09:46:56 +03:00
Sergey Rostov
e0d44ecb90
jps, daemon: pass incremental compilation flag from jps process to daemon (fix)
2018-06-08 09:46:55 +03:00
Sergey Rostov
f86c6db4bf
Idea gradle: proper support for composite MPP projects
...
(cherry picked from commit ca841f0)
#KT-24748 fixed
2018-06-08 09:46:54 +03:00
Sergey Rostov
80ed963f97
jps, daemon: (minor) formatting
2018-06-08 09:46:53 +03:00
Sergey Rostov
e831964871
jps, daemon: pass incremental compilation flag from jps process to daemon
2018-06-08 09:46:52 +03:00
Sergey Rostov
ce96c1b9a8
jps, daemon: fix javascript inline functions tracking
...
inline function hash should computed after compilation
2018-06-08 09:46:50 +03:00
Sergey Rostov
5a2ed364fe
jps: checkCachesVersions for js and common (BuildMetaInfo save/check)
2018-06-08 09:46:49 +03:00
Sergey Rostov
3cfb200e07
jps: improve KotlinDirtySourceFilesHolder
2018-06-08 09:46:48 +03:00
Sergey Rostov
b5acb83325
jps: (minor) fix java module detection
2018-06-08 09:46:47 +03:00
Sergey Rostov
5478a552ed
jps, js: Fix exception on rebuild js module
2018-06-08 09:46:46 +03:00
Sergey Rostov
d75a2be31b
jps: Don't create cache for common modules (KOTLIN-CR-2028)
2018-06-08 09:46:45 +03:00
Sergey Rostov
c24aa13f12
jps: fixes for KOTLIN-CR-2028
2018-06-08 09:46:44 +03:00
Sergey Rostov
c2d87140ec
jps, daemon: fix JsFunction.toString() serialization
2018-06-08 09:46:43 +03:00
Sergey Rostov
40b9fa88b7
jps: fix mergedCompilerArguments getter (mergedCompilerArguments)
2018-06-08 09:46:42 +03:00
Sergey Rostov
1cbef873ec
jps: implement mpp and js daemon compiler services
...
#KT-24635 fixed
2018-06-08 09:46:41 +03:00
Sergey Rostov
b2fedd7b1e
jps, mpp: fix marking expect/actual complementary files as dirty
...
This files should be marked as dirty for current round, not next
2018-06-08 09:46:40 +03:00
Sergey Rostov
65bdfa72c1
jps: support KotlinSourceRootType
...
KotlinSourceRootType will added with KotlinSourceRootProvider (ex KotlinMppCommonSourceRootProvider).
New target type (with computeAllTargets) is not possible because ModuleBuildTarget is final.
#KT-24506 fixed
2018-06-08 09:46:39 +03:00
Sergey Rostov
b2f58ad9c3
jps, mpp: temporary disable mpp tests
2018-06-08 09:46:38 +03:00
Sergey Rostov
0eee2729cd
jps: support multiplatform incremental compilation for jvm and js
...
- support common modules metadata compilation under flag (it is not required since all common source roots are included transitively for now)
- introduce expect actual tracker in jps: move implementation from gradle to build-common
- support js incremental compilation: move implementation from gradle to build-common
2018-06-08 09:46:37 +03:00
Sergey Rostov
4a6554a36d
multiplatform: remove MultiplatformGradleProjectTaskRunner
...
JPS is now able to build multiplatform projects, so build/run actions should be delegated to gradle only with "Delegate IDE build/run action actions" setting enabled.
2018-06-08 09:46:36 +03:00
Sergey Rostov
f7695dd039
mpp: Run tests from common modules should recompile correspond JVM implementation module
...
#KT-23722 Fixed
2018-06-08 09:46:35 +03:00
Ivan Gavrilovic
44482dbe90
Revert access modifier change in android history
2018-06-07 19:10:09 +03:00
Ivan Gavrilovic
728508e0ae
Return an error when build history for dir does not exist
2018-06-07 19:10:04 +03:00
Ivan Gavrilovic
6bb54fd9a3
Support fetching build history files from directories for Android
...
Android Gradle plugin will start publishing clases in directories.
This commit adds support to find build history files when changed
files come from directories. It is similar to existing implementation
for jars i.e. it looks for .kotlin_module file under META-INF.
Test: ModulesApiHistoryAndroidTest
2018-06-07 19:10:00 +03:00
Mikhail Zarechenskiy
b2d9015723
Prohibit identity equals on inline class types
2018-06-07 18:22:05 +03:00