Commit Graph

93171 Commits

Author SHA1 Message Date
Ivan Kochurkin 856d14e5f7 [FIR] Don't create unwanted "Should have initializer" elements 2022-06-17 23:26:17 +00:00
Ivan Kochurkin 9d6f88469a [FIR] Use @file:Suppress("DuplicatedCode") for generated fir impl nodes
Get rid of unwanted warnings in IntelliJ
2022-06-17 23:26:17 +00:00
Ivan Kochurkin 0c543d65f3 [FIR] Remove not used FirRedundantLabelChecker 2022-06-17 23:26:17 +00:00
Ivan Kochurkin 9f69ea1786 [FIR] Add TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM diagnostics, ^KT-52327 Fixed 2022-06-17 23:26:16 +00:00
Ivan Kochurkin c5648fd449 [FIR] Pass annotations to buildResolvedQualifierForClass 2022-06-17 23:26:16 +00:00
Ivan Kochurkin 1ac4d68433 [FIR] Initialize annotations for block for LightTree 2022-06-17 23:26:16 +00:00
Ivan Kochurkin 34b5ce21a1 [FIR] Fix WRONG_ANNOTATION_TARGET for annotation for block, ^KT-52175 Fixed 2022-06-17 23:26:15 +00:00
Ivan Kochurkin b573532d8c Introduce COMPONENT_FUNCTION_NAME_PREFIX constant 2022-06-17 23:26:15 +00:00
sebastian.sellmair 600b0d7b81 [kpm] kgp-idea-proto: Remove protobuf types from public API surface
^KT-52568 Verification Pending
2022-06-17 22:27:15 +00:00
sebastian.sellmair 443faec30d [kpm] kgp-idea-proto: Create special binaryValidationApiElements configuration
This will be a 'lean' jar file (un-shadowed), which can later
be used by the binary-compatibility-validator to test the
API surface against.

^KT-52568 Verification Pending
2022-06-17 22:27:14 +00:00
sebastian.sellmair 514ea01175 [kpm] Embed protobuf runtime into kgp-idea-proto runtime jar
^KT-52568 Verification Pending
2022-06-17 22:27:13 +00:00
sebastian.sellmair 0eb4551e94 [kpm] kgp-idea: Update testedVersion to "1.7.20-dev-2127"
^KT-52568 Verification Pending
2022-06-17 22:27:12 +00:00
sebastian.sellmair 5caa5c5ab2 [kpm] kgp-idea: Skip unpublishable variants for testFixtures publication
^KT-52568 Verification Pending
2022-06-17 22:27:11 +00:00
sebastian.sellmair d8ac6357a6 [kpm] IdeaKpmProtoSchema: Include message severity for future messages
^KT-52568 Verification Pending
2022-06-17 22:27:11 +00:00
sebastian.sellmair 12b6d32e73 [kpm] kotlin-tooling-core: Move Type into Extras.Type
^KT-52568 Verification Pending
2022-06-17 22:27:10 +00:00
sebastian.sellmair 08bb163021 [kpm] Update kotlin-gradle-plugin-idea API reference
^KT-52568 Verification Pending
2022-06-17 22:27:09 +00:00
sebastian.sellmair 92713bdcb3 [kpm] IdeaKpmContentRoot: Rename SOURCE_TYPE -> SOURCES_TYPE & RESOURCE_TYPE -> RESOURCES_TYPE
^KT-52568 Verification Pending
2022-06-17 22:27:08 +00:00
sebastian.sellmair 70df08c678 [kpm] Rename IdeaKpmSourceDirectory to IdeaKpmContentRoot
^KT-52568 Verification Pending
2022-06-17 22:27:08 +00:00
sebastian.sellmair 19399a60d9 [kpm] Add :kotlin-gradle-plugin-proto to the'kotlinGradlePluginAndItsRequired' array
^KT-52568 Verification Pending
2022-06-17 22:27:07 +00:00
sebastian.sellmair fc3da93625 [kpm] IdeaKpmProjectContainer: Add documentation
^KT-52568 Verification Pending
2022-06-17 22:27:06 +00:00
sebastian.sellmair 0b7c1f42f6 [kpm] IdeaKpmBuildProjectModelTask: Change outputDirectory to IdeaKpmProject
^KT-52568 Verification Pending
2022-06-17 22:27:06 +00:00
sebastian.sellmair 2f6a8551ac [kpm] IdeaKpmBuildProjectModelTask: Add comment to signal that this is an internal task
^KT-52568 Verification Pending
2022-06-17 22:27:05 +00:00
sebastian.sellmair a12c938100 [kpm] Minimize kgp-proto's API surface and add binary compatibility tests
^KT-52568 Verification Pending
2022-06-17 22:27:04 +00:00
sebastian.sellmair 82ab65e689 [kpm] Update public api reference for kotlin-gradle-plugin-idea & kotlin-tooling-core
^KT-52568 Verification Pending
2022-06-17 22:27:04 +00:00
sebastian.sellmair 20d23f7228 [kpm] kgp-kpm-android: Register serialization extension for AndroidDsl
^KT-52568 In Progress
2022-06-17 22:27:03 +00:00
sebastian.sellmair 1034e47a2a [kpm] kgp: functionalTest: Use new kgp-idea testFixtures
^KT-52568 In Progress
2022-06-17 22:27:02 +00:00
sebastian.sellmair 05e3919075 [kpm] kgp-idea: Refactor BackwardsCompatibilityDeserializationTest to run with protobufs
^KT-52568 In Progress
2022-06-17 22:27:02 +00:00
sebastian.sellmair c48ac0cfc1 [kpm] kgp-idea: Implement IdeaKpmProjectBackwardsCompatibilityDeserializationTest
^KT-52568 In Progress
2022-06-17 22:27:01 +00:00
sebastian.sellmair f52b4550d8 [kpm] kgp-idea: Implement CompatibilityTestUtil.kt
^KT-52568 In Progress
2022-06-17 22:27:00 +00:00
sebastian.sellmair faaec4689a [kpm] kgp-idea: Implement IdeaKpmJavaIoSerializableExtrasSerializerTest
^KT-52568 In Progress
2022-06-17 22:26:59 +00:00
sebastian.sellmair b57f5f2742 [kpm] kgp-idea: Implement serialization test fixtures
^KT-52568 In Progress
2022-06-17 22:26:59 +00:00
sebastian.sellmair ca45200e68 [kpm] kgp-idea: Implement TestIdeaKpmInstances
To share some simple objects for testing

