Age | Commit message (Collapse) | Author |
|
Fixes #3035
|
|
* Migrate K2-Based dokka to use the new standalone mode API
see https://youtrack.jetbrains.com/issue/KT-60884
* Do not use copy-n-pasted code from Analysis API in K2-Based Dokka
see https://youtrack.jetbrains.com/issue/KT-60884
* Remove copy-n-pasted API from Analysis API in K2-Based Dokka
as it's now unused
see https://youtrack.jetbrains.com/issue/KT-60884
* Update version Analysis API to 1.9.30-dev-3330
---------
Co-authored-by: Ilya Kirillov <ilya.kirillov@jetbrains.com>
|
|
Otherwise, `Caused by: org.jetbrains.kotlin.utils.exceptions.KotlinIllegalArgumentExceptionWithAttachments: Unexpected class org.jetbrains.kotlin.analysis.project.structure.KtBuiltinsModule
at org.jetbrains.kotlin.analysis.low.level.api.fir.util.ExceptionUtilsKt.errorWithFirSpecificEntries(exceptionUtils.kt:50)`
|
|
|
|
|
|
Co-authored-by: vmishenev <vad-mishenev@yandex.ru>
|
|
Due to the recent changes in how Analysis API handles builtins, the update to the fresh version of Analysis API requires registering Kotlin stdlib in every testsuite.
|
|
#3143 wasn't based on latest master, so the checks were green, but then the compilation failed due to explicit API mode
|
|
#3034 broke the fix for #1599 by changing packages
|
|
* fix(KTL-1177): Resize Observer has indefinite loop
|
|
* [K2] Fix functional type and improve logging for unresolved link
For example
`typealias CompletionHandler = (cause: Throwable?) -> Unit`
has a functional type with no type arguments in K2. In K1 we have a usual generic type
|
|
|
|
|
|
|
|
|
|
|
|
* Add the default copyright profile and enable IDEA project settings
* Add the license notice file
|
|
|
|
Dokka has its own documentable model to represent analyzed code. The analysis is performed by a compiler frontend.
In K1 the compiler frontend has descriptors that use the underlying Binding Context (global shared stateful structure). Dokka just maps descriptors to Documentable by DefaultDescriptorToDocumentableTranslator.
K2 compiler has FIR tree, which means “Frontend Intermediate Representation”, instead of Binding Context. But we do not use FIR in Dokka directly, since it is too low-level for analysis. The Kotlin compiler provides high-level Analysis API for this case. The API is used by KSP too. Analysis API represent elements of FIR (declarations, parameters and so on) as Symbols. For more details see KtSymbolByFirBuilder, KtSymbol.
For Dokka symbol is the replacement of descriptor in K2.
Also, to set up the environment of project analysis in K1 we use idea dependencies (or copy-past from there). In K2 for these aims, there is a Standalone mode for Analysis API.
|
|
|
|
|
|
|
|
|
|
make `kotlinSampleProviderFactory` public (#3110)
* Remove `DefaultSamplesTransformer` from `analysis-kotlin-descriptors`
* Make `CompilerDescriptorAnalysisPlugin.kotlinSampleProviderFactory` public
|
|
SelfRepresentingSingletonSet (#3105)
* Deprecate internal API SelfRepresentingSingletonSet for removal as being harmful and unimplement it in DisplaySourceSet
* Provide no automatic migration for DisplaySourceSet, as there are no mechanisms for that. Manual migration is the replacement of 'dss' to `setOf(dss)` where applicable
* Introduce a convenience-member DefaultRenderer.buildContentNode to avoid wrapping DSS into set manually
* Document DisplaySourceSet
* Replace Iterable<DisplaySourceSet>.sourceSetIDs with more straightforward Iterable<DisplaySourceSet>.computeSourceSetIds(), refactor all the usages, save some allocations
* Start caching CompositeSourceSetID properties to avoid excessive allocations
* Update integration tests on the latest revision with Knit version where the workaround is applied
Fixes #2897
|
|
|
|
Addresses #3068
|
|
Otherwise, our integration tests try to resolve these repositories on failures
|
|
|
|
|
|
|
|
* Opt into foreign API for CPointed
* Stop using the deprecated JS backend
|
|
|
|
|
|
|
|
|
|
|
|
* Update Kotlin Gradle Plugin to 1.9.0
* Update Android Gradle Plugin to 4.2.2
* Introduce convention plugin for Gradle runner
https://github.com/gradle/gradle/issues/8301
* Fix unit test `common, jvm and macos source sets with kotlin multiplatform`
* Update compiler to 1.9.0
* Update integration test
* Add empty target for WASM integration test to avoid single target project
See https://github.com/Kotlin/dokka/issues/3038
* Remove unused `plugins.shadow` from toml
|
|
The check was likely added because bintray did not perform any checks of its own, but Maven Central should check for that before the staging repository is closed and all the artifacts are published, so it's not needed locally
|
|
|
|
|
|
* Get rif of IDE plugin dependencies
Everything in this commit has been copy-pasted from IDE plugin and marked as internal
|
|
|
|
|
|
Fixes #2999
Helps preserve order of Set elements.
Co-authored-by: 박은우/게임플랫폼클라팀/NE <eunwoo.park@nhn.com>
|
|
|
|
Fixes #3040
|
|
|
|
* HTML: fix of redundant dot and related autotest (#2289)
* Update plugins/base/src/test/kotlin/renderers/html/SearchbarDataInstallerTest.kt
Change after the PR #3057 review
Co-authored-by: Ignat Beresnev <ignat.beresnev@jetbrains.com>
* Change after the PR #3057 review
Co-authored-by: Ignat Beresnev <ignat.beresnev@jetbrains.com>
---------
Co-authored-by: Denis Ambatenne <denis.ambatenne@jetbrains.com>
Co-authored-by: Ignat Beresnev <ignat.beresnev@jetbrains.com>
|
|
* Extract analysis into separate modules
|