aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/translators
AgeCommit message (Collapse)Author
2023-03-21Improve JavadocParser and fix case-sensitivity (#2905)Vsevolod Tolstopyatov
* Get rid of safeEnumValueOf that was an unnecessary public API burden and constantly allocating * Restructure JavadocParser.parseDocTag, so it has one lever of nesting less * Make tag parsing case-sensitive Fixes #2907
2023-03-08Improve performance of 'parseWithNormalisedSpaces' that is unconditionally ↵Vsevolod Tolstopyatov
invoked for each HTML text element (#2730) Addresses #2729
2023-02-24Reorganize tabs for Classlike (#2764)Vadim Mishenev
2023-02-17Consistent alphabetical order of element groups in index and navigation (#2861)ilya-g
* Sort groups of divergent elements by their key first ignoring case, then preserving it * Add tests for sorting groups and navigation
2023-02-10Sort divergent elements deterministically (#2846)Ignat Beresnev
Fixes #2784
2023-02-10Update Kotlin to 1.8.10 (#2797)Ignat Beresnev
2023-01-31fill packageName and classNames for constructors from parent (#2837)Andrey Tyrin
2023-01-12Default Java constructor (#2795)Andrey Tyrin
2023-01-09Deduplicate extensions (#2780)Vadim Mishenev
2023-01-09Move inheritors, params, see also and samples tabs to description for ↵Andrey Tyrin
classlikes (#2749)
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-10-31Add constructor keyword (#2691)Andrey Tyrin
2022-10-21Fix inheriting docs in case of diamond inheritance (#2686)Vadim Mishenev
2022-09-26Add documentation for synthetic Enum `values()` and `valueOf()` functions ↵Ignat Beresnev
(#2650)
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-30Handle `PsiImmediateClassType` as `PsiClassType` to resolve bounds (#2647)Ignat Beresnev
Fixes #2646
2022-08-26Do not render constructor pages and blocks and for annotation classes (#2642)Ignat Beresnev
2022-08-24Support privateToThis visibility (#2639)Vadim Mishenev
2022-08-24Fix incorrect handling of static members used within `@see` tag (#2627)Ignat Beresnev
2022-08-18Add deprecation details block (#2622)Ignat Beresnev
2022-08-18Fix generic types caching (#2619)Vadim Mishenev
2022-08-17Add missing java primitives to annotation constant params parsing (#2610)Ignat Beresnev
2022-08-17Display values of java constants (#2609)Ignat Beresnev
Fixes #2524
2022-08-10Support Var html tag for Javadoc (#2617)Andrey Tyrin
Fixes #2358
2022-08-03Fix parsing of static imports in java annotation params (#2593)Ignat Beresnev
Fixes #2580
2022-08-03Apply the same style to all KDoc tags, including throws/see/parameters (#2587)Ignat Beresnev
2022-07-26Replace package name on cover with "Package-level declarations" (#2586)Ignat Beresnev
* Replace package name on cover with "Package-level declarations"
2022-07-07Improve handling of Java annotation parameters (#2562)Ignat Beresnev
Fixes #2509 Fixes #2551 Fixes #2350
2022-06-30Mark synthetic methods generated for Java enums as obvious (#2554)Ignat Beresnev
Fixes #2548
2022-06-30Add enum synthetic functions to documentable model (#2553)Ignat Beresnev
2022-06-19Fix incorrectly labeling java properties as val/var (#2540)Ignat Beresnev
Fixes #2539
2022-06-19Dont escape text inside gfm code blocks (#2541)Ignat Beresnev
2022-06-17Handle more corner cases for inherited accessors (#2532)Ignat Beresnev
2022-06-16Make long property names breakable (#2537)Ignat Beresnev
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-06-07Bump Kotlin to 1.7.0-RC2 (#2522)Vadim Mishenev
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-31Fix gathering inherited properties (#2481)Ignat Beresnev
* Fix gathering inherited properties in PSI * Refacotr KaJ transformer. Change wrapping TagWrapper for getters and setters. * Add logic to merge inherited properties in kotlin from java sources. * Remove getters and setters from JvmField properties for DObject, DEnum, DInterface in KaJ. * Unify InheritedMember DRI logic. * Fix gathering docs obtained from inheriting java sources in descriptors * Apply requested changes. * Resolve rebase conflicts * Use 221 for qodana analysis * Move accessors generation into DefaultDescriptorToDocumentableTranslator * Fix special "is" case for accessors and refactor logic in general * Remove ambiguous import after rebasing * Remove unused imports and format code * Apply review comment suggestions * Preserve previously lost accessor lookalikes * Extract a variable and correct a typo Co-authored-by: Andrzej Ratajczak <andrzej.ratajczak98@gmail.com>
2022-05-16Don't expose enum constructor arguments to documentations (#2497)ebraminio
* Don't expose enum constructor arguments to documentation Enum constructor arguments is mostly internal detail of enums that isn't supposed to be exposed to clients of some library so let's don't put it in the generated documentations result.
2022-05-04Support code blocks and inline code for GFM format (#2485)Don Cross
Fixes #2477. Inline code, text that is nested within a pair of backquotes, is now converted into GitHub Flavored Markdown (gfm) without stripping out the backquotes. For example: The parameter `sum` must be a non-negative real number. Code blocks, which are any number of lines of literal text between triple-backquotes, and an optional programming language name, are now preserved. If absent, the programming language is assumed to be "kotlin". This follows the behavior of the html renderer. For example: Here is an example of calling the function: ```kotlin val sum = addThemUp(left, right) ```
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-28Make a default value dependent on source set (#2449)Vadim Mishenev
* Make a default value dependent on source set * Get a default value from an expect source set * Fix default value for expect properties * Deprecate `DefaultValue.value` * Add test * Refactor * Reformat
2022-04-08Rework AnnotationTarget to be stricter (#2414)owengray-google
2022-03-30Fix type parameter annotation regression (#2388) (#2410)Ignat Beresnev
2022-02-24Update Kotlin to 1.6.20-M1 (#2375)Ignat Beresnev
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-18Fix java getter / setter name generation (#2356)CharlesG-Branch
Kotlin has special rules for conversion around properties that start with "is" For more info see: https://kotlinlang.org/docs/java-interop.html#getters-and-setters https://kotlinlang.org/docs/java-to-kotlin-interop.html#properties
2022-02-17Refactor Ancestry Graphs (#2326)Andrzej Ratajczak
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