Commit Graph

61696 Commits

Author SHA1 Message Date
Ilya Goncharov f15d1ef23e [Gradle, JS] Create not Jar tasks, but Zip tasks, because we can create klibs 2020-02-12 17:29:25 +03:00
Ilya Goncharov 3467230242 [Gradle, JS] Add appendix for archive in case of mixed mode 2020-02-12 17:29:25 +03:00
Ilya Goncharov f169c8ea24 [Gradle, JS] Flags with producing unzipped klib is by default 2020-02-12 17:29:25 +03:00
Ilya Goncharov b37c2a05fd [Gradle, JS] Configure ir target in legacy plugin #2 2020-02-12 17:29:25 +03:00
Ilya Goncharov 43ab4ad8e8 [Gradle, JS] Configure ir target in legacy plugin 2020-02-12 17:29:25 +03:00
Ilya Goncharov 04c0b8c07d [Gradle, JS] Inject ir's classes into legacy for mixed mode #2 2020-02-12 17:29:25 +03:00
Ilya Goncharov fd93654c4f [Gradle, JS] Inject ir's classes into legacy for mixed mode 2020-02-12 17:29:25 +03:00
Ilya Goncharov e6be134f2a [Gradle, JS] Activate legacy plugin and new plugin via gradle property 2020-02-12 17:29:25 +03:00
Ilya Goncharov 29c2d62e43 [Gradle, JS] Compile fix after rebase 2020-02-12 17:29:24 +03:00
Ilya Goncharov 0c7284de01 [Gradle, JS] Link test task with property of compile task 2020-02-12 17:29:24 +03:00
Ilya Goncharov dd577e1008 [Gradle, JS] Migrate in KotlinJsIrTest 2020-02-12 17:29:24 +03:00
Ilya Goncharov bf415704b6 [Gradle, JS] Generalization of Js test frameworks to work with ir 2020-02-12 17:29:24 +03:00
Ilya Goncharov 599215e74a [Gradle, JS] Migrate on properties to link output of compile with consumer 2020-02-12 17:29:24 +03:00
Ilya Goncharov 4bd744f163 [Gradle, JS] Fix run for nodejs with IR backend 2020-02-12 17:29:24 +03:00
Ilya Goncharov 14387332d5 [Gradle, JS] Distribution task depends on processed resources 2020-02-12 17:29:24 +03:00
Ilya Goncharov 9c89859c67 [Gradle, JS] Webpack catch files from js compilations 2020-02-12 17:29:24 +03:00
Ilya Goncharov d827f9b040 [Gradle, JS] JS compile tasks nit in archives now 2020-02-12 17:29:23 +03:00
Ilya Goncharov 4861b47f9c [Gradle, JS] Enable IR backend for prod and dev tasks 2020-02-12 17:29:23 +03:00
Ilya Goncharov 2e22b8eb9a [Gradle, JS] Register link tasks 2020-02-12 17:29:23 +03:00
Ilya Goncharov 60da60757d [Gradle, JS] Extract KotlinJsLinkTask 2020-02-12 17:29:23 +03:00
Ilya Goncharov c043fc2272 [Gradle, JS] Prod and dev compile tasks depends on klib compile task 2020-02-12 17:29:23 +03:00
Ilya Goncharov 3ee7e9272b [Gradle, JS] Depends on prod and dev compile tasks 2020-02-12 17:29:23 +03:00
Ilya Goncharov 222c663fac [Gradle, JS] Configure prod and dev compilations 2020-02-12 17:29:23 +03:00
Ilya Goncharov abf2a9e073 [Gradle, JS] Extract ir compiler flags 2020-02-12 17:29:22 +03:00
Ilya Goncharov ad321e45dc [Gradle, JS] Create KotlinJsIrCompilationFactory 2020-02-12 17:29:22 +03:00
Ilya Goncharov 5bdf9f6e39 [Gradle, JS] Fix codegen and avoid deprecate 2020-02-12 17:29:22 +03:00
Ilya Goncharov 544a6bf15e [Gradle, JS] Add production and development compilations 2020-02-12 17:29:22 +03:00
Ilya Goncharov 2f4f4dbbd8 [Gradle, JS] Fix deprecation replace with on register task 2020-02-12 17:29:22 +03:00
Ilya Goncharov d0e2a653f7 [Gradle, JS] Reformat code 2020-02-12 17:29:22 +03:00
Ilya Goncharov 64def2e173 [Gradle, JS] Continue to migrate on ir compiler
- Create own inheritor of KotlinJsCompilation with specific tasks for production and development
- Copy TargetConfigurator for IR purposes
2020-02-12 17:29:22 +03:00
Ilya Goncharov 8b641bf613 [Gradle, JS] Add mpp presets for jsIr 2020-02-12 17:29:22 +03:00
Ilya Goncharov a20e9ae0ed [Gradle, JS] Extract hack for Native and JS IR compiler
- IR to klib compiler needs all dependencies (including transitive implementations)
- move hack from native to common with extracting to protected fun
2020-02-12 17:29:21 +03:00
Ilya Goncharov f936a0fc9b [Gradle, JS] NodeJs and browser producing handlers 2020-02-12 17:29:21 +03:00
Ilya Goncharov 2de7051165 [Gradle, JS] Add produceJs 2020-02-12 17:29:21 +03:00
Ilya Goncharov 64c2b4b076 [Gradle, JS] Add callbacks on configuring producing target for JS IR 2020-02-12 17:29:21 +03:00
Ilya Goncharov e7c6653182 [Gradle, JS] Remove DCE from ir tooling 2020-02-12 17:29:21 +03:00
Ilya Goncharov 6be8a83ff9 [Gradle, JS] Configure compiler args for produceKotlinLibrary in IR 2020-02-12 17:29:21 +03:00
Ilya Goncharov 0ff84eaa63 [Gradle, JS] Copy JS subtargets dsl for IR 2020-02-12 17:29:21 +03:00
Ilya Goncharov 3ac2bae4ce [Gradle, JS] Copy JS plugin for IR 2020-02-12 17:29:21 +03:00
Mikhail Glukhikh ba770f7b61 FIR2IR: fix type parameter indexes & fix some black-box & FIR2IR tests 2020-02-12 17:02:41 +03:00
Toshiaki Kameyama 3ebad2acec "Constructor has non-null self reference parameter": don't report for vararg parameter
#KT-36160 Fixed
2020-02-12 16:35:26 +03:00
Mikhail Glukhikh f3f88cae7a FIR: unmute accidentally muted black-box test 2020-02-12 16:30:47 +03:00
Toshiaki Kameyama 6c93217539 Lift assignment out: don't report when expression is used as expression
#KT-36357 Fixed
2020-02-12 16:17:25 +03:00
Toshiaki Kameyama 8baba38099 "To raw string literal" intention: fix false negative with string content starts with newline symbol \n
#KT-36369 Fixed
2020-02-12 16:15:18 +03:00
Denis Zharkov 61d02d9ecb FIR: Unbound FirJavaElementFinder from Kotlin PSI 2020-02-12 16:05:11 +03:00
Denis Zharkov 9c1577092b FIR: Fix SAM conversion for constructor calls 2020-02-12 16:05:11 +03:00
Denis Zharkov 51db272e0e FIR: Clean environment in AbstractFirTypeEnhancementTest 2020-02-12 16:05:11 +03:00
Denis Zharkov 95b4fa4b31 FIR: Support flexible types in getErasedVersionOfFirstUpperBound 2020-02-12 16:05:11 +03:00
Denis Zharkov 42e8017bde FIR: Minor. Refactor calculation of erased upper bound 2020-02-12 16:05:11 +03:00
Denis Zharkov bc34bc3f96 FIR: Use flexible type for generic parameters bounds
Otherwise star projections may be incorrectly approximated to strictly
nullable types (as in test)
2020-02-12 16:05:11 +03:00