Mikhail Glukhikh
bf739198aa
Fix regular quick-fix test with multi-platforms required
2017-09-19 17:13:58 +03:00
Mikhail Glukhikh
ef6a00f477
Fix completion tests
2017-09-19 17:13:37 +03:00
Valentin Kipyatkov
454c5229f9
Ability to disable caches reset on ProcessCanceledException via internal action
2017-09-19 16:52:20 +03:00
Sergey Igushkin
41b13d25f2
Fix javaOutputDir changed to the JAR, which was breaking unit tests
...
internal visibility, because they did not get the JAR into classpath
Issue #KT-20212 Fixed
(cherry picked from commit 19e861b)
2017-09-19 15:33:58 +03:00
Sergey Igushkin
5ce514bd42
Changes to configuration of Kotlin source set
...
* Include the Java source directory set as-is, without iterating over
its srcDirs
* Avoid Java sources duplication with newer Gradle versions.
Issue #KT-16764 Fixed
Issue #KT-17564 Fixed
2017-09-19 15:33:58 +03:00
Alexey Andreev
c5e5a43f68
JS: fix unit materialization in case of null check and elvis operator
...
See KT-20287
2017-09-19 15:30:55 +03:00
Alexey Andreev
b4c622d433
JS: optimize destructuring declaration when possible
...
See KT-8285
2017-09-19 15:30:26 +03:00
Alexey Andreev
a2bfaf4fc8
Fix multiplatform test (use expect/actual instead of header/impl)
2017-09-19 15:21:30 +03:00
Nikolay Krasko
1b447a0231
Execute action without writeActionPriority in tests
2017-09-19 11:27:23 +03:00
Dmitry Jemerov
c05c359703
Correctly detect multiplatform modules in run code
...
LanguageVersionSettings doesn't mean that the module is actually
multiplatform; it only means that it _could_ be one. Use
platform and information from facet instead.
Also fix detection of common stdlib version and add tests for common
run config.
2017-09-18 19:23:22 +02:00
Dmitry Jemerov
dd34c67849
Add missing dependencies
2017-09-18 19:23:22 +02:00
Alexey Sedunov
04a4bef615
Misc: Fix multiplatform test configuration
2017-09-18 19:43:41 +03:00
Vyacheslav Gerasimov
43ee2bd9c4
Add new Gradle with Kotlin DSL project wizard for Kotlin, KotlinJS, Java, Groovy
...
#KT-20308 Fixed Target Version 1.2
2017-09-18 17:15:54 +03:00
Vyacheslav Gerasimov
3d71fa85be
Copy initial new gradle project wizard files from idea gradle plugin
2017-09-18 17:15:50 +03:00
Stanislav Erokhin
e8d42e4dde
Increase stub version because we add new soft-keywords: expect and actual
2017-09-18 16:37:36 +03:00
Alexey Sedunov
7c26f87b0c
Misc: Fix multiplatform test configuration
2017-09-18 16:30:28 +03:00
Mikhail Glukhikh
9b0f15137f
Expect/actual: introduce DEPRECATED_MODIFIER instead of ..._FOR_TARGET
2017-09-18 16:19:41 +03:00
Mikhail Glukhikh
721889600f
Expect/actual: fix some error messages
2017-09-18 16:09:18 +03:00
Nikolay Krasko
98e9238763
Force canceling injection search when it's executed without progress (KT-19901)
...
More accurate fix for KT-19901.
There're cases when injectors are counted without progress indicator but
under read action. In that cases typing can't be started until exit from
the computing that produces lags in typing.
Tested with long spek-like test file.
#KT-19901 Fixed
2017-09-18 14:56:46 +03:00
Alexey Sedunov
bd3d79d318
Minor: Do not specify platform for project-level language settings
2017-09-18 14:55:16 +03:00
Mikhail Glukhikh
79308287be
Minor: rename directory in quick-fix test data
2017-09-18 14:40:14 +03:00
Denis Grachev
0722c5c13a
KT-19565: J2K: Determine mutability using iterator
...
#KT-19565 fixed
2017-09-18 14:07:57 +03:00
Alexey Andreev
d312996f3a
JS: generate import statement for COROUTINE_SUSPENDED property
...
This makes code with lots of corutines more feasible for uglification
2017-09-18 13:13:40 +03:00
Alexey Andreev
9771a3c66e
JS: prove that KT-8282 is no more reproducible
2017-09-18 13:13:00 +03:00
Alexey Andreev
aa35d4ed36
JS: prove that KT-8315 is no more reproducible
2017-09-18 13:13:00 +03:00
Alexey Andreev
6ba0ac1238
JS: prove that KT-7011 is no more reproducible
2017-09-18 13:12:59 +03:00
Alexey Andreev
a66cd8b309
Fix name clash in JS implementation of multiplatform extension property
...
See KT-18756
2017-09-18 13:10:51 +03:00
Toshiaki Kameyama
1c7d66c803
Do not suggest "Redundant Unit return type" for Nothing-typed expression
...
So #KT-20261 Fixed
2017-09-18 13:02:03 +03:00
Toshiaki Kameyama
d87c0b164f
Add quick-fix for CANNOT_CHECK_FOR_ERASED #KT-18742 Fixed
2017-09-18 12:11:15 +03:00
Mikhail Zarechenskiy
6a1b6d10d8
Setup JDK roots and initialize JDK_HOME in common core environment
...
#KT-20167 Fixed
2017-09-18 08:19:41 +03:00
Stanislav Erokhin
6d26d1fb67
Minor. rename header -> commonModule
2017-09-16 19:47:47 +03:00
Stanislav Erokhin
91a99b4726
Migrate impl to actual in libraries projects
2017-09-16 19:47:46 +03:00
Stanislav Erokhin
481cbd0850
Migrate header to expect in libraries projects
2017-09-16 19:47:45 +03:00
Stanislav Erokhin
7cd5eeb24d
Regenerate common stdlib: use 'expect' instead 'header'
2017-09-16 19:47:44 +03:00
Mikhail Glukhikh
e12de11ce9
Fix add modifier for replacement case, add expect/actual order tests
2017-09-16 19:47:43 +03:00
Mikhail Glukhikh
2c521727c3
Add header/impl/expect/actual into modifiers order list
2017-09-16 19:47:42 +03:00
Mikhail Glukhikh
c0dd97b40d
Migration to expect/actual: fix CLI tests
2017-09-16 19:47:41 +03:00
Mikhail Glukhikh
a18e9436a1
Migration to expect/actual: change diagnostics rendering
2017-09-16 19:47:40 +03:00
Stanislav Erokhin
7982f3489e
Rename compiler key -Xno-check-impl to -Xno-check-actual
2017-09-16 19:47:39 +03:00
Mikhail Glukhikh
2fe7cc5534
Add more tests for KT-20262
2017-09-16 19:47:38 +03:00
Mikhail Glukhikh
77f625bfc8
Include ReplaceModifierFix in cleanup #KT-20262 Fixed
2017-09-16 19:47:37 +03:00
Stanislav Erokhin
7849452b66
Rename ALLOW_HEADER_WITHOUT_IMPLS to ALLOW_EXPECT_WITHOUT_ACTUAL
2017-09-16 19:47:36 +03:00
Vyacheslav Gerasimov
bba2d27e82
UAST: Fix getType and getText for UastKotlinPsiVariable
2017-09-16 13:21:44 +03:00
Vyacheslav Gerasimov
14742a6048
UAST: Fix getContainingFile, should return KtFile instead of FakeFileForLightClass
...
#KT-20170 Fixed
2017-09-16 13:02:08 +03:00
Vyacheslav Gerasimov
6d7c88a2bc
Fix KotlinWithGradleConfigurator, get psi files under read action
...
EA-106672 Fixed
2017-09-16 13:02:07 +03:00
Alexander Udalov
37a23f0958
Use JVM package name in Java 9 module accessibility checks
...
This fixes Java9ModuleIntegrationTest.testDependencyOnStdlibJdk78 from
the 1.2 branch
2017-09-15 20:30:29 +03:00
Mikhail Glukhikh
d3082b0e62
Migration to expect/actual: change some comments in compiler
2017-09-15 18:30:32 +03:00
Mikhail Glukhikh
fcc84d00c3
Migration: make header/impl/expect/actual contradictory to each other
2017-09-15 18:30:25 +03:00
Mikhail Glukhikh
fc4ff3b760
Migration to expect/actual: renames in DeclarationResolver
2017-09-15 18:30:18 +03:00
Mikhail Glukhikh
afdd647df1
Migration to expect/actual: renames in DeclarationsChecker
2017-09-15 18:30:11 +03:00