Commit Graph

65666 Commits

Author SHA1 Message Date
Ilya Gorbunov 25f83e941c Fix sample reference for unsigned array range sort 2020-05-18 20:37:11 +03:00
Ilya Gorbunov c40c9a3d14 stdlib-gen: make 'sample' overwrite samples list instead of adding
It's more common for a function to have the single sample, and it's
more convenient to override it in `specialFor` blocks, rather than
to append another one.
2020-05-18 20:37:11 +03:00
Mark Punzalan 371c4561a0 [IR/FIR] Use isExpect from IR element instead of descriptor in
ExpectDeclarationRemover.
2020-05-18 17:20:43 +02:00
Toshiaki Kameyama 23c4eac45b Introduce "Logger initialized with foreign class" inspection
^KT-38982 Fixed
2020-05-18 18:16:52 +03:00
Ilya Goncharov c6e23ffa3b [Gradle, JS] Move npm declarations to KotlinDependencyHandler
KT-38331
2020-05-18 17:41:49 +03:00
Ilya Goncharov 85fa1859b3 [Gradle, JS] Fix generateKotlinExternals for scoped without generating
KT-38331
2020-05-18 17:41:49 +03:00
Ilya Goncharov 8ac5ebac84 [Gradle, JS] Separate interface for directory dependency with externals
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov 8565b77293 [Gradle, JS] Delegate instead inheritance
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov 4a574b8e00 [Gradle, JS] Not input transitive dependencies to dukat
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov 309d928ed6 [Gradle, JS] Quoted args
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov 0e24b5aaa2 [Gradle, JS] Possible variants consider scope
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov 0d9265388b [Gradle, JS] Add possible variants for generate kotlin variants
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov 5d74db51d7 [Gradle, JS] Fix message
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov f4521ee4e4 [Gradle, JS] In case when default generate kotlin externals will be changed, nothing will be broken
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov 86c8986bd3 [Gradle, JS] throw exception if dependency forbid generate external
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov df38a669b8 [Gradle, JS] Fix vararg call
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov dcb961af19 [Gradle, JS] Support generateKotlinExternals option for Groovy
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov e8d10d45a9 [Gradle, JS] Add generateKotlinExternals option for root dependencies
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov 50e0e6ac06 [Gradle, JS] Add defaultGeneratedKotlinExternals to dependencies extensions
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov 830555aa8b [Gradle, JS] generateKotlinExternals option in dsl functions
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov c20184ae08 [Gradle, JS] Add option for generate kotlin externals
KT-38331
2020-05-18 17:41:46 +03:00
Ilya Goncharov 53a5980d4c [Gradle, JS] Forbid create peer dependency with directory
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov 4d32140f6f [Gradle, JS] Extract interface with directory dependency
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov 52214e9093 [Gradle, JS] Add deprecation on npm with name only
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov 3c0965802a [Gradle, JS] Extract name only npm dependency to separate interface
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov 228e22b4cb [Gradle, JS] Update NPM dependency fail message for Groovy
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov 5a348a4831 [Gradle, JS] Add dev dependency to test
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov efe70da594 [Gradle, JS] KotlinDependencyHandler extends from KotlinNpmDependencyHandler to provide these functions in interface
#KT-38683 fixed
2020-05-18 17:41:45 +03:00
Ilya Goncharov 4fb1e4614d [Gradle, JS] Remove deprecated npm dependency with org
#KT-38683 fixed
#KT-38994 fixed
2020-05-18 17:41:45 +03:00
Ilya Goncharov b4b2efdc08 [Gradle, JS] Remove copypaste on name only npm dependency
#KT-38683 fixed
2020-05-18 17:41:45 +03:00
Ilya Goncharov 2378d9ba0a [Gradle, JS] Remove copypaste on directoryNpmDependency
#KT-38683 fixed
2020-05-18 17:41:45 +03:00
Ilya Goncharov 28b0bfd40c [Gradle, JS] Remove possibility to declare npm dependency w/o version
#KT-38683 fixed
2020-05-18 17:41:45 +03:00
Ilya Goncharov 3a9e3f29e4 [Gradle, JS] Make addNpmDependencyExtension as internal
#KT-38683 fixed
2020-05-18 17:41:45 +03:00
Dmitry Gridin 19f878f5cd update searchableOptions.xml 2020-05-18 21:20:46 +07:00
Ilya Goncharov 6bde5b620e [Gradle, JS] Add test on NPM range versions
#KT-38990 fixed
2020-05-18 12:48:03 +03:00
Ilya Goncharov fd7cd7167c [Gradle, JS] Extract methods about parse line
#KT-38990 fixed
2020-05-18 12:47:56 +03:00
Ilya Goncharov 0492d81a8c [Gradle, JS] Process quoted value in yarn.lock
#KT-38990 fixed
2020-05-18 12:47:40 +03:00
Mikhail Glukhikh db7a7f6cd3 [FIR2IR] Move facade classes generation to the main converter 2020-05-18 11:48:33 +03:00
Mikhail Glukhikh c4f4883b96 [FIR] Remove redundant dependency generation in JvmIrCodegenFactory
Dependency generation isn't necessary at this point because
it's already performed by Fir2IrConverter
2020-05-18 11:48:33 +03:00
Ilya Gorbunov a3e8f02330 Update proguard version in test
The latest version at this moment (6.2.2) that ignores mutlirelease jar
content automatically, e.g. META-INF/versions/9 directory content.

Previous versions fail with the error
"class [META-INF/versions/9/module-info.class] unexpectedly contains class [module-info]"
2020-05-18 11:21:13 +03:00
Ilya Gorbunov 843829116d Add module-info to kotlin-test-* framework adapter artifacts
#KT-21266
2020-05-18 11:21:13 +03:00
Ilya Gorbunov 92c4ccc65f Allow customizing compilation classpath for JPMS module-info build 2020-05-18 11:21:13 +03:00
Ilya Gorbunov e3d20a2f5c Update module-info exports for stdlib and suppress warnings
- include kotlin.time package

Suppress module-info warnings:

- terminal digits in module name
- open/export for another not yet built dependee module

#KT-21266
2020-05-18 11:21:12 +03:00
Ilya Gorbunov 01fb200791 Build default jvm core libraries artifacts as modular
#KT-21266
2020-05-18 11:21:12 +03:00
Denis Zharkov e1e149a062 FIR: Support coercion-to-unit semantics for callable references 2020-05-18 11:17:45 +03:00
Jinseong Jeon 61def4cdc5 FIR: set function factory (before it's used in SAM lowering). 2020-05-18 09:36:22 +03:00
Ilya Kirillov 9ca6091b1d Wizard: use correct version of react libraries
#KT-38929 fixed
2020-05-18 08:59:41 +03:00
Ilya Kirillov 321272abed Wizard: make new wizard non-experimental
relates to #KT-38952
2020-05-18 08:59:40 +03:00
Vladimir Dolzhenko 01992b581e Dropped KotlinNativeFileTypeFactory from native-common.xml
Relates to #KT-38571
2020-05-17 16:02:25 +00:00
Vyacheslav Gerasimov 005e62526b Build: Add distributionSha256Sum to gradle-wrapper.properties
To enable downloaded gradle checksum validation
https://docs.gradle.org/current/userguide/gradle_wrapper.html#sec:verification
2020-05-17 10:40:13 +03:00