Commit Graph

7284 Commits

Author SHA1 Message Date
Alexander Gorshenev 97be5617ca Renamed -Xklib-mpp to -Xexpect-actual-linker to reduce user confusion 2020-04-08 05:23:12 +03:00
Ilya Goncharov 33d4655053 [Gradle, JS] Fix for Gradle 5.4
#KT-38055 fixed
2020-04-07 13:59:37 +03:00
Ilya Goncharov 626e7d14ec [Gradle, JS] Fix once initialization of produceExecutable
#KT-38055 fixed
2020-04-07 13:59:37 +03:00
Ilya Goncharov c3ee2c81ed Revert "[Gradle, JS] Remove hard test"
This reverts commit 50e6f6e0
2020-04-07 13:59:37 +03:00
Ilya Goncharov 57b99bbc0c [Gradle, JS] Allow to create another binaries.executable
#KT-KT-38055 fixed
2020-04-07 13:59:36 +03:00
Ilya Goncharov 6a02e257a0 [Gradle, JS] Make ir binaries as live data
#KT-38058 fixed
2020-04-07 13:59:36 +03:00
Ilya Gorbunov d115792d9a Move a couple ad-hoc properties to buildSrc/BuildPropertiesExt 2020-04-07 10:54:34 +03:00
Abduqodiri Qurbonzoda 508d0edd6d Add the onEach extension function to the Array #KT-28290 2020-04-07 05:34:20 +03:00
Ilya Goncharov b309ff2039 [Gradle, JS] Group sub target tasks with dis classifier group for legacy
#KT-38056 fixed
2020-04-06 18:56:46 +03:00
Ilya Goncharov 53a20017ec [Gradle, JS] Group sub target tasks with dis classifier group
#KT-38056 fixed
2020-04-06 18:55:41 +03:00
Ilya Goncharov 4b903088bf [Gradle, JS] Distribution directory not null
#KT-38051 fixed
2020-04-06 18:40:14 +03:00
Ilya Goncharov cfa542f50b [Gradle, JS] Add outputs for distribution task
#KT-38051 fixed
2020-04-06 18:39:50 +03:00
Victor Turansky aa12d4cd0c [Gradle, JS] Karma configuration. Remove launcher duplication 2020-04-05 07:56:08 +03:00
Ilya Goncharov 12379cb91c [Gradle, JS] Bump NPM versions
#KT-37988 fixed
2020-04-03 20:38:12 +03:00
Ilya Goncharov 187ab5f393 [Gradle, JS] KT-37984 Add additional Chrome and Firefox based browsers
#KT-37984 fixed
2020-04-03 20:37:20 +03:00
Ilya Goncharov 50e6f6e07e [Gradle, JS] Remove hard test 2020-04-03 19:50:13 +03:00
Nikolay Krasko d71410bfb5 Update version of properties-maven-plugin to 1.0.0 2020-04-03 19:31:32 +03:00
Ilya Goncharov c1c0df962f [Gradle, JS] Add browser to test js composite build
#KT-37954 fixed
2020-04-03 09:47:15 +03:00
Ilya Goncharov a5026d60db [Gradle, JS] Configure test executable only once
#KT-37954 fixed
2020-04-03 09:46:15 +03:00
Ilya Goncharov c26c8fdb89 [Gradle, JS] Added binaries names to store
#KT-37954 fixed
2020-04-03 09:46:01 +03:00
Ilya Goncharov 6b32548491 [Gradle, JS] JvmOverloads for Groovy DSL
#KT-37936 fixed
2020-04-03 09:45:49 +03:00
Ilya Goncharov b3e6738243 [Gradle, JS] Fix binaries.executable for Groovy dsl
#KT-37936 fixed
2020-04-03 09:44:19 +03:00
Ilya Goncharov 07d80aa11c [Gradle, JS] KT-36784 Enable composite builds only for IR compiler
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-04-02 11:08:57 +03:00
Ilya Goncharov 43efac69a9 [Gradle, JS] KT-36784 Move test only to IR
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-04-02 11:08:57 +03:00
Ilya Goncharov c11c3dffe7 [Gradle, JS] KT-36784 Provide args for kotlinNpmInstall
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-04-02 11:08:56 +03:00
Ilya Goncharov fe40056abe [Gradle, JS] KT-36784 Remove hasNodeModulesDependentTasks
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-04-02 11:08:56 +03:00
Ilya Goncharov 9806ac992e [Gradle, JS] KT-36784 Fix tests on composite
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-04-02 11:08:56 +03:00
Ilya Goncharov a27ae5dd7b [Gradle, JS] KT-36784 Fix absolute paths on relative in package.json
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-04-02 11:08:56 +03:00
Ilya Gorbunov 1727fcf1a8 Make some build properties extensions in buildSrc
They are used only in main build's .gradle.kts files, so it is more
flexible to define them as extensions - no need to republish
kotlin-build-gradle-plugin when another such property is to be added.
2020-04-02 05:21:10 +03:00
Ilya Gorbunov 01b463993b Use SinceKotlin in primitive companion objects for documentation purpose
Also suppress "div by zero" warnings in JS primitive companions.
2020-04-02 04:43:00 +03:00
Ilya Gorbunov a225842f9b Test that known Floats can fit in FloatArray without over/underflow
But some precision loss can still happen in JS.

