Skip to content

Commit b13e24f

Browse files
authored
Merge branch 'master' into patch-2
2 parents a382a69 + 50c5bf8 commit b13e24f

File tree

357 files changed

+10605
-5713
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

357 files changed

+10605
-5713
lines changed

.teamcity/BuildParams.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
object BuildParams {
22
const val DOKKA_TEMPLATES_VERSION = "1.9.10"
33

4-
const val KOTLINX_COROUTINES_RELEASE_TAG = "1.9.0-RC"
5-
const val KOTLINX_SERIALIZATION_RELEASE_TAG = "v1.7.2"
6-
const val KOTLINX_DATETIME_RELEASE_TAG = "v0.6.0"
7-
const val KOTLINX_IO_RELEASE_TAG = "0.5.2"
4+
const val KOTLINX_COROUTINES_RELEASE_TAG = "1.9.0"
5+
const val KOTLINX_SERIALIZATION_RELEASE_TAG = "v1.7.3"
6+
const val KOTLINX_DATETIME_RELEASE_TAG = "v0.6.1"
7+
const val KOTLINX_IO_RELEASE_TAG = "0.5.4"
88
const val KOTLIN_RELEASE_TAG = "v2.0.20"
99

1010
const val SEARCH_APP_ID = "7961PKYRXV"

.teamcity/builds/apiReferences/kotlinx/io/KotlinxIOBuildApiReference.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ object KotlinxIOBuildApiReference : BuildType({
1717
artifactRules = "build/dokka/htmlMultiModule/** => pages.zip"
1818

1919
params {
20-
param("release.tag", KOTLINX_IO_RELEASE_TAG)
20+
param("release.tag", KOTLINX_IO_RELEASE_TAG.removePrefix("v"))
2121
}
2222

2323
vcs {

.teamcity/builds/apiReferences/vcsRoots/KotlinxIO.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import jetbrains.buildServer.configs.kotlin.vcs.GitVcsRoot
66
object KotlinxIO : GitVcsRoot({
77
name = "kotlinx-io vcs root"
88
url = "[email protected]:Kotlin/kotlinx-io.git"
9-
branch = "refs/heads/ktl-1576-kotlinlang-api-ref"
9+
branch = "refs/tags/$KOTLINX_IO_RELEASE_TAG"
1010
branchSpec = """
1111
+:refs/heads/(*)
1212
+:refs/tags/(*)

.teamcity/builds/kotlinlang/buidTypes/BuildReferenceDocs.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ import jetbrains.buildServer.configs.kotlin.BuildType
55
import jetbrains.buildServer.configs.kotlin.*
66
import jetbrains.buildServer.configs.kotlin.buildSteps.ScriptBuildStep
77
import jetbrains.buildServer.configs.kotlin.buildSteps.script
8+
import java.io.File
9+
import java.nio.file.Paths
10+
11+
private fun readScript(name: String): String {
12+
val file = File(Paths.get("scripts/$name.mjs").toAbsolutePath().toString())
13+
return file.readText()
14+
}
815

916
object BuildReferenceDocs : BuildType({
1017
name = "Reference Docs"

.teamcity/builds/kotlinlang/templates/DockerImageBuilder.kt

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,9 @@ object DockerImageBuilder : Template({
3434
onDependencyCancel = FailureAction.CANCEL
3535
}
3636

37-
dependency(BuildKotlinGrammar) {
38-
snapshot {
39-
onDependencyFailure = FailureAction.FAIL_TO_START
40-
onDependencyCancel = FailureAction.CANCEL
41-
}
42-
43-
artifacts {
44-
artifactRules = "grammar.xml"
45-
}
37+
artifacts(BuildKotlinGrammar) {
38+
buildRule = lastPinned("+:*")
39+
artifactRules = "grammar.xml"
4640
}
4741
}
4842
})

blocks/main/foundation-preview/foundation-preview.module.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,23 +83,22 @@
8383
}
8484
}
8585

86-
@media (--ktl-ds) {
86+
@media (--ktl-tl-min) {
8787
.foundationPreviewImage {
8888
right: -48px;
8989
top: -6px;
9090
}
9191

9292
.companies {
9393
flex-wrap: wrap;
94+
align-items: center;
9495
gap: 8px;
96+
max-width: 684px;
9597
}
9698

9799
.companyLogo {
98100
margin-right: 10px;
99-
}
100-
101-
.companyLogo:nth-child(2) {
102-
margin-right: 50%;
101+
display: flex;
103102
}
104103

105104
.buttonWrap {
@@ -160,4 +159,4 @@
160159
@media (--ktl-tl) {
161160
text-transform: none;
162161
}
163-
}
162+
}

blocks/main/hero/hero.module.css

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,15 @@
44
background: #19191C;
55
padding: 48px 0;
66
overflow: hidden;
7-
8-
@media (--ktl-ts-min) {
9-
padding: 72px 0;
10-
}
11-
12-
@media (--ktl-ds-min) {
13-
padding: 96px 0;
14-
}
15-
16-
}
17-
18-
.heroSection[data-optimizely-id='hero-ab'] {
197
text-align: center;
208
@media (--ktl-ts-min) {
9+
padding: 72px 0;
2110
.content {
2211
margin-left: 38px;
2312
}
2413
}
2514
@media (--ktl-ds-min) {
15+
padding: 96px 0;
2616
.content {
2717
margin-left: 90px;
2818
}
@@ -53,10 +43,8 @@
5343
.developerLogo {
5444
margin: 0;
5545
}
46+
5647
.developerCaption {
57-
display: none;
58-
}
59-
.developerCaptionAb {
6048
display: block;
6149
margin-right: 8px;
6250
}
@@ -275,15 +263,6 @@
275263
}
276264
}
277265

278-
.developerCaption {
279-
white-space: nowrap;
280-
margin-left: 38px;
281-
}
282-
283-
.developerCaptionAb {
284-
display: none;
285-
}
286-
287266
.getStartedButton {
288267
background: #7F52FF !important;
289268

blocks/main/hero/hero.tsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,25 +41,14 @@ export const HeroSection: FC<Props> = ({ children, title }) => {
4141
</Button>
4242
<div className={styles.developer}>
4343
<div className={styles.developerContent}>
44-
<div className={cn(darkTextCn('rs-text-2', { hardness: 'hard' }), styles.developerCaptionAb)}>Developed by</div>
44+
<div className={cn(darkTextCn('rs-text-2', { hardness: 'hard' }), styles.developerCaption)}>Developed by</div>
4545
<a
4646
href="https://www.jetbrains.com/"
4747
target={'_blank'}
4848
rel={'noreferrer noopener'}
4949
>
5050
<img src={JBLogo.src} alt="jetbrains logo" className={styles.developerLogo} />{' '}
5151
</a>
52-
<div className={cn(darkTextCn('rs-text-3', { hardness: 'hard' }), styles.developerCaption)}>
53-
Kotlin, developed by&nbsp;
54-
<a
55-
href="https://www.jetbrains.com/"
56-
className={darkTextCn('rs-link', { hardness: 'hard' })}
57-
target={'_blank'}
58-
rel={'noreferrer noopener'}
59-
>
60-
JetBrains
61-
</a>.
62-
</div>
6352
</div>
6453
</div>
6554
</div>

data/events.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
title: 'Ko-Hacks'
88
subject: 'Mutabilidade: Necessidade ou Hábito?'
99
url: https://www.meetup.com/pt-BR/kotlin-lisboa/events/301917980/
10+
- lang: fr
11+
startDate: '2024-10-22'
12+
endDate: '2024-10-22'
13+
location: Bordeaux, France
14+
speaker: Salomon Brys
15+
title: 'Bordeaux Kotlin User Group'
16+
subject: 'Compose Multiplatform: State of the art, use-cases and limits'
17+
url: https://www.eventbrite.fr/e/billets-compose-multiplatform-etat-de-lart-cas-dusages-et-limites-1018664130837
1018
- lang: en
1119
startDate: '2024-09-21'
1220
endDate: '2024-09-21'

data/releases.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
url: https://github.com/JetBrains/kotlin/releases
22

33
latest:
4-
version: 2.0.20
5-
url: https://github.com/JetBrains/kotlin/releases/tag/v2.0.20
4+
version: 2.0.21
5+
url: https://github.com/JetBrains/kotlin/releases/tag/v2.0.21

0 commit comments

Comments
 (0)