Commit Graph

63160 Commits

Author SHA1 Message Date
Dmitriy Novozhilov 5f9f01fe4e [FIR] Implement new completion mode calculator
Note that `testDelegates` now fails due to KT-37638 and
    `testSimpleIn` fails due to problems with type parameters
    of inner classes
2020-03-20 23:11:28 +03:00
Dmitriy Novozhilov ea02855ba6 [FIR] Fix type arguments and substitution for flexible types 2020-03-20 23:11:28 +03:00
Dmitriy Novozhilov 7bfe7061e7 [FIR] Add proper nullability for java enums 2020-03-20 23:11:28 +03:00
Nikolay Krasko 7764492761 Resolve failure with surefire on Windows agents in kotlin-java-example (KT-37654)
Remove version specification like it's done in other modules.
2020-03-20 21:14:23 +03:00
Leonid Startsev f0dc809255 Add explicit api mode flag to top-level kotlin {} DSL block in Gradle
for both MPP and single-target projects.

For now, it is only applied to source sets that are connected to 'main'
compilation. It seems fine for all projects except android ones.
There's a way to determine android variant for source set,
but importing android projects seems to be made via other code path.

 #KT-36019 Fixed
 #KT-37652 Open
2020-03-20 19:41:06 +03:00
Ilya Goncharov 59148cdce4 [Gradle, JS] Fix extracting package json from klib
#KT-37636 fixed
2020-03-20 19:18:02 +03:00
max-kammerer a3125849a0 Merge pull request #3204 from pyos/ir/fix-lambda-inner-classes
JVM_IR: restore InnerClasses for objects in lambdas
2020-03-20 17:15:41 +01:00
Ilya Goncharov 40a0e31be4 [Gradle, JS] Add other devtools
#KT-37635 fixed
2020-03-20 19:13:24 +03:00
Ilya Goncharov 5058c396c1 [Gradle, JS] Webpack devtool as a String
#KT-37635 fixed
2020-03-20 19:13:00 +03:00
Vladimir Dolzhenko e951f1a43a Find Usages and Go to declaration of element used via import alias
#KT-18619 Fixed
2020-03-20 14:59:24 +00:00
Mikhail Zarechenskiy ced8a92629 [NI] Prefer between two complex variables one with proper lower bounds
#KT-37554 Fixed
2020-03-20 15:44:53 +03:00
Dmitriy Dolovov b0254a27aa Fix. Provide the proper K/N dependencies in leaf HMPP source sets
Issue #MMPP-213
2020-03-20 19:43:18 +07:00
Dmitriy Dolovov 7f2839ee10 Fix. Don't inherit K/N dependencies in common source sets
Issue #MMPP-213
2020-03-20 19:43:08 +07:00
Dmitriy Dolovov 2d8bec19c0 Minor. Simplify generation of substituted dependencies 2020-03-20 19:42:56 +07:00
Dmitry Gridin d84f528a47 KotlinSdkType: fix i18n for 192
#KT-37632 Fixed
#KT-37483
2020-03-20 17:38:22 +07:00
Natalia Selezneva 39d019ec9d Tests: switch ScriptChangeNotifier off in tests 2020-03-20 13:14:48 +03:00
Ilya Goncharov dd7f10e76e [Gradle, JS] Fix after rebase 2020-03-20 12:55:50 +03:00
Ilya Goncharov a07425e7b0 [Gradle, JS] Fix test 2020-03-20 12:45:29 +03:00
Ilya Goncharov f7a9afbf96 [Gradle, JS] Remove produceExecutable from tests 2020-03-20 12:45:29 +03:00
Ilya Goncharov 3a262c6eb8 [Gradle, JS] Fix build for legacy browser with binaries 2020-03-20 12:45:29 +03:00
Ilya Goncharov b25418df69 [Gradle, JS] Correct renaming 2020-03-20 12:45:29 +03:00
Ilya Goncharov 33992bdc86 [Gradle, JS] Extract common interface for JsBinary 2020-03-20 12:45:29 +03:00
Ilya Goncharov 3c83a3bd34 [Gradle, JS] Error if used binaries.executable in both compiler type 2020-03-20 12:45:28 +03:00
Ilya Goncharov cf6b76fdee [Gradle, JS] Rename BuildVariantKind on KotlinJsBinaryType 2020-03-20 12:45:28 +03:00
Ilya Goncharov 260015fe0b [Gradle, JS] Migrate from build variants on binaries 2020-03-20 12:45:27 +03:00
Ilya Goncharov e1920110a2 [Gradle, JS] Remove produceExecutable 2020-03-20 12:45:25 +03:00
Ilya Goncharov 01b44802c8 [Gradle, JS] Fix compilation after rebase 2020-03-20 12:45:24 +03:00
Ilya Goncharov 158ad630d9 [Gradle, JS] Fix tests 2020-03-20 12:45:24 +03:00
Ilya Goncharov 2b4f9302dc [Gradle, JS] Fix naming for webpack tasks
- while webpack is actual only for executable it is not necessary to add executable part
2020-03-20 12:45:24 +03:00
Ilya Goncharov 5828f8cbf2 [Gradle, JS] Rename KotlinBinaryContainer on KotlinTargetWithBinaries 2020-03-20 12:45:24 +03:00
Ilya Goncharov 19d09fc420 [Gradle, JS] Remove redundant build variants for IR 2020-03-20 12:45:24 +03:00
Ilya Goncharov 703ceff9a3 [Gradle, JS] Return binaries from ir target if it exists 2020-03-20 12:45:24 +03:00
Ilya Goncharov 2d900e2234 [Gradle, JS] Legacy tooling work with binaries and throw error on it 2020-03-20 12:45:24 +03:00
Ilya Goncharov 1bb6429c5c [Gradle, JS] Link tasks depends on compile tasks 2020-03-20 12:45:24 +03:00
Ilya Goncharov 0a19998ae2 [Gradle, JS] Binaries dsl 2020-03-20 12:45:23 +03:00
Ilya Goncharov 0c34acd09a [Gradle, JS] Produce executable for ir compilation 2020-03-20 12:45:23 +03:00
Ilya Goncharov 666b9b3545 [Gradle, JS] Move binaries on compilation level 2020-03-20 12:45:23 +03:00
Ilya Goncharov efb3f16ee4 [Gradle, JS] Browser with binaries 2020-03-20 12:45:22 +03:00
Ilya Goncharov 2fed8aa7b8 [Gradle, JS] NodeJs on binaries 2020-03-20 12:45:09 +03:00
Ilya Goncharov 9bff6a709f [Gradle, JS] Add testExecutable for subtargets 2020-03-20 12:45:09 +03:00
Ilya Goncharov 625e94822f [Gradle, JS] Remove redundant baseName 2020-03-20 12:45:09 +03:00
Ilya Goncharov d00c53fd38 [Gradle, JS] Fix strict type check 2020-03-20 12:45:09 +03:00
Ilya Goncharov e3b5a754cd [Gradle, JS] Register executable tasks for binaries 2020-03-20 12:45:09 +03:00
Ilya Goncharov 9fe0604f00 Revert "[Gradle, JS] binaries API instead of produce*"
This reverts commit 055e98e9
2020-03-20 12:45:09 +03:00
Ilya Goncharov eab6a7d038 [Gradle, JS] Register link tasks for binaries, not for compilations 2020-03-20 12:45:08 +03:00
Ilya Goncharov ab218317de [Gradle, JS] Fix name for binary 2020-03-20 12:45:08 +03:00
Ilya Goncharov e518998da3 [Gradle, JS] Remove KotlinJsIrType on BuildVariantKind 2020-03-20 12:45:08 +03:00
Ilya Goncharov 1de720cdd0 [Gradle, JS] Add link tasks to binaries, add test executable binary type 2020-03-20 12:45:08 +03:00
Ilya Goncharov 99d73d4c79 [Gradle, JS] binaries API instead of produce* 2020-03-20 12:45:08 +03:00
Ilya Goncharov e2918bf6c8 [Gradle, JS] binaries.executable works for JS IR 2020-03-20 12:45:08 +03:00