Commit Graph

97853 Commits

Author SHA1 Message Date
Sebastian Sellmair c0aa6cf873 [Gradle] Ensure deprecated *DependenciesMetadata configurations exclude common stdlib
^KT-55929 Verification Pending
2023-01-18 08:26:32 +00:00
Sebastian Sellmair cc684cce3d [Gradle] Ensure deprecated *DependenciesMetadata configurations carry necessary dependencies
^KT-55929 Verification Pending
2023-01-18 08:26:32 +00:00
Pavel Kunyavskiy fbc39fcab1 [K/N] Make a reproducer test for KT-55938
^KT-55938
2023-01-18 08:29:51 +01:00
Mads Ager e5417e8381 [K/N] Deal with external ObjC companion objects in cache builds.
^KT-55938 Fixed
2023-01-18 08:29:51 +01:00
Alexander.Likhachev 3dcf5af4b0 [IC] Add methods to write without explicit registering in a transaction
#KT-49785 In Progress
2023-01-17 22:15:57 +00:00
Alexander.Likhachev 581bc89849 [IC] Introduce ICContext to simplify configuration propagation to caches
#KT-49785 In Progress
2023-01-17 22:15:56 +00:00
Alexander.Likhachev 7171c2531c [IC] Apply IDEA suggestions to IC caches code 2023-01-17 22:15:56 +00:00
Alexander Likhachev 432b08e158 [Gradle] Convert taskOutputsBackupExcludes into SetProperty
#KT-49785 In Progress
2023-01-17 22:15:56 +00:00
Alexander Likhachev 0260d1d63f [IC] Move marking a transaction as successful up
#KT-49785 In Progress
2023-01-17 22:15:55 +00:00
Alexander Likhachev db5df5c5ec [Gradle] Add Gradle integration tests with precise compilation outputs backup
#KT-49785 In Progress
2023-01-17 22:15:55 +00:00
Alexander Likhachev 40a901caa1 [IC] Add unit tests for TransactionOutputsRegistrar
#KT-49785 In Progress
2023-01-17 22:15:55 +00:00
Alexander Likhachev 1f2eb4c9fe [IC] Add unit tests for CompilationTransaction
#KT-49785 In Progress
2023-01-17 22:15:54 +00:00
Alexander Likhachev d0c049cc00 [IC] Setup JUnit5 tests for :kotlin-build-common
#KT-49785 In Progress
2023-01-17 22:15:54 +00:00
Alexander Likhachev bb51522cac [IC] Fix non-existing file removal in CompilationTransaction
#KT-49785 In Progress
2023-01-17 22:15:54 +00:00
Alexander Likhachev 82a2cac4d6 [Gradle] Add debug logging into TaskOutputsBackup 2023-01-17 22:15:53 +00:00
Alexander Likhachev 87db928b2d [IC] Support precise output backup for jvm-abi-gen plugin
#KT-49785 In Progress
2023-01-17 22:15:53 +00:00
Alexander Likhachev 4c2923f96f [IC] Support precise output backup for kapt stubs
#KT-49785 In Progress
2023-01-17 22:15:53 +00:00
Alexander Likhachev 274c9b6294 [IC] Register JS IC header file and lookup counter in transaction
#KT-49785 In Progress
2023-01-17 22:15:53 +00:00
Alexander Likhachev 20ed029ba5 [Gradle, IC] Add gradle property to control precise compilation outputs backup
#KT-49785 In Progress
2023-01-17 22:15:52 +00:00
Alexander Likhachev 6a91dd6bac [IC] Add KDoc for compilation transactions
#KT-49785 In Progress
2023-01-17 22:15:52 +00:00
Alexander Likhachev 7d471dafa3 [IC] Lower logging level inside RecoverableCompilationTransaction
#KT-49785 In Progress
2023-01-17 22:15:52 +00:00
Alexander Likhachev 5461667421 [IC] Measure time metrics in CompilationTransaction
#KT-49785 In Progress
2023-01-17 22:15:51 +00:00
Alexander Likhachev 742e240bdc [IC] Report messages with CompilerMessageSeverity.OUTPUT without grouping
#KT-49785 In Progress
2023-01-17 22:15:51 +00:00
Alexander Likhachev ea4c792b9a [IC] Disable Gradle-side compiler outputs backup unconditionally
#KT-49785 In Progress
2023-01-17 22:15:51 +00:00
Alexander Likhachev 1a5d2a7b7e [IC] Implement compiler outputs backup logic
#KT-49785 In Progress
2023-01-17 22:15:50 +00:00
Alexander Likhachev 3806105821 [IC] Introduce transactions to be able to revert compiler output changes
#KT-49785 In Progress
2023-01-17 22:15:50 +00:00
Ilya Goncharov e93fa380e2 [Gradle, Wasm] Detect correct browser executable depends on OS 2023-01-17 22:01:33 +00:00
Artem Kobzar c4eca5f2df [K/JS] Exclude componentN methods from JsExport 2023-01-17 21:18:50 +00:00
Alexander Udalov 3197a118ab Update jvm-abi-gen to kotlinx-metadata-jvm's Km* node API 2023-01-17 22:00:30 +01:00
Alexander Udalov 5ef372aab5 Update jvm-abi-gen to kotlinx-metadata-jvm 0.6.0 2023-01-17 21:59:54 +01:00
Alexander Udalov a7b1bade85 Kapt: enable JVM IR by default
Add `kapt.use.jvm.ir=false` to `gradle.properties` to return the old
behavior.

 #KT-53135 Fixed
