aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2023-08-08Fix and refactor Sample Transformer (#3102)Vadim Mishenev
2023-08-08Add a workaround for native dependency metadata resolution (#3081)Oleg Yukhnevich
Addresses #3068
2023-08-07Get rid of bintray and jcenter mentions in our buildscript (#3109)Vsevolod Tolstopyatov
Otherwise, our integration tests try to resolve these repositories on failures
2023-08-04Update Developer Guides (#3088)Ignat Beresnev
2023-08-04Make the compatibility metadata variant check more specific (#3103)Ignat Beresnev
2023-08-04Reintroduce removed analysis APIs with a deprecation message (#3104)Ignat Beresnev
2023-08-04Update examples and tests to use Kotlin 1.9.0 (#3101)Ignat Beresnev
* Opt into foreign API for CPointed * Stop using the deprecated JS backend
2023-08-04Add scroll to tables viewed from mobile devices (#3082)Konstantin Chernenko
2023-08-04Fix handling of Java contravariance (#3092)Julia McClellan
2023-08-02Fix Kotlin Analysis API package name (#3100)Ignat Beresnev
2023-07-26Fix some tests to be compatible with K2 (#3086)Vadim Mishenev
2023-07-24Introduce system property to ignore common builtIns for stdlibvmishenev
2023-07-21Update Kotlin to 1.9.0 (#3074)Vadim Mishenev
* 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
2023-07-21Remove "project dependencies are published" check (#3078)Ignat Beresnev
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
2023-07-21Add tests for parsing data objects (#3076)Ignat Beresnev
2023-07-18Update Kotlin compiler to 1.8.20 (#3062)Vadim Mishenev
2023-07-17Get rif of IDE plugin dependencies (#3073)Vadim Mishenev
* Get rif of IDE plugin dependencies Everything in this commit has been copy-pasted from IDE plugin and marked as internal
2023-07-17Prepare for the next development iterationIgnatBeresnev
2023-07-17Hardcode documentation for the synthetic Enum.entries property (#3071)Ignat Beresnev
2023-07-12Deserialize DokkaConfiguration's Set as LinkedHashSet (#3006)eunwoo-park
Fixes #2999 Helps preserve order of Set elements. Co-authored-by: 박은우/게임플랫폼클라팀/NE <eunwoo.park@nhn.com>
2023-07-12Set the correct testLauncher property in workflows (#3064)Ignat Beresnev
2023-07-07Do not leak unknown asset paths into HTML (#3061)Ignat Beresnev
Fixes #3040
2023-07-07Remove a copy-pasted function (#3060)Ignat Beresnev
2023-07-06HTML: fix of redundant dot and related autotest (#2289) (#3057)Denis Ambatenne
* 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>
2023-07-05Decompose Kotlin/Java analysis (#3034)Ignat Beresnev
* Extract analysis into separate modules
2023-07-03Enhance typealias presentation (#3053)Vadim Mishenev
2023-06-30Generate dedicated pages for typealiases (#3051)Vadim Mishenev
2023-06-07Fix publishing to Gradle Plugin Portal (#3031)Ignat Beresnev
2023-06-06Update Dokka's references to 1.8.20 (#3028)Ignat Beresnev
2023-06-01Multi-param Java methods should not qualify for a setter (#3002)Ignat Beresnev
2023-06-01Update Dokka to 1.8.10IgnatBeresnev
2023-05-31Fix missing tab entries for module names with space (#3019)Ignat Beresnev
2023-05-31Add support for `@author`, `@since`, `@return` Javadoc tags (#2967)irina-turova
2023-05-30Incorrectly handles a click on a method and other elements in the mobile ↵Konstantin Chernenko
version (#3021)
2023-05-30KTL-982; redundant spacing for tabs (#3018)Konstantin Chernenko