aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-11-10Fix developer docs being redirected to the SNAPSHOT versionIgnatBeresnev
Fixes a mistake introduced in #3174
2023-11-10Remove an unnecessary run configurationIgnatBeresnev
2023-11-10Restructure the project to utilize included builds (#3174)Ignat Beresnev
* Refactor and simplify artifact publishing * Update Gradle to 8.4 * Refactor and simplify convention plugins and build scripts Fixes #3132 --------- Co-authored-by: Adam <897017+aSemy@users.noreply.github.com> Co-authored-by: Oleg Yukhnevich <whyoleg@gmail.com>
2023-11-10Add Gradle integration test for `wasm-js` and `wasm-wasi` targets (#3315)Vadim Mishenev
* Add Gradle integration test for `wasm-js` and `wasm-wasi` targets * Fix review comments * Update versions of dependencies
2023-11-09Add K2 analysis switcher (#3152)Vadim Mishenev
2023-11-07Add the link to GitHub repo to the header if there are source links defined ↵Oleg Yukhnevich
(#3235) * Use URL from base plugin configuration * Add integration test for the multi-module project that the homepage link exists everywhere
2023-11-06Update Kotlin to 1.9.20 (#3319)Vadim Mishenev
* Update compiler and KGP to 1.9.20 * Update integration tests
2023-11-01Update Kotlin compiler and KGP to 1.9.20-RC2 (#3262)Vadim Mishenev
* Update Kotlin compiler to 1.9.20-RC2 The current changes are related to https://github.com/JetBrains/kotlin/commit/d797505f06d640b666829bbfb4b7d7c67f812026 * Update KGP to 1.9.20-RC2 * Replace common stdlib in unit tests * Update Kotlin version in integration tests * Fix `Multiplatform0GradleIntegrationTest` * Turn WasmGradleIntegrationTest off for Kotlin 1.9.20-RC2
2023-10-31Update org.jetbrains.markdown from 0.3.1 to 0.5.2 (#3231)Ignat Beresnev
2023-10-27Implement analysis test API (#3184)Ignat Beresnev
2023-10-27Fix javadoc tests for Java >=12 (#3263)Vadim Mishenev
* Fix the test `handles correct number of elements` * Mute the test `finds correct number of deprecated methods`
2023-10-26[K2] Support kotlin-as-java and javadoc plugins and update version of ↵Vadim Mishenev
Analysis API (#3227) * Implement InheritanceBuilder and for symbols * Enable tests for as-java and javadoc plugins and fix some * Update the version of Analysis API and enable test * Use assert from kotlin.test * Rename `descriptorInheritanceBuilder` * Fix after rebasing * Mute test `two classes from different packages`
2023-10-25[K2] Reorganize project model for MPP (#3236)Vadim Mishenev
* Reorganize project model for MPP We map Dokka's source set directly to a source module of Analysis API inside one Analysis Standalone session. Analysis API session is created in src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/symbols/plugin/KotlinAnalysis.kt (see fun createAnalysisSession) Before the PR, one Dokka's source set corresponded to one Standalone API session with one source module that has source roots from dependent source sets. * Add 'caffeine' dependency from Analysis API * Fix sample provider * Fix tests * Enable tests and update the version of Analysis API. The PR allows the enabling of some tests annotated with OnlyDescriptorsMPP. Also, tests with OnlyDescriptorsMPP that have unresolved common symbols are fixed by the new version of Analysis API.
2023-10-24[K2] Enable Java tests for symbols (#3203)Vadim Mishenev
2023-10-24Opt-in `ExperimentalCoroutinesApi` for `newSingleThreadContext` (#3247)Vadim Mishenev
It was marked experimental in a new version of coroutines https://github.com/Kotlin/kotlinx.coroutines/commit/042720589c6f438f77d84254bd2dceb569f0184, after 5a6fab535b68916a28d922d5d7a294fa432b7d6b
2023-10-24 Make using of the compiler single-thread (#3202)Vadim Mishenev
2023-10-23Update Maven runner's source link example pathIgnat Beresnev
One example was updated in #3046, but there are two similar ones on the page
2023-10-19Contribute Dokkatoo (#3188)Adam
2023-10-18Fix sources not being linked when using Maven (#3046)freya02
2023-10-18Fix active-tab selection for different page contexts (#3212)Oleg Yukhnevich
2023-10-18Bump dependencies without visible API changes (#3204)Ignat Beresnev
2023-10-17Bump korte aka korlibs-template to 4.0.10 (#3205)Ignat Beresnev
2023-10-17Fix docs link for OkHttp (#3213)Subhrajyoti Sen
The documentation for OkHttp has been moved to https://square.github.io/okhttp/5.x/okhttp/okhttp3/ As per https://github.com/square/okhttp/commit/05718b4d87b591820a178b3fb6a4325c83c55d7a, they are currently using HTML for docs and not markdown
2023-10-16Update Dokka's references to 1.9.10 (#3210)Ignat Beresnev
2023-10-16Bump kotlinx.html to 0.9.1 (#3206)Ignat Beresnev
2023-10-12Fix Maven plugin help task (#3036)Adam
Fixes #3035
2023-10-11[K2] Migrate to new standalone API (#3201)Vadim Mishenev
* 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>
2023-10-11Avoid calling analyze on built-ins (#3200)Vadim Mishenev
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)`
2023-10-10[K2] Display enum entry members (#3180)Vadim Mishenev
2023-10-09Prepare for the next development iterationIgnatBeresnev
2023-10-09Use compileDependencyFiles for getting compilation dependencies (#3147)Anton Lakotko
Co-authored-by: vmishenev <vad-mishenev@yandex.ru>
2023-10-05Register Kotlin stdlib classpath in every unit test (#3183)Vadim Mishenev
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.
2023-09-05Fix compilation errors due to explicit api mode (#3162)Ignat Beresnev
#3143 wasn't based on latest master, so the checks were green, but then the compilation failed due to explicit API mode
2023-09-05Fix reemerged compiler concurrency issues (#3143)Vadim Mishenev
#3034 broke the fix for #1599 by changing packages
2023-09-05fix(KTL-1177): Resize Observer has indefinite loop (#3116)Konstantin Chernenko
* fix(KTL-1177): Resize Observer has indefinite loop
2023-09-04[K2] Fix functional type and improve logging for unresolved link (#3157)Vadim Mishenev
* [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
2023-09-04Update Kotlin to 1.9.10 (#3158)Vadim Mishenev
2023-09-01Allow manual deployment of the developer guides (#3155)Ignat Beresnev
2023-09-01Update user documentation to account for 1.9.0 changes (#3077)Ignat Beresnev
2023-09-01Update Dokka's references to 1.9.0 (#3154)Ignat Beresnev
2023-08-31Enable explicit API mode (#3139)Ignat Beresnev
2023-08-31Update copyright (#3149)Ignat Beresnev
* Add the default copyright profile and enable IDEA project settings * Add the license notice file
2023-08-30Migrate to JUnit 5 and unify used test API (#3138)Ignat Beresnev
2023-08-28 Support Dokka K2 analysis (#3094)Vadim Mishenev
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.
2023-08-25Mark tasks as not compatible with the Gradle configuration cache (#3070)Benoit Lubek
2023-08-24Add Gradle to Dokka users (#3119)Adam
2023-08-21Introduce configuration for K1 analysis plugin (#3126)Vadim Mishenev
2023-08-16Fix cast to `ClassDescriptor` error (#3118)Vadim Mishenev
2023-08-16Remove `DefaultSamplesTransformer` from `analysis-kotlin-descriptors` and ↵Vadim Mishenev
make `kotlinSampleProviderFactory` public (#3110) * Remove `DefaultSamplesTransformer` from `analysis-kotlin-descriptors` * Make `CompilerDescriptorAnalysisPlugin.kotlinSampleProviderFactory` public
2023-08-14Refactor and document DisplaySourceSet, deprecate ↵Vsevolod Tolstopyatov
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