Yan Zhulanow
e12f17d5dc
EA-217069: Add missing read action
2019-11-25 17:26:28 +09:00
Yan Zhulanow
54203100bc
EA-217072: Add missing read action
2019-11-25 17:26:28 +09:00
Yan Zhulanow
6a4b658ad4
EA-217153: Add line count check
2019-11-25 17:26:27 +09:00
Yan Zhulanow
ab0f841642
Debugger: Provide fixed implementation of 'toString()' for lambdas (KT-32691)
2019-11-25 17:26:27 +09:00
Yan Zhulanow
82a1750d26
Debugger: Forbid 'Nothing' constructor calls in evaluated code (KT-33093)
2019-11-25 17:26:27 +09:00
Dmitriy Dolovov
58dd9a6004
Fix AWT freeze in KotlinNativeABICompatibilityChecker (part 2)
...
Issue #KT-35052
2019-11-25 09:07:09 +07:00
Dmitriy Dolovov
0747a4d9b7
Fix AWT freeze in KotlinNativeABICompatibilityChecker
...
Issue #KT-35052
2019-11-25 09:07:02 +07:00
Vladimir Dolzhenko
e321c9e4e7
Fix diagnostics calculations for incremental analysis
2019-11-23 23:36:49 +01:00
Vladimir Dolzhenko
c7c512d55e
Merge pull request #2815 from t-kameyama/KT-35022
...
Remove `const` modifier on "change to var" quickfix
#KT-35022 Fixed
2019-11-23 13:42:00 +01:00
Vladimir Dolzhenko
d599322503
Calculate method parameter hint info in updateParameterInfo method (with a progress till 201)
...
Fixed #EA-216268
2019-11-23 09:24:14 +01:00
Svyatoslav Kuzmich
84757964bb
Advance bootstrap to 1.3.70-dev-1806
...
Due to updated K/JS klib ABI
Add dependency of KotlinCoverageExtension to idea test classpath because of a new check introduced in 1806.
(cherry picked from commit bffbe89f53 )
2019-11-22 22:12:39 +03:00
Nikolay Krasko
73a152ccc7
Re-mute inspection tests in AS34 (KT-32856)
2019-11-22 22:12:39 +03:00
Nikolay Krasko
e49d7c86ff
Re-mute move refactoring tests (KT-34106)
2019-11-22 22:12:38 +03:00
Nikolay Krasko
0ae677e945
Re-mute checker tests (KT-34105)
2019-11-22 22:12:38 +03:00
Nikolay Krasko
394a812329
Re-mute completion tests (KT-32919)
2019-11-22 22:12:37 +03:00
Nikolay Krasko
9356155f60
Minor: add bunch directives for better discoverability banched code
2019-11-22 22:12:36 +03:00
Toshiaki Kameyama
f6059c3eb5
"Change to var": remove const modifier
...
#KT-35022 Fixed
2019-11-23 01:17:38 +09:00
Vyacheslav Gerasimov
027bc671c1
Build: Remove duplicated compiler.xml from idea module
...
Workaround for JPS build by copying compiler.xml in test runner before tests
For gradle just copy it in the processResourcesTask of idea project
#KT-34528
2019-11-22 18:52:00 +03:00
Vladimir Ilmov
a0d4d0da58
[coroutine][debug] rollback compilation failed exception as it breaks test scenarios
2019-11-22 13:17:37 +01:00
Natalia Selezneva
b10f47b50e
Minor: merge util methods for scripting to one file in idea-gradle
2019-11-22 11:43:35 +03:00
Natalia Selezneva
23f95872ad
Minor: fix packages after moving classes to idea-gradle module
2019-11-22 11:43:35 +03:00
Sergey Rostov
75a23b4bc4
Minor: changes after review
2019-11-22 11:43:35 +03:00
Sergey Rostov
fc100d13dd
Scripting: move gradle specific logic to idea-gradle
2019-11-22 11:43:34 +03:00
Sergey Rostov
0fb58ed94c
Scripting loading tests and extension points
2019-11-22 11:43:34 +03:00
Natalia Selezneva
ca71b2fe90
Add script configuration dependencies to script classpath
...
It was missing during configuration refinement thought new scripting API and during loading script configuration on Gradle project import
Do not pass additional classpath to configuration classpath: this may only affects Gradle with New scripting API (because it isn't used from other places)
In additional classpath kotlin-compiler and kotlin-stdlib was passed and there is no needs for this during loading Script Definitions through new scripting API
^KT-34626 Fixed
2019-11-22 11:43:34 +03:00
Natalia Selezneva
29ef10a919
Check gradle version for loading script configuration during import option
2019-11-22 11:43:33 +03:00
Natalia Selezneva
72ef43f462
Show filePattern in settings for new script definitions if present
2019-11-22 11:43:32 +03:00
Natalia Selezneva
c40cd07cf0
Do not show duplicated error gradle templates in settings
...
^KT-34530 Fixed
2019-11-22 11:43:32 +03:00
Natalia Selezneva
d355a9f686
Minor: fix typo
2019-11-22 11:43:32 +03:00
Natalia Selezneva
229665d2fc
Remove unused environment properties from gradle configuration resolver
...
getScriptContents is no longer used by Gradle
see https://github.com/gradle/gradle/blob/master/subprojects/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/resolver/ResolverEnvironment.kt
2019-11-22 11:43:32 +03:00
Natalia Selezneva
9710f1da77
Minor: move class
2019-11-22 11:43:32 +03:00
Natalia Selezneva
6c4de96dcb
Minor: extract class to separate file
2019-11-22 11:43:31 +03:00
Natalia Selezneva
4b0844b21d
Minor: move classes in idea-gradle module related to scripting
2019-11-22 11:43:31 +03:00
Roman Golyshev
28e2d2faf2
KT-34740 Make getImplicitReceiversWithInstanceToExpression keep script implicit receivers
...
- This makes completion aware of scripts implicit receivers (it matters in .gradle.kts files, for example)
- ^KT-34740 Fixed
2019-11-22 11:22:46 +03:00
Roman Golyshev
be2fe256ba
KT-34740 Refactor implicitReceiversUtils.kt
2019-11-22 11:22:46 +03:00
Vladimir Ilmov
7bdda22cfa
[coroutine][debugger] broken testCompileOnly fix missing dependency aether-dependency-resolver in 192,193 versions
2019-11-22 07:27:18 +01:00
Igor Yakovlev
aba5ff0c1e
Fix copy refactoring for multiply kotlin files
...
Fixed #KT-34971
2019-11-21 19:19:15 +03:00
Dmitry Savvinov
0dc7c37b62
Choose SDK consistently at least for non-COMPOSITE analysis
...
In COMPOSITE analysis we don't have a constant SDK dependency for whole
ResolutionFacade, so we have to find it manually via calling
'findSdkAcrossDependencies'
In SEPARATE mode we do have such a constant SDK dependency, but there
was an assumption that it doesn't make a difference (i.e.
findSdkAcrossDependencies always return the same SDK as passed constant
one)
Turns out that assumption was wrong, particularly for projects with
duplicate SDK entries in project structure. Then we would choose one SDK
in some cases, and the other one on other cases - even though they a
bit-to-bit equal, we will create separate descriptors for them, which
might lead to some issues, like in KT-34802
^KT-34802 Fixed
2019-11-21 18:56:49 +03:00
Vladimir Dolzhenko
6a28d1da82
Resolve references in background thread in PlainTextPasteImportResolver
...
#KT-16774 Fixed
2019-11-21 16:05:08 +01:00
Ilya Goncharov
bdb1c2a27f
[Gradle, JS] Fix tasks naming
...
#KT-35019 fixed
2019-11-21 17:48:22 +03:00
Vladimir Dolzhenko
16e76fb75a
Resolve imports in background thread in PlainTextPasteImportResolver
...
#KT-34956 Fixed
2019-11-21 13:40:55 +01:00
Dmitriy Dolovov
28f2a2a864
Fix: Kotlin/Native libs have non-user friendly representation in IDE
...
Issue #KT-30288
Issue #KT-34998
Issue #KT-34400 (partially fixes)
2019-11-21 16:56:47 +07:00
Andrey Uskov
937cffd273
Support Gradle 5.x in GradleInspectionTest
2019-11-20 13:53:58 +03:00
Andrey Uskov
21b9987a76
Support Gradle 5.x in GradleMigrateTest
2019-11-20 13:53:56 +03:00
Andrey Uskov
5fe4baa4a5
Fix GradleNativeLibrariesInIDENamingTest
2019-11-20 13:53:54 +03:00
Andrey Uskov
968ccf667a
Fix GradleNativeLibrariesPropagationTest
...
Dev plugin in tests were replaced with release version
2019-11-20 13:53:52 +03:00
Andrey Uskov
8a3dfe93f2
Fixed GradleFacetImportTests for gradle 5.x
2019-11-20 13:53:50 +03:00
Andrey Uskov
9e7eff7e72
Enable ImportCompilerArgumentsWithInvalidDependencies test
2019-11-20 13:53:48 +03:00
Vladimir Ilmov
25acb1e191
[coroutine][debugger] removed and regenerated tests for not-ready-to-be-tested logic, kt* tests are failing due to KT-32691
2019-11-20 13:17:56 +03:00
Vladimir Ilmov
09d2bd33f8
[coroutine][debug] incorrect merge conflicting with 00a06ef9b9
2019-11-20 12:36:13 +03:00