Commit Graph

58702 Commits

Author SHA1 Message Date
Natalia Selezneva 4613bf4b06 Minimize bunch files size for AbstractScriptConfigurationTest.kt 2019-10-30 12:02:45 +03:00
Dmitriy Novozhilov d2b895d8c2 [FIR] Add @ExtensionFunction to lambdas with receivers 2019-10-30 11:03:15 +03:00
Vyacheslav Gerasimov 5776d115b7 Build: Add space packages to maven-settings servers 2019-10-29 23:31:43 +03:00
Ilya Chernikov 9aaf08de08 Fix equality for the KtFileScriptSource 2019-10-29 20:44:18 +01:00
Vladimir Dolzhenko 26255f8501 Added AllowNullableArrayArgsInMain (1.4+) language setting 2019-10-29 19:20:35 +01:00
Ilya Goncharov 6ecc7eab7e [Gradle, JS] Add compatible aliases for old tasks
#KT-32323 fixed
#KT-32283 fixed
2019-10-29 19:41:20 +03:00
Ilya Goncharov dc3f3ce80d [Gradle, JS] Rename experimental annotation with warning level 2019-10-29 19:39:12 +03:00
Ilya Goncharov e7a45fb536 [Gradle, JS] JS specific build variants 2019-10-29 19:39:12 +03:00
Ilya Goncharov e3ec37b14f [Gradle, JS] Common webpack's configurations 2019-10-29 19:39:12 +03:00
Ilya Goncharov eb7fe6b0a4 [Gradle, JS] Each task configure your own dceOutputFileApplier 2019-10-29 19:39:12 +03:00
Ilya Goncharov 2d026e7973 [Gradle, JS] Make disambiguate take vararg 2019-10-29 19:39:12 +03:00
Ilya Goncharov 92c5b9c66e [Gradle, JS] Configure build and run in one place: configureMain 2019-10-29 19:39:12 +03:00
Ilya Goncharov aca5628622 [Gradle, JS] Use experimental dce annotation 2019-10-29 19:39:12 +03:00
Ilya Goncharov f55680a737 [Gradle, JS] Configure build and run in one place: configureMain 2019-10-29 19:39:12 +03:00
Ilya Goncharov ead4528445 [Gradle, JS] Make multiple entry points and output for webpack 2019-10-29 19:39:12 +03:00
Ilya Goncharov f66e6337fe [Gradle, JS] Fix test on DCE working with usual js files 2019-10-29 19:39:11 +03:00
Ilya Goncharov 83527a6d0e [Gradle, JS] DCE dsl interface used in browserDsl 2019-10-29 19:39:11 +03:00
Ilya Goncharov 2ffd8bed48 [Gradle, JS] Depends on according to Task Configuration Avoidance 2019-10-29 19:39:11 +03:00
Ilya Goncharov d2727e2f25 [Gradle, JS] Add possibility to configure dce task 2019-10-29 19:39:11 +03:00
Ilya Goncharov e1387e3d3d [Gradle, JS] Provide entry for DCE to webpack 2019-10-29 19:39:11 +03:00
Ilya Goncharov 174fd5975d [Gradle, JS] Add resolveFromModulesFirst option
When we collect all DCE'd files, we need, that webpack to watch on these files, not on node_modules module
2019-10-29 19:39:11 +03:00
Ilya Goncharov 51f4dc5af0 [Gradle, JS] Filter DCE candidates
We should process DCE only for:
- JARs
- JSs with neighbors meta.js
2019-10-29 19:39:11 +03:00
Ilya Goncharov faa5846252 [Gradle, JS] Add DCE task with dependsOn relationships 2019-10-29 19:39:11 +03:00
Ilya Goncharov a7cae0fc78 [Gradle, JS] Cartesian product of build variant and task types 2019-10-29 19:39:11 +03:00
Ilya Goncharov 6e0f5f71f1 [Gradle, JS] Divide values for devtool (source maps) 2019-10-29 19:39:11 +03:00
Ilya Goncharov 6c4e7921f7 [Gradle, JS] Single entry for webpack 2019-10-29 19:39:11 +03:00
Ilya Goncharov 973cd51497 [Gradle, JS] Add webpack mode depends on build variant kind 2019-10-29 19:39:10 +03:00
Ilya Goncharov 603e263003 [Gradle, JS] Add BuildVariants 2019-10-29 19:39:10 +03:00
Ilya Goncharov 3e9e9c02c6 [Gradle, JS] Extract build task configuration from run task 2019-10-29 19:39:10 +03:00
Georgy Bronnikov cd78e6ec50 JVM_IR: handle property references in SAM conversions 2019-10-29 18:38:59 +03:00
Alexander Udalov 74c9120d9d Minor, don't use outdated Groovy dependency
See https://ossindex.sonatype.org/vuln/91433254-870c-47a2-aa06-1b303a92c018

 #TPV-3545 Fixed
