Commit Graph

65451 Commits

Author SHA1 Message Date
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
Vladimir Dolzhenko 7afadb9b5e Init default profile for perf tests 2020-05-16 14:10:29 +02:00
Ilya Chernikov fb6ef38370 Revert "Add info about the end of range in scripting REPL compiler messages"
This reverts commit af251caf, because it breaks daemon/client
compatibility, which we'd like to keep as much as possible
2020-05-15 21:15:48 +02:00
Vyacheslav Karpukhin 1ba4d7d99b Update foreign references when renaming a Kotlin file
(cherry picked from commit 1571a87d8f2ac755d0ba0bcb71f331e654dc1a92)
2020-05-15 19:45:14 +02:00
Dmitry Savvinov 3793e485b6 Check for common klibs builtins_platform properly
Actually, common klibs don't have a corresponding record (and abscence
of that record should be treated as platform COMMON).

^KT-38769 Fixed
2020-05-15 20:25:48 +03:00
Anton Bannykh c6f38ebfbf JS IR: enable scope expansion strategy for JS IR KLIB incremental generation 2020-05-15 19:23:52 +03:00
Anton Yalyshev 59ca626487 Make JPS-based wizards available only for new_module use case 2020-05-15 19:11:47 +03:00
Anton Yalyshev f0ff4b066e Remove old Gradle-based new_project_wizards from the Kotlin group 2020-05-15 19:11:47 +03:00
Toshiaki Kameyama 82d81d5223 Change Signature: move lambda outside of parentheses if the arguments are reordered so that the lambda goes last
#KT-30128 Fixed
2020-05-15 17:58:33 +02:00
Konstantin Tskhovrebov 912fd556e5 Fix commonizer: merge klib manifest dependencies during commonization. 2020-05-15 18:27:13 +03:00
Konstantin Tskhovrebov 32e0ce8779 Disable default platform libs for konanc metadata compilation. 2020-05-15 18:27:13 +03:00
Konstantin Tskhovrebov 17ad0a97d8 Add commonized dependencies to metadata compilation. 2020-05-15 18:27:13 +03:00
Konstantin Tskhovrebov beb59b3075 Refactor: add Project.getMetadataCompilationForSourceSet extension. 2020-05-15 18:27:13 +03:00
Denis Zharkov 5bbb459993 FIR: Refactor FirTowerResolverSession.enumerateTowerLevels
- Leave only onScope callback as onLocalScope/onNonLocalScope are the same in most cases
- Pass towerGroup to callbacks as they are the same all the time
2020-05-15 16:04:44 +03:00
Denis Zharkov 475671563b FIR: Get rid of obsolete local scopes optimizations
They are already filtered out (see FirTowerResolverSession#localScopes initializer)
2020-05-15 16:04:44 +03:00
Denis Zharkov e7a67c7a16 FIR: Extract StandardClassIds.KClass 2020-05-15 16:04:44 +03:00