Igor Yakovlev
c3a6d0b499
[WASM] Fix invalid constructors call flow for exceptions
2022-02-03 21:25:58 +01:00
Igor Yakovlev
e30b449454
[WASM] Replace non-performance way of building String from CharArray
2022-02-03 21:25:58 +01:00
Igor Yakovlev
a44b103da9
[WASM] Fix invalid equals/hashCode for Double.NaN and Float.NaN
2022-02-03 21:25:58 +01:00
Igor Yakovlev
ea76501f9e
[WASM] Implement ConstrainedOnceSequence
2022-02-03 21:25:58 +01:00
Igor Yakovlev
d0370bd145
[WASM] Fix invalid Array.fill methods implementations
2022-02-03 21:25:58 +01:00
Igor Yakovlev
5ed104063d
[WASM] Implement missing test asserter
2022-02-03 21:25:58 +01:00
Igor Yakovlev
ece0f83ab2
[WASM] Implement std kotlin.time
2022-02-03 21:25:57 +01:00
Igor Yakovlev
1052ebb44d
[WASM] Fix invalid rounding for Double to Int/Long conversion
2022-02-03 21:25:57 +01:00
Igor Yakovlev
b4435fe091
[WASM] Escape wasm trap on division of s32/s64 min values on -1
2022-02-03 21:25:57 +01:00
Igor Yakovlev
0acb1c0c05
[WASM] Implemented Wasm unhandled exceptions on JS site
2022-02-03 21:25:57 +01:00
Igor Yakovlev
e32f9eb2ce
[WASM] throwableExtensions implementation
2022-02-03 21:25:57 +01:00
nataliya.valtman
0382610120
Report build reports for http in separate executor
2022-02-02 19:51:18 +03:00
Yahor Berdnikau
95698b0138
Allow specifying additional JVM arguments for Kapt task
...
These arguments are only used when 'kapt.workers.isolation=process' mode
is used. It allows users to apply workaround for running kapt on newer
JDK version without waiting for a new Kotlin release
^KT-48450 Fixed
2022-02-01 15:00:12 +00:00
Hung Nguyen
37c6b1c2dc
KT-45777: Track build time in nanoseconds instead of milliseconds
...
to ensure precision (otherwise, rounding errors to milliseconds may
add up and cause unexplainable gaps in the running time).
We can still use milliseconds in the final report after all the precise
sub-build-times have been aggregated.
2022-01-31 19:50:03 +03:00
Yahor Berdnikau
52a21a4e1a
Remove 'noStdlib' from Gradle options
...
^KT-49011 Fixed
2022-01-31 17:28:13 +01:00
Yahor Berdnikau
57c342fec8
Remove 'noReflect' from Gradle options
...
^KT-49011 In Progress
2022-01-31 17:28:13 +01:00
Yahor Berdnikau
27e449cd56
Remove 'useIR' from Gradle options
...
^KT-49011 In Progress
2022-01-31 17:28:13 +01:00
Svyatoslav Scherbina
118bda675f
[Gradle] Fix Native offline tests on Windows
...
Don't remove the temporary KONAN_DATA_DIR because it might be still in
use by the Gradle daemon process.
Create a new temporary directory instead.
The tests were introduced in 544447e...fa951f8
2022-01-31 14:42:12 +00:00
Ilya Goncharov
02d731255c
[Gradle, JS] Add to test success of compilation task
2022-01-31 12:00:14 +00:00
Ilya Goncharov
a83cb9740e
[Gradle, JS] Correct order of libraries
2022-01-31 12:00:13 +00:00
Ilya Goncharov
6872b6ef8a
[Gradle, JS] Remove redundant argument
2022-01-31 12:00:13 +00:00
Alexander Korepanov
769fbcf3d0
[JS IR] Improve performance for runtime typecheck
...
This is a part of KT-42743
2022-01-31 09:15:58 +00:00
Svyatoslav Scherbina
fa951f8f9c
[Gradle] Propagate offline mode to Native platform libs generator
...
^KT-49247
2022-01-31 09:14:20 +00:00
Svyatoslav Scherbina
a28884b1c3
[Gradle] Propagate offline mode to Native cinterop
...
^KT-49247
2022-01-31 09:14:19 +00:00
Svyatoslav Scherbina
15a52f33ad
[Gradle] Propagate offline mode to Native compiler
...
^KT-49247
2022-01-31 09:14:19 +00:00
Svyatoslav Scherbina
b4fb0e9894
[Gradle] Remove unused internal class KotlinNativeKlibRunner
2022-01-31 09:14:18 +00:00
Yahor Berdnikau
6c6534ee20
Decrease Kotlin daemon available memory in test
...
This should reduce flakiness in it.
2022-01-28 20:36:11 +03:00
Yahor Berdnikau
733f38e730
Migrate KaptIncrementalWithAggregatingApt tests to new test DSL
...
^KT-45745 In Progress
2022-01-28 20:34:31 +03:00
Yahor Berdnikau
baa3610c7d
Migrate KaptIncrementalWithIsolatingApt to new test DSL
...
^KT-45745 In Progress
2022-01-28 20:34:30 +03:00
Yahor Berdnikau
9ca2ce6647
Migrate KaptIncrementalIT to new test DSL
...
^KT-45745 In Progress
2022-01-28 20:34:29 +03:00
Yahor Berdnikau
a0cb7c8173
Port method to get output for specific task
...
^KT-45745 In Progress
2022-01-28 20:34:28 +03:00
Alexander Korepanov
d584cfc31d
Remove workaround for KT-45620 from NumbersTest.kt.
2022-01-28 17:10:01 +00:00
Pavel Kirpichenkov
a220624769
[Commonizer] move commonizer setting keys to the commonizer-cli module
...
Get rid of `OptionAlias` as unnecessary; keys will be used directly
2022-01-28 12:22:50 +03:00
Pavel Kirpichenkov
2609175d58
[Commonizer] Introduce commonizer settings
...
Add settings for a more fine-grained control over commonizer features
that will be added in the future
Add setting and KGP flag for optimistic number commonization
KT-51011
2022-01-28 12:22:50 +03:00
nataliya.valtman
5e721122e9
Add human readable timestamp in statistic
2022-01-28 09:58:00 +03:00
Pavel Punegov
10ac98b029
[Gradle][test] Fix Cocoapods integration tests
...
The change 782b4f64be added plugin
management to settings that require at least 2 properties to be set.
2022-01-27 12:42:03 +00:00
Sergej Jaskiewicz
d5e46e0607
[JS IR] Introduce intrinsics for slicing array-like objects
2022-01-27 11:06:16 +00:00
Sergej Jaskiewicz
08e6116ecb
[JS IR] Introduce jsArguments() intrinsic function
...
`jsArguments()` is lowered into a reference of the `arguments` object.
This is useful for extracting varargs, when calling Kotlin code from
JavaScript. For a concrete example, see KT-15223.
2022-01-27 11:06:16 +00:00
Sergey Igushkin
62c351874f
KT-49089 Fix using @OptionalExpectation annotations from dependencies
...
Fix the behavior of the common (metadata KLIB) compiler with
hierarchical project structures support as
it analyses usages of annotations from dependencies that are marked
with `@OptionalExpectations`.
The fix on the Kotlin Gradle plugin side is to add the
-Xcommon-sources=... compiler argument to those the invocations of the
compiler, just as it is done with the other compilers.
Issue #KT-49089 Verification Pending
2022-01-27 06:32:08 +00:00
sebastian.sellmair
162dcef73a
[KPM] Mark overwriting custom capabilities as advanced
2022-01-26 21:51:58 +00:00
sebastian.sellmair
252a966cb4
[KPM] Kotlin...CapabilitiesContainer: Remove API to read capabilities
2022-01-26 21:51:58 +00:00
sebastian.sellmair
0ae47fca51
[KPM] KotlinGra..onArtifactsContext: Remove ConfigurationPublications interface
...
This is done to prevent unintentional side effects from Gradle, which
might act hostile against third-party implementations of Gradle public
API interfaces.
2022-01-26 21:51:57 +00:00
sebastian.sellmair
49cfe42914
[KPM] Always set 'KotlinFragmentModuleCapability'
...
If the configuration is not published, it is expected to set
`isCanBeConsumed=false` so the Capability should not affect anything.
2022-01-26 21:51:57 +00:00
sebastian.sellmair
96ec6466c7
[KPM] Implement 'transitiveRuntimeOnly' dependency configuration
2022-01-26 21:51:57 +00:00
sebastian.sellmair
6720742b84
[KPM] Replace 'fun interface' in favor of factory functions
2022-01-26 21:51:56 +00:00
sebastian.sellmair
c684588ebb
[KPM] KotlinFragmentPlatformAttributes: Only set jvm environment on Gradle 7+
2022-01-26 21:51:56 +00:00
sebastian.sellmair
629f7a66d6
[KPM] Implement KotlinFragmentConfigurationDefinitionTest
2022-01-26 21:51:55 +00:00
sebastian.sellmair
2d8bcc11ae
[KPM] Split KotlinFragmentConfigurationDefinition source file
...
... and tweak names of extension functions to make them more coherent
with Gradle APIs
2022-01-26 21:51:55 +00:00
sebastian.sellmair
7aceda94ac
[KPM] Convert noop implementations from 'object' to 'val'
...
This is to avoid leaking the extension function defined
inside those objects to the global namespaces.
Using these extensions on the receiver outside the
noop object makes no sense.
2022-01-26 21:51:55 +00:00
sebastian.sellmair
dfac177d35
[KPM] Rename ConfigurationContextImpl to KotlinGradleFragmentConfigurationContextImpl
2022-01-26 21:51:54 +00:00