Nicolay Mitropolsky
6ce2c079a7
181: UAST: lazy computation made SYNCHRONIZED in UAST
...
because of UElement caching in platform, which leads to multithreaded usage
2018-04-11 16:28:25 +03:00
Nikolay Krasko
ef6c8c6a10
172: Revert "UAST: support for JvmDeclarationUElement"
...
This reverts commit db6a2390a22d4b35246cc4c6d246a5d7752f3506.
2018-04-11 16:28:12 +03:00
Nicolay Mitropolsky
18198ee33c
172: Uast-revert: test-data-revert
2018-04-11 16:28:11 +03:00
Nicolay Mitropolsky
a15d48c444
172: Uast-revert: reverting to previous rebase state
2018-04-11 16:28:11 +03:00
Nicolay Mitropolsky
c6bb0ad712
172: Uast-revert: AbstractKotlinRenderLogTest
2018-04-11 16:28:11 +03:00
Nicolay Mitropolsky
8c7269ea9a
172: KotlinUCollectionLiteralExpression: remove override modifier
2018-04-11 16:28:11 +03:00
Vyacheslav Gerasimov
e72007901a
172: Revert "UAST: override getFunctionalInterfaceType + test"
...
This reverts commit 92c23aa
2018-04-11 16:28:10 +03:00
Vyacheslav Gerasimov
8d3f71a04f
172: Revert "Quick Fixes: Support cross-language "Create from Usage" with Kotlin target"
...
This reverts commit 908bf71
2018-04-11 16:28:09 +03:00
Nikolay Krasko
9de5b83f6e
172: Revert "UAST: Properly handle annotations on local variables"
...
This reverts commit 70de7cff5e23abf723009c8df8bc2df2f646a675.
2018-04-11 16:28:08 +03:00
Nikolay Krasko
9db35f27d7
172: Revert "UAST: Add testConvertTypeInAnnotation"
...
This reverts commit 7d1b28b2b6bc80411ef19bb7619181bee637cf20.
2018-04-11 16:28:08 +03:00
Nikolay Krasko
c106c6a5d2
172: Revert "UAST: Fix testPropertyWithAnnotation"
...
This reverts commit 36a405cb55198592ee017c7eed9bd50fd6433f22.
2018-04-11 16:28:07 +03:00
Nikolay Krasko
334ae82b04
172: Revert "UAST test data fixes: @null in render"
...
This reverts commit 2f366b8209206b32792919f35f896fc63ad4b0e5.
2018-04-11 16:28:07 +03:00
Nikolay Krasko
99f74af006
172: Revert "UAST test data fixes: LocalVariableWithAnnotationKt fix for variable type"
...
This reverts commit ef61beb53ae1030afe11b3d15a2750959136ad65.
2018-04-11 16:28:07 +03:00
Nikolay Krasko
b02ec40a4c
172: Revert "UAST: support for JvmDeclarationUElement"
...
This reverts commit db6a2390a22d4b35246cc4c6d246a5d7752f3506.
2018-04-11 16:28:07 +03:00
Nikolay Krasko
17a5ce809f
172: Revert "UAST: SimpleKotlinRenderLogTest.testWhenAndDestructing testdata fix"
...
This reverts commit c6c71dc5e82e5eec547fb6fe3fe6eb578e8183c9.
2018-04-11 16:28:06 +03:00
Nikolay Krasko
5a072fffd2
172: Revert "UAST: StringTemplateComplex testdata fix"
...
This reverts commit 2ef0be9b2af14438aa7d899f78e2da327e9a8a07.
2018-04-11 16:28:06 +03:00
Nikolay Krasko
72b4b2b9bf
172: Revert "Uast: AbstractKotlinUClass compilation fix"
...
This reverts commit 86ee036ae7d89f8acc885d54157d9b9ce5f2cb17.
2018-04-11 16:28:06 +03:00
Nikolay Krasko
bf27a16144
172: Revert "Uast: SuperCalls.render.txt testdata fix"
...
This reverts commit 28a0267dc131ab37ede64f38de0dc2722aba1762.
2018-04-11 16:28:06 +03:00
Nikolay Krasko
fbf722e0bd
172: Revert "Uast: Constructors.kt testData fixes"
...
This reverts commit 0d35e32b1ee7006b9c9febf1f8992fbbe3246230.
2018-04-11 16:28:06 +03:00
Nikolay Krasko
633eafb902
172: Revert "Uast: WrappedUAnnotation as replacement for usage of JavaUAnnotation (KT-21025)"
...
This reverts commit 9701403889fbed93d9ea1e8fa4df58c720b3be72.
2018-04-11 16:28:06 +03:00
Nikolay Krasko
7b89b28015
172: Revert "Uast: AbstractKotlinUVariable annotations now are retrieved from Kotlin Psi, not from compiled (KT-21025)"
...
This reverts commit ebbfc4a3845159ba8f0e3d94a5f70489c348c403.
2018-04-11 16:28:05 +03:00
Nikolay Krasko
50419db87d
172: Revert "Uast: removing java-uast usage from KotlinUastLanguagePlugin and KotlinEnumConstantClassReference"
...
This reverts commit dfab8a6888a44d41253477eefb5db75368bb0803.
2018-04-11 16:28:05 +03:00
Nikolay Krasko
57789b8c3d
172: Revert "Uast: making AbstractKotlinUClass not inherit from AbstractJavaUClass"
...
This reverts commit d35f79963c810365451f09e98c148f9ce7fc3263.
2018-04-11 16:28:05 +03:00
Nikolay Krasko
f9af79c6d9
172: Revert "Uast: no more need to exclude UIdentifier from JvmDeclarationUElement check"
...
This reverts commit a92791a1f3cdec9ece602c5778eb04d5ffbd7505.
2018-04-11 16:28:05 +03:00
Nikolay Krasko
d402412208
172: Revert "Uast: uastParent made final in KotlinAbstractUElement"
...
This reverts commit 9b006787581cca8167714d07ad36aea195ff9c02.
2018-04-11 16:28:04 +03:00
Nikolay Krasko
affa1e232f
172: Revert "Uast: Constructors.kt testdata fixes"
...
This reverts commit a725f43588a6d2f2d1c79649f46849f8cbabbc8f.
2018-04-11 16:28:04 +03:00
Nikolay Krasko
b3a534431d
172: Revert "Uast: handling @receiver annotations"
...
This reverts commit 2f3b1485a30442db016e7f529d273483315067cf.
2018-04-11 16:28:04 +03:00
Nikolay Krasko
6881559ec3
172: Revert "Uast: KotlinAccessorCallExpression made implement JvmDeclarationUElement"
...
This reverts commit f75a5d8372ab3041d8a1a8073beaa96a79a50b03.
2018-04-11 16:28:04 +03:00
Ilmir Usmanov
2cfe387bab
Move coroutines to kotlin.coroutines package: compiler
...
Generate continuation type as kotlin.coroutines.Continuaion. This code will
fail at runtime since there is no stdlib backing this change yet.
However, in order to generate compatible stdlib we need a compiler, which
generates continuation type as kotlin.coroutines.Continuation.
Thus, firstly we support the change in the compiler, make it bootstrap
compiler and only then change stdlib and tests accordingly.
#KT-23362
2018-04-10 22:51:46 +03:00
Mikhael Bogdanov
63afd37cdd
Remove unused parameters, compiler keys and obsolete code
2018-04-03 19:18:10 +02:00
Nicolay Mitropolsky
14ce13315c
Uast: wrapping expression bodies with return and code block (#KT-23557)
2018-04-03 14:10:01 +03:00
Nikolay Krasko
70d236cb8d
Always configure "idea.home.path" system variable
...
When TestLoggerFactory is initialized in tests it checks that variable
and it it's not present uses classpath to search for logger configuration.
If this search is unsuccessful a lot of exceptions are written to log:
java.lang.RuntimeException: Could not find installation home path. Please make sure bin/idea.properties is present in the installation directory.
at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:96)
at com.intellij.testFramework.TestLoggerFactory.reconfigure(TestLoggerFactory.java:67)
2018-03-29 19:49:00 +03:00
Alexey Tsvetkov
8a82c1618c
Use Plugins DSL in Kotlin Gradle scripts
...
When plugins DSL is used, there is no need to
manually generate typesafe accessors for extensions and
conventions (by running `./gradlew kotlinDslAccessorsSnapshot`).
2018-03-26 16:09:29 +03:00
Pavel V. Talanov
32516a3f33
Refactor: split *LightClassGenerationSupport into separate files
...
Move cli binding trace implementation to top level
2018-03-12 12:05:05 +01:00
Yan Zhulanow
df88acaefd
Get rid of test-to-production dependencies as it's not supported in plain IDEA projects
2018-03-02 03:15:24 +03:00
Yan Zhulanow
34d1611ed4
Add Pill support to compiler and IDE modules
2018-03-02 03:15:17 +03:00
Nicolay Mitropolsky
2f6fb4091b
making LambdaArgument methods nullable
...
overridden `LambdaArgument.getArgumentExpression` removed because it is already nullable in parent
#EA-117013
2018-02-28 12:13:12 +03:00
Nicolay Mitropolsky
35ce30aedc
Uast: better reports for failed method conversions in KotlinUClass
2018-02-27 11:23:04 +03:00
Nicolay Mitropolsky
795516269d
Uast: don't run resolve if not inside KtFile
2018-02-27 11:22:40 +03:00
Alexey Sedunov
aa4a5b75c7
UAST: Fall back to JVM platform if element doesn't have a module
2018-02-19 18:11:56 +03:00
Alexey Sedunov
99fca79bdc
UAST: Do not create UElements in non-JVM modules
2018-02-19 13:01:38 +03:00
Alexey Sedunov
994d6ab4f9
Temporarily revert "UAST: Do not create UElements in non-JVM modules"
2018-02-16 14:05:16 +03:00
Alexey Sedunov
d5df8c60fc
UAST: Do not create UElements in non-JVM modules
2018-02-15 20:37:44 +03:00
Yan Zhulanow
03a20384ef
Uast: Fix an exception while converting type alias KotlinType to PsiType (KT-21874)
2018-02-08 19:36:37 +03:00
Nicolay Mitropolsky
91a4bbed2e
Uast: KotlinUNestedAnnotation with light annotation (IDEA-185890)
2018-02-07 10:17:40 +03:00
Nicolay Mitropolsky
48ea52def1
Uast: KotlinUNestedAnnotation for processing nested annotations (IDEA-185890)
2018-02-07 10:17:40 +03:00
Nicolay Mitropolsky
8ac95b54a2
Uast: support for Kotlin array literals
2018-02-06 17:53:17 +03:00
Ilya Chernikov
5dc094d290
Implement correct and fast ultimate/community sdks handling
2018-01-30 17:06:15 +03:00
Ilya Chernikov
7e21573cf4
Convert the rest of the project to intellij repo prepared in buildSrc
2018-01-30 17:06:13 +03:00
Ilya Chernikov
e8494a5371
Fix uast-kotlin dependencies and tests
2018-01-30 17:06:12 +03:00