aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/transformers
AgeCommit message (Collapse)Author
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-10-27Implement analysis test API (#3184)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-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-02Fix Kotlin Analysis API package name (#3100)Ignat Beresnev
2023-07-05Decompose Kotlin/Java analysis (#3034)Ignat Beresnev
* Extract analysis into separate modules
2023-07-03Enhance typealias presentation (#3053)Vadim Mishenev
2023-05-17Update KGP to 1.8.20 (#2989)Vadim Mishenev
* Update KGP to 1.8.20 * Update AGP to be compatible with KGP * Replace `AndroidSourceSet` * Dump API * Update integration tests * Update GH actions tests * Refactor Gradle Runner * Fix `TYPE_MISMATCH_WARNING_FOR_INCORRECT_CAPTURE_APPROXIMATION` * Suppress source sets without compilations Dokka suppresses source sets that do no have compilation since such configuration is invalid, it reports a warning or an error * Introduce `dependsOn` for a new `com.android.build.api.dsl.AndroidSourceSet` * API dump * Add comment * Suppress remaining `TYPE_MISMATCH_WARNING_FOR_INCORRECT_CAPTURE_APPROXIMATION` * Add comment --------- Co-authored-by: Ignat Beresnev <ignat.beresnev@jetbrains.com>
2023-04-25Tidy/remove unnecessary imports and suppressions (#2975)aSemy
2023-02-13Set default SinceKotlin version for Wasm platformIlya Gorbunov
2023-02-07Set default SinceKotlin version for Common to 1.0Ilya Gorbunov
Avoids the confusion when original 1.0 declarations can be thought of having since kotlin version 1.2 because their common documentation is shown on the first tab. Common declaration are removed from documentation versions < 1.2 with a different approach - by not configuring a common source set.
2023-01-23Dispose `AnalysisEnvironment` (#2755)Vadim Mishenev
2022-12-16Display `SinceKotlin` everywhere (#2708)Vadim Mishenev
* Introduce `extraOptions` * Make 'SinceKotlin' option * Display 'SinceKotlin' everywhere * Dump API * Fix CLI bug * Show custom tags in property brief * Show custom tags in extension brief * Show `SinceKotlin` for TypeAlias * Fix `stdlib.diff` * Add a test * Display doc for actual typealias * Propagate SinceKotlin * Refactor * Refactor in `SinceKotlinTransformer` * Revert "Introduce `extraOptions`" This reverts commit b83fdf5da31a97e2ae037f46a735d34a2f84d2ec. * Revert "Make 'SinceKotlin' option" This reverts commit 69f4641d1776f3a4bcd361919212c2de7fa2364e. * Introduce `dokka.SinceKotlin` system property instead of extra arg * Fix API * Fix tests * Rename * Spread on extensions * Put doc and rename prop
2022-11-26Fix OOME: Metaspace (#2678)Vadim Mishenev
* Fix OOME: Metaspace * Add stress test * Run sample analysis from `Dispatchers.Default`
2022-10-26Fix source link to the line with name (#2724)Vadim Mishenev
2022-09-26Fix source links in case of dri clashing (#2676)Vadim Mishenev
2022-09-12Open `processFunction` function (#2655)Ignat Beresnev
Fixes #2654
2022-09-02Underline `@param` tag key for more consistency (#2643)Ignat Beresnev
* Underline `@param` tag key for more consistency * Correct keyValue table column ratio
2022-08-29Display inherited extensions (#2625)Vadim Mishenev
2022-08-18Add deprecation details block (#2622)Ignat Beresnev
2022-08-10Support Var html tag for Javadoc (#2617)Andrey Tyrin
Fixes #2358
2022-08-05Add a distinct divider between function/property overloads (#2585)Ignat Beresnev
2022-08-03Apply the same style to all KDoc tags, including throws/see/parameters (#2587)Ignat Beresnev
2022-07-29Move source links into signature (#2476)Vadim Mishenev
2022-06-30Do not generate source links for synthetic elements (#2547)Ignat Beresnev
Fixes #2544
2022-06-08Support definitely non-nullable types (#2520)Vadim Mishenev
* Support definitely non-nullable types [Definitely non-nullable types](https://github.com/Kotlin/KEEP/blob/c72601cf35c1e95a541bb4b230edb474a6d1d1a8/proposals/definitely-non-nullable-types.md) are enabled since Kotlin 1.7
2022-05-31Bump Kotlin to 1.7.0-RC (#2508)Vadim Mishenev
* `UnresolvedType` is replaced with `ErrorType` in https://github.com/JetBrains/kotlin/commit/b5933c70e20a0dfd788d8d4a6c04ca0d16f7c731 * Support `sig` files in https://github.com/JetBrains/kotlin/commit/22b368849338cae684601c9b1ead31ebb1fd81cf * `org.jetbrains.kotlin.idea.kdoc.resolveKDocSampleLink` is removed in https://github.com/JetBrains/intellij-community/commit/e4af6f96c8d4e2318d04eddf658a4c4e8c60b2e6 * `org.jetbrains.kotlin.idea.refactoring.fqName.getKotlinFqName` is deprecated * `org.codehaus.plexus.archiver.AbstractArchiver.addDirectory` is deprecated https://codehaus-plexus.github.io/plexus-archiver/apidocs/org/codehaus/plexus/archiver/Archiver.html#addDirectory-java.io.File-java.lang.String:A-java.lang.String:A- * Make `clean` independent from `setupMaven` * Set up JDK classpath roots explicitly because of https://github.com/JetBrains/kotlin/commit/f89765eb33dd95c8de33a919cca83651b326b246 * Add JPS model and faxml dependencies * Fix test * Exclude compiler from buildscript in integration test * Exclude `com.intellij` package from compiler * Update kotlin version in integration tests
2022-05-13Render quotes as blockquotes instead of code blocks. (#2496)TheOnlyTails
2022-05-06Skip `@Deprecated` documentables with HIDDEN level (#2486)Ignat Beresnev
2022-04-29Enable warnings as errors and fix all warnings (#2451)Ignat Beresnev
* Enable warnings as errors and fix all warnings * Enable skip-metadata-version-check compiler setting
2022-04-26Fix reversed ordering of enum entries (#2469)Ignat Beresnev
* Fix reversed ordering of enum entries Fixes #2466 * Add navigation sideMenu unit tests * Make enum entries in tests non alphabetical
2022-02-21Add option to merge implicit expect-actual declarations (#2316)Vadim Mishenev
* Add option to merge implicit expect-actual declarations * Merge entries, constructors * Fix StdLib integration test * Add doc
2022-02-21Code cleanups (#2165)Goooler
2022-02-17Custom doctag extension (#2343)Ignat Beresnev
* Add an extension point for rendering custom doc tags * Iterate over documentable sourcesets when building custom tags * Extract a nested custom tags brief block into a separate method * Filter out tag content providers and make since kotlin brief a one-liner * Add padding to "Since Kotlin" block in brief description
2022-02-15Convert interfaces to functional (#2360)Goooler
2022-02-09Add KotlinWebSite plugin to transform samples (#2349)Vadim Mishenev
2021-12-23Introduce documentedVisibilities setting (#2270)Ignat Beresnev
* Introduce `documentedVisibilities` setting * Remove hardcoded doc generation for Visibility.PUBLIC, correct tests * Add maven, gradle and cli integration tests for documentedVisibilities * Fix maven plugin configuration overriding the default value * Remove test debug prints * Correct an inconsistency with default values and leave a comment of intentions * Add a test for visibility of private setter
2021-12-23Allow filtering of property setter (#2220)Vadim Mishenev
* Allow filtering of property setter * Improve code style
2021-12-17Use sourceRoots as samples dirs by default (#2216)Vadim Mishenev
2021-12-07Support deeply nested description terms and detailsIgnat Beresnev
2021-12-06Description list support for JavaDocs (#2213)Ignat Beresnev
2021-10-29Allow package-level suppression (#2209)owengray-google
2021-10-18Bump Kotlin to 1.6.0-RC (#2189)vmishenev
* Bump Kotlin to 1.6.0-RC * Update Kotlin to 1.6.0-RC in integration tests * Change Dokka Version
2021-09-08Dark mode on samples (#2116)Marcin Aman
* Dark mode on samples * Fix samples script firing even when samples were not defined on current page
2021-08-27Restore language level to 1.4Marcin Aman
2021-08-26Bump compiler to 1.5.30, language level to 1.5Marcin Aman
2021-08-25Merge pull request #2066 from Kotlin/webhelp-like-frontendMarcin Aman
Webhelp like frontend
2021-08-25Manual highlighting webhelp (#2079)vmishenev
* Add manual code highlighting * Fix test * Add kotlinAsJava highlighting * Add runtime highlighting via Prism * Add copy-button for code block * Add tests and refactor * Replace `<br>` for prism.js * Parse trivial default values Co-authored-by: Marcin Aman <marcin.aman@gmail.com>