aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test
AgeCommit message (Collapse)Author
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-08Fix and refactor Sample Transformer (#3102)Vadim Mishenev
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-21Add tests for parsing data objects (#3076)Ignat Beresnev
2023-07-17Hardcode documentation for the synthetic Enum.entries property (#3071)Ignat Beresnev
2023-07-07Do not leak unknown asset paths into HTML (#3061)Ignat Beresnev
Fixes #3040
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-01Multi-param Java methods should not qualify for a setter (#3002)Ignat Beresnev
2023-05-31Fix missing tab entries for module names with space (#3019)Ignat Beresnev
2023-04-25Replace invalid documentation links (#2973)Lukas Knoch-Girstmair
2023-04-07Move the `Properties` block to be above `Functions` (#2908)Ignat Beresnev
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-03Do no render Types tab when there are no types (#2900)Vadim Mishenev
2023-02-28Fix unresolved link to declaration from another source set (#2878)Vadim Mishenev
2023-02-24Mark Plugin Api as experimental (#2743)Vadim Mishenev
2023-02-24Reorganize tabs for Classlike (#2764)Vadim Mishenev
2023-02-20Change default logging level of console apps (#2871)Ignat Beresnev
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-13Set default SinceKotlin version for Wasm platformIlya Gorbunov
2023-02-10Sort divergent elements deterministically (#2846)Ignat Beresnev
Fixes #2784
2023-02-09Remove old test data (#2824)Ignat Beresnev
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-31fill packageName and classNames for constructors from parent (#2837)Andrey Tyrin
2023-01-23Dispose `AnalysisEnvironment` (#2755)Vadim Mishenev
2023-01-19Add module and package documentation content (#2819)Sarah Haggarty
Co-authored-by: Sarah Haggarty <sarahhaggarty@users.noreply.github.com>
2023-01-12Default Java constructor (#2795)Andrey Tyrin
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-12-15Bump Jsoup to avoid CVE-2022-36033 (#2772)Ignat Beresnev
Fixes #2754
2022-10-31Add constructor keyword (#2691)Andrey Tyrin
2022-10-26Fix source link to the line with name (#2724)Vadim Mishenev
2022-10-21Fix inheriting docs in case of diamond inheritance (#2686)Vadim Mishenev
2022-10-20Do not render default value for var properties (#2717)Ignat Beresnev
2022-10-13Ignore BuiltIns for StdLib (#2658)Vadim Mishenev
2022-09-27Fix some extra indentation in code block that is inside list (#2233)Vadim Mishenev
2022-09-26Add documentation for synthetic Enum `values()` and `valueOf()` functions ↵Ignat Beresnev
(#2650)
2022-09-26Trim four spaces inside indented code block (#2661)Vadim Mishenev
* Trim four spaces inside indented code block * Fix test
2022-09-21Wrap long signatures dynamically based on client width (#2659)Ignat Beresnev
2022-09-20Update `prism.js` to match new webhelp highlight colors (#2670)Ignat Beresnev
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-30Fix missing space between Markdown elements (#2640)Vadim Mishenev
2022-08-30Handle `PsiImmediateClassType` as `PsiClassType` to resolve bounds (#2647)Ignat Beresnev
Fixes #2646
2022-08-29Display inherited extensions (#2625)Vadim Mishenev
2022-08-26Do not render constructor pages and blocks and for annotation classes (#2642)Ignat Beresnev
2022-08-24Support privateToThis visibility (#2639)Vadim Mishenev