Ilya Gorbunov
e18a124cbb
[stdlib] Import kotlin-test-common sources as a part of native stdlib
2023-11-02 03:12:56 +00:00
Ilya Gorbunov
1ea0c2aa44
[stdlib] Import native sources in IDE
2023-11-02 03:12:56 +00:00
Ilya Gorbunov
bd6607c860
Drop kotlin-stdlib-wasm project
...
Its tasks are no longer used as build entry points
2023-10-20 16:27:30 +00:00
Ilya Gorbunov
892719171b
Disable wasm-wasi stdlib tests execution unless kotlin.stdlib.wasi.tests property is specified
...
Reason: unstable on CI
KT-62694
2023-10-20 16:27:30 +00:00
Ilya Gorbunov
aedc704e77
[stdlib] Further merge js-ir specific sources
2023-10-19 03:11:54 +00:00
Ilya Gorbunov
911fa3bbbb
[stdlib] Merge js-ir specific sources into common js sources
2023-10-19 03:11:54 +00:00
Ilya Gorbunov
f00d4022c4
[stdlib] Use common js sources in js-ir compilation without copying
2023-10-19 03:11:54 +00:00
Ilya Gorbunov
3622ea2e33
[stdlib-gen] Minor refactoring: use enum entries instead of values
2023-10-19 03:11:54 +00:00
Ilya Gorbunov
ff2254db69
[stdlib] Remove generator templates for js legacy
2023-10-19 03:11:53 +00:00
Ilya Gorbunov
1d232c69d6
[stdlib] Move location of generated sources for js-IR compilation
2023-10-19 03:11:53 +00:00
Ilya Gorbunov
5f0a930ea3
[stdlib] Delete js-v1 sources
2023-10-19 03:11:53 +00:00
Ilya Gorbunov
406d1eaf89
YarnAndNpmSuppressor: allowed test task names for wasm tests
2023-10-17 16:30:41 +00:00
Ilya Gorbunov
469ca237db
Remove the previous approach to build wasm stdlib variants
2023-10-17 16:30:41 +00:00
Ilya Gorbunov
d4b245615a
Build wasm stdlib artifacts in kotlin-stdlib project
2023-10-17 16:30:41 +00:00
Ilya Gorbunov
53681a33d9
Add required opt-ins in wasm stdlib sources
2023-10-17 16:30:41 +00:00
Ilya Gorbunov
735a97245d
Remove forgotten ExperimentalStdlibApi in wasm sources
2023-10-17 16:30:41 +00:00
Ilya Gorbunov
db6dfe99a0
Update Dokka to 1.9.10
2023-10-17 15:43:59 +00:00
Ilya Gorbunov
7bdcaff89a
KT-61126 Change test expectations
...
Also improve failure diagnostics in test
2023-10-06 00:46:08 +00:00
Ilya Gorbunov
785d6858ea
KT-62004 Drop legacy JS build of kotlin-stdlib
...
- preserve kotlin-stdlib-js.jar in dist and maven
- change packaging to klib in .pom
- fix manifest attributes of kotlin-stdlib-js
2023-10-06 00:46:08 +00:00
Ilya Gorbunov
6d5b1f84f9
KT-62004 Publish kotlin-dom-api-compat only for JS IR consumers
2023-10-06 00:46:08 +00:00
Ilya Gorbunov
2590e7f48b
KT-62004 Add kotlin-test maven artifacts to BOM integration test
2023-10-06 00:46:08 +00:00
Ilya Gorbunov
eb813b7837
KT-62004 Drop legacy JS build of kotlin-test
2023-10-06 00:46:08 +00:00
Ilya Gorbunov
93b107000a
[stdlib-mpp] Remove stdlib projects no longer included in build
2023-09-20 01:07:59 +00:00
Ilya Gorbunov
222f996d45
[stdlib-mpp] Cleanup kotlin.stdlib.mpp build flag (always true)
2023-09-20 01:07:59 +00:00
Ilya Gorbunov
78ef58f59d
[Generator] Do not use explicit final modifier in Native primitive classes
...
'final' is the default modality, safe to omit
2023-09-04 11:32:39 +00:00
Ilya Gorbunov
8ae21c0e1b
[Generator] Do not omit public visibility of methods in wasm
2023-09-04 11:32:39 +00:00
Ilya Gorbunov
918b935e22
[Generator] Write the body of Boolean.hashCode in one place
2023-09-04 11:32:39 +00:00
Ilya Gorbunov
1c149925b7
[Generator] Always put expression body on a new line
2023-09-04 11:32:39 +00:00
Ilya Gorbunov
68a9b9c312
[Generator] Reference generator class in generated code files
2023-09-04 11:32:39 +00:00
Ilya Gorbunov
74ac48851a
[Generator] Canonical order of modifiers
2023-09-04 11:32:39 +00:00
Ilya Gorbunov
60bbd08569
[Generator] Rename additionalDoc, put its content before annotations
2023-09-04 11:32:39 +00:00
Ilya Gorbunov
516383b995
[Docs] add wasm source sets for wasm-js and wasm-wasi
2023-08-30 11:37:29 +00:00
Ilya Gorbunov
7d3f080c81
Generate JS Long using builtin generators (step 2)
2023-08-29 16:27:55 +00:00
Ilya Gorbunov
814515964d
Move JS Long to generated Primitives.kt file (step 1)
2023-08-29 16:27:55 +00:00
Ilya Gorbunov
6c4f6907ea
Update ant version in legacy dokka docs build
2023-08-25 11:28:46 +00:00
Ilya Gorbunov
3f3cd2e87a
[Generator] Set up body for rangeTo and rangeUntil by default
...
Also use expression body formatting for `rangeTo`.
2023-08-24 08:59:49 +00:00
Ilya Gorbunov
e103318432
kotlin-test-js: assemble sources jar that combines common and platform sources, KT-61315, KTIJ-23784
2023-08-24 01:24:07 +00:00
Ilya Gorbunov
5f5e76a09b
kotlin-test-wasm: correct main source sets compilation, KT-61342
...
- Do not include test sources in main source sets
- Extract commonWasm source set that contains code shared between
wasm-js and wasm-wasi
2023-08-22 13:50:58 +00:00
Ilya Gorbunov
ffbff15839
Add .idea/artifacts to .gitignore and delete already committed files from there, KTI-1337
2023-08-22 13:41:27 +00:00
Ilya Gorbunov
93b0a90172
Add missing SinceKotlin for new JS annotations, KT-6168
2023-08-21 12:49:21 +00:00
Ilya Gorbunov
c49934160a
Remove wasm platform handling from stdlib dependency autoconfiguration
...
Wasm variants of common kotlin-stdlib now provide the required artifacts.
No support of previous versions is required due to experimental status.
KT-60909, KT-59000
2023-08-18 15:36:15 +00:00
Ilya Gorbunov
9640e32483
[stdlib-mpp] Publish wasm artifacts through variants of stdlib KT-60909
2023-08-18 15:36:15 +00:00
Ilya Gorbunov
69cb722ff4
Add js compiler disambiguation attribute to fix docs build
2023-08-17 17:21:23 +00:00
Ilya Gorbunov
c98377af7b
Add js compiler disambiguation attribute to fix errors on project import
...
There were remaining configurations in legacy JS projects with amiguous attributes requesting kotlin-stdlib. They are not used in build, but resolved on import.
2023-08-16 14:25:54 +00:00
Ilya Gorbunov
7ae443ad7f
[stdlib-mpp] Use kotlin-stdlib-common artifact for dist from kotlin-stdlib project
2023-08-11 08:49:23 +00:00
Ilya Gorbunov
3e4cbd6dd2
Publish Gradle metadata for kotlin-stdlib-common, KT-60911
...
This makes it depend on kotlin-stdlib in all targets
and have no artifacts from Gradle's point of view
2023-08-11 08:49:23 +00:00
Ilya Gorbunov
ca7e494124
Remove redundant dependency checksums
...
They are no longer resolved due to alignment
2023-08-10 10:35:54 +00:00
Ilya Gorbunov
aaa068596c
[Gradle] Disable stdlib-jdk7/8 alignment from 1.9.20
...
Reason: kotlin-stdlib now publishes Gradle metadata with the required dependency constraints for these artifacts
KT-55297
2023-08-10 10:35:54 +00:00
Ilya Gorbunov
0882c645dd
[stdlib-mpp] Move dependency constraints to api dependencies, KT-55297
...
Constrained alignment is also required for compile time dependencies
2023-08-10 10:35:54 +00:00
Ilya Gorbunov
0072189fb1
[stdlib-mpp] Configure SBOM for published artifacts KT-53791
2023-08-08 12:32:18 +00:00
Ilya Gorbunov
1a8cb02a43
[stdlib-mpp] Fix implicit signing task dependency on shared javadoc artifact
...
By not using shared javadoc artifact for all publications.
See the commit e6df34805f for details.
2023-08-04 16:11:56 +00:00
Ilya Gorbunov
28992b1302
[stdlib-mpp] Move KGP obsolete property suppress closer to usage
...
Also remove no-op property enableGranularSourceSetsMetadata
2023-08-04 16:11:56 +00:00
Ilya Gorbunov
171d156688
[stdlib-mpp] Disable/ignore failing tests in Kotlin Dev
...
KT-60901, KT-59000, KT-56106
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
d72631a773
[stdlib-mpp] Workarounds for opt-in problems caused by languageSettings DSL rework
...
KT-56106
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
21565c6128
[stdlib-mpp] Add dependency constraints to JVM variant, KT-55297
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
b0106de209
[stdlib-mpp] Mute legacy kotlin.platform.js plugin integration tests
...
That plugin is not prepared to distinguish several variants of JS in kotlin-stdlib-js dependency.
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
671451fb67
[stdlib-mpp] publish legacy MPP common metadata additionally in a variant under 'common' classifier
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
ff1dbab290
[stdlib-mpp] Extract separate variants of kotlin-test for jsIR and jsV1
...
Otherwise stdlib-js dependency can't be resolved by spdx plugin
because stdlib has different variants for legacy and IR JS.
KT-56106
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
a9bc8fa402
[stdlib-mpp] Exclude kotlin-stdlib-js/js-ir projects and use kotlin-stdlib instead
...
- Specify disambiguating attributes in kotlin-dom-api-compat
compile dependency configurations
because it uses the flag that removes JS compiler type attribute
from all configurations and variants
KT-56106
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
a4c75338f3
[stdlib-mpp] js artifacts for dist
...
KT-56106
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
8e78a433e7
[stdlib-mpp] Suppress warnings to please the Kotlin compiler in Gradle DSL
...
KT-56106
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
b3707807b6
[stdlib-mpp] Do not depend on kotlin-stdlib-common in kotlin-test-common
...
KT-56106
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
8172bbcb3a
[stdlib-mpp] Update expected poms of the standard library
...
KT-56106
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
9390afa749
[stdlib-mpp] Remove workaround for building kotlin-test-js as a modern K/JS project
...
KT-56106
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
19cbd4dd3e
[stdlib-mpp] Disable js-v1 test execution and compilation and remove the corresponding workarounds
...
KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
09bb0b5566
Draft: change stdlib autoconfiguration and import expectations for mpp stdlib
...
#KT-59000
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
d5fd6937ce
Fix HierarchicalMppIT: kotlin-stdlib now contains composite metadata artifact
...
KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
51dcbc8520
[stdlib-mpp] Disable browser test runs on TC
...
KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
cfa6c39015
[stdlib-mpp] Change path to the new stdlib artifact in BCV and JdkApi tests
...
KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
12c314cfa4
[stdlib-mpp] Fix artifact classifiers for dist
...
KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
69a87efdd9
js.tests: change paths to kotlin-stdlib-js.klib
...
Change the expected klib name of stdlib
KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
34720f27d4
[stdlib-mpp] Switch kotlin-stdlib project to multiplatform
...
#KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov and Anton Lakotka
fac620df0b
[stdlib-mpp] Setup custom publishing, disable default publications
...
KT-56106, KT-53791
Co-authored-by: Anton Lakotka <anton.lakotka@jetbrains.com >
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
184cbd6eb1
[stdlib-mpp] Exclude transitive mpp stdlib dependency when compiling with legacy js plugin
...
#KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
dcc71e77f3
[stdlib-mpp] Specify configuration attributes for stdlib-js variant disambiguation
...
#KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
be0bf91961
Exclude copied sources from code conformance test
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
3090181cc5
[stdlib-mpp] Workaround legacy JS stdlib test run not using freshly-built kotlin.js
...
Move kotlin.js and kotlin-test-js-v1 output
closer to kotlin-stdlib-js-v1-test to avoid picking (or missing)
kotlin.js from bootstrap higher in hierarchy
#KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
d7d14e7e9e
[stdlib-mpp] Do not merge legacy js content into kotlin-stdlib-js.klib
...
#KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
58c5746fe4
[stdlib-mpp] Reconfigure jvm, js-ir, js-v1 mpp stdlib compilations
...
- jdk7/8 source sets
- source copying task dependencies
- jar manifest entries
- module-info.class
- jdk 9-11 test runs
- sources jars
#KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
72e1578ece
YarnAndNpmSuppressor: more allowed test task names
...
#KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
ff499a6361
[stdlib-mpp] Support java9 source set compilations in MPP library projects
...
#KT-56106
2023-08-03 14:47:19 +00:00
Ilya Gorbunov
9ed6574979
[stdlib-mpp] Disable sources for IDEA sync in conflicting projects
...
#KT-56106
2023-08-03 14:47:19 +00:00
Ilya Gorbunov
46cee9d0a3
[stdlib-mpp] Setup JVM, JS-IR and JS-legacy unit tests
...
The latter do not work for now
#KT-56106
2023-08-03 14:47:19 +00:00
Ilya Gorbunov
79d5c87f30
[stdlib-mpp] Disable test retries for MPP libraries
...
Not compatible with org.jetbrains.kotlin.gradle.targets.jvm.tasks.KotlinJvmTest
executer.
#KT-56106
2023-08-03 14:47:19 +00:00
Ilya Gorbunov
9bdd365be4
[stdlib-mpp] Workaround for building kotlin-test-js as a modern K/JS project
...
#KT-56106
2023-08-03 14:47:19 +00:00
Ilya Gorbunov
e53602e763
[stdlib-mpp] use stdlib-mpp dependency instead of stdlib in kotlin-test projects
...
#KT-56106
2023-08-03 14:47:19 +00:00
Ilya Gorbunov
5c6d3b03df
[stdlib-mpp] add JS-IR target
...
#KT-56106
2023-08-03 14:47:19 +00:00
Ilya Gorbunov
34fc6278ea
[stdlib-mpp] initial approach in a separate project
...
- produce similar jvm, js and common jars
- try default publishing
#KT-56106
2023-08-03 14:47:19 +00:00
Ilya Gorbunov
589492ae2c
Suppress KGP errors about using obsolete properties in the whole project
2023-08-03 14:19:07 +00:00
Ilya Gorbunov
2a24eaeb74
[Docs] Minor api docs improvement
2023-07-26 10:15:45 +00:00
Ilya Gorbunov
865f392681
[Docs] Use absolute urls in links, new Dokka doesn't support relative
2023-07-26 10:15:45 +00:00
Ilya Gorbunov
61175889b9
KT-53154 extract implementation of enumEntries into an expect/actual internal helper function
...
It's required, so it can be implemented in different backends
at a different pace and in a different manner
2023-07-24 11:18:44 +00:00
Ilya Gorbunov
39e9996940
Rename js/annotations.kt to avoid duplicates in sources
...
The conflicting one is Annotations.kt from builtins that are merged together with js stdlib sources, thus leading to two files with the same name differing only by case.
2023-06-26 18:24:34 +00:00
Ilya Gorbunov
e11ebcadb4
Test refactor: extract big duration adjustment to a separate test
2023-05-31 04:45:15 +00:00
Ilya Gorbunov
f8f3862f0c
Make TimeMark adjustment test more stable
2023-05-31 04:45:15 +00:00
Ilya Gorbunov
bbb36ce501
KT-58046 Promote time sources, time marks, measureTime to stable
2023-05-16 11:42:32 +00:00
Ilya Gorbunov
568d4b11af
Use 'run' function instead of 'synchronized' in KT-51036 test
...
It should be enough to reproduce the issue and makes the test runnable on all backends
2023-05-04 02:44:26 +00:00
Ilya Gorbunov
b35b727d73
KT-53778 Remove experimental annotations from open ranges
2023-04-28 17:12:15 +00:00
Ilya Gorbunov
9953991c4c
Include WasExperimental into builtins serialization
...
It is required for stabilizing previously experimental
builtin functions and classes (KT-53778)
in order to mark them WasExperimental,
so that they are available for previously opted in users
2023-04-28 17:12:15 +00:00
Ilya Gorbunov
f470406150
Update EXPECTED_REACHABLE_NODES in JS testdata
2023-04-26 15:50:58 +00:00