aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src
AgeCommit message (Collapse)Author
2022-06-09Make `dokka-analysis` dependency compileOnly in base plugin (#2521)Vadim Mishenev
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-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-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-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-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-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
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
2021-12-17Use sourceRoots as samples dirs by default (#2216)Vadim Mishenev
2021-12-14Merge pull request #2259 from Kotlin/2213-description-list-supportIgnat Beresnev
Description list support for JavaDocs (#2213)
2021-12-09Make breakable text into See also block (#2267)Vadim Mishenev
2021-12-07Remove duplicated rendering of top level description tagsIgnat Beresnev
2021-12-07Support deeply nested description terms and detailsIgnat Beresnev