Commit Graph

58690 Commits

Author SHA1 Message Date
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
Toshiaki Kameyama 68ea677cc4 Import quick fix: support extension iterator function
#KT-34303 Fixed
2019-10-29 18:35:14 +07:00
Dmitry Savvinov 3abfe59d75 Deduplicate incompatible actual descriptors
Otherwise, we might get false positive AMBIGUOUS_ACTUALS due to one and
the same descriptor appearing multiple times in a list
2019-10-29 14:28:41 +03:00
Dmitry Savvinov 9198b7a039 Add test on weakly incompatible actual in intermediate source-set 2019-10-29 14:28:41 +03:00
Dmitry Savvinov 2c6fbb6ece Fix dependsOn module names
Use Gradle Project IDs instead of names, because for composite Gradle
builds module names are appended with some additional prefixes, which
causes mismatch
2019-10-29 14:27:38 +03:00
LepilkinaElena b37dc32e03 Kotlin/Native performance gradle plugin (#2713) 2019-10-29 14:23:50 +03:00
Nikolay Krasko 7160653546 Fix KotlinConfidenceTest in 193 2019-10-29 13:47:14 +03:00
Nikolay Krasko 8d50aea471 Allow to use mutations from several files 2019-10-29 13:45:04 +03:00
Nikolay Krasko 620898c73e Use local single-thread cached value instead of thread locals (KT-28940)
It looks like thread locals are not needed here as their global state
is not utilized but creates troubles with memory management.
2019-10-29 13:40:34 +03:00
Nikolay Krasko 02f9b255e6 Clean using thread local in all threads (KT-28940) 2019-10-29 13:40:34 +03:00
Dmitry Gridin 587b0de2b8 RemoveExplicitTypeIntention: fix false positive for type aliases
#KT-33902 Fixed
2019-10-29 17:26:59 +07:00
Dmitry Gridin 6ea82a0c7d MoveMember: cleanup code 2019-10-29 17:26:34 +07:00
Dmitry Gridin 18aa9ffce8 expectActualUtil: introduce runCommandOnAllExpectAndActualDeclaration function 2019-10-29 17:26:34 +07:00