Sebastian Sellmair
55cfe52e7d
[Gradle] IdeaKotlinProjectArtifactDependencyMatcher: Use host independent path matcher
...
^KT-55112 Verification Pending
2022-11-29 08:05:14 +00:00
Sebastian Sellmair
3f24b690e2
[Gradle] IdeVisibleMultiplatformSourceDependencyResolver: Reuse resolveMetadata function
...
^KT-55112 Verification Pending
2022-11-29 08:05:13 +00:00
Sebastian Sellmair
813fb6fc40
[Gradle] kgp-idea: Update api reference
...
KT-55112
2022-11-29 08:05:13 +00:00
Sebastian Sellmair
f9d1286fce
[Gradle] kgp-idea: Compatibility tests: bump version to 1.8.20-dev-3076
...
KT-55112
2022-11-29 08:05:13 +00:00
Sebastian Sellmair
4c69b5867f
[Gradle][Minor] Update Test__Kotlin_Gradle_Plugin___idea.xml
...
KT-55112
2022-11-29 08:05:12 +00:00
Sebastian Sellmair
2bfc559c50
[Gradle] Implement IdeaKotlinEntityTest and IdeaKotlinEntity annotations
...
KT-55112
2022-11-29 08:05:12 +00:00
Sebastian Sellmair
2c55d2cea3
[Gradle] Implement IdeaKotlinProjectArtifactDependency.Resolver.composite
...
KT-55112
2022-11-29 08:05:12 +00:00
Sebastian Sellmair
273f8a8434
[Gradle] Implement IdeaKotlinProjectArtifactDependency.Resolver
...
KT-55112
2022-11-29 08:05:11 +00:00
Sebastian Sellmair
0aad848757
[Gradle] IdeMultiplatformImport: Force empty binary resolve for Android dependencies
...
KT-55112
2022-11-29 08:05:11 +00:00
Sebastian Sellmair
90248f4e44
[Gradle] Share utils in IdeMetadataDependencyResolvers with IdeJvmAndAndroidSourceDependencyResolver
...
KT-55112
2022-11-29 08:05:11 +00:00
Sebastian Sellmair
cda82b47e0
[Gradle] Implement IdeaKotlinProjectArtifactDependency
...
KT-55112
2022-11-29 08:05:10 +00:00
Sebastian Sellmair
e6daabdb2d
[Gradle] IdeOriginalMetadataDependencyResolver: Safe cast to ModuleCompontentIdentifier
...
KT-55112
2022-11-29 08:05:10 +00:00
Sebastian Sellmair
dcc196db04
[Gradle] Implement IdeJvmAndAndroidSourceDependencyResolver
...
KT-55112
2022-11-29 08:05:10 +00:00
Sebastian Sellmair
38446dc3e8
[Gradle] IdeResolveSourceDependenciesTest: Implement jvmAndAndroid test
...
KT-55112
2022-11-29 08:05:09 +00:00
Sebastian Sellmair
d935e41862
[Gradle] Implement IdeFriendSourceDependencyResolver & IdeVisibleMultiplatformSourceDependencyResolver
...
KT-55112
2022-11-29 08:05:09 +00:00
Mads Ager
30002e29d1
[KAPT+JVM_IR] Do not generate initializers for delegated properties.
...
^KT-54870 Fixed
2022-11-28 22:27:09 +01:00
Alexander Korepanov
9dab8637a8
[JS Gradle] Pass incremental cache root dir to K2JS compiler
2022-11-28 20:46:40 +00:00
Alexander Korepanov
693258ae91
[JS IR] Invalidate all klib dependencies after removing it
...
Without the invalidation, broken JS code
(with broken cross-module references) may appear.
^KT-54911 Fixed
2022-11-28 20:46:40 +00:00
Alexander Korepanov
ca19d71a00
[JS IR] Commit cache header after lowering
...
Commiting cache header before lowering may
break caches in case of lowering errors.
^KT-54912 Fixed
2022-11-28 20:46:40 +00:00
Alexander Korepanov
8cde0a81bc
[JS IR] Use topological order for loading klibs in JS IR IC
...
Generally, the library order doesn't matter.
However, after lowering we need to post process
lowered klibs in topological order:
- commit incremental cache artifacts,
- produce JS AST.
The patch uses an ability of the Kotlin library resolver to load klibs
in topological order and drops its reimplementation from IC infrastructure.
There is one side effect:
klibs which are not reachable from the main module, will produce their JS.
This should be more correct than just ignoring them.
2022-11-28 20:46:39 +00:00
Alexander Korepanov
ec6a7094e6
[JS IR] Manage cache root dir from IC cache updater
...
- pass cache root directory instead of dir list
- manage klib cache dirs from cache updater
2022-11-28 20:46:39 +00:00
Alexander Korepanov
c7589245c4
[JS IR] Minor IC refactoring
...
Move metadata classes from cache updater to separate file.
2022-11-28 20:46:38 +00:00
Sebastian Sellmair
0f4e4ac20e
KotlinFacetSettings: Serialize and deserialize additionalVisibleModuleNames
...
^KT-55145 Verification Pending
2022-11-28 18:00:48 +00:00
Mikhail Glukhikh
8ffabddf75
FIR2IR: cleanup field static fake override caching
2022-11-28 17:27:51 +00:00
Mikhail Glukhikh
91a3c78844
Fir2IrDeclarationStorage: drop redundant 'with' + fix formatting
2022-11-28 17:27:51 +00:00
Mikhail Glukhikh
237f357016
FIR: don't copy initializer for field override, unwrap it instead
2022-11-28 17:27:50 +00:00
Mikhail Glukhikh
c698d060c6
FIR2IR: support static fake overrides for fields (related to KT-53441)
...
#KT-54921 Fixed
2022-11-28 17:27:50 +00:00
Svyatoslav Scherbina
6979271998
Native: fix benchmarksAnalyzer build configuration
...
Likely broken by e07e92c9
2022-11-28 16:46:42 +00:00
Sergej Jaskiewicz
aa1b18b0c8
[IR] Prevent infinite recursion when rendering bound symbol references
...
Refactor the renderer, make BoundSymbolReferenceRenderer a static class
to prevent calling RenderIrElementVisitor's methods from it to avoid
infinite recursion in the future.
^KT-52677 Fixed
2022-11-28 16:43:53 +00:00
Alexander Korepanov
9fcd185141
[JS IR] Set kotlin.js.test.root.out.dir for IC tests
...
Property kotlin.js.test.root.out.dir is required for
JS IR IC tests, otherwise they can't be run from IDEA.
2022-11-28 16:13:10 +00:00
Vladimir Dolzhenko
af08e4121d
Fix fragment element types class hierarchy.
...
They must not extend `IStubFileElementType`.
#KT-55160 Fixed
2022-11-28 15:44:37 +00:00
Vladimir Dolzhenko
e751b11b5e
Add extra checks
...
#EA-721785
2022-11-28 15:20:29 +00:00
Ilya Chernikov
e4a361a4b4
K2 Scripting: disable scripts in source roots by default
...
fixes ultimate FP test
2022-11-28 15:10:55 +00:00
Pavel Kunyavskiy
09518a457a
Better unbound symbols support for dumpKotlinLike
...
If there is an unbound symbols in IrTree near backend exception,
compiler failed again during processing an error.
It led to hard-understandable error. Now at least it would show
problematic part of code, which is better for making workarounds.
^KT-55088
2022-11-28 14:22:46 +00:00
Pavel Kunyavskiy
def98f83ac
[K/N] Disable gcStats test with noop gc
2022-11-28 13:58:18 +00:00
Dmitrii Gridin
066677b598
[CODEOWNERS]: move light classes testData to Kotlin IDE team
2022-11-28 13:37:56 +00:00
Pavel Punegov
92fb41e1fc
[K/N][codeowners] Performance,tests and tools related gradle files
...
- Performance builds are separated from the main build execution and are
part of the Native infrastructure.
- Old test infrastructure contains tests that is written in gradle
build files and hence should belong to K/N team.
- New test infrastructure build gradle file is also a part of tests.
Merge-request: KT-MR-7768
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2022-11-28 11:35:55 +00:00
Pavel Punegov
9e80290405
[K/N][test] Fix cache testing to use stdlib cache
...
Cache testing should use standard stdlib cache instead of building it.
The dependency is set to the stdlib cache task (part of dist build).
Merge-request: KT-MR-7830
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2022-11-28 11:21:15 +00:00
Leonid Startsev
4bf6322dd7
Change signature of KmType.visitExtensions — it should return TypeExtensionVisitor, not TypeExtension.
2022-11-28 11:01:57 +00:00
Leonid Startsev
1afe0b9cd0
Change kotlinx.metadata.impl package to kotlinx.metadata.internal
...
Same with kotlinx.metadata.jvm.impl package
2022-11-28 11:01:57 +00:00
Pavel Kirpichenkov
ad0dee822e
[MPP] KT-54974 Implement TCS dependency resolver for K/N stdlib
2022-11-28 09:25:07 +00:00
Artem Daugel-Dauge
4f736524b2
KT-54969 Kotlin artifacts withPodspec DSL
2022-11-27 18:09:38 +00:00
Ilya Chernikov
4af32b8d36
K2 Scripting, IR: non-class based scripts support in IR
2022-11-26 18:01:49 +00:00
Ilya Chernikov
cc9a7480a2
K2 Scripting: add FIR2IR conversion for FirScript
2022-11-26 18:01:49 +00:00
Ilya Chernikov
47448d779c
K2 Scripting: enable script diagnostic tests for FIR
...
also add script scopes test
2022-11-26 18:01:49 +00:00
Ilya Chernikov
a3a1550933
K2 scripting: add initial scripting support to K2 frontend
2022-11-26 18:01:48 +00:00
Svyatoslav Kuzmich
7ec6608e29
[Wasm] Add Promise and support tests that return Promise
...
Co-authored-by: Ilya Gorbunov <Ilya.Gorbunov@jetbrains.com >
Merge-request: KT-MR-7717
Merged-by: Svyatoslav Kuzmich <svyatoslav.kuzmich@jetbrains.com >
2022-11-25 20:56:47 +00:00
Evgeniy.Zhelenskiy
002f6bd34a
[FIR] Fix JvmName annotation diagnostics
...
Signed-off-by: Evgeniy.Zhelenskiy <Evgeniy.Zhelenskiy@jetbrains.com >
#KT-55143
2022-11-25 16:30:22 +01:00
Dmitrii Gridin
cb8cc65fb8
[AA Fe10] update testData
...
org.jetbrains.kotlin.analysis.api.fe10.test.cases.generated.cases.symbols.Fe10IdeNormalAnalysisSourceModuleSymbolByFqNameTestGenerated.testKclass
2022-11-25 15:33:58 +01:00
Zalim Bashorov
70a3d43adf
[Wasm] Update Binaryen version in gradle plugin: 110 -> 111
2022-11-25 15:32:32 +01:00