Alexander Likhachev
17991c5b6e
[Build] Update common-custom-user-data-gradle-plugin to 1.4
...
Now the plugin detects IDEA via system properties using Gradle providers and shoudn't cause undeclared system property reads issue
#KT-44611 In Progress
2021-06-10 18:39:20 +03:00
Nikita Bobko
debc0d2b93
Add .idea/libraries-with-intellij-classes.xml to .gitignore
2021-06-10 17:37:50 +02:00
Vladimir Dolzhenko
1eb04d5440
Support Kotlin 1.5 / 1.6 language versions come from external sources
...
#KTIJ-15743 Fixed
Original commit: 784f77a2b98b0c9719f4919e45a193f35d7d9875
2021-06-10 13:12:36 +00:00
Dmitriy Novozhilov
1a0516e2c8
Fix codebase according to KT-47225
2021-06-10 16:01:18 +03:00
Tianyu Geng
baa3a3c81d
FIR IDE: ignore smartcast if it's unstable in HL API
2021-06-10 16:01:17 +03:00
Tianyu Geng
78401b3ae0
FIR: add helper to check if a smartcast expressioin is stable
2021-06-10 16:01:16 +03:00
Tianyu Geng
3c8693758b
FIR: handle synthetic properties with unstable smartcast
...
Synthetic properties from Java getter/setters need to be specially
handled so that candidates from such symbols are marked with unstable.
2021-06-10 16:01:14 +03:00
Tianyu Geng
ce767046eb
FIR checkers: report SMARTCAST_IMPOSSIBLE
2021-06-10 16:01:13 +03:00
Tianyu Geng
2bb7ef9747
FIR DFA: store stability in RealVariable
...
As part of this change, we also extend the usage of RealVariable in more
places during DFA. Now mutable properties, property with custom getters,
delegated properties, etc are also treatd as a `RealVariable`. In
general this is needed in order to carry out smartcast computation in
order to report `SMARTCAST_IMPOSSIBLE`. It seems to also have side
effects that improves behavior of some test files.
2021-06-10 16:01:11 +03:00
Tianyu Geng
97ea37c82f
FIR: add smartcast stability to FIR
2021-06-10 16:01:09 +03:00
Nikita Bobko
02bd17a4e2
Add compiler/fir/raw-fir/psi2fir/testData to testdata which is used by Kotlin plugin in IJ infra
2021-06-10 12:16:16 +02:00
Alexander Shabalin
cf47d95aa5
Rename SingleThreadMarkAndSweep into SameThreadMarkAndSweep
2021-06-10 09:59:38 +00:00
Alexander Shabalin
9ebba93dd9
Make SingleThreadMarkAndSweep support multiple threads
2021-06-10 09:59:37 +00:00
Alexander Shabalin
10ae9c511b
Allow filtering of gtest tests
2021-06-10 09:59:37 +00:00
Svyatoslav Scherbina
11fb8677c6
Update kotlin-native/gradlew to 6.8.3
...
to match gradlew at repo root directory
2021-06-10 09:24:15 +00:00
Sebastian Sellmair
4e7460d91f
Merge KT-MR-3320 from rra/sellmair/kt-46957-enable_linuxMips32_in_tests
2021-06-10 09:14:17 +00:00
Andrey Zinovyev
371452d49a
[FIR] Fix CANNOT_BE_IMPORTED for java static methods/variables
2021-06-10 11:28:34 +03:00
Dmitriy Dolovov
2b161581ca
K/N: Use class FQN in default toString() implementation
...
^KT-47167
2021-06-10 11:02:21 +03:00
Dmitriy Dolovov
d42ff069f6
[Native][IR] Move verbose RTTI for local classes and anonymous objects
...
^KT-45304
2021-06-10 11:02:16 +03:00
Dmitriy Dolovov
6bac016b3a
[IR] Support top-level callables in InventNamesForLocalClasses lowering
...
^KT-45304
2021-06-10 11:02:10 +03:00
Dmitriy Dolovov
9861cb0438
[IR] Commonize InventNamesForLocalClasses lowering
...
^KT-45304
2021-06-10 11:02:04 +03:00
Yaroslav Chernyshev
6f8b3f22ca
Fix adding non-directory to resources for Android source set
...
#KTIJ-17113 Fixed
2021-06-10 10:26:42 +03:00
Ilya Kirillov
e12f3ff88a
FIR IDE: fix compilation
2021-06-09 22:49:57 +03:00
Mark Punzalan
befa8aaac7
FIR IDE: Enable add initializer quickfix for MUST_BE_INITIALIZED.
2021-06-09 22:49:56 +03:00
Mark Punzalan
bb2246ebaf
FIR IDE: Add diagnosticFixFactories() API to share quickfix-creation
...
across multiple diagnostics with the same PSI.
2021-06-09 22:49:55 +03:00
Mark Punzalan
2773506f4c
FIR IDE: Don't offer AddExclExclCallFix when expression is definitely
...
null.
2021-06-09 22:49:52 +03:00
Mark Punzalan
97ea901507
FIR IDE: Add isDefinitelyNull() and isDefinitelyNotNull() to
...
KtExpressionTypeProvider.
2021-06-09 22:49:51 +03:00
Mark Punzalan
c6427d57f1
FIR IDE: Enable AddExclExclCallFix for ASSIGNMENT_TYPE_MISMATCH and
...
INITIALIZER_TYPE_MISMATCH.
2021-06-09 22:49:50 +03:00
Mark Punzalan
eddc590aaf
FIR: Rename parameters for (ASSIGNMENT|RESULT)_TYPE_MISMATCH.
2021-06-09 22:49:49 +03:00
Nikolay Krasko
b6b983aa2a
Update kotlin:kotlin-build-gradle-plugin 0.0.29 -> 0.0.30 (KTI-563)
...
Remove ultimate mentioning
2021-06-09 22:19:53 +03:00
Nikolay Krasko
ee3fe6c605
Add dependency on dist in tests of kotlin.core.descriptors.runtime
...
JvmRuntimeDescriptorLoaderTestGenerated fails without stdlib.
2021-06-09 20:05:27 +03:00
Nikolay Krasko
85bc1d6aa2
Remove org.jfrog.buildinfo:build-info-extractor-gradle
...
There were some conflicts that shouldn't be an issue anymore.
Revert: 713f6e1ed3
2021-06-09 20:05:25 +03:00
Nikolay Krasko
965eff66ce
Add information about protected branches
2021-06-09 20:05:24 +03:00
Nikita Bobko
3aebd0315f
Make it possible to run DiagnosisCompilerTestDataSpecTestGenerated from fir-low-level-api in IJ infra
2021-06-09 19:44:08 +03:00
Nikita Bobko
294ec3905b
[cleanup] Remove unused AbstractSymbolByFqNameTest
2021-06-09 19:44:06 +03:00
Andrey Uskov
446eb390ef
Update Gradle version used in project to 6.9
2021-06-09 19:06:18 +03:00
Alexander Shabalin
b1e0e43ba4
Add isFrozen test on object
2021-06-09 15:03:15 +00:00
Nikolay Krasko
48a4d7d418
Build: drop maven publication for Kotlin plugin artifacts
2021-06-09 17:43:54 +03:00
Nikolay Krasko
32f811e0ec
Build: Cleanup old platforms from the build
2021-06-09 17:43:53 +03:00
Nikolay Krasko
a4005cef19
Build: Drop ultimate, cidr and kmm from the build (KTI-563)
2021-06-09 17:43:52 +03:00
Alexander Likhachev
9a4ff6e201
[Gradle, JS] Add libraries filter caching in compile task
...
Previously any compile task was honestly reading dependency metadata from filesystem to check whether it's K/JS module even if another compile task already tested this dependency. Now the result of check is cached in build service that is cleared after build finish. It can save many rebuild time on incremental compilation of complex projects.
#KT-47154 Fixed
2021-06-09 17:25:56 +03:00
Dmitry Petrov
dbb933e6a6
JVM use instruction liveness analysis instead of DFA in DCE
2021-06-09 17:04:47 +03:00
Dmitry Petrov
3d8735c978
Minor: add excluded path to CodeConformanceTest
2021-06-09 17:04:46 +03:00
Nikita Bobko
2c92a60878
Fix obvious 'disableKotlinPluginModules' logging mistake
2021-06-09 15:44:10 +02:00
Nikita Bobko
a7894a6298
Introduce 'disableKotlinPluginModules' flag
...
We are about to drop Kotlin plugin sources from Kotlin repo
(since they are merged into intellij-commmunity repo).
Let's introduce the flag which we could use for testing
2021-06-09 15:41:37 +02:00
Tianyu Geng
32f55a2269
FIR checker: report VIRTUAL_MEMBER_HIDDEN
2021-06-09 16:27:49 +03:00
Tianyu Geng
d3dfb33f89
FIR: consolidate duplicated logic in FirOverrideChecker
2021-06-09 16:27:26 +03:00
Nikita Bobko
8bb98f8f86
[imltogradle] Do not resolve transitive dependencies in gralde if don't resolve them in JPS
...
This fixes problems of Gradle not being possible to find transitive maven artifacts
if actually we don't need them
2021-06-09 15:16:18 +02:00
Pavel Kirpichenkov
d76bb45716
[Commonizer] Add CommonizerHierarchicalIT
...
Test platform dependencies on leaf source sets
^KT-46716 Verification pending
2021-06-09 12:49:07 +00:00
Pavel Kirpichenkov
5f7576e546
[Commonizer] Use original K/N distribution libraries for leaf targets
...
^KT-46716
2021-06-09 12:49:04 +00:00