^KT-52568 In Progress
2022-06-17 22:26:58 +00:00
sebastian.sellmair d73d36ef2c [kpm] kgp-idea: Refactor testFixtures
- Consistently prefix entities with 'TestIdeaKpm'

^KT-52568 In Progress
2022-06-17 22:26:57 +00:00
sebastian.sellmair 01a4045c04 [kpm] Implement generic 'kotlin.debug' extra
^KT-52568 In Progress
2022-06-17 22:26:57 +00:00
sebastian.sellmair da288d926b [kpm] Adapt ideaKpmFragmentBuilder.kt for new IdeaKpmSourceDirectory design
^KT-52568 In Progress
2022-06-17 22:26:56 +00:00
sebastian.sellmair a380d15828 [kpm] IdeaKpmBuildProjectModelTask: Add protobuf binary and measure times
This task is still just used for troubleshooting and debugging.
It does not serve any real production use-case

^KT-52568 In Progress
2022-06-17 22:26:55 +00:00
sebastian.sellmair 2d04d4f06e [kpm] kgp: Integrate IdeaKpm.* protobuf serialization into IdeaKpmProjectModelBuilder
- Rename IdeaKpmProjectModelBuildingContext to IdeaKpmProjectBuildingContext
- Support building IdeaKpmProjectContainer
- Implement IdeaKpmSerializationContext on Gradle side

^KT-52568 In Progress
2022-06-17 22:26:54 +00:00
sebastian.sellmair 2a5457f59d [kpm] kgp-idea-proto: Implement simple serialization tests
^KT-52568 In Progress
2022-06-17 22:26:54 +00:00
sebastian.sellmair d78fb1d4d2 [kpm] kgp-idea-proto: Add conversion from IdeaKpm.* to IdeaKpm.*Proto
^KT-52568 In Progress
2022-06-17 22:26:53 +00:00
sebastian.sellmair 2ecfd76bbb [kpm] kgp-idea-proto: Add generated code for protobufs
This code was generated by libprotoc 3.19.4

^KT-52568 In Progress
2022-06-17 22:26:52 +00:00
sebastian.sellmair 6a520246e5 [kpm] kgp-idea-proto: Add .proto definitions for IdeaKpm models
^KT-52568 In Progress
2022-06-17 22:26:52 +00:00
sebastian.sellmair 252c297112 [kpm] Create new :kotlin-gradle-plugin-proto module 2022-06-17 22:26:51 +00:00
sebastian.sellmair 58e2f6d5d7 [kpm] kotlin-tooling-core: Expose 'Type' in Extras.Key
This type can later be used for extension points to register
serializers for certain known types.

^KT-52568 In Progress
2022-06-17 22:26:50 +00:00
sebastian.sellmair 9a8832a241 [kpm] kgp-idea: Implement IdeaKpmProjectContainer
This container serves the purpose of transferring a already
serialized binary form of IdeaKpmProject to the IDE.

^KT-52568 In Progress
2022-06-17 22:26:50 +00:00
sebastian.sellmair 486c18bc21 [kpm] kgp-idea: Remove IdeaKpmPlatformDetails in favor of IdeaKpmPlatform
^KT-52568 In Progress
2022-06-17 22:26:49 +00:00
sebastian.sellmair 5f61b55abc [kpm] kgp-idea: Remove IdeaKpmResourceDirectory in favor of a morge generic IdeaKpmSourceDirectory
^KT-52568 In Progress
2022-06-17 22:26:48 +00:00
sebastian.sellmair 7db9a4b0b1 [kpm] kgp-idea: Implement IdeaKpmSerializationContext
This context shall be used to register extension points like
IdeaKpmSerializationLogger or IdeaKpmExtrasSerializationExtension

^KT-52568 In Progress
2022-06-17 22:26:47 +00:00
sebastian.sellmair 132743cb7a [kpm] kgp-idea: Publish testFixtures
^KT-52568 In Progress
2022-06-17 22:26:47 +00:00
Pavel Kunyavskiy 3932143ed0 [K/N] Fix copy-paste error in cbrtf signature
^KT-48232
2022-06-17 17:55:27 +00:00
Pavel Kunyavskiy e4fede9067 [K/N] Add cbrt functions to state checker ignore list
^KT-48232
2022-06-17 17:55:26 +00:00