Svyatoslav Kuzmich
3cf811012a
[Wasm] Reenable gradle integration tests for node and binaryen
...
* Update to supported node.js version
* Add missing binaryen flag
Merge-request: KT-MR-8180
Merged-by: Svyatoslav Kuzmich <svyatoslav.kuzmich@jetbrains.com >
2023-01-04 08:35:06 +00:00
Ilya Goncharov
a0211fc5fe
[Gradle, JS] Deprecation of BOTH and LEGACY consts
...
^KT-55593 fixed
2023-01-03 12:47:11 +00:00
Alexander Udalov
ae6d4d268d
Use short copyright from COPYRIGHT_HEADER in generated files
2023-01-02 22:52:18 +01:00
Alexander Udalov
3c4b5529af
Update year to 2023 in COPYRIGHT_HEADER.txt
...
This commit is the result of changing the year to 2023 in
COPYRIGHT_HEADER.txt and running all `generate*` tasks in
`generators/build.gradle.kts`.
2023-01-02 22:52:15 +01:00
Pavel Kirpichenkov
d6a9235d05
Minor: pass -Xrefines-paths in recommended form
...
KT-55362
2023-01-02 16:33:24 +00:00
Alexander Udalov
7a9c59aeb5
JVM IR: do not serialize metadata for actualized optional expectations
...
Optional-expectation annotations which have an actual counterpart should
have never been serialized to the kotlin_module's proto. See for example
the original (correct) implementation in the old JVM backend in
`PackageCodegenImpl.addDescriptorToOptionalAnnotationsIfNeeded`.
#KT-55611 Fixed
2023-01-02 15:30:27 +00:00
Mikhail Glukhikh
bc5acb5e9d
Regenerate built-ins copyright comments (year 2023)
2023-01-02 13:44:21 +01:00
Alexander Likhachev
09bce1e472
[Gradle] Add check for warnings in test for KT-54634
...
This check was disabled due to KT-52490
2023-01-02 12:33:11 +00:00
Alexander Likhachev
2530dd836a
[Gradle] Get rid of deprecated properties usage in KotlinTestReport
...
#KT-52490 Fixed
2023-01-02 12:33:11 +00:00
Alexander Likhachev
b5482b3812
[Gradle] Add Gradle 7.4 variant
...
#KT-52490 In Progress
2023-01-02 12:33:10 +00:00
Svyatoslav Kuzmich
4a7e3c7596
[JS][Gradle] Add an option to configure nodeJs arguments
...
Merge-request: KT-MR-8135
Merged-by: Svyatoslav Kuzmich <svyatoslav.kuzmich@jetbrains.com >
2023-01-02 11:21:56 +00:00
Svyatoslav Kuzmich
9bc6b420a9
[Wasm][Stdlib] Add public APIs for linear memory access
...
Needed for interop with APIs that use linear memory.
2022-12-29 19:25:23 +00:00
Artem Kobzar
fbf06b5495
[K/JS] Add a secret system property to enable the old Kotlin/JS compiler only for tests until it will be removed from the sources
2022-12-29 13:32:01 +00:00
Igor Yakovlev
35340f2f04
[Wasm] Fix stdlib String to Float parse
2022-12-29 11:57:47 +00:00
Igor Yakovlev
8b14f4b15c
[Wasm] Mocha test framework support
2022-12-29 11:57:47 +00:00
Igor Yakovlev
1b2b7ce34c
[Wasm] Support Number type for external functions
2022-12-29 11:57:45 +00:00
Igor Yakovlev
4bd187ccea
[Wasm] Move ItemArrayLike w3c declarations into the right package
2022-12-29 11:57:44 +00:00
Svyatoslav Kuzmich
add5fa6e0d
[Wasm] Minor: remove unused stdlib stub
...
Merge-request: KT-MR-8140
Merged-by: Svyatoslav Kuzmich <svyatoslav.kuzmich@jetbrains.com >
2022-12-29 05:29:32 +00:00
Svyatoslav Kuzmich
3bbd8c291a
[Wasm] Add @WasmImport annotation
...
Imports top-level function from given module
2022-12-28 12:13:18 +01:00
Andrey Uskov
e5ad45d46b
Report Kover usage in FUS
...
#KT-54247 Fixed
2022-12-27 16:28:22 +00:00
Pavel Punegov
d735fa6567
[K/N][gradle] Remove download url property.
2022-12-27 16:10:36 +00:00
Pavel Punegov
3b6de8b899
[K/N][gradle][test] Fix repositories in the test and add another one
2022-12-27 16:10:35 +00:00
Pavel Punegov
6744702eff
[K/N][gradle][test] Merge tests for downloading and platform libs
2022-12-27 16:10:35 +00:00
Pavel Punegov
afeeba51ec
[K/N][gradle] Add kotlin.native.distribution.mavenDownloadUrl property
...
Add a separate property to specify maven repository to download K/N
2022-12-27 16:10:35 +00:00
Pavel Punegov
82d28b6dbf
[K/N][gradle][test] Tests KGP ability to download artifacts from maven
2022-12-27 16:10:34 +00:00
Pavel Punegov
5c6af6559a
[K/N][gradle] Download bundles from Maven repository
...
Adds property to make Gradle download Native builds from maven.
The URL can be specified with another property or with standard Gradle
`repository { maven(...) } ` repository management blocks.
2022-12-27 16:10:34 +00:00
Abduqodiri Qurbonzoda
fff593492d
Introduce Common AutoCloseable & use #KT-31066
...
Co-authored-by: Ilya Gorbunov <Ilya.Gorbunov@jetbrains.com >
Merge-request: KT-MR-8113
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com >
2022-12-27 11:50:22 +00:00
Andrey Uskov
e3282d090d
Report in FUS tracking of prepareKotlinBuildScriptModel invocations
...
Currently, if user creates new project using wizard, there are several
invocations of Gradle. It is difficult to identify import process
itself. Now it could be done by monitoring invocations of
prepareKotlinBuildScriptModel task.
#KT-54998 Fixed
2022-12-26 17:18:51 +03:00
Andrey Uskov
70db910767
Report new IC usage in FUS
...
#KT-55000 Fixed
2022-12-26 17:18:50 +03:00
Andrey Uskov
4c80538a78
Added validation rules of FUS metrics on Gradle side
...
#KT-55541 Fixed
2022-12-26 17:18:48 +03:00
Andrey Uskov
0f33722124
Improved collecting compilation metrics in FUS
...
#KT-55537 Fixed
2022-12-26 17:18:46 +03:00
Andrey Uskov
5e06c52073
Support weight for FUS metrics
...
If metric impact is different for different subprojects, corresponding
metric could be reported with weight. Currently supported for numerical
metrics with override policy AVERAGE.
2022-12-26 17:16:03 +03:00
nataliya.valtman
161d8d1cea
KT-54959 Add worker execution time to task action execution time
2022-12-26 12:03:37 +03:00
nataliya.valtman
d6bbab7eff
Fix unstable build statistics with ktor tests
2022-12-26 12:03:37 +03:00
Ilya Gorbunov
e2d96da396
Introduce experimental kotlin.concurrent.Volatile annotation KT-55268, KT-55609
...
Use this annotation in tests to ensure it works the same at least on JVM
2022-12-23 19:07:30 +01:00
Ilya Gorbunov
b6e6ca7c96
Deprecate Synchronized annotation in common and JS #KT-55344
2022-12-22 21:22:44 +00:00
Ilya Goncharov
e19776bd5a
[Gradle, JS] Make webpack task cacheable
...
[Gradle, JS] Remove redundant dependsOn
[Gradle, JS] Private metrics
[Gradle, JS] Fix test with run webpack on windows
[Gradle, JS] Fix detecting of input files instead of const folder kotlin
[Gradle, JS] Change up-to-date annotations in webpack task
[Gradle, JS] Add test on webpack considering changes in dependencies in up-to-date checks
[Gradle, JS] Add test on buid cache of Webpack task
[Gradle, JS] webpack config appliers are nested inputs
[Gradle, JS] Webpack task is cacheable with relative pathes
^KT-55476 fixed
2022-12-22 17:19:38 +00:00
Ilya Goncharov
72701ada29
[Gradle, JS] Move tests related with adding of dom api to separate class
2022-12-22 15:45:25 +00:00
Ilya Goncharov
0cfff4fc87
[Gradle, JS] Disable test about implementation/api dependencies in IR
2022-12-22 15:45:25 +00:00
Ilya Goncharov
68d5619af4
[Gradle, JS] Add test on adding dom-api-compat library
2022-12-22 15:45:24 +00:00
Ilya Goncharov
3f7e33df60
[JS] Remove maven examples
2022-12-22 15:45:24 +00:00
Ilya Goncharov
7a04c38863
[Gradle, JS] Fix Gradle integration tests related with extracting dom api to separate module
...
- remove tests which were related with deprecated plugins
- migrate some tests to new plugin instead of deprecated
2022-12-22 15:45:23 +00:00
Ilya Goncharov
24cb10bbf3
[Gradle, JS] Add module kotlin-dom-compat-api as dependency with opt-out
2022-12-22 15:45:23 +00:00
Ilya Goncharov
688894aabc
[JS, Stdlib] Move DOM API to separate module kotlin-dom-api-compat
...
[JS, Stdlib] Leave sources of dom api inside stdlib
[Stdlib, JS] Leave ItemArrayLike inside stdlib
2022-12-22 15:45:23 +00:00
Dmitriy Novozhilov
7cbe13dee9
[JS] Update testdata of ApiTest.test(Ir)Stdlib
...
Most likely it caused by 17e9a6a781
2022-12-21 22:30:08 +00:00
Aleksei.Cherepanov
d26b96afe1
Avoid failure of maven compilation if empty args are passed
...
#KT-54822 Fixed
Merge-request: KT-MR-8103
Merged-by: Aleksei Cherepanov <aleksei.cherepanov@jetbrains.com >
2022-12-21 14:35:07 +00:00
Ilya Chernikov
8c5739739c
minor: drop main-kts tests on oldBE
...
it is not supported anymore
2022-12-21 14:34:22 +00:00
Ilya Chernikov
deb2d6d024
K2 Scripting: enable K2 tests in some test projects
2022-12-21 14:34:21 +00:00
Ilya Chernikov
90a4f6002e
K2 Scripting: support sam-with-receiver in scripting plugin
2022-12-21 14:34:21 +00:00
Ilya Goncharov
256764f012
[Gradle, JS] Add test with packaged moduleName
...
[Gradle, JS] WA for moduleName starting with @
^KT-53288 fixed
2022-12-21 11:34:05 +00:00