Relates to KT-24975
2020-04-02 04:04:04 +03:00
Ilya Gorbunov d88d2cb058 Test new Double/Float constants
Split test expectations based on actual support of enforced Float range

KT-29182, KT-13887
2020-04-02 04:04:04 +03:00
Ilya Kirillov 3e6ab65ccc Wizard: place kotlin.code.style to gradle.properties file instead of local.properties
#KT-37923 fixed
2020-04-02 01:25:38 +03:00
Alexander Udalov 3269a7e693 Change behavior of equals/hashCode on adapted function references
Function references are now equal if they refer to the same function,
and if the parameter/return type adaptation, which happens when a
reference is used where some function type is expected, is exactly the
same. This includes the number of expected positional parameters (which
can be affected by defaults/varargs), whether the coercion of vararg
parameter to Array type happened, and whether the coercion of return
type to Unit happened.

 #KT-37543 Fixed
2020-04-01 14:18:49 +02:00
Dmitriy Dolovov bfd6eeda60 Fix compilation with JPS 2020-04-01 16:42:04 +07:00
Ilya Gorbunov f3fc1197ae Add SIZE_BITS and SIZE_BYTES constants to Double and Float
#KT-29182
2020-04-01 08:06:57 +03:00
Ilya Gorbunov 1c93911279 Make Double and Float known values constant
#KT-13887
2020-04-01 08:06:57 +03:00
Dmitriy Dolovov 31a1f8ff4b Include :native:kotlin-native-utils into kotlin-compiler.jar 2020-04-01 11:46:55 +07:00
Dmitriy Dolovov 28cb9d4e13 Gradle: Remove redundant dependency on 'kotlin-native-utils' artifact 2020-04-01 11:46:49 +07:00
Ilya Kirillov 487e1ddddc Wizard: do not update path & artifactId value for invalid project name 2020-03-31 20:32:37 +03:00
Ilya Kirillov fef3ea573b Wizard: allow "-" char in artifactId/groupId & fix their error messages
#KT-37820 fixed
2020-03-31 20:32:37 +03:00
Ilya Gorbunov b4d7dfd02c Advance minimal Gradle version for .gradle.kts tests to 5.0
Kotlin compiler 1.2 bundled in Gradle 4.10 and lower cannot read
binaries produced by 1.4 compiler and thus cannot compile .gradle.kts
scripts that depend on  1.4 Kotlin gradle plugin artifacts.
2020-03-31 16:02:36 +03:00
Ilya Goncharov ccf5a2b4ad [Gradle, JS] KT-36784 Add additional args for npm install
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:54 +03:00
Ilya Goncharov 14f0091c84 [Gradle, JS] KT-36784 Add tests on local npm dependencies in composite
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:54 +03:00
Ilya Goncharov 149d7fb33a [Gradle, JS] KT-36784 Fix requireing of node modules
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov f30875f79b [Gradle, JS] KT-36784 Move fromSrcPackageJson
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov 253b8587e4 [Gradle, JS] KT-36784 Composite build test
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov 568ef5dc5f [Gradle, JS] KT-36784 Fix depends on for package json umbrella
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov e27c334d4a [Gradle, JS] Fix package.json file
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov fa632a2aea [Gradle, JS] KT-36784 Input as composite package.json
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00