Ilya Gorbunov
5a2d557839
docs: specialize build for latest version
...
- leave only the latest version in versions list
- remove conditions for previous versions
- merge JVM7/8 source sets into JVM
2023-02-22 23:52:43 +00:00
Ilya Gorbunov
ba6732ac17
Render kotlin-reflect library documentation in a separate module
2023-02-22 23:52:42 +00:00
Ilya Gorbunov
d695b0eac4
Setup multi-module docs build task
2023-02-22 23:52:42 +00:00
Ilya Gorbunov
6236a1fe64
Determine snapshot version automatically from root gradle.properties
2023-02-22 23:52:42 +00:00
Ilya Gorbunov
e3cfed8ced
Allow to specify target and templates directory with Gradle properties
2023-02-22 23:52:41 +00:00
Ilya Gorbunov
6d3ddb999f
Migrate to Gradle KTS, step 3: extract more common extension helpers
2023-02-22 23:52:41 +00:00
Ilya Gorbunov
65dbc1c98a
Migrate to Gradle KTS, step 2: fix syntax
2023-02-22 23:52:41 +00:00
Ilya Gorbunov
63eaf3f86f
Migrate to Gradle KTS, step 1: rename
2023-02-22 23:52:40 +00:00
Ilya Gorbunov
ef02b47348
Update Dokka to 1.8.0-dev-195
...
- Build dokka plugins with Kotlin 1.8 (required to compile with Dokka 1.8)
2023-02-22 23:52:40 +00:00
Ilya Gorbunov
e8139043b2
Remove workaround for removing SinceKotlin from enums
...
No longer needed with the modern Dokka
2023-02-22 23:52:40 +00:00
Ilya Gorbunov
95f21075fe
Inline project with kotlin-native path settings
2023-02-22 23:52:40 +00:00
Ilya Gorbunov
2cfbbb185d
Change docs artifacts directory layout for easier publishing
...
Change module names of libraries to be consistent
2023-02-22 23:52:39 +00:00
Ilya Gorbunov
e105d11a2b
Documentation source sets configuration tuning
...
- consistent naming of source sets
- register JDK7/8 docs source sets only since 1.2
- source set dependencies in kotlin-test module
- classpath tuning
- Enumerate classpath jars in library directories:
compiler can't use just directory as a classpath
- No need to pass classpaths for stdlib docs build:
it's analyzed from sources and doesn't have other dependencies
2023-02-22 23:52:39 +00:00
vmishenev
a758e0bae7
Disable ignoreCommonBuiltIns in kotlin.test
2023-02-22 23:52:39 +00:00
Ilya Gorbunov
fbe1aff961
Extract repeating parts of configuration
2023-02-22 23:52:38 +00:00
Ilya Gorbunov
e94ca37bd6
Rectify docs task dependencies
...
Introduce kotlin-test->stdlib doc task dependency due to package-list and fix package-list local path
2023-02-22 23:52:38 +00:00
vmishenev
e94818a1cb
Setup project for docs build with new Dokka
...
- Update Dokka to 1.6.20-M1
- Update Dokka to 1.6.20
- Update Dokka to 1.7.0-dev
- Update Dokka to 1.7.20-dev-187
Co-authored-by: ilya.gorbunov@jetbrains.com
2023-02-22 23:52:38 +00:00
Ilya Gorbunov
9bceb6cd0a
Move/copy legacy docs build to a separate directory
2023-02-22 23:52:37 +00:00
Alexander Udalov
1cb77a47ec
Fir2Ir: extract error about unsupported mutation
2023-02-22 22:40:34 +00:00
Alexander Udalov
22b4b29292
IR: make most properties mutable
2023-02-22 22:40:34 +00:00
Alexander Udalov
d2938e732a
IR: remove IrTypeOperatorCall.typeOperandClassifier
2023-02-22 22:40:34 +00:00
Alexander Udalov
42daeaaa80
IR: remove IrCallableReference.referencedName
...
It was added in 66da676b9e to avoid dependency on descriptors, but now
it doesn't use descriptors anyway, so it's better to inline it than have
it in the interface.
2023-02-22 22:40:33 +00:00
Alexander Udalov
d286409b76
IR: make IrComposite.isTransparentScope an extension
2023-02-22 22:40:33 +00:00
Sergey.Shanshin
63025030e3
[KxSerialization] Fix SERIALIZER_NOT_FOUND diagnostic for enums
...
Fixes #KT-56738
Merge-request: KT-MR-8938
Merged-by: Sergey Shanshin <Sergey.Shanshin@jetbrains.com >
2023-02-22 19:38:18 +00:00
Ilya Goncharov
4ccad00c11
[Gradle, JS] Force enabled js compiler legacy to prevent problems in daemon
2023-02-22 13:56:15 +00:00
Pavel Mikhailovskii
7700484a16
[AA] Fix conversion of annotation values
2023-02-22 13:55:50 +00:00
Yahor Berdnikau
40a4845541
Use KotlinNativeCompilerOptions in KotlinNativeCompile task
...
^KT-53108 Fixed
2023-02-22 13:03:00 +00:00
Yahor Berdnikau
96316a4016
Generate KotlinNativeCompilerOptions Gradle DSL
...
^KT-53108 In Progress
2023-02-22 13:02:59 +00:00
Ilmir Usmanov
68841fa031
Minor. Regenerate tests
2023-02-22 12:45:03 +00:00
Ilmir Usmanov
6be734c27e
JVM: Remove inplace arguments before state-machine building
...
#KT-56258 Fixed
2023-02-22 12:45:03 +00:00
Vladimir Dolzhenko
3e99807436
Add ability to provide specific AbsentDescriptorHandler
...
#EA-457188
Merge-request: KT-MR-8900
Merged-by: Vladimir Dolzhenko <Vladimir.Dolzhenko@jetbrains.com >
2023-02-22 12:44:46 +00:00
Dmitrii Gridin
41278d0797
[SLC] drop redundant AnnotatedPropertyWithSites.fir.java
...
^KT-56842
2023-02-22 12:39:31 +01:00
Ilya Goncharov
258208731b
[Gradle, JS] Disable adding dom-api-compat as default dependencies
2023-02-22 11:00:15 +00:00
Ilya Goncharov
1b7ea022e6
[Gradle, JS] Fix test with not included stdlib dependency with disabled dom-api-compat
2023-02-22 11:00:14 +00:00
Ilya Goncharov
9073a7b6b0
[Gradle, JS] Not add dom-api-compat if stdlib default dependency is disabled
2023-02-22 11:00:14 +00:00
Ilya Goncharov
a391db3127
[Gradle, JS] Fix hierarchical module test
2023-02-22 11:00:14 +00:00
Ilya Goncharov
afda1669d7
[Gradle, JS] Error warning mode
2023-02-22 11:00:13 +00:00
Ilya Goncharov
f510bb77c8
[Gradle, JS] Fix incremental backend test
2023-02-22 11:00:13 +00:00
Ilya Goncharov
d1768029b4
[Gradle, JS] Add test on dom-api-compat
2023-02-22 11:00:13 +00:00
Ilya Goncharov
67346f7913
[Gradle, JS] Revert Gradle integration tests about dom-api-compat
2023-02-22 11:00:12 +00:00
Ilya Goncharov
b9cf47858d
[Gradle, JS] Add module kotlin-dom-compat-api as dependency with opt-out
...
This reverts commit c73b6ac352 .
2023-02-22 11:00:12 +00:00
Ilya Goncharov
b6686d4ecb
[Gradle, JS] Codeowners of kotlin-dom-api-compat
...
This reverts commit 680f644265 .
2023-02-22 11:00:12 +00:00
Ilya Goncharov
229fd73b38
[Gradle, JS] Regenerate API stdlib
...
This reverts commit b4c0cab22a .
2023-02-22 11:00:11 +00:00
Ilya Goncharov
9b4821be28
[Gradle, JS] Add module dom-api-compat
...
This reverts commit ba8cc877fd .
2023-02-22 11:00:11 +00:00
Pavel Mikhailovskii
492a161d2c
KT-56842 [SLC] Don't mark primitive context receiver parameters with @NotNull
2023-02-22 10:15:19 +00:00
Pavel Mikhailovskii
de1927abb6
KT-56835 [SLC] Mark property$delegate fields as final and @NotNull
2023-02-22 09:40:32 +00:00
Ilya Goncharov
6ac562a19d
[Gradle, JS] Remove redundant runtime attribute to compileClasspath in test
2023-02-21 19:35:18 +00:00
Denis.Zharkov
66eb29962a
K2: Add minor clarification comment to FirDeclarationsResolveTransformer
2023-02-21 18:39:40 +00:00
Denis.Zharkov
3f052af517
K2: Propagate explicit getter type to the property without initializer
...
In K1, we have the rules like:
- if there's explicit type of a property, then use it
- if there's an initializer, obtain its expression-type
- Otherwise, use getter's return type
The case when getter's type is implicit is handled at
FirDeclarationsResolveTransformer.transformProperty
^KT-56707 Fixed
2023-02-21 18:39:40 +00:00
Denis.Zharkov
c09607c791
K2: Minor. Reformat and clean up a couple of transformers
...
`@Suppress("UNCHECKED_CAST")` became redundant there
2023-02-21 18:39:40 +00:00