aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
AgeCommit message (Collapse)Author
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-13Render quotes as blockquotes instead of code blocks. (#2496)TheOnlyTails
2022-05-06Skip `@Deprecated` documentables with HIDDEN level (#2486)Ignat Beresnev
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-29Fix arg name inside functional type (#2478)Vadim Mishenev
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-27Fix empty parentheses for no-arg enum entry (#2470)Ignat Beresnev
* Fix empty parentheses for no-arg enum entry Fixes #2355 * Move parentheses punctuation inside `list` call * Revert formatting * Correct expected ordering of enum entries in tests
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-04-21Bump async from 2.6.3 to 2.6.4 in /plugins/base/frontend (#2442)dependabot[bot]
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19Update Jsoup to 1.14.3 (#2448)Ignat Beresnev
* Update Jsoup to 1.14.3 * Fix Jsoup API breaking changes after the update * Fix new Qodana inspections * Replace IllegalStateException with more appropriate NoSuchElementException
2022-04-15Decompose `base.ftl` template (#2432)Vadim Mishenev
2022-04-11Fix using `@` symbol inside code block (#2418)Vadim Mishenev
2022-04-11Bump com.github.node-gradle.node from 3.1.1 to 3.2.1 (#2425)dependabot[bot]
Bumps com.github.node-gradle.node from 3.1.1 to 3.2.1. --- updated-dependencies: - dependency-name: com.github.node-gradle.node dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11Bump minimist from 1.2.5 to 1.2.6 in /plugins/base/frontend (#2402)dependabot[bot]
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-09Bump node-forge from 1.2.1 to 1.3.0 in /plugins/base/frontend (#2399)dependabot[bot]
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.0. - [Release notes](https://github.com/digitalbazaar/forge/releases) - [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md) - [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0) --- updated-dependencies: - dependency-name: node-forge dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-08Rework AnnotationTarget to be stricter (#2414)owengray-google
2022-03-30Fix type parameter annotation regression (#2388) (#2410)Ignat Beresnev
2022-03-28Bug resolving in ultralightmethod (#2400)Vadim Mishenev
2022-03-15Bump follow-redirects from 1.14.7 to 1.14.8 in /plugins/base/frontend (#2363)dependabot[bot]
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15Fix rendering issues (#2389)Vadim Mishenev
2022-03-10KT-50452 Make flexible html for customization (#2374)Vadim Mishenev
2022-02-24Update Kotlin to 1.6.20-M1 (#2375)Ignat Beresnev
2022-02-22Fix HTML head and favicon in multi-module projects (#2365)Vadim Mishenev
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
2022-02-15Convert interfaces to functional (#2360)Goooler
2022-02-14Shutdown coroutines dispatchers after each module pass (#2325)Ignat Beresnev
* Update kotlinx.coroutines to 1.6.0 * Shutdown common coroutines dispatchers after each module pass * Don't finalize coroutines in unit tests Co-authored-by: Mikhail Zarechenskiy <mikhail.zarechenskiy@jetbrains.com>
2022-02-09Add KotlinWebSite plugin to transform samples (#2349)Vadim Mishenev
2022-02-08Add support for header tags in Javadoc (#2345)Andrea Falcone
2022-01-27Bump follow-redirects from 1.14.5 to 1.14.7 in /plugins/base/frontend (#2333)dependabot[bot]
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.5 to 1.14.7. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.7) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-27Bump nanoid from 3.1.30 to 3.2.0 in /plugins/base/frontend (#2332)dependabot[bot]
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0) --- updated-dependencies: - dependency-name: nanoid dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-27Update node-forge npm package (CVE-2022-0122) and assertk-jvm (#2334)Ignat Beresnev
2022-01-27Enhance generated primary constructor signature for html format (#2313)Ignat Beresnev
Fixes #1880
2022-01-27Collect annotations from package-info.java (#2331)Ember Rose
Fix: #2330
2022-01-27KT-50292 - Implement vertical alignment of parameters (#2309)Ignat Beresnev
* Implement vertical alignment (wrapping) of parameters for kt * Add tests for params wrapping and extend matchers to check for classes * Add distinguishable parameters block to kotlinAsJava, extract common logic * Create a separate Kind for symbol function parameters
2022-01-27Fix resolving DRIs of Enum Entries (#2305)Andrzej Ratajczak
* Fix resolving DRIs of Enum Entries * Unify DRIs for Kotlin and Java enums. Add EnumEntry linking tests * Updates EnumEntry extras in documentable translators * Fix tests * Apply requested changes * Apply requested changes
2022-01-18Close input stream in `FileWriter` (#2312)Vadim Mishenev
2022-01-18Add external documentable provider (#2307)Paweł Marks
* Add external documentable provider * Update the api spec of base plugin * Hide mistakenly exposed fields * Add comments and fix naming
2022-01-12Add global settings to JSON dokka cli input (#2292)Andrzej Ratajczak
* Add global settings to JSON dokka cli input * Apply requested changes * Move initialization of global arguments to extension function in core module
2021-12-27Add a level of indentation to childless items in navigation tree (#2291)Ignat Beresnev
2021-12-23Remove filtering out primary constructors from constructors tab (#2277)Andrzej Ratajczak
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-23Add horizontal margin to breadcrumbs delimiter (KT-50296) (#2285)Ignat Beresnev
2021-12-22Fix css bugs wih link and table row (#2284)Vadim Mishenev
* Remove extra top margin in paragraph * Remove margin-bottom from platform-hinted * Fix link underlining in table and anchor icon * Make breakable names of constructors * Add test for breakable name of constructor