Fleshgrinder
bf9d3d87a6
KT-15363 Collection Builders
...
Added container builders for lists, sets, and maps.
The new experimental type inference only works for the simple builders
with a single generic type. The versions with nullability and the maps
still require explicit specification of the types. Obviously explicit
specification is required for all users who are not using the new
experimental inference. Improving the type inference is something that
should be done separately and many things – including these builders –
will benefit from it, however, this is not a blocker for these builders
in my opinion.
2020-01-24 15:28:17 +03:00
Ilya Goncharov
fa811c731f
[IDEA] Use withType instead of isAssignableFrom
...
#KT-36093 fixed
2020-01-24 15:25:25 +03:00
Ilya Goncharov
6dc9109736
[IDEA] Check assignable from task to KotlinTest class
2020-01-24 15:23:23 +03:00
Ilya Goncharov
6b860206bd
[IDEA] Use GradleVersion fqn to use it in case when there is no import
2020-01-24 15:23:22 +03:00
Ilya Goncharov
c3951d394b
[IDEA] Preload KotlinTest class instead of loop finding
2020-01-24 15:23:22 +03:00
Ilya Goncharov
2c4cfd2fb8
[IDEA] Add check on gradle version not to broke Gradle older 4.0
2020-01-24 15:23:22 +03:00
Dmitriy Novozhilov
20ac606df4
Add js runtime to failing blackbox test
2020-01-24 14:17:44 +03:00
Shagen Ogandzhanian
de07d3387b
Update dukat dependency to 0.0.26
2020-01-24 12:09:05 +01:00
Alexander Udalov
2fca7f1a54
Add codegen tests for old behavior of null checks
...
#KT-22275
2020-01-24 11:56:28 +01:00
Yan Zhulanow
632fe18db6
Revert "Remove deprecated method from CommandLineProcessor"
...
This reverts commit 508330e0bb .
An external plugin depends on the deprecated API: com.jereksel.jailbreakk:0.0.2.
2020-01-24 18:12:21 +09:00
Yan Zhulanow
9bf63f5399
Kapt, minor: Add extra case for property initializers
2020-01-24 18:12:21 +09:00
pyos
ca3c1d04c5
Add an IR version of Android Extensions blackbox tests
2020-01-24 18:12:21 +09:00
pyos
4094841dc6
Add a basic IR extension to the Android plugin
...
Only supports uncached findViewById/findFragmentById for now; other
features are experimental and the cache only affects performance, so
this should probably be fine for testing Android apps with -Xuse-ir.
2020-01-24 18:12:21 +09:00
Kevin Bierhoff
6d32b3256b
suppress duplicate @Override annotations
2020-01-24 18:12:21 +09:00
Natalia Selezneva
a55a0d94de
Scripts: clear manual configuration loading state after project import
...
^KT-35268
2020-01-24 11:52:57 +03:00
Andrey Uskov
bbdad45201
Added project size and metrics collectors in gradle plugin
2020-01-24 11:23:31 +03:00
Dmitry Petrov
c540116b71
IR: additional callable reference adapter stuff in IR
...
- IrFunctionReference.reflectionTarget: IrFunctionSymbol?
- add separate declaration origin for callable reference adapters
- bump IR ABI version
2020-01-24 11:21:26 +03:00
Dmitry Petrov
57bbfbbfcc
PSI2IR: capture adapted reference receiver to a local val if required
2020-01-24 11:21:25 +03:00
Dmitry Petrov
38b90b7fbd
Minor: move callable reference IR tests to a separate directory
2020-01-24 11:21:25 +03:00
Dmitry Petrov
c5f14a29a4
PSI2IR: Generate adapted callable references
...
Callable reference is "adapted" if it requires some adaptation to an
expected function type - e.g., when a reference to
```
fun foo(vararg xs: Int): Int
```
is used where `(Int, Int, Int) -> Int` is expected.
For such callable references we generate the following IR (in
pseudo-Kotlin):
```
{
fun foo'(p0: Int, p1: Int, p2: Int): Int {
return [| foo(p0, p1, p2) |]
}
::foo'
}
```
where `[| foo(p0, p1, p2) |]` is calling function `foo` with arguments
`p0`, `p1`, and `p2`, as they were mapped by callable reference
resolution.
2020-01-24 11:21:25 +03:00
Dmitry Petrov
89c832b5a0
FE: provide argument mapping info for adapted callable reference
2020-01-24 11:21:25 +03:00
Ilya Kirillov
da7d594d0f
Wizard: change new wizard title
2020-01-24 11:13:04 +03:00
Ilya Kirillov
90108e146a
Wizard: make new wizard to be second in the Kotlin group
2020-01-24 11:13:03 +03:00
Ilya Kirillov
35076eb559
Wizard: add FUS statistic collection
2020-01-24 11:13:01 +03:00
Ilya Kirillov
6915193337
Wizard: allow simple js template to be used with JsSingleplatformModuleConfigurator
2020-01-24 11:13:00 +03:00
Ilya Kirillov
4854294bb5
Wizard: fix removing template in UI
2020-01-24 11:12:58 +03:00
Ilya Kirillov
3d6aa79f45
Wizard: allow enabling new wizard in UI
2020-01-24 11:12:56 +03:00
Ilya Kirillov
fa4cba341b
Wizard: fix tests
2020-01-24 11:12:55 +03:00
Ilya Kirillov
217cf3edd1
Wizard: fix adding dependencies to targets
2020-01-24 11:12:54 +03:00
Ilya Kirillov
3d5007c1a5
Wizard: temporary hide sourcesets editing for users
2020-01-24 11:12:53 +03:00
Ilya Kirillov
c87ece8ae5
Wizard: fix incorrectly added classpath dependency for Android with Groovy dsl
2020-01-24 11:12:52 +03:00
Ilya Kirillov
d5618cadc8
Wizard: put pluginManagement section in the beginning of settings.gradle file
2020-01-24 11:12:50 +03:00
Ilya Kirillov
0a4d45b347
Wizard: add support of creating run configurations
...
#KT-36043 fixed
2020-01-24 11:12:48 +03:00
Ilya Kirillov
d330652eee
Wizard: add support of react js to the js template
2020-01-24 11:12:47 +03:00
Ilya Kirillov
351a037bcd
Wizard: fix not added dependencies for MPP modules
2020-01-24 11:12:46 +03:00
Ilya Kirillov
0f86a7e158
Wizard: fix text of module configurators which is shown in module editor
2020-01-24 11:12:44 +03:00
Ilya Kirillov
dc26138da3
Wizard: add support of JS singleplatform projects
2020-01-24 11:12:43 +03:00
Ilya Kirillov
b9226ce54f
Wizard: automatically determine Kotlin version based on Kotlin plugin version
...
For snapshot plugin just take the latest eap or stable version
2020-01-24 11:12:40 +03:00
Ilya Kirillov
40d6fe7a00
Wizard: remove empty border from module settings
2020-01-24 11:12:39 +03:00
Ilya Kirillov
129ee55fe0
Wizard: remove unused function
2020-01-24 11:12:38 +03:00
Ilya Kirillov
18090c0e0a
Wizard: fix incorrectly added modules to the tree
2020-01-24 11:12:37 +03:00
Ilya Kirillov
5392ff128f
Wizard: move "validation error" string from message to title
2020-01-24 11:12:36 +03:00
Ilya Kirillov
5f8930e109
Wizard: add validation for project name
2020-01-24 11:12:35 +03:00
Ilya Kirillov
09b50a209b
Wizard: do not suggest invalid groupId
2020-01-24 11:12:25 +03:00
Ilya Kirillov
1b4e282540
Wizard: do not show expert panel form wizard
2020-01-24 11:12:10 +03:00
Ilya Kirillov
7527e4b02d
Wizard: remove duplicated string validator
2020-01-24 11:12:09 +03:00
Ilya Kirillov
b33ae61508
Wizard: add validators for POM data
2020-01-24 11:12:08 +03:00
Ilya Kirillov
7df1b54c82
Wizard: Show message when module has no configurable settings
2020-01-24 11:12:06 +03:00
Ilya Kirillov
923f646b3d
Wizard: Move test framework settings to module configurators
2020-01-24 11:12:04 +03:00
Ilya Kirillov
ba62ba39f1
Wizard: Move module templates to modules: separate SourcetModuleIR to MultiplatformModuleIR & SourcesetIR
2020-01-24 11:12:03 +03:00