2019-10-29 16:07:52 +01:00
Alexander Udalov 59959c52ad Don't report missing reflection diagnostic for KType/KTypeProjection/KVariance 2019-10-29 15:52:01 +01:00
Alexander Udalov 896512f7cd Support KClass.isInstance/cast/safeCast in stdlib-only reflection implementation
#KT-14720 Fixed
2019-10-29 15:52:00 +01:00
Alexander Udalov 5c89f2fa54 Support KClass.qualifiedName in stdlib-only reflection implementation
#KT-34586 Fixed
2019-10-29 15:51:25 +01:00
Alexander Udalov c164745301 Support KClass.simpleName in stdlib-only reflection implementation
#KT-33646 Fixed
2019-10-29 15:51:21 +01:00
Anton Yalyshev e146d308db Add statistics collector 2019-10-29 16:40:53 +03:00
Igor Yakovlev 63e687f67e Add feature for data and inline class parameters smart typing
When one typing data/inline class primary ctor this feature adds missing val keyword for parameters
i.e.
data class xxx(x: Int<caret>)
when typing comma symbol convert code to
data class xxx(val x: Int,<caret>)

Fixed #KT-34567
2019-10-29 16:40:52 +03:00
Mikhail Glukhikh 0708f574fc FIR: simplify companion scope building for implicit dispatch receiver 2019-10-29 16:27:42 +03:00
Mikhail Glukhikh 79e584519f FirTypeResolverImpl: minor style fix 2019-10-29 16:27:42 +03:00
Mikhail Glukhikh 37cad476e8 Fix incorrect assertion in FIR DFA 2019-10-29 16:27:41 +03:00
Mikhail Glukhikh 4adacfa5a2 Add a pair of new tests for FIR local classes / objects 2019-10-29 16:27:41 +03:00
Mikhail Glukhikh 384134a069 FIR2IR: fix handling constructors & their symbols (related also to local classes) 2019-10-29 16:27:41 +03:00
Mikhail Glukhikh 7dee1cd9d2 Build member scope for FirAnonymousObject correctly 2019-10-29 16:27:41 +03:00
Mikhail Glukhikh e1c889e871 Make FirClass a kind of FirClassLikeDeclaration, introduce FirRegularClass/AnonymousObject symbols 2019-10-29 16:27:41 +03:00
Mikhail Glukhikh 1e4f07ebc7 FIR: expect getClassLikeSymbolByFqName to return null for local classes 2019-10-29 16:27:40 +03:00
Mikhail Glukhikh a13ae08b52 FIR: add classifiers to local scopes, process local class symbols correctly 2019-10-29 16:27:40 +03:00
Vyacheslav Gerasimov aa2765bab8 Build: Setup pom for KotlinPlugin maven publication 2019-10-29 15:32:32 +03:00
Nikolay Krasko f5cdaafeb0 Fix compilation errors in QuickFixMultiModuleTestGenerated 2019-10-29 15:04:13 +03:00
Alexander Udalov df4ab4ed81 Add JVM bytecode target version 13
#KT-34119 Fixed
2019-10-29 12:54:24 +01:00
Georgy Bronnikov 1354de1780 JVM_IR: stylistic, use transform instead of add/remove
In InterfaceDeclarationLowering, functions are being replaced by
redirections to default implementations. Use `transform`, as suggested
by @pyos.
2019-10-29 14:42:35 +03:00