2023-01-17 20:23:32 +00:00
Alexander.Likhachev 9e1b6dc223 [Gradle] Update version requirements for MppTestsIT.testKt54634 2023-01-17 20:07:55 +01:00
Alexander.Likhachev 4a58e24a4a [Gradle] Rework ConfigurationCacheForAndroidIT to drop warnings suppression 2023-01-17 20:07:54 +01:00
Alexander.Likhachev 6cbbecc705 [Gradle] Mark one more warnings suppression as a workaround for KT-55751 2023-01-17 20:07:54 +01:00
Alexander.Likhachev f57bf74e4f [Gradle] Don't override warningMode with the default value in some tests 2023-01-17 20:07:54 +01:00
Alexander.Likhachev 9386fbbe0f [Gradle] Don't suppress warnings for tests that don't produce them
dont produce
2023-01-17 20:07:53 +01:00
Alexander.Likhachev 7949197b62 [Gradle] Fix deprecation warnings in Kapt3AndroidExternalIT 2023-01-17 20:07:52 +01:00
Alexander.Likhachev 21624d6d07 [Gradle] Add version checks on warnings suppression for old AGP versions 2023-01-17 20:01:01 +01:00
Sergej Jaskiewicz 150b8061e9 [K/N] Fix FunctionReferenceLowering for bound refs to generic functions
4a2a77d9b9 introduced a regression
where for bound references to functions generic over their receiver
the generated class was also generic even if the function reference
itself only contained concrete types. This is fixed here.
2023-01-17 18:41:08 +00:00
Zalim Bashorov 2573201a87 [Wasm] provide "location" for pseudo-instructions using to add comments 2023-01-17 19:37:06 +01:00
Zalim Bashorov ab1cbc49dd [Wasm] Minor: move buildUnreachable* helpers to more specific module 2023-01-17 19:37:05 +01:00
Zalim Bashorov 9e4b2b78e6 [Wasm] Remove unnecessary location from WasmDataMode constructor 2023-01-17 19:37:05 +01:00
Zalim Bashorov 2fa2725012 [Wasm] Add a comment about location into WasmExpressionBuilder 2023-01-17 19:37:05 +01:00
Zalim Bashorov 37879e18d9 [Wasm] Pass location instead of fileEntry to generateConstExpression 2023-01-17 19:37:05 +01:00
Zalim Bashorov aa8a0fd7d7 [Wasm] Remove LocationHolder and helper functions
It turned out that dedicated scoping function for locations are not so useful.
Now, if you want to scope a location use functions from stdlib, like `let`.
2023-01-17 19:37:05 +01:00
Zalim Bashorov e62add937b [Wasm] Remove SourceLocation.TBDLocation and related things 2023-01-17 19:37:05 +01:00
Zalim Bashorov 0d203d190e [Wasm] Remove buildInstr without location and fix usages 2023-01-17 19:37:05 +01:00
Zalim Bashorov 42f2edd282 [Wasm] Require location for buildThrow and fix all usages 2023-01-17 19:37:05 +01:00
Zalim Bashorov 1244cd1259 [Wasm] Require location for buildBr* and fix all usages 2023-01-17 19:37:05 +01:00
Zalim Bashorov 95c84d5d3f [Wasm] Require location for buildDrop and fix all usages 2023-01-17 19:37:05 